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 e42704b..7ed8342 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 e69de29..bd8a072 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 e69de29..aa17696 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 e69de29..7f95255 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 d5e9b5e..4d10dcf 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 59057b5..127f97d 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 f16bdff..2affdef 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 fa90bfe..7a4e13a 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 e69de29..d208890 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 fa0b406..d208890 100644 (file)
@@ -14,5 +14,6 @@ Highlight = #52719c
 HighlightedText = #ffffff
 Style = libphasestyle.so
 Text = #000000
+TabStyle = 1
 [InputMethod]
 current = Multikey
index e69de29..d208890 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 dae45c2..d208890 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