[pkg-java] r4671 - trunk/javassist/debian
varun-guest at alioth.debian.org
varun-guest at alioth.debian.org
Fri Nov 9 14:33:02 UTC 2007
Author: varun-guest
Date: 2007-11-09 14:33:01 +0000 (Fri, 09 Nov 2007)
New Revision: 4671
Added:
trunk/javassist/debian/orig-tar.sh
Removed:
trunk/javassist/debian/ant.properties
trunk/javassist/debian/libjavassist-java.dirs
trunk/javassist/debian/libjavassist-java.install
trunk/javassist/debian/libjavassist-java.links
trunk/javassist/debian/patches/
Modified:
trunk/javassist/debian/changelog
trunk/javassist/debian/compat
trunk/javassist/debian/control
trunk/javassist/debian/libjavassist-java-doc.install
trunk/javassist/debian/rules
trunk/javassist/debian/watch
Log:
* New usptream release.
* debian/control:
+ Add Homepage, Vcs-{Svn, Browser} Headers.
+ Build-Depend on debhelper >=5
+ Build-Depend on sun-java6-jdk instead of ibm compiler.
* debian/compat: switch to 5
* debian/rules:
+ Clean up old comments.
+ Add install target.
+ Implement get-orig-source.
* Remove libjavassist-java.install, libjavassist-java.links and
libjavassist-java.dirs - not required.
* Fix typo in debian/libjavassist-java-doc.install
* Add debian/orig-tar.sh to repackage the source (zip) and create
orig.tar.gz
Deleted: trunk/javassist/debian/ant.properties
===================================================================
--- trunk/javassist/debian/ant.properties 2007-11-09 12:39:51 UTC (rev 4670)
+++ trunk/javassist/debian/ant.properties 2007-11-09 14:33:01 UTC (rev 4671)
@@ -1 +0,0 @@
-target.jar javassist-3.4.jar
Modified: trunk/javassist/debian/changelog
===================================================================
--- trunk/javassist/debian/changelog 2007-11-09 12:39:51 UTC (rev 4670)
+++ trunk/javassist/debian/changelog 2007-11-09 14:33:01 UTC (rev 4671)
@@ -1,10 +1,27 @@
-javassist (3.4.dfsg.1-2) UNRELEASED; urgency=low
+javassist (3.6.GA-1) unstable; urgency=low
- [Arnaud Vandyck]
+ [ Arnaud Vandyck ]
* debian/control: fixed a typo in description, thanks to Marcus Better.
- --
+ [ Varun Hiremath ]
+ * New usptream release.
+ * debian/control:
+ + Add Homepage, Vcs-{Svn, Browser} Headers.
+ + Build-Depend on debhelper >=5
+ + Build-Depend on sun-java6-jdk instead of ibm compiler.
+ * debian/compat: switch to 5
+ * debian/rules:
+ + Clean up old comments.
+ + Add install target.
+ + Implement get-orig-source.
+ * Remove libjavassist-java.install, libjavassist-java.links and
+ libjavassist-java.dirs - not required.
+ * Fix typo in debian/libjavassist-java-doc.install
+ * Add debian/orig-tar.sh to repackage the source (zip) and create
+ orig.tar.gz
+ -- Varun Hiremath <varunhiremath at gmail.com> Fri, 09 Nov 2007 20:09:52 +0530
+
javassist (3.4.dfsg.1-1) unstable; urgency=low
* Initial Release (closes: #386102).
Modified: trunk/javassist/debian/compat
===================================================================
--- trunk/javassist/debian/compat 2007-11-09 12:39:51 UTC (rev 4670)
+++ trunk/javassist/debian/compat 2007-11-09 14:33:01 UTC (rev 4671)
@@ -1 +1 @@
-4
+5
Modified: trunk/javassist/debian/control
===================================================================
--- trunk/javassist/debian/control 2007-11-09 12:39:51 UTC (rev 4670)
+++ trunk/javassist/debian/control 2007-11-09 14:33:01 UTC (rev 4671)
@@ -2,14 +2,18 @@
Section: contrib/libs
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Arnaud Vandyck <avdyk at debian.org>
-Build-Depends-Indep: debhelper (>= 4.2.30), java-gcj-compat-dev (>= 1.0.69-2), ant, cdbs, ibm-j2sdk1.5
+Uploaders: Arnaud Vandyck <avdyk at debian.org>, Varun Hiremath <varunhiremath at gmail.com>
+Build-Depends: debhelper (>= 5), cdbs
+Build-Depends-Indep: ant, sun-java6-jdk
Standards-Version: 3.7.2
+Homepage: http://www.csg.is.titech.ac.jp/~chiba/javassist/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/javassist
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/javassist
Package: libjavassist-java
Section: contrib/libs
Architecture: all
-Depends: ibm-j2sdk1.5 | java2-runtime
+Depends: sun-java6-jre | java1-runtime | java2-runtime
Description: library for editing bytecodes in Java
This library makes Java bytecode manipulation simple. It enables Java
programs to define a new class at runtime and to modify a class file
Modified: trunk/javassist/debian/libjavassist-java-doc.install
===================================================================
--- trunk/javassist/debian/libjavassist-java-doc.install 2007-11-09 12:39:51 UTC (rev 4670)
+++ trunk/javassist/debian/libjavassist-java-doc.install 2007-11-09 14:33:01 UTC (rev 4671)
@@ -1 +1 @@
-html/* /usr/share/docs/libjavassist-java-doc/api/
+html/* /usr/share/doc/libjavassist-java-doc/api/
Deleted: trunk/javassist/debian/libjavassist-java.dirs
===================================================================
--- trunk/javassist/debian/libjavassist-java.dirs 2007-11-09 12:39:51 UTC (rev 4670)
+++ trunk/javassist/debian/libjavassist-java.dirs 2007-11-09 14:33:01 UTC (rev 4671)
@@ -1 +0,0 @@
-usr/share/java
Deleted: trunk/javassist/debian/libjavassist-java.install
===================================================================
--- trunk/javassist/debian/libjavassist-java.install 2007-11-09 12:39:51 UTC (rev 4670)
+++ trunk/javassist/debian/libjavassist-java.install 2007-11-09 14:33:01 UTC (rev 4671)
@@ -1 +0,0 @@
-javassist-3.4.jar /usr/share/java/
Deleted: trunk/javassist/debian/libjavassist-java.links
===================================================================
--- trunk/javassist/debian/libjavassist-java.links 2007-11-09 12:39:51 UTC (rev 4670)
+++ trunk/javassist/debian/libjavassist-java.links 2007-11-09 14:33:01 UTC (rev 4671)
@@ -1 +0,0 @@
-/usr/share/java/javassist-3.4.jar /usr/share/java/javassist.jar
Added: trunk/javassist/debian/orig-tar.sh
===================================================================
--- trunk/javassist/debian/orig-tar.sh (rev 0)
+++ trunk/javassist/debian/orig-tar.sh 2007-11-09 14:33:01 UTC (rev 4671)
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=../javassist_$2.orig.tar.gz
+DIR=javassist-$2
+
+# clean up the upstream tarball
+unzip $3
+mv javassist-* $DIR
+GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*/html/*' $DIR
+rm -rf $DIR $3
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
Property changes on: trunk/javassist/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
+ *
Modified: trunk/javassist/debian/rules
===================================================================
--- trunk/javassist/debian/rules 2007-11-09 12:39:51 UTC (rev 4670)
+++ trunk/javassist/debian/rules 2007-11-09 14:33:01 UTC (rev 4671)
@@ -1,18 +1,18 @@
#!/usr/bin/make -f
# debian/rules file for c3p0 (uses cdbs)
-export VERSION = $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\-)
-
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
-# wont build with gcj at the moment but easy to give a try
-JAVA_HOME_DIRS := /usr/lib/j2sdk1.5-ibm /usr/lib/jvm/java-gcj/
-ANT_HOME := /usr/share/ant
+JAVA_HOME := /usr/lib/jvm/java-6-sun
+DEB_ANT_BUILD_TARGET := jar javadocs
-DEB_JARS :=
-DEB_ANT_BUILD_TARGET := jar javadocs
+clean::
+ $(RM) javassist-src.jar
-#clean::
-# -rm -rf build
+install/libjavassist-java::
+ install -m 644 -D javassist.jar debian/libjavassist-java/usr/share/java/javassist-$(DEB_UPSTREAM_VERSION).jar
+ dh_link /usr/share/java/javassist-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/javassist.jar
+
+get-orig-source:
+ -uscan --upstream-version 0
Modified: trunk/javassist/debian/watch
===================================================================
--- trunk/javassist/debian/watch 2007-11-09 12:39:51 UTC (rev 4670)
+++ trunk/javassist/debian/watch 2007-11-09 14:33:01 UTC (rev 4671)
@@ -1,7 +1,3 @@
# watch control file for uscan
-version=2
-# Options
-
-# Site Version Script
-opts=dversionmangle=s/\.dfsg\.\d+$// \
- http://heanet.dl.sourceforge.net/sourceforge/jboss/javassist-(.*)\.zip debian uupdate
+version=3
+http://heanet.dl.sourceforge.net/sourceforge/jboss/javassist-(.*)\.zip debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list