From 2569ce9da8271c9936b380b01d15243304c2eb1e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:07:40 +0100 Subject: [PATCH] update to 2.4.3 [release 2.4.3-1mamba;Wed Jun 18 2014] --- libwebkit-gtk3.spec | 82 +++++++++++++++++++++++++-------------------- 1 file changed, 45 insertions(+), 37 deletions(-) diff --git a/libwebkit-gtk3.spec b/libwebkit-gtk3.spec index 30fc020..7447e9e 100644 --- a/libwebkit-gtk3.spec +++ b/libwebkit-gtk3.spec @@ -17,7 +17,7 @@ %define majver %(echo %version | cut -d. -f 1-2) Name: libwebkit-gtk3 -Version: 2.0.3 +Version: 2.4.3 Release: 1mamba Summary: Port of WebKit embeddable web component to GTK+ Group: System/Libraries @@ -247,23 +247,25 @@ This package contains the documentation for %{name}, #:<< __EOF #./autogen.sh -%ifarch arm -# Use linker flags to reduce memory consumption on low-mem architectures -EXTRA_CFLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads" -%endif - -#%ifarch x86_64 -# To workaround ar 4GB file limit: -# https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1043507 -EXTRA_CFLAGS="-gstabs" -EXTRA_CXXFLAGS="-gstabs" +#%ifarch arm %{ix86} +## Use linker flags to reduce memory consumption on low-mem architectures +#EXTRA_CFLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads" #%endif -CFLAGS="%{optflags} -DLIBSOUP_I_HAVE_READ_BUG_594377_AND_KNOW_SOUP_PASSWORD_MANAGER_MIGHT_GO_AWAY $EXTRA_CFLAGS" \ +%ifnarch x86_64 +# To workaround ar 4GB file limit: +# https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1043507 +EXTRA_CFLAGS="-g0 -Wl,--no-keep-memory -Wl,--reduce-memory-overheads" +EXTRA_CXXFLAGS="-g0 -Wl,--no-keep-memory -Wl,--reduce-memory-overheads" +%endif + +CFLAGS="%{optflags} -DLIBSOUP_I_HAVE_READ_BUG_594377_AND_KNOW_SOUP_PASSWORD_MANAGER_MIGHT_GO_AWAY $EXTRA_CFLAGS" CXXFLAGS="%{optflags} $EXTRA_CXXFLAGS" \ %configure \ %ifarch arm --disable-jit \ +%else + --enable-jit \ %endif --with-gtk=3.0 \ --enable-geolocation \ @@ -272,14 +274,9 @@ CXXFLAGS="%{optflags} $EXTRA_CXXFLAGS" \ --enable-web-sockets \ --enable-filters \ --enable-coverage \ -%ifarch arm - --disable-introspection \ -%else --enable-introspection \ -%endif --enable-mathml \ --enable-video \ - --enable-jit \ PYTHON=%{__python} # --enable-3D-transforms \ @@ -296,20 +293,12 @@ mkdir -p DerivedSources/WebCore %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%ifarch arm -# Use linker flags to reduce memory consumption on low-mem architectures -EXTRA_CFLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads" -%endif - -#%ifarch x86_64 -# To workaround ar 4GB file limit: -# https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1043507 -EXTRA_CFLAGS="-gstabs" -EXTRA_CXXFLAGS="-gstabs" +#%ifarch arm %{ix86} +## Use linker flags to reduce memory consumption on low-mem architectures +#EXTRA_CFLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads" #%endif -CFLAGS="%{optflags} -DLIBSOUP_I_HAVE_READ_BUG_594377_AND_KNOW_SOUP_PASSWORD_MANAGER_MIGHT_GO_AWAY $EXTRA_CFLAGS" \ -CXXFLAGS="%{optflags} $EXTRA_CXXFLAGS" \ +#CFLAGS="%{optflags} -DLIBSOUP_I_HAVE_READ_BUG_594377_AND_KNOW_SOUP_PASSWORD_MANAGER_MIGHT_GO_AWAY $EXTRA_CFLAGS" %makeinstall V=1 @@ -344,18 +333,17 @@ install -m 755 Programs/GtkLauncher %{buildroot}%{_bindir}/GtkLauncher %{_libdir}/libwebkitgtk-3.0.so.* %{_libdir}/libwebkit2gtk-3.0.so.* %{_libdir}/libjavascriptcoregtk-3.0.so.* -%ifnarch arm -%{_libdir}/girepository-1.0/JSCore-3.0.typelib +%{_libdir}/girepository-1.0/JavaScriptCore-3.0.typelib %{_libdir}/girepository-1.0/WebKit-3.0.typelib %{_libdir}/girepository-1.0/WebKit2-3.0.typelib -%endif +%{_libdir}/girepository-1.0/WebKit2WebExtension-3.0.typelib %{_libdir}/webkit2gtk-3.0/injected-bundle/libwebkit2gtkinjectedbundle.la %{_libdir}/webkit2gtk-3.0/injected-bundle/libwebkit2gtkinjectedbundle.so %dir %{_datadir}/webkitgtk-3.0 %{_datadir}/webkitgtk-3.0/* %{_libexecdir}/WebKitPluginProcess %{_libexecdir}/WebKitWebProcess -#%{_datadir}/glib-2.0/schemas/org.webkitgtk-1.0.gschema.xml +%{_libexecdir}/WebKitNetworkProcess %files devel %defattr(-,root,root) @@ -367,27 +355,47 @@ install -m 755 Programs/GtkLauncher %{buildroot}%{_bindir}/GtkLauncher %{_libdir}/libjavascriptcoregtk-3.0.so %{_libdir}/libwebkit2gtk-3.0.la %{_libdir}/libwebkit2gtk-3.0.so -%ifnarch arm -%{_datadir}/gir-1.0/JSCore-3.0.gir +%{_datadir}/gir-1.0/JavaScriptCore-3.0.gir %{_datadir}/gir-1.0/WebKit-3.0.gir %{_datadir}/gir-1.0/WebKit2-3.0.gir -%endif +%{_datadir}/gir-1.0/WebKit2WebExtension-3.0.gir %{_libdir}/pkgconfig/webkit2gtk-3.0.pc %{_libdir}/pkgconfig/javascriptcoregtk-3.0.pc %{_libdir}/pkgconfig/webkitgtk-3.0.pc +%{_libdir}/pkgconfig/webkit2gtk-web-extension-3.0.pc %files doc %defattr(-,root,root) %dir %{_datadir}/gtk-doc/html/webkitgtk %{_datadir}/gtk-doc/html/webkitgtk/* -%doc %{_datadir}/gtk-doc/html/webkit2gtk +%dir %{_datadir}/gtk-doc/html/webkit2gtk %{_datadir}/gtk-doc/html/webkit2gtk/* +%dir %{_datadir}/gtk-doc/html/webkitdomgtk +%{_datadir}/gtk-doc/html/webkitdomgtk/* %files jsc %defattr(-,root,root) %{_bindir}/jsc-3 %changelog +* Wed Jun 18 2014 Silvan Calarco 2.4.3-1mamba +- update to 2.4.3 + +* Thu Nov 14 2013 Silvan Calarco 2.2.2-2mamba +- rebuilt because previous release was packaged with a buggy rpm release + +* Wed Nov 13 2013 Silvan Calarco 2.2.2-1mamba +- update to 2.2.2 + +* Sat Aug 31 2013 Automatic Build System 2.1.90.1-1mamba +- automatic update by autodist + +* Fri Aug 23 2013 Automatic Build System 2.1.4-1mamba +- automatic update by autodist + +* Sun Jul 21 2013 Automatic Build System 2.1.3-1mamba +- automatic update by autodist + * Mon Jun 17 2013 Automatic Build System 2.0.3-1mamba - update to 2.0.3