[packages/icedtea8] Up to 3.38.0
arekm
arekm at pld-linux.org
Wed Feb 11 14:16:13 CET 2026
commit 8909abdd7996e65d7e79c44df572b32fa47c458e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Feb 11 14:16:06 2026 +0100
Up to 3.38.0
build.patch | 34 +++++++++++++++++++++++++++
icedtea8-libpath.patch | 27 ++++++++++++++--------
icedtea8.spec | 62 +++++++++++++++++++-------------------------------
3 files changed, 75 insertions(+), 48 deletions(-)
---
diff --git a/icedtea8.spec b/icedtea8.spec
index 75741c1..7d57d44 100644
--- a/icedtea8.spec
+++ b/icedtea8.spec
@@ -30,35 +30,23 @@
# class data version seen with file(1) that this jvm is able to load
%define _classdataversion 52.0
# JDK/JRE version, as returned with `java -version`, '_' replaced with '.'
-%define _jdkversion 1.8.0.292
+%define _jdkversion 1.8.0.482
Summary: OpenJDK and GNU Classpath code
Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath
Name: icedtea8
-Version: 3.19.0
+Version: 3.38.0
Release: 1
License: GPL v2
Group: Development/Languages/Java
-Source0: http://icedtea.wildebeest.org/download/source/icedtea-%{version}.tar.gz
-# Source0-md5: 196e08948558322e7dd5c0b54b6d08a6
-Source1: http://icedtea.wildebeest.org/download/drops/icedtea8/%{version}/openjdk.tar.xz
-# Source1-md5: 31e8f9aa1359a7bbf28b7c4b5046a472
-Source2: http://icedtea.wildebeest.org/download/drops/icedtea8/%{version}/corba.tar.xz
-# Source2-md5: 1d7446a502305da6f5340858dd49b76f
-Source3: http://icedtea.wildebeest.org/download/drops/icedtea8/%{version}/jaxp.tar.xz
-# Source3-md5: 5e77415af4a088bc643456f7e01ae013
-Source4: http://icedtea.wildebeest.org/download/drops/icedtea8/%{version}/jaxws.tar.xz
-# Source4-md5: e020b567a60b0302bc9da4a4e7245b5e
-Source5: http://icedtea.wildebeest.org/download/drops/icedtea8/%{version}/jdk.tar.xz
-# Source5-md5: 02ed69e9f862ff30e540296aaab28799
-Source6: http://icedtea.wildebeest.org/download/drops/icedtea8/%{version}/langtools.tar.xz
-# Source6-md5: 86a49394f091e4ae6bc7eac8e02a2f83
-Source7: http://icedtea.wildebeest.org/download/drops/icedtea8/%{version}/hotspot.tar.xz
-# Source7-md5: aaddd1cc1af543542318933d1d47d57e
-Source8: http://icedtea.wildebeest.org/download/drops/icedtea8/%{version}/aarch32.tar.xz
-# Source8-md5: 8cc9496816d9b752e7dcc64aefd8a385
-Source9: http://icedtea.wildebeest.org/download/drops/icedtea8/%{version}/nashorn.tar.xz
-# Source9-md5: 0c449d68b6cafcfec6099770f95c6347
+Source0: https://icedtea.classpath.org/download/source/icedtea-%{version}.tar.gz
+# Source0-md5: a263c928e80df03c4f2ac36f7835636e
+Source1: https://icedtea.classpath.org/download/drops/icedtea8/%{version}/openjdk-git.tar.xz
+# Source1-md5: c0c0b0d09f5b8048b5ab00343667d8ab
+Source2: https://icedtea.classpath.org/download/drops/icedtea8/%{version}/aarch32-git.tar.xz
+# Source2-md5: d1a0e50e6a39f10dd0676c305e1dbd8d
+Source3: https://icedtea.classpath.org/download/drops/icedtea8/%{version}/shenandoah-git.tar.xz
+# Source3-md5: cb1b396c8d113a8bbf7d3b1725f7b093
Source10: make-cacerts.sh
# 0-99 patches for the IcedTea files
Patch0: %{name}-x32-ac.patch
@@ -68,7 +56,8 @@ Patch100: %{name}-libpath.patch
Patch101: %{name}-x32.patch
Patch102: openjdk-heimdal.patch
Patch103: atomic.patch
-URL: http://icedtea.classpath.org/wiki/Main_Page
+Patch104: build.patch
+URL: https://icedtea.classpath.org/wiki/
BuildRequires: alsa-lib-devel
BuildRequires: ant
BuildRequires: autoconf
@@ -102,6 +91,7 @@ BuildRequires: lsb-release
BuildRequires: pcsc-lite-devel
BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.752
+BuildRequires: rpm-javaprov
%{?with_systemtap:BuildRequires: systemtap-sdt-devel >= 3.2}
BuildRequires: tar >= 1:1.22
BuildRequires: unzip
@@ -184,7 +174,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
The IcedTea project provides a harness to build the source code from
-http://openjdk.java.net/ using Free Software build tools and provides
+https://openjdk.java.net/ using Free Software build tools and provides
replacements libraries for the binary plugs with code from the GNU
Classpath project.
@@ -194,7 +184,7 @@ runtime environment.
%description -l pl.UTF-8
Projekt IcedTea daje możliwość kompilacji kodu źródłowego z
-http://openjdk.java.net/ przy użyciu wolnodostępnych narzędzi oraz
+https://openjdk.java.net/ przy użyciu wolnodostępnych narzędzi oraz
dostarcza zamienniki biblioteczne binarnych wtyczek pochodzące z
projektu GNU Classpath.
@@ -474,21 +464,13 @@ cp -p %{PATCH101} pld-patches
%endif
cp -p %{PATCH102} pld-patches
cp -p %{PATCH103} pld-patches
+cp -p %{PATCH104} pld-patches
# let the build system extract the sources where it wants them
install -d drops
-ln -s %{SOURCE1} openjdk.tar.xz
-ln -s %{SOURCE2} corba.tar.xz
-ln -s %{SOURCE3} jaxp.tar.xz
-ln -s %{SOURCE4} jaxws.tar.xz
-ln -s %{SOURCE5} jdk.tar.xz
-ln -s %{SOURCE6} langtools.tar.xz
-%ifarch %{arm}
-ln -s %{SOURCE8} hotspot.tar.xz
-%else
-ln -s %{SOURCE7} hotspot.tar.xz
-%endif
-ln -s %{SOURCE9} nashorn.tar.xz
+ln -s %{SOURCE1} openjdk-git.tar.xz
+ln -s %{SOURCE2} aarch32-git.tar.xz
+ln -s %{SOURCE3} shenandoah-git.tar.xz
%build
# Make sure we have /proc mounted - otherwise idlc will fail later.
@@ -521,8 +503,9 @@ chmod a+x build-bin/ant
%{__automake}
# NOTE: the weird '--disable-bootstrap' is how it is supposed to be
-# http://icedtea.classpath.org/wiki/CommonIssues#IcedTea7_building_on_systems_with_JDK_5_or_JDK_6
+# https://icedtea.classpath.org/wiki/CommonIssues#IcedTea7_building_on_systems_with_JDK_5_or_JDK_6
%configure \
+ CFLAGS="-std=gnu99 %{rpmcflags}" \
WGET=%{_bindir}/wget \
%ifarch x32
--enable-zero \
@@ -592,6 +575,9 @@ mv $RPM_BUILD_ROOT%{dstdir}/demo $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{versio
mv $RPM_BUILD_ROOT%{dstdir}/sample $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
mv $RPM_BUILD_ROOT%{dstdir}/src.zip $RPM_BUILD_ROOT%{_javasrcdir}/%{name}-jdk.zip
+# remove binaries from examples
+rm -r $RPM_BUILD_ROOT%{_examplesdir}/*/demo/jvmti/*/lib
+
# move manual pages to its place
mv $RPM_BUILD_ROOT%{dstdir}/man/ja_JP.UTF-8/man1 $RPM_BUILD_ROOT%{_mandir}/ja/man1
rmdir $RPM_BUILD_ROOT%{dstdir}/man/ja_JP.UTF-8
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..62f4def
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,34 @@
+--- openjdk/jdk/src/share/bin/splashscreen_stubs.c~ 2026-01-28 16:47:44.000000000 +0100
++++ openjdk/jdk/src/share/bin/splashscreen_stubs.c 2026-02-11 11:56:49.553207830 +0100
+@@ -61,11 +61,11 @@ typedef char* (*SplashGetScaledImageName
+ #define INVOKEV(name) _INVOKE(name, ,;)
+
+ int DoSplashLoadMemory(void* pdata, int size) {
+- INVOKE(SplashLoadMemory, NULL)(pdata, size);
++ INVOKE(SplashLoadMemory, 0)(pdata, size);
+ }
+
+ int DoSplashLoadFile(const char* filename) {
+- INVOKE(SplashLoadFile, NULL)(filename);
++ INVOKE(SplashLoadFile, 0)(filename);
+ }
+
+ void DoSplashInit(void) {
+@@ -87,4 +87,4 @@ void DoSplashSetScaleFactor(float sca
+ char* DoSplashGetScaledImageName(const char* fileName, const char* jarName,
+ float* scaleFactor) {
+ INVOKE(SplashGetScaledImageName, NULL)(fileName, jarName, scaleFactor);
+-}
+\ No newline at end of file
++}
+--- openjdk/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c~ 2026-01-28 16:47:44.000000000 +0100
++++ openjdk/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c 2026-02-11 12:17:20.966127812 +0100
+@@ -2690,7 +2690,7 @@ Java_com_sun_imageio_plugins_jpeg_JPEGIm
+ RELEASE_ARRAYS(env, data, NULL);
+ }
+
+-static void freeArray(void** arr, jint size) {
++static void freeArray(UINT8** arr, jint size) {
+ int i;
+ if (arr != NULL) {
+ for (i = 0; i < size; i++) {
diff --git a/icedtea8-libpath.patch b/icedtea8-libpath.patch
index a153d2a..cd39e42 100644
--- a/icedtea8-libpath.patch
+++ b/icedtea8-libpath.patch
@@ -1,14 +1,21 @@
---- openjdk/hotspot/src/os/linux/vm/os_linux.cpp~ 2015-12-24 07:19:42.000000000 +0100
-+++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp 2019-11-18 20:11:28.343551301 +0100
-@@ -370,9 +370,9 @@ void os::init_system_properties_values()
- // ...
- // 7: The default directories, normally /lib and /usr/lib.
+--- openjdk/hotspot/src/os/linux/vm/os_linux.cpp~ 2026-01-28 16:47:44.000000000 +0100
++++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp 2026-02-11 11:14:01.296770348 +0100
+@@ -366,15 +366,15 @@ void os::init_system_properties_values()
+ // ...
+ // 7: The default directories, normally /lib and /usr/lib.
#if defined(AMD64) || defined(_LP64) && (defined(SPARC) || defined(PPC) || defined(S390))
--#define DEFAULT_LIBPATH "/usr/lib64:/lib64:/lib:/usr/lib"
-+#define DEFAULT_LIBPATH "/usr/lib64/java:/usr/lib64:/lib64:/lib:/usr/lib"
+- #define DEFAULT_LIBPATH "/usr/lib64:/lib64:/lib:/usr/lib"
++ #define DEFAULT_LIBPATH "/usr/lib64/java:/usr/lib64:/lib64:/lib:/usr/lib"
#else
--#define DEFAULT_LIBPATH "/lib:/usr/lib"
-+#define DEFAULT_LIBPATH "/usr/lib/java:/lib:/usr/lib"
+ #if defined(AARCH64)
+ // Use 32-bit locations first for AARCH64 (a 64-bit architecture), since some systems
+ // might not adhere to the FHS and it would be a change in behaviour if we used
+ // DEFAULT_LIBPATH of other 64-bit architectures which prefer the 64-bit paths.
+- #define DEFAULT_LIBPATH "/lib:/usr/lib:/usr/lib64:/lib64"
++ #define DEFAULT_LIBPATH "/usr/lib/java:/lib:/usr/lib:/usr/lib64:/lib64"
+ #else
+- #define DEFAULT_LIBPATH "/lib:/usr/lib"
++ #define DEFAULT_LIBPATH "/usr/lib/java:/lib:/usr/lib"
+ #endif // AARCH64
#endif
- // Base path of extensions installed on the system.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/icedtea8.git/commitdiff/8909abdd7996e65d7e79c44df572b32fa47c458e
More information about the pld-cvs-commit
mailing list