[jansi-native] 05/15: Switch from Ant to Maven build system.
Markus Koschany
apo at moszumanska.debian.org
Wed Oct 19 17:28:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository jansi-native.
commit db63d22c3eab47e860fb3f42398c4a2130cad69d
Author: Markus Koschany <apo at debian.org>
Date: Wed Oct 19 17:49:43 2016 +0200
Switch from Ant to Maven build system.
---
debian/control | 7 ++++---
debian/javadoc | 1 -
debian/jlibs | 1 -
debian/orig-tar.sh | 17 -----------------
debian/rules | 15 ++-------------
5 files changed, 6 insertions(+), 35 deletions(-)
diff --git a/debian/control b/debian/control
index 206a974..bf9e438 100644
--- a/debian/control
+++ b/debian/control
@@ -7,9 +7,8 @@ Uploaders:
Build-Depends:
debhelper (>= 10),
default-jdk,
- javahelper,
libhawtjni-runtime-java,
- maven-repo-helper
+ maven-debian-helper
Standards-Version: 3.9.8
Homepage: http://jansi.fusesource.org/
Vcs-Git: https://anonscm.debian.org/git/pkg-java/jansi-ansi.git
@@ -18,8 +17,10 @@ Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/jansi-native.git
Package: libjansi-native-java
Architecture: all
Depends:
- libhawtjni-runtime-java,
+ ${maven:Depends},
${misc:Depends}
+Recommends:
+ ${maven:OptionalDepends}
Description: Java library for ANSI escape sequences - native component
Jansi is a small java library that allows you to use ANSI escape
sequences to format console output across all platforms.
diff --git a/debian/javadoc b/debian/javadoc
deleted file mode 100644
index ce83b25..0000000
--- a/debian/javadoc
+++ /dev/null
@@ -1 +0,0 @@
-internal
diff --git a/debian/jlibs b/debian/jlibs
deleted file mode 100644
index a9f927c..0000000
--- a/debian/jlibs
+++ /dev/null
@@ -1 +0,0 @@
-jansi-native.jar
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index 01ac007..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# called by uscan with '--upstream-version' <version> <file>
-echo "version $2"
-package=`dpkg-parsechangelog | sed -n 's/^Source: //p'`
-version=$2
-tarball=$3
-REPO="git://forge.fusesource.com/jansinative.git"
-TAR=${package}_${version}.orig.tar.gz
-DIR=${package}-${version}.orig
-
-git clone ${REPO} ${DIR}
-cd ${DIR} && git checkout ${package}-${version} && cd ..
-GZIP=--best tar --exclude=.git --numeric --group 0 --owner 0 -cvzf ${TAR} ${DIR}
-rm -rf $tarball $DIR
diff --git a/debian/rules b/debian/rules
index 8145e47..c41b8d4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,19 +1,8 @@
#!/usr/bin/make -f
-export JAVA_HOME=/usr/lib/jvm/default-java
-export CLASSPATH=/usr/share/java/hawtjni-runtime.jar
-
%:
- dh --with javahelper --with maven-repo-helper $@
+ dh $@
-override_dh_auto_build:
- jh_build jansi-native.jar src/main/java
get-orig-source:
- cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
- uscan \
- --verbose \
- --no-symlink \
- --destdir $(CURDIR) \
- --watchfile debian/watch \
- --force-download
+ uscan --download-current-version --force-download
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jansi-native.git
More information about the pkg-java-commits
mailing list