summaryrefslogtreecommitdiff
authorkergoth <kergoth>2002-12-12 17:17:29 (UTC)
committer kergoth <kergoth>2002-12-12 17:17:29 (UTC)
commit4789fc5908e0f6e5f828e1069b3fa5c7dad1412c (patch) (unidiff)
tree2cfaa10b1fd54f22a57698620ea12fdb71f9eda5
parent2ebde078dcdc50434acb10f2fa245b0d3dd483bd (diff)
downloadopie-4789fc5908e0f6e5f828e1069b3fa5c7dad1412c.zip
opie-4789fc5908e0f6e5f828e1069b3fa5c7dad1412c.tar.gz
opie-4789fc5908e0f6e5f828e1069b3fa5c7dad1412c.tar.bz2
make passing in qte version for ipk creation easier
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xmkipks3
-rw-r--r--qt/qt-embedded-rotation.control2
-rw-r--r--qt/qt-embedded.control2
3 files changed, 4 insertions, 3 deletions
diff --git a/mkipks b/mkipks
index c39b66f..97f78c5 100755
--- a/mkipks
+++ b/mkipks
@@ -1,51 +1,52 @@
1#!/bin/sh 1#!/bin/sh
2 2
3QTE_VERSION=2.3.4 3[ -z "$QTE_VERSION" ] && QTE_VERSION=2.3.4
4[ -z "$QTE_REVISION" ] && QTE_REVISION=3
4DEB_VERSION=2.0 5DEB_VERSION=2.0
5 6
6# Have to do this here, since CVS can't store symlinks 7# Have to do this here, since CVS can't store symlinks
7 8
8mkdir -p $OPIEDIR/etc/rcS.d 9mkdir -p $OPIEDIR/etc/rcS.d
9ln -sf ../init.d/bootsplash $OPIEDIR/etc/rcS.d/S01bootsplash 10ln -sf ../init.d/bootsplash $OPIEDIR/etc/rcS.d/S01bootsplash
10 11
11VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) 12VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
12VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) 13VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
13VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) 14VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h)
14SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) 15SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h)
15if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h 16if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h
16then 17then
17 [ -z "$VERSION_CVS" ] && VERSION_CVS="$(date +%Y%m%d)" 18 [ -z "$VERSION_CVS" ] && VERSION_CVS="$(date +%Y%m%d)"
18 SUB_VERSION=$VERSION_CVS 19 SUB_VERSION=$VERSION_CVS
19else 20else
20 VERSION_CVS="" 21 VERSION_CVS=""
21fi 22fi
22 23
23QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT 24QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT
24 25
25ARCH=arm 26ARCH=arm
26STRIP=arm-linux-strip 27STRIP=arm-linux-strip
27STRIP_FILES="*ARM*not stripped" 28STRIP_FILES="*ARM*not stripped"
28 29
29TDIR=/tmp/ipk$$ 30TDIR=/tmp/ipk$$
30DATADIR=$TDIR 31DATADIR=$TDIR
31CTRLDIR=$TDIR/CONTROL 32CTRLDIR=$TDIR/CONTROL
32 33
33IMAGEDIR= 34IMAGEDIR=
34VERB= 35VERB=
35LIST= 36LIST=
36RPM= 37RPM=
37 38
38while [ $# -ne 0 ] 39while [ $# -ne 0 ]
39do 40do
40 case "$1" in 41 case "$1" in
41 -v) 42 -v)
42 VERB=1 43 VERB=1
43 echo >&2 "Packaging for version $VERSION_MAJ.$VERSION_MIN.$VERSION_PAT$VERSION_CVS" 44 echo >&2 "Packaging for version $VERSION_MAJ.$VERSION_MIN.$VERSION_PAT$VERSION_CVS"
44 ;; -l) 45 ;; -l)
45 LIST=1 46 LIST=1
46 ;; -i) 47 ;; -i)
47 shift 48 shift
48 IMAGEDIR=$1 49 IMAGEDIR=$1
49 DATADIR=$IMAGEDIR 50 DATADIR=$IMAGEDIR
50 mkdir -p $IMAGEDIR 51 mkdir -p $IMAGEDIR
51 ;; -classic) 52 ;; -classic)
diff --git a/qt/qt-embedded-rotation.control b/qt/qt-embedded-rotation.control
index 1ef627c..38b5ccc 100644
--- a/qt/qt-embedded-rotation.control
+++ b/qt/qt-embedded-rotation.control
@@ -1,11 +1,11 @@
1Files: $QTDIR/lib/fonts/helvetica_*_{50,50i,75,75i}.* $QTDIR/lib/fonts/helvetica_*_t*5* $QTDIR/lib/fonts/fixed_*_50.* $QTDIR/lib/fonts/fixed_*_t*5* $QTDIR/lib/fonts/micro_*{50,50_t15,50_t5}.* $QTDIR/lib/fonts/smallsmooth_*{50,50_t15,50_t5}.* $QTDIR/lib/fonts/smoothtimes_{170,100}_{50,50_t15,50_t5}.* 1Files: $QTDIR/lib/fonts/helvetica_*_{50,50i,75,75i}.* $QTDIR/lib/fonts/helvetica_*_t*5* $QTDIR/lib/fonts/fixed_*_50.* $QTDIR/lib/fonts/fixed_*_t*5* $QTDIR/lib/fonts/micro_*{50,50_t15,50_t5}.* $QTDIR/lib/fonts/smallsmooth_*{50,50_t15,50_t5}.* $QTDIR/lib/fonts/smoothtimes_{170,100}_{50,50_t15,50_t5}.*
2Priority: optional 2Priority: optional
3Section: opie/system 3Section: opie/system
4Maintainer: Warwick Allison <warwick@trolltech.com> 4Maintainer: Warwick Allison <warwick@trolltech.com>
5Architecture: arm 5Architecture: arm
6Arch: iPAQ 6Arch: iPAQ
7Depends: libjpeg62 7Depends: libjpeg62
8Version: $QTE_VERSION-4 8Version: $QTE_VERSION-$QTE_REVISION
9Description: Qt/Embedded 0,90,180 rotation fonts 9Description: Qt/Embedded 0,90,180 rotation fonts
10 The iPAQ's "normal" orientation is 270-degree rotated. 10 The iPAQ's "normal" orientation is 270-degree rotated.
11 These fonts are the fonts for other angles. 11 These fonts are the fonts for other angles.
diff --git a/qt/qt-embedded.control b/qt/qt-embedded.control
index 5d2932e..94579a4 100644
--- a/qt/qt-embedded.control
+++ b/qt/qt-embedded.control
@@ -1,10 +1,10 @@
1Files: $QTDIR/lib/libqte.so.$QTE_VERSION $QTDIR/lib/libqte.so.2.3 $QTDIR/lib/libqte.so.2 $QTDIR/lib/fonts/fontdir $QTDIR/lib/fonts/helvetica_*t10* $QTDIR/lib/fonts/fixed_*t10* $QTDIR/lib/fonts/micro_*t10* $QTDIR/lib/fonts/smallsmooth_*t10* $QTDIR/lib/fonts/smoothtimes_{170,100}_50*t10* 1Files: $QTDIR/lib/libqte.so.$QTE_VERSION $QTDIR/lib/libqte.so.2.3 $QTDIR/lib/libqte.so.2 $QTDIR/lib/fonts/fontdir $QTDIR/lib/fonts/helvetica_*t10* $QTDIR/lib/fonts/fixed_*t10* $QTDIR/lib/fonts/micro_*t10* $QTDIR/lib/fonts/smallsmooth_*t10* $QTDIR/lib/fonts/smoothtimes_{170,100}_50*t10*
2Priority: required 2Priority: required
3Section: opie/system 3Section: opie/system
4Maintainer: Robert Griebl <sandman@handhelds.org> 4Maintainer: Robert Griebl <sandman@handhelds.org>
5Architecture: arm 5Architecture: arm
6Version: $QTE_VERSION-3 6Version: $QTE_VERSION-$QTE_REVISION
7Depends: libjpeg62, libpng3, zlib1g 7Depends: libjpeg62, libpng3, zlib1g
8Description: Qt/Embedded environment 8Description: Qt/Embedded environment
9 A complete windowing system and GUI toolkit for handhelds. 9 A complete windowing system and GUI toolkit for handhelds.
10 See "QPE" for applications. 10 See "QPE" for applications.