[lombok-patcher] 01/01: Imported Debian patch 0.20-1

Markus Koschany apo-guest at moszumanska.debian.org
Mon Feb 15 15:11:59 GMT 2016


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository lombok-patcher.

commit 80e6a83d51ffb456e8b6b3f8446bef06c0e559d6
Author: Markus Koschany <apo at debian.org>
Date:   Mon Feb 15 15:45:04 2016 +0100

    Imported Debian patch 0.20-1
---
 debian/changelog                    |  5 +++
 debian/compat                       |  1 +
 debian/control                      | 41 +++++++++++++++++++
 debian/copyright                    | 31 ++++++++++++++
 debian/liblombok-patcher-java.jlibs |  1 +
 debian/linkjars                     |  5 +++
 debian/patches/build.patch          | 81 +++++++++++++++++++++++++++++++++++++
 debian/patches/series               |  1 +
 debian/rules                        | 17 ++++++++
 debian/source/format                |  1 +
 debian/watch                        |  3 ++
 11 files changed, 187 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4b37348
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+lombok-patcher (0.20-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #814801)
+
+ -- Markus Koschany <apo at debian.org>  Mon, 15 Feb 2016 15:45:04 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d702a79
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,41 @@
+Source: lombok-patcher
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders:
+ Markus Koschany <apo at debian.org>
+Build-Depends:
+ ant,
+ ant-optional,
+ debhelper (>= 9),
+ default-jdk,
+ ivy,
+ ivyplusplus,
+ javahelper,
+ libasm4-java,
+ libjna-java,
+ libjsch-java,
+ liblombok-java
+Standards-Version: 3.9.7
+Homepage: https://projectlombok.org
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/lombok-patcher.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/lombok-patcher.git
+
+Package: liblombok-patcher-java
+Architecture: all
+Depends:
+ ${java:Depends},
+ ${misc:Depends}
+Description: live-rewrite classes as a JVM runs
+ Lombok Patcher gives you the ability to live-rewrite classes as a JVM
+ runs, either by loading as an agent during JVM bootup or by injecting
+ the agent 'live' during execution.
+ .
+ To make this easier than fiddling with classes directly, Lombok
+ Patcher offers a few 'patch scripts' to do common tasks, such as wrap
+ your own code around any method call, replace methods entirely with
+ your own, or add fields.
+ .
+ lombok.patcher also includes support for getting around the Eclipse
+ OSGi container's classloader separation.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7211a0c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: lombok.patcher
+Source: https://github.com/rzwitserloot/lombok.patcher
+
+Files: *
+Copyright: 2009-2015 The Project Lombok Authors.
+License: Expat
+
+Files: debian/*
+Copyright: 2016, Markus Koschany <apo at debian.org>
+License: Expat
+
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
diff --git a/debian/liblombok-patcher-java.jlibs b/debian/liblombok-patcher-java.jlibs
new file mode 100644
index 0000000..7c5f055
--- /dev/null
+++ b/debian/liblombok-patcher-java.jlibs
@@ -0,0 +1 @@
+dist/lombok.patcher.jar
diff --git a/debian/linkjars b/debian/linkjars
new file mode 100644
index 0000000..8f2c8f7
--- /dev/null
+++ b/debian/linkjars
@@ -0,0 +1,5 @@
+lib
+lib/build
+lib/runtime
+lib/contrib
+lib/runtimeInjector
diff --git a/debian/patches/build.patch b/debian/patches/build.patch
new file mode 100644
index 0000000..b8842a9
--- /dev/null
+++ b/debian/patches/build.patch
@@ -0,0 +1,81 @@
+From: Markus Koschany <apo at debian.org>
+Date: Sun, 14 Feb 2016 17:45:27 +0100
+Subject: build
+
+Do not download anything from the web and ensure that Debian's system jars are
+used.
+
+Forwarded: not-needed
+---
+ build.xml | 15 +++++++--------
+ 1 file changed, 7 insertions(+), 8 deletions(-)
+
+diff --git a/build.xml b/build.xml
+index 61f7a85..8e21519 100644
+--- a/build.xml
++++ b/build.xml
+@@ -87,7 +87,7 @@
+ 		<delete dir=".settings" quiet="true" />
+ 	</target>
+ 	
+-	<target name="version" depends="ensure-ipp" description="Shows the version number.">
++	<target name="version" depends="" description="Shows the version number.">
+ 		<mkdir dir="build/pack" />
+ 		<javac srcdir="src/patcher" debug="on" destdir="build/pack" target="1.5" source="1.5" includes="lombok/patcher/Version.java" />
+ 		<java
+@@ -99,7 +99,7 @@
+ 		<echo level="info">Lombok patcher version: ${lombok.patcher.version}</echo>
+ 	</target>
+ 	
+-	<target name="unpackLibs" depends="ensureRuntimeDeps, ensureRuntimeInjectorDeps" unless="pointless">
++	<target name="unpackLibs" depends="" unless="pointless">
+ 		<unjar dest="build/pack">
+ 			<path refid="runtime.path" />
+ 		</unjar>
+@@ -108,7 +108,7 @@
+ 		</unjar>
+ 	</target>
+ 	
+-	<target name="compile" depends="unpackLibs, ensureBuildDeps" description="Compiles lombok.patcher" unless="pointless">
++	<target name="compile" depends="" description="Compiles lombok.patcher" unless="pointless">
+ 		<ivy:compile destdir="build/pack" target="1.5" source="1.5">
+ 			<src path="src/patcher" />
+ 			<src path="src/injector" />
+@@ -133,7 +133,7 @@
+ 		</condition>
+ 	</target>
+ 	
+-	<target name="-test" depends="-test-setup, compileTests" unless="skipTests">
++	<target name="-test" depends="" unless="skipTests">
+ 		<junit haltonfailure="yes" fork="on">
+ 			<formatter type="plain" usefile="false" unless="tests.quiet" />
+ 			<classpath path="build/pack" />
+@@ -150,17 +150,16 @@
+ 	
+ 	<target name="test" depends="-test" description="Runs the unit tests" />
+ 	
+-	<target name="dist" depends="-pointlessCheck, -test.quiet, -test, version, compile" unless="pointless" description="Creates the distributable">
++	<target name="dist" depends="-pointlessCheck, version, compile" unless="pointless" description="Creates the distributable">
+ 		<mkdir dir="dist" />
+ 		<jar basedir="build/pack" destfile="dist/lombok.patcher-${lombok.patcher.version}.jar" />
+ 		<jar destfile="dist/lombok.injector-${lombok.patcher.version}.jar">
+ 			<fileset dir="build/pack" />
+-			<fileset dir="build/packInjector" />
+ 		</jar>
+ 		<copy file="dist/lombok.patcher-${lombok.patcher.version}.jar" tofile="dist/lombok.patcher.jar" />
+ 	</target>
+ 	
+-	<target name="config-ivy" depends="ensure-ipp">
++	<target name="config-ivy" depends="">
+ 		<ivy:configure file="buildScripts/ivysettings.xml" />
+ 	</target>
+ 	
+@@ -199,7 +198,7 @@
+ 		<echo>automated uploading and deployment temporarily disabled. Upload dist/lombok.patcher-${lombok.patcher.version}.jar to the server and deploy manually.</echo>
+ 	</target>
+ 	
+-	<target name="eclipse" depends="deps, contrib" description="Creates eclipse project files and downloads all dependencies. Open this directory as project in eclipse after running this target.">
++	<target name="eclipse" depends="contrib" description="Creates eclipse project files and downloads all dependencies. Open this directory as project in eclipse after running this target.">
+ 		<ivy:eclipsegen source="1.5">
+ 			<srcdir dir="src/patcher" />
+ 			<srcdir dir="src/injector" />
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5879227
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+build.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..569bd8c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/default.mk
+export JAVA_HOME=/usr/lib/jvm/default-java
+
+%:
+	dh $@ --parallel --with javahelper
+
+override_dh_auto_clean:
+	dh_auto_clean
+	ant -Dbasedir=$(CURDIR) distclean
+
+override_dh_auto_build:
+	ant -Dbasedir=$(CURDIR) dist
+
+get-orig-source:
+	uscan --download-current-version --force-download
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..78bc50b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/lombok.patcher-$1\.tar\.gz/ \
+  https://github.com/rzwitserloot/lombok.patcher/tags .*/v?(\d\S*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/lombok-patcher.git



More information about the pkg-java-commits mailing list