[freeplane] 04/12: switch to gradle-debian-helper
Felix Natter
fnatter-guest at moszumanska.debian.org
Sat Jul 16 11:42:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
fnatter-guest pushed a commit to branch master
in repository freeplane.
commit 466bcde0f3ddfc227973e20582d0da1e0a737553
Author: Felix Natter <fnatter at gmx.net>
Date: Sat Jul 16 13:23:28 2016 +0200
switch to gradle-debian-helper
---
debian/ant.properties | 1 -
debian/clean | 12 ++++++++++--
debian/rules | 33 +++++++++++++++++----------------
3 files changed, 27 insertions(+), 19 deletions(-)
diff --git a/debian/ant.properties b/debian/ant.properties
deleted file mode 100644
index af4dea0..0000000
--- a/debian/ant.properties
+++ /dev/null
@@ -1 +0,0 @@
-skip_bugreport=true
diff --git a/debian/clean b/debian/clean
index 80abd4e..1bd0126 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1,6 +1,14 @@
-freeplane_plugin_script/src-jsyntaxpane/jsyntaxpane/lexers/LaTeXLexer.java
+freeplane_plugin_jsyntaxpane/src/main/java/jsyntaxpane/lexers/LaTeXLexer.java
freeplane.1
freeplane.xpm
48x48/freeplane.png
64x64/freeplane.png
-128x128/freeplane.png
\ No newline at end of file
+128x128/freeplane.png
+freeplane/META-INF/MANIFEST.MF
+freeplane_plugin_bugreport/META-INF/MANIFEST.MF
+freeplane_plugin_formula/META-INF/MANIFEST.MF
+freeplane_plugin_jsyntaxpane/META-INF/MANIFEST.MF
+freeplane_plugin_latex/META-INF/MANIFEST.MF
+freeplane_plugin_openmaps/META-INF/MANIFEST.MF
+freeplane_plugin_script/META-INF/MANIFEST.MF
+freeplane_plugin_svg/META-INF/MANIFEST.MF
diff --git a/debian/rules b/debian/rules
index e805048..34a1d68 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,21 +1,18 @@
#!/usr/bin/make -f
-# debian/rules for Commons Fileupload (uses CDBS)
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#DH_VERBOSE = 1
-#clean:: buildxml-clean
+DEB_COMPRESS_EXCLUDE := .mm .pdf
+#DEB_DH_INSTALL_ARGS := -XLICENSE.txt
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/ant.mk
-# replaced by quilt: include /usr/share/cdbs/1/rules/simple-patchsys.mk
-JAVA_HOME_DIRS := /usr/lib/jvm/default-java
+%:
+ dh $@ --buildsystem=gradle
-DEB_ANT_BUILD_TARGET := build
-#DEB_BUILDDIR := .
-DEB_COMPRESS_EXCLUDE := .mm .pdf
-# DEB_INSTALL_DOCS_ALL = -Xlicense
-DEB_DH_INSTALL_ARGS := -XLICENSE.txt
+override_dh_auto_build:
+ dh_auto_build -- build -x test -x check_translation
-build:
xsltproc --nonet \
--param make.year.ranges 1 \
--param make.single.year.ranges 1 \
@@ -31,15 +28,19 @@ build:
mkdir 128x128
convert -background none -geometry !128x128 freeplane_framework/script/freeplane.svg 128x128/freeplane.png
-clean::
+ mv BUILD/doc/api API
+ mv BUILD/doc DOC
+
+override_dh_clean:
+ dh_clean
# directories cannot be removed via debian/clean
+ rm -rf BUILD/
+ rm -rf API/
+ rm -rf DOC/
if [ -d 48x48 ]; then rmdir 48x48; fi
if [ -d 64x64 ]; then rmdir 64x64; fi
if [ -d 128x128 ]; then rmdir 128x128; fi
-#buildxml-clean::
-# -$(DEB_ANT_INVOKE) $(DEB_ANT_CLEAN_TARGET)
-# Get original sources directly using uscan
get-orig-source:
uscan --force-download --rename --repack
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/freeplane.git
More information about the pkg-java-commits
mailing list