diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2007-11-05 22:27:53 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2007-11-05 22:27:53 +0000 |
commit | 9ef0a69adc5b33428e803c68ec2eaf1a3eedfd1d (patch) | |
tree | 0953e4818673d5e6830d801bf29842212eb88336 /gnome-base | |
parent | whitespace (diff) | |
download | gentoo-2-9ef0a69adc5b33428e803c68ec2eaf1a3eedfd1d.tar.gz gentoo-2-9ef0a69adc5b33428e803c68ec2eaf1a3eedfd1d.tar.bz2 gentoo-2-9ef0a69adc5b33428e803c68ec2eaf1a3eedfd1d.zip |
fix bug #191426 and bug #195216
(Portage version: 2.1.3.16)
Diffstat (limited to 'gnome-base')
-rw-r--r-- | gnome-base/gnome-vfs/ChangeLog | 8 | ||||
-rw-r--r-- | gnome-base/gnome-vfs/files/digest-gnome-vfs-2.20.0-r1 | 3 | ||||
-rw-r--r-- | gnome-base/gnome-vfs/files/gnome-vfs-2.20.0-automagic-deps.patch | 68 | ||||
-rw-r--r-- | gnome-base/gnome-vfs/gnome-vfs-2.20.0-r1.ebuild | 101 |
4 files changed, 179 insertions, 1 deletions
diff --git a/gnome-base/gnome-vfs/ChangeLog b/gnome-base/gnome-vfs/ChangeLog index af45db6e748d..bc52814e23be 100644 --- a/gnome-base/gnome-vfs/ChangeLog +++ b/gnome-base/gnome-vfs/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for gnome-base/gnome-vfs # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-vfs/ChangeLog,v 1.265 2007/09/25 20:32:21 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-vfs/ChangeLog,v 1.266 2007/11/05 22:27:52 eva Exp $ + +*gnome-vfs-2.20.0-r1 (05 Nov 2007) + + 05 Nov 2007; Gilles Dartiguelongue <eva@gentoo.org> + +files/gnome-vfs-2.20.0-automagic-deps.patch, +gnome-vfs-2.20.0-r1.ebuild: + fix automagic dependencies wrt to bug #191426 *gnome-vfs-2.20.0 (25 Sep 2007) diff --git a/gnome-base/gnome-vfs/files/digest-gnome-vfs-2.20.0-r1 b/gnome-base/gnome-vfs/files/digest-gnome-vfs-2.20.0-r1 new file mode 100644 index 000000000000..d3bf2ba280ca --- /dev/null +++ b/gnome-base/gnome-vfs/files/digest-gnome-vfs-2.20.0-r1 @@ -0,0 +1,3 @@ +MD5 b9fe0a066d0e693e74a000e55338235b gnome-vfs-2.20.0.tar.bz2 1918358 +RMD160 880e1c1afcb0c22131adfad4e5a5aa3605c136bb gnome-vfs-2.20.0.tar.bz2 1918358 +SHA256 cd95ec5a4808799f033dcb9daf37ed38436c594d4014e5804967fa9e5893e91f gnome-vfs-2.20.0.tar.bz2 1918358 diff --git a/gnome-base/gnome-vfs/files/gnome-vfs-2.20.0-automagic-deps.patch b/gnome-base/gnome-vfs/files/gnome-vfs-2.20.0-automagic-deps.patch new file mode 100644 index 000000000000..876148b891f4 --- /dev/null +++ b/gnome-base/gnome-vfs/files/gnome-vfs-2.20.0-automagic-deps.patch @@ -0,0 +1,68 @@ +Index: configure.in +=================================================================== +--- configure.in (révision 5413) ++++ configure.in (copie de travail) +@@ -448,9 +448,13 @@ + dnl GSSAPI + dnl Check for Kerberos installation + have_gssapi=no ++ ++AC_ARG_ENABLE(krb5, ++ AS_HELP_STRING([--enable-krb5],[Enable Kerberos 5 support]), ++ [],[enable_krb5=yes]) + AC_PATH_PROG([KRB5_CONFIG], krb5-config, none, $PATH:/usr/kerberos/bin) +- +-if test "x$KRB5_CONFIG" != "xnone"; then ++ ++if test "x$KRB5_CONFIG" != "xnone" -a "x$enable_krb5" = "xyes"; then + GSSAPI_LIBS="`${KRB5_CONFIG} --libs gssapi`" + GSSAPI_CFLAGS="`${KRB5_CONFIG} --cflags gssapi`" + +@@ -481,8 +485,12 @@ + break + ]) + LIBS="$saved_LIBS" +- CPPFLAGS="$saved_CPPFLAGS" +-fi ++ CPPFLAGS="$saved_CPPFLAGS" ++fi ++ ++if test "x$KRB5_CONFIG" = "xnone" -a "x$enable_krb5" = "xyes"; then ++ AC_MSG_ERROR([*** kerberos 5 support enabled but krb5-config not found ***]) ++fi + AC_SUBST(GSSAPI_LIBS) + AC_SUBST(GSSAPI_CFLAGS) + +@@ -1077,9 +1085,13 @@ + dnl ===================== + dnl ACL checks + dnl ===================== +-acl_backends="" ++acl_backends="none" + ACL_LIBS="" + ++AC_ARG_ENABLE(acl, ++ AS_HELP_STRING([--disable-acl],[Don't use libacl support]), ++ [],[enable_acl=yes]) ++ + AC_CHECK_LIB(attr,getxattr,[ACL_LIBS="$ACL_LIBS -lattr"]) + AC_CHECK_LIB(acl,acl_get_file,[ACL_LIBS="$ACL_LIBS -lacl"]) + AC_CHECK_LIB(sec,acl,[ACL_LIBS="$ACL_LIBS -lsec"]) +@@ -1102,7 +1114,7 @@ + gvfs_cv_HAVE_POSIX_ACLS=yes, gvfs_cv_HAVE_POSIX_ACLS=no) + LIBS=$acl_LIBS]) + +-if test x"$gvfs_cv_HAVE_SOLARIS_ACLS" = x"yes" ; then ++if test x"$gvfs_cv_HAVE_SOLARIS_ACLS" = x"yes" -a x"$enable_acl" = x"yes"; then + have_solaris_acl_support=yes + acl_backends="solaris" + +@@ -1110,7 +1122,7 @@ + AC_CHECK_HEADERS([pwd.h grp.h]) + fi + +-if test x"$gvfs_cv_HAVE_POSIX_ACLS" = x"yes" ; then ++if test x"$gvfs_cv_HAVE_POSIX_ACLS" = x"yes" -a x"$enable_acl" = x"yes"; then + have_posix_acl_support=yes + acl_backends="posix" + diff --git a/gnome-base/gnome-vfs/gnome-vfs-2.20.0-r1.ebuild b/gnome-base/gnome-vfs/gnome-vfs-2.20.0-r1.ebuild new file mode 100644 index 000000000000..0c95e5e21232 --- /dev/null +++ b/gnome-base/gnome-vfs/gnome-vfs-2.20.0-r1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-vfs/gnome-vfs-2.20.0-r1.ebuild,v 1.1 2007/11/05 22:27:52 eva Exp $ + +WANT_AUTOMAKE=1.8 +inherit eutils gnome2 autotools + +DESCRIPTION="Gnome Virtual Filesystem" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="GPL-2 LGPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="acl avahi doc gnutls hal ipv6 kerberos samba ssl" + +RDEPEND=">=gnome-base/gconf-2 + >=dev-libs/glib-2.9.3 + >=dev-libs/libxml2-2.6 + >=net-misc/neon-0.25.3 + app-arch/bzip2 + virtual/fam + gnome-base/gnome-mime-data + >=x11-misc/shared-mime-info-0.14 + >=dev-libs/dbus-glib-0.71 + samba? ( >=net-fs/samba-3 ) + gnutls? ( + net-libs/gnutls + !gnome-extra/gnome-vfs-sftp + ) + ssl? ( + !gnutls? ( + >=dev-libs/openssl-0.9.5 + !gnome-extra/gnome-vfs-sftp + ) + ) + hal? ( + >=sys-apps/hal-0.5.7 + ) + avahi? ( >=net-dns/avahi-0.6 ) + kerberos? ( virtual/krb5 ) + acl? ( + sys-apps/acl + sys-apps/attr + )" +DEPEND="${RDEPEND} + sys-devel/gettext + gnome-base/gnome-common + >=dev-util/intltool-0.35 + >=dev-util/pkgconfig-0.9 + doc? ( >=dev-util/gtk-doc-1 )" +PDEPEND="hal? ( >=gnome-base/gnome-mount-0.4 )" + +DOCS="AUTHORS ChangeLog HACKING NEWS README TODO" + +pkg_setup() { + if use hal ; then + G2CONF="--with-hal-mount=/usr/bin/gnome-mount \ + --with-hal-umount=/usr/bin/gnome-umount \ + --with-hal-eject=/usr/bin/gnome-eject" + fi + + G2CONF="${G2CONF} \ + --disable-schemas-install \ + --disable-cdda \ + --disable-howl \ + --enable-http-neon \ + $(use_enable ssl openssl) \ + $(use_enable gnutls) \ + $(use_enable samba) \ + $(use_enable ipv6) \ + $(use_enable hal) \ + $(use_enable avahi) \ + $(use_enable kerberos krb5) \ + $(use_enable acl)" + + # this works because of the order of conifgure parsing + # so should always be behind the use_enable options + # foser <foser@gentoo.org 19 Apr 2004 + use gnutls && use ssl && G2CONF="${G2CONF} --disable-openssl" +} + +src_unpack() { + gnome2_src_unpack + + # Allow the Trash on afs filesystems (#106118) + epatch "${FILESDIR}"/${PN}-2.12.0-afs.patch + + # Fix compiling with headers missing + epatch "${FILESDIR}"/${PN}-2.15.2-headers-define.patch + + # Fix for crashes running programs via sudo + epatch "${FILESDIR}"/${PN}-2.16.0-no-dbus-crash.patch + + # Fix automagic dependencies + epatch "${FILESDIR}"/${P}-automagic-deps.patch + + use doc || epatch "${FILESDIR}/${PN}-2.18.1-drop-gtk-doc-check.patch" + + eautoreconf + intltoolize --force +} |