|
a/packaging/debian/buildppa.sh |
|
b/packaging/debian/buildppa.sh |
|
... |
|
... |
3 |
# sudo apt-get install g++ gnupg dput lintian mini-dinstall yaclc bzr devscripts
|
3 |
# sudo apt-get install g++ gnupg dput lintian mini-dinstall yaclc bzr devscripts
|
4 |
# For the kio: (and kdesdk?)
|
4 |
# For the kio: (and kdesdk?)
|
5 |
# sudo apt-get install pkg-kde-tools cdbs
|
5 |
# sudo apt-get install pkg-kde-tools cdbs
|
6 |
|
6 |
|
7 |
RCLVERS=1.17.0
|
7 |
RCLVERS=1.17.0
|
|
|
8 |
LENSVERS=1.17.0.2644
|
8 |
PPAVERS=0
|
9 |
PPAVERS=1
|
9 |
|
10 |
|
10 |
case $RCLVERS in
|
11 |
case $RCLVERS in
|
11 |
[23]*) PPANAME=recollexp-ppa;;
|
12 |
[23]*) PPANAME=recollexp-ppa;;
|
12 |
1.14*) PPANAME=recoll-ppa;;
|
13 |
1.14*) PPANAME=recoll-ppa;;
|
13 |
*) PPANAME=recoll15-ppa;;
|
14 |
*) PPANAME=recoll15-ppa;;
|
14 |
esac
|
15 |
esac
|
|
|
16 |
PPANAME=recollexp-ppa
|
|
|
17 |
|
|
|
18 |
echo "PPA: $PPANAME. Type CR if Ok, else ^C"
|
|
|
19 |
read rep
|
15 |
|
20 |
|
16 |
####### QT4
|
21 |
####### QT4
|
17 |
debdir=debianrclqt4
|
22 |
debdir=debianrclqt4
|
18 |
series4="lucid maverick natty oneiric precise"
|
23 |
series4="lucid maverick natty oneiric precise"
|
19 |
|
24 |
series4=""
|
20 |
rm -rf recoll-${RCLVERS}/debian
|
|
|
21 |
cp -rp ${debdir}/ recoll-${RCLVERS}/debian
|
|
|
22 |
|
25 |
|
23 |
for series in $series4 ; do
|
26 |
for series in $series4 ; do
|
|
|
27 |
rm -rf recoll-${RCLVERS}/debian
|
|
|
28 |
cp -rp ${debdir}/ recoll-${RCLVERS}/debian
|
|
|
29 |
|
24 |
if test -f $debdir/control-$series ; then
|
30 |
if test -f $debdir/control-$series ; then
|
25 |
cp -f -p $debdir/control-$series recoll-${RCLVERS}/debian/control
|
31 |
cp -f -p $debdir/control-$series recoll-${RCLVERS}/debian/control
|
26 |
else
|
32 |
else
|
27 |
cp -f -p $debdir/control recoll-${RCLVERS}/debian/control
|
33 |
cp -f -p $debdir/control recoll-${RCLVERS}/debian/control
|
28 |
fi
|
34 |
fi
|
|
... |
|
... |
39 |
### KIO
|
45 |
### KIO
|
40 |
seriesk="lucid maverick natty oneiric precise"
|
46 |
seriesk="lucid maverick natty oneiric precise"
|
41 |
seriesk=""
|
47 |
seriesk=""
|
42 |
|
48 |
|
43 |
debdir=debiankio
|
49 |
debdir=debiankio
|
44 |
rm -rf recoll-${RCLVERS}/debian
|
50 |
|
45 |
cp -rp ${debdir}/ recoll-${RCLVERS}/debian
|
|
|
46 |
for series in $seriesk ; do
|
51 |
for series in $seriesk ; do
|
47 |
sed -e s/SERIES/$series/g < ${debdir}/changelog > \
|
52 |
|
48 |
recoll-${RCLVERS}/debian/changelog ;
|
53 |
rm -rf recoll-${RCLVERS}/debian
|
|
|
54 |
cp -rp ${debdir}/ recoll-${RCLVERS}/debian
|
|
|
55 |
|
|
|
56 |
sed -e s/SERIES/$series/g \
|
|
|
57 |
-e s/PPAVERS/${PPAVERS}/g \
|
|
|
58 |
< ${debdir}/changelog > recoll-${RCLVERS}/debian/changelog ;
|
|
|
59 |
|
49 |
(cd recoll-${RCLVERS};debuild -S -sa) || break
|
60 |
(cd recoll-${RCLVERS};debuild -S -sa) || break
|
|
|
61 |
|
50 |
dput $PPANAME kio-recoll_${RCLVERS}-0~ppa${PPAVERS}~${series}1_source.changes
|
62 |
dput $PPANAME kio-recoll_${RCLVERS}-0~ppa${PPAVERS}~${series}1_source.changes
|
|
|
63 |
|
51 |
done
|
64 |
done
|
|
|
65 |
|
|
|
66 |
### Unity Lens
|
|
|
67 |
seriesl="natty oneiric precise"
|
|
|
68 |
seriesl="oneiric"
|
|
|
69 |
|
|
|
70 |
debdir=debianunitylens
|
|
|
71 |
|
|
|
72 |
for series in $seriesl ; do
|
|
|
73 |
|
|
|
74 |
rm -rf recoll-lens-${LENSVERS}/debian
|
|
|
75 |
cp -rp ${debdir}/ recoll-lens-${LENSVERS}/debian
|
|
|
76 |
|
|
|
77 |
sed -e s/SERIES/$series/g \
|
|
|
78 |
-e s/PPAVERS/${PPAVERS}/g \
|
|
|
79 |
< ${debdir}/changelog > recoll-lens-${LENSVERS}/debian/changelog ;
|
|
|
80 |
|
|
|
81 |
(cd recoll-lens-${LENSVERS};debuild -S -sa) || break
|
|
|
82 |
|
|
|
83 |
dput $PPANAME recoll-lens_${LENSVERS}-0~ppa${PPAVERS}~${series}1_source.changes
|
|
|
84 |
|
|
|
85 |
done
|