diff options
author | Rod Whitby <rod@whitby.id.au> | 2007-07-07 13:28:55 +0000 |
---|---|---|
committer | Rod Whitby <rod@whitby.id.au> | 2007-07-07 13:28:55 +0000 |
commit | f0b801dc33f8f674aa6d3b2904dfb1f5b5b6d073 (patch) | |
tree | db2492a01bfd32206614e0873b97449a7b9e6cf7 /packages | |
parent | ff0e28efe32b6211561fd26cc43adcc9565ecdb8 (diff) | |
parent | b9ab794b1a74510f69a5cd5afb1738425028b34a (diff) |
merge of 'b25bbba02ddb4b23e57f722647bea8974b902b1e'
and 'c2b7bf2b98443cd961a60ce5dd26e8d6e01afda2'
Diffstat (limited to 'packages')
7 files changed, 42 insertions, 19 deletions
diff --git a/packages/linux/linux-rp-2.6.21/connectplus-prevent-oops-HACK.patch b/packages/linux/linux-rp-2.6.21/connectplus-prevent-oops-HACK.patch new file mode 100644 index 0000000000..b5439c62e7 --- /dev/null +++ b/packages/linux/linux-rp-2.6.21/connectplus-prevent-oops-HACK.patch @@ -0,0 +1,17 @@ +Index: linux-2.6.21/drivers/net/wireless/hostap/hostap_hw.c +=================================================================== +--- linux-2.6.21.orig/drivers/net/wireless/hostap/hostap_hw.c 2007-07-07 12:45:39.000000000 +0100 ++++ linux-2.6.21/drivers/net/wireless/hostap/hostap_hw.c 2007-07-07 12:47:30.000000000 +0100 +@@ -2666,6 +2666,12 @@ + iface = netdev_priv(dev); + local = iface->local; + ++ if(dev->base_addr == 0) ++ { ++ printk(KERN_DEBUG "%s: IRQ before base_addr set\n", dev->name); ++ return IRQ_HANDLED; ++ } ++ + prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_INTERRUPT, 0, 0); + + if (local->func->card_present && !local->func->card_present(local)) { diff --git a/packages/linux/linux-rp_2.6.21.bb b/packages/linux/linux-rp_2.6.21.bb index 5c3b5e3a28..980732d409 100644 --- a/packages/linux/linux-rp_2.6.21.bb +++ b/packages/linux/linux-rp_2.6.21.bb @@ -1,6 +1,6 @@ require linux-rp.inc -PR = "r8" +PR = "r9" # Handy URLs # git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git;protocol=git;tag=ef7d1b244fa6c94fb76d5f787b8629df64ea4046 @@ -49,6 +49,7 @@ SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.21.tar.bz2 \ ${RPSRC}/pxa_cf_initorder_hack-r1.patch;patch=1;status=hack \ file://pxa-serial-hack.patch;patch=1;status=hack \ file://connectplus-remove-ide-HACK.patch;patch=1;status=hack \ + file://connectplus-prevent-oops-HACK.patch;patch=1;status=hack \ file://squashfs3.0-2.6.15.patch;patch=1;status=external \ file://vesafb-tng-1.0-rc2-2.6.20-rc2.patch;patch=1;status=external \ file://sharpsl-rc-r1.patch;patch=1 \ diff --git a/packages/opie-icon-reload/opie-icon-reload.inc b/packages/opie-icon-reload/opie-icon-reload.inc index 131f2cc58b..a83aa34f96 100644 --- a/packages/opie-icon-reload/opie-icon-reload.inc +++ b/packages/opie-icon-reload/opie-icon-reload.inc @@ -13,11 +13,12 @@ FILES_${PN} += "${palmtopdir}" do_install() { install -d ${D}${palmtopdir}/apps/Settings - install -d ${D}${palmtopdir}/bin + install -d ${D}${bindir} install -d ${D}${palmtopdir}/pics install -m 0644 ${WORKDIR}/icon-reload.desktop ${D}${palmtopdir}/apps/Settings - install -m 0755 ${WORKDIR}/icon-reload.sh ${D}${palmtopdir}/bin + install -m 0755 ${WORKDIR}/icon-reload.sh ${D}${bindir} + sed -i -e 's,@bindir@,${bindir},g' ${D}${bindir}/icon-reload.sh install -m 0644 ${WORKDIR}/reload.png ${D}${palmtopdir}/pics } diff --git a/packages/opie-icon-reload/opie-icon-reload/icon-reload.sh b/packages/opie-icon-reload/opie-icon-reload/icon-reload.sh index 3df151c207..adeba397ee 100755 --- a/packages/opie-icon-reload/opie-icon-reload/icon-reload.sh +++ b/packages/opie-icon-reload/opie-icon-reload/icon-reload.sh @@ -1,4 +1,4 @@ #!/bin/sh -/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" -/opt/QtPalmtop/bin/qcop QPE/System "linkChanged(QString)" +@bindir@/qcop QPE/TaskBar "reloadInputMethods()" +@bindir@/qcop QPE/System "linkChanged(QString)" diff --git a/packages/opie-icon-reload/opie-icon-reload_1.2.2.bb b/packages/opie-icon-reload/opie-icon-reload_1.2.2.bb index a4897d0190..13a5942517 100644 --- a/packages/opie-icon-reload/opie-icon-reload_1.2.2.bb +++ b/packages/opie-icon-reload/opie-icon-reload_1.2.2.bb @@ -1,3 +1,3 @@ require ${PN}.inc -PR = "r1" +PR = "r2" diff --git a/packages/opie-taskbar/opie-taskbar-images.inc b/packages/opie-taskbar/opie-taskbar-images.inc index f3cef44835..2e84210718 100644 --- a/packages/opie-taskbar/opie-taskbar-images.inc +++ b/packages/opie-taskbar/opie-taskbar-images.inc @@ -28,19 +28,23 @@ do_install() { install -m 0644 ${WORKDIR}/pics/launcher/firstuse.jpg ${D}${palmtopdir}/pics/launcher/firstuse-240x320.jpg install -m 0644 ${WORKDIR}/pics/launcher/opie-background.jpg ${D}${palmtopdir}/pics/launcher/opie-background-240x320.jpg - install -m 0644 ${WORKDIR}/pics/launcher/firstuse-480x640.jpg ${D}${palmtopdir}/pics/launcher/firstuse-480x640.jpg - install -m 0644 ${WORKDIR}/pics/launcher/opie-background-480x640.jpg ${D}${palmtopdir}/pics/launcher/opie-background-480x640.jpg - - install -m 0644 ${WORKDIR}/pics/launcher/firstuse-640x480.jpg ${D}${palmtopdir}/pics/launcher/firstuse-640x480.jpg - install -m 0644 ${WORKDIR}/pics/launcher/opie-background-640x480.jpg ${D}${palmtopdir}/pics/launcher/opie-background-640x480.jpg - - install -m 0644 ${WORKDIR}/pics/launcher/firstuse-800x600.jpg ${D}${palmtopdir}/pics/launcher/firstuse-800x600.jpg - install -m 0644 ${WORKDIR}/pics/launcher/opie-background-800x600.jpg ${D}${palmtopdir}/pics/launcher/opie-background-800x600.jpg + for res in 480x640 640x480 800x600 ; do + install -m 0644 ${WORKDIR}/pics/launcher/firstuse-${res}.jpg ${D}${palmtopdir}/pics/launcher/firstuse-${res}.jpg + install -m 0644 ${WORKDIR}/pics/launcher/opie-background-${res}.jpg ${D}${palmtopdir}/pics/launcher/opie-background-${res}.jpg + done } -FILES_${PN}-240x320 += " ${palmtopdir}/pics/*/*-240x320.*" -FILES_${PN}-480x640 += " ${palmtopdir}/pics/*/*-480x640.*" -FILES_${PN}-640x480 += " ${palmtopdir}/pics/*/*-640x480.*" -FILES_${PN}-800x600 += " ${palmtopdir}/pics/*/*-800x600.*" +python do_package_prepend () { + reslist = ['240x320','480x640','640x480', '800x600'] + dir = bb.data.expand('${palmtopdir}/pics/launcher/', d) + ft = bb.data.expand('${palmtopdir}/pics/*/*-%s.*', d) + pn = bb.data.getVar('PN', d, 1) + for res in reslist: + bb.data.setVar('FILES_%s-%s' % (pn,res), ft % res, d ) + postinst = '' + postinst = 'update-alternatives --install %sfirstuse.jpg opie-firstuse-pixmap %sfirstuse-%s.jpg 50\n' % (dir,dir,res) + postinst += 'update-alternatives --install %sopie-background.jpg opie-background-pixmap %sopie-background-%s.jpg 50\n' % (dir,dir,res) + bb.data.setVar('pkg_postinst_%s-%s' % (pn,res),postinst, d) +} PACKAGE_ARCH = "all" diff --git a/packages/opie-taskbar/opie-taskbar-images_cvs.bb b/packages/opie-taskbar/opie-taskbar-images_cvs.bb index 0566431474..718160cb4d 100644 --- a/packages/opie-taskbar/opie-taskbar-images_cvs.bb +++ b/packages/opie-taskbar/opie-taskbar-images_cvs.bb @@ -1,5 +1,5 @@ require ${PN}.inc PV = "${OPIE_CVS_PV}" -PR = "r3" +PR = "r4" SRC_URI = "${HANDHELDS_CVS};module=opie/pics" |