--- cglib-2.2+dfsg.orig/debian/libcglib-java-doc.install +++ cglib-2.2+dfsg/debian/libcglib-java-doc.install @@ -0,0 +1 @@ +docs/* /usr/share/doc/libcglib-java/api/ --- cglib-2.2+dfsg.orig/debian/rules +++ cglib-2.2+dfsg/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +# the upstream version without the +dfsg suffix: +VERSION := `expr match $(DEB_UPSTREAM_VERSION) '\(.*\)+dfsg'` + +JAVA_HOME := /usr/lib/jvm/default-java +DEB_JARS := asm3-attrs asm3 asm3-util junit +DEB_ANT_BUILD_TARGET := jardep javadoc +DEB_ANT_ARGS += -Dcomponent.version=$(VERSION) +JAR_DIR := /usr/share/java + +install/libcglib-java:: + dh_link -plibcglib-java $(JAR_DIR)/cglib-$(VERSION).jar \ + $(JAR_DIR)/cglib.jar + +get-orig-source: + uscan --upstream-version 0 --rename + --- cglib-2.2+dfsg.orig/debian/watch +++ cglib-2.2+dfsg/debian/watch @@ -0,0 +1,8 @@ +# watch control file for uscan +version=3 +# Options + +# Site Version Script +opts=dversionmangle=s/\.dfsg\.\d+$//,uversionmangle=s/_/./ \ + http://sf.net/cglib/cglib-src-([\d_.]+)\.jar \ + debian debian/orig-tar.sh --- cglib-2.2+dfsg.orig/debian/changelog +++ cglib-2.2+dfsg/debian/changelog @@ -0,0 +1,76 @@ +cglib (2.2+dfsg-1) unstable; urgency=low + + * New upstream release. + - Rename source package to "cglib" + - Drop unneeded Build-Depends on libaspectwerkz2-java + - Build-Depends on libasm3-java instead of libasm-java + - Drop uneeded debian/patches/01_build_classpath.patch + * Build-Depends on default-jdk instead of default-jdk-builddep + because we don't build a native GCJ package. + * Switch to debhelper 7 + * Use Quilt patch system: + - refresh all debian/patches + - Build-Depends on quilt + - Update debian/README.source + * Update my email address + * Bump Standards-Version to 3.8.3: no changes needed + * Fix debian/copyright to include BSD license of + src/proxy/net/sf/cglib/core/LocalVariablesSorter.java + + -- Damien Raude-Morvan Thu, 08 Oct 2009 21:23:45 +0200 + +cglib2.1 (2.1.3.dfsg.2-2) unstable; urgency=low + + * Use default-java-builddep: + - Remove B-D on java-gcj-compat-dev (Closes: #526274) + - Add default-java-builddep to B-D + - Use /usr/lib/jvm/default-java as JAVA_HOME + * Move ant to B-D-I (needed for clean target) + * Add myself as Uploaders + * Add ${misc:Depends} as suggested by Lintian + * Fix short-description of libcglib2.1-java-doc + to include "documentation" + * Fix Vcs-* fields to use "cglib2.1" instead of "cglib" + * Bump Standards-Version to 3.8.2: + - Move to "java" section + - Rename README.Debian-source to README.source + - Describe patch system usage in README.source + + -- Damien Raude-Morvan Mon, 29 Jun 2009 22:13:35 +0200 + +cglib2.1 (2.1.3.dfsg.2-1) unstable; urgency=low + + * Increase the upstream version number without changing the actual tarball + to get the package uploaded to main. + + -- Torsten Werner Sun, 10 Aug 2008 22:32:44 +0200 + +cglib2.1 (2.1.3.dfsg.1-3) unstable; urgency=low + + [ Michael Koch ] + * Use uscan sf.net helper for SourceForge. Fixes upstream checking. + * Added myself to Uploaders. + + [ Torsten Werner ] + * Move package to main. + * Reformat debian/copyright for better readability. + * Do not quote the full text of the Apache License in debian/copyright. + * Fix doc-base file. + + -- Torsten Werner Thu, 31 Jul 2008 00:18:44 +0200 + +cglib2.1 (2.1.3.dfsg.1-2) unstable; urgency=low + + * Fix debian/watch. + * Add myself to Uploaders. + * Add Homepage and Vcs headers to debian/control. + * Change Standards-Version: 3.7.3. + * Switch to debhelper 5. + + -- Torsten Werner Mon, 17 Dec 2007 10:47:00 +0100 + +cglib2.1 (2.1.3.dfsg.1-1) unstable; urgency=low + + * Initial Release (closes: #386101). + + -- Arnaud Vandyck Tue, 10 Apr 2007 17:48:55 +0200 --- cglib-2.2+dfsg.orig/debian/compat +++ cglib-2.2+dfsg/debian/compat @@ -0,0 +1 @@ +7 --- cglib-2.2+dfsg.orig/debian/README.source +++ cglib-2.2+dfsg/debian/README.source @@ -0,0 +1,18 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +See /usr/share/doc/quilt/README.source for a detailed explanation. + + -- Damien Raude-Morvan Mon, 29 Jun 2009 22:13:35 +0200 + +The upstream supplied source package contains binary jar files and +pre-built documentation. Currently no clean source distribution +exists. Therefore, the upstream sources were modified to comply with +the Debian Free Software Guidelines. + +Use the rules/get-orig-source target to create the orig.tar.gz. +For more details on repackaging of upstream sources please see the +debian/orig-tar.sh file. + +-- Torsten Werner Fri Oct 12 19:17:47 CEST 2007 --- cglib-2.2+dfsg.orig/debian/libcglib-java-doc.doc-base +++ cglib-2.2+dfsg/debian/libcglib-java-doc.doc-base @@ -0,0 +1,11 @@ +Document: libcglib-java-doc +Title: code generation library for Java +Author: Juozas Baliuka, Chris Nokleberg +Abstract: cglib is a powerful, high performance and quality code generation + library. It is used to extend Java classes and implement interfaces at + run-time. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libcglib-java/api/index.html +Files: /usr/share/doc/libcglib-java/api/*.html --- cglib-2.2+dfsg.orig/debian/README.Debian +++ cglib-2.2+dfsg/debian/README.Debian @@ -0,0 +1,12 @@ +cglib +----- + +Source tarball: +--------------- + +I removed all the jar files. + +libs: aspectwerkz-core-0.10.RC1.jar + jarjar.jar + + -- Arnaud Vandyck , Tue, 10 Apr 2007 17:50:24 +0200 --- cglib-2.2+dfsg.orig/debian/orig-tar.sh +++ cglib-2.2+dfsg/debian/orig-tar.sh @@ -0,0 +1,22 @@ +#!/bin/sh -e + +# called by uscan with '--upstream-version' + +VERSION=$(dpkg-parsechangelog | sed -ne 's,^Version: \(.*\)-.*,\1,p') +SOURCE=$(dpkg-parsechangelog | sed -ne 's,Source: \(.*\),\1,p') +TAR=../${SOURCE}_${VERSION}.orig.tar.gz +DIR=cglib-$VERSION + +# clean up the upstream tarball +mkdir $DIR +(cd $DIR && jar xf ../$3) +tar -c -z -f $TAR --exclude '*/lib/*' $DIR +rm -rf $3 $DIR + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $TAR $origDir + echo "moved $TAR to $origDir" +fi + --- cglib-2.2+dfsg.orig/debian/control +++ cglib-2.2+dfsg/debian/control @@ -0,0 +1,35 @@ +Source: cglib +Section: java +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Arnaud Vandyck , Torsten Werner , + Michael Koch , Damien Raude-Morvan +Build-Depends: debhelper (>= 7), cdbs, ant, default-jdk, quilt +Build-Depends-Indep: libasm3-java, junit +Standards-Version: 3.8.3 +Homepage: http://cglib.sourceforge.net +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/cglib/ +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/cglib + +Package: libcglib-java +Architecture: all +Depends: ${misc:Depends}, default-jre-headless | java2-runtime, libasm3-java +Conflicts: libcglib2.1-java +Provides: libcglib2.1-java +Replaces: libcglib2.1-java +Description: code generation library for Java + cglib is a powerful, high performance and quality code generation + library. It is used to extend Java classes and implement interfaces at + run-time. + +Package: libcglib-java-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Suggests: libcglib-java +Description: code generation library for Java - documentation + cglib is a powerful, high performance and quality code generation + library. It is used to extend Java classes and implement interfaces at + run-time. + . + This package includes the documentation. --- cglib-2.2+dfsg.orig/debian/libcglib-java.install +++ cglib-2.2+dfsg/debian/libcglib-java.install @@ -0,0 +1 @@ +dist/cglib-*.jar /usr/share/java/ --- cglib-2.2+dfsg.orig/debian/ant.properties +++ cglib-2.2+dfsg/debian/ant.properties @@ -0,0 +1 @@ +compile.target = 1.4 --- cglib-2.2+dfsg.orig/debian/copyright +++ cglib-2.2+dfsg/debian/copyright @@ -0,0 +1,64 @@ +This package was debianized by Arnaud Vandyck on +10-April-2007. The source code was downloaded from +http://sourceforge.net/projects/cglib + +Authors: + + Juozas Baliuka + Chris Nokleberg + +Copyright: (C) 2002-2004 The Apache Software Foundation + (C) 2000-2005 INRIA, France Telecom (one source file + from the ASM project) + +License: Apache 2.0 + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + The full text of the Apache License can be found in + `/usr/share/common-licenses/Apache-2.0'. + + +------------------- +src/proxy/net/sf/cglib/core/LocalVariablesSorter.java +License: BSD (3 clauses) + + ASM: a very small and fast Java bytecode manipulation framework + Copyright (c) 2000-2005 INRIA, France Telecom + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF + THE POSSIBILITY OF SUCH DAMAGE. + + --- cglib-2.2+dfsg.orig/debian/patches/02_build_split.patch +++ cglib-2.2+dfsg/debian/patches/02_build_split.patch @@ -0,0 +1,39 @@ +Description: Split ant targets to get a simple cglib jar without + bundled dependencies. + - jarnodep: simple cglib jar (target used by debian/rules) + - jardep: bundled cglib jar using jarjar tool +Forwarded: not-needed +Author: Arnaud Vandyck +Author: Damien Raude-Morvan +Last-Update: 2009-10-08 +--- a/build.xml ++++ b/build.xml +@@ -111,19 +111,27 @@ + + + +- ++ ++ ++ + + + + + + ++ + ++ + + + + ++ + ++ + + + --- cglib-2.2+dfsg.orig/debian/patches/series +++ cglib-2.2+dfsg/debian/patches/series @@ -0,0 +1 @@ +02_build_split.patch