Switch to unified view

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.20.1
7
RCLVERS=1.20.3
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=2
10
PPAVERS=1
11
11
12
# 
12
# 
13
RCLSRC=/y/home/dockes/projets/fulltext/recoll/src
13
RCLSRC=/y/home/dockes/projets/fulltext/recoll/src
14
SCOPESRC=/y/home/dockes/projets/fulltext/unity-scope-recoll
14
SCOPESRC=/y/home/dockes/projets/fulltext/unity-scope-recoll
15
RCLDOWNLOAD=/y/home/dockes/projets/lesbonscomptes/recoll
15
16
16
case $RCLVERS in
17
case $RCLVERS in
17
    [23]*) PPANAME=recollexp-ppa;;
18
    [23]*) PPANAME=recollexp-ppa;;
18
    1.14*) PPANAME=recoll-ppa;;
19
    1.14*) PPANAME=recoll-ppa;;
19
    *)     PPANAME=recoll15-ppa;;
20
    *)     PPANAME=recoll15-ppa;;
...
...
28
}
29
}
29
30
30
check_recoll_orig()
31
check_recoll_orig()
31
{
32
{
32
    if test ! -f recoll_${RCLVERS}.orig.tar.gz ; then 
33
    if test ! -f recoll_${RCLVERS}.orig.tar.gz ; then 
33
        if test -f recoll-${RCLVERS}.tar.gz ; then
34
        cp -p $RCLDOWNLOAD/recoll-${RCLVERS}.tar.gz \
34
            mv recoll-${RCLVERS}.tar.gz recoll_${RCLVERS}.orig.tar.gz
35
            recoll_${RCLVERS}.orig.tar.gz || \
35
        else
36
            fatal "Can find neither recoll_${RCLVERS}.orig.tar.gz nor " \
36
            fatal "Can find neither recoll_${RCLVERS}.orig.tar.gz nor " \
37
                "recoll-${RCLVERS}.tar.gz"
37
            "recoll-${RCLVERS}.tar.gz"
38
        fi
39
    fi
38
    fi
40
}
39
}
41
40
42
####### QT4
41
####### QT4
43
debdir=debian
42
debdir=debian
44
# 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.
45
series="precise trusty utopic"
44
series="precise trusty utopic vivid"
46
series=
45
#series=precise
47
46
48
if test "X$series" != X ; then
47
if test "X$series" != X ; then
49
    check_recoll_orig
48
    check_recoll_orig
50
    test -d recoll-${RCLVERS} || tar xvzf recoll_${RCLVERS}.orig.tar.gz
49
    test -d recoll-${RCLVERS} || tar xvzf recoll_${RCLVERS}.orig.tar.gz
51
fi
50
fi
...
...
140
139
141
done
140
done
142
141
143
### Unity Scope
142
### Unity Scope
144
series="trusty utopic vivid"
143
series="trusty utopic vivid"
145
#series=
144
series=
146
145
147
debdir=debianunityscope
146
debdir=debianunityscope
148
if test ! -d ${debdir}/ ; then
147
if test ! -d ${debdir}/ ; then
149
    rm -f ${debdir}
148
    rm -f ${debdir}
150
    ln -s ${SCOPESRC}/debian $debdir
149
    ln -s ${SCOPESRC}/debian $debdir