summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xmkipks20
-rw-r--r--qt/libqt2-emb-fonts.control2
-rw-r--r--qt/libqt2-emb.control2
3 files changed, 20 insertions, 4 deletions
diff --git a/mkipks b/mkipks
index d4e4b38..3fbf160 100755
--- a/mkipks
+++ b/mkipks
@@ -1,36 +1,52 @@
1#!/bin/sh 1#!/bin/sh
2 2
3[ -z "$QTE_VERSION" ] && QTE_VERSION=2.3.4 3if [ -z "$QTE_BASEVERSION" ]
4[ -z "$QTE_BASEVERSION" ] && QTE_BASEVERSION=2.3.4 4then
5 if [ -e $QTDIR/include/qglobal.h ]
6 then
7 QTE_BASEVERSION=`cat $QTDIR/include/qglobal.h|grep '^#define QT_VERSION'|grep -v STR|sed -e 's,#define QT_VERSION\t*,,;' -e 's,.*\([0-9]\)\([0-9]\)\([0-9]\).*,\1.\2.\3,;'`
8 else
9 QTE_BASEVERSION=2.3.4
10 fi
11fi
12if [ -z "$QTE_VERSION" ]
13then
14 if [ -e $QTDIR/include/qglobal.h ]
15 then
16 QTE_VERSION=`cat $QTDIR/include/qglobal.h|grep '^#define QT_VERSION_STR'|sed -e 's,#define QT_VERSION_STR\t*,,;' -e 's,.*"\([^"]*\)".*,\1,;'`
17 else
18 QTE_VERSION=2.3.4
19 fi
20fi
5[ -z "$QTE_REVISION" ] && QTE_REVISION=3 21[ -z "$QTE_REVISION" ] && QTE_REVISION=3
6DEB_VERSION=2.0 22DEB_VERSION=2.0
7 23
8# Have to do this here, since CVS can't store symlinks 24# Have to do this here, since CVS can't store symlinks
9 25
10mkdir -p $OPIEDIR/etc/rcS.d 26mkdir -p $OPIEDIR/etc/rcS.d
11ln -sf ../init.d/bootsplash $OPIEDIR/etc/rcS.d/S01bootsplash 27ln -sf ../init.d/bootsplash $OPIEDIR/etc/rcS.d/S01bootsplash
12 28
13VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) 29VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
14VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) 30VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
15VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) 31VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h)
16SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) 32SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h)
17if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h 33if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h
18then 34then
19 [ -z "$VERSION_CVS" ] && VERSION_CVS="$(date +%Y%m%d)" 35 [ -z "$VERSION_CVS" ] && VERSION_CVS="$(date +%Y%m%d)"
20 SUB_VERSION=$VERSION_CVS 36 SUB_VERSION=$VERSION_CVS
21else 37else
22 VERSION_CVS="" 38 VERSION_CVS=""
23fi 39fi
24 40
25QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT 41QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT
26 42
27ARCH=arm 43ARCH=arm
28STRIP=arm-linux-strip 44STRIP=arm-linux-strip
29STRIP_FILES="*ARM*not stripped" 45STRIP_FILES="*ARM*not stripped"
30 46
31TDIR=/tmp/ipk$$ 47TDIR=/tmp/ipk$$
32DATADIR=$TDIR 48DATADIR=$TDIR
33CTRLDIR=$TDIR/CONTROL 49CTRLDIR=$TDIR/CONTROL
34 50
35IMAGEDIR= 51IMAGEDIR=
36VERB= 52VERB=
diff --git a/qt/libqt2-emb-fonts.control b/qt/libqt2-emb-fonts.control
index f4b9260..8c0d98a 100644
--- a/qt/libqt2-emb-fonts.control
+++ b/qt/libqt2-emb-fonts.control
@@ -1,9 +1,9 @@
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}.* $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/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}.* $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: Opie Team <opie@handhelds.org> 4Maintainer: Opie Team <opie@handhelds.org>
5Architecture: arm 5Architecture: arm
6Depends: libqt2-emb 6Depends: libqt2-emb
7Replaces: qt-embedded-rotation 7Replaces: qt-embedded-rotation
8Version: $QTE_VERSION-$QTE_REVISION.1 8Version: $QTE_VERSION-$QTE_REVISION
9Description: Qt/Embedded fonts - 0,90,180,270 rotation 9Description: Qt/Embedded fonts - 0,90,180,270 rotation
diff --git a/qt/libqt2-emb.control b/qt/libqt2-emb.control
index 450450d..2f9d822 100644
--- a/qt/libqt2-emb.control
+++ b/qt/libqt2-emb.control
@@ -1,12 +1,12 @@
1Files: $QTDIR/lib/libqte.so.$QTE_BASEVERSION $QTDIR/lib/libqte.so.2.3 $QTDIR/lib/libqte.so.2 1Files: $QTDIR/lib/libqte.so.$QTE_BASEVERSION $QTDIR/lib/libqte.so.2.3 $QTDIR/lib/libqte.so.2
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-$QTE_REVISION.1 6Version: $QTE_VERSION-$QTE_REVISION
7Depends: libjpeg62, libpng3, zlib1g 7Depends: libjpeg62, libpng3, zlib1g
8Provides: qt-embedded 8Provides: qt-embedded
9Replaces: qt-embedded 9Replaces: qt-embedded
10Description: Qt/Embedded environment 10Description: Qt/Embedded environment
11 A complete windowing system and GUI toolkit for handhelds. 11 A complete windowing system and GUI toolkit for handhelds.
12 See "QPE" for applications. 12 See "QPE" for applications.