Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2009 11:46:38 +0100
From:      Mike Clarke <jmc-fbsdpr@milibyte.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/134536: [patch] Gimp 2.6.6 fails to open URI's
Message-ID:  <E1M4YSU-00014D-Tt@curlew.milibyte.co.uk>
Resent-Message-ID: <200905141120.n4EBK5EJ062581@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         134536
>Category:       ports
>Synopsis:       [patch] Gimp 2.6.6 fails to open URI's
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 14 11:20:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Mike Clarke
>Release:        FreeBSD 6.4-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD curlew.lan 6.4-RELEASE-p3 FreeBSD 6.4-RELEASE-p3 #2: Mon Feb 16 11:27:38 GMT 2009 root@curlew.lan:/usr/obj/usr/src/sys/CURLEW i386

pkg_info -Ix gimp vfs

gimp-2.6.6,2        The "meta-port" for The Gimp
gimp-app-2.6.6_1,1  A GNU Image Manipulation Program
gimp-gutenprint-5.1.7_1 GutenPrint Printer Driver
gimp-help-2.4.2     GIMP user's manual
gnome-vfs-2.24.1    GNOME Virtual File System
gstreamer-plugins-gnomevfs-0.10.22_1,3 Gstreamer gnomevfs plugin
gvfs-1.2.2          GNOME virtual file system

All ports are up to date with the ports tree dated 11 May 2009

>Description:
Gimp cannot open URI's. A typical error message is "Could not open 'http://www.freebsd.org/layout/images/beastie.png' for reading: No such file or directory"
This looks like a return of the symptoms reported in PR ports/129023
>How-To-Repeat:
Either use File > Open Location from the menu or drag an image from a browser window.
I've tried this with GVFS=off and GVFS=on but get the same results with each.
>Fix:
After raising this matter in freebsd-questions <http://lists.freebsd.org/pipermail/freebsd-questions/2009-May/197993.html>; two alternative patches for gimp-app/Makefile were suggested. Either of these cures the problem for me but only with "GVFS=off"

--- gimp-app.Makefile.diff begins here ---
--- 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+=	--without-dbus
 .endif
 
-.if defined(WITH_GVFS) || ${HAVE_GNOME:Mgvfs}!=""
+.if defined(WITH_GVFS)
 LIB_DEPENDS+=	gnome-keyring.0:${PORTSDIR}/security/gnome-keyring
 USE_GNOME+=	gvfs
 .  if ${HAVE_GNOME:Mlibgnomeui}!=""
 USE_GNOME+=	libgnomeui
 .  endif
+.else
+CONFIGURE_ARGS+=        --without-gvfs
 .endif
 
 .endif
--- gimp-app.Makefile.diff ends here ---

--- gimp-app2.Makefile.diff begins here ---
--- 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=${PREFIX}/share \
 		--docdir=${PREFIX}/share/doc/gimp \
-		--enable-default-binary \
-		--without-gnomevfs
+		--enable-default-binary
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib" \
 		GIMP_THREAD_LIBS=${PTHREAD_LIBS}
@@ -132,12 +131,15 @@
 CONFIGURE_ARGS+=	--without-dbus
 .endif
 
-.if defined(WITH_GVFS) || ${HAVE_GNOME:Mgvfs}!=""
+.if defined(WITH_GVFS)
+CONFIGURE_ARGS+=	--without-gnomevfs
 LIB_DEPENDS+=	gnome-keyring.0:${PORTSDIR}/security/gnome-keyring
 USE_GNOME+=	gvfs
 .  if ${HAVE_GNOME:Mlibgnomeui}!=""
 USE_GNOME+=	libgnomeui
 .  endif
+.else
+CONFIGURE_ARGS+=        --without-gvfs --with-gnomevfs
 .endif
 
 .endif
--- gimp-app2.Makefile.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1M4YSU-00014D-Tt>