Merge ~vpa1977/ubuntu/+source/mina:ubuntu/devel into ubuntu/+source/mina:ubuntu/devel

Proposed by Vladimir Petko
Status: Needs review
Proposed branch: ~vpa1977/ubuntu/+source/mina:ubuntu/devel
Merge into: ubuntu/+source/mina:ubuntu/devel
Diff against target: 51 lines (+13/-2)
3 files modified
debian/changelog (+8/-0)
debian/control (+2/-1)
debian/rules (+3/-1)
Reviewer Review Type Date Requested Status
Julian Andres Klode (community) Approve
git-ubuntu import Pending
Review via email: mp+460427@code.launchpad.net

Description of the change

This MP resolves Java 21 ftbfs.

PPA: ppa:vpa1977/gettext [1]

Changes:
 - Use java_compat_level variable provided by java-common to adjust -source/-target level to the minimum required by the default Java

Testing:
 - rebuild in default Java 21 ppa[2]
 - piuparts test [3]

[1] https://launchpad.net/~vpa1977/+archive/ubuntu/gettext
[2] https://launchpad.net/~vpa1977/+archive/ubuntu/gettext-21/+sourcepub/15785417/+listing-archive-extra
[3] https://bugs.launchpad.net/ubuntu/+source/mina/+bug/2052992/comments/1

To post a comment you must log in.
Revision history for this message
Julian Andres Klode (juliank) wrote :

Uploaded, thanks

review: Approve

Unmerged commits

c37eda9... by Vladimir Petko

changelog

dd8fe40... by Vladimir Petko

update-maintainer

65b6c2a... by Vladimir Petko

d/rules: use java_compat_level variable provided by java-common to adjust -source/-target level to the minimum required by the default Java (LP: #2052992).

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index 6f84055..1b37781 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
1mina (1.1.7.dfsg-13ubuntu1) noble; urgency=medium
2
3 * d/rules: use java_compat_level variable provided by java-common to
4 adjust -source/-target level to the minimum required by the default
5 Java (LP: #2052992).
6
7 -- Vladimir Petko <vladimir.petko@canonical.com> Tue, 13 Feb 2024 16:46:50 +1300
8
1mina (1.1.7.dfsg-13) unstable; urgency=medium9mina (1.1.7.dfsg-13) unstable; urgency=medium
210
3 * Team upload.11 * Team upload.
diff --git a/debian/control b/debian/control
index 2ed9801..1d72671 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,8 @@
1Source: mina1Source: mina
2Section: java2Section: java
3Priority: optional3Priority: optional
4Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
5Uploaders:6Uploaders:
6 Emmanuel Bourg <ebourg@apache.org>7 Emmanuel Bourg <ebourg@apache.org>
7Build-Depends:8Build-Depends:
diff --git a/debian/rules b/debian/rules
index 2994dae..90d8809 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
1#!/usr/bin/make -f1#!/usr/bin/make -f
22
3include /usr/share/java/java_defaults.mk
4
3# Uncomment this to turn on verbose mode.5# Uncomment this to turn on verbose mode.
4#export DH_VERBOSE=16#export DH_VERBOSE=1
57
@@ -11,7 +13,7 @@ JAVA_HOME := /usr/lib/jvm/default-java
11export JAVA_HOME13export JAVA_HOME
1214
13# Force compilation of 1.7 .class format15# Force compilation of 1.7 .class format
14JAVA_OPTS := -source 1.7 -target 1.716JAVA_OPTS := -source $(java_compat_level) -target $(java_compat_level)
1517
16CORE_JAR := $(PACKAGE)-core.jar18CORE_JAR := $(PACKAGE)-core.jar
17CORE_SRC := core/src/main/java/19CORE_SRC := core/src/main/java/

Subscribers

People subscribed via source and target branches