Emmanuel Bourg pushed to branch master at Debian Med / orthanc-imagej
Commits: 5c1cf7fb by Emmanuel Bourg at 2023-11-22T09:05:03+01:00 Fixed the build failure with Java 21 (Closes: #1053071) - - - - - 2 changed files: - debian/changelog - debian/patches/cmake Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +orthanc-imagej (1.2+dfsg-4) unstable; urgency=medium + + * Team upload. + * Fixed the build failure with Java 21 (Closes: #1053071) + + -- Emmanuel Bourg <ebo...@apache.org> Wed, 22 Nov 2023 09:04:20 +0100 + orthanc-imagej (1.2+dfsg-3) unstable; urgency=medium * Compatibility with OpenJDK >= 12. (Closes: #981958) ===================================== debian/patches/cmake ===================================== @@ -1,4 +1,4 @@ -Description: Patch to link against Debian's libjson-simple-java package, compatibility with OpenJDK >= 12 +Description: Patch to link against Debian's libjson-simple-java package, compatibility with OpenJDK >= 21 Author: Sebastien Jodogne <s.jodo...@orthanc-labs.com> --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ @@ -12,7 +12,7 @@ Index: OrthancImageJ-1.2/CMakeLists.txt -set(CMAKE_JAVA_COMPILE_FLAGS "-source" "1.6" "-target" "1.6") -set(CMAKE_JAVA_INCLUDE_PATH /usr/share/java/ij.jar) -+set(CMAKE_JAVA_COMPILE_FLAGS "-source" "1.7" "-target" "1.7") ++set(CMAKE_JAVA_COMPILE_FLAGS "-source" "8" "-target" "8") +set(CMAKE_JAVA_INCLUDE_PATH /usr/share/java/ij.jar:/usr/share/java/json-simple.jar) # The name of an ImageJ plugin must contain an underscore View it on GitLab: https://salsa.debian.org/med-team/orthanc-imagej/-/commit/5c1cf7fbc844335f5f93da49796b27327285f8dc -- View it on GitLab: https://salsa.debian.org/med-team/orthanc-imagej/-/commit/5c1cf7fbc844335f5f93da49796b27327285f8dc You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list debian-med-com...@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit