apply lots of patches courtesy pb_
authorMichael Lauer <mickey@vanille-media.de>
Tue, 30 Mar 2004 12:14:42 +0000 (12:14 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Tue, 30 Mar 2004 12:14:42 +0000 (12:14 +0000)
BKrev: 406964b2zzrDAOnwkUK6ASqCv3FYdA

12 files changed:
gpe-login/gpe-login_0.66.oe
gpe-session-scripts/gpe-session-scripts_0.61.oe
gpe/files/device_table-minimal.txt [new file with mode: 0644]
gpe/gpe-image.oe
gpe/meta-gpe.oe
gtk+/gtk+-2.2.4/no-xwc.patch [new file with mode: 0644]
gtk+/gtk+_2.2.4.oe
initscripts/initscripts-1.0-r0/device_table.txt [new file with mode: 0644]
initscripts/initscripts-1.0-r0/devices
initscripts/initscripts_1.0.oe
makedevs/makedevs_1.0.0.oe
vera-fonts/ttf-bitstream-vera_1.10.oe

index ec9f96d..26833f1 100644 (file)
@@ -4,7 +4,8 @@ DESCRIPTION = "GPE user login screen"
 SECTION = "gpe"
 PRIORITY = "optional"
 MAINTAINER = "Philip Blundell <pb@handhelds.org>"
-DEPENDS = "virtual/libc gtk+ libgpewidget gpe-ownerinfo"
+DEPENDS = "virtual/libc gtk+ libgpewidget gpe-ownerinfo xkbd"
+RDEPENDS = "xkbd"
 RPROVIDES = "gpe-session-starter"
 
 SRC_URI = "http://gpe.handhelds.org/pub/projects/gpe/source/gpe-login-${PV}.tar.gz"
index e69de29..b38272d 100644 (file)
@@ -0,0 +1,11 @@
+inherit gpe
+
+DESCRIPTION = "GPE session startup scripts"
+SECTION = "gpe"
+PRIORITY = "optional"
+MAINTAINER = "Philip Blundell <pb@handhelds.org>"
+RDEPENDS = "matchbox gpe-session-starter gpe-bluetooth"
+# more rdepends: xtscal keylaunch ipaq-sleep gpe-question apmd blueprobe gpe-clock
+DEPENDS = "matchbox-wm matchbox-panel gpe-bluetooth"
+
+SRC_URI = "http://gpe.handhelds.org/pub/projects/gpe/source/gpe-session-scripts-${PV}.tar.gz"
diff --git a/gpe/files/device_table-minimal.txt b/gpe/files/device_table-minimal.txt
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..e924fb6 100644 (file)
@@ -0,0 +1,15 @@
+DEPENDS = 'glibc base-files base-passwd-3.5.7 \
+          busybox dropbear hotplug ifupdown ipkg initscripts strace \
+          netbase tslib module-init-tools resolvconf sysvinit tinylogin \
+          diet-x11-cvs xserver matchbox-wm matchbox-desktop matchbox-panel \
+          meta-gpe prelink'
+
+export IPKG_INSTALL = 'base-files base-passwd \
+                     busybox dropbear \
+                     libc6 hotplug ifupdown ipkg strace \
+                     initscripts kernel-modules \
+                     netbase resolvconf \
+                     tslib libgcc1 sysvinit tinylogin xserver-kdrive-fbdev \
+                     gpe-task-base'
+
+inherit image_ipk
index e69de29..0d0ee98 100644 (file)
@@ -0,0 +1,57 @@
+PACKAGES = gpe-task-base
+DESCRIPTION = "Meta-package for GPE Palmtop Environment"
+DEPENDS = "gpe-bluetooth gpe-login gpe-dm gpe-session-scripts gpe-edit gpe-todo rxvt-unicode matchbox"
+MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+
+ALLOW_EMPTY = 1
+
+RDEPENDS_gpe-task-base = "\
+    gpe-dm \
+    gpe-login \
+    gpe-session-scripts \
+    matchbox \
+    rxvt-unicode"
+
+#    gpe-collateral-gtk2 \
+#    gdk-pixbuf2-loader-jpeg \
+#    \
+#    gpe-bootsplash2 \
+#    gpe-terminal \
+#    \
+#    keylaunch \
+#    esd \
+#    detect-stylus \
+#    gpe-soundserver \
+#    gpe-mimedir-tools \
+#    teleport \
+#    gpe-keylock \
+#    \
+#    xmonobut \
+#    minilite \
+#    minibat \
+#    minipredict \
+#    matchbox-panel-hacks \
+#    mbinputmgr \
+#    \
+#    xstroke \
+#    rosetta \
+#    xkbd \
+#    mbmerlin \
+#    \
+#    startup-monitor \
+#    \
+#    xtscal \
+#    gpe-su2 \
+#    gpe-conf \
+#    gpe-confd \
+#    xst \
+#    \
+#    gpe-what \
+#    gpe-question2 \
+#    gpe-announce2 \
+#    \
+#    gpe-wlancfg \
+#    gpe-aerial \
+#    hotplug-dbus \
+#    gpe-autostarter \
+#    nsqld
diff --git a/gtk+/gtk+-2.2.4/no-xwc.patch b/gtk+/gtk+-2.2.4/no-xwc.patch
new file mode 100644 (file)
index 0000000..e69de29
index 5d128f5..3ebff63 100644 (file)
@@ -12,7 +12,8 @@ SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/2.2/gtk+-${PV}.tar.bz2 \
           file://${FILESDIR}/automake-lossage.patch;patch=1;pnum=0 \
           file://${FILESDIR}/configure-lossage.patch;patch=1;pnum=0 \
           file://${FILESDIR}/no-demos.patch;patch=1 \
-          file://${FILESDIR}/libtool-lossage.patch;patch=1;pnum=0"
+          file://${FILESDIR}/libtool-lossage.patch;patch=1;pnum=0 \
+          file://${FILESDIR}/no-xwc.patch;patch=1;pnum=0"
 
 inherit autotools libtool pkgconfig
 
@@ -69,7 +70,7 @@ do_stage () {
 
 python do_package () {
        import string
-       def do_split(root, pattern, format, description):
+       def do_split(root, pattern, format, description, postinst):
                dvar = oe.data.getVar('D', d, 1)
                if not dvar:
                        oe.error("D not defined")
@@ -80,6 +81,7 @@ python do_package () {
                        oe.error("PACKAGES not defined")
                        return
 
+               postinst = '#!/bin/sh\n' + postinst
                objs = os.listdir(dvar + root)
                mainpkg = packages[0]
                for o in objs:
@@ -93,6 +95,7 @@ python do_package () {
                        oe.data.setVar('FILES_' + pkg, os.path.join(root, o), d)
                        oe.data.setVar('RDEPENDS_' + pkg, mainpkg, d)
                        oe.data.setVar('DESCRIPTION_' + pkg, description % on, d)
+                       oe.data.setVar('pkg_postinst_' + pkg, postinst, d)
 
                oe.data.setVar('PACKAGES', string.join(packages, ' '), d)
 
@@ -105,8 +108,8 @@ python do_package () {
        loaders_root = os.path.join(gtk_libdir, 'loaders')
        immodules_root = os.path.join(gtk_libdir, 'immodules')
 
-       do_split(loaders_root, '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s')
-       do_split(immodules_root, '^im-(.*)\.so$', 'gtk-immodule-%s', 'GTK input module for %s')
+       do_split(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(immodules_root, '^im-(.*)\.so$', 'gtk-immodule-%s', 'GTK input module for %s', 'gtk-query-immodules > /etc/gtk-2.0/gtk.immodules')
 
        oe.build.exec_func("package_do_package", d)
 }
diff --git a/initscripts/initscripts-1.0-r0/device_table.txt b/initscripts/initscripts-1.0-r0/device_table.txt
new file mode 100644 (file)
index 0000000..e69de29
index 5524af4..2419726 100644 (file)
@@ -33,7 +33,7 @@ then
        if test "$VERBOSE" != "no"; then echo "done"; fi
 else
        if test "$VERBOSE" != "no"; then echo -n "Mounting /dev ramdisk: "; fi
-       mount -t ramfs ramfs /dev
+       mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev
        if test $? -ne 0; then
                if test "$VERBOSE" != "no"; then echo "failed"; fi
        else
index af96a86..1593bda 100644 (file)
@@ -1,5 +1,6 @@
 DESCRIPTION = "SysV init scripts"
 MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+RDEPENDS = "makedevs"
 SRC_URI = "file://${FILESDIR}/halt \
           file://${FILESDIR}/ramdisk \
           file://${FILESDIR}/umountfs \
@@ -29,7 +30,8 @@ SRC_URI = "file://${FILESDIR}/halt \
           file://${FILESDIR}/extractfs \
           file://${FILESDIR}/checkroot.sh \
           file://${FILESDIR}/devices_h3600 \
-          file://${FILESDIR}/umountnfs.sh"
+          file://${FILESDIR}/umountnfs.sh \
+          file://${FILESDIR}/device_table.txt"
 
 
 do_install () {
@@ -96,4 +98,6 @@ do_install () {
 #      ln -sf          ../init.d/devices       ${D}/etc/rcS.d/S01devices
 #      ln -sf          ../init.d/devpts.sh     ${D}/etc/rcS.d/S31devpts.sh
 #      ln -sf          ../init.d/ramdisk       ${D}/etc/rcS.d/S30ramdisk
+
+       install -m 0755    ${FILESDIR}/device_table.txt         ${D}/etc/device_table
 }
index e69de29..39d92d5 100644 (file)
@@ -0,0 +1,15 @@
+SRC_URI = "file://${FILESDIR}/makedevs.c"
+S = "${WORKDIR}/makedevs-${PV}"
+
+do_configure() {
+       cp -f ${FILESDIR}/makedevs.c ${S}/
+}
+
+do_compile() {
+       ${CC} ${CFLAGS} -o ${S}/makedevs ${S}/makedevs.c
+}
+
+do_install() {
+       install -d ${D}/sbin
+       install -m 0755 ${S}/makedevs ${D}/sbin/makedevs
+}
index e69de29..f423fa0 100644 (file)
@@ -0,0 +1,31 @@
+DESCRIPTION = "The Bitstream Vera fonts - TTF Edition"
+SECTION = "fonts"
+PRIORITY = "optional"
+
+SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-${PV}.tar.bz2" 
+
+
+FILES_${PN} = "/etc /usr/share/fonts" 
+
+
+do_install () { 
+        install -d ${D}${prefix}/share/fonts/ttf/ 
+        for i in *.ttf; do 
+                install -m 644 $i ${D}${prefix}/share/fonts/ttf/${i} 
+        done 
+
+       # fontconfig ships this too.  not sure what to do about it.
+        #install -d ${D}/etc/fonts 
+        #install -m 644 local.conf ${D}/etc/fonts/local.conf 
+
+
+        install -d ${D}${prefix}/share/doc/${PN}/ 
+        for i in *.TXT; do 
+                install -m 644 $i ${D}${prefix}/share/doc/${PN}/$i 
+        done 
+} 
+
+pkg_postinst () {
+#!/bin/sh
+fc-cache
+}