]> git.openpandora.org Git - openembedded.git/commitdiff
Merge bk://oe-devel.bkbits.net/openembedded
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>
Thu, 31 Mar 2005 09:41:38 +0000 (09:41 +0000)
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>
Thu, 31 Mar 2005 09:41:38 +0000 (09:41 +0000)
into bkbits.net:/repos/n/nslu2-linux/openembedded

2005/03/31 11:28:44+02:00 uni-frankfurt.de!mickeyl
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages

2005/03/31 01:34:08+02:00 uni-frankfurt.de!mickeyl
apply the fix-nomax patch for Opie's libqpe from 1.2.0. It will land upstream, so it's not necessary to apply it on the cvs version

2005/03/31 01:32:37+02:00 uni-frankfurt.de!mickeyl
put an end to the datetime problem on handhelds. if /etc/timestamp exists, it will be used to regenerate the time at bootup (see /etc/init.d/bootmisc.sh) and it will be freshened at halt (see /etc/init.d/halt) as well as on reboot (see /etc/init.d/reboot). Since we are still testing this, for now only in opie-image and for openzaurus distros. If that works out well, we should use it everywhere

2005/03/30 23:49:33+02:00 uni-frankfurt.de!mickeyl
set Opie OTabWidget TabStyle to using text labels on hires displays - until we have hires tab icons and a sane tab height

BKrev: 424bc5d2IBEsVN01WaE-JgWrsqwt2Q

13 files changed:
classes/rootfs_ipk.bbclass
packages/initscripts/initscripts-1.0/bootmisc.sh
packages/initscripts/initscripts-1.0/halt
packages/initscripts/initscripts-1.0/reboot
packages/initscripts/initscripts_1.0.bb
packages/libqpe/libqpe-opie.inc
packages/libqpe/libqpe-opie/fix-nomax.patch [new file with mode: 0644]
packages/libqpe/libqpe-opie_1.2.0.bb
packages/meta/opie-image.bb
packages/opie-taskbar/opie-taskbar/akita/qpe.conf
packages/opie-taskbar/opie-taskbar/c7x0/qpe.conf
packages/opie-taskbar/opie-taskbar/spitz/qpe.conf
packages/opie-taskbar/opie-taskbar/tosa/qpe.conf

index e42704b5ae5b12de1774518f119e3540c4d61cfe..7ed8342b1ed8d7093c0bee18ad04d33d05fae993 100644 (file)
@@ -124,7 +124,11 @@ zap_root_password () {
        mv ${IMAGE_ROOTFS}/etc/passwd.new ${IMAGE_ROOTFS}/etc/passwd    
 } 
 
-# export the zap_root_password
-EXPORT_FUNCTIONS zap_root_password
+create_etc_timestamp() {
+       date +%2m%2d%2H%2M%Y >${IMAGE_ROOTFS}/etc/timestamp
+}
+
+# export the zap_root_password and create_etc_timestamp
+EXPORT_FUNCTIONS zap_root_password create_etc_timestamp
 
 addtask rootfs before do_build after do_install
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..bd8a0721f110a263d723cce40440fee0a66d555e 100644 (file)
@@ -0,0 +1,57 @@
+#
+# bootmisc.sh  Miscellaneous things to be done during bootup.
+#
+
+. /etc/default/rcS
+#
+# Put a nologin file in /etc to prevent people from logging in before
+# system startup is complete.
+#
+if test "$DELAYLOGIN" = yes
+then
+  echo "System bootup in progress - please wait" > /etc/nologin
+  cp /etc/nologin /etc/nologin.boot
+fi
+
+#
+# Set pseudo-terminal access permissions.
+#
+if ( ! grep -q devfs /proc/mounts ) && test -c /dev/ttyp0
+then
+       chmod 666 /dev/tty[p-za-e][0-9a-f]
+       chown root:tty /dev/tty[p-za-e][0-9a-f]
+fi
+
+#
+# Update /etc/motd.
+#
+if test "$EDITMOTD" != no
+then
+       uname -a > /etc/motd.tmp
+       sed 1d /etc/motd >> /etc/motd.tmp
+       mv /etc/motd.tmp /etc/motd
+fi
+
+#
+# This is as good a place as any for a sanity check
+# /tmp should be a symlink to /var/tmp to cut down on the number
+# of mounted ramdisks.
+if test ! -L /tmp && test -d /var/tmp
+then
+       rm -rf /tmp
+       ln -sf /var/tmp tmp
+fi
+
+#
+# Update dynamic library cache
+#
+/sbin/ldconfig
+
+# 
+# Recover the time, if there is a time file                 
+#
+if test -e /etc/timestamp
+then
+       date -s `cat /etc/timestamp`
+fi
+: exit 0
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..aa1769606a739279c55f587b0783d3ebed7ec199 100644 (file)
@@ -0,0 +1,31 @@
+#! /bin/sh
+#
+# halt         Execute the halt command.
+#
+# Version:      @(#)halt  2.84-2  07-Jan-2002  miquels@cistron.nl
+#
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+# Update the timestamp, if there is already one
+if test -e /etc/timestamp
+then
+        date +%2m%2d%2H%2M%Y > /etc/timestamp
+fi
+
+# See if we need to cut the power.
+if test -x /etc/init.d/ups-monitor
+then
+       /etc/init.d/ups-monitor poweroff
+fi
+
+# Don't shut down drives if we're using RAID.
+hddown="-h"
+if grep -qs '^md.*active' /proc/mdstat
+then
+       hddown=""
+fi
+
+halt -d -f -i -p $hddown
+
+: exit 0
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..7f95255bd9cd09e6616d8a66281e3f27ac572d81 100644 (file)
@@ -0,0 +1,17 @@
+#! /bin/sh
+#
+# reboot       Execute the reboot command.
+#
+# Version:      @(#)reboot  2.75  22-Jun-1998  miquels@cistron.nl
+#
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+# Update the timestamp, if there is one
+if test -e /etc/timestamp
+then
+        date +%2m%2d%2H%2M%Y > /etc/timestamp
+fi
+
+echo -n "Rebooting... "
+reboot -d -f -i
index d5e9b5ee3077b9d145894ef65943279578ce5951..4d10dcf399f12e69e26514cfa57a7dda95664607 100644 (file)
@@ -6,7 +6,7 @@ DEPENDS = "makedevs"
 DEPENDS_openzaurus = "makedevs virtual/kernel"
 RDEPENDS = "makedevs"
 LICENSE = "GPL"
-PR = "r37"
+PR = "r38"
 
 SRC_URI = "file://halt \
            file://ramdisk \
index 59057b5896db5bbe3ebe3719b3460c331b5c68f2..127f97dc31f84e8c76557bf571fe4890682ae2d7 100644 (file)
@@ -16,8 +16,10 @@ EXTRA_QMAKEVARS_POST = "DESTDIR= DEFINES+=LIBQPE_NO_INLINE_IMAGES"
 # EXTRA_QMAKEVARS_POST = "DESTDIR="
 
 CXXFLAGS_append = " -DQWS -DOPIE_NO_ERASE_RECT_HACKFIX -DOPIE_NEW_MALLOC  -fno-rtti -fno-exceptions"
-CXXFLAGS_append_c7x0 = " -DOPIE_NO_WINDOWED "
-CXXFLAGS_append_tosa = " -DOPIE_NO_WINDOWED "
+CXXFLAGS_append_c7x0 =  " -DOPIE_NO_WINDOWED "
+CXXFLAGS_append_tosa =  " -DOPIE_NO_WINDOWED "
+CXXFLAGS_append_spitz = " -DOPIE_NO_WINDOWED "
+CXXFLAGS_append_akita = " -DOPIE_NO_WINDOWED "
 
 do_compile_prepend_ramses () {
        ln -s custom-ramses.h custom.h
diff --git a/packages/libqpe/libqpe-opie/fix-nomax.patch b/packages/libqpe/libqpe-opie/fix-nomax.patch
new file mode 100644 (file)
index 0000000..e69de29
index f16bdff7a85de3cf8c1f1b3585231e25db0adc02..2affdef28c5a1e46c333a8c2e12c749a32c8781f 100644 (file)
@@ -1,7 +1,8 @@
 include ${PN}.inc
     
 TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}" 
-PR = "r0"
+PR = "r1"
 
-SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/library"
+SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/library \
+       file://fix-nomax.patch;patch=1"
 
index fa90bfed5cbab9c98a91ca2be23cc59cdf66b587..7a4e13ab84d173789bd86bc29d19efed254f6943 100644 (file)
@@ -5,7 +5,7 @@ FEED_URIS_append_openzaurus = " opie##http://openzaurus.org/official/unstable/${
 FEED_URIS_append_opensimpad = " opie##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/opie"
 FEED_URIS_append_familiar   = " opie##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/opie"
 
-PR = "r10"
+PR = "r11"
 
 include opie-collections.inc
 
@@ -70,8 +70,8 @@ merge_feeds() {
 }
 
 
-# zap the root password
-#IMAGE_POSTPROCESS_COMMAND = "zap_root_password"
+# create a timestamp of the build date
+IMAGE_POSTPROCESS_COMMAND_openzaurus = "create_etc_timestamp"
 
 # merge feed-sources into ipkg.conf
 IMAGE_PREPROCESS_COMMAND = "merge_feeds"
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..d20889067ab6945edf92595cb5a3d566e6628f31 100644 (file)
@@ -0,0 +1,19 @@
+[Appearance]
+useBigPixmaps = 1
+SmallIconSize = 24
+BigIconSize = 48
+FontFamily = smoothsans
+FontStyle = Regular
+FontSize = 14
+Background = #d5d0de
+Base = #ffffff
+Button = #e3e3e3
+ButtonText = #000000
+Decoration = libliquid.so
+Highlight = #52719c
+HighlightedText = #ffffff
+Style = libphasestyle.so
+Text = #000000
+TabStyle = 1
+[InputMethod]
+current = Multikey
index fa0b406de7909cd8f0d9fd8acc364b64d4294a4f..d20889067ab6945edf92595cb5a3d566e6628f31 100644 (file)
@@ -14,5 +14,6 @@ Highlight = #52719c
 HighlightedText = #ffffff
 Style = libphasestyle.so
 Text = #000000
+TabStyle = 1
 [InputMethod]
 current = Multikey
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..d20889067ab6945edf92595cb5a3d566e6628f31 100644 (file)
@@ -0,0 +1,19 @@
+[Appearance]
+useBigPixmaps = 1
+SmallIconSize = 24
+BigIconSize = 48
+FontFamily = smoothsans
+FontStyle = Regular
+FontSize = 14
+Background = #d5d0de
+Base = #ffffff
+Button = #e3e3e3
+ButtonText = #000000
+Decoration = libliquid.so
+Highlight = #52719c
+HighlightedText = #ffffff
+Style = libphasestyle.so
+Text = #000000
+TabStyle = 1
+[InputMethod]
+current = Multikey
index dae45c2bbe8a13c589fb04f8a8d91efd56b7c3c7..d20889067ab6945edf92595cb5a3d566e6628f31 100644 (file)
@@ -4,7 +4,7 @@ SmallIconSize = 24
 BigIconSize = 48
 FontFamily = smoothsans
 FontStyle = Regular
-FontSize = 12
+FontSize = 14
 Background = #d5d0de
 Base = #ffffff
 Button = #e3e3e3
@@ -14,5 +14,6 @@ Highlight = #52719c
 HighlightedText = #ffffff
 Style = libphasestyle.so
 Text = #000000
+TabStyle = 1
 [InputMethod]
 current = Multikey