Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package java-15-openjdk for openSUSE:Factory checked in at 2023-02-18 17:11:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/java-15-openjdk (Old) and /work/SRC/openSUSE:Factory/.java-15-openjdk.new.22824 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "java-15-openjdk" Sat Feb 18 17:11:28 2023 rev:12 rq:1066516 version:15.0.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/java-15-openjdk/java-15-openjdk.changes 2022-10-24 11:26:05.800805344 +0200 +++ /work/SRC/openSUSE:Factory/.java-15-openjdk.new.22824/java-15-openjdk.changes 2023-02-18 17:11:38.815213785 +0100 @@ -1,0 +2,12 @@ +Fri Feb 17 13:19:03 UTC 2023 - Fridrich Strba <fst...@suse.com> + +- 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-15-openjdk.spec ++++++ --- /var/tmp/diff_new_pack.I2UYc6/_old 2023-02-18 17:11:40.859226691 +0100 +++ /var/tmp/diff_new_pack.I2UYc6/_new 2023-02-18 17:11:40.863226717 +0100 @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -37,7 +37,6 @@ %global openjdk_repo jdk15u %global openjdk_tag jdk-%{featurever}.%{interimver}.%{updatever}%{?patchver:.%{patchver}}+%{buildver} %global openjdk_dir %{openjdk_repo}-jdk-%{featurever}.%{interimver}.%{updatever}%{?patchver:.%{patchver}}-%{buildver} -%global java_atk_wrapper_version 0.33.2 # priority must be 6 digits in total # % global priority 2505 %global priority 0 @@ -98,12 +97,12 @@ %global package_version %{featurever}.%{interimver}.%{updatever}.%{?patchver:%{patchver}}%{!?patchver:0}~%{buildver} %endif %bcond_with zero -%bcond_with aot %if ! %{with zero} %ifarch x86_64 %{aarch64} %global _with_aot 1 %endif %endif +%bcond_with aot %if ! %{with zero} %global with_systemtap 1 %else @@ -134,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. @@ -183,10 +180,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 @@ -218,13 +211,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 +287,7 @@ # Postun requires update-alternatives to uninstall tool update-alternatives. Requires(postun):update-alternatives Recommends: tzdata-java8 +Obsoletes: %{name}-accessibility # Standard JPackage base provides. Provides: java-%{javaver}-headless = %{version}-%{release} Provides: java-headless = %{javaver} @@ -385,25 +372,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/ @@ -450,10 +420,6 @@ %patch302 -p1 %patch303 -p1 -%patch400 -%patch401 -%patch402 - # Extract systemtap tapsets %if %{with_systemtap} @@ -560,24 +526,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 @@ -715,14 +663,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}/ @@ -1133,7 +1073,6 @@ %dir %{_jvmdir}/%{sdkdir}/jmods %{_jvmdir}/%{sdkdir}/release %{_jvmdir}/%{sdkdir}/jmods/*.jmod -%{_jvmdir}/%{sdkdir}/jmods/java-atk-wrapper.jar %files demo -f %{name}-demo.files @@ -1145,8 +1084,4 @@ %dir %{_javadocdir}/%{sdklnk} %{_javadocdir}/%{sdklnk}/* -%files accessibility -%config(noreplace) %{_jvmdir}/%{sdkdir}/conf/accessibility.properties -%{_jvmdir}/%{sdkdir}/lib/libatk-wrapper.so - %changelog