Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package jansi for openSUSE:Factory checked 
in at 2026-04-21 12:42:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jansi (Old)
 and      /work/SRC/openSUSE:Factory/.jansi.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "jansi"

Tue Apr 21 12:42:16 2026 rev:8 rq:1348126 version:2.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/jansi/jansi.changes      2024-09-30 
15:34:58.103455913 +0200
+++ /work/SRC/openSUSE:Factory/.jansi.new.11940/jansi.changes   2026-04-21 
12:42:36.184899282 +0200
@@ -1,0 +2,34 @@
+Mon Apr 20 06:13:35 UTC 2026 - Fridrich Strba <[email protected]>
+
+- Upgrade to upstream release 2.4.3
+  * Changes:
+    + Fix native library loading failure on certain JDK/OS
+      combinations.
+      JansiLoader.contentsEquals() compared full 8192-byte buffers
+      instead of only the bytes actually read from each stream.
+      On the final chunk, stale or overwritten bytes beyond the read
+      count could cause a false "Content differs" mismatch,
+      preventing the native library from loading.
+    + Fix missing synchronisation in AnsiConsole
+    + Deprecate WindowsSupport
+    + Fix JVM crash when running javaw
+    + Fix terminal width support on MINGW
+    + Send both SCO and DEC command for save/restore cursor position
+    + Fix wrong output encoding on Windows with JDK >= 19
+    + Improve robustness of initial cleanup
+    + Fix infinite loop bug
+    + Fix invalid string input
+    + Require JDK 8 at runtime and JDK 11 at build time
+    + Remove @author tags in code
+    + Add module-info through moditect
+    + Support windows on ARM
+    + Only increment counter if install successful
+    + Add missing space in SunOS-sparcv9_CCFLAGS
+    + Fix project's name
+    + Fix windows-arm64 DLL name
+- Modified patch:
+  * jansi-jni.patch
+    + keep the same logic, but rewrite to fit better into the logic
+      of the existing code
+
+-------------------------------------------------------------------

Old:
----
  jansi-2.4.0.tar.xz

New:
----
  _scmsync.obsinfo
  build.specials.obscpio
  jansi-2.4.3.tar.xz
  jansi-module-info.java

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ jansi.spec ++++++
--- /var/tmp/diff_new_pack.Eb77JN/_old  2026-04-21 12:42:36.684920057 +0200
+++ /var/tmp/diff_new_pack.Eb77JN/_new  2026-04-21 12:42:36.684920057 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package jansi
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           jansi
-Version:        2.4.0
+Version:        2.4.3
 Release:        0
 Summary:        Java library for generating and interpreting ANSI escape 
sequences
 License:        Apache-2.0
@@ -25,10 +25,12 @@
 URL:            https://fusesource.github.io/jansi/
 Source0:        %{name}-%{version}.tar.xz
 Source1:        %{name}-build.xml
+Source2:        %{name}-module-info.java
 Patch0:         %{name}-jni.patch
 BuildRequires:  ant
 BuildRequires:  fdupes
 BuildRequires:  gcc
+BuildRequires:  java-devel >= 9
 BuildRequires:  javapackages-local >= 6
 
 %description
@@ -47,7 +49,9 @@
 
 %prep
 %setup -q
+%patch -P 0 -p1
 cp %{SOURCE1} build.xml
+cp %{SOURCE2} src/main/java/module-info.java
 
 %pom_remove_parent
 
@@ -57,7 +61,6 @@
 # Plugins not needed for an RPM build
 %pom_remove_plugin :maven-gpg-plugin
 %pom_remove_plugin :maven-javadoc-plugin
-%pom_remove_plugin :nexus-staging-maven-plugin
 
 # We don't want GraalVM support in Fedora
 %pom_remove_plugin :exec-maven-plugin
@@ -67,15 +70,12 @@
 %pom_xpath_set "//pom:properties/pom:jdkTarget" 1.8
 
 # Link the JNI headers
-ln -s %{_jvmdir}/java/include/jni.h src/main/native/inc_linux
-ln -s %{_jvmdir}/java/include/linux/jni_md.h src/main/native/inc_linux
+ln -s %{_jvmdir}/java/include/jni.h src/main/native
+ln -s %{_jvmdir}/java/include/linux/jni_md.h src/main/native
 
 # Set the JNI path
 sed -i 's,@LIBDIR@,%{_libdir},' \
     src/main/java/org/fusesource/jansi/internal/JansiLoader.java
-# Filtering complicated with ant
-sed -i 's,\${project.version},%{version},' \
-    src/main/resources/org/fusesource/jansi/jansi.properties
 
 %build
 # Build the native artifact

++++++ _scmsync.obsinfo ++++++
mtime: 1776669547
commit: 85673c556018447eee8f7d2a97e5c2f631d857ce8f95a117e9202d3947f91f2f
url: https://src.opensuse.org/java-packages/jansi.git
revision: 85673c556018447eee8f7d2a97e5c2f631d857ce8f95a117e9202d3947f91f2f
projectscmsync: https://src.opensuse.org/java-packages/_ObsPrj

++++++ _service ++++++
--- /var/tmp/diff_new_pack.Eb77JN/_old  2026-04-21 12:42:36.736922218 +0200
+++ /var/tmp/diff_new_pack.Eb77JN/_new  2026-04-21 12:42:36.740922383 +0200
@@ -2,13 +2,10 @@
        <service name="tar_scm" mode="disabled">
                <param name="scm">git</param>
                <param 
name="url">https://github.com/fusesource/jansi.git</param>
-               <param name="revision">jansi-2.4.0</param>
+               <param name="revision">jansi-2.4.3</param>
                <param name="match-tag">jansi-*</param>
                <param name="versionformat">@PARENT_TAG@</param>
                <param name="versionrewrite-pattern">jansi-(.*)</param>
-        <param name="exclude">src/main/native/inc_mac</param>
-        <param name="exclude">src/main/native/inc_win</param>
-        <param name="exclude">src/main/native/inc_linux/*</param>
         <param 
name="exclude">src/main/resources/org/fusesource/jansi/internal</param>
        </service>
        <service name="recompress" mode="disabled">

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-04-20 09:20:08.000000000 +0200
@@ -0,0 +1 @@
+.osc

++++++ jansi-2.4.0.tar.xz -> jansi-2.4.3.tar.xz ++++++
++++ 4349 lines of diff (skipped)

++++++ jansi-build.xml ++++++
--- /var/tmp/diff_new_pack.Eb77JN/_old  2026-04-21 12:42:36.984932521 +0200
+++ /var/tmp/diff_new_pack.Eb77JN/_new  2026-04-21 12:42:37.000933187 +0200
@@ -6,13 +6,14 @@
   <!-- Build environment properties                                           
-->
   <!-- ====================================================================== 
-->
 
-  <property name="project.version" value="2.4.0"/>
+  <property name="project.version" value="2.4.3"/>
   <property name="project.groupId" value="org.fusesource.jansi"/>
   <property name="project.artifactId" value="jansi"/>
 
   <property name="spec.version" value="2.4"/>
 
-  <property name="compiler.source" value="1.8"/>
+  <property name="compiler.release" value="8"/>
+  <property name="compiler.source" value="1.${compiler.release}"/>
   <property name="compiler.target" value="${compiler.source}"/>
 
   <property name="build.finalName" 
value="${project.artifactId}-${project.version}"/>
@@ -37,12 +38,14 @@
 
   <target name="compile" description="Compile the code">
     <mkdir dir="${build.outputDir}"/>
+    <echo message="Compiling all except module-info.java with release=8"/>
     <javac destdir="${build.outputDir}"
-           encoding="UTF-8"
            nowarn="false"
            debug="true"
+           encoding="utf-8"
            optimize="false"
            deprecation="true"
+           release="${compiler.release}"
            target="${compiler.target}"
            verbose="false"
            fork="false"
@@ -50,9 +53,31 @@
       <src>
         <pathelement location="${build.srcDir}"/>
       </src>
+      <exclude name="**/module-info.java"/>
+    </javac>
+    <echo message="Compiling module-info.java with release=9"/>
+    <javac destdir="${build.outputDir}"
+           nowarn="false"
+           debug="true"
+           encoding="utf-8"
+           optimize="false"
+           deprecation="true"
+           release="9"
+           verbose="false"
+           fork="false">
+      <src>
+        <pathelement location="${build.srcDir}"/>
+      </src>
+      <include name="**/module-info.java"/>
+      <modulepath>
+        <pathelement location="${build.outputDir}"/>
+      </modulepath>
     </javac>
     <copy todir="${build.outputDir}">
       <fileset dir="${build.resourceDir}"/>
+      <filterchain>
+        <expandproperties/>
+      </filterchain>
     </copy>
   </target>
 
@@ -78,8 +103,8 @@
              nohelp="false"
              nonavbar="false"
              serialwarn="false"
-             encoding="UTF-8" 
-             docencoding="UTF-8" 
+             encoding="UTF-8"
+             docencoding="UTF-8"
              linksource="false"
              breakiterator="false"/>
   </target>
@@ -104,7 +129,7 @@
         <attribute name="Bundle-SymbolicName" value="${project.groupId}"/>
         <attribute name="Bundle-Vendor" value="FuseSource, Corp."/>
         <attribute name="Bundle-Version" value="${project.version}"/>
-        <attribute name="Export-Package" 
value="org.fusesource.jansi.internal;version=&quot;${project.version}&quot;,org.fusesource.jansi.io;version=&quot;${project.version}&quot;;uses:=&quot;org.fusesource.jansi&quot;,org.fusesource.jansi;version=&quot;${project.version}&quot;;uses:=&quot;org.fusesource.jansi.io&quot;"/>
+        <attribute name="Export-Package" 
value="org.fusesource.jansi.internal;version=&quot;${project.version}&quot;,org.fusesource.jansi.io;uses:=&quot;org.fusesource.jansi&quot;;version=&quot;${project.version}&quot;,org.fusesource.jansi;uses:=&quot;org.fusesource.jansi.io&quot;;version=&quot;${project.version}&quot;"/>
         <attribute name="Implementation-Title" value="${project.artifactId}"/>
         <attribute name="Implementation-Vendor" value="FuseSource, Corp."/>
         <attribute name="Implementation-Version" value="${project.version}"/>

++++++ jansi-jni.patch ++++++
--- /var/tmp/diff_new_pack.Eb77JN/_old  2026-04-21 12:42:37.020934017 +0200
+++ /var/tmp/diff_new_pack.Eb77JN/_new  2026-04-21 12:42:37.024934184 +0200
@@ -1,13 +1,16 @@
---- a/src/main/java/org/fusesource/jansi/internal/JansiLoader.java     
2020-12-15 03:03:00.000000000 -0700
-+++ b/src/main/java/org/fusesource/jansi/internal/JansiLoader.java     
2020-12-15 07:57:30.238720226 -0700
-@@ -295,6 +295,11 @@ public class JansiLoader {
+--- a/src/main/java/org/fusesource/jansi/internal/JansiLoader.java
++++ b/src/main/java/org/fusesource/jansi/internal/JansiLoader.java
+@@ -314,6 +314,14 @@ public class JansiLoader {
              } else {
                  triedPaths.add(jansiNativeLibraryPath);
              }
-+        } else {
-+            if (loadNativeLibrary(new File("@LIBDIR@/jansi", 
jansiNativeLibraryName))) {
++
++            String systemPath = "@LIBDIR@/jansi";
++            if (loadNativeLibrary(new File(systemPath, 
jansiNativeLibraryName))) {
 +                loaded = true;
 +                return;
++            } else {
++                triedPaths.add(systemPath);
 +            }
          }
  

++++++ jansi-module-info.java ++++++
module org.fusesource.jansi {
    exports org.fusesource.jansi;
    exports org.fusesource.jansi.io;
}

Reply via email to