From cb13a999ed397c699bb717152240b5ab6296785c Mon Sep 17 00:00:00 2001 From: "nslu2-linux.adm@bkbits.net" Date: Sat, 1 Jan 2005 01:40:11 +0000 Subject: Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/01/01 01:37:28+00:00 nexus.co.uk!pb move gdk-pixbuf-csource into gtk+-dev package 2005/01/01 01:21:36+00:00 nexus.co.uk!pb update atk to 1.9.0 2005/01/01 01:17:57+00:00 nexus.co.uk!pb update pango to 1.8.0 2005/01/01 01:00:34+00:00 nexus.co.uk!pb move dbus-glib-tool into dbus-1-dev package 2005/01/01 00:42:32+00:00 nexus.co.uk!pb move pmap_set and pmap_dump to portmap-utils package BKrev: 41d5ff7brvXtKfoAeKaHdIS44SLJIg --- packages/atk/atk_1.9.0.bb | 0 packages/dbus/dbus_0.22.bb | 6 ++-- packages/gtk+/gtk+_2.4.13.bb | 78 +++++++++++++++++++++++++++++++++++++++++ packages/pango/pango_1.8.0.bb | 0 packages/portmap/portmap_5-7.bb | 32 +++++++++++++++++ 5 files changed, 113 insertions(+), 3 deletions(-) create mode 100644 packages/atk/atk_1.9.0.bb create mode 100644 packages/pango/pango_1.8.0.bb diff --git a/packages/atk/atk_1.9.0.bb b/packages/atk/atk_1.9.0.bb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/dbus/dbus_0.22.bb b/packages/dbus/dbus_0.22.bb index 2a177182e6..620f4787c1 100644 --- a/packages/dbus/dbus_0.22.bb +++ b/packages/dbus/dbus_0.22.bb @@ -1,5 +1,5 @@ SECTION = "base" -PR = "r4" +PR = "r5" HOMEPAGE = "http://www.freedesktop.org/Software/dbus" DESCRIPTION = "message bus system for applications to talk to one another" LICENSE = "GPL" @@ -17,8 +17,8 @@ INITSCRIPT_PARAMS = "defaults" CONFFILES_${PN} = "${sysconfdir}/dbus-1/system.conf ${sysconfdir}/dbus-1/session.conf" -FILES_${PN} += "${libdir}/dbus-1.0/services" -FILES_${PN}-dev += "${libdir}/dbus-1.0/include" +FILES_${PN} = "${bindir}/dbus-daemon-1 ${bindir}/dbus-launch ${bindir}/dbus-cleanup-sockets ${bindir}/dbus-send ${bindir}/dbus-monitor ${sysconfdir} ${libdir}/dbus-1.0/services ${libdir}/lib*.so.*" +FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" pkg_postinst_dbus() { #!/bin/sh diff --git a/packages/gtk+/gtk+_2.4.13.bb b/packages/gtk+/gtk+_2.4.13.bb index e69de29bb2..dfc835cbe2 100644 --- a/packages/gtk+/gtk+_2.4.13.bb +++ b/packages/gtk+/gtk+_2.4.13.bb @@ -0,0 +1,78 @@ +LICENSE = LGPL +DESCRIPTION = "GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete \ +set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites." +HOMEPAGE = "http://www.gtk.org" +SECTION = "libs" +PRIORITY = "optional" +MAINTAINER = "Philip Blundell " +DEPENDS = "glib-2.0 pango atk jpeg libpng xext libxcursor" +PR = "r4" + +SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.4/gtk+-${PV}.tar.bz2 \ + file://no-demos.patch;patch=1 \ + file://no-xwc.patch;patch=1;pnum=0 \ + file://automake-lossage.patch;patch=1 \ + file://gtk+-handhelds.patch;patch=1 \ + file://hardcoded_libtool.patch;patch=1 \ + file://spinbutton.patch;patch=1 \ + file://disable-tooltips.patch;patch=1 \ + file://gtklabel-resize-patch;patch=1 \ + file://menu-deactivate.patch;patch=1 \ + file://error-dialog.patch;patch=1 \ + file://xsettings.patch;patch=1 \ + file://scroll-timings.patch;patch=1 \ + file://gtk-doc.m4 \ + file://small-gtkfilesel.patch;patch=1 \ + file://single-click.patch;patch=1" + +inherit autotools pkgconfig flow-lossage + +do_configure_prepend() { + install -d m4 + install ${WORKDIR}/gtk-doc.m4 m4/ +} + +FILES_${PN} = "${bindir}/gdk-pixbuf-query-loaders \ + ${bindir}/gtk-query-immodules-2.0 \ + ${libdir}/lib*.so.* \ + ${datadir}/themes" +FILES_${PN}-dev += "${datadir}/gtk-2.0/include ${libdir}/gtk-2.0/include ${bindir}/gdk-pixbuf-csource" + +RRECOMMENDS_${PN} = "glibc-gconv-iso8859-1" + +EXTRA_OECONF = "--without-libtiff --disable-xkb" +# --disable-cruft + +LIBV = "2.4.0" + +do_stage () { + oe_libinstall -so -C gtk libgtk-x11-2.0 ${STAGING_LIBDIR} + oe_libinstall -so -C gdk libgdk-x11-2.0 ${STAGING_LIBDIR} + oe_libinstall -so -C contrib/gdk-pixbuf-xlib libgdk_pixbuf_xlib-2.0 ${STAGING_LIBDIR} + oe_libinstall -so -C gdk-pixbuf libgdk_pixbuf-2.0 ${STAGING_LIBDIR} + + autotools_stage_includes + + mkdir -p ${STAGING_LIBDIR}/gtk-2.0/include + install -m 0644 gdk/gdkconfig.h ${STAGING_LIBDIR}/gtk-2.0/include/gdkconfig.h + + install -m 0644 m4macros/gtk-2.0.m4 ${STAGING_DATADIR}/aclocal/ +} + +do_install_append () { + install -d ${D}/etc/gtk-2.0 +} + +python populate_packages_prepend () { + import os.path + + gtk_libdir = bb.data.expand('${libdir}/gtk-2.0/${LIBV}', d) + loaders_root = os.path.join(gtk_libdir, 'loaders') + immodules_root = os.path.join(gtk_libdir, 'immodules') + + do_split_packages(d, loaders_root, '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s', 'gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders') + do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk-immodule-%s', 'GTK input module for %s', 'gtk-query-immodules > /etc/gtk-2.0/gtk.immodules') + + if (bb.data.getVar('DEBIAN_NAMES', d, 1)): + bb.data.setVar('PKG_${PN}', 'libgtk-2.0', d) +} diff --git a/packages/pango/pango_1.8.0.bb b/packages/pango/pango_1.8.0.bb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/portmap/portmap_5-7.bb b/packages/portmap/portmap_5-7.bb index e69de29bb2..4234f1c823 100644 --- a/packages/portmap/portmap_5-7.bb +++ b/packages/portmap/portmap_5-7.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "RPC program number mapper." +SECTION = "console/network" +LICENSE = "GPL" +PR = "r1" + +SRC_URI = "http://www.uk.debian.org/debian/pool/main/p/portmap/portmap_5.orig.tar.gz \ + http://www.uk.debian.org/debian/pool/main/p/portmap/portmap_${PV}.diff.gz;patch=1 \ + file://no-libwrap.patch;patch=1;pnum=0 \ + file://portmap.init \ + file://make.patch;patch=1" +S = "${WORKDIR}/portmap_5beta" + +PACKAGES =+ "portmap-utils" +FILES_portmap-utils = "/sbin/pmap_set /sbin/pmap_dump" + +INITSCRIPT_NAME = "portmap" +INITSCRIPT_PARAMS = "start 43 S . start 32 0 6 . start 18 2 3 4 5 . stop 81 1 ." + +inherit update-rc.d + +sbindir = "/sbin" + +do_compile() { + oe_runmake +} + +do_install() { + install -d ${D}/etc/init.d + install -m 0755 ${WORKDIR}/portmap.init ${D}/etc/init.d/portmap + oe_runmake 'docdir=${datadir}/doc/portmap' \ + 'DESTDIR=${D}' install +} -- cgit v1.2.3