This commit is contained in:
Jean-Francois Dockes 2013-11-10 18:46:00 +01:00
commit c80422a8e5
6 changed files with 64 additions and 11 deletions

View file

@ -1,4 +1,4 @@
unity-scope-recoll (0.1) saucy; urgency=low unity-scope-recoll (1.20.0.3506) saucy; urgency=low
* Initial port of the recoll lens to the new Dash * Initial port of the recoll lens to the new Dash
-- Jean-Francois Dockes <jf@dockes.org> Wed, 06 Nov 2013 15:23:00 +0200 -- Jean-Francois Dockes <jf@dockes.org> Wed, 06 Nov 2013 15:23:00 +0200

View file

@ -1,17 +1,16 @@
Source: unity-scope-gdrive Source: unity-scope-recoll
Section: gnome Section: gnome
Priority: extra Priority: extra
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Build-Depends: debhelper (>= 9), Build-Depends: debhelper (>= 9),
libaccounts-glib-dev,
pkg-config, pkg-config,
python3, python3,
python3-distutils-extra, # python3-distutils-extra,
python3-nose, # python3-nose,
python3-gi, python3-gi,
gir1.2-glib-2.0, gir1.2-glib-2.0,
gir1.2-unity-5.0 (>= 7.0), gir1.2-unity-5.0 (>= 7.0),
Standards-Version: 3.9.3 Standards-Version: 3.9.4
Homepage: https://launchpad.net/unity-scope-recoll Homepage: https://launchpad.net/unity-scope-recoll
Package: unity-scope-recoll Package: unity-scope-recoll
@ -25,7 +24,7 @@ Depends: ${misc:Depends},
unity-scopes-runner, unity-scopes-runner,
gir1.2-glib-2.0, gir1.2-glib-2.0,
recoll, recoll,
python-recoll python3-recoll
Description: Recoll scope for Unity Description: Recoll scope for Unity
Unity scope for Recoll Unity scope for Recoll

View file

@ -13,9 +13,6 @@ override_dh_auto_clean:
override_dh_auto_build: override_dh_auto_build:
python3 setup.py build python3 setup.py build
override_dh_auto_test:
nosetests3
override_dh_auto_install: override_dh_auto_install:
python3 setup.py install --root=$(CURDIR)/debian/unity-scope-recoll --install-layout=deb python3 setup.py install --root=$(CURDIR)/debian/unity-scope-recoll --install-layout=deb

View file

@ -1,2 +1,2 @@
version=3 version=3
http://www.recoll.org/unity-scope-recoll-([0-9.]+)\.tar\.gz http://www.recoll.org/recoll-([0-9.]+)\.tar\.gz

View file

@ -0,0 +1,4 @@
mkdist.sh
debian
autom4te.cache
excludefile

View file

@ -0,0 +1,53 @@
#!/bin/sh
fatal() {
echo $*
exit 1
}
usage() {
echo 'Usage: mkdist.sh '
exit 1
}
VCCMD=hg
TAR=/usr/bin/tar
TAR=tar
VRECOLL=`cat ../../VERSION`
VLENS=`hg tip | egrep ^changeset: | awk '{print $2}' | awk -F: '{print $1}'`
VERSION=${VRECOLL}.${VLENS}
echo $VERSION
targetdir=${targetdir-/tmp}
checkmodified=${checkmodified-yes}
#editedfiles=`$VCCMD status . | egrep -v '^\?'`
if test "$checkmodified" = "yes" -a ! -z "$editedfiles"; then
fatal "Edited files exist: " $editedfiles
fi
releasename=recoll-scope-${VERSION}
topdir=$targetdir/$releasename
if test ! -d $topdir ; then
mkdir $topdir || exit 1
else
echo "Removing everything under $topdir Ok ? (y/n)"
read rep
if test $rep = 'y';then
rm -rf $topdir/*
fi
fi
# Clean up this dir and copy the dist-specific files
#make distclean
yes | clean.O
$TAR chfX - excludefile . | (cd $topdir;$TAR xf -)
out=$releasename.tar.gz
(cd $targetdir ; \
$TAR chf - $releasename | \
gzip > $out)
echo "$targetdir/$out created"