[pkg-java] r12311 - in trunk/uimaj/debian: . freedesktop patches
Damien Raude-Morvan
drazzib at alioth.debian.org
Tue May 4 22:37:08 UTC 2010
Author: drazzib
Date: 2010-05-04 22:37:08 +0000 (Tue, 04 May 2010)
New Revision: 12311
Added:
trunk/uimaj/debian/README.source
trunk/uimaj/debian/orig-tar.exclude
trunk/uimaj/debian/orig-tar.sh
trunk/uimaj/debian/uima-utils.README.Debian
Modified:
trunk/uimaj/debian/TODO
trunk/uimaj/debian/changelog
trunk/uimaj/debian/freedesktop/uima-annotationviewer.desktop
trunk/uimaj/debian/freedesktop/uima-cpegui.desktop
trunk/uimaj/debian/freedesktop/uima-documentanalyzer.desktop
trunk/uimaj/debian/patches/script.diff
trunk/uimaj/debian/rules
trunk/uimaj/debian/watch
Log:
Initial upload
Added: trunk/uimaj/debian/README.source
===================================================================
--- trunk/uimaj/debian/README.source (rev 0)
+++ trunk/uimaj/debian/README.source 2010-05-04 22:37:08 UTC (rev 12311)
@@ -0,0 +1,12 @@
+Files removed from upstream source tarball
+==========================================
+
+Removed:
+ * uima-docbook-tool/tools/common-lib/*.jar
+ * uimaj-eclipse-update-site/features/*.jar
+
+Retained:
+ * uimaj-core/src/test/resources/ClassLoaderTest/classLoadingTest.jar:
+ - source code is here :
+ uimaj-core/src/test/java/org/apache/uima/internal/util/ClassloadingTestClass.java
+
Modified: trunk/uimaj/debian/TODO
===================================================================
--- trunk/uimaj/debian/TODO 2010-05-04 21:44:54 UTC (rev 12310)
+++ trunk/uimaj/debian/TODO 2010-05-04 22:37:08 UTC (rev 12311)
@@ -1,12 +1,3 @@
-- Do full source code review (orig.tar.gz)
- Remove ./uima-docbook-tool/tools/common-lib/*.jar
- Remove ./uimaj-eclipse-update-site/features/*.jar
- Review copyright and licence
- Update manpages
-- Check .desktop files with FreeDesktop and Debian Policy compliance
- Install essentials descriptors inside uima-examples
others inside uima-docs
-- PEAR components inside /usr/share/uima/components/
-- Allow /usr/local/share/uima/components/ and
- $HOME/.uima/components/ as alternative install dirs
- for components
Modified: trunk/uimaj/debian/changelog
===================================================================
--- trunk/uimaj/debian/changelog 2010-05-04 21:44:54 UTC (rev 12310)
+++ trunk/uimaj/debian/changelog 2010-05-04 22:37:08 UTC (rev 12311)
@@ -1,9 +1,9 @@
-uimaj (2.3.0-1) UNRELEASED; urgency=low
+uimaj (2.3.0-1) unstable; urgency=low
* New upstream release.
* Initial release for Debian (Closes: #567777)
- -- Damien Raude-Morvan <drazzib at debian.org> Sun, 21 Mar 2010 04:28:44 +0100
+ -- Damien Raude-Morvan <drazzib at debian.org> Mon, 26 Apr 2010 22:22:45 +0200
uimaj (2.2.2-0ubuntu11) hardy; urgency=low
Modified: trunk/uimaj/debian/freedesktop/uima-annotationviewer.desktop
===================================================================
--- trunk/uimaj/debian/freedesktop/uima-annotationviewer.desktop 2010-05-04 21:44:54 UTC (rev 12310)
+++ trunk/uimaj/debian/freedesktop/uima-annotationviewer.desktop 2010-05-04 22:37:08 UTC (rev 12311)
@@ -4,6 +4,6 @@
Name[fr]=Visionneur d'annotations UIMA
Comment=Viewer for UIMA annotations
Comment[fr]=Visionneur d'annotations UIMA
-Categories=Education;
+Categories=Education;Science;Java;
Exec=annotationViewer
-Icon=UIMA.xpm
+Icon=UIMA
Modified: trunk/uimaj/debian/freedesktop/uima-cpegui.desktop
===================================================================
--- trunk/uimaj/debian/freedesktop/uima-cpegui.desktop 2010-05-04 21:44:54 UTC (rev 12310)
+++ trunk/uimaj/debian/freedesktop/uima-cpegui.desktop 2010-05-04 22:37:08 UTC (rev 12311)
@@ -4,6 +4,6 @@
Name[fr]=UIMA CPE Gui
Comment=Graphical interface to build UIMA CPE
Comment[fr]=Interface graphique pour construire des chaînes UIMA
-Categories=Education;
+Categories=Education;Science;Java;
Exec=cpeGui
-Icon=UIMA.xpm
+Icon=UIMA
Modified: trunk/uimaj/debian/freedesktop/uima-documentanalyzer.desktop
===================================================================
--- trunk/uimaj/debian/freedesktop/uima-documentanalyzer.desktop 2010-05-04 21:44:54 UTC (rev 12310)
+++ trunk/uimaj/debian/freedesktop/uima-documentanalyzer.desktop 2010-05-04 22:37:08 UTC (rev 12311)
@@ -4,6 +4,6 @@
Name[fr]=Analyseur de documents pour UIMA
Comment=Simple UIMA analysis engine runner
Comment[fr]=Lanceur simplifié de composants UIMA
-Categories=Education;
+Categories=Education;Science;Java;
Exec=documentAnalyzer
-Icon=UIMA.xpm
+Icon=UIMA
Added: trunk/uimaj/debian/orig-tar.exclude
===================================================================
--- trunk/uimaj/debian/orig-tar.exclude (rev 0)
+++ trunk/uimaj/debian/orig-tar.exclude 2010-05-04 22:37:08 UTC (rev 12311)
@@ -0,0 +1,3 @@
+uima-docbook-tool/tools/common-lib/*.jar
+uimaj-eclipse-update-site/features/*.jar
+
Added: trunk/uimaj/debian/orig-tar.sh
===================================================================
--- trunk/uimaj/debian/orig-tar.sh (rev 0)
+++ trunk/uimaj/debian/orig-tar.sh 2010-05-04 22:37:08 UTC (rev 12311)
@@ -0,0 +1,21 @@
+#!/bin/sh -e
+
+# $2 version
+# $3 original tarball
+TAR=$3
+DIR=uimaj-$2-*
+
+# clean up the upstream tarball
+tar xvzf $TAR
+GZIP=--best tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR
+rm -rf $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
+
+exit 0
+
Property changes on: trunk/uimaj/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/uimaj/debian/patches/script.diff
===================================================================
--- trunk/uimaj/debian/patches/script.diff 2010-05-04 21:44:54 UTC (rev 12310)
+++ trunk/uimaj/debian/patches/script.diff 2010-05-04 22:37:08 UTC (rev 12311)
@@ -190,6 +190,15 @@
fi
# set default ActiveMQ home
+@@ -37,6 +36,8 @@
+ fi
+
+ #Set jar search order of: UIMA_CLASSPATH uima activemq(optional) tomcat(optional) CLASSPATH
++# Debian: Include /usr/share/uima/components/, /usr/local/share/uima/components/ and $HOME/.uima/components/
++UIMA_CLASSPATH=$UIMA_CLASSPATH:/usr/share/uima/components/:/usr/local/share/uima/components/:$HOME/.uima/components/
+ UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/examples/resources
+ UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/lib
+ if [ -e "$ACTIVEMQ_HOME" ]
--- a/uimaj-distr/src/main/scripts/setUimaClassPath.sh
+++ b/uimaj-distr/src/main/scripts/setUimaClassPath.sh
@@ -19,8 +19,7 @@
Modified: trunk/uimaj/debian/rules
===================================================================
--- trunk/uimaj/debian/rules 2010-05-04 21:44:54 UTC (rev 12310)
+++ trunk/uimaj/debian/rules 2010-05-04 22:37:08 UTC (rev 12311)
@@ -42,6 +42,7 @@
mh_patchpoms $(MY_PATCHPOM_ARGS) -plibuima-tools-java
clean::
+ -rm debian/uimaj-doc-stamp
mh_unpatchpoms -plibuima-vinci-java
mh_unpatchpoms -plibuima-adapter-soap-java
mh_unpatchpoms -plibuima-adapter-vinci-java
@@ -51,8 +52,11 @@
-rm -rf debian/tmp
-rm $(UIMA_MANPAGES)
-build/uima-doc::
+build/uima-doc:: debian/uimaj-doc-stamp
+
+debian/uimaj-doc-stamp:
(cd uima-docbooks/; ant -f build.xml)
+ touch debian/uimaj-doc-stamp
binary-install/libuima-vinci-java::
mh_installpoms -plibuima-vinci-java -e$(VERSION)
Added: trunk/uimaj/debian/uima-utils.README.Debian
===================================================================
--- trunk/uimaj/debian/uima-utils.README.Debian (rev 0)
+++ trunk/uimaj/debian/uima-utils.README.Debian 2010-05-04 22:37:08 UTC (rev 12311)
@@ -0,0 +1,11 @@
+UIMA in Debian
+==============
+
+To ease user and system's administrator work, we set "org.apache.uima.jarpath"
+system property to include the following directories:
+ * /usr/share/uima/components/
+ * /usr/local/share/uima/components/
+ * $HOME/.uima/components/
+
+This will allow UIMA to include every JAR in those directories directly in its
+classpath (for PEAR components for examples).
Modified: trunk/uimaj/debian/watch
===================================================================
--- trunk/uimaj/debian/watch 2010-05-04 21:44:54 UTC (rev 12310)
+++ trunk/uimaj/debian/watch 2010-05-04 22:37:08 UTC (rev 12311)
@@ -1,2 +1,2 @@
version=3
-http://www.apache.org/dist/incubator/uima/source/uimaj-([\d\.]+)-incubating/uimaj-([\d\.]+)-incubating-src.tar.gz
+http://www.apache.org/dist/incubator/uima/source/uimaj-([\d\.]+)-incubating/uimaj-([\d\.]+)-incubating-src.tar.gz debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list