[med-svn] [Git][med-team/libhmsbeagle][master] Building the jar file
Pierre Gruet (@pgt)
gitlab at salsa.debian.org
Fri Dec 16 17:52:49 GMT 2022
Pierre Gruet pushed to branch master at Debian Med / libhmsbeagle
Commits:
fdf39a36 by Pierre Gruet at 2022-12-16T18:52:35+01:00
Building the jar file
- - - - -
4 changed files:
- debian/changelog
- + debian/patches/java_version.patch
- debian/patches/series
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -4,7 +4,7 @@ libhmsbeagle (4.0.0+dfsg-1) UNRELEASED; urgency=medium
* Standards-Version: 4.6.1 (routine-update)
* Upstream switched build system to cmake
* d/watch: Create proper upstream filename
- TODO: Build JAR file, finally decide whether we need all those changes
+ TODO: finally decide whether we need all those changes
(no static libs build and more, not sure whetheropencl library works)
-- Andreas Tille <tille at debian.org> Sun, 24 Jul 2022 07:50:14 +0200
=====================================
debian/patches/java_version.patch
=====================================
@@ -0,0 +1,16 @@
+Description: raise version to 1.8 for javac, 1.6 is not suppported anymore
+Author: Pierre Gruet <pgt at debian.org>
+Forwarded: not-needed
+Last-Update: 2022-12-16
+
+--- a/build.xml
++++ b/build.xml
+@@ -34,7 +34,7 @@
+
+ <target name="compile" depends="init">
+ <!-- Compile the java code from ${src} into ${build} -->
+- <javac source="1.6" target="1.6" srcdir="${src}" destdir="${build}" classpath="">
++ <javac source="1.8" target="1.8" srcdir="${src}" destdir="${build}" classpath="">
+ <include name="beagle/**"/>
+ </javac>
+ </target>
=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@ gcc-4.7.patch
doxygen_update.patch
fix-922776.patch
fix-976567.patch
+java_version.patch
=====================================
debian/rules
=====================================
@@ -21,6 +21,11 @@ override_dh_auto_configure:
dh_auto_configure -- \
-DBUILD_CUDA=OFF
+override_dh_auto_build:
+ dh_auto_build
+ # Building the jar
+ ant -Duser.name debian
+
# run tests only on platforms supporting opencl
# see https://lists.debian.org/debian-mentors/2015/08/msg00081.html
num_opencl_platforms := $(shell clinfo | head -n1 | sed -e "s/.*[^0-9]\([0-9]\+\)[^0-9]*$$/\1/")
View it on GitLab: https://salsa.debian.org/med-team/libhmsbeagle/-/commit/fdf39a367f49d1113e1da59c576db289f4bf9886
--
View it on GitLab: https://salsa.debian.org/med-team/libhmsbeagle/-/commit/fdf39a367f49d1113e1da59c576db289f4bf9886
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20221216/77b7fef6/attachment-0001.htm>
More information about the debian-med-commit
mailing list