summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-12-23 11:30:00 +0000
committerRichard Purdie <richard@openedhand.com>2006-12-23 11:30:00 +0000
commit9286120bb3939d4ea476ada89c8d0c565a5e2739 (patch)
treeb0a3c13695953c9383cc3ea0295dbf59a0430ab7
parentd01c67b1ea002c154694c81d67bfbbb5b08e78c5 (diff)
downloadpoky-9286120bb3939d4ea476ada89c8d0c565a5e2739.tar.gz
Add gnome-vfs 2.12.0
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1089 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/gnome/gnome-vfs-2.12.0/gconftool-lossage.patch11
-rw-r--r--meta/packages/gnome/gnome-vfs_2.12.0.bb90
2 files changed, 101 insertions, 0 deletions
diff --git a/meta/packages/gnome/gnome-vfs-2.12.0/gconftool-lossage.patch b/meta/packages/gnome/gnome-vfs-2.12.0/gconftool-lossage.patch
new file mode 100644
index 0000000000..3dbc130ddc
--- /dev/null
+++ b/meta/packages/gnome/gnome-vfs-2.12.0/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.12.0.bb b/meta/packages/gnome/gnome-vfs_2.12.0.bb
new file mode 100644
index 0000000000..1c11f9841f
--- /dev/null
+++ b/meta/packages/gnome/gnome-vfs_2.12.0.bb
@@ -0,0 +1,90 @@
1LICENSE = "GPL"
2PR = "r2"
3
4inherit gnome
5
6DEPENDS = "libxml2 gconf libbonobo bzip2 gnome-mime-data orbit2 zlib samba-3.0.14a"
7RRECOMMENDS = "gnome-vfs-plugin-file gnome-mime-data shared-mime-info"
8
9SRC_URI += "file://gconftool-lossage.patch;patch=1;pnum=1"
10
11ORBIT_IDL_SRC = "${STAGING_BINDIR_NATIVE}/orbit-idl-2"
12
13FILES_${PN} += " ${libdir}/bonobo/servers ${libdir}/bonobo/monikers/*.so ${libdir}/vfs"
14FILES_${PN}-dev += " ${libdir}/gnome-vfs-2.0/modules/*.a ${libdir}/gnome-vfs-2.0/modules/*.la ${libdir}/gnome-vfs-2.0/include ${libdir}/bonobo/monikers/*.a ${libdir}/bonobo/monikers/*.la"
15FILES_${PN}-doc += " ${datadir}/gtk-doc"
16
17GNOME_VFS_HEADERS = " \
18gnome-vfs-mime-deprecated.h \
19gnome-vfs-address.h \
20gnome-vfs-dns-sd.h \
21gnome-vfs-mime-info-cache.h \
22gnome-vfs-resolve.h \
23gnome-vfs-utils.h \
24gnome-vfs-application-registry.h \
25gnome-vfs-async-ops.h \
26gnome-vfs-ops.h \
27gnome-vfs-uri.h \
28gnome-vfs-standard-callbacks.h \
29gnome-vfs-module-callback.h \
30gnome-vfs-context.h \
31gnome-vfs-file-info.h \
32gnome-vfs-directory.h \
33gnome-vfs-mime-monitor.h \
34gnome-vfs-mime-handlers.h \
35gnome-vfs-result.h \
36gnome-vfs-job-limit.h \
37gnome-vfs-file-size.h \
38gnome-vfs-mime-utils.h \
39gnome-vfs-find-directory.h \
40gnome-vfs-init.h \
41gnome-vfs-handle.h \
42gnome-vfs.h \
43gnome-vfs-cancellation.h \
44gnome-vfs-xfer.h \
45gnome-vfs-monitor.h \
46gnome-vfs-types.h \
47gnome-vfs-volume-monitor.h \
48gnome-vfs-drive.h \
49gnome-vfs-volume.h \
50gnome-vfs-enum-types.h"
51
52GNOME_VFS_MODULE_HEADERS = " \
53gnome-vfs-mime-info.h \
54gnome-vfs-transform.h \
55gnome-vfs-ssl.h \
56gnome-vfs-inet-connection.h \
57gnome-vfs-socket.h \
58gnome-vfs-parse-ls.h \
59gnome-vfs-method.h \
60gnome-vfs-cancellable-ops.h \
61gnome-vfs-module.h \
62gnome-vfs-module-shared.h \
63gnome-vfs-module-callback-module-api.h \
64gnome-vfs-mime.h \
65gnome-vfs-socket-buffer.h"
66
67do_compile() {
68 oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}"
69}
70
71do_stage() {
72 oe_libinstall -so -C libgnomevfs libgnomevfs-2 ${STAGING_LIBDIR}
73 install -d ${STAGING_INCDIR}/gnome-vfs-2.0/libgnomevfs
74 for i in ${GNOME_VFS_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/gnome-vfs-2.0/libgnomevfs/; done
75 install -d ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs
76 for i in ${GNOME_VFS_MODULE_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs/; done
77}
78
79do_install() {
80 oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}" DESTDIR="${D}" install
81}
82
83PACKAGES_DYNAMIC = "gnome-vfs-plugin-*"
84
85python populate_packages_prepend () {
86 print bb.data.getVar('FILES_gnome-vfs', d, 1)
87
88 plugindir = bb.data.expand('${libdir}/gnome-vfs-2.0/modules/', d)
89 do_split_packages(d, plugindir, '^lib(.*)\.so$', 'gnome-vfs-plugin-%s', 'GNOME VFS plugin for %s')
90}