summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-09-10 10:53:52 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-10 10:53:52 +0000
commit74d6f742c0bfd5105351c2a13efe618ac142ac45 (patch)
treee679b228bef5692a40af5662b1c4961084ce5956
parent1aa1ee28fe85e7afb540c137b1edc6db720e6113 (diff)
packages/gnome/ : add most of the gnome 2.12 platform
* gnome-keyring 0.4.4 * libgnome 2.12.0.1 * libgnome-canvas 2.12.0 * gnome-vfs 2.12.0
-rw-r--r--packages/gnome/gnome-keyring_0.4.4.bb21
-rw-r--r--packages/gnome/gnome-vfs-2.12.0/.mtn2git_empty0
-rw-r--r--packages/gnome/gnome-vfs-2.12.0/gconftool-lossage.patch11
-rw-r--r--packages/gnome/gnome-vfs_2.12.0.bb83
-rw-r--r--packages/gnome/libgnome_2.12.0.1.bb15
-rw-r--r--packages/gnome/libgnomecanvas_2.12.0.bb16
6 files changed, 146 insertions, 0 deletions
diff --git a/packages/gnome/gnome-keyring_0.4.4.bb b/packages/gnome/gnome-keyring_0.4.4.bb
new file mode 100644
index 0000000000..366e450c1d
--- /dev/null
+++ b/packages/gnome/gnome-keyring_0.4.4.bb
@@ -0,0 +1,21 @@
+LICENSE = "GPL"
+SECTION = "x11/gnome"
+SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${PN}/0.4/${PN}-${PV}.tar.bz2"
+
+inherit autotools pkgconfig
+
+DEPENDS = ""
+
+EXTRA_OECONF = "--disable-gtk-doc"
+
+HEADERS = " \
+gnome-keyring.h \
+"
+
+do_stage() {
+ install -d ${STAGING_INCDIR}/gnome-keyring-1
+ for i in ${HEADERS}; do
+ install -m 0644 $i ${STAGING_INCDIR}/gnome-keyring-1/$i
+ done
+ oe_libinstall -so libgnome-keyring ${STAGING_LIBDIR}
+}
diff --git a/packages/gnome/gnome-vfs-2.12.0/.mtn2git_empty b/packages/gnome/gnome-vfs-2.12.0/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gnome/gnome-vfs-2.12.0/.mtn2git_empty
diff --git a/packages/gnome/gnome-vfs-2.12.0/gconftool-lossage.patch b/packages/gnome/gnome-vfs-2.12.0/gconftool-lossage.patch
new file mode 100644
index 0000000000..3dbc130ddc
--- /dev/null
+++ b/packages/gnome/gnome-vfs-2.12.0/gconftool-lossage.patch
@@ -0,0 +1,11 @@
+--- gnome-vfs-2.6.0/configure.in~ 2004-03-22 12:36:23.000000000 +0000
++++ gnome-vfs-2.6.0/configure.in 2004-06-07 16:04:34.000000000 +0100
+@@ -154,7 +154,7 @@
+ AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
+
+ if test x"$GCONFTOOL" = xno; then
+- AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
++ AC_MSG_WARN([gconftool-2 executable not found in your path - should be installed with GConf])
+ fi
+
+ AM_GCONF_SOURCE_2
diff --git a/packages/gnome/gnome-vfs_2.12.0.bb b/packages/gnome/gnome-vfs_2.12.0.bb
new file mode 100644
index 0000000000..13a9b420b2
--- /dev/null
+++ b/packages/gnome/gnome-vfs_2.12.0.bb
@@ -0,0 +1,83 @@
+LICENSE = "GPL"
+PR = "r0"
+
+inherit gnome
+
+DEPENDS = "libxml2 gconf libbonobo bzip2 gnome-mime-data orbit2 zlib samba-3.0.14a"
+RRECOMMENDS = "gnome-vfs-plugin-file gnome-mime-data shared-mime-info"
+
+SRC_URI += "file://gconftool-lossage.patch;patch=1;pnum=1"
+
+ORBIT_IDL_SRC = "${STAGING_BINDIR}/orbit-idl-2"
+
+FILES_${PN} += " ${libdir}/bonobo/servers ${libdir}/bonobo/monikers/*.so ${libdir}/vfs"
+FILES_${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"
+FILES_${PN}-doc += " ${datadir}/gtk-doc"
+
+GNOME_VFS_HEADERS = " \
+gnome-vfs-utils.h \
+gnome-vfs-application-registry.h \
+gnome-vfs-async-ops.h \
+gnome-vfs-ops.h \
+gnome-vfs-uri.h \
+gnome-vfs-standard-callbacks.h \
+gnome-vfs-module-callback.h \
+gnome-vfs-context.h \
+gnome-vfs-file-info.h \
+gnome-vfs-directory.h \
+gnome-vfs-mime-monitor.h \
+gnome-vfs-mime-handlers.h \
+gnome-vfs-result.h \
+gnome-vfs-job-limit.h \
+gnome-vfs-file-size.h \
+gnome-vfs-mime-utils.h \
+gnome-vfs-find-directory.h \
+gnome-vfs-init.h \
+gnome-vfs-handle.h \
+gnome-vfs.h \
+gnome-vfs-cancellation.h \
+gnome-vfs-xfer.h \
+gnome-vfs-monitor.h \
+gnome-vfs-types.h \
+gnome-vfs-volume-monitor.h \
+gnome-vfs-drive.h \
+gnome-vfs-volume.h \
+gnome-vfs-enum-types.h"
+
+GNOME_VFS_MODULE_HEADERS = " \
+gnome-vfs-mime-info.h \
+gnome-vfs-transform.h \
+gnome-vfs-ssl.h \
+gnome-vfs-inet-connection.h \
+gnome-vfs-socket.h \
+gnome-vfs-parse-ls.h \
+gnome-vfs-method.h \
+gnome-vfs-cancellable-ops.h \
+gnome-vfs-module.h \
+gnome-vfs-module-shared.h \
+gnome-vfs-module-callback-module-api.h \
+gnome-vfs-mime.h \
+gnome-vfs-socket-buffer.h"
+
+do_compile() {
+ oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}"
+}
+
+do_stage() {
+ oe_libinstall -so -C libgnomevfs libgnomevfs-2 ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}/gnome-vfs-2.0/libgnomevfs
+ for i in ${GNOME_VFS_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/gnome-vfs-2.0/libgnomevfs/; done
+ install -d ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs
+ for i in ${GNOME_VFS_MODULE_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs/; done
+}
+
+do_install() {
+ oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}" DESTDIR="${D}" install
+}
+
+python populate_packages_prepend () {
+ print bb.data.getVar('FILES_gnome-vfs', d, 1)
+
+ plugindir = bb.data.expand('${libdir}/gnome-vfs-2.0/modules/', d)
+ do_split_packages(d, plugindir, '^lib(.*)\.so$', 'gnome-vfs-plugin-%s', 'GNOME VFS plugin for %s')
+}
diff --git a/packages/gnome/libgnome_2.12.0.1.bb b/packages/gnome/libgnome_2.12.0.1.bb
new file mode 100644
index 0000000000..0866b426c0
--- /dev/null
+++ b/packages/gnome/libgnome_2.12.0.1.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "Gnome application programming libraries"
+LICENSE = "GPL"
+SECTION = "x11/gnome/libs"
+PR = "r1"
+
+inherit gnome
+
+DEPENDS = "gconf-native gnome-vfs libbonobo"
+
+EXTRA_OECONF = "--disable-gtk-doc"
+
+do_stage() {
+ oe_libinstall -C libgnome -a -so libgnome-2 ${STAGING_LIBDIR}
+ gnome_stage_includes
+}
diff --git a/packages/gnome/libgnomecanvas_2.12.0.bb b/packages/gnome/libgnomecanvas_2.12.0.bb
new file mode 100644
index 0000000000..36ee1aa67f
--- /dev/null
+++ b/packages/gnome/libgnomecanvas_2.12.0.bb
@@ -0,0 +1,16 @@
+LICENSE = "GPL"
+SECTION = "x11/gnome/libs"
+PR = "r1"
+DESCRIPTION = "A powerful object-oriented display"
+inherit gnome
+
+DEPENDS = "gnome-vfs libbonobo libglade libart-lgpl"
+
+EXTRA_OECONF = "--disable-gtk-doc"
+
+FILES_${PN} += "${libdir}/libglade/*/libcanvas.so"
+
+do_stage() {
+ gnome_stage_includes
+ oe_libinstall -C libgnomecanvas -a -so libgnomecanvas-2 ${STAGING_LIBDIR}
+}