author | kergoth <kergoth> | 2002-12-12 17:17:29 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-12-12 17:17:29 (UTC) |
commit | 4789fc5908e0f6e5f828e1069b3fa5c7dad1412c (patch) (unidiff) | |
tree | 2cfaa10b1fd54f22a57698620ea12fdb71f9eda5 | |
parent | 2ebde078dcdc50434acb10f2fa245b0d3dd483bd (diff) | |
download | opie-4789fc5908e0f6e5f828e1069b3fa5c7dad1412c.zip opie-4789fc5908e0f6e5f828e1069b3fa5c7dad1412c.tar.gz opie-4789fc5908e0f6e5f828e1069b3fa5c7dad1412c.tar.bz2 |
make passing in qte version for ipk creation easier
-rwxr-xr-x | mkipks | 3 | ||||
-rw-r--r-- | qt/qt-embedded-rotation.control | 2 | ||||
-rw-r--r-- | qt/qt-embedded.control | 2 |
3 files changed, 4 insertions, 3 deletions
@@ -1,51 +1,52 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | QTE_VERSION=2.3.4 | 3 | [ -z "$QTE_VERSION" ] && QTE_VERSION=2.3.4 |
4 | [ -z "$QTE_REVISION" ] && QTE_REVISION=3 | ||
4 | DEB_VERSION=2.0 | 5 | DEB_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 | ||
8 | mkdir -p $OPIEDIR/etc/rcS.d | 9 | mkdir -p $OPIEDIR/etc/rcS.d |
9 | ln -sf ../init.d/bootsplash $OPIEDIR/etc/rcS.d/S01bootsplash | 10 | ln -sf ../init.d/bootsplash $OPIEDIR/etc/rcS.d/S01bootsplash |
10 | 11 | ||
11 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) | 12 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
12 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) | 13 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
13 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) | 14 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) |
14 | SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) | 15 | SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) |
15 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h | 16 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h |
16 | then | 17 | then |
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 |
19 | else | 20 | else |
20 | VERSION_CVS="" | 21 | VERSION_CVS="" |
21 | fi | 22 | fi |
22 | 23 | ||
23 | QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT | 24 | QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT |
24 | 25 | ||
25 | ARCH=arm | 26 | ARCH=arm |
26 | STRIP=arm-linux-strip | 27 | STRIP=arm-linux-strip |
27 | STRIP_FILES="*ARM*not stripped" | 28 | STRIP_FILES="*ARM*not stripped" |
28 | 29 | ||
29 | TDIR=/tmp/ipk$$ | 30 | TDIR=/tmp/ipk$$ |
30 | DATADIR=$TDIR | 31 | DATADIR=$TDIR |
31 | CTRLDIR=$TDIR/CONTROL | 32 | CTRLDIR=$TDIR/CONTROL |
32 | 33 | ||
33 | IMAGEDIR= | 34 | IMAGEDIR= |
34 | VERB= | 35 | VERB= |
35 | LIST= | 36 | LIST= |
36 | RPM= | 37 | RPM= |
37 | 38 | ||
38 | while [ $# -ne 0 ] | 39 | while [ $# -ne 0 ] |
39 | do | 40 | do |
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 @@ | |||
1 | Files: $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}.* | 1 | Files: $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}.* |
2 | Priority: optional | 2 | Priority: optional |
3 | Section: opie/system | 3 | Section: opie/system |
4 | Maintainer: Warwick Allison <warwick@trolltech.com> | 4 | Maintainer: Warwick Allison <warwick@trolltech.com> |
5 | Architecture: arm | 5 | Architecture: arm |
6 | Arch: iPAQ | 6 | Arch: iPAQ |
7 | Depends: libjpeg62 | 7 | Depends: libjpeg62 |
8 | Version: $QTE_VERSION-4 | 8 | Version: $QTE_VERSION-$QTE_REVISION |
9 | Description: Qt/Embedded 0,90,180 rotation fonts | 9 | Description: 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 @@ | |||
1 | Files: $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* | 1 | Files: $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* |
2 | Priority: required | 2 | Priority: required |
3 | Section: opie/system | 3 | Section: opie/system |
4 | Maintainer: Robert Griebl <sandman@handhelds.org> | 4 | Maintainer: Robert Griebl <sandman@handhelds.org> |
5 | Architecture: arm | 5 | Architecture: arm |
6 | Version: $QTE_VERSION-3 | 6 | Version: $QTE_VERSION-$QTE_REVISION |
7 | Depends: libjpeg62, libpng3, zlib1g | 7 | Depends: libjpeg62, libpng3, zlib1g |
8 | Description: Qt/Embedded environment | 8 | Description: 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. |