From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 7 02:53:01 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5E2916A469 for ; Wed, 7 Nov 2007 02:53:01 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by mx1.freebsd.org (Postfix) with ESMTP id 8041513C491 for ; Wed, 7 Nov 2007 02:53:01 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141] (may be forged)) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id lA72qvjM023824 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 6 Nov 2007 18:52:57 -0800 X-Auth-Received: from dzihan.cs.washington.edu (dzihan.cs.washington.edu [128.208.4.96]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id lA72qur2027550 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 6 Nov 2007 18:52:57 -0800 Message-ID: <47312888.1070400@u.washington.edu> Date: Tue, 06 Nov 2007 18:52:56 -0800 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.6 (X11/20071003) MIME-Version: 1.0 To: Maslan , FreeBSD Hackers References: <319cceca0711030605m370709d1ua0c694d12dbb1766@mail.gmail.com> <47301ADA.3080509@u.washington.edu> <319cceca0711061227h6dbaf2fdib03a962aae7ddad1@mail.gmail.com> <4730D640.3080304@u.washington.edu> <319cceca0711061758m786918c1y2594e7a11e91d873@mail.gmail.com> In-Reply-To: <319cceca0711061758m786918c1y2594e7a11e91d873@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.3.310218, Antispam-Engine: 2.5.2.313940, Antispam-Data: 2007.11.6.182909 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: Subject: Re: pkg_add doesn't keep dependent pkgs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2007 02:53:01 -0000 Maslan wrote: > That would be great. > I'll wait for the patch > > > On Nov 6, 2007 1:01 PM, Garrett Cooper wrote: > >> Maslan wrote: >> >>>> Package dependencies may change, depending on the user settings and >>>> port maintainers configuration for the port (i.e. Makefiles). The same >>>> sort of applies to packages as well. >>>> Or were you referring to just packages instead of ports based >>>> package metadata :)? >>>> Or maybe a better question is: what are you trying to accomplish? >>>> -Garrett >>>> >>>> >>>> >>> The problem is that i always try FreeBSD snapshots, and each time i >>> did a fresh install, i found my self in need to install xorg & gnome. >>> so when i use pkg_add -rK xorg or pkg_add -rK gnome, it just keeps the >>> package itself only without its dependencies, it would be better for >>> me to keep the packages i use rather than downloading them every time. >>> >>> The ports has no problem with that, since it leaves all the port >>> dependencies in /usr/ports/distfiles but i prefer packages than >>> recompiling every time i install a fresh system something like gnome >>> would eat my day compiling it. >>> >> Hmm... that is indeed silly. >> >> Let me see if I can fire up a patch for that little issue sometime >> either next week or the week after to fix that. >> >> -Garrett That's assuming (IIRC) pkg_add doesn't invoke libfetch related APIs directly and extract straight to the command line. It may take a bit more work than I initially think, but a patch *should* be trivial to create. -Garrett