Compare commits

...
Sign in to create a new pull request.

22 commits

Author SHA1 Message Date
Miro Hrončok
6e42a0e261 Orphaned for 6+ weeks 2020-05-18 14:03:59 +02:00
Fedora Release Engineering
a6e1c6da97 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 03:56:57 +00:00
christopher
6dc9213d94 sobump 2019-09-28 15:39:49 -06:00
christopher
e3d9b63485 new version 2019-09-28 14:30:34 -06:00
Fedora Release Engineering
d72ca13d57 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 03:42:47 +00:00
Christopher King
9858f9c01e New version 2019-05-20 23:45:39 -05:00
Christopher King
f228076773 new version 2019-04-19 18:48:28 -05:00
BunnyApocalypse
76f3184751 new version w soname bump 2019-03-27 13:36:19 -05:00
BunnyApocalypse
0c50ee817f New version, reverting breaking changes 2019-03-26 09:46:54 -05:00
5326f1c92b Update wayland deps
Just wayland-devel is enough these days.
2019-02-28 21:30:01 +00:00
BunnyApocalypse
2de2e76b81 new version 2019-02-09 21:08:34 -06:00
Fedora Release Engineering
177a5daaa4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 11:56:05 +00:00
98dca85060 Rebuild for ICU 63 2019-01-24 07:06:38 +00:00
BunnyApocalypse
0da3846838 versioning 2018-09-24 19:53:49 -05:00
BunnyApocalypse
01838dd3a8 forgot to include changelog 2018-09-21 13:37:20 -05:00
BunnyApocalypse
7212b88bb8 patching to statically link a cerain lib 2018-09-21 13:33:40 -05:00
BunnyApocalypse
0a45ce4ee0 Fixing a patch 2018-09-14 16:10:36 -05:00
BunnyApocalypse
c2c5ee77ab adding patches to fix failing builds 2018-09-14 15:38:58 -05:00
BunnyApocalypse
9e7b39d635 wpewebkit needs mesa-libgbm-devel to build 2018-09-10 19:19:21 -05:00
BunnyApocalypse
7ff029d333 wpe now needs wayland-protocols-devel to build 2018-09-10 16:09:04 -05:00
BunnyApocalypse
2c8662e220 forgot to add version number 2018-09-10 15:23:28 -05:00
BunnyApocalypse
a3be9e7535 Small update to fix broken build 2018-09-10 15:16:26 -05:00
7 changed files with 1 additions and 214 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
/wpewebkit-2.21.2.tar.xz

View file

@ -1,3 +0,0 @@
# wpewebkit
WPE allows embedders to create simple and performant systems based on Web platform technologies. It is designed with hardware acceleration in mind, leveraging common 3D graphics APIs for best performance.

1
dead.package Normal file
View file

@ -0,0 +1 @@
Orphaned for 6+ weeks

View file

@ -1,24 +0,0 @@
diff -up wpewebkit-2.20.1/Source/WebKit/NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp.fedora-crypto-policy webkitgtk-2.17.92/Source/WebKit/NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp
--- wpewebkit-2.20.1/Source/WebKit/NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp.fedora-crypto-policy 2017-09-05 13:39:59.294426661 +0200
+++ wpewebkit-2.20.1/Source/WebKit/NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp 2017-09-05 13:40:09.144389997 +0200
@@ -43,7 +43,7 @@ int main(int argc, char** argv)
// overwrite this priority string if it's already set by the user.
// https://bugzilla.gnome.org/show_bug.cgi?id=738633
// WARNING: This needs to be KEPT IN SYNC with WebProcessMain.cpp.
- setenv("G_TLS_GNUTLS_PRIORITY", "NORMAL:%COMPAT:!VERS-SSL3.0:!ARCFOUR-128", 0);
+ setenv("G_TLS_GNUTLS_PRIORITY", "@SYSTEM:%COMPAT:!VERS-SSL3.0:!ARCFOUR-128", 0);
#if USE(GCRYPT)
PAL::GCrypt::initialize();
diff -up wpewebkit-2.20.1/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp.fedora-crypto-policy webkitgtk-2.17.92/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp
--- wpewebkit-2.20.1/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp.fedora-crypto-policy 2017-09-05 13:40:28.558317735 +0200
+++ wpewebkit-2.20.1/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp 2017-09-05 13:40:56.057215378 +0200
@@ -43,7 +43,7 @@ int main(int argc, char** argv)
// overwrite this priority string if it's already set by the user.
// https://bugzilla.gnome.org/show_bug.cgi?id=738633
// WARNING: This needs to be KEPT IN SYNC with WebProcessMain.cpp.
- setenv("G_TLS_GNUTLS_PRIORITY", "NORMAL:%COMPAT:!VERS-SSL3.0:!ARCFOUR-128", 0);
+ setenv("G_TLS_GNUTLS_PRIORITY", "@SYSTEM:%COMPAT:!VERS-SSL3.0:!ARCFOUR-128", 0);
#if USE(GCRYPT)
PAL::GCrypt::initialize();

View file

@ -1,20 +0,0 @@
From 494e4abb7a5130376d3cdb41a5e3963650b8659f Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Mon, 16 Jul 2018 06:34:53 +0200
Subject: [PATCH] Fix the broken build due to python2
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl b/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl
index 4bb7037d..3071b45f 100755
--- a/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl
+++ b/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl
@@ -155,7 +155,7 @@ my $inspectorLicense = <<'EOF';
EOF
my $perl = $^X;
-my $python = ($OSNAME =~ /cygwin/) ? "/usr/bin/python" : "python";
+my $python = ($OSNAME =~ /cygwin/) ? "/usr/bin/python2" : "python2";
my $derivedSourcesDir = $ENV{'DERIVED_SOURCES_DIR'};
my $scriptsRoot = File::Spec->catdir($ENV{'SRCROOT'}, 'Scripts');
my $sharedScriptsRoot = File::Spec->catdir($ENV{'JAVASCRIPTCORE_PRIVATE_HEADERS_DIR'});

View file

@ -1 +0,0 @@
SHA512 (wpewebkit-2.21.2.tar.xz) = 656c9a1db0225bf28493271c07d0a0449a4715da5dfc592f8cef9234bdb04eb211332f2c07a14f6b424e40154ba2b19e64b3182c479fe198cbe5f7b7e2b1cb4f

View file

@ -1,165 +0,0 @@
## 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')
Name: wpewebkit
Version: 2.21.2
Release: 1%{?dist}
Summary: A WebKit port optimized for low-end devices
License: LGPLv2 and BSD
URL: http://www.%{name}.org/
Source0: http://wpewebkit.org/releases/%{name}-%{version}.tar.xz
# https://bugs.webkit.org/show_bug.cgi?id=158785
Patch0: fedora-crypto-policy.patch
# Explicitly specify python2 over python to avoid build fails
Patch1: python2.patch
BuildRequires: bison
BuildRequires: cairo-devel
BuildRequires: cmake
BuildRequires: wpebackend-devel
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: gnutls-devel
BuildRequires: gperf
BuildRequires: gstreamer1-devel
BuildRequires: gstreamer1-plugins-base-devel
BuildRequires: gstreamer1-plugins-bad-free-devel
BuildRequires: harfbuzz-devel
BuildRequires: libicu-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libsoup-devel
BuildRequires: libwebp-devel
BuildRequires: libxslt-devel
BuildRequires: libwayland-client-devel
BuildRequires: libwayland-egl-devel
BuildRequires: libwayland-server-devel
BuildRequires: mesa-libEGL-devel
BuildRequires: perl-File-Copy-Recursive
BuildRequires: perl-JSON-PP
BuildRequires: perl-Switch
BuildRequires: python2
BuildRequires: ruby
BuildRequires: rubygems
BuildRequires: sqlite-devel
BuildRequires: woff2-devel
BuildRequires: libepoxy-devel
%description
WPE allows embedders to create simple and performant systems based on
Web platform technologies. It is designed with hardware acceleration
in mind, leveraging common 3D graphics APIs for best performance.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries, build data, and header
files for developing applications that use %{name}
%prep
%autosetup -p1 -n wpewebkit-%{version}
%build
# Increase the DIE limit so our debuginfo packages could be size optimized.
# Decreases the size for x86_64 from ~5G to ~1.1G.
# 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
%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
# 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.
# FIXME: Ideally the CMAKE_EXE_LINKER_FLAGS would not be necessary, but builds seem to be failing otherwise.
mkdir -p %{_target_platform}
pushd %{_target_platform}
%cmake \
-DPORT=WPE \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_MINIBROWSER=ON \
%ifarch s390 aarch64
-DUSE_LD_GOLD=OFF \
%endif
%ifarch s390 s390x ppc %{power64}
-DENABLE_JIT=OFF \
-DUSE_SYSTEM_MALLOC=ON \
%endif
..
popd
%make_build -C %{_target_platform}
%install
%make_install -C %{_target_platform}
# Finally, copy over and rename various files for %license inclusion
%add_to_license_files Source/JavaScriptCore/COPYING.LIB
%add_to_license_files Source/JavaScriptCore/icu/LICENSE
%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/WebCore/icu/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/ESLint/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
%files
%{_bindir}/WPEWebDriver
%{_libdir}/libWPEWebKit-0.1.so.2
%{_libdir}/libWPEWebKit-0.1.so.2.*
%{_libexecdir}/wpe-webkit-0.1
%{_libdir}/wpe-webkit-0.1
%doc NEWS
%license _license_files/*ThirdParty*
%license _license_files/*WebCore*
%license _license_files/*WebInspectorUI*
%license _license_files/*WTF*
%license _license_files/*JavaScriptCore*
%files devel
%{_includedir}/wpe-webkit-0.1
%{_libdir}/libWPEWebKit-0.1.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Tue Jul 17 2018 Chris King <bunnyapocalypse@fedoraproject.org> - 2.21.2-1
- Initial RPM package.