diff --git a/packaging/debian/buildppa.sh b/packaging/debian/buildppa.sh index af6f1f65..0ee2ee56 100644 --- a/packaging/debian/buildppa.sh +++ b/packaging/debian/buildppa.sh @@ -5,22 +5,28 @@ # sudo apt-get install pkg-kde-tools cdbs RCLVERS=1.17.0 -PPAVERS=0 +LENSVERS=1.17.0.2644 +PPAVERS=1 case $RCLVERS in [23]*) PPANAME=recollexp-ppa;; 1.14*) PPANAME=recoll-ppa;; *) PPANAME=recoll15-ppa;; esac +PPANAME=recollexp-ppa + +echo "PPA: $PPANAME. Type CR if Ok, else ^C" +read rep ####### QT4 debdir=debianrclqt4 series4="lucid maverick natty oneiric precise" - -rm -rf recoll-${RCLVERS}/debian -cp -rp ${debdir}/ recoll-${RCLVERS}/debian +series4="" for series in $series4 ; do + rm -rf recoll-${RCLVERS}/debian + cp -rp ${debdir}/ recoll-${RCLVERS}/debian + if test -f $debdir/control-$series ; then cp -f -p $debdir/control-$series recoll-${RCLVERS}/debian/control else @@ -41,11 +47,39 @@ seriesk="lucid maverick natty oneiric precise" seriesk="" debdir=debiankio -rm -rf recoll-${RCLVERS}/debian -cp -rp ${debdir}/ recoll-${RCLVERS}/debian + for series in $seriesk ; do - sed -e s/SERIES/$series/g < ${debdir}/changelog > \ - recoll-${RCLVERS}/debian/changelog ; + + rm -rf recoll-${RCLVERS}/debian + cp -rp ${debdir}/ recoll-${RCLVERS}/debian + + sed -e s/SERIES/$series/g \ + -e s/PPAVERS/${PPAVERS}/g \ + < ${debdir}/changelog > recoll-${RCLVERS}/debian/changelog ; + (cd recoll-${RCLVERS};debuild -S -sa) || break + dput $PPANAME kio-recoll_${RCLVERS}-0~ppa${PPAVERS}~${series}1_source.changes + +done + +### Unity Lens +seriesl="natty oneiric precise" +seriesl="oneiric" + +debdir=debianunitylens + +for series in $seriesl ; do + + rm -rf recoll-lens-${LENSVERS}/debian + cp -rp ${debdir}/ recoll-lens-${LENSVERS}/debian + + sed -e s/SERIES/$series/g \ + -e s/PPAVERS/${PPAVERS}/g \ + < ${debdir}/changelog > recoll-lens-${LENSVERS}/debian/changelog ; + + (cd recoll-lens-${LENSVERS};debuild -S -sa) || break + + dput $PPANAME recoll-lens_${LENSVERS}-0~ppa${PPAVERS}~${series}1_source.changes + done diff --git a/packaging/debian/debiankio/changelog b/packaging/debian/debiankio/changelog index 66fc576e..718e2b09 100644 --- a/packaging/debian/debiankio/changelog +++ b/packaging/debian/debiankio/changelog @@ -1,6 +1,6 @@ -kio-recoll (1.17.0-0~ppa1~SERIES1) SERIES; urgency=low +kio-recoll (1.17.0-0~ppaPPAVERS~SERIES1) SERIES; urgency=low * Updated package to recoll version 1.17.0 - -- Jean-Francois Dockes Sun, 18 Mar 2012 18:05:00 +0200 + -- Jean-Francois Dockes Sun, 25 Mar 2012 18:05:00 +0200 kio-recoll (1.16.2-0~ppa1~SERIES1) SERIES; urgency=low * Updated package to recoll version 1.16.2 diff --git a/packaging/debian/debianunitylens/changelog b/packaging/debian/debianunitylens/changelog new file mode 100644 index 00000000..0a1b0989 --- /dev/null +++ b/packaging/debian/debianunitylens/changelog @@ -0,0 +1,3 @@ +recoll-lens (1.17.0.2643-1~ppaPPAVERS~SERIES1) SERIES; urgency=low + * Updated package to recoll version 1.17.0 + -- Jean-Francois Dockes Sun, 25 Mar 2012 16:42:00 +0200 diff --git a/packaging/debian/debianunitylens/compat b/packaging/debian/debianunitylens/compat new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/packaging/debian/debianunitylens/compat @@ -0,0 +1 @@ +5 diff --git a/packaging/debian/debianunitylens/control b/packaging/debian/debianunitylens/control new file mode 100644 index 00000000..fc556cc6 --- /dev/null +++ b/packaging/debian/debianunitylens/control @@ -0,0 +1,17 @@ +Source: recoll-lens +Section: x11 +Priority: optional +Maintainer: Jean-Francois Dockes +Build-Depends: debhelper (>= 7), + autotools-dev, + recoll, + python +Standards-Version: 3.9.2 + +Package: recoll-lens +Architecture: all +Depends: ${misc:Depends}, python, recoll, unity +Description:Unity Lens for searching the Recoll index. + Allows querying the Recoll index from the Unity Dash, optionally + filtering on file category. +Homepage: http://www.recoll.org diff --git a/packaging/debian/debianunitylens/copyright b/packaging/debian/debianunitylens/copyright new file mode 100644 index 00000000..47810ee9 --- /dev/null +++ b/packaging/debian/debianunitylens/copyright @@ -0,0 +1,20 @@ +This package was debianized by Jean-Francois Dockes on +Sun, 25 Mar 2012 16:31:00 +0200. + +It was downloaded from http://www.recoll.org + +Upstream Author: Jean-Francois Dockes + +Copyright: (C) 2012 Jean-Francois Dockes + +License: GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +Debian packaging is (C) 2012, Jean-Francois Dockes, same license. + +Derived from Original bliss apps lens by Mikkel Kamstrup Erlandsen: + Copyright 2011, Canonical Ltd + Authored by Mikkel Kamstrup Erlandsen + Distribute under the terms of the GNU General Public License v3 diff --git a/packaging/debian/debianunitylens/docs b/packaging/debian/debianunitylens/docs new file mode 100644 index 00000000..e845566c --- /dev/null +++ b/packaging/debian/debianunitylens/docs @@ -0,0 +1 @@ +README diff --git a/packaging/debian/debianunitylens/rules b/packaging/debian/debianunitylens/rules new file mode 100755 index 00000000..63fef561 --- /dev/null +++ b/packaging/debian/debianunitylens/rules @@ -0,0 +1,51 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +config.status: configure + dh_testdir + ./configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --mandir=\$${prefix}/share/man \ + --prefix=/usr \ + --sysconfdir=/etc + +build: build-stamp +build-stamp: config.status + dh_testdir + $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp config.log + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean Makefile + +install: + dh_testdir + dh_testroot + dh_prep + dh_installdirs + $(MAKE) prefix=$(CURDIR)/debian/recoll-lens/usr install + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs README + dh_link + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep +.PHONY: build clean binary-indep binary-arch binary install diff --git a/packaging/debian/debianunitylens/watch b/packaging/debian/debianunitylens/watch new file mode 100644 index 00000000..708fd568 --- /dev/null +++ b/packaging/debian/debianunitylens/watch @@ -0,0 +1,12 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# +http://www.recoll.org/download.html recoll-lens-(.*)\.tar\.gz +