You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
598 lines
21 KiB
598 lines
21 KiB
3 years ago
|
## NOTE: Lots of files in various subdirectories have the same name (such as
|
||
|
## "LICENSE") so this short macro allows us to distinguish them by using their
|
||
|
## directory names (from the source tree) as prefixes for the files.
|
||
|
%global add_to_license_files() \
|
||
|
mkdir -p _license_files ; \
|
||
|
cp -p %1 _license_files/$(echo '%1' | sed -e 's!/!.!g')
|
||
|
|
||
|
# Bundle ICU 57 - see https://bugzilla.redhat.com/show_bug.cgi?id=1414413
|
||
|
%define bundle_icu 1
|
||
|
%if 0%{?bundle_icu}
|
||
|
# Filter out provides/requires for private libraries
|
||
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}libicu.*
|
||
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}libicu.*
|
||
|
%global __provides_exclude_from ^%{_libdir}/webkit2gtk-4\\.0/.*\\.so$
|
||
|
%endif
|
||
|
|
||
|
# Increase the DIE limit so our debuginfo packages could be size optimized.
|
||
|
# Fedora bug - https://bugzilla.redhat.com/show_bug.cgi?id=1456261
|
||
|
%global _dwz_max_die_limit 250000000
|
||
|
# The _dwz_max_die_limit is being overridden by the arch specific ones from the
|
||
|
# redhat-rpm-config so we need to set the arch specific ones as well - now it
|
||
|
# is only needed for x86_64.
|
||
|
%global _dwz_max_die_limit_x86_64 250000000
|
||
|
|
||
|
# As we are using the DTS we have to build this package as:
|
||
|
# rhpkg build --target rhel-7.7-devtoolset-7-candidate
|
||
|
|
||
|
Name: webkitgtk4
|
||
|
Version: 2.28.2
|
||
|
Release: 2%{?dist}
|
||
|
Summary: GTK+ Web content engine library
|
||
|
|
||
|
License: LGPLv2
|
||
|
URL: https://www.webkitgtk.org
|
||
|
Source0: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
|
||
|
%if 0%{?bundle_icu}
|
||
|
Source1: https://download.icu-project.org/files/icu4c/57.1/icu4c-57_1-src.tgz
|
||
|
%endif
|
||
|
|
||
|
# https://bugs.webkit.org/show_bug.cgi?id=209360
|
||
|
Patch0: webkit-aarch64_page_size.patch
|
||
|
# https://bugs.webkit.org/show_bug.cgi?id=193749
|
||
|
Patch1: evolution-shared-secondary-process.patch
|
||
|
# Revert woff2 and brotli removal to bundle them again, as they are not
|
||
|
# included in RHEL 7
|
||
|
# https://bugs.webkit.org/show_bug.cgi?id=179630
|
||
|
Patch2: webkit-woff2_1.0.2.patch
|
||
|
# https://trac.webkit.org/changeset/224329
|
||
|
Patch3: webkit-library_typos.patch
|
||
|
# https://bugs.webkit.org/show_bug.cgi?id=177862
|
||
|
Patch4: webkit-remove_woff2.patch
|
||
|
# https://bugs.webkit.org/show_bug.cgi?id=177804
|
||
|
Patch5: webkit-remove_brotli.patch
|
||
|
# We don't have new enough version of libgcrypt to support WebCrypto, lower
|
||
|
# the version in the check so configure can pass and also disable WebCrypto
|
||
|
# through cmake argument.
|
||
|
Patch6: webkit-lower_libgcrypt_version.patch
|
||
|
# We don't have new enough version of libwebp (that has demux) to support the
|
||
|
# animated WebP images - revert the change that introduced it.
|
||
|
Patch7: webkit-no_webp_demux.patch
|
||
|
# https://bugs.webkit.org/show_bug.cgi?id=210685
|
||
|
Patch8: webkit-fix-ppc64le-s390x.patch
|
||
|
# Upstream requires CMake 3.10, but we have only 3.6 in devtoolset.
|
||
|
Patch9: webkit-old-cmake.patch
|
||
|
# Fix build on 32-bit s390. I'm not upstreaming this since we don't support this
|
||
|
# architecture in RHEL 8.
|
||
|
Patch10: webkit-jscoptions-fix-s390.patch
|
||
|
# https://bugs.webkit.org/show_bug.cgi?id=212590
|
||
|
Patch11: webkit-objectidentifier-undefined.patch
|
||
|
|
||
|
%if 0%{?bundle_icu}
|
||
|
Patch50: icu-8198.revert.icu5431.patch
|
||
|
Patch51: icu-8800.freeserif.crash.patch
|
||
|
Patch52: icu-7601.Indic-ccmp.patch
|
||
|
Patch53: icu-gennorm2-man.patch
|
||
|
Patch54: icu-icuinfo-man.patch
|
||
|
Patch55: icu-armv7hl-disable-tests.patch
|
||
|
Patch56: icu-rhbz1360340-icu-changeset-39109.patch
|
||
|
Patch57: icu-diff-icu_trunk_source_common_locid.cpp-from-39282-to-39384.patch
|
||
|
Patch58: icu-dont_use_clang_even_if_installed.patch
|
||
|
# CVE-2017-7867 CVE-2017-7868
|
||
|
Patch59: icu-rhbz1444101-icu-changeset-39671.patch
|
||
|
%endif
|
||
|
|
||
|
BuildRequires: at-spi2-core-devel
|
||
|
BuildRequires: bison
|
||
|
BuildRequires: cairo-devel
|
||
|
BuildRequires: enchant-devel
|
||
|
BuildRequires: flex
|
||
|
BuildRequires: fontconfig-devel
|
||
|
BuildRequires: freetype-devel
|
||
|
BuildRequires: gettext
|
||
|
BuildRequires: glib2-devel
|
||
|
BuildRequires: gobject-introspection-devel
|
||
|
BuildRequires: gperf
|
||
|
BuildRequires: gstreamer1-devel
|
||
|
BuildRequires: gstreamer1-plugins-base-devel
|
||
|
BuildRequires: gstreamer1-plugins-bad-free-devel
|
||
|
BuildRequires: gtk3-devel
|
||
|
BuildRequires: gtk-doc >= 1.25
|
||
|
BuildRequires: harfbuzz-devel
|
||
|
%if ! 0%{?bundle_icu}
|
||
|
BuildRequires: libicu-devel
|
||
|
%endif
|
||
|
BuildRequires: libjpeg-devel
|
||
|
BuildRequires: libnotify-devel
|
||
|
BuildRequires: libpng-devel
|
||
|
BuildRequires: libsecret-devel
|
||
|
BuildRequires: libsoup-devel >= 2.56
|
||
|
BuildRequires: libwebp-devel
|
||
|
BuildRequires: libxslt-devel
|
||
|
BuildRequires: libXt-devel
|
||
|
BuildRequires: libwayland-client-devel
|
||
|
BuildRequires: libwayland-egl-devel
|
||
|
BuildRequires: libwayland-server-devel
|
||
|
BuildRequires: mesa-libEGL-devel
|
||
|
BuildRequires: mesa-libGL-devel
|
||
|
BuildRequires: mesa-libGLES-devel
|
||
|
BuildRequires: pcre-devel
|
||
|
BuildRequires: perl-Switch
|
||
|
BuildRequires: perl-JSON-PP
|
||
|
BuildRequires: ruby
|
||
|
BuildRequires: rubygem-json
|
||
|
BuildRequires: rubygems
|
||
|
BuildRequires: sqlite-devel
|
||
|
BuildRequires: hyphen-devel
|
||
|
BuildRequires: gnutls-devel
|
||
|
%if 0%{?rhel} == 7
|
||
|
BuildRequires: devtoolset-7-gcc
|
||
|
BuildRequires: devtoolset-7-gcc-c++
|
||
|
BuildRequires: devtoolset-7-build
|
||
|
BuildRequires: devtoolset-7-libatomic-devel
|
||
|
BuildRequires: llvm-toolset-7-cmake
|
||
|
%else
|
||
|
BuildRequires: libatomic
|
||
|
BuildRequires: cmake
|
||
|
%endif
|
||
|
|
||
|
Requires: geoclue2
|
||
|
|
||
|
%if 0%{?bundle_icu}
|
||
|
BuildRequires: doxygen
|
||
|
BuildRequires: autoconf
|
||
|
BuildRequires: python
|
||
|
%endif
|
||
|
|
||
|
# Obsolete libwebkit2gtk from the webkitgtk3 package
|
||
|
Obsoletes: libwebkit2gtk < 2.5.0
|
||
|
Provides: libwebkit2gtk = %{version}-%{release}
|
||
|
|
||
|
# GTK+ 2 plugins support was removed in 2.25.3
|
||
|
Obsoletes: webkitgtk4-plugin-process-gtk2 < %{version}-%{release}
|
||
|
Provides: webkitgtk4-plugin-process-gtk2 = %{version}-%{release}
|
||
|
|
||
|
# We're supposed to specify versions here, but these libraries don't do
|
||
|
# normal releases. Accordingly, they're not suitable to be system libs.
|
||
|
# Provides: bundled(angle)
|
||
|
# Provides: bundled(brotli)
|
||
|
# Provides: bundled(xdgmime)
|
||
|
# Provides: bundled(woff2)
|
||
|
|
||
|
# Require the jsc subpackage
|
||
|
Requires: %{name}-jsc%{?_isa} = %{version}-%{release}
|
||
|
|
||
|
%description
|
||
|
WebKitGTK+ is the port of the portable web rendering engine WebKit to the
|
||
|
GTK+ platform.
|
||
|
|
||
|
This package contains WebKitGTK+ for GTK+ 3.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||
|
Requires: %{name}-jsc%{?_isa} = %{version}-%{release}
|
||
|
Requires: %{name}-jsc-devel%{?_isa} = %{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
The %{name}-devel package contains libraries, build data, and header
|
||
|
files for developing applications that use %{name}.
|
||
|
|
||
|
%package doc
|
||
|
Summary: Documentation files for %{name}
|
||
|
BuildArch: noarch
|
||
|
Requires: %{name} = %{version}-%{release}
|
||
|
|
||
|
%description doc
|
||
|
This package contains developer documentation for %{name}.
|
||
|
|
||
|
%package jsc
|
||
|
Summary: JavaScript engine from %{name}
|
||
|
Requires: %{name} = %{version}-%{release}
|
||
|
|
||
|
%description jsc
|
||
|
This package contains JavaScript engine from %{name}.
|
||
|
|
||
|
%package jsc-devel
|
||
|
Summary: Development files for JavaScript engine from %{name}
|
||
|
Requires: %{name}-jsc%{?_isa} = %{version}-%{release}
|
||
|
Requires: %{name} = %{version}-%{release}
|
||
|
|
||
|
%description jsc-devel
|
||
|
The %{name}-jsc-devel package contains libraries, build data, and header
|
||
|
files for developing applications that use JavaScript engine from %{name}.
|
||
|
|
||
|
%prep
|
||
|
%if 0%{?bundle_icu}
|
||
|
%setup -q -T -n icu -b 1
|
||
|
%patch50 -p2 -R -b .icu8198.revert.icu5431.patch
|
||
|
%patch51 -p1 -b .icu8800.freeserif.crash.patch
|
||
|
%patch52 -p1 -b .icu7601.Indic-ccmp.patch
|
||
|
%patch53 -p1 -b .gennorm2-man.patch
|
||
|
%patch54 -p1 -b .icuinfo-man.patch
|
||
|
%ifarch armv7hl
|
||
|
%patch55 -p1 -b .armv7hl-disable-tests.patch
|
||
|
%endif
|
||
|
%patch56 -p1 -b .rhbz1360340-icu-changeset-39109.patch
|
||
|
%patch57 -p1 -b .diff-icu_trunk_source_common_locid.cpp-from-39282-to-39384.patch
|
||
|
%patch58 -p1 -b .dont_use_clang_even_if_installed
|
||
|
%patch59 -p1 -b .rhbz1444101-icu-changeset-39671.patch
|
||
|
|
||
|
%setup -q -T -n webkitgtk-%{version} -b 0
|
||
|
%patch0 -p1 -b .aarch64_page_size
|
||
|
%patch1 -p1 -b .evolution_shared_secondary_process
|
||
|
%patch2 -R -p1 -b .woff2_1.0.2
|
||
|
%patch3 -R -p1 -b .library_typos
|
||
|
%patch4 -p1 -b .remove_woff2
|
||
|
%patch5 -p1 -b .remove_brotli
|
||
|
%patch6 -p1 -b .lower_libgcrypt_version
|
||
|
%patch7 -p1 -b .no_webp_demux
|
||
|
%patch8 -p1 -b .fix_ppc64le_s390x
|
||
|
%patch9 -p1 -b .old_cmake
|
||
|
%ifarch s390
|
||
|
%patch10 -p1 -b .jscoptions_fix_s390
|
||
|
%endif
|
||
|
%patch11 -p1 -b .objectidentifier_undefined
|
||
|
%else
|
||
|
%autosetup -p1 -n webkitgtk-%{version}
|
||
|
%endif
|
||
|
|
||
|
# Remove bundled libraries
|
||
|
rm -rf Source/ThirdParty/gtest/
|
||
|
rm -rf Source/ThirdParty/qunit/
|
||
|
|
||
|
%build
|
||
|
%ifarch s390 aarch64
|
||
|
# Use linker flags to reduce memory consumption - on other arches the ld.gold is
|
||
|
# used and also it doesn't have the --reduce-memory-overheads option
|
||
|
%global optflags %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
|
||
|
%endif
|
||
|
|
||
|
# Decrease debuginfo even on ix86 because of:
|
||
|
# https://bugs.webkit.org/show_bug.cgi?id=140176
|
||
|
%ifarch s390 s390x %{arm} %{ix86} ppc %{power64} %{mips}
|
||
|
# Decrease debuginfo verbosity to reduce memory consumption even more
|
||
|
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
|
||
|
%endif
|
||
|
|
||
|
%ifarch ppc
|
||
|
# Use linker flag -relax to get WebKit build under ppc(32) with JIT disabled
|
||
|
%global optflags %{optflags} -Wl,-relax
|
||
|
%endif
|
||
|
|
||
|
%if 0%{?bundle_icu}
|
||
|
pushd ../icu/source
|
||
|
autoconf
|
||
|
CFLAGS='%optflags -fno-strict-aliasing'
|
||
|
CXXFLAGS='%optflags -fno-strict-aliasing'
|
||
|
%{!?endian: %global endian %(%{__python} -c "import sys;print (0 if sys.byteorder=='big' else 1)")}
|
||
|
# " this line just fixes syntax highlighting for vim that is confused by the above and continues literal
|
||
|
# Endian: BE=0 LE=1
|
||
|
%if ! 0%{?endian}
|
||
|
CPPFLAGS='-DU_IS_BIG_ENDIAN=1'
|
||
|
%endif
|
||
|
|
||
|
#rhbz856594 do not use --disable-renaming or cope with the mess
|
||
|
OPTIONS='--with-data-packaging=library --disable-samples'
|
||
|
%configure $OPTIONS
|
||
|
|
||
|
#rhbz#225896
|
||
|
sed -i 's|-nodefaultlibs -nostdlib||' config/mh-linux
|
||
|
#rhbz#681941
|
||
|
sed -i 's|^LIBS =.*|LIBS = -L../lib -licuuc -lpthread -lm|' i18n/Makefile
|
||
|
sed -i 's|^LIBS =.*|LIBS = -nostdlib -L../lib -licuuc -licui18n -lc -lgcc|' io/Makefile
|
||
|
sed -i 's|^LIBS =.*|LIBS = -nostdlib -L../lib -licuuc -lc|' layout/Makefile
|
||
|
sed -i 's|^LIBS =.*|LIBS = -nostdlib -L../lib -licuuc -licule -lc|' layoutex/Makefile
|
||
|
sed -i 's|^LIBS =.*|LIBS = -nostdlib -L../../lib -licutu -licuuc -lc|' tools/ctestfw/Makefile
|
||
|
# As of ICU 52.1 the -nostdlib in tools/toolutil/Makefile results in undefined reference to `__dso_handle'
|
||
|
sed -i 's|^LIBS =.*|LIBS = -L../../lib -licui18n -licuuc -lpthread -lc|' tools/toolutil/Makefile
|
||
|
#rhbz#813484
|
||
|
sed -i 's| \$(docfilesdir)/installdox||' Makefile
|
||
|
# There is no source/doc/html/search/ directory
|
||
|
sed -i '/^\s\+\$(INSTALL_DATA) \$(docsrchfiles) \$(DESTDIR)\$(docdir)\/\$(docsubsrchdir)\s*$/d' Makefile
|
||
|
# rhbz#856594 The configure --disable-renaming and possibly other options
|
||
|
# result in icu/source/uconfig.h.prepend being created, include that content in
|
||
|
# icu/source/common/unicode/uconfig.h to propagate to consumer packages.
|
||
|
test -f uconfig.h.prepend && sed -e '/^#define __UCONFIG_H__/ r uconfig.h.prepend' -i common/unicode/uconfig.h
|
||
|
|
||
|
# more verbosity for build.log
|
||
|
sed -i -r 's|(PKGDATA_OPTS = )|\1-v |' data/Makefile
|
||
|
|
||
|
make %{?_smp_mflags} VERBOSE=1
|
||
|
cd ..
|
||
|
BUNDLED_ICU_PATH="`pwd`/icu_installed"
|
||
|
make %{?_smp_mflags} -C source install DESTDIR=$BUNDLED_ICU_PATH
|
||
|
popd
|
||
|
%endif
|
||
|
|
||
|
# Enable DTS
|
||
|
%if 0%{?rhel} == 7
|
||
|
source /opt/rh/devtoolset-7/enable
|
||
|
source /opt/rh/llvm-toolset-7/enable
|
||
|
%define __cmake /opt/rh/llvm-toolset-7/root/usr/bin/cmake
|
||
|
%endif
|
||
|
|
||
|
# Disable ld.gold on s390 as it does not have it.
|
||
|
# Also for aarch64 as the support is in upstream, but not packaged in Fedora.
|
||
|
# Disable WebCrypto as we have an old libgcrypt in RHEL 7
|
||
|
mkdir -p %{_target_platform}
|
||
|
pushd %{_target_platform}
|
||
|
%cmake \
|
||
|
-DPORT=GTK \
|
||
|
-DCMAKE_BUILD_TYPE=Release \
|
||
|
%if 0%{bundle_icu}
|
||
|
-DICU_DATA_LIBRARY=$BUNDLED_ICU_PATH/%{_libdir}/libicudata.so \
|
||
|
-DICU_I18N_LIBRARY=$BUNDLED_ICU_PATH/%{_libdir}/libicui18n.so \
|
||
|
-DICU_INCLUDE_DIR=$BUNDLED_ICU_PATH/%{_includedir} \
|
||
|
-DICU_LIBRARY=$BUNDLED_ICU_PATH/%{_libdir}/libicuuc.so \
|
||
|
-DCMAKE_INSTALL_RPATH=%{_libdir}/webkit2gtk-4.0 \
|
||
|
%endif
|
||
|
-DENABLE_GTKDOC=ON \
|
||
|
-DENABLE_MINIBROWSER=ON \
|
||
|
-DENABLE_WEB_CRYPTO=OFF \
|
||
|
-DENABLE_MEDIA_SOURCE=OFF \
|
||
|
-DENABLE_BUBBLEWRAP_SANDBOX=OFF \
|
||
|
-DUSE_OPENJPEG=OFF \
|
||
|
-DUSE_WPE_RENDERER=OFF \
|
||
|
%ifarch s390 aarch64
|
||
|
-DUSE_LD_GOLD=OFF \
|
||
|
%endif
|
||
|
%ifarch s390 s390x ppc %{power64} aarch64 %{mips}
|
||
|
-DENABLE_JIT=OFF \
|
||
|
-DUSE_SYSTEM_MALLOC=ON \
|
||
|
%endif
|
||
|
..
|
||
|
popd
|
||
|
|
||
|
# Remove the static amount of jobs once
|
||
|
# Use -j2 to reduce maximum memory usage (relative to default -j24).
|
||
|
make -j2 -C %{_target_platform}
|
||
|
|
||
|
%install
|
||
|
%if 0%{?bundle_icu}
|
||
|
pushd ../icu/icu_installed/%{_libdir}
|
||
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/webkit2gtk-4.0/
|
||
|
cp -a libicudata.so.* $RPM_BUILD_ROOT%{_libdir}/webkit2gtk-4.0/
|
||
|
cp -a libicui18n.so.* $RPM_BUILD_ROOT%{_libdir}/webkit2gtk-4.0/
|
||
|
cp -a libicuuc.so.* $RPM_BUILD_ROOT%{_libdir}/webkit2gtk-4.0/
|
||
|
popd
|
||
|
# We don't want debuginfo generated for the bundled icu libraries.
|
||
|
# Turn off execute bit so they aren't included in the debuginfo.list.
|
||
|
# We'll turn the execute bit on again in %%files.
|
||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1486771
|
||
|
chmod 644 $RPM_BUILD_ROOT%{_libdir}/webkit2gtk-4.0/libicudata.so.57.1
|
||
|
chmod 644 $RPM_BUILD_ROOT%{_libdir}/webkit2gtk-4.0/libicui18n.so.57.1
|
||
|
chmod 644 $RPM_BUILD_ROOT%{_libdir}/webkit2gtk-4.0/libicuuc.so.57.1
|
||
|
%endif
|
||
|
|
||
|
%make_install %{?_smp_mflags} -C %{_target_platform}
|
||
|
|
||
|
%find_lang WebKit2GTK-4.0
|
||
|
|
||
|
# Finally, copy over and rename various files for %%license inclusion
|
||
|
%add_to_license_files Source/JavaScriptCore/COPYING.LIB
|
||
|
%add_to_license_files Source/ThirdParty/ANGLE/LICENSE
|
||
|
%add_to_license_files Source/ThirdParty/ANGLE/src/common/third_party/smhasher/LICENSE
|
||
|
%add_to_license_files Source/ThirdParty/ANGLE/src/third_party/compiler/LICENSE
|
||
|
%add_to_license_files Source/ThirdParty/ANGLE/src/third_party/libXNVCtrl/LICENSE
|
||
|
%add_to_license_files Source/ThirdParty/brotli/LICENSE
|
||
|
%add_to_license_files Source/ThirdParty/woff2/LICENSE
|
||
|
%add_to_license_files Source/WebCore/LICENSE-APPLE
|
||
|
%add_to_license_files Source/WebCore/LICENSE-LGPL-2
|
||
|
%add_to_license_files Source/WebCore/LICENSE-LGPL-2.1
|
||
|
%add_to_license_files Source/WebInspectorUI/UserInterface/External/CodeMirror/LICENSE
|
||
|
%add_to_license_files Source/WebInspectorUI/UserInterface/External/Esprima/LICENSE
|
||
|
%add_to_license_files Source/WebInspectorUI/UserInterface/External/three.js/LICENSE
|
||
|
%add_to_license_files Source/WTF/icu/LICENSE
|
||
|
%add_to_license_files Source/WTF/wtf/dtoa/COPYING
|
||
|
%add_to_license_files Source/WTF/wtf/dtoa/LICENSE
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
%post jsc -p /sbin/ldconfig
|
||
|
%postun jsc -p /sbin/ldconfig
|
||
|
|
||
|
%files -f WebKit2GTK-4.0.lang
|
||
|
%license _license_files/*ThirdParty*
|
||
|
%license _license_files/*WebCore*
|
||
|
%license _license_files/*WebInspectorUI*
|
||
|
%license _license_files/*WTF*
|
||
|
%{_libdir}/libwebkit2gtk-4.0.so.*
|
||
|
%dir %{_libdir}/girepository-1.0
|
||
|
%{_libdir}/girepository-1.0/WebKit2-4.0.typelib
|
||
|
%{_libdir}/girepository-1.0/WebKit2WebExtension-4.0.typelib
|
||
|
%{_libdir}/webkit2gtk-4.0/
|
||
|
# Turn on executable bit again for bundled icu libraries.
|
||
|
# Was disabled in %%install to prevent debuginfo stripping.
|
||
|
%attr(0755,root,root) %{_libdir}/webkit2gtk-4.0/libicudata.so.57.1
|
||
|
%attr(0755,root,root) %{_libdir}/webkit2gtk-4.0/libicui18n.so.57.1
|
||
|
%attr(0755,root,root) %{_libdir}/webkit2gtk-4.0/libicuuc.so.57.1
|
||
|
%{_libexecdir}/webkit2gtk-4.0/
|
||
|
%{_bindir}/WebKitWebDriver
|
||
|
|
||
|
%files devel
|
||
|
%{_libexecdir}/webkit2gtk-4.0/MiniBrowser
|
||
|
%{_includedir}/webkitgtk-4.0/
|
||
|
%exclude %{_includedir}/webkitgtk-4.0/JavaScriptCore
|
||
|
%{_libdir}/libwebkit2gtk-4.0.so
|
||
|
%{_libdir}/pkgconfig/webkit2gtk-4.0.pc
|
||
|
%{_libdir}/pkgconfig/webkit2gtk-web-extension-4.0.pc
|
||
|
%{_datadir}/gir-1.0/WebKit2-4.0.gir
|
||
|
%{_datadir}/gir-1.0/WebKit2WebExtension-4.0.gir
|
||
|
|
||
|
%files jsc
|
||
|
%license _license_files/*JavaScriptCore*
|
||
|
%{_libdir}/libjavascriptcoregtk-4.0.so.*
|
||
|
%dir %{_libdir}/girepository-1.0
|
||
|
%{_libdir}/girepository-1.0/JavaScriptCore-4.0.typelib
|
||
|
|
||
|
%files jsc-devel
|
||
|
%{_libexecdir}/webkit2gtk-4.0/jsc
|
||
|
%dir %{_includedir}/webkitgtk-4.0
|
||
|
%{_includedir}/webkitgtk-4.0/JavaScriptCore/
|
||
|
%{_libdir}/libjavascriptcoregtk-4.0.so
|
||
|
%{_libdir}/pkgconfig/javascriptcoregtk-4.0.pc
|
||
|
%dir %{_datadir}/gir-1.0
|
||
|
%{_datadir}/gir-1.0/JavaScriptCore-4.0.gir
|
||
|
|
||
|
%files doc
|
||
|
%dir %{_datadir}/gtk-doc
|
||
|
%dir %{_datadir}/gtk-doc/html
|
||
|
%{_datadir}/gtk-doc/html/jsc-glib-4.0/
|
||
|
%{_datadir}/gtk-doc/html/webkit2gtk-4.0/
|
||
|
%{_datadir}/gtk-doc/html/webkitdomgtk-4.0/
|
||
|
|
||
|
%changelog
|
||
|
* Sat Jun 20 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.28.2-2
|
||
|
- Resolves: rhbz#1817144 Rebuild to support ppc and s390
|
||
|
|
||
|
* Thu May 21 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.28.2-1
|
||
|
- Resolves: rhbz#1817144 Rebase to 2.28.2
|
||
|
|
||
|
* Thu Apr 04 2019 Eike Rathke <erack@redhat.com> - 2.22.7-2
|
||
|
- Related: rhbz#1669482 covscan fixes
|
||
|
|
||
|
* Mon Mar 25 2019 Eike Rathke <erack@redhat.com> - 2.22.7-1
|
||
|
- Related: rhbz#1669482 Update to 2.22.7
|
||
|
|
||
|
* Tue Feb 12 2019 Eike Rathke <erack@redhat.com> - 2.22.6-1
|
||
|
- Resolves: rhbz#1669482 Rebase to 2.22.6
|
||
|
|
||
|
* Tue Aug 14 2018 Tomas Popela <tpopela@redhat.com> - 2.20.5-1
|
||
|
- Update to 2.20.5 - technically it was not necessary as the only difference
|
||
|
between 2.20.4 and .5 was the revert of one change, that we already reverted
|
||
|
while building 2.20.4. But it's better to stay with upstream.
|
||
|
- Update the labels patch with the version that was pushed upstream.
|
||
|
- Resolves: rhbz#1576544
|
||
|
|
||
|
* Thu Aug 09 2018 Tomas Popela <tpopela@redhat.com> - 2.20.4-2
|
||
|
- webkitgtk4: Crash on Google login page when a11y is active
|
||
|
- Resolves: rhbz#1503624
|
||
|
- Revert patch causing rendering glitches
|
||
|
|
||
|
* Mon Aug 06 2018 Tomas Popela <tpopela@redhat.com> - 2.20.4-1
|
||
|
- Update to 2.20.4
|
||
|
- Resolves: rhbz#1576544
|
||
|
- WebKitWebProcess crashes when a11y is active
|
||
|
- Resolves: rhbz#1591638
|
||
|
|
||
|
* Wed Jun 27 2018 Tomas Popela <tpopela@redhat.com> - 2.20.3-5
|
||
|
- Add GStreamer coverity fixes
|
||
|
- Resolves: rhbz#1576544
|
||
|
|
||
|
* Tue Jun 26 2018 Tomas Popela <tpopela@redhat.com> - 2.20.3-4
|
||
|
- More rpmdiff and covscan fixes
|
||
|
- Resolves: rhbz#1576544
|
||
|
|
||
|
* Wed Jun 13 2018 Tomas Popela <tpopela@redhat.com> - 2.20.3-3
|
||
|
- Unbundle cmake
|
||
|
- Add covscan fixes
|
||
|
- Resolves: rhbz#1576544
|
||
|
|
||
|
* Tue Jun 12 2018 Tomas Popela <tpopela@redhat.com> - 2.20.3-2
|
||
|
- Fix the rpmdiff warning
|
||
|
- Resolves: rhbz#1576544
|
||
|
|
||
|
* Mon Jun 11 2018 Tomas Popela <tpopela@redhat.com> - 2.20.3-1
|
||
|
- Update to 2.20.3
|
||
|
- Resolves: rhbz#1576544
|
||
|
|
||
|
* Fri Jun 08 2018 Tomas Popela <tpopela@redhat.com> - 2.20.2-1
|
||
|
- Update to 2.20.2
|
||
|
- Resolves: rhbz#1576544
|
||
|
|
||
|
* Wed Nov 08 2017 Tomas Popela <tpopela@redhat.com> - 2.16.6-6
|
||
|
- Don't strip debug info from bundled icu libraries, otherwise there
|
||
|
will be conflicts between webkitgtk4-debuginfo and icu-debuginfo packages
|
||
|
- Resolves: rhbz#1486771
|
||
|
|
||
|
* Mon Oct 09 2017 Tomas Popela <tpopela@redhat.com> - 2.16.6-5
|
||
|
- Update the bundled brotli and woff2 to the latest releases due to
|
||
|
woff2's license incompatibility with WebKitGTK+ project
|
||
|
- Resolves: rhbz#1499745
|
||
|
- Drop unused patches
|
||
|
|
||
|
* Fri Sep 29 2017 Tomas Popela <tpopela@redhat.com> - 2.16.6-4
|
||
|
- Build wayland support
|
||
|
- Backport fixes proposed by upstream to 2.16 branch
|
||
|
- Remove accidentally committed workaround for rhbz#1486771
|
||
|
- Resolves: rhbz#1496800
|
||
|
|
||
|
* Tue Sep 05 2017 Tomas Popela <tpopela@redhat.com> - 2.16.6-3
|
||
|
- Coverity scan fixes
|
||
|
- Resolves: rhbz#1476707
|
||
|
|
||
|
* Fri Aug 25 2017 Tomas Popela <tpopela@redhat.com> - 2.16.6-2
|
||
|
- Backport security fixes for bundled icu
|
||
|
- Backport geoclue2 id fixes
|
||
|
- Resolves: rhbz#1476707
|
||
|
|
||
|
* Thu Aug 17 2017 Tomas Popela <tpopela@redhat.com> - 2.16.6-1
|
||
|
- Update to 2.16.6
|
||
|
- Resolves: rhbz#1476707
|
||
|
|
||
|
* Fri Jun 16 2017 Tomas Popela <tpopela@redhat.com> - 2.14.7-2
|
||
|
- Fix a CLoop patch that was not correctly backported from upstream, causing
|
||
|
crashes on big endian machines
|
||
|
- Resolves: rhbz#1442160
|
||
|
|
||
|
* Thu Jun 01 2017 Tomas Popela <tpopela@redhat.com> - 2.14.7-1
|
||
|
- Update to 2.14.7
|
||
|
- Backport more of a11y fixes from upstream
|
||
|
- Fix JSC crashes on big endian arches
|
||
|
- Resolves: rhbz#1442160
|
||
|
|
||
|
* Wed May 10 2017 Milan Crha <mcrha@redhat.com> - 2.14.6-6
|
||
|
- Add upstream patch to fix login to Google account
|
||
|
- Resolves: rhbz#1448192
|
||
|
|
||
|
* Wed Apr 26 2017 Tomas Popela <tpopela@redhat.com> - 2.14.6-5
|
||
|
- Don't require icu libraries that are bundled
|
||
|
- Resolves: rhbz#1414413
|
||
|
|
||
|
* Tue Apr 25 2017 Tomas Popela <tpopela@redhat.com> - 2.14.6-4
|
||
|
- Use the right function for removing from provides
|
||
|
- Resolves: rhbz#1383614
|
||
|
|
||
|
* Mon Apr 24 2017 Tomas Popela <tpopela@redhat.com> - 2.14.6-3
|
||
|
- Bundle only needed icu libraries
|
||
|
- Don't list bundled icu libraries in provides
|
||
|
- Resolves: rhbz#1383614
|
||
|
|
||
|
* Mon Apr 24 2017 Tomas Popela <tpopela@redhat.com> - 2.14.6-2
|
||
|
- Bundle icu57
|
||
|
- Resolves: rhbz#1414413
|
||
|
|
||
|
* Mon Apr 10 2017 Tomas Popela <tpopela@redhat.com> - 2.14.6-1
|
||
|
- Update to 2.14.6
|
||
|
- Resolves: rhbz#1440681
|
||
|
- Don't crash is no render is available in AX render object
|
||
|
- Resolves: rhbz#1437672
|
||
|
|
||
|
* Tue Mar 21 2017 Tomas Popela <tpopela@redhat.com> - 2.14.5-5
|
||
|
- Add more Coverity scan fixes
|
||
|
- Remove icu from sources
|
||
|
- Resolves: rhbz#1383614
|
||
|
|
||
|
* Mon Mar 13 2017 Tomas Popela <tpopela@redhat.com> - 2.14.5-4
|
||
|
- Add some Coverity scan fixes
|
||
|
- Resolves: rhbz#1383614
|
||
|
|
||
|
* Tue Feb 28 2017 Tomas Popela <tpopela@redhat.com> - 2.14.5-3
|
||
|
- Add explicit requires of webkitgtk4-jsc for -devel and -plugin-process-gtk2
|
||
|
subpackages (found by rpmdiff).
|
||
|
- Resolves: rhbz#1383614
|
||
|
|
||
|
* Mon Feb 20 2017 Tomas Popela <tpopela@redhat.com> - 2.14.5-2
|
||
|
- Remove bundled ICU and require libicu57
|
||
|
- Resolves: rhbz#1383614
|
||
|
|
||
|
* Thu Feb 16 2017 Kalev Lember <klember@redhat.com> - 2.14.5-1
|
||
|
- Update to 2.14.5
|
||
|
- Resolves: rhbz#1383614
|
||
|
|
||
|
* Fri Feb 10 2017 Tomas Popela <tpopela@redhat.com> - 2.14.4-1
|
||
|
- Initial RHEL packaging
|
||
|
- Temporary bundling icu57 until rhbz#1414413 is resolved
|
||
|
- Resolves: rhbz#1383614
|