Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package eclipse-swt for openSUSE:Factory checked in at 2026-05-05 16:29:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/eclipse-swt (Old) and /work/SRC/openSUSE:Factory/.eclipse-swt.new.30200 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "eclipse-swt" Tue May 5 16:29:40 2026 rev:13 rq:1350957 version:4.29 Changes: -------- --- /work/SRC/openSUSE:Factory/eclipse-swt/eclipse-swt.changes 2025-09-25 18:46:42.193706772 +0200 +++ /work/SRC/openSUSE:Factory/.eclipse-swt.new.30200/eclipse-swt.changes 2026-05-05 16:29:41.475526435 +0200 @@ -1,0 +2,10 @@ +Mon Apr 13 17:59:54 UTC 2026 - Fridrich Strba <[email protected]> + +- Do not require WebKitGtk for building, since the code does not + link with it, but dlopens it. +- Added patch: + * eclipse-webkit.patch + + let the 32-bit version use the same logic of dlopening + WebKitGtk libraries as the 64-bit version + +------------------------------------------------------------------- New: ---- eclipse-webkit.patch ----------(New B)---------- New:- Added patch: * eclipse-webkit.patch + let the 32-bit version use the same logic of dlopening ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ eclipse-swt.spec ++++++ --- /var/tmp/diff_new_pack.smMMFH/_old 2026-05-05 16:29:42.983588909 +0200 +++ /var/tmp/diff_new_pack.smMMFH/_new 2026-05-05 16:29:42.987589075 +0200 @@ -1,7 +1,7 @@ # # spec file for package eclipse-swt # -# Copyright (c) 2025 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 @@ -46,8 +46,9 @@ Patch1: eclipse-swt-rm-eclipse-tasks-and-customize-build.patch Patch2: eclipse-swt-fedora-build-native.patch Patch3: eclipse-gcc10.patch -Patch4: eclipse-swt-no-werror.patch -Patch5: eclipse-swt-gcc15-%{major_version}_%{minor_version}.patch +Patch4: eclipse-webkit.patch +Patch5: eclipse-swt-no-werror.patch +Patch6: eclipse-swt-gcc15-%{major_version}_%{minor_version}.patch BuildRequires: ant BuildRequires: fdupes BuildRequires: gcc @@ -55,7 +56,6 @@ BuildRequires: javapackages-local BuildRequires: make BuildRequires: pkgconfig -BuildRequires: webkit2gtk3-devel BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glu) @@ -83,10 +83,11 @@ %patch -P 2 -p1 %if %{__isa_bits} == 32 %patch -P 3 -p2 -%else %patch -P 4 -p1 -%endif +%else %patch -P 5 -p1 +%endif +%patch -P 6 -p1 mkdir -p %{swtsrcdir}/tasks cp %{SOURCE1} %{swtsrcdir}/tasks cp %{SOURCE2} %{SOURCE3} . ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.smMMFH/_old 2026-05-05 16:29:43.067592389 +0200 +++ /var/tmp/diff_new_pack.smMMFH/_new 2026-05-05 16:29:43.075592720 +0200 @@ -1,6 +1,6 @@ -mtime: 1758742568 -commit: ddf880445b856474c147ea8cc2103217bde881dc291ec763f19d7d0236604a32 -url: https://src.opensuse.org/java-packages/eclipse-swt.git -revision: ddf880445b856474c147ea8cc2103217bde881dc291ec763f19d7d0236604a32 +mtime: 1776103390 +commit: 9cfa24201ac9601c55c1c80fca56493fc01f07f472a2cfdf6fe1ba87c7b84288 +url: https://src.opensuse.org/java-packages/eclipse-swt +revision: 9cfa24201ac9601c55c1c80fca56493fc01f07f472a2cfdf6fe1ba87c7b84288 projectscmsync: https://src.opensuse.org/java-packages/_ObsPrj ++++++ build.specials.obscpio ++++++ ++++++ 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-13 20:03:10.000000000 +0200 @@ -0,0 +1 @@ +.osc ++++++ eclipse-webkit.patch ++++++ --- "a/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.h" 2018-09-05 01:01:31.000000000 +0200 +++ "b/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.h" 2026-04-13 19:39:33.049418961 +0200 @@ -41,20 +41,15 @@ static void *var = NULL; \ if (!initialized) { \ void* handle = 0; \ - char *gtk3 = getenv("SWT_GTK3"); \ - if (gtk3 == NULL || strcmp(gtk3, "1") == 0) { \ - char *webkit2 = getenv("SWT_WEBKIT2"); \ - if (webkit2 != NULL && strcmp(webkit2, "0") == 0) { \ - handle = dlopen("libwebkitgtk-3.0.so.0", LOAD_FLAGS); /* webkitgtk >= 3.x lib */ \ + char *gtk4 = getenv("SWT_GTK4"); \ + if (gtk4 != NULL && strcmp(gtk4, "1") == 0) { \ + handle = dlopen("libwebkit2gtk-5.0.so.0", LOAD_FLAGS); \ } else { \ - handle = dlopen("libwebkit2gtk-4.0.so.37", LOAD_FLAGS); /* webkit2 */ \ + handle = dlopen("libwebkit2gtk-4.0.so.37", LOAD_FLAGS); /* webkit2/libsoup2 */ \ if (!handle) { \ - handle = dlopen("libwebkitgtk-3.0.so.0", LOAD_FLAGS); /* webkitgtk 3.x as machine doesn't have webkit2gtk */ \ + handle = dlopen("libwebkit2gtk-4.1.so.0", LOAD_FLAGS); /* webkit2/libsoup3 */ \ } \ } \ - } else { \ - handle = dlopen("libwebkitgtk-1.0.so.0", LOAD_FLAGS); /* webkitgtk >= 1.4.x lib */ \ - } \ if (handle) { \ var = dlsym(handle, #name); \ } \
