a/packaging/debian/buildppa.sh b/packaging/debian/buildppa.sh
...
...
2
# Packages needed
2
# Packages needed
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.21.0
7
RCLVERS=1.22.0
8
LENSVERS=1.19.10.3543
8
LENSVERS=1.19.10.3543
9
SCOPEVERS=1.20.2.4
9
SCOPEVERS=1.20.2.4
10
PPAVERS=1
10
PPAVERS=1
11
11
12
# 
12
# 
...
...
40
40
41
####### QT4
41
####### QT4
42
debdir=debian
42
debdir=debian
43
# Note: no new releases for lucid: no webkit. Or use old debianrclqt4 dir.
43
# Note: no new releases for lucid: no webkit. Or use old debianrclqt4 dir.
44
#series="precise trusty vivid"
44
#series="precise trusty vivid"
45
series=
45
series=trusty
46
46
47
if test "X$series" != X ; then
47
if test "X$series" != X ; then
48
    check_recoll_orig
48
    check_recoll_orig
49
    test -d recoll-${RCLVERS} || tar xvzf recoll_${RCLVERS}.orig.tar.gz
49
    test -d recoll-${RCLVERS} || tar xvzf recoll_${RCLVERS}.orig.tar.gz
50
fi
50
fi
...
...
69
  dput $PPANAME recoll_${RCLVERS}-1~ppa${PPAVERS}~${series}1_source.changes
69
  dput $PPANAME recoll_${RCLVERS}-1~ppa${PPAVERS}~${series}1_source.changes
70
done
70
done
71
71
72
### KIO
72
### KIO
73
series="precise trusty vivid"
73
series="precise trusty vivid"
74
series=vivid
74
series=
75
75
76
debdir=debiankio
76
debdir=debiankio
77
topdir=kio-recoll-${RCLVERS}
77
topdir=kio-recoll-${RCLVERS}
78
if test "X$series" != X ; then
78
if test "X$series" != X ; then
79
    check_recoll_orig
79
    check_recoll_orig
...
...
153
    if test ! -f unity-scope-recoll_${SCOPEVERS}.orig.tar.gz ; then 
153
    if test ! -f unity-scope-recoll_${SCOPEVERS}.orig.tar.gz ; then 
154
        if test -f unity-scope-recoll-${SCOPEVERS}.tar.gz ; then
154
        if test -f unity-scope-recoll-${SCOPEVERS}.tar.gz ; then
155
            mv unity-scope-recoll-${SCOPEVERS}.tar.gz \
155
            mv unity-scope-recoll-${SCOPEVERS}.tar.gz \
156
                unity-scope-recoll_${SCOPEVERS}.orig.tar.gz
156
                unity-scope-recoll_${SCOPEVERS}.orig.tar.gz
157
        else
157
        else
158
            if test -f $RCLDOWNLOAD/unity-scope-recoll-${SCOPEVERS}.tar.gz;then
159
                cp -p $RCLDOWNLOAD/unity-scope-recoll-${SCOPEVERS}.tar.gz \
160
                   unity-scope-recoll_${SCOPEVERS}.orig.tar.gz || fatal copy
161
            else
158
            fatal "Can find neither " \
162
                fatal "Can find neither " \
159
                "unity-scope-recoll_${SCOPEVERS}.orig.tar.gz nor " \
163
                      "unity-scope-recoll_${SCOPEVERS}.orig.tar.gz nor " \
160
                "unity-scope-recoll-${SCOPEVERS}.tar.gz"
164
                      "$RCLDOWNLOAD/unity-scope-recoll-${SCOPEVERS}.tar.gz"
165
            fi
161
        fi
166
        fi
162
    fi
167
    fi
163
    test -d $topdir ||  tar xvzf unity-scope-recoll_${SCOPEVERS}.orig.tar.gz \
168
    test -d $topdir ||  tar xvzf unity-scope-recoll_${SCOPEVERS}.orig.tar.gz \
164
        || exit 1
169
        || exit 1
165
fi
170
fi