Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package java-17-openjdk for openSUSE:Factory
checked in at 2023-02-20 17:45:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/java-17-openjdk (Old)
and /work/SRC/openSUSE:Factory/.java-17-openjdk.new.22824 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "java-17-openjdk"
Mon Feb 20 17:45:13 2023 rev:19 rq:1066517 version:17.0.6.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/java-17-openjdk/java-17-openjdk.changes
2023-02-14 20:07:59.324239328 +0100
+++
/work/SRC/openSUSE:Factory/.java-17-openjdk.new.22824/java-17-openjdk.changes
2023-02-20 17:45:20.055255553 +0100
@@ -1,0 +2,12 @@
+Fri Feb 17 13:19:03 UTC 2023 - Fridrich Strba <[email protected]>
+
+- Remove the accessibility sub-package, since it was never really
+ working and creates another problems (bsc#1205916). It can
+ eventually be built as standalone if needed
+- Removed patches:
+ * jaw-jdk10.patch
+ * jaw-misc.patch
+ * jaw-nogtk.patch
+ + not needed after the removal of the accessibility sub-package
+
+-------------------------------------------------------------------
Old:
----
java-atk-wrapper-0.33.2.tar.xz
jaw-jdk10.patch
jaw-misc.patch
jaw-nogtk.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ java-17-openjdk.spec ++++++
--- /var/tmp/diff_new_pack.mcrSl4/_old 2023-02-20 17:45:23.963277630 +0100
+++ /var/tmp/diff_new_pack.mcrSl4/_new 2023-02-20 17:45:23.967277653 +0100
@@ -37,8 +37,6 @@
%global openjdk_repo jdk17u
%global openjdk_tag
jdk-%{featurever}.%{interimver}.%{updatever}%{?patchver:.%{patchver}}+%{buildver}
%global openjdk_dir
%{openjdk_repo}-jdk-%{featurever}.%{interimver}.%{updatever}%{?patchver:.%{patchver}}-%{buildver}
-# JavaEE modules
-%global java_atk_wrapper_version 0.33.2
# priority must be 6 digits in total
%if 0%{?suse_version} > 1315 || 0%{?java_bootstrap}
%global priority 2705
@@ -135,8 +133,6 @@
URL: https://openjdk.java.net/
# Sources from upstream OpenJDK project.
Source0:
https://github.com/openjdk/%{openjdk_repo}/archive/%{openjdk_tag}.tar.gz
-# Accessibility support
-Source8:
https://download.gnome.org/sources/java-atk-wrapper/0.33/java-atk-wrapper-%{java_atk_wrapper_version}.tar.xz
# Systemtap tapsets. Zipped up to keep it small.
Source10: systemtap-tapset.tar.xz
# Desktop files. Adapated from IcedTea.
@@ -182,10 +178,6 @@
Patch302: disable-doclint-by-default.patch
Patch303: alternative-tzdb_dat.patch
#
-Patch400: jaw-misc.patch
-Patch401: jaw-jdk10.patch
-Patch402: jaw-nogtk.patch
-#
BuildRequires: alsa-lib-devel
BuildRequires: autoconf
BuildRequires: automake
@@ -217,13 +209,6 @@
BuildRequires: xorg-x11-proto-devel
BuildRequires: xprop
BuildRequires: zip
-BuildRequires: pkgconfig(atk) >= 2.14.0
-BuildRequires: pkgconfig(atk-bridge-2.0)
-BuildRequires: pkgconfig(atspi-2) >= 2.14.0
-BuildRequires: pkgconfig(dbus-1)
-BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
-BuildRequires: pkgconfig(gobject-2.0)
-BuildRequires: pkgconfig(gthread-2.0)
# Requires rest of java
Requires: %{name}-headless = %{version}-%{release}
Requires: fontconfig
@@ -301,6 +286,7 @@
# Postun requires update-alternatives to uninstall tool update-alternatives.
Requires(postun):update-alternatives
Recommends: tzdata-java8
+Obsoletes: %{name}-accessibility
%if 0%{?suse_version} > 1315 || 0%{?java_bootstrap}
# Standard JPackage base provides.
Provides: java-%{javaver}-headless = %{version}-%{release}
@@ -391,25 +377,8 @@
%description javadoc
The OpenJDK %{featurever} API documentation.
-%package accessibility
-Summary: OpenJDK %{featurever} accessibility connector
-Group: Development/Languages/Java
-Requires: %{name} = %{version}-%{release}
-Requires: xprop
-
-%description accessibility
-Enables accessibility support in OpenJDK %{featurever} by using
java-atk-wrapper. This allows
-compatible at-spi2 based accessibility programs to work for AWT and Swing-based
-programs.
-
-Please note, the java-atk-wrapper is still in beta, and OpenJDK itself is still
-being tuned to be working with accessibility features. There are known issues
-with accessibility on, so please do not install this package unless you really
-need to.
-
%prep
%setup -q -n %{openjdk_dir}
-%setup -q -D -n %{openjdk_dir} -T -a 8
# Replace config.sub and config.guess with fresh versions
cp %{SOURCE100} make/autoconf/build-aux/
@@ -448,10 +417,6 @@
%patch302 -p1
%patch303 -p1
-%patch400
-%patch401
-%patch402
-
# Extract systemtap tapsets
%if %{with_systemtap}
@@ -556,24 +521,6 @@
# Copy tz.properties
echo "sun.zoneinfo.dir=%{_datadir}/javazi" >> $JAVA_HOME/conf/tz.properties
-# Build the accessibility plugin
-pushd java-atk-wrapper-%{java_atk_wrapper_version}
-autoreconf --force --install
-rm wrapper/org/GNOME/Accessibility/AtkWrapper.java
-%configure \
- --without-jdk-auto-detect \
- JDK_SRC=$JAVA_HOME
-rm wrapper/org/GNOME/Accessibility/AtkWrapper.java
-make %{?_smp_mflags}
-cp wrapper/java-atk-wrapper.jar $JAVA_HOME/../jmods/
-cp jni/src/.libs/libatk-wrapper.so $JAVA_HOME/lib/
-popd
-# Merge the java-atk-wrapper into the JDK
-source $JAVA_HOME/release; export MODULES
-$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules
"atk.wrapper,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
-cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
-rm -rf $JAVA_HOME/../newjdk
-
# cacerts are generated in runtime in openSUSE
if [ -f %{buildoutputdir}/%{imagesdir}/jdk/lib/security/cacerts ]; then
rm %{buildoutputdir}/%{imagesdir}/jdk/lib/security/cacerts
@@ -708,14 +655,6 @@
| sed 's|^|%doc |' \
>> %{name}-demo.files
-# Create a config file to enable java-atk-wrapper
-pushd %{buildroot}/%{_jvmdir}/%{sdkdir}/conf/
- echo "#Config file to enable java-atk-wrapper" > accessibility.properties
- echo "" >> accessibility.properties
- echo "assistive_technologies=org.GNOME.Accessibility.AtkWrapper" >>
accessibility.properties
- echo "" >> accessibility.properties
-popd
-
# fdupes links the files from JDK to JRE, so it breaks a JRE
# use it carefully :))
%fdupes -s %{buildroot}/%{_jvmdir}/%{sdkdir}/
@@ -1113,7 +1052,6 @@
%files jmods
%dir %{_jvmdir}/%{sdkdir}/jmods
%{_jvmdir}/%{sdkdir}/jmods/*.jmod
-%{_jvmdir}/%{sdkdir}/jmods/java-atk-wrapper.jar
%files demo -f %{name}-demo.files
@@ -1125,8 +1063,4 @@
%dir %{_javadocdir}/%{sdklnk}
%{_javadocdir}/%{sdklnk}/*
-%files accessibility
-%config(noreplace) %{_jvmdir}/%{sdkdir}/conf/accessibility.properties
-%{_jvmdir}/%{sdkdir}/lib/libatk-wrapper.so
-
%changelog