summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-08-31 16:13:36 +0000
committerRoss Burton <ross@openedhand.com>2007-08-31 16:13:36 +0000
commitc8c2a9e7d0a11c6cdc23f34a4f10c98a33a75287 (patch)
tree086fb1acfaee541bb59468d3c62629e0cb0fb965 /meta
parenta74c19fd52a96f24953777d641723e41854ee05f (diff)
downloadpoky-c8c2a9e7d0a11c6cdc23f34a4f10c98a33a75287.tar.gz
Add new gnome-vfs to poky-bleeding
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2625 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/distro/poky-bleeding.conf1
-rw-r--r--meta/packages/gnome/gnome-vfs-2.19.91/gconftool-lossage.patch11
-rw-r--r--meta/packages/gnome/gnome-vfs-2.19.91/gnome-vfs-no-kerberos.patch51
-rw-r--r--meta/packages/gnome/gnome-vfs_2.19.91.bb38
4 files changed, 101 insertions, 0 deletions
diff --git a/meta/conf/distro/poky-bleeding.conf b/meta/conf/distro/poky-bleeding.conf
index 475c1e6c71..c79bbcf915 100644
--- a/meta/conf/distro/poky-bleeding.conf
+++ b/meta/conf/distro/poky-bleeding.conf
@@ -2,6 +2,7 @@ PREFERRED_VERSION_atk ?= "1.19.6"
2PREFERRED_VERSION_gtk+ ?= "2.11.6" 2PREFERRED_VERSION_gtk+ ?= "2.11.6"
3 3
4PREFERRED_VERSION_gnome-keyring ?= "2.19.91" 4PREFERRED_VERSION_gnome-keyring ?= "2.19.91"
5PREFERRED_VERSION_gnome-vfs ?= "2.19.91"
5PREFERRED_VERSION_libgnomecanvas ?= "2.19.2" 6PREFERRED_VERSION_libgnomecanvas ?= "2.19.2"
6PREFERRED_VERSION_gtk-engines ?= "2.11.7" 7PREFERRED_VERSION_gtk-engines ?= "2.11.7"
7 8
diff --git a/meta/packages/gnome/gnome-vfs-2.19.91/gconftool-lossage.patch b/meta/packages/gnome/gnome-vfs-2.19.91/gconftool-lossage.patch
new file mode 100644
index 0000000000..3dbc130ddc
--- /dev/null
+++ b/meta/packages/gnome/gnome-vfs-2.19.91/gconftool-lossage.patch
@@ -0,0 +1,11 @@
1--- gnome-vfs-2.6.0/configure.in~ 2004-03-22 12:36:23.000000000 +0000
2+++ gnome-vfs-2.6.0/configure.in 2004-06-07 16:04:34.000000000 +0100
3@@ -154,7 +154,7 @@
4 AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
5
6 if test x"$GCONFTOOL" = xno; then
7- AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
8+ AC_MSG_WARN([gconftool-2 executable not found in your path - should be installed with GConf])
9 fi
10
11 AM_GCONF_SOURCE_2
diff --git a/meta/packages/gnome/gnome-vfs-2.19.91/gnome-vfs-no-kerberos.patch b/meta/packages/gnome/gnome-vfs-2.19.91/gnome-vfs-no-kerberos.patch
new file mode 100644
index 0000000000..e25ecdd66f
--- /dev/null
+++ b/meta/packages/gnome/gnome-vfs-2.19.91/gnome-vfs-no-kerberos.patch
@@ -0,0 +1,51 @@
1removes kerberos completely to avoid conflicts with installed kerberos
2--- configure.in.orig 2007-01-05 19:42:26.418541610 +0200
3+++ configure.in 2007-01-05 19:42:56.604261797 +0200
4@@ -436,47 +436,6 @@
5 ])
6 AM_CONDITIONAL(HAVE_CDDA, test $have_cdda = yes)
7 AC_SUBST(CDDA_LIBS)
8-
9-dnl GSSAPI
10-dnl Check for Kerberos installation
11-have_gssapi=no
12-AC_PATH_PROG([KRB5_CONFIG], krb5-config, none, $PATH:/usr/kerberos/bin)
13-
14-if test "x$KRB5_CONFIG" != "xnone"; then
15- GSSAPI_LIBS="`${KRB5_CONFIG} --libs gssapi`"
16- GSSAPI_CFLAGS="`${KRB5_CONFIG} --cflags gssapi`"
17-
18- saved_CPPFLAGS="$CPPFLAGS"
19- saved_LIBS="$LIBS"
20- LIBS="$LIBS $GSSAPI_LIBS"
21- CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
22- # MIT and Heimdal put gssapi.h in different places
23- AC_CHECK_HEADERS(gssapi/gssapi.h gssapi.h, [
24- AC_CHECK_FUNCS(gss_init_sec_context, [
25- AC_MSG_NOTICE([GSSAPI authentication support enabled])
26- AC_DEFINE(HAVE_GSSAPI, 1, [Define if GSSAPI support is enabled])
27- AC_CHECK_HEADERS(gssapi/gssapi_generic.h)
28- have_gssapi=yes
29-
30- # MIT Kerberos lacks GSS_C_NT_HOSTBASED_SERVICE
31- AC_CHECK_DECL([GSS_C_NT_HOSTBASED_SERVICE],,
32- [AC_DEFINE([GSS_C_NT_HOSTBASED_SERVICE], gss_nt_service_name,
33- [Define if GSS_C_NT_HOSTBASED_SERVICE is not defined otherwise])
34- ], [
35- #ifdef HAVE_GSSAPI_GSSAPI_H
36- #include <gssapi/gssapi.h>
37- #else
38- #include <gssapi.h>
39- #endif
40- ])
41- ])
42- break
43- ])
44- LIBS="$saved_LIBS"
45- CPPFLAGS="$saved_CPPFLAGS"
46-fi
47-AC_SUBST(GSSAPI_LIBS)
48-AC_SUBST(GSSAPI_CFLAGS)
49
50 dnl ******************************
51 dnl http-method (neon checks)
diff --git a/meta/packages/gnome/gnome-vfs_2.19.91.bb b/meta/packages/gnome/gnome-vfs_2.19.91.bb
new file mode 100644
index 0000000000..335958f1ce
--- /dev/null
+++ b/meta/packages/gnome/gnome-vfs_2.19.91.bb
@@ -0,0 +1,38 @@
1LICENSE = "GPL"
2DEPENDS = "libxml2 gconf dbus bzip2 gnome-mime-data zlib"
3RRECOMMENDS = "gnome-vfs-plugin-file shared-mime-info"
4# Some legacy packages will require gnome-mime-data to be installed, but use of
5# it is deprecated.
6PR = "r1"
7
8inherit gnome
9
10# This is to provide compatibility with the gnome-vfs DBus fork
11RPROVIDES = "gnome-vfs-plugin-dbus"
12
13SRC_URI += "file://gconftool-lossage.patch;patch=1;pnum=1 \
14 file://gnome-vfs-no-kerberos.patch;patch=1;pnum=0"
15
16EXTRA_OECONF = " \
17 --disable-hal \
18 --disable-openssl \
19 --disable-samba \
20 "
21
22FILES_${PN} += " ${libdir}/vfs ${datadir}/dbus-1/services"
23FILES_${PN}-dbg += " ${libdir}/gnome-vfs-2.0/modules/.debug"
24FILES_${PN}-dev += " ${libdir}/gnome-vfs-2.0/include"
25FILES_${PN}-doc += " ${datadir}/gtk-doc"
26
27do_stage () {
28autotools_stage_all
29}
30
31PACKAGES_DYNAMIC = "gnome-vfs-plugin-*"
32
33python populate_packages_prepend () {
34 print bb.data.getVar('FILES_gnome-vfs', d, 1)
35
36 plugindir = bb.data.expand('${libdir}/gnome-vfs-2.0/modules/', d)
37 do_split_packages(d, plugindir, '^lib(.*)\.so$', 'gnome-vfs-plugin-%s', 'GNOME VFS plugin for %s')
38}