[weasel-commit] Source: gvfs=1.2.3-1

  • From: rbuilder@xxxxxxxxx
  • To: weasel-commit@xxxxxxxxxxxxx
  • Date: Sat, 30 Jan 2010 11:47:33 -0500

================================
gvfs:source=1.2.3-1
cvc rdiff gvfs -1 /weasel.rpath.org@wgl:3-devel/1.2.3-1
================================
1.2.3-1 Filip Brcic (brcha@xxxxxxx) Sat Jan 30 11:47:22 2010
    gvfs 1.2.3

gvfs-1.2.3.tar.bz2: new
gvfs.recipe: new
--- /dev/null
+++ gvfs.recipe
@@ -0,0 +58 @@
+#
+# Copyright (c) 2010 Filip Brcic <brcha@xxxxxxxxxxxx>
+# Distributed under the terms of the GNU General Public License v3
+#
+
+loadSuperClass('gnomepackage')
+class Gvfs(GnomePackageRecipe):
+    name = 'gvfs'
+    version = '1.2.3'
+
+    buildRequires = [
+        'GConf:devel', 'avahi-glib:devel', 'avahi:devel',
+        'desktop-file-utils:runtime', 'fuse:devel',
+        'gnome-keyring:devel', 'gnutls:devel', 'hal:devel',
+        'libarchive:devel', 'libcdio:devel', 'libexif:devel',
+        'libgcrypt:devel', 'libgpg-error:devel', 'libgphoto2:devel',
+        'libproxy:devel', 'libsoup-gnome:devel', 'libsoup:devel',
+        'libusb:devel', 'libxml2:devel', 'sqlite:devel',
+        ]
+
+    shortDesc  = 'GNOME Virtual Filesystem Layer'
+    url        = 'http://www.gnome.org/'
+    licenses   = [ 'LGPL-2' ]
+    categories = [ 'Gnome' ]
+
+    patches = [
+        'gvfs-1.2.2-gphoto2-stricter-checks.patch',
+        'gvfs-1.2.2-expose-archive-backend.patch',
+        ]
+
+    def unpack(r):
+        GnomePackageRecipe.unpack(r)
+
+        r.addAction("""
+echo "mount-archive.desktop.in" >> po/POTFILES.in
+echo "mount-archive.desktop.in.in" >> po/POTFILES.in
+""")
+        
+        r.Autoreconf()
+
+    extraConfig = (
+        ' --enable-http'
+        ' --disable-bash-completion'
+        ' --enable-archive'
+        ' --enable-avahi'
+        ' --disable-obexftp'
+        ' --enable-cdda'
+        ' --enable-fuse'
+        ' --enable-gconf'
+        ' --enable-gphoto2'
+        ' --enable-hal'
+        ' --enable-keyring'
+        ' --disable-samba'
+        )
+
+    def policy(r):
+        r.Install('programs/gvfs-bash-completion.sh',
+                  '%(datadir)s/bash-completion/gvfs')

gvfs-1.2.2-gphoto2-stricter-checks.patch: new
--- /dev/null
+++ gvfs-1.2.2-gphoto2-stricter-checks.patch
@@ -0,0 +28 @@
+Gentoo bug 264941
+Upstream: http://bugzilla.gnome.org/show_bug.cgi?id=578027
+---
+diff -urNp gvfs-1.2.2/configure.ac gvfs-1.2.2-new/configure.ac
+--- gvfs-1.2.2/configure.ac    2009-04-03 13:00:54.000000000 +0530
++++ gvfs-1.2.2-new/configure.ac        2009-05-04 22:53:24.000000000 +0530
+@@ -307,12 +307,20 @@ if test "x$enable_gphoto2" != "xno" -a "
+       ;;
+   esac
+ 
++  if test "x$enable_gphoto2" = "xyes" -a "x$msg_gphoto2" != "xyes"; then
++    AC_MSG_ERROR([gphoto2 support requested but not available])
++  fi
++
+   if test "x$msg_gphoto2" = "xyes"; then
+     if test "x$use_gphoto2" = "xyes"; then
+       PKG_CHECK_MODULES(GPHOTO2, libgphoto2 >= 2.4.0)
+       AC_DEFINE(HAVE_GPHOTO2, 1, [Define to 1 if gphoto2 is available])
+     else
+-      AC_MSG_WARN([Not building with gphoto2 support. Need OS tweaks in hal 
volume monitor.])
++      if test "x$enable_gphoto2" = "xyes"; then
++        AC_MSG_ERROR([Cannot build with gphoto2 support. Need OS tweaks in 
hal volume monitor.])
++      else
++        AC_MSG_WARN([Not building with gphoto2 support. Need OS tweaks in hal 
volume monitor.])
++      fi
+       msg_gphoto2=no
+     fi
+   fi

gvfs-1.2.2-expose-archive-backend.patch: new
--- /dev/null
+++ gvfs-1.2.2-expose-archive-backend.patch
@@ -0,0 +56 @@
+Upstream bug: http://bugzilla.gnome.org/show_bug.cgi?id=567235 (Fedora)
+Our bug: http://bugs.gentoo.org/show_bug.cgi?id=249829
+----
+Index: mount-archive.desktop.in.in
+===================================================================
+--- mount-archive.desktop.in.in        (revision 0)
++++ mount-archive.desktop.in.in        (revision 0)
+@@ -0,0 +1,14 @@
++[Desktop Entry]
++Encoding=UTF-8
++_Name=Archive Mounter
++Exec=@libexecdir@/gvfsd-archive file=%u
++X-Gnome-Vfs-System=gio
++MimeType=application/x-cd-image;application/x-bzip-compressed-tar;application/x-compressed-tar;application/x-tar;application/x-cpio;application/x-zip;application/zip;application/x-lzma-compressed-tar;
++Terminal=false
++StartupNotify=false
++Type=Application
++NoDisplay=true
++X-GNOME-Bugzilla-Bugzilla=GNOME
++X-GNOME-Bugzilla-Product=gvfs
++X-GNOME-Bugzilla-Component=archive-backend
++X-GNOME-Bugzilla-Version=@VERSION@
+Index: Makefile.am
+===================================================================
+--- Makefile.am.orig   2008-07-22 15:35:49.000000000 +0200
++++ Makefile.am        2008-07-22 17:56:59.417180064 +0200
+@@ -1,5 +1,20 @@
+ NULL =
+ 
++@INTLTOOL_DESKTOP_RULE@
++
++desktop_in_files = mount-archive.desktop.in
++
++mount-archive.desktop.in: mount-archive.desktop.in.in
++      sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
++
++desktopdir       = $(datadir)/applications
++if HAVE_ARCHIVE
++desktop_DATA     = mount-archive.desktop
++else
++desktop_DATA     = 
++endif 
++
++
+ SUBDIRS = \
+       common \
+       client \
+@@ -15,6 +30,8 @@
+ 
+ EXTRA_DIST = \
+       MAINTAINERS             \
++      mount-archive.desktop.in.in \
++      $(desktop_in_files)     \
+       $(NULL)
+ 
+ DISTCLEANFILES = \


Committed by: brcha

Other related posts: