[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: seeking co-maintainer for Lucene



Wed, 10 Nov 2004 11:38:22 -0800, 
Jeff Breidenbach <jeff@jab.org> wrote: 

> The Lucene package is in pretty good shape.
>
>  * No non-wishlist bugs
>  * 100% lintian clean
>  * Reasonably packaged (self tests and everything)
>  * Up to date with upstream
>  * Popular according to popularity-contest
>  * Not that complicated
>
> This would be a great package to have in main. I'm looking for a
> co-maintainer interested in helping it get there. If you are
> interested, please send an email (with or without patch!) to
> 272295@bugs.debian.org.

Yo Jeff!

I think the first thing I can do to help you is to invite you to
pkg-java Alioth's group. Get an account and email-me, I'll add you to
the group. Then you can make lucene a 'public' package
(pkg-java-maintainers@lists.alioth.debian.org as maintainer and you and
others as uploaders). Then you can put the debian tree in the cvs so
it'll be easy for everyone to work on it and send you patches.

The second thing I can do is to convert the build system to cdbs. This
way, it'll be easy to switch compiler and VM's to build lucene. Attached
is a new debian/rules file to build liblucene-java with cdbs. Of course,
you'll need to add cdbs to your build-deps. Maybe you could also change
ant to libant1.6-java.

I also attach a patch to build.xml because it was not possible for me to
build lucene without this patch.

Now, for your information. I've been unable to build lucene with
jikes. Maybe it's the first step to move it to main. The second step
will be to build it with kaffe or sablevm.

Side note: we have to work on cdbs-ant to get javadoc working when no
           JAVA_HOME env var is set.

PS: I don't tag your bug patch because the build does not work completely
    (I did change version number to 1.4.1, maybe it should be as you did
    1.4) and you have to tweak the debian/control file.

Cheers,

-- 
  .''`. 
 : :' :rnaud
 `. `'  
   `-    
#!/usr/bin/make -f
# debian/rules for liblucene-java

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# This is the debhelper compatibility version to use.
#export DH_COMPAT=4
export JITC_PROCESSOR_TYPE=6
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

JAVA_HOME_DIRS       := /usr/local/IBMJava2-ppc-142 /usr/lib/kaffe
#JAVACMD							 := /usr/bin/java-sablevm
ANT_HOME             := /usr/share/ant1.6
DEB_JARS             := junit /usr/share/ant1.6/lib/ant-launcher.jar
#DEB_ANT_COMPILER     := jikes
DEB_ANT_COMPILER     := modern
DEB_ANT_BUILD_TARGET := javacc package
DEB_ANT_TEST_TARGET  := test

LIBRARY=lucene
VERSION=1.4.1

install/lib${LIBRARY}-java::
	#install -m 644 dist/${LIBRARY}.jar debian/lib${LIBRARY}-java/usr/share/java/${LIBRARY}-${VERSION}.jar
	#echo "usr/share/java/${LIBRARY}-${VERSION}.jar usr/share/java/${LIBRARY}.jar" > debian/lib${LIBRARY}-java.links
	#cp -a dist/docs/ debian/lib${LIBRARY}-java/usr/share/doc/lib${LIBRARY}-java/
	mkdir -p $(CURDIR)/debian/lib$(LIBRARY)-java/usr/share/java
	mkdir -p $(CURDIR)/debian/lib$(LIBRARY)-java/var/lib/tomcat4/webapps

	# Add here commands to install the package into debian/lucene.
	install -m 644	build/${LIBRARY}-$(VERSION).jar \
			build/$(LIBRARY)-demos-$(VERSION).jar \
			$(CURDIR)/debian/lib$(LIBRARY)-java/usr/share/java

	install -m 644	build/luceneweb.war \
			$(CURDIR)/debian/lib$(LIBRARY)-java/var/lib/tomcat4/webapps

	dh_movefiles --sourcedir=debian/lib${LIBRARY}-java

clean::
	-rm debian/lib${LIBRARY}-java.links
	-rm -rf $(CURDIR)/debian/lib$(LIBRARY)-java/usr/share/java
	-rm -rf $(CURDIR)/debian/lib$(LIBRARY)-java/var/lib/tomcat4/webapps
--- build.xml.old	2004-11-11 23:28:57.734909664 +0100
+++ build.xml	2004-11-11 23:29:28.126289472 +0100
@@ -7,13 +7,6 @@
   <property file="${user.home}/lucene.build.properties"/>
   <property file="${user.home}/build.properties"/>
   <property file="${basedir}/build.properties"/>
-
-  <tstamp>
-    <format property="current.year" pattern="yyyy"/>
-    <format property="DSTAMP" pattern="yyyy-MM-dd"/>
-    <format property="TSTAMP" pattern="HH:mm:ss"/>
-  </tstamp>
-
   <property name="name" value="lucene"/>
   <property name="Name" value="Lucene"/>
   <property name="version" value="1.4"/>
@@ -85,6 +78,12 @@
     <mkdir dir="${build.dir}"/>
     <mkdir dir="${dist.dir}"/>
 
+    <tstamp>
+      <format property="current.year" pattern="yyyy"/>
+      <format property="DSTAMP" pattern="yyyy-MM-dd"/>
+      <format property="TSTAMP" pattern="HH:mm:ss"/>
+    </tstamp>
+
     <available
       property="javacc.present"
       classname="${javacc.main.class}"

Reply to: