Date: Sun, 10 May 2009 18:02:34 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Mike Clarke <jmc-freebsd2@milibyte.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: Building gimp without gvfs Message-ID: <20090510160234.GA16039@slackbox.xs4all.nl> In-Reply-To: <200905101500.26477.jmc-freebsd2@milibyte.co.uk> References: <200905101500.26477.jmc-freebsd2@milibyte.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090510160234.GA16039>