From owner-freebsd-stable@FreeBSD.ORG Wed Jan 23 23:59:19 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 785C350A for ; Wed, 23 Jan 2013 23:59:19 +0000 (UTC) (envelope-from peter@wemm.org) Received: from mail-vb0-f42.google.com (mail-vb0-f42.google.com [209.85.212.42]) by mx1.freebsd.org (Postfix) with ESMTP id 37AED980 for ; Wed, 23 Jan 2013 23:59:18 +0000 (UTC) Received: by mail-vb0-f42.google.com with SMTP id ff1so5713902vbb.15 for ; Wed, 23 Jan 2013 15:59:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=google; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=8ghUt7U+Zf/Sypv0g1O8e6lT/RfxhvJh4wOa/W0hMhY=; b=CAxxdLANp8keDnn7+HvfylmNYGmGXTG4W8M25ZEGYTjUQUH6xfo3u3FTeA8CFDmwyR M+MhgGCghJDmAbvQXSXSicBKOoJQbcX3aIHXtfVLLBgyd856HYJc/1FwV47rR6M+sXGZ gdMOrLYkdgJgXcRBcgD88QiCXIh3LuY7wtl/w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=8ghUt7U+Zf/Sypv0g1O8e6lT/RfxhvJh4wOa/W0hMhY=; b=DaE9axam+9vgTJMc6gk5hhGbKATicezZM3MtViLZUWaf7Y1eRZwAHYkyp0fqZdqI74 cO2DgXKkPLoxRGHcb8A7HxGJ8FZvR43OQYhlnZbvn2Sw9Ny66KWfKMpSAH8Bpm4DRD4G RLnx8ZhQc87ULovWLARxcIkiuqN8LyyOx26a3NPjVhJCTijqIXGV0SdOvOUrM7JPQ4uW 2wvW0F5WUW77xWe9QJV9+6kWMlT1uxuqItKN0kSohLk4m+lwqod8fbbp1/oU6tT7xY7I T+tl9v3VB1Y9JSLqiWj8z5drP916U1XfbQOYWWMYiIpZgUCsyxLUH0ihqz3LXZ8Pyh94 cNRA== MIME-Version: 1.0 X-Received: by 10.220.151.5 with SMTP id a5mr32460vcw.22.1358985557841; Wed, 23 Jan 2013 15:59:17 -0800 (PST) Received: by 10.220.174.135 with HTTP; Wed, 23 Jan 2013 15:59:17 -0800 (PST) In-Reply-To: References: <20130123144050.GG51786@e-Gitt.NET> <20130123201734.be0f9e715289c29e1b03c393@FreeBSD.org> Date: Wed, 23 Jan 2013 15:59:17 -0800 Message-ID: Subject: Re: svn - but smaller? From: Peter Wemm To: Chris Rees Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQm/4p+M2NgMi/eMieSrQaqUXrHmGAz79BdHVLWbL3JLmmkbsBWHCwJ3D0dTkwTwvz2huuhX Cc: Lev Serebryakov , FreeBSD , Emanuel Haupt X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2013 23:59:19 -0000 On Wed, Jan 23, 2013 at 3:16 PM, Peter Wemm wrote: > On Wed, Jan 23, 2013 at 3:05 PM, Peter Wemm wrote: >> On Wed, Jan 23, 2013 at 1:25 PM, Chris Rees wrote: >>> On 23 January 2013 19:17, Emanuel Haupt wrote: >>>> devel/subversion already has an option to build a static version. A >>>> solution could be to create a stub port (devel/subversion-static) >>>> similar to: >>>> >>>> shells/bash-devel >>>> shells/bash-static-devel >>>> >>>> dns/ldns >>>> dns/py-ldns >>> >>> Great idea; >>> >>> http://www.bayofrum.net/~crees/patches/svn-static.diff >> >> No, you completely missed the point. >> >> Its not about static linking its embedded subversion libraries. I'm >> complaining about things like gdbm and bdb via apr, build dependencies >> like both python and perl for apr, and so on. >> >> If you made a port just to turn on the static option, it is equally as >> fail as before. > > Specific example.. doing a portsnap and build of devel/subversion out > of the box, you get: > > ===>>> The following actions will be taken if you choose to proceed: > Install devel/subversion > Install databases/sqlite3 > Install devel/pkgconf > Install devel/apr1 > Install converters/libiconv > Install devel/libtool > Install databases/db42 > Install databases/gdbm > Install devel/gmake > Install devel/gettext > Install devel/autoconf > Install devel/autoconf-wrapper > Install devel/m4 > Install lang/perl5.14 > Install misc/help2man > Install devel/p5-Locale-gettext > Install devel/automake > Install devel/automake-wrapper > Install lang/python27 > Install textproc/expat2 > Install www/neon29 > > You can thin it down a bit by turning off a few bits.. neon->serf > helps a little but not much. Trimming some runtime (vs buildtime) > grandchildren like apr's gdbm/bdb modules trims some license > dependencies. I'll update that list when the build is finished. FWIW, this is the runtime dependency list apr-1.4.6.1.4.1_3 Apache Portability Library expat-2.0.1_2 XML 1.0 parser written in C gettext-0.18.1.1 GNU gettext package libiconv-1.14 A character set conversion library pkg-1.0.4_1 New generation package manager pkgconf-0.8.9 Utility to help to configure compiler and linker flags serf-1.1.1 Serf HTTP client library sqlite3-3.7.14.1 An SQL database engine in a C library subversion-1.7.8 Version control system Doing a static link of the libsvn_* libraries into the binary doesn't help with this. > > -- > Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV > bitcoin:188ZjyYLFJiEheQZw4UtU27e2FMLmuRBUE -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV bitcoin:188ZjyYLFJiEheQZw4UtU27e2FMLmuRBUE