summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-09-12 09:10:04 (UTC)
committer zautrix <zautrix>2004-09-12 09:10:04 (UTC)
commit2848d8373ab0785cd21c4588d8fe7ad21ad6f291 (patch) (unidiff)
tree41ccedfa0e6c32b9c276150cf221241de189940f
parentd03369e14779dcbedb1e6a8882859664f818f588 (diff)
downloadkdepimpi-2848d8373ab0785cd21c4588d8fe7ad21ad6f291.zip
kdepimpi-2848d8373ab0785cd21c4588d8fe7ad21ad6f291.tar.gz
kdepimpi-2848d8373ab0785cd21c4588d8fe7ad21ad6f291.tar.bz2
Better version handling when building ipk packages
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile5
-rw-r--r--Makefile.Embedded5
-rw-r--r--kaddressbook.control2
-rw-r--r--kammu.control2
-rw-r--r--kmicrokdelibs.control2
-rw-r--r--kopiemail.control2
-rw-r--r--korganizer-alarm.control2
-rw-r--r--korganizer.control2
-rw-r--r--pim_TAB_icon.control2
-rw-r--r--setZaurus3
10 files changed, 17 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index ec2277e..77def29 100644
--- a/Makefile
+++ b/Makefile
@@ -162,55 +162,58 @@ variable_test: variable_info
162 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) 162 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN)
163 else 163 else
164 ifndef SHARPDTMSDK 164 ifndef SHARPDTMSDK
165 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) 165 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK)
166 $(error SHARPDTMSDK is not defined) 166 $(error SHARPDTMSDK is not defined)
167 endif 167 endif
168 endif 168 endif
169 ifdef BUILD_NO_GAMMU 169 ifdef BUILD_NO_GAMMU
170 @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) 170 @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU)
171 endif 171 endif
172 @echo -------------------------------------- 172 @echo --------------------------------------
173 173
174 174
175objects: 175objects:
176 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done 176 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done
177 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done 177 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done
178 mkdir -p libical/lib/$(PLATFORM) 178 mkdir -p libical/lib/$(PLATFORM)
179 179
180clean: 180clean:
181 rm -rf libical/lib/$(PLATFORM)/*; 181 rm -rf libical/lib/$(PLATFORM)/*;
182 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ 182 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
183 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ 183 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
184 done 184 done
185install: 185install:
186 ifdef KDEPIM_VERSION
186 cd bin/kdepim; make install 187 cd bin/kdepim; make install
187 cp -r Pim $(QPEDIR)/apps 188 cp -r Pim $(QPEDIR)/apps
188 cp db2file/db2file $(QPEDIR)/bin/db2file 189 cp db2file/db2file $(QPEDIR)/bin/db2file
189 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop 190 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop
190 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop 191 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop
191 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop 192 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop
192 193 else
194 @echo KDEPIM_VERSION not set.Cannot build ipk packages if version is missing.
195 endif
193dist: 196dist:
194 @echo Dont forget to do "make install" before "make dist" 197 @echo Dont forget to do "make install" before "make dist"
195 rm -f *arm.ipk 198 rm -f *arm.ipk
196 rm -f *~ 199 rm -f *~
197 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim 200 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim
198 ./mkipks kmicrokdelibs.control 201 ./mkipks kmicrokdelibs.control
199 ./mkipks korganizer.control 202 ./mkipks korganizer.control
200 ./mkipks kaddressbook.control 203 ./mkipks kaddressbook.control
201 ifndef BUILD_NO_MICROMAIL 204 ifndef BUILD_NO_MICROMAIL
202 ./mkipks kopiemail.control 205 ./mkipks kopiemail.control
203 endif 206 endif
204 ./mkipks korganizer-alarm.control 207 ./mkipks korganizer-alarm.control
205 ifndef BUILD_NO_GAMMU 208 ifndef BUILD_NO_GAMMU
206 ./mkipks kammu.control 209 ./mkipks kammu.control
207 endif 210 endif
208 ./mkipks pim_TAB_icon.control 211 ./mkipks pim_TAB_icon.control
209 212
210tmake: objects \ 213tmake: objects \
211 qtcompat/Makefile$(PLATFORM) \ 214 qtcompat/Makefile$(PLATFORM) \
212 microkde/Makefile$(PLATFORM) \ 215 microkde/Makefile$(PLATFORM) \
213 libkcal/Makefile$(PLATFORM) \ 216 libkcal/Makefile$(PLATFORM) \
214 libkdepim/Makefile$(PLATFORM) \ 217 libkdepim/Makefile$(PLATFORM) \
215 korganizer/Makefile$(PLATFORM) \ 218 korganizer/Makefile$(PLATFORM) \
216 kalarmd/Makefile$(PLATFORM) \ 219 kalarmd/Makefile$(PLATFORM) \
diff --git a/Makefile.Embedded b/Makefile.Embedded
index ec2277e..77def29 100644
--- a/Makefile.Embedded
+++ b/Makefile.Embedded
@@ -162,55 +162,58 @@ variable_test: variable_info
162 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) 162 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN)
163 else 163 else
164 ifndef SHARPDTMSDK 164 ifndef SHARPDTMSDK
165 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) 165 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK)
166 $(error SHARPDTMSDK is not defined) 166 $(error SHARPDTMSDK is not defined)
167 endif 167 endif
168 endif 168 endif
169 ifdef BUILD_NO_GAMMU 169 ifdef BUILD_NO_GAMMU
170 @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) 170 @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU)
171 endif 171 endif
172 @echo -------------------------------------- 172 @echo --------------------------------------
173 173
174 174
175objects: 175objects:
176 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done 176 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done
177 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done 177 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done
178 mkdir -p libical/lib/$(PLATFORM) 178 mkdir -p libical/lib/$(PLATFORM)
179 179
180clean: 180clean:
181 rm -rf libical/lib/$(PLATFORM)/*; 181 rm -rf libical/lib/$(PLATFORM)/*;
182 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ 182 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
183 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ 183 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
184 done 184 done
185install: 185install:
186 ifdef KDEPIM_VERSION
186 cd bin/kdepim; make install 187 cd bin/kdepim; make install
187 cp -r Pim $(QPEDIR)/apps 188 cp -r Pim $(QPEDIR)/apps
188 cp db2file/db2file $(QPEDIR)/bin/db2file 189 cp db2file/db2file $(QPEDIR)/bin/db2file
189 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop 190 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop
190 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop 191 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop
191 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop 192 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop
192 193 else
194 @echo KDEPIM_VERSION not set.Cannot build ipk packages if version is missing.
195 endif
193dist: 196dist:
194 @echo Dont forget to do "make install" before "make dist" 197 @echo Dont forget to do "make install" before "make dist"
195 rm -f *arm.ipk 198 rm -f *arm.ipk
196 rm -f *~ 199 rm -f *~
197 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim 200 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim
198 ./mkipks kmicrokdelibs.control 201 ./mkipks kmicrokdelibs.control
199 ./mkipks korganizer.control 202 ./mkipks korganizer.control
200 ./mkipks kaddressbook.control 203 ./mkipks kaddressbook.control
201 ifndef BUILD_NO_MICROMAIL 204 ifndef BUILD_NO_MICROMAIL
202 ./mkipks kopiemail.control 205 ./mkipks kopiemail.control
203 endif 206 endif
204 ./mkipks korganizer-alarm.control 207 ./mkipks korganizer-alarm.control
205 ifndef BUILD_NO_GAMMU 208 ifndef BUILD_NO_GAMMU
206 ./mkipks kammu.control 209 ./mkipks kammu.control
207 endif 210 endif
208 ./mkipks pim_TAB_icon.control 211 ./mkipks pim_TAB_icon.control
209 212
210tmake: objects \ 213tmake: objects \
211 qtcompat/Makefile$(PLATFORM) \ 214 qtcompat/Makefile$(PLATFORM) \
212 microkde/Makefile$(PLATFORM) \ 215 microkde/Makefile$(PLATFORM) \
213 libkcal/Makefile$(PLATFORM) \ 216 libkcal/Makefile$(PLATFORM) \
214 libkdepim/Makefile$(PLATFORM) \ 217 libkdepim/Makefile$(PLATFORM) \
215 korganizer/Makefile$(PLATFORM) \ 218 korganizer/Makefile$(PLATFORM) \
216 kalarmd/Makefile$(PLATFORM) \ 219 kalarmd/Makefile$(PLATFORM) \
diff --git a/kaddressbook.control b/kaddressbook.control
index 2e93f30..542ce1e 100644
--- a/kaddressbook.control
+++ b/kaddressbook.control
@@ -1,14 +1,14 @@
1Files: bin/kapi apps/Pim/kaddressbook.desktop pics/kdepim/kaddressbook/* 1Files: bin/kapi apps/Pim/kaddressbook.desktop pics/kdepim/kaddressbook/*
2 2
3Priority: optional 3Priority: optional
4Section: qpe/pim 4Section: qpe/pim
5Maintainer: Lutz Rogowski <lutz@pi-sync.net> 5Maintainer: Lutz Rogowski <lutz@pi-sync.net>
6Architecture: arm 6Architecture: arm
7Version: 1.9.4 7Version: $KDEPIM_VERSION
8License: GPL 8License: GPL
9Depends: 9Depends:
10Description: KOrganizer/Pi and Kaddressbook/Pi 10Description: KOrganizer/Pi and Kaddressbook/Pi
11 The embedded version of KOrganizer/Platform-independend, 11 The embedded version of KOrganizer/Platform-independend,
12 the KDE calendar and scheduling program 12 the KDE calendar and scheduling program
13 optimized for 640x480 and 320x240 resolution 13 optimized for 640x480 and 320x240 resolution
14 on Zaurus PDA 14 on Zaurus PDA
diff --git a/kammu.control b/kammu.control
index db52c80..07559e7 100644
--- a/kammu.control
+++ b/kammu.control
@@ -1,11 +1,11 @@
1Files: bin/kammu lib/libkammu* 1Files: bin/kammu lib/libkammu*
2 2
3Priority: optional 3Priority: optional
4Section: qpe/pim 4Section: qpe/pim
5Maintainer: Lutz Rogowski <lutz@pi-sync.net> 5Maintainer: Lutz Rogowski <lutz@pi-sync.net>
6Architecture: arm 6Architecture: arm
7Version: 1.9.4 7Version: $KDEPIM_VERSION
8License: GPL 8License: GPL
9Depends: 9Depends:
10Description: Special version of gammu / libgammu 10Description: Special version of gammu / libgammu
11 for Zaurus PDA and microkde 11 for Zaurus PDA and microkde
diff --git a/kmicrokdelibs.control b/kmicrokdelibs.control
index d894176..ef541a5 100644
--- a/kmicrokdelibs.control
+++ b/kmicrokdelibs.control
@@ -1,14 +1,14 @@
1Files: bin/db2file lib/libmicro* pics/kdepim/LICENCE.TXT 1Files: bin/db2file lib/libmicro* pics/kdepim/LICENCE.TXT
2 2
3Priority: optional 3Priority: optional
4Section: qpe/pim 4Section: qpe/pim
5Maintainer: Lutz Rogowski <lutz@pi-sync.net> 5Maintainer: Lutz Rogowski <lutz@pi-sync.net>
6Architecture: arm 6Architecture: arm
7Version: 1.9.4 7Version: $KDEPIM_VERSION
8License: GPL 8License: GPL
9Depends: 9Depends:
10Description: KOrganizer/Pi and Kaddressbook/Pi 10Description: KOrganizer/Pi and Kaddressbook/Pi
11 The embedded version of KOrganizer/Platform-independend, 11 The embedded version of KOrganizer/Platform-independend,
12 the KDE calendar and scheduling program 12 the KDE calendar and scheduling program
13 optimized for 640x480 and 320x240 resolution 13 optimized for 640x480 and 320x240 resolution
14 on Zaurus PDA 14 on Zaurus PDA
diff --git a/kopiemail.control b/kopiemail.control
index 52cf554..46a0235 100644
--- a/kopiemail.control
+++ b/kopiemail.control
@@ -1,14 +1,14 @@
1Files: bin/ompi apps/Pim/kopiemail.desktop pics/kdepim/kopiemail/* lib/libkmicro* 1Files: bin/ompi apps/Pim/kopiemail.desktop pics/kdepim/kopiemail/* lib/libkmicro*
2 2
3Priority: optional 3Priority: optional
4Section: qpe/pim 4Section: qpe/pim
5Maintainer: Lutz Rogowski <lutz@pi-sync.net> 5Maintainer: Lutz Rogowski <lutz@pi-sync.net>
6Architecture: arm 6Architecture: arm
7Version: 1.9.4 7Version: $KDEPIM_VERSION
8License: GPL 8License: GPL
9Depends: 9Depends:
10Description: KOrganizer/Pi and Kaddressbook/Pi 10Description: KOrganizer/Pi and Kaddressbook/Pi
11 The embedded version of KOrganizer/Platform-independend, 11 The embedded version of KOrganizer/Platform-independend,
12 the KDE calendar and scheduling program 12 the KDE calendar and scheduling program
13 optimized for 640x480 and 320x240 resolution 13 optimized for 640x480 and 320x240 resolution
14 on Zaurus PDA 14 on Zaurus PDA
diff --git a/korganizer-alarm.control b/korganizer-alarm.control
index b200ea9..68bc398 100644
--- a/korganizer-alarm.control
+++ b/korganizer-alarm.control
@@ -1,9 +1,9 @@
1Files: plugins/applets/libkopialarmapplet.* pics/ko16.png pics/ko24.png 1Files: plugins/applets/libkopialarmapplet.* pics/ko16.png pics/ko24.png
2Priority: optional 2Priority: optional
3Section: qpe/applications 3Section: qpe/applications
4Maintainer: Lutz Rogowski <lutz@pi-sync.net> 4Maintainer: Lutz Rogowski <lutz@pi-sync.net>
5Architecture: arm 5Architecture: arm
6Version: 1.9.4 6Version: $KDEPIM_VERSION
7License: GPL 7License: GPL
8Description: KOrganizer/Pi Alarm Daemon 8Description: KOrganizer/Pi Alarm Daemon
9 The alarm daemon needed by KOrganizer/Platform-independend showing alarms. 9 The alarm daemon needed by KOrganizer/Platform-independend showing alarms.
diff --git a/korganizer.control b/korganizer.control
index ee2e1a3..f66381e 100644
--- a/korganizer.control
+++ b/korganizer.control
@@ -1,14 +1,14 @@
1Files: bin/kopi apps/Pim/korganizer.desktop pics/kdepim/korganizer/* 1Files: bin/kopi apps/Pim/korganizer.desktop pics/kdepim/korganizer/*
2 2
3Priority: optional 3Priority: optional
4Section: qpe/pim 4Section: qpe/pim
5Maintainer: Lutz Rogowski <lutz@pi-sync.net> 5Maintainer: Lutz Rogowski <lutz@pi-sync.net>
6Architecture: arm 6Architecture: arm
7Version: 1.9.4 7Version: $KDEPIM_VERSION
8License: GPL 8License: GPL
9Depends: 9Depends:
10Description: KOrganizer/Pi and Kaddressbook/Pi 10Description: KOrganizer/Pi and Kaddressbook/Pi
11 The embedded version of KOrganizer/Platform-independend, 11 The embedded version of KOrganizer/Platform-independend,
12 the KDE calendar and scheduling program 12 the KDE calendar and scheduling program
13 optimized for 640x480 and 320x240 resolution 13 optimized for 640x480 and 320x240 resolution
14 on Zaurus PDA 14 on Zaurus PDA
diff --git a/pim_TAB_icon.control b/pim_TAB_icon.control
index 3b3343b..25e99ea 100644
--- a/pim_TAB_icon.control
+++ b/pim_TAB_icon.control
@@ -1,11 +1,11 @@
1Files: apps/Pim/.directory pics/ko24.png 1Files: apps/Pim/.directory pics/ko24.png
2 2
3Priority: optional 3Priority: optional
4Section: qpe/pim 4Section: qpe/pim
5Maintainer: Lutz Rogowski <lutz@pi-sync.net> 5Maintainer: Lutz Rogowski <lutz@pi-sync.net>
6Architecture: arm 6Architecture: arm
7Version: 1.9.4 7Version: $KDEPIM_VERSION
8License: GPL 8License: GPL
9Depends: 9Depends:
10Description: Icon for Pim TAB 10Description: Icon for Pim TAB
11 for Zaurus PDA and microkde 11 for Zaurus PDA and microkde
diff --git a/setZaurus b/setZaurus
index 4767716..2493ccb 100644
--- a/setZaurus
+++ b/setZaurus
@@ -1,18 +1,19 @@
1# copy this dir to /opt/Qtopia/examples/ 1# copy this dir to /opt/Qtopia/examples/
2# Now this file should be in the path /opt/Qtopia/examples/kdepim/setZaurus 2# Now this file should be in the path /opt/Qtopia/examples/kdepim/setZaurus
3# add the following line to ~/.bashrc without leading # 3# add the following line to ~/.bashrc without leading #
4# alias cz='source /opt/Qtopia/examples/kdepim/setZaurus' 4# alias cz='source /opt/Qtopia/examples/kdepim/setZaurus'
5# then type in terminal cz<return> to set the variables 5# then type in terminal cz<return> to set the variables
6# for cross-compiling 6# for cross-compiling
7export QPEDIR=/opt/Qtopia/sharp 7export QPEDIR=/opt/Qtopia/sharp
8export OPIEDIR=/kde_dev/opie 8export OPIEDIR=/kde_dev/opie
9#export BUILD_NO_OPIE_PLUGIN=1 9#export BUILD_NO_OPIE_PLUGIN=1
10#export BUILD_NO_SHARP_PLUGIN=1 10#export BUILD_NO_SHARP_PLUGIN=1
11#export BUILD_NO_GAMMU=1 11#export BUILD_NO_GAMMU=1
12export QTDIR=/opt/Qtopia/sharp 12export QTDIR=/opt/Qtopia/sharp
13export PATH=$QTDIR/bin:/opt/Embedix/tools/bin:$PATH 13export PATH=$QTDIR/bin:/opt/Embedix/tools/bin:$PATH
14export TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-sharp-g++ 14export TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-sharp-g++
15export PLATFORM=zaurus 15export PLATFORM=zaurus
16export RELEASE_DEBUG=release 16export RELEASE_DEBUG=release
17export SHARPDTMSDK=/opt/dtm 17export SHARPDTMSDK=/opt/dtm
18#export RELEASE_DEBUG=debug \ No newline at end of file 18#export RELEASE_DEBUG=debug
19export KDEPIM_VERSION=1.9.4a \ No newline at end of file