[Git][java-team/easybind][master] 15 commits: Building with openjfx 21.0.12+3

Pierre Gruet (@pgt) gitlab at salsa.debian.org
Sun Sep 27 22:12:40 BST 2026



Pierre Gruet pushed to branch master at Debian Java Maintainers / easybind


Commits:
14d826d6 by Pierre Gruet at 2026-08-14T08:17:09+02:00
Building with openjfx 21.0.12+3

- - - - -
18084d75 by Pierre Gruet at 2026-08-14T08:17:54+02:00
Adding versioned B-D on libopenjfx-java 21

- - - - -
002be537 by Pierre Gruet at 2026-08-14T08:18:49+02:00
Raising d/watch version to 5

- - - - -
65fed856 by Pierre Gruet at 2026-08-14T08:19:46+02:00
Switching to debhelper-compat 14, dropping d/compat file

- - - - -
13c8cadc by Pierre Gruet at 2026-08-14T08:20:02+02:00
Removing Priority: optional, which is now defaults

- - - - -
5dce6484 by Pierre Gruet at 2026-08-14T08:20:09+02:00
Raising Standards version to 4.7.4

- - - - -
701eac96 by Pierre Gruet at 2026-08-14T08:20:44+02:00
Removing unneeded versioned B-D on default-jdk

- - - - -
a5d034f1 by Pierre Gruet at 2026-08-14T08:21:33+02:00
Updating changelog

- - - - -
4c0439b2 by Pierre Gruet at 2026-08-14T07:21:40+01:00
Fix field name case in debian/control (Multi-arch ⇒ Multi-Arch).

Changes-By: lintian-brush
Fixes: lintian: libeasybind-java binary: cute-field Multi-arch vs Multi-Arch
See-also: https://lintian.debian.org/tags/cute-field.html

- - - - -
05ec0c7b by Pierre Gruet at 2026-08-14T07:21:42+01:00
Set upstream metadata fields: Bug-Database, Repository-Browse.

Changes-By: lintian-brush
Fixes: lintian: source: upstream-metadata-file-is-missing
See-also: https://lintian.debian.org/tags/upstream-metadata-file-is-missing.html

- - - - -
16520149 by Pierre Gruet at 2026-08-14T08:28:29+02:00
Merging the two patches for openjfx

- - - - -
fb0b4a1d by Pierre Gruet at 2026-08-14T08:29:23+02:00
Setting a Maven rule for junit4

- - - - -
1a284fce by Pierre Gruet at 2026-08-14T08:29:51+02:00
Updating changelog

- - - - -
bff72017 by Pierre Gruet at 2026-09-27T21:46:08+02:00
Building with Maven instead of gradle

- - - - -
7cae68eb by Pierre Gruet at 2026-09-27T21:46:32+02:00
Upload to unstable

- - - - -


12 changed files:

- debian/changelog
- − debian/compat
- debian/control
- debian/libeasybind-java.poms
- + debian/maven.rules
- − debian/patches/02_javafx_9_compatibility.patch
- + debian/patches/03_javafx21.patch
- debian/patches/series
- + debian/pom.xml.in
- debian/rules
- + debian/upstream/metadata
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,21 @@
+easybind (1.0.3-3) unstable; urgency=medium
+
+  * Team upload
+  * Building with openjfx 21.0.12+3 (Closes: #1148738)
+  * Building with Maven instead of gradle
+  * Adding versioned B-D on libopenjfx-java 21
+  * Removing unneeded versioned B-D on default-jdk
+  * Switching to debhelper-compat 14, dropping d/compat file
+  * Raising Standards version to 4.7.4:
+    - Removing Priority: optional, which is now defaults
+  * Raising d/watch version to 5
+  * Fix field name case in debian/control (Multi-arch to Multi-Arch)
+  * Set upstream metadata fields: Bug-Database, Repository-Browse
+  * Merging the two patches for openjfx
+  * Setting a Maven rule for junit4
+
+ -- Pierre Gruet <pgt at debian.org>  Sun, 27 Sep 2026 21:46:10 +0200
+
 easybind (1.0.3-2) unstable; urgency=medium
 
   * Mark libeasybind-java Multi-arch: foreign


=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-12


=====================================
debian/control
=====================================
@@ -1,23 +1,20 @@
 Source: easybind
 Section: java
-Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: tony mancill <tmancill at debian.org>
-Build-Depends: debhelper (>= 12),
-               default-jdk (>= 1:1.8),
-               gradle-debian-helper,
+Build-Depends: debhelper-compat (= 14),
+               default-jdk,
                junit4,
-               libopenjfx-java,
-               maven-repo-helper
-Standards-Version: 4.3.0
+               libopenjfx-java (>=21.0.12+3),
+               maven-debian-helper
+Standards-Version: 4.7.4
 Homepage: https://github.com/TomasMikula/EasyBind
 Vcs-Git: https://salsa.debian.org/java-team/easybind.git
 Vcs-Browser: https://salsa.debian.org/java-team/easybind
 
 Package: libeasybind-java
 Architecture: all
-Multi-arch: foreign
-Depends: ${misc:Depends}
+Multi-Arch: foreign
 Description: helper library for custom JavaFX bindings using lamdas
  EasyBind leverages lambdas to reduce boilerplate
  when creating custom bindings, provides a type-safe alternative to


=====================================
debian/libeasybind-java.poms
=====================================
@@ -1 +1 @@
-build/debian/easybind.pom --java-lib --artifact=build/libs/*.jar
+pom.xml --java-lib


=====================================
debian/maven.rules
=====================================
@@ -0,0 +1,2 @@
+
+junit junit * s/.*/4.x/ * *


=====================================
debian/patches/02_javafx_9_compatibility.patch deleted
=====================================
@@ -1,14 +0,0 @@
---- a/src/main/java/org/fxmisc/easybind/MappedList.java
-+++ b/src/main/java/org/fxmisc/easybind/MappedList.java
-@@ -23,6 +23,11 @@
-     }
- 
-     @Override
-+    public int getViewIndex(int index) {
-+        return index;
-+    }
-+
-+    @Override
-     public E get(int index) {
-         return mapper.apply(getSource().get(index));
-     }


=====================================
debian/patches/03_javafx21.patch
=====================================
@@ -0,0 +1,34 @@
+Description: properly overriding the flatMap method of ObservableValue in
+ openjfx 21.0.12+3
+Author: Pierre Gruet <pgt at debian.org>
+Forwarded: no
+Last-Update: 2026-08-14
+
+--- a/src/main/java/org/fxmisc/easybind/MappedList.java
++++ b/src/main/java/org/fxmisc/easybind/MappedList.java
+@@ -23,6 +23,11 @@
+     }
+ 
+     @Override
++    public int getViewIndex(int index) {
++        return index;
++    }
++
++    @Override
+     public E get(int index) {
+         return mapper.apply(getSource().get(index));
+     }
+--- a/src/main/java/org/fxmisc/easybind/monadic/MonadicObservableValue.java
++++ b/src/main/java/org/fxmisc/easybind/monadic/MonadicObservableValue.java
+@@ -146,8 +146,9 @@
+      * value {@code x}, holds the value held by {@code f(x)}, and is empty
+      * when this ObservableValue is empty.
+      */
+-    default <U> MonadicBinding<U> flatMap(Function<? super T, ObservableValue<U>> f) {
+-        return new FlatMapBinding<>(this, f);
++    @Override
++    default <U> MonadicBinding<U> flatMap(Function<? super T, ? extends ObservableValue<? extends U>> f) {
++        return new FlatMapBinding<>(this, (Function<? super T, ObservableValue<U>>)f);
+     }
+ 
+     /**


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,2 @@
-01_build_gradle.patch
-02_javafx_9_compatibility.patch
+#01_build_gradle.patch
+03_javafx21.patch


=====================================
debian/pom.xml.in
=====================================
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+                             https://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <groupId>org.fxmisc.easybind</groupId>
+    <artifactId>easybind</artifactId>
+    <version>#VERSION#</version>
+    <packaging>jar</packaging>
+
+    <name>EasyBind</name>
+
+    <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    </properties>
+
+    <repositories>
+        <repository>
+            <id>central</id>
+            <url>https://repo.maven.apache.org/maven2</url>
+        </repository>
+    </repositories>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.openjfx</groupId>
+            <artifactId>javafx-base</artifactId>
+            <version>debian</version>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.x</version>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>3.13.0</version>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>


=====================================
debian/rules
=====================================
@@ -1,7 +1,17 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/pkg-info.mk
+
 # output every command that modifies files on the build system.
 export DH_VERBOSE = 1
 
 %:
-	dh $@ --buildsystem=gradle --with=maven-repo-helper
+	dh $@ --buildsystem=maven
+
+execute_before_dh_auto_configure:
+	# Setting up our handmade pom.xml file
+	sed "s/#VERSION#/$(DEB_VERSION_UPSTREAM)/" debian/pom.xml.in > pom.xml
+
+execute_after_dh_clean:
+	# Remomving our handmade pom.xml file
+	-rm pom.xml


=====================================
debian/upstream/metadata
=====================================
@@ -0,0 +1,3 @@
+---
+Bug-Database: https://github.com/TomasMikula/EasyBind/issues
+Repository-Browse: https://github.com/TomasMikula/EasyBind


=====================================
debian/watch
=====================================
@@ -1,6 +1,8 @@
-version=4
-opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%easytag-$1.tar.gz%,\
-      compression=xz,\
-      repack" \
-      https://github.com/TomasMikula/EasyBind/tags \
-      (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
+Version: 5
+
+Source: https://github.com/TomasMikula/EasyBind/tags
+Matching-Pattern: (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
+Compression: xz
+Filenamemangle: s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%easytag-$1.tar.gz%
+Repack: yes
+Update-Script: uupdate



View it on GitLab: https://salsa.debian.org/java-team/easybind/-/compare/68e8b1cf50013ab1383473dcf5d48ce2b6343ed2...7cae68eb6deeca58693b4c08f5c359f1afa49d3d

-- 
View it on GitLab: https://salsa.debian.org/java-team/easybind/-/compare/68e8b1cf50013ab1383473dcf5d48ce2b6343ed2...7cae68eb6deeca58693b4c08f5c359f1afa49d3d
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20260927/6cd1e276/attachment.htm>


More information about the pkg-java-commits mailing list