On 09/09/2010 04:20 PM, Wayne Blaszczyk wrote:
> On 28/08/10 07:19, Lars Bamberger wrote:
>> Hi,
>>
>> Finally I was able to fix a problem that's been bugging me for a long time:
>>
>> If GNOME_PREFIX is anything other than /usr,
>> nautilus will not be able to handle fancy locations like computer:///,
>> network:/// or trash:/// due to a problem with gvfs. This is because
>> glib installs gio modules in /usr/lib/gio/modules and gvfs installs them
>> into $GNOME_PREFIX/lib/gio/modules.
>>
>> I moved put all files into /usr/lib/gio/modules, merged the two
>> cachefiles and put a symlink from $GNOME_PREFIX/lib/gio/modules to
>> /usr/lib/gio/modules.
>>
>> gvfs installs the gio modules ${exec_prefix}/lib/gio/modules, so we
>> can't simply change the exec_prefix, as this would also move other files
>> out of GNOME_PREFIX and into /usr.
>>
>> What would be the best way to address this issue? Hack glib, hack gvfs,
>> put instructions into the book, drop support for arbitrary GNOME_PREFIXes?
>>
>> Lars
>>
> If there was a vote, I would vote for the last option. I'm sure there
> would be other examples like this that have not been detected yet.
> Regards,
> Wayne.
Not too many. I think I differ by about 5 or 6 minor changes. Upstream
has been accommodating (with the exception of this old gvfs bug and some
unnamed distro's build policy WRT to a broken distcheck target). As for
the OP, see attachment and run autoreconf.
-- DJ Lucas
--
This message has been scanned for viruses and
dangerous content, and is believed to be clean.
Submitted By: DJ Lucas <dj at linuxfromscratch dot org>
Date: 2009-09-05
Initial Package Version: 1.4.3
Upstream Status: Submitted
Origin: self
Description: Adds proper autodetection of gio modules directory, and adds a
switch to overide so that 'make distcheck' passes for DESTDIR
installations (which is why upstream repeatedly breaks every
single release after it has been fixed so many times prior).
diff -Naur gvfs-1.4.3-orig/configure.ac gvfs-1.4.3/configure.ac
--- gvfs-1.4.3-orig/configure.ac 2009-12-14 02:31:02.000000000 -0600
+++ gvfs-1.4.3/configure.ac 2010-02-07 11:47:01.000000000 -0600
@@ -57,7 +57,8 @@
DBUS_SERVICE_DIR=$with_dbus_service_dir
AC_SUBST(DBUS_SERVICE_DIR)
-giomodulesdir=$libdir/gio/modules
+AC_ARG_WITH(gio_modules_dir, [ --with-gio-modules-dir=PATH choose directory
for gio modules, [default=auto]], with_gio_modules_dir="$withval",
with_gio_modules_dir=$($PKG_CONFIG --variable=giomoduledir gio-2.0))
+giomodulesdir=$with_gio_modules_dir
AC_SUBST(giomodulesdir)
dnl ****************************
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page