From owner-freebsd-ports@FreeBSD.ORG Wed Jun 29 16:46:59 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5D37106564A for ; Wed, 29 Jun 2011 16:46:59 +0000 (UTC) (envelope-from mezz.freebsd@gmail.com) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx1.freebsd.org (Postfix) with ESMTP id A28B08FC08 for ; Wed, 29 Jun 2011 16:46:59 +0000 (UTC) Received: by pzk5 with SMTP id 5so1620372pzk.17 for ; Wed, 29 Jun 2011 09:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+FNgPAGlMqs9oqqEea8wdZvCQ9WTeJRlyykCsCHgnxA=; b=VI6qL6p6Bh3O1xsVPVlZNsVMfdpwBmdHIm7uAVshH0aj63JB9IBy0a6I2j2HJk1dMh DqAdMlDK0H6AvueL+6xG4EK8KDTMsL3O7Dsll+Ac+ghCpjcRUDpp+Z7j7uatUPV0nJNk agZ2jyxYrSQ9FAabbJGEw97uoDKoA//4UPZcI= MIME-Version: 1.0 Received: by 10.68.52.4 with SMTP id p4mr1333987pbo.127.1309364207619; Wed, 29 Jun 2011 09:16:47 -0700 (PDT) Received: by 10.68.58.230 with HTTP; Wed, 29 Jun 2011 09:16:47 -0700 (PDT) In-Reply-To: <4E0AE118.8070303@gmail.com> References: <4E086CB2.1010503@gmail.com> <4E0AE118.8070303@gmail.com> Date: Wed, 29 Jun 2011 11:16:47 -0500 Message-ID: From: Jeremy Messenger To: David Demelier Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-ports@freebsd.org Subject: Re: Status of ${HAVE_GNOME:xxx} and dependencies X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2011 16:46:59 -0000 On Wed, Jun 29, 2011 at 3:23 AM, David Demelier wrote: > On 27/06/2011 13:42, David Demelier wrote: >> >> Hello there, >> >> There is something I don't understand well. I installed eclipse a long >> time ago because I needed it for a java project. As you may know eclipse >> use a lot of gnome dependencies and I usually install ports that don't >> require them. >> >> Now I deinstalled eclipse, and I realized that these libs such as >> gconf2, libgnome, libgnomeui are needed by a lot of application that had >> never required them before ! see : >> >> Information for gconf2-2.32.0_2: >> >> Required by: >> gnome-vfs-2.24.4 >> libcanberra-0.26 >> libgnome-2.32.0 >> libbonoboui-2.24.4 >> libgnome-keyring-2.32.0 >> libsoup-gnome-2.32.2 >> gnome-keyring-2.32.1 >> policykit-gnome-0.9.2_5 >> gnome-mount-0.8_7 >> gvfs-1.6.6_1 >> libgnomeui-2.24.4 >> firefox-4.0.1,1 >> gimp-app-2.6.11_2,1 >> gimp-2.6.11,2 >> thunderbird-3.1.10 >> inkscape-0.48.1_1 >> wxgtk2-common-2.8.12 >> wxgtk2-unicode-2.8.12 >> audacity-devel-1.3.13_1 >> libpurple-2.8.0 >> pidgin-2.8.0 >> pidgin-pidgimpd-1.1.1_5 >> >> I can see for example in the graphics/gimp-app/Makefile : >> >> .if defined(WITH_GVFS) || ${HAVE_GNOME:Mgvfs}!="" >> LIB_DEPENDS+= gnome-keyring.0:${PORTSDIR}/security/gnome-keyring >> USE_GNOME+= gvfs >> . if ${HAVE_GNOME:Mlibgnomeui}!="" >> USE_GNOME+= libgnomeui >> . endif >> .endif >> >> Then, if I disable the option WITH_GVFS (which is already done) but I >> have gnome-vfs installed it will pull the gnome-vfs dependency when I'll >> rebuild the port? I think this is what happened. I have probably rebuild >> this port and that's why it requires the new dependency. >> >> The user hasn't the power on this option if the gnome-vfs is installed >> then? >> >> Cheers. >> > > Ignore, I've just seen there is WITHOUT_GNOME that is checked before With the ${HAVE_GNOME:xxx}, you can either do WITHOUT_GNOME=yes or WITHOUT_GNOME=xxx. > HAVE_GNOME and it was not used by portconf now everything is fixed. Umm... Probably not a real fixed, because your gimp might be still linked with gvfs. Because there was no --without-gvfs. It's clearly that it's bug. I have fixed it. It doesn't has ${HAVE_GNOME:gvfs} anymore as it's pointless when it's enable by default. All you have to do is WITHOUT_GVFS and it will depends on libcurl instead if you prefer. Cheers, Mezz > -- > David Demelier -- mezz.freebsd@gmail.com - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org