diff options
| author | Chris Lord <chris@openedhand.com> | 2005-10-28 17:17:56 +0000 |
|---|---|---|
| committer | Chris Lord <chris@openedhand.com> | 2005-10-28 17:17:56 +0000 |
| commit | d1dae06dc1edb0bd3ae82104e35699e800384ab8 (patch) | |
| tree | b66d6a2a18fb62fddb69eb521bd06dd26f92d88b /openembedded/packages/gnome | |
| parent | 9ad36d44f008862cefa1a19f4f5690cf9706effe (diff) | |
| download | poky-d1dae06dc1edb0bd3ae82104e35699e800384ab8.tar.gz | |
Add gnome-vfs-dbus (builds correctly, but untested)
git-svn-id: https://svn.o-hand.com/repos/poky@147 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/gnome')
4 files changed, 144 insertions, 0 deletions
diff --git a/openembedded/packages/gnome/gnome-mime-data_2.4.2.bb b/openembedded/packages/gnome/gnome-mime-data_2.4.2.bb new file mode 100644 index 0000000000..bf98e1441c --- /dev/null +++ b/openembedded/packages/gnome/gnome-mime-data_2.4.2.bb | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | LICENSE = "GPL" | ||
| 2 | |||
| 3 | inherit pkgconfig autotools | ||
| 4 | |||
| 5 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${PN}/2.4/${PN}-${PV}.tar.bz2" | ||
| 6 | |||
| 7 | DEPENDS += "shared-mime-info intltool-native" | ||
| 8 | RDEPENDS = "shared-mime-info" | ||
diff --git a/openembedded/packages/gnome/gnome-vfs-dbus/gssapi.patch b/openembedded/packages/gnome/gnome-vfs-dbus/gssapi.patch new file mode 100644 index 0000000000..bcf46176b2 --- /dev/null +++ b/openembedded/packages/gnome/gnome-vfs-dbus/gssapi.patch | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | --- trunk/configure.in.old 2005-10-28 17:18:36.000000000 +0100 | ||
| 2 | +++ trunk/configure.in 2005-10-28 17:20:34.000000000 +0100 | ||
| 3 | @@ -444,6 +444,10 @@ | ||
| 4 | ]) | ||
| 5 | LIBS="$saved_LIBS" | ||
| 6 | CPPFLAGS="$saved_CPPFLAGS" | ||
| 7 | + if test "x$have_gssapi" != "xyes"; then | ||
| 8 | + GSSAPI_LIBS= | ||
| 9 | + GSSAPI_CFLAGS= | ||
| 10 | + fi | ||
| 11 | fi | ||
| 12 | AC_SUBST(GSSAPI_LIBS) | ||
| 13 | AC_SUBST(GSSAPI_CFLAGS) | ||
diff --git a/openembedded/packages/gnome/gnome-vfs-dbus/no-gtk-doc.patch b/openembedded/packages/gnome/gnome-vfs-dbus/no-gtk-doc.patch new file mode 100644 index 0000000000..331889b639 --- /dev/null +++ b/openembedded/packages/gnome/gnome-vfs-dbus/no-gtk-doc.patch | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | diff -urNd ../gnome-vfs-dbus-2.12.0cvs20051004-r0/trunk/doc/Makefile.am trunk/doc/Makefile.am | ||
| 2 | --- ../gnome-vfs-dbus-2.12.0cvs20051004-r0/trunk/doc/Makefile.am 2005-10-28 15:48:43.000000000 +0100 | ||
| 3 | +++ trunk/doc/Makefile.am 2005-10-28 16:17:15.000000000 +0100 | ||
| 4 | @@ -81,7 +81,7 @@ | ||
| 5 | GTKDOC_LIBS = $(LIBGNOMEVFS_LIBS) \ | ||
| 6 | $(top_builddir)/libgnomevfs/libgnomevfs-2.la | ||
| 7 | |||
| 8 | -include $(top_srcdir)/gtk-doc.make | ||
| 9 | +#include $(top_srcdir)/gtk-doc.make | ||
| 10 | |||
| 11 | dist-hook-local: | ||
| 12 | # mkdir $(distdir)/TEXT; \ | ||
| 13 | diff -urNd ../gnome-vfs-dbus-2.12.0cvs20051004-r0/trunk/Makefile.am trunk/Makefile.am | ||
| 14 | --- ../gnome-vfs-dbus-2.12.0cvs20051004-r0/trunk/Makefile.am 2005-10-28 15:49:03.000000000 +0100 | ||
| 15 | +++ trunk/Makefile.am 2005-10-28 16:17:07.000000000 +0100 | ||
| 16 | @@ -21,7 +21,7 @@ | ||
| 17 | gnome-vfs-zip.in \ | ||
| 18 | gnome-vfs-2.0.pc.in \ | ||
| 19 | gnome-vfs-module-2.0.pc.in \ | ||
| 20 | - gtk-doc.make \ | ||
| 21 | +# gtk-doc.make \ | ||
| 22 | intltool-extract.in \ | ||
| 23 | intltool-merge.in \ | ||
| 24 | intltool-update.in | ||
diff --git a/openembedded/packages/gnome/gnome-vfs-dbus_cvs.bb b/openembedded/packages/gnome/gnome-vfs-dbus_cvs.bb new file mode 100755 index 0000000000..d94812fb54 --- /dev/null +++ b/openembedded/packages/gnome/gnome-vfs-dbus_cvs.bb | |||
| @@ -0,0 +1,99 @@ | |||
| 1 | DEFAULT_PREFERENCE = "-1" | ||
| 2 | |||
| 3 | SECTION = "x11/utils" | ||
| 4 | DEPENDS = "gtk+ glib-2.0 gconf dbus libxml2 zlib bzip2" | ||
| 5 | DESCRIPTION = "Virtual file system library using DBUS for communication." | ||
| 6 | LICENSE = "GPLv2" | ||
| 7 | MAINTAINER = "Chris Lord <chris@openedhand.com>" | ||
| 8 | PROVIDES = "gnome-vfs" | ||
| 9 | RPROVIDES_${PN} = "gnome-vfs" | ||
| 10 | RPROVIDES_${PN}-dev = "gnome-vfs-dev" | ||
| 11 | RRECOMMENDS_${PN} = "gnome-vfs-plugin-file shared-mime-info" | ||
| 12 | |||
| 13 | PV = "2.12.0cvs${CVSDATE}" | ||
| 14 | |||
| 15 | SRC_URI = "svn://anonymous@developer.imendio.com/svn/gnome-vfs-dbus;module=trunk;proto=http \ | ||
| 16 | file://no-gtk-doc.patch;patch=1 \ | ||
| 17 | file://gssapi.patch;patch=1" | ||
| 18 | S = "${WORKDIR}/trunk" | ||
| 19 | |||
| 20 | inherit pkgconfig autotools | ||
| 21 | |||
| 22 | EXTRA_OECONF = "--with-ipc=dbus --disable-hal --disable-gtk-doc --disable-more-warnings" | ||
| 23 | |||
| 24 | FILES_${PN} += " ${libdir}/vfs ${datadir}/dbus-1/services/dbus-vfs-daemon.service" | ||
| 25 | FILES_${PN}-dev += " ${libdir}/gnome-vfs-2.0/modules/*.a ${libdir}/gnome-vfs-2.0/modules/*.la ${libdir}/gnome-vfs-2.0/include" | ||
| 26 | FILES_${PN}-doc += " ${datadir}/gtk-doc" | ||
| 27 | |||
| 28 | # These header lists have been copy-pasted from trunk/libgnomevfs/Makefile.am | ||
| 29 | GNOME_VFS_PLATFORM_HEADERS = " \ | ||
| 30 | gnome-vfs-file-size.h" | ||
| 31 | |||
| 32 | GNOME_VFS_MODULE_HEADERS = " \ | ||
| 33 | gnome-vfs-cancellable-ops.h \ | ||
| 34 | gnome-vfs-inet-connection.h \ | ||
| 35 | gnome-vfs-method.h \ | ||
| 36 | gnome-vfs-mime.h \ | ||
| 37 | gnome-vfs-mime-info.h \ | ||
| 38 | gnome-vfs-module-callback-module-api.h \ | ||
| 39 | gnome-vfs-module-shared.h \ | ||
| 40 | gnome-vfs-module.h \ | ||
| 41 | gnome-vfs-parse-ls.h \ | ||
| 42 | gnome-vfs-ssl.h \ | ||
| 43 | gnome-vfs-transform.h \ | ||
| 44 | gnome-vfs-socket-buffer.h \ | ||
| 45 | gnome-vfs-socket.h" | ||
| 46 | |||
| 47 | GNOME_VFS_HEADERS = " \ | ||
| 48 | gnome-vfs-application-registry.h \ | ||
| 49 | gnome-vfs-address.h \ | ||
| 50 | gnome-vfs-async-ops.h \ | ||
| 51 | gnome-vfs-cancellation.h \ | ||
| 52 | gnome-vfs-context.h \ | ||
| 53 | gnome-vfs-directory.h \ | ||
| 54 | gnome-vfs-dns-sd.h \ | ||
| 55 | gnome-vfs-drive.h \ | ||
| 56 | gnome-vfs-enum-types.h \ | ||
| 57 | gnome-vfs-file-info.h \ | ||
| 58 | gnome-vfs-file-size.h \ | ||
| 59 | gnome-vfs-find-directory.h \ | ||
| 60 | gnome-vfs-handle.h \ | ||
| 61 | gnome-vfs-init.h \ | ||
| 62 | gnome-vfs-job-limit.h \ | ||
| 63 | gnome-vfs-mime-deprecated.h \ | ||
| 64 | gnome-vfs-mime-handlers.h \ | ||
| 65 | gnome-vfs-mime-info-cache.h \ | ||
| 66 | gnome-vfs-mime-monitor.h \ | ||
| 67 | gnome-vfs-mime-utils.h \ | ||
| 68 | gnome-vfs-module-callback.h \ | ||
| 69 | gnome-vfs-monitor.h \ | ||
| 70 | gnome-vfs-ops.h \ | ||
| 71 | gnome-vfs-resolve.h \ | ||
| 72 | gnome-vfs-result.h \ | ||
| 73 | gnome-vfs-standard-callbacks.h \ | ||
| 74 | gnome-vfs-types.h \ | ||
| 75 | gnome-vfs-uri.h \ | ||
| 76 | gnome-vfs-utils.h \ | ||
| 77 | gnome-vfs-volume-monitor.h \ | ||
| 78 | gnome-vfs-volume.h \ | ||
| 79 | gnome-vfs-xfer.h \ | ||
| 80 | gnome-vfs.h" | ||
| 81 | |||
| 82 | do_stage() { | ||
| 83 | oe_libinstall -so -C libgnomevfs libgnomevfs-2 ${STAGING_LIBDIR} | ||
| 84 | install -d ${STAGING_INCDIR}/gnome-vfs-2.0/libgnomevfs | ||
| 85 | for i in ${GNOME_VFS_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/gnome-vfs-2.0/libgnomevfs/; done | ||
| 86 | install -d ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs | ||
| 87 | for i in ${GNOME_VFS_MODULE_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs/; done | ||
| 88 | install -d ${STAGING_INCDIR}/include/libgnomevfs | ||
| 89 | for i in ${GNOME_VFS_PLATFORM_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/include/libgnomevfs/; done | ||
| 90 | } | ||
| 91 | |||
| 92 | python populate_packages_prepend () { | ||
| 93 | print bb.data.getVar('FILES_gnome-vfs', d, 1) | ||
| 94 | |||
| 95 | plugindir = bb.data.expand('${libdir}/gnome-vfs-2.0/modules/', d) | ||
| 96 | do_split_packages(d, plugindir, '^lib(.*)\.so$', 'gnome-vfs-plugin-%s', | ||
| 97 | 'GNOME VFS plugin for %s') | ||
| 98 | } | ||
| 99 | |||
