From owner-freebsd-questions@FreeBSD.ORG Sun May 10 16:02:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0732E1065675 for ; Sun, 10 May 2009 16:02:37 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.freebsd.org (Postfix) with ESMTP id 8D3C88FC1F for ; Sun, 10 May 2009 16:02:36 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id n4AG2YoJ044748; Sun, 10 May 2009 18:02:34 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 66837BAA7; Sun, 10 May 2009 18:02:34 +0200 (CEST) Date: Sun, 10 May 2009 18:02:34 +0200 From: Roland Smith To: Mike Clarke Message-ID: <20090510160234.GA16039@slackbox.xs4all.nl> References: <200905101500.26477.jmc-freebsd2@milibyte.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7ZAtKRhVyVSsbBD2" Content-Disposition: inline In-Reply-To: <200905101500.26477.jmc-freebsd2@milibyte.co.uk> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Building gimp without gvfs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 May 2009 16:02:37 -0000 --7ZAtKRhVyVSsbBD2 Content-Type: multipart/mixed; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 10, 2009 at 03:00:26PM +0100, Mike Clarke wrote: >=20 > Each time gimp-app gets upgraded I lose the ability to open URI's=20 > with "Open location" or by dragging images from firefox. >=20 > Apparently this is because I need to explicitly pass --without-gvfs to=20 > configure [1] [2]. I was rather surprised that I needed to do this=20 > since I have the gvfs port installed but it did the trick for me. What=20 > I do is to edit the Makefile and add --without-gvfs to the=20 > CONFIGURE_ARGS lines. The snag is that I invariably forget about this=20 > by the next time the port gets upgraded and I have to sort the problem=20 > out again. What could I add to /etc/make.conf to have this option added= =20 > to CONFIGURE_ARGS automatically? >=20 > [1] http://www.shallowsky.com/blog/gimp/index.html > [2] http://www.gimp.org/release-notes/gimp-2.6.html The gimp-app port Makefile should be hacked so that it adds --without-gvfs = to CONFIGURE_ARGS if the existing GVFS option is set to "no". You can try the attached patch 'gimp-app.Makefile.diff'. If it works, you can submit it with a PR.=20 =46rom the first link, I understand that it _could_ be that the --without-gnomevfs currently in CONFIGURE_ARGS needs to be added to the first part of the if-statement. If the first patch isn't sufficient, restore the original Makefile and try the second patch 'gimp-app2.Makefile.diff'.=20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --mYCpIKhGyMATD0i+ Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="gimp-app.Makefile.diff" Content-Transfer-Encoding: quoted-printable --- Makefile.orig 2009-05-10 17:53:17.000000000 +0200 +++ Makefile 2009-05-10 17:56:17.000000000 +0200 @@ -132,12 +132,14 @@ CONFIGURE_ARGS+=3D --without-dbus .endif =20 -.if defined(WITH_GVFS) || ${HAVE_GNOME:Mgvfs}!=3D"" +.if defined(WITH_GVFS) LIB_DEPENDS+=3D gnome-keyring.0:${PORTSDIR}/security/gnome-keyring USE_GNOME+=3D gvfs . if ${HAVE_GNOME:Mlibgnomeui}!=3D"" USE_GNOME+=3D libgnomeui . endif +.else +CONFIGURE_ARGS+=3D --without-gvfs .endif =20 .endif --mYCpIKhGyMATD0i+ Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="gimp-app2.Makefile.diff" Content-Transfer-Encoding: quoted-printable --- Makefile.orig 2009-05-10 17:53:17.000000000 +0200 +++ Makefile 2009-05-10 18:00:20.000000000 +0200 @@ -55,8 +55,7 @@ --disable-python \ --with-desktop-dir=3D${PREFIX}/share \ --docdir=3D${PREFIX}/share/doc/gimp \ - --enable-default-binary \ - --without-gnomevfs + --enable-default-binary CONFIGURE_ENV=3D CPPFLAGS=3D"-I${LOCALBASE}/include" \ LDFLAGS=3D"-L${LOCALBASE}/lib" \ GIMP_THREAD_LIBS=3D${PTHREAD_LIBS} @@ -132,12 +131,15 @@ CONFIGURE_ARGS+=3D --without-dbus .endif =20 -.if defined(WITH_GVFS) || ${HAVE_GNOME:Mgvfs}!=3D"" +.if defined(WITH_GVFS) +CONFIGURE_ARGS+=3D --without-gnomevfs LIB_DEPENDS+=3D gnome-keyring.0:${PORTSDIR}/security/gnome-keyring USE_GNOME+=3D gvfs . if ${HAVE_GNOME:Mlibgnomeui}!=3D"" USE_GNOME+=3D libgnomeui . endif +.else +CONFIGURE_ARGS+=3D --without-gvfs --with-gnomevfs .endif =20 .endif --mYCpIKhGyMATD0i+-- --7ZAtKRhVyVSsbBD2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkoG+poACgkQEnfvsMMhpyVNEQCcCmsOLMYnsj+yOEF51lMw+qFS 26MAoKg1VcnDcJF5WgPLU5bJljPGlLya =fV6Y -----END PGP SIGNATURE----- --7ZAtKRhVyVSsbBD2--