1
0

Compare commits

..

3 Commits

Author SHA256 Message Date
4f73079cf2 Enable EGL-based wxGLCanvas 2025-03-01 10:42:46 +01:00
79cfb31c27 Run spec-beautifier 2025-03-01 10:11:18 +01:00
2df551cde5 Use webkit2gtk-4.1 2024-10-07 16:16:27 +02:00
2 changed files with 26 additions and 13 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sat Mar 1 09:12:56 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Build with --enable-glcanvasegl [boo#1235150]. This turns off GLX
and enables EGL instead. Sibling toolkits need to do this at the
same time for this to work, e.g. hugin needs both wx and GLEW to
be built for EGL.
-------------------------------------------------------------------
Mon Oct 7 14:14:45 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Use webkit2gtk-4.1 pkgconfig file instead of 4.0
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 1 09:33:13 UTC 2024 - Markéta Machová <mmachova@suse.com> Tue Oct 1 09:33:13 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@ -27,10 +27,10 @@
%bcond_with webview %bcond_with webview
%endif %endif
%if "%{flavor}" == "doc" %if "%flavor" == "doc"
%define this_spec wxWidgets-3_2-doc %define this_spec wxWidgets-3_2-doc
%define variant %{nil} %define variant %nil
%define toolkit %{nil} %define toolkit %nil
%endif %endif
%if "%flavor" == "GTK3" %if "%flavor" == "GTK3"
@ -84,7 +84,7 @@ Patch0: soversion.diff
Patch1: autoconf-2_72.diff Patch1: autoconf-2_72.diff
Patch2: textfiletest-fix-file-exists.diff Patch2: textfiletest-fix-file-exists.diff
Patch3: doxygen111.patch Patch3: doxygen111.patch
%if "%{flavor}" == "doc" %if "%flavor" == "doc"
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: graphviz BuildRequires: graphviz
@ -109,7 +109,7 @@ BuildRequires: pkgconfig(gtk+-2.0)
%if "%toolkit" == "gtk3" %if "%toolkit" == "gtk3"
BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtk+-3.0)
%if %{with webview} %if %{with webview}
BuildRequires: pkgconfig(webkit2gtk-4.0) BuildRequires: pkgconfig(webkit2gtk-4.1)
%endif %endif
%endif %endif
%if "%toolkit" == "qt" %if "%toolkit" == "qt"
@ -390,7 +390,7 @@ This package contains the API documentation in HTML format.
cp %{S:2} . cp %{S:2} .
%build %build
%if "%{flavor}" == "doc" %if "%flavor" == "doc"
pushd docs/doxygen pushd docs/doxygen
echo "DOT_IMAGE_FORMAT = svg" >> Doxyfile echo "DOT_IMAGE_FORMAT = svg" >> Doxyfile
WX_SKIP_DOXYGEN_VERSION_CHECK=1 ./regen.sh xml WX_SKIP_DOXYGEN_VERSION_CHECK=1 ./regen.sh xml
@ -418,9 +418,9 @@ autoconf -f -i
--enable-ipv6 \ --enable-ipv6 \
--enable-mediactrl \ --enable-mediactrl \
--enable-optimise \ --enable-optimise \
%{wx_debug:--enable-debug=%{wx_debug}} \ %{wx_debug:--enable-debug=%wx_debug} \
--enable-repro-build \ --enable-repro-build \
--disable-glcanvasegl \ --enable-glcanvasegl \
--enable-webrequest \ --enable-webrequest \
%if "%flavor" == "GTK3-nostl" %if "%flavor" == "GTK3-nostl"
--disable-stl \ --disable-stl \
@ -434,7 +434,7 @@ autoconf -f -i
%endif %endif
%install %install
%if "%{flavor}" == "doc" %if "%flavor" == "doc"
find docs/doxygen/out/xml/ -iname \*.png -print -delete find docs/doxygen/out/xml/ -iname \*.png -print -delete
find docs/doxygen/out/html/ -iname \*.dot -print -delete find docs/doxygen/out/html/ -iname \*.dot -print -delete
%fdupes -s docs/doxygen/out/html/ %fdupes -s docs/doxygen/out/html/
@ -455,7 +455,7 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr
%endif %endif
%check %check
%if "%{flavor}" != "doc" %if "%flavor" != "doc"
%make_build -C tests all %make_build -C tests all
pushd tests pushd tests
# Disable webrequest tests requiring network access # Disable webrequest tests requiring network access
@ -485,7 +485,7 @@ export WX_TEST_WEBREQUEST_URL=0
%ldconfig_scriptlets -n libwx_%{toolkit}u_webview-%variant%psonum %ldconfig_scriptlets -n libwx_%{toolkit}u_webview-%variant%psonum
%ldconfig_scriptlets -n libwx_%{toolkit}u_xrc-%variant%psonum %ldconfig_scriptlets -n libwx_%{toolkit}u_xrc-%variant%psonum
%if "%{flavor}" == "doc" %if "%flavor" == "doc"
%files xml %files xml
%doc docs/doxygen/out/xml/*.{xml,xslt} %doc docs/doxygen/out/xml/*.{xml,xslt}