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

Re: Apache Tika for #499606

Hi Patrick,

nice to hear from you again! :-) Please subscribe also to the debian-java list 
as described here:
The pkg-java-maintainers list is not for discussions but for some kind of 
status mails.

More replies inline:

Patrick Yuen:
> Dear All,
> After reading http://wiki.debian.org/HowToPackageForDebian directed by
> Thomas Koch. I have drafted apache tika in git format at
> http://git.debian.org/?p=collab-maint/tika.git;a=summary
> It was done after referenced solr and ivy. Up to this point, i do need some
> help or ideas how to continue.
> Please download and have a quick look.
> git clone http://git.debian.org/git/collab-maint/tika.git
> git checkout debian/0.7

I'd strongly advise against using topgit:

'master' should be the branch containing the debian/ dir. If you're using git-
buildpackage, then this is also the default.

> 1. Missing Dependencies is written in README.Debian ... since i could not
> find from debian packages repository, i guess it might be missing or may be
> it is there in different name ?
> Full dependency is listed at
> http://tika.apache.org/0.7/gettingstarted.html. Three missing dependencies
> are ...
> > poi-ooxml-3.6.jar
> > poi-ooxml-schemas-3.6.jar
> > geronimo-stax-api_1.0_spec-1.0.jar
Torsten Werner, a DD, provides an autogenerated list of all Java Classes in 
all JARs in all Debian Java packages:

(Would be fine to have this as API somedays...)

I checked the file and indeed it seems no package in Debian contains these jar 
files. I just created this wiki page for you:

> 2. MavenBuilder - http://wiki.debian.org/Java/MavenBuilder ... Does it
> suppose to get all the dependencies from /usr/share/maven-repo or i need to
> do something, because some packages are in debian but not in maven-repo ...
> refer README.Debian
AFAIK MavenBuilder can only use those dependencies that are available in 
/usr/share/maven-repo. There are many Debian-Java packages which are not 
availabe there. You're very welcome to help there too. :-)

> 3. Need help on build.xml and pom.xml ... not familiar on ant and maven at
> all.
Could you please be more specific?

> 4. Is the package name correct ? tika or libtika-java ? it does have a gui
> application after maven built.
You should build at least three binary packages: libtika-java to be reused 
e.g. by SOLR, tika-gui (or another name) and libtika-java-doc for the javadoc 
and any other documentation that may be included in tika.

> Thanks.
You too.
> ~Pat.

Thomas Koch, http://www.koch.ro

Reply to: