This is an automated email from the git hooks/post-receive script. seamlik-guest pushed a commit to branch master in repository lucene2.
commit bac4e7766a8f8726ab470397e77c707af164ef7f Author: Jan-Pascal van Best <[email protected]> Date: Wed Aug 1 20:31:34 2007 +0000 Handled comments by Jeff and Michael --- debian/README.Debian | 28 ++++++++++++---------------- debian/control | 2 +- debian/copyright | 11 ++++++++--- debian/download-upstream | 31 ++++++++++++++++++++++++++----- debian/patches/00list | 1 + debian/patches/61_lucli-script.dpatch | 22 ++++++++++++++++++++++ debian/rules | 32 +++++++++----------------------- 7 files changed, 79 insertions(+), 48 deletions(-) diff --git a/debian/README.Debian b/debian/README.Debian index 43a9aab..0b26ed8 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -1,9 +1,6 @@ -Debian notes for Lucene-2.1.0 +Debian notes for Lucene-2.2.0 ----------------------------- -Lucene 2.1.0 is packaged separately from Lucene 1.4.3, because of -API changes between the two versions. - There are two binary packages: - liblucene2-java contains the core lucene library and most contrib libraries @@ -18,28 +15,26 @@ Not all contrib libraries are included: Google Data API (com.google.gdata) packages are not in Debian The Javadoc(TM) for Lucene are included in the liblucene2-java-doc -package, in /usr/share/doc/liblucene2-java-doc/docs/api FIXME +package, in /usr/share/doc/liblucene2-java-doc/docs/api The Lucene demo applications are included in the liblucene2-java-doc -package, in /usr/share/doc/liblucene2-java-doc/demo. - - -The demonstration applications require additional configuration to be -used. To configure and run the demonstration command-line applications -for Lucene, see the following documentation and source code walkthrough: +package, in /usr/share/doc/liblucene2-java-doc/demo. The demonstration +applications require additional configuration to be used. To configure +and run the demonstration command-line applications for Lucene, see +the following documentation and source code walkthrough: - /usr/share/doc/liblucene-java-doc/docs/demo.html - /usr/share/doc/liblucene-java-doc/docs/demo2.html + /usr/share/doc/liblucene2-java-doc/docs/demo.html + /usr/share/doc/liblucene2-java-doc/docs/demo2.html For information on configuring the Lucene web application to be run in a Java(TM) web container such as Tomcat, see the following documentation and source code walkthrough: - /usr/share/doc/liblucene-java-doc/docs/demo3.html - /usr/share/doc/liblucene-java-doc/docs/demo4.html + /usr/share/doc/liblucene2-java-doc/docs/demo3.html + /usr/share/doc/liblucene2-java-doc/docs/demo4.html Several modifications are required if you wish to run the Lucene web -application on a stock Debian tomcat4 configuration. Note that Debian's +application on a stock Debian tomcat5.5 configuration. Note that Debian's default Tomcat configuration may have changed since these instructions were written. @@ -61,4 +56,5 @@ permission java.io.FilePermission "/var/lib/tomcat4/temp", "read,write,delete"; permission java.io.FilePermission "/var/lib/tomcat4/temp/*", "read,write,delete"; -- Barry Hawkins <[email protected]>, Fri, 5 May 2006 23:53:38 -0400 + Jan-Pascal van Best <[email protected]>, Thu, 12 Jul 2007 07:57:20 +0200 diff --git a/debian/control b/debian/control index 63812a6..5758763 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,7 @@ Uploaders: Jan-Pascal van Best <[email protected]>, Barry Hawkins <barry@all Jeff Breidenbach <[email protected]>, Michael Koch <[email protected]> XS-Vcs-Browser: http://www.vanbest.org/websvn/lucene2 XS-Vcs-svn: http://svn.vanbest.org/svn/lucene2 -Build-Depends: debhelper (>= 4.0.0), dpatch (>= 2.0), sun-java5-jre, sun-java5-jdk, ant, +Build-Depends: debhelper (>= 4.0.0), dpatch (>= 2.0), sun-java5-jre, sun-java5-jdk, ant-optional, javacc, junit, libxalan2-java Build-Depends-Indep: libjtidy-java (>= 7), libjline-java (>= 0.9.5), diff --git a/debian/copyright b/debian/copyright index 22b4a02..5928a05 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,10 +1,15 @@ This package was debianized by Jan-Pascal van Best <[email protected]> on -Wed, 11 Apr 2007 14:00:46 +0200. +Thu, 12 Jul 2007 08:21:19 +0200 It was downloaded from -http://www.apache.org/dist/lucene/java/lucene-2.1.0-src.tar.gz +http://www.apache.org/dist/lucene/java/lucene-2.2.0-src.tar.gz -Copyright Holder: Doug Cutting <[email protected]>, Erik Hatcher +The lucene2_2.2.0.orig.tar.gz tarball was created by removing all +third party jars from the above upstream source. Use the script +debian/get-orig-source.sh to download the upstream source and +create lucene2_2.2.0.orig.tar.gz + +Copyright Holders: Doug Cutting <[email protected]>, Erik Hatcher <[email protected]>, Otis Gospodnetic <[email protected]> et.al. License: diff --git a/debian/download-upstream b/debian/download-upstream index 534bb2d..8d9eb6c 100755 --- a/debian/download-upstream +++ b/debian/download-upstream @@ -1,19 +1,22 @@ #!/bin/bash -DEHS=`( uscan --dehs ; echo "</dehs>" )` +DEHS=`( uscan --dehs )` URL=`echo $DEHS | xsltproc debian/uscan-url.xslt -` VERSION=`echo $DEHS | xsltproc debian/uscan-upstream-version.xslt -` -SOURCEFILE=../lucene2_$VERSION.orig.tar.gz -SIGFILE=../lucene2_$VERSION.orig.tar.gz.asc +DESTDIR=$PWD/.. +PRISTINE_SOURCEFILE=$DESTDIR/lucene-$VERSION-src.tar.gz +SIGFILE=$DESTDIR/lucene-$VERSION-src.tar.gz.asc +SOURCETAR=$DESTDIR/lucene2_$VERSION.orig.tar +SOURCETARGZ=$DESTDIR/lucene2_$VERSION.orig.tar.gz KEYURL="http://www.apache.org/dist/lucene/java/KEYS" KEYFILE="debian/KEYS" KEYRING="debian/lucene-keyring.gpg" # Download source tarball and signature file -wget "$URL" -O $SOURCEFILE +wget "$URL" -O $PRISTINE_SOURCEFILE wget "$URL.asc" -O $SIGFILE # If necessary, recreate keyring used for signing @@ -28,7 +31,25 @@ if [ ! -r $KEYRING ]; then fi # Check signature -gpgv --quiet --keyring $KEYRING $SIGFILE $SOURCEFILE +gpgv --quiet --keyring $KEYRING $SIGFILE $PRISTINCE_SOURCEFILE echo "Check whether the archive has been signed by Michael Busch (Lucene Committer) <[email protected]>, key ID 6BD872A0" +# Repackage upstream source file without the third party jars +TEMPDIR=`mktemp -d` +echo "Unpacking into tempdir $TEMPDIR..." +tar xzf $PRISTINE_SOURCEFILE -C $TEMPDIR + +echo "Removing third party jars..." +find $TEMPDIR -name \*.jar -exec rm {} \; + +echo "Packing new orig source tarball $SOURCEFILE..." +rm -f $SOURCETAR $SOURCETARGZ +cd $TEMPDIR +tar cf $SOURCETAR * +gzip -9 $SOURCETAR +cd $DESTDIR + +echo "Removing tempdir..." +rm -rf "$TEMPDIR" + diff --git a/debian/patches/00list b/debian/patches/00list index 16abad5..58f9e09 100644 --- a/debian/patches/00list +++ b/debian/patches/00list @@ -6,4 +6,5 @@ 50_fix-contrib-db-libs.dpatch 55_disable-db-jre-compilation.dpatch 60_fix-contrib-lucli-libs.dpatch +61_lucli-script.dpatch 70_fix-contrib-regex-libs.dpatch diff --git a/debian/patches/61_lucli-script.dpatch b/debian/patches/61_lucli-script.dpatch new file mode 100755 index 0000000..9a586ba --- /dev/null +++ b/debian/patches/61_lucli-script.dpatch @@ -0,0 +1,22 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 61_lucli-script.dpatch by Jan-Pascal van Best <[email protected]> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad trunk~/contrib/lucli/run.sh trunk/contrib/lucli/run.sh +--- trunk~/contrib/lucli/run.sh 2007-06-17 07:21:04.000000000 +0200 ++++ trunk/contrib/lucli/run.sh 2007-07-12 07:33:09.000000000 +0200 +@@ -1,6 +1,7 @@ +-LUCLI=. ++#!/bin/sh ++ ++LUCLI=/usr/share/java + LUCLI_MEMORY=128M +-#JAVA_HOME=/home/dror/j2sdk1.4.1_03/ +-CLASSPATH=${CLASSPATH}:$LUCLI/lib/jline.jar:$LUCLI/lib/lucene.jar:$LUCLI/dist/lucli-dev.jar ++CLASSPATH=${CLASSPATH}:$LUCLI/jline.jar:$LUCLI/lucene-core.jar:$LUCLI/lucene-lucli.jar + export CLASSPATH +-$JAVA_HOME/bin/java -Xmx${LUCLI_MEMORY} lucli.Lucli ++java -Xmx${LUCLI_MEMORY} lucli.Lucli diff --git a/debian/rules b/debian/rules index 58bb1d9..facd0ce 100755 --- a/debian/rules +++ b/debian/rules @@ -60,8 +60,7 @@ build: build-arch build-indep build-arch: build-arch-stamp build-arch-stamp: configure-stamp - # Add here commands to compile the arch part of the package. - #$(MAKE) + # Nothing to do, this package does not have an arch part. touch build-arch-stamp build-indep: build-indep-stamp @@ -73,8 +72,8 @@ build-indep-stamp: configure-stamp $(ANT) jar-core $(ANT) build-contrib $(ANT) war-demo - # Skipping until production time... - $(ANT) test + # Skipping (very time consuming) until production time... + # $(ANT) test $(ANT) javadocs touch build-indep-stamp @@ -84,8 +83,6 @@ clean: unpatch dh_testroot rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP# - # Add here commands to clean up after the build process. - # -$(MAKE) clean $(ANT) clean # 'ant test' in contrib/db leave some stuff behind... @@ -127,9 +124,9 @@ install-indep: mkdir -p $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/ cp -r docs $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/ cp -r build/docs/* $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/docs/ - install -d $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java/demo - install -m 644 build/lucene-demos-$(LUCENE_VERSION).jar $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java/demo/ - install -m 644 build/luceneweb.war $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java/demo/ + install -d $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/demo + install -m 644 build/lucene-demos-$(LUCENE_VERSION).jar $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/demo/ + install -m 644 build/luceneweb.war $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/demo/ dh_install -i @@ -139,11 +136,10 @@ install-arch: dh_clean -k -s dh_installdirs -s - # Add here commands to install the arch part of the package into - # debian/tmp. - # $(MAKE) install DESTDIR=$(CURDIR)/debian/lucene + # Nothing to do, this package does not have an arch part. dh_install -s + # Must not depend on anything. This is to be called by # binary-arch/binary-indep # in another 'make' thread. @@ -153,28 +149,18 @@ binary-common: dh_installchangelogs CHANGES.txt dh_installdocs dh_installexamples -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit -# dh_installcron -# dh_installinfo dh_installman dh_link dh_strip dh_compress dh_fixperms -# dh_perl -# dh_python dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb + # Build architecture independant packages using the common target. binary-indep: build-indep install-indep $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/lucene2.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

