Package: lufs-utils
Version: 0.9.7-7
Severity: wishlist
Tags: patch
Hi.
Please enable the GnomeVFS plugin. Attached is a patch which will do so
(works fine against gnome2, haven't checked alternate path of using
gnome1). Since it introduces a certain number of additional
dependencies, which might be too excessive for some users, it might be a
good idea to split the gvfs plugin into a seperate package, but I didn't
do so because I can live with the additional dependencies and thought
that an own package for a single 15k file would be a bit too much.
Sadly enough, I did the research on this to get some usable mounting
possibility for a remote http directory, which seems to be the only
GnomeVFS plugin I can't get to work at all. The file-plugin works
perfectly though and the ftp-plugin also seems to work alright. Didn't
test the others since I didn't have the appropriate remote server for
them.
regards,
Sven
-- System Information:
Debian Release: 3.1
APT prefers stable
APT policy: (990, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.12-incase
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages lufs-utils depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.3-13 GCC support library
ii libstdc++5 1:3.3.5-13 The GNU Standard C++ Library v3
diff -urN lufs-0.9.7/debian/changelog lufs-0.9.7-gnomevfs/debian/changelog
--- lufs-0.9.7/debian/changelog 2005-09-06 21:50:05.462158293 +0200
+++ lufs-0.9.7-gnomevfs/debian/changelog 2005-09-06 21:48:53.964861546
+0200
@@ -1,3 +1,9 @@
+lufs (0.9.7-8) unstable; urgency=low
+
+ * Enable support for gnomevfs-module (gvfs)
+
+ -- Sven Mueller <[EMAIL PROTECTED]> Tue, 6 Sep 2005 21:48:34 +0200
+
lufs (0.9.7-7) unstable; urgency=low
* CXX 4.0 transition
diff -urN lufs-0.9.7/debian/control lufs-0.9.7-gnomevfs/debian/control
--- lufs-0.9.7/debian/control 2005-09-06 21:50:05.462158293 +0200
+++ lufs-0.9.7-gnomevfs/debian/control 2005-09-06 21:48:21.966861551 +0200
@@ -2,7 +2,7 @@
Section: misc
Priority: optional
Maintainer: Eduard Bloch <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 4.0.0), bzip2, automake, dpatch, automake1.4,
libtool
+Build-Depends: debhelper (>> 4.0.0), bzip2, automake, dpatch, automake1.4,
libtool, libgnomevfs2-dev, libgnome-dev, libgtk2.0-dev, libglib2.0-dev,
libglib2.0-dev, libpango1.0-dev, libgnome2-dev, libbonobo2-dev
Standards-Version: 3.6.2.1
Package: lufs-utils
diff -urN lufs-0.9.7/debian/patches/00list
lufs-0.9.7-gnomevfs/debian/patches/00list
--- lufs-0.9.7/debian/patches/00list 2005-09-06 21:50:05.466157918 +0200
+++ lufs-0.9.7-gnomevfs/debian/patches/00list 2005-09-06 21:49:25.811875710
+0200
@@ -3,3 +3,4 @@
03_noldconfig
04_makefile24
05_linux2.6.10
+06_enable_gvfs
diff -urN lufs-0.9.7/debian/patches/06_enable_gvfs.dpatch
lufs-0.9.7-gnomevfs/debian/patches/06_enable_gvfs.dpatch
--- lufs-0.9.7/debian/patches/06_enable_gvfs.dpatch 1970-01-01
01:00:00.000000000 +0100
+++ lufs-0.9.7-gnomevfs/debian/patches/06_enable_gvfs.dpatch 2005-09-06
21:29:40.474997155 +0200
@@ -0,0 +1,64 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 06_enable_gvfs.dpatch by Sven Mueller <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Enable building of GnomeVFS plugin (gvfs)
+
[EMAIL PROTECTED]@
+diff -urNad lufs-0.9.7/configure.in /tmp/dpep.jsabEB/lufs-0.9.7/configure.in
+--- lufs-0.9.7/configure.in 2003-10-29 23:40:28.000000000 +0100
++++ /tmp/dpep.jsabEB/lufs-0.9.7/configure.in 2005-09-06 21:26:43.774558550
+0200
+@@ -162,15 +162,14 @@
+
+
+ dnl Checking gnome
+-AC_CHECK_PROG(GCONF, gnome-config, gnome-config)
+-AC_CHECK_PROG(GVFSCONF, gnome-vfs-config, gnome-vfs-config)
+-AC_CHECK_LIB(gnomevfs, gnome_vfs_init, HAS_GNOMEVFS=1,)
+-if test "$GCONF" -a "$GVFSCONF" -a "$HAS_GNOMEVFS"
++AC_CHECK_PROG(PKGCONF, pkg-config, pkg-config)
++AC_CHECK_LIB(gnomevfs-2, gnome_vfs_init, HAS_GNOMEVFS=1,)
++if test "$PKGCONF" -a "$HAS_GNOMEVFS"
+ then
+ AC_DEFINE([HAS_GVFS], 1, [Define if gvfs is to be built.])
+
+- GVFS_LDADD="`$GCONF --libs gnome` `$GVFSCONF --libs`"
+- GVFS_CFLAGS="`$GCONF --cflags gnome` `$GVFSCONF --cflags`"
++ GVFS_LDADD="`$PKGCONF --libs libgnome-2.0` `$PKGCONF --libs
gnome-vfs-2.0`"
++ GVFS_CFLAGS="`$PKGCONF --cflags libgnome-2.0` `$PKGCONF --libs
gnome-vfs-2.0`"
+ opt_fs="$opt_fs gvfs"
+ fi
+ AC_SUBST(GVFS_LDADD)
+diff -urNad lufs-0.9.7/debian/control
/tmp/dpep.jsabEB/lufs-0.9.7/debian/control
+--- lufs-0.9.7/debian/control 2005-09-06 21:15:23.945276409 +0200
++++ /tmp/dpep.jsabEB/lufs-0.9.7/debian/control 2005-09-06 21:22:20.315251868
+0200
+@@ -2,7 +2,7 @@
+ Section: misc
+ Priority: optional
+ Maintainer: Eduard Bloch <[EMAIL PROTECTED]>
+-Build-Depends: debhelper (>> 4.0.0), bzip2, automake, dpatch, automake1.4,
libtool
++Build-Depends: debhelper (>> 4.0.0), bzip2, automake, dpatch, automake1.4,
libtool, libgnomevfs2-dev, libgnome-dev, libgtk2.0-dev, libglib2.0-dev,
libglib2.0-dev, libpango1.0-dev, libgnome2-dev, libbonobo2-dev
+ Standards-Version: 3.6.2.1
+
+ Package: lufs-utils
+diff -urNad lufs-0.9.7/filesystems/gvfs/gvfs.cpp
/tmp/dpep.jsabEB/lufs-0.9.7/filesystems/gvfs/gvfs.cpp
+--- lufs-0.9.7/filesystems/gvfs/gvfs.cpp 2003-03-08 22:45:29.000000000
+0100
++++ /tmp/dpep.jsabEB/lufs-0.9.7/filesystems/gvfs/gvfs.cpp 2005-09-06
21:29:38.561176528 +0200
+@@ -37,7 +37,7 @@
+
+ #include "gvfs.h"
+
+-#include <gnome.h>
++#include <libgnome/libgnome.h>
+ #include <libgnomevfs/gnome-vfs.h>
+
+ extern "C" {
+@@ -275,7 +275,7 @@
+ goto out_uri;
+ }
+
+- if(gnome_vfs_directory_open_from_uri(&dir, uri,
GNOME_VFS_FILE_INFO_DEFAULT, NULL) != GNOME_VFS_OK){
++ if(gnome_vfs_directory_open_from_uri(&dir, uri,
GNOME_VFS_FILE_INFO_DEFAULT) != GNOME_VFS_OK){
+ WARN("could not open directory!");
+ goto out_info;
+ }