summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile2
-rw-r--r--Makefile.x112
-rw-r--r--core/opiealarm/opie-opiealarm.control2
-rwxr-xr-xmkipks6
-rw-r--r--root/opie-windows2000-ppp-scripts.control2
-rw-r--r--root/ptydevs.control2
-rw-r--r--root/timezones.control2
7 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index a42c772..4278d1f 100644
--- a/Makefile
+++ b/Makefile
@@ -62,77 +62,77 @@ NONCORESETTINGS =noncore/settings/language noncore/settings/rotation \
62 noncore/settings/sshkeys noncore/settings/usermanager \ 62 noncore/settings/sshkeys noncore/settings/usermanager \
63 noncore/settings/backup 63 noncore/settings/backup
64 64
65NONCORETOOLS = noncore/tools/calculator noncore/tools/clock \ 65NONCORETOOLS = noncore/tools/calculator noncore/tools/clock \
66 noncore/tools/remote noncore/tools/opie-sh noncore/apps/advancedfm \ 66 noncore/tools/remote noncore/tools/opie-sh noncore/apps/advancedfm \
67 noncore/tools/formatter 67 noncore/tools/formatter
68 68
69NONCORESTYLES = noncore/styles/liquid noncore/styles/theme noncore/styles/metal \ 69NONCORESTYLES = noncore/styles/liquid noncore/styles/theme noncore/styles/metal \
70 noncore/styles/flat noncore/styles/fresh 70 noncore/styles/flat noncore/styles/fresh
71 71
72NONCOREDECOS = noncore/decorations/liquid noncore/decorations/flat \ 72NONCOREDECOS = noncore/decorations/liquid noncore/decorations/flat \
73 noncore/decorations/polished 73 noncore/decorations/polished
74 74
75GAMES = noncore/games/minesweep noncore/games/solitaire \ 75GAMES = noncore/games/minesweep noncore/games/solitaire \
76 noncore/games/tetrix noncore/games/wordgame \ 76 noncore/games/tetrix noncore/games/wordgame \
77 noncore/games/parashoot noncore/games/snake \ 77 noncore/games/parashoot noncore/games/snake \
78 noncore/games/mindbreaker \ 78 noncore/games/mindbreaker \
79 noncore/games/go noncore/games/qasteroids \ 79 noncore/games/go noncore/games/qasteroids \
80 noncore/games/fifteen noncore/games/tictac \ 80 noncore/games/fifteen noncore/games/tictac \
81 noncore/games/kcheckers noncore/games/kpacman \ 81 noncore/games/kcheckers noncore/games/kpacman \
82 noncore/games/kbill noncore/games/buzzword \ 82 noncore/games/kbill noncore/games/buzzword \
83 noncore/games/bounce noncore/games/sfcave 83 noncore/games/bounce noncore/games/sfcave
84 84
85NONAPPS = noncore/apps/opie-sheet noncore/apps/tableviewer \ 85NONAPPS = noncore/apps/opie-sheet noncore/apps/tableviewer \
86 noncore/apps/opie-reader noncore/apps/checkbook noncore/apps/oxygen \ 86 noncore/apps/opie-reader noncore/apps/checkbook noncore/apps/oxygen \
87 noncore/apps/sysinfo noncore/net/opieirc noncore/apps/aqpkg \ 87 noncore/apps/sysinfo noncore/net/opieirc noncore/apps/aqpkg \
88 noncore/apps/opie-console noncore/apps/opie-write 88 noncore/apps/opie-console noncore/apps/opie-write
89 89
90NONNET = noncore/net/networksetup \ 90NONNET = noncore/net/networksetup \
91 noncore/net/ftplib noncore/net/opieftp \ 91 noncore/net/ftplib noncore/net/opieftp \
92 noncore/mail 92 noncore/mail
93 93
94NONMULT = noncore/multimedia/showimg noncore/graphics/drawpad \ 94NONMULT = noncore/multimedia/showimg noncore/graphics/drawpad \
95 noncore/graphics/qpdf noncore/apps/confedit 95 noncore/graphics/qpdf noncore/apps/confedit
96 96
97 97
98NONCOMM = noncore/comm/keypebble 98NONCOMM = noncore/comm/keypebble
99 99
100PLUGINS = freetype 100PLUGINS = freetype
101 101
102APPS=$(LOCALAPPS) $(PIMAPPS) $(COREAPPS) \ 102APPS=$(LOCALAPPS) $(PIMAPPS) $(COREAPPS) \
103 $(COREMULTIMEDIA) $(CORESETTINGS) \ 103 $(COREMULTIMEDIA) $(CORESETTINGS) \
104 $(NONCORESETTINGS) $(NONCORETOOLS) $(NONCORESTYLES) \ 104 $(NONCORESETTINGS) $(NONCORETOOLS) $(NONCORESTYLES) \
105 $(NONCOREDECOS) $(NONAPPS) $(NONNET) $(NONMULT) \ 105 $(NONCOREDECOS) $(NONAPPS) $(NONNET) $(NONMULT) \
106 $(NONCOMM) $(GAMES) $(TODAYPLUGINS) $(PLUGINS) 106 $(NONCOMM) $(GAMES) $(TODAYPLUGINS) $(PLUGINS)
107 107
108 108
109 109
110NONTMAKEAPPS := ipaq/opiealarm 110NONTMAKEAPPS := root/opiealarm
111 111
112DOCS = docs/src/opie-policy 112DOCS = docs/src/opie-policy
113 113
114dynamic: $(APPS) $(NONTMAKEAPPS) 114dynamic: $(APPS) $(NONTMAKEAPPS)
115 115
116docs: $(DOCS) 116docs: $(DOCS)
117 117
118$(COMPONENTS): $(LIBS) 118$(COMPONENTS): $(LIBS)
119 119
120$(NONTMAKEAPPS) $(APPS): $(LIBS) $(COMPONENTS) 120$(NONTMAKEAPPS) $(APPS): $(LIBS) $(COMPONENTS)
121 121
122$(LIBS) $(COMPONENTS) $(NONTMAKEAPPS) $(APPS) $(DOCS): 122$(LIBS) $(COMPONENTS) $(NONTMAKEAPPS) $(APPS) $(DOCS):
123 $(MAKE) -C $@ -f Makefile 123 $(MAKE) -C $@ -f Makefile
124 124
125showcomponents: 125showcomponents:
126 @echo $(LIBS) $(APPS) $(COMPONENTS) 126 @echo $(LIBS) $(APPS) $(COMPONENTS)
127 127
128clean: 128clean:
129 for dir in $(NONTMAKEAPPS) $(APPS) $(LIBS) $(COMPONENTS) $(DOCS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done 129 for dir in $(NONTMAKEAPPS) $(APPS) $(LIBS) $(COMPONENTS) $(DOCS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
130 130
131lupdate: 131lupdate:
132 for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done 132 for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
133 133
134lrelease: 134lrelease:
135 for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done 135 for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
136 136
137 137
138.PHONY: default dynamic $(NONTMAKEAPPS) $(LIBS) $(APPS) $(COMPONENTS) $(DOCS) showcomponents clean 138.PHONY: default dynamic $(NONTMAKEAPPS) $(LIBS) $(APPS) $(COMPONENTS) $(DOCS) showcomponents clean
diff --git a/Makefile.x11 b/Makefile.x11
index 4733e10..9aa96da 100644
--- a/Makefile.x11
+++ b/Makefile.x11
@@ -54,79 +54,79 @@ CORESETTINGS = core/settings/light-and-power core/settings/security \
54NONCORESETTINGS =noncore/settings/language noncore/settings/rotation \ 54NONCORESETTINGS =noncore/settings/language noncore/settings/rotation \
55 noncore/settings/appearance2 noncore/settings/sound \ 55 noncore/settings/appearance2 noncore/settings/sound \
56 noncore/settings/mediummount \ 56 noncore/settings/mediummount \
57 noncore/settings/tabmanager noncore/settings/appskey \ 57 noncore/settings/tabmanager noncore/settings/appskey \
58 noncore/settings/wlansetup \ 58 noncore/settings/wlansetup \
59 noncore/settings/sshkeys noncore/settings/usermanager \ 59 noncore/settings/sshkeys noncore/settings/usermanager \
60 noncore/apps/backup 60 noncore/apps/backup
61 61
62NONCORETOOLS = noncore/tools/calculator noncore/tools/clock \ 62NONCORETOOLS = noncore/tools/calculator noncore/tools/clock \
63 noncore/tools/remote noncore/tools/opie-sh noncore/apps/advancedfm 63 noncore/tools/remote noncore/tools/opie-sh noncore/apps/advancedfm
64 64
65NONCORESTYLES = noncore/styles/liquid noncore/styles/theme noncore/styles/metal \ 65NONCORESTYLES = noncore/styles/liquid noncore/styles/theme noncore/styles/metal \
66 noncore/styles/flat noncore/styles/fresh 66 noncore/styles/flat noncore/styles/fresh
67 67
68NONCOREDECOS = noncore/decorations/liquid noncore/decorations/flat \ 68NONCOREDECOS = noncore/decorations/liquid noncore/decorations/flat \
69 noncore/decorations/polished 69 noncore/decorations/polished
70 70
71GAMES = noncore/games/minesweep noncore/games/solitaire \ 71GAMES = noncore/games/minesweep noncore/games/solitaire \
72 noncore/games/tetrix noncore/games/wordgame \ 72 noncore/games/tetrix noncore/games/wordgame \
73 noncore/games/parashoot noncore/games/snake \ 73 noncore/games/parashoot noncore/games/snake \
74 noncore/games/mindbreaker \ 74 noncore/games/mindbreaker \
75 noncore/games/go noncore/games/qasteroids \ 75 noncore/games/go noncore/games/qasteroids \
76 noncore/games/fifteen noncore/games/tictac \ 76 noncore/games/fifteen noncore/games/tictac \
77 noncore/games/kcheckers noncore/games/kpacman \ 77 noncore/games/kcheckers noncore/games/kpacman \
78 noncore/games/kbill noncore/games/buzzword \ 78 noncore/games/kbill noncore/games/buzzword \
79 noncore/games/bounce 79 noncore/games/bounce
80 80
81NONAPPS = noncore/apps/opie-sheet noncore/apps/tableviewer \ 81NONAPPS = noncore/apps/opie-sheet noncore/apps/tableviewer \
82 noncore/apps/opie-reader noncore/apps/checkbook noncore/apps/oxygen \ 82 noncore/apps/opie-reader noncore/apps/checkbook noncore/apps/oxygen \
83 noncore/apps/sysinfo noncore/net/opieirc noncore/apps/aqpkg \ 83 noncore/apps/sysinfo noncore/net/opieirc noncore/apps/aqpkg \
84 84
85NONNET = noncore/net/netsetup noncore/net/opieftp \ 85NONNET = noncore/net/netsetup noncore/net/opieftp \
86 noncore/mail 86 noncore/mail
87 87
88NONMULT = noncore/multimedia/showimg noncore/graphics/drawpad \ 88NONMULT = noncore/multimedia/showimg noncore/graphics/drawpad \
89 noncore/graphics/qpdf noncore/apps/confedit 89 noncore/graphics/qpdf noncore/apps/confedit
90 90
91 91
92NONCOMM = noncore/comm/keypebble 92NONCOMM = noncore/comm/keypebble
93 93
94APPS=$(LOCALAPPS) $(PIMAPPS) $(COREAPPS) \ 94APPS=$(LOCALAPPS) $(PIMAPPS) $(COREAPPS) \
95 $(CORESETTINGS) \ 95 $(CORESETTINGS) \
96 $(NONCORESETTINGS) $(NONCORETOOLS) $(NONCORESTYLES) \ 96 $(NONCORESETTINGS) $(NONCORETOOLS) $(NONCORESTYLES) \
97 $(NONCOREDECOS) $(NONAPPS) $(NONNET) $(NONMULT) \ 97 $(NONCOREDECOS) $(NONAPPS) $(NONNET) $(NONMULT) \
98 $(NONCOMM) $(GAMES) $(TODAYPLUGINS) 98 $(NONCOMM) $(GAMES) $(TODAYPLUGINS)
99 99
100 100
101 101
102NONTMAKEAPPS := ipaq/opiealarm 102NONTMAKEAPPS := root/opiealarm
103 103
104DOCS = docs/src/opie-policy 104DOCS = docs/src/opie-policy
105single: mpegplayer/libmpeg3 105single: mpegplayer/libmpeg3
106 106
107dynamic: $(APPS) $(NONTMAKEAPPS) 107dynamic: $(APPS) $(NONTMAKEAPPS)
108 108
109docs: $(DOCS) 109docs: $(DOCS)
110 110
111$(COMPONENTS): $(LIBS) 111$(COMPONENTS): $(LIBS)
112 112
113$(NONTMAKEAPPS) $(APPS): $(LIBS) $(COMPONENTS) 113$(NONTMAKEAPPS) $(APPS): $(LIBS) $(COMPONENTS)
114 114
115$(LIBS) $(COMPONENTS) $(NONTMAKEAPPS) $(APPS) $(DOCS) single: 115$(LIBS) $(COMPONENTS) $(NONTMAKEAPPS) $(APPS) $(DOCS) single:
116 $(MAKE) -C $@ -f Makefile 116 $(MAKE) -C $@ -f Makefile
117 117
118showcomponents: 118showcomponents:
119 @echo $(LIBS) $(APPS) $(COMPONENTS) single 119 @echo $(LIBS) $(APPS) $(COMPONENTS) single
120 120
121clean: 121clean:
122 $(MAKE) -C single -f Makefile $@ 122 $(MAKE) -C single -f Makefile $@
123 for dir in $(NONTMAKEAPPS) $(APPS) $(LIBS) $(COMPONENTS) $(DOCS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done 123 for dir in $(NONTMAKEAPPS) $(APPS) $(LIBS) $(COMPONENTS) $(DOCS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
124 124
125lupdate: 125lupdate:
126 for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done 126 for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
127 127
128lrelease: 128lrelease:
129 for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done 129 for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
130 130
131 131
132.PHONY: default dynamic $(NONTMAKEAPPS) $(LIBS) $(APPS) $(COMPONENTS) $(DOCS) single showcomponents clean 132.PHONY: default dynamic $(NONTMAKEAPPS) $(LIBS) $(APPS) $(COMPONENTS) $(DOCS) single showcomponents clean
diff --git a/core/opiealarm/opie-opiealarm.control b/core/opiealarm/opie-opiealarm.control
index b63fa66..5413ba8 100644
--- a/core/opiealarm/opie-opiealarm.control
+++ b/core/opiealarm/opie-opiealarm.control
@@ -1,13 +1,13 @@
1Files: bin/opiealarm bin/opieatd ipaq/etc/init.d/opieatd ipaq/etc/rc2.d/S96opieatd ipaq/etc/suspend-scripts/S46opiealarm ipaq/etc/resume-scripts/R46opiealarm 1Files: bin/opiealarm bin/opieatd root/etc/init.d/opieatd root/etc/rc2.d/S96opieatd root/etc/suspend-scripts/S46opiealarm root/etc/resume-scripts/R46opiealarm
2Priority: required 2Priority: required
3Provides: ipaqalarm 3Provides: ipaqalarm
4Conflicts: ipaqalarm 4Conflicts: ipaqalarm
5Section: opie/system 5Section: opie/system
6Maintainer: Robert Griebl <sandman@handhelds.org> 6Maintainer: Robert Griebl <sandman@handhelds.org>
7Architecture: arm 7Architecture: arm
8Version: $QPE_VERSION-$SUB_VERSION 8Version: $QPE_VERSION-$SUB_VERSION
9Depends: hotplug 9Depends: hotplug
10Description: A wakeup system for OPIE events. 10Description: A wakeup system for OPIE events.
11 Tiny, OPIE specific replacement for ipaqalarm, 11 Tiny, OPIE specific replacement for ipaqalarm,
12 uschedule and qpe2uschedule 12 uschedule and qpe2uschedule
13 13
diff --git a/mkipks b/mkipks
index ca934d8..798e73f 100755
--- a/mkipks
+++ b/mkipks
@@ -1,61 +1,61 @@
1#!/bin/sh 1#!/bin/sh
2 2
3QTE_VERSION=2.3.4 3QTE_VERSION=2.3.4
4DEB_VERSION=2.0 4DEB_VERSION=2.0
5 5
6# Have to do this here, since CVS can't store symlinks 6# Have to do this here, since CVS can't store symlinks
7mkdir -p $OPIEDIR/etc/rc2.d 7mkdir -p $OPIEDIR/etc/rc2.d
8ln -sf ../init.d/opie $OPIEDIR/etc/rc2.d/S98opie 8ln -sf ../init.d/opie $OPIEDIR/etc/rc2.d/S98opie
9 9
10mkdir -p $OPIEDIR/etc/rcS.d 10mkdir -p $OPIEDIR/etc/rcS.d
11ln -sf ../init.d/bootsplash $OPIEDIR/etc/rcS.d/S01bootsplash 11ln -sf ../init.d/bootsplash $OPIEDIR/etc/rcS.d/S01bootsplash
12 12
13ln -sf ../init.d/opieatd $OPIEDIR/ipaq/etc/rc2.d/S96opieatd 13ln -sf ../init.d/opieatd $OPIEDIR/root/etc/rc2.d/S96opieatd
14 14
15 15
16 16
17VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) 17VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
18VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) 18VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
19VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) 19VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h)
20SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) 20SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h)
21if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h 21if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h
22then 22then
23 [ -z "$VERSION_CVS" ] && VERSION_CVS="$(date +%Y%m%d)" 23 [ -z "$VERSION_CVS" ] && VERSION_CVS="$(date +%Y%m%d)"
24 SUB_VERSION=$VERSION_CVS 24 SUB_VERSION=$VERSION_CVS
25else 25else
26 VERSION_CVS="" 26 VERSION_CVS=""
27fi 27fi
28 28
29QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT 29QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT
30 30
31ARCH=arm 31ARCH=arm
32STRIP=arm-linux-strip 32STRIP=arm-linux-strip
33STRIP_FILES="*ARM*not stripped" 33STRIP_FILES="*ARM*not stripped"
34 34
35TDIR=/tmp/ipk$$ 35TDIR=/tmp/ipk$$
36DATADIR=$TDIR 36DATADIR=$TDIR
37CTRLDIR=$TDIR/CONTROL 37CTRLDIR=$TDIR/CONTROL
38 38
39IMAGEDIR= 39IMAGEDIR=
40VERB= 40VERB=
41LIST= 41LIST=
42RPM= 42RPM=
43 43
44while [ $# -ne 0 ] 44while [ $# -ne 0 ]
45do 45do
46 case "$1" in 46 case "$1" in
47 -v) 47 -v)
48 VERB=1 48 VERB=1
49 echo >&2 "Packaging for version $VERSION_MAJ.$VERSION_MIN.$VERSION_PAT$VERSION_CVS" 49 echo >&2 "Packaging for version $VERSION_MAJ.$VERSION_MIN.$VERSION_PAT$VERSION_CVS"
50 ;; -l) 50 ;; -l)
51 LIST=1 51 LIST=1
52 ;; -i) 52 ;; -i)
53 shift 53 shift
54 IMAGEDIR=$1 54 IMAGEDIR=$1
55 DATADIR=$IMAGEDIR 55 DATADIR=$IMAGEDIR
56 mkdir -p $IMAGEDIR 56 mkdir -p $IMAGEDIR
57 ;; -classic) 57 ;; -classic)
58 classicopts=-c 58 classicopts=-c
59 ;; -rpm) 59 ;; -rpm)
60 if [ "$OPIEDIR" != "/opt/Qtopia" ] 60 if [ "$OPIEDIR" != "/opt/Qtopia" ]
61 then 61 then
@@ -85,98 +85,98 @@ fi
85RDIR=$PWD 85RDIR=$PWD
86ORIGDIR=`pwd` 86ORIGDIR=`pwd`
87cd $OPIEDIR 87cd $OPIEDIR
88 88
89for i in $FILES 89for i in $FILES
90do 90do
91 rm -rf $TDIR 91 rm -rf $TDIR
92 92
93 mkdir -p $DATADIR 93 mkdir -p $DATADIR
94 mkdir -p $CTRLDIR 94 mkdir -p $CTRLDIR
95 95
96 packagename=${i##*/}; packagename=${packagename%.control} 96 packagename=${i##*/}; packagename=${packagename%.control}
97 version=$(eval echo '"'$(sed -n -e "s/^Version: *//p" $i)'"') 97 version=$(eval echo '"'$(sed -n -e "s/^Version: *//p" $i)'"')
98 depends=$(eval echo '"'$(sed -n -e "s/^Depends: *//p" $i)'"') 98 depends=$(eval echo '"'$(sed -n -e "s/^Depends: *//p" $i)'"')
99 files=$(eval echo $(sed -n -e "s/^Files://p" $i)) 99 files=$(eval echo $(sed -n -e "s/^Files://p" $i))
100 arch=$(eval echo $(sed -n -e "s/^Arch://p" $i)) 100 arch=$(eval echo $(sed -n -e "s/^Arch://p" $i))
101 section=$(sed -n -e "s/^Section: *//p" $i) 101 section=$(sed -n -e "s/^Section: *//p" $i)
102 provides=$(sed -n -e "s/^Provides: *//p" $i) 102 provides=$(sed -n -e "s/^Provides: *//p" $i)
103 conflicts=$(sed -n -e "s/^Conflicts: *//p" $i) 103 conflicts=$(sed -n -e "s/^Conflicts: *//p" $i)
104 license=$(sed -n -e "s/^License: *//p" $i) 104 license=$(sed -n -e "s/^License: *//p" $i)
105 summary=$(sed -n -e "s/^Description: *//p" $i) 105 summary=$(sed -n -e "s/^Description: *//p" $i)
106 package=${packagename}_${version}_$ARCH 106 package=${packagename}_${version}_$ARCH
107 ERROR= 107 ERROR=
108 if [ -z "$files" ] 108 if [ -z "$files" ]
109 then 109 then
110 mkdir -p $DATADIR/usr/share/doc/$packagename 110 mkdir -p $DATADIR/usr/share/doc/$packagename
111 else 111 else
112 for f in $files 112 for f in $files
113 do 113 do
114 if [ -d $f ] 114 if [ -d $f ]
115 then 115 then
116 ffiles=$(find $f -type f -o -type b -o -type c -o -type l) 116 ffiles=$(find $f -type f -o -type b -o -type c -o -type l)
117 else 117 else
118 ffiles=$f 118 ffiles=$f
119 fi 119 fi
120 for ff in $ffiles 120 for ff in $ffiles
121 do 121 do
122 case $ff in 122 case $ff in
123 */CVS/*) 123 */CVS/*)
124 continue 124 continue
125 ;;*~) 125 ;;*~)
126 continue 126 continue
127 ;;*.control) 127 ;;*.control)
128 continue 128 continue
129 ;; $QTDIR/*) 129 ;; $QTDIR/*)
130 BASE=$(dirname /opt/QtPalmtop/${ff#$QTDIR/}) 130 BASE=$(dirname /opt/QtPalmtop/${ff#$QTDIR/})
131 ;; etc/*.d/*) 131 ;; etc/*.d/*)
132 BASE=$(dirname /$ff) 132 BASE=$(dirname /$ff)
133 ;; ipaq/*) 133 ;; root/*)
134 BASE=$(dirname ${ff#ipaq}) 134 BASE=$(dirname ${ff#root})
135 ;; *) 135 ;; *)
136 # For SHARP ROM compatibility. Should change to Qtopia. 136 # For SHARP ROM compatibility. Should change to Qtopia.
137 BASE=/opt/QtPalmtop/$(dirname $ff) 137 BASE=/opt/QtPalmtop/$(dirname $ff)
138 esac 138 esac
139 139
140 if [ -f $ff -o -b $ff -o -c $ff ] 140 if [ -f $ff -o -b $ff -o -c $ff ]
141 then 141 then
142 D=$DATADIR$BASE 142 D=$DATADIR$BASE
143 if [ -x $ff -a -n "$STRIP" ] 143 if [ -x $ff -a -n "$STRIP" ]
144 then 144 then
145 case $(file $ff) in 145 case $(file $ff) in
146 $STRIP_FILES) 146 $STRIP_FILES)
147 $STRIP $ff 147 $STRIP $ff
148 ;; *) 148 ;; *)
149 esac 149 esac
150 fi 150 fi
151 if [ -n "$RPM" ] 151 if [ -n "$RPM" ]
152 then 152 then
153 case "$ff" in 153 case "$ff" in
154 /*) RPMFILES="$RPMFILES $ff" 154 /*) RPMFILES="$RPMFILES $ff"
155 ;; *) RPMFILES="$RPMFILES $OPIEDIR/$ff" 155 ;; *) RPMFILES="$RPMFILES $OPIEDIR/$ff"
156 esac 156 esac
157 else 157 else
158 mkdir -p $D 158 mkdir -p $D
159 if cp -a $ff $D 159 if cp -a $ff $D
160 then 160 then
161 true 161 true
162 else 162 else
163 ERROR=1 163 ERROR=1
164 fi 164 fi
165 fi 165 fi
166 else 166 else
167 echo >&2 "$0: $i: No such file: $ff" 167 echo >&2 "$0: $i: No such file: $ff"
168 ERROR=1 168 ERROR=1
169 fi 169 fi
170 done 170 done
171 done 171 done
172 fi 172 fi
173 if [ -z "$ERROR" ] 173 if [ -z "$ERROR" ]
174 then 174 then
175 if [ -n "$RPM" ] 175 if [ -n "$RPM" ]
176 then 176 then
177 SPEC=/tmp/mkipks-rpm-$$.spec 177 SPEC=/tmp/mkipks-rpm-$$.spec
178 echo >$SPEC "Summary: $summary" 178 echo >$SPEC "Summary: $summary"
179 echo >>$SPEC "Name: $packagename" 179 echo >>$SPEC "Name: $packagename"
180 echo >>$SPEC "Group: $section" ########## 180 echo >>$SPEC "Group: $section" ##########
181 echo >>$SPEC "License: $license" 181 echo >>$SPEC "License: $license"
182 echo >>$SPEC "Version: ${version%-*}" 182 echo >>$SPEC "Version: ${version%-*}"
diff --git a/root/opie-windows2000-ppp-scripts.control b/root/opie-windows2000-ppp-scripts.control
index 48249ed..cdd671c 100644
--- a/root/opie-windows2000-ppp-scripts.control
+++ b/root/opie-windows2000-ppp-scripts.control
@@ -1,7 +1,7 @@
1Files: ipaq/etc/hosts ipaq/etc/inittab ipaq/etc/ppp 1Files: root/etc/hosts ipaq/etc/inittab ipaq/etc/ppp
2Priority: optional 2Priority: optional
3Section: opie/system 3Section: opie/system
4Maintainer: Trenton Schulz <twschulz@trolltech.com> 4Maintainer: Trenton Schulz <twschulz@trolltech.com>
5Architecture: arm 5Architecture: arm
6Version: 1.0 6Version: 1.0
7Description: PPP configuration file needed for Windows 2000 and syncing 7Description: PPP configuration file needed for Windows 2000 and syncing
diff --git a/root/ptydevs.control b/root/ptydevs.control
index dbff09f..45b3b6d 100644
--- a/root/ptydevs.control
+++ b/root/ptydevs.control
@@ -1,9 +1,9 @@
1Files: ipaq/dev 1Files: root/dev
2Priority: optional 2Priority: optional
3Section: base 3Section: base
4Maintainer: Warwick Allison <warwick@trolltech.com> 4Maintainer: Warwick Allison <warwick@trolltech.com>
5Version: 1.0.0-5 5Version: 1.0.0-5
6Architecture: arm 6Architecture: arm
7Description: Pseudotty devices 7Description: Pseudotty devices
8 These files are not included in the Familiar libc6 package. 8 These files are not included in the Familiar libc6 package.
9 This package contains just a few pty/tty pairs. 9 This package contains just a few pty/tty pairs.
diff --git a/root/timezones.control b/root/timezones.control
index c209d7c..43a1579 100644
--- a/root/timezones.control
+++ b/root/timezones.control
@@ -1,9 +1,9 @@
1Files: ipaq/usr/share/zoneinfo 1Files: root/usr/share/zoneinfo
2Priority: optional 2Priority: optional
3Section: base 3Section: base
4Maintainer: Warwick Allison <warwick@trolltech.com> 4Maintainer: Warwick Allison <warwick@trolltech.com>
5Version: 1.0.0-6 5Version: 1.0.0-6
6Description: Timezone data 6Description: Timezone data
7 These files are not included in the Familiar libc6 package. 7 These files are not included in the Familiar libc6 package.
8 This package contains just the non-redundant parts, and uses 8 This package contains just the non-redundant parts, and uses
9 about 180K with jffs2. 9 about 180K with jffs2.