Compare commits

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

146 commits

Author SHA1 Message Date
Michael Catanzaro
6f85a399bf https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/AKVB363GFCHHJ5MTHGVYHYT6NLLTF5VM/ 2017-03-14 10:33:22 -05:00
Fedora Release Engineering
38d662017b - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:18:55 +00:00
Sandro Mani
de68f368ca Rebuild (libwebp) 2017-02-01 19:33:11 +01:00
Tomas Popela
9d9718b932 Update the package description so it reflects the current state of package. 2016-09-26 09:40:01 +02:00
Tomas Popela
c64521c782 Workaround crashes with gcc 6.1
rhbz#1349856 - Programs using webkitgtk3 compiled with gcc 6.1 crash on start. F.e: midori, xombrero, etc.
2016-06-27 07:32:06 +02:00
David Tardon
1f87ce468b rebuild for ICU 57.1 2016-04-15 20:17:10 +02:00
Tomas Popela
6b1eb0d89d Update to 2.4.11 2016-04-11 08:45:56 +02:00
Tomas Popela
08249ae1be Fix the compilation on aarch64 2016-04-06 07:48:54 +02:00
Tomas Popela
8b3d6b6367 Add the missing patch 2016-04-05 10:01:40 +02:00
Tomas Popela
465c745218 rhbz#1321722 - [abrt] evolution: WTF::StringImpl::startsWith(): SIGSEGV with webkitgtk3-2.4.10 2016-04-05 10:00:09 +02:00
Tomas Popela
d95fe12600 Add a workaround for rhbz#1320240 2016-03-24 10:46:33 +01:00
Tomas Popela
405f7eac20 Update to 2.4.10 2016-03-14 11:33:02 +01:00
Tomas Popela
147aac44d9 Update the CLoop patches 2016-03-10 15:51:38 +01:00
Tomas Popela
ee0cef90f3 Improve the downstream patches situation a little bit 2016-03-09 11:52:36 +01:00
Tomas Popela
b529119ff5 Clear the patches before the 2.4.10 release 2016-03-07 10:34:48 +01:00
Peter Robinson
fbb8dbd518 Add ruby deps for build 2016-02-09 13:35:03 +00:00
Tomas Popela
5b0f27ebbc Fix the build with gcc 6 (use Kevin's patch from the webkitgtk package) 2016-02-08 08:21:18 +01:00
Fedora Release Engineering
e255be264c - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 02:57:23 +00:00
Tomas Popela
5d2bdbb15a Add support for MIPS 2016-01-25 09:47:36 +01:00
Igor Gnatenko
f0daba1da0 Rebuilt for libwebp soname bump
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-12-28 18:56:14 +01:00
Tomas Popela
8a1b0dbf98 Remove Changelog entry duplicate 2015-12-07 11:49:50 +01:00
Tomas Popela
21c2602eaf rhbz#1289053 - Retire nspluginwrapper and remove from Fedora 24 2015-12-07 11:48:28 +01:00
David Tardon
dc09c7cf4f rebuild for ICU 56.1 2015-10-28 14:09:07 +01:00
Tomas Popela
0f1bc27ea7 - rhbz#1189303 - [abrt] midori: WebCore::SQLiteStatement::prepare(): midori killed by SIGSEGV
Initialize string in SQLiteStatement before using it
2015-09-25 07:53:26 +02:00
Dennis Gilmore
07ad6fa231 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 02:19:25 +00:00
Tomas Popela
f13611ff0e Update to 2.4.9 2015-05-20 13:54:24 +02:00
Kalev Lember
aaa7b5adfc Rebuilt for GCC 5 C++11 ABI change 2015-05-02 22:29:17 +02:00
Michael Catanzaro
7433f334cc Remove the fix for late certificate validation because we use --disable-webkit2 2015-03-17 14:53:48 -05:00
Michael Catanzaro
d924530f00 Backport fix for late certificate validation 2015-03-17 14:50:48 -05:00
Michael Catanzaro
697baed4b1 Backport fix for late certificate validation 2015-03-17 13:32:01 -05:00
Michael Catanzaro
c27e97ddd3 Backport fix for late certificate validation 2015-03-17 13:27:37 -05:00
Michael Catanzaro
cc1f80644e Backport fix for late certificate validation 2015-03-17 13:26:28 -05:00
Tomas Popela
9ec7d79f87 Backport fix for use-after-free when destroying frame 2015-03-10 07:27:49 +01:00
Michael Catanzaro
2fcf16f8ec Add Fedora branding to the user agent 2015-02-27 14:45:27 -06:00
Till Maas
cff315d44b Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
2015-02-21 22:28:10 +01:00
Tomas Popela
632ad9bf9d Add support for gcc 5.0
Let the package compile with latest glib
2015-02-18 18:09:35 +01:00
David Tardon
557c6dfe24 rebuild for ICU 54.1 2015-01-26 17:15:30 +01:00
Tomas Popela
ea88a33878 There is automake-1.15 in rawhide so we need to run autoreconf 2015-01-08 13:47:03 +01:00
Tomas Popela
0582279e2d Add automake as BR 2015-01-08 12:15:29 +01:00
Tomas Popela
95bd1465b5 Fix the build when the WebKit2 is disabled 2015-01-08 11:41:27 +01:00
Tomas Popela
71df8dc785 Update to 2.4.8 2015-01-07 13:34:21 +01:00
Richard Hughes
d58dd95b97 trivial: Fix rebuild on non-Fedora 2014-10-29 17:08:21 +00:00
Tomas Popela
40a90579dd Update to 2.4.7 2014-10-22 14:50:23 +02:00
Tomas Popela
8b06b4157b Disable the SSLv3 to address the POODLE vulnerability 2014-10-21 10:19:37 +02:00
Tomas Popela
85c10ccf6d Run make with -j1 to let it successfully compile in brew 2014-09-29 12:40:16 +02:00
Tomas Popela
21a1a932ab Update to 2.4.6 2014-09-29 11:45:06 +02:00
Tomas Popela
7bba4f6650 Rebase the aarch64 patch 2014-09-02 11:44:13 +02:00
Kalev Lember
c688535f10 Disable support for webkit2 API
It's now provided by the webkitgtk4 package.
2014-08-26 17:52:14 +02:00
David Tardon
59380741c1 rebuild for ICU 53.1 2014-08-26 16:48:20 +02:00
Tomas Popela
b3197c85b6 Remove the PPC64LE patch that was upstreamed 2014-08-26 13:06:55 +02:00
Tomas Popela
a43fec5ce6 Update to 2.4.5 2014-08-26 12:58:01 +02:00
769d0fc82a - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 08:26:26 +00:00
Tomas Popela
7a8e66fd1c Remove geoclue-devel from BR 2014-07-23 16:35:00 +02:00
Tomas Popela
9aaa67b26d Fix CLoop on ppc32 and s390
Add geoclue-devel as BR as WK1 needs it
2014-07-23 15:46:17 +02:00
Kalev Lember
14e6cfeaac Rebuilt for gobject-introspection 1.41.4 2014-07-22 20:39:24 +02:00
Kalev Lember
c118d3b9bb Update to 2.4.4 2014-07-08 17:32:11 +02:00
Peter Robinson
d70e882feb Fix for 64k pages on aarch64 (#1074093, #1113345) 2014-07-04 16:35:09 +01:00
Tomas Popela
2f4f7015ee rhbz#1088480 - [abrt] libwebkit2gtk: TSymbolTableLevel::~TSymbolTableLevel(): WebKitWebProcess killed by SIGSEGV 2014-07-04 07:25:21 +02:00
Dennis Gilmore
5e6b5ed266 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 23:20:54 -05:00
Tomas Popela
581a9135c5 Update to 2.4.3 2014-05-27 12:20:01 +02:00
Peter Robinson
edd519f222 Fix aarch64 build 2014-05-18 09:16:15 +01:00
Tomas Popela
769a1f3710 Add support for ppc64le
Fix for CLoop on ppc64, ppc64le and s390x
2014-05-14 16:51:33 +02:00
Karsten Hopp
cef621fe9b PPC (32bit) needs libatomic in the buildroot 2014-05-13 18:05:58 +02:00
Kalev Lember
7f1513c796 Update to 2.4.2 2014-05-12 11:04:26 +02:00
Kalev Lember
db35e9b3b0 Make sure -devel pulls in libwebkit2gtk 2014-05-07 10:49:33 +02:00
Kalev Lember
e719f0f615 Update to 2.4.1 2014-04-14 21:54:24 +02:00
Kalev Lember
f4e69b2b3f Update to 2.4.0 2014-03-25 11:09:13 +01:00
Kalev Lember
2648ec3813 Switch over to geoclue2 2014-03-19 11:39:26 +01:00
Tomas Popela
9bc60cb0e5 Update to 2.3.92 2014-03-18 10:03:39 +01:00
Tomas Popela
45fdd76fbf Add newly installed file 2014-03-04 14:53:06 +01:00
Tomas Popela
a4dd5144f0 Update to 2.3.91 2014-03-04 09:20:42 +01:00
Karsten Hopp
500c54515d disable libatomic patch on ppc. webkitgtk3 now uses std::atomic 2014-02-27 18:48:20 +01:00
Peter Robinson
527ebb445d Disable JIT on aarch64 2014-02-18 16:26:00 +00:00
Tomas Popela
e03186d5d4 Update to 2.3.90
Enable full debuginfo on s390x
2014-02-18 09:21:01 +01:00
Paul Howarth
818580ec2a Fix wrong date in changelog 2014-02-13 18:19:58 +00:00
Paul Howarth
92da13a472 Rebuild against new libicu 2014-02-13 18:18:47 +00:00
Peter Robinson
750a878a14 add aarch64 patch 2014-02-07 10:56:36 +00:00
Peter Robinson
04f73efdf6 Add support for aarch64 2014-02-07 10:52:25 +00:00
Tomas Popela
4ed3fcb7b2 Update to 2.3.5 2014-02-06 14:41:30 +01:00
Tomas Popela
9c0bad912f Add newly introduced files 2014-01-17 10:39:15 +01:00
Tomas Popela
b4c792c7a5 Add patch that fixes compilation on i686 2014-01-17 07:52:12 +01:00
Tomas Popela
6f6b8b4e3e Update to 2.3.4 2014-01-13 14:41:05 +01:00
Orion Poplawski
4e16f80caa Rebuild for libwebp soname bump 2014-01-01 21:45:56 -07:00
Tomas Popela
af59a78b1b Update to 2.3.3 2013-12-19 08:59:35 +01:00
Tomas Popela
9847102654 Update sources and changelog fro 2.3.2 2013-12-05 17:25:13 +01:00
Tomas Popela
eedcb5bbb5 Forgot to update sources 2013-12-05 17:20:35 +01:00
Tomas Popela
593b017c8f Update to 2.3.2 2013-12-05 17:07:29 +01:00
Richard Hughes
a93f724122 Add %{?_isa} to the libwebkit2gtk subpackage
This ensures that dnf does the right thing if the metadata gets out of sync.
2013-12-05 08:44:28 +00:00
Tomas Popela
f40f54dda5 Update to 2.2.3 2013-12-04 15:27:08 +01:00
Tomas Popela
a169af90b3 Fix for RH bug #1035764 - Crashes with certain Google Drive documents 2013-11-29 13:40:30 +01:00
Tomas Popela
ca53401d97 Update to 2.2.2 2013-11-11 16:47:55 +01:00
Tomas Popela
3f41e48046 Update to 2.2.1 2013-10-18 15:04:00 +02:00
Kalev Lember
eb0dea89da Update to 2.2.0 2013-09-27 22:35:06 +02:00
Kalev Lember
d58824394c Drop -devel package deps that rpmbuild autogenerates 2013-09-27 22:35:06 +02:00
Kalev Lember
90bfa7edc7 Update to 2.1.92 2013-09-18 23:12:04 +02:00
Dan Horák
c7fd078520 - rediff the ppc32 patch, it failed to apply on s390 2013-09-12 18:16:46 +02:00
Kalev Lember
f343df567f Update to 2.1.91 2013-09-11 10:57:07 +02:00
Karsten Hopp
9bd59c5701 modify ppc32 patch, the macro interpretResolveWithBase got removed 2013-08-30 22:12:37 +02:00
Karsten Hopp
ec95e7200b modify ppc32 patch, the macro interpretResolveWithBase got removed 2013-08-30 21:54:02 +02:00
Kalev Lember
2a09137b98 Update to 2.1.90.1 2013-08-30 00:45:45 +02:00
Kalev Lember
00de21f4c8 Add missing at-spi2-core-devel build dep 2013-08-28 00:42:16 +02:00
Kalev Lember
6146b9dca1 Update to 2.1.90 2013-08-28 00:25:33 +02:00
Kalev Lember
ba3b2d4af8 Remove a CFLAGS override
LIBSOUP_I_HAVE_READ_BUG_594377_AND_KNOW_SOUP_PASSWORD_MANAGER_MIGHT_GO_AWAY
is already defined in webkitgtk before all the libsoup includes; we
no longer need to do this manually in the spec file.
2013-08-12 11:00:13 +02:00
Kalev Lember
6e372b73e9 Update to 2.1.4 2013-08-12 11:00:13 +02:00
Kalev Lember
9a9f45bc7b Switch to unversioned docdirs
https://bugzilla.redhat.com/show_bug.cgi?id=993890
2013-08-10 17:00:09 +02:00
Dennis Gilmore
444f02fbbc - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 01:44:28 -05:00
Tomas Popela
3af823c8e9 Update to 2.1.3 2013-07-09 11:07:07 +02:00
Tomas Popela
48d95de28c Update to 2.1.2 2013-06-19 09:49:14 +02:00
Kalev Lember
b169d8f6b1 Link with harfbuzz-icu
harfbuzz-icu was split into separate library in harfbuzz 0.9.18 and F19
is getting the new HB now.

https://bugzilla.redhat.com/show_bug.cgi?id=971795
2013-06-07 16:07:00 +02:00
Kalev Lember
6457308221 Special case %{arm} to avoid generating full debuginfo
Go back to -g1 on arm; still running out of memory during linking.
2013-06-07 16:06:15 +02:00
Kalev Lember
63127f0aae Re-enable full debuginfo
For a while, webkitgtk3 was built with -g1 to avoid running into the 4
GB ar format limit with full -g builds. That issue has been fixed
upstream by splitting up the .a libraries.

This commit enables the full -g builds and also adds two additional
linker flags: --no-keep-memory and --reduce-memory-overheads to further
reduce linking memory overhead and avoid running out of memory in koji.

https://bugzilla.redhat.com/show_bug.cgi?id=861452
2013-06-03 16:32:38 +02:00
Kalev Lember
f627d5c8e4 Remove rpath from MiniBrowser 2013-06-03 16:32:38 +02:00
Kalev Lember
3d591f294a Add ldconfig calls to the libwebkit2gtk subpackage 2013-06-03 16:32:36 +02:00
Kalev Lember
97e3a5fb0d Remove glib-compile-schemas handling
The scriptlets are no longer needed as the schemas itself are gone.
2013-06-03 16:32:07 +02:00
Tomas Popela
8c177ca22a Update to 2.1.1 2013-06-03 11:33:38 +02:00
Tomas Popela
cc4b259d42 Update to 2.0.2 2013-05-13 14:54:02 +02:00
Kalev Lember
868a8781ff Split off a few more files to libwebkit2gtk subpackage 2013-05-07 00:41:18 +02:00
Matthias Clasen
b6fc024767 Readd accidentally lost devel package 2013-05-06 21:20:42 -04:00
Matthias Clasen
fdc56c06a1 Split off a libwebkit2gtk subpackage 2013-05-06 21:19:03 -04:00
Tomas Popela
ff04d93e36 Remove unused patch 2013-04-17 09:15:43 +02:00
Tomas Popela
646aa6857e Update to 2.0.1 2013-04-17 09:07:25 +02:00
Tomas Popela
2f47357256 Add fix for broken GObject casting 2013-04-11 11:24:46 +02:00
Tomas Popela
2f9cccd614 Apply double2intsPPC32.patch also on s390 2013-04-03 10:00:09 +02:00
Tomas Popela
25d8f0c8fa Update to 2.0.0, update BR versions, drop unused patches 2013-03-27 12:47:29 +01:00
Kalev Lember
2d4347bc2e Update to 1.11.92 2013-03-21 00:59:37 +01:00
Tomas Popela
4ecf585609 Update to 1.11.91
Fix for RH bug #915990 - Seed segfaults in JSC::LLInt::CLoop::execute()
2013-03-08 14:55:11 +01:00
Tomas Popela
0e51849777 Fix for not building on ppc32 with JIT disabled 2013-02-25 14:21:50 +01:00
Kevin Fenzi
853c089355 Add webkit2 MiniBrowser 2013-02-23 21:44:43 -07:00
Kalev Lember
b1292f87d8 Update to 1.11.90
... and drop upstreamed patches.
2013-02-22 16:07:22 +01:00
Tomas Popela
c834dbb2ed Fix for not building on ppc32 with JIT disabled 2013-02-22 10:07:44 +01:00
Tomas Popela
5f96013cbb Added fixes for building webkitgtk with JIT disabled 2013-02-18 17:06:22 +01:00
Peter Robinson
08ad5279c9 Re-enable JIT on ARM (hopefully the gmail crash is fixed) 2013-02-16 22:55:20 +00:00
Tomas Popela
b28e3d33c5 Version bump 2013-02-14 17:03:24 +01:00
Tomas Popela
3bfbdb931e Add upstream patch for RH bug #908143 - AccessibilityTableRow::parentTable crash 2013-02-14 17:01:53 +01:00
Kalev Lember
00853d55b9 Fix a linking failure with the 32 bit build
https://bugs.webkit.org/show_bug.cgi?id=109171
2013-02-07 09:54:12 +01:00
Kalev Lember
2f21f7bef0 Update to 1.11.5
... and drop upstreamed patches.
2013-02-05 23:38:33 +01:00
TASAKA Mamoru
2007d33231 Rebuild against new icu again 2013-01-30 14:47:30 +09:00
Kalev Lember
2f8221cc72 Fix the build with new icu 50 2013-01-27 18:01:37 +01:00
Kalev Lember
d8eab12728 Rebuilt for icu 50 2013-01-26 16:54:45 +01:00
Kalev Lember
2a30073f0f Backport a fix for a crash in AccessibilityTableCell::parentTable()
Thanks to yaneti for pointing this out on IRC.
2013-01-25 10:59:23 +01:00
Kalev Lember
b9bc690037 Drop an unused patch 2013-01-25 10:57:06 +01:00
Adam Tkac
dd62281505 Rebuild due to "jpeg8-ABI" feature drop
Signed-off-by: Adam Tkac <atkac@redhat.com>
2013-01-21 17:57:42 +01:00
Kalev Lember
856779dc52 Update to 1.11.4
- Remove conditional pango deps; the build now uses harfbuzz directly
- BR libwebp-devel
- Drop upstreamed librt linking patch
2013-01-16 10:00:35 +01:00
Dan Horák
34229148bc fix 32-bit non-JIT arches 2012-12-18 22:49:08 +01:00
Dan Horák
afdc706613 fix build for non-JIT arches 2012-12-18 17:22:19 +01:00
Kalev Lember
7c2f3ef720 Update to 1.11.2
- Add a patch to explicitly link with librt
2012-11-25 04:02:25 +01:00
6 changed files with 1 additions and 445 deletions

29
.gitignore vendored
View file

@ -1,29 +0,0 @@
webkit-1.3.3.tar.gz
/webkit-1.3.4.tar.gz
/webkit-1.3.5.tar.gz
/webkit-1.3.6.tar.gz
/webkit-1.3.7.tar.gz
/webkit-1.3.9.tar.gz
/webkit-1.3.10.tar.gz
/webkit-1.3.11.tar.gz
/webkit-1.3.13.tar.gz
/webkit-1.4.0.tar.gz
/webkit-1.5.1.tar.gz
/webkit-1.6.1.tar.gz
/webkit-1.7.1.tar.gz
/webkit-1.7.2.tar.xz
/webkit-1.7.3.tar.xz
/webkit-1.7.4.tar.xz
/webkit-1.7.5.tar.xz
/webkit-1.7.91.tar.xz
/webkit-1.7.92.tar.xz
/webkit-1.8.0.tar.xz
/webkit-1.8.1.tar.xz
/webkit-1.9.3.tar.xz
/webkit-1.9.4.tar.xz
/webkit-1.9.5.tar.xz
/webkit-1.9.90.tar.xz
/webkit-1.9.91.tar.xz
/webkit-1.9.92.tar.xz
/webkitgtk-1.10.0.tar.xz
/webkitgtk-1.10.1.tar.xz

1
dead.package Normal file
View file

@ -0,0 +1 @@
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/AKVB363GFCHHJ5MTHGVYHYT6NLLTF5VM/

View file

@ -1 +0,0 @@
28c930cda012391453c476cdacfaca65 webkitgtk-1.10.1.tar.xz

View file

@ -1,12 +0,0 @@
--- webkit-1.1.17/Source/WebCore/plugins/PluginDatabase.cpp.old 2009-12-01 15:22:10.000000000 +0000
+++ webkit-1.1.17/Source/WebCore/plugins/PluginDatabase.cpp 2009-12-01 15:22:21.000000000 +0000
@@ -357,6 +357,9 @@ Vector<String> PluginDatabase::defaultPl
paths.append("/usr/lib64/mozilla/plugins");
paths.append("/usr/lib/nsbrowser/plugins");
paths.append("/usr/lib64/nsbrowser/plugins");
+ /* And for nspluginwrapper */
+ paths.append("/usr/lib64/mozilla/plugins-wrapped");
+ paths.append("/usr/lib/mozilla/plugins-wrapped");
String mozHome(getenv("MOZILLA_HOME"));
mozHome.append("/plugins");

View file

@ -1,12 +0,0 @@
diff -Nur webkit-1.3.4.orig/Source/JavaScriptCore/wtf/Platform.h webkit-1.3.4/Source/JavaScriptCore/wtf/Platform.h
--- webkit-1.3.4.orig/Source/JavaScriptCore/wtf/Platform.h 2010-09-22 13:09:17.000000000 -0600
+++ webkit-1.3.4/Source/JavaScriptCore/wtf/Platform.h 2010-09-23 12:13:19.692721521 -0600
@@ -1025,7 +1025,7 @@
#endif
/* Setting this flag prevents the assembler from using RWX memory; this may improve
security but currectly comes at a significant performance cost. */
-#if PLATFORM(IOS)
+#if PLATFORM(IOS) || PLATFORM(X86) || PLATFORM(X86_64)
#define ENABLE_ASSEMBLER_WX_EXCLUSIVE 1
#endif

View file

@ -1,391 +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_doc_files() \
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version} ||: ; \
cp -p %1 %{buildroot}%{_docdir}/%{name}-%{version}/$(echo '%1' | sed -e 's!/!.!g')
Name: webkitgtk3
Version: 1.10.1
Release: 1%{?dist}
Summary: GTK+ Web content engine library
Group: Development/Libraries
License: LGPLv2+ and BSD
URL: http://www.webkitgtk.org/
Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
Patch1: webkit-1.3.4-no-execmem.patch
Patch2: webkit-1.1.14-nspluginwrapper.patch
BuildRequires: bison
BuildRequires: chrpath
BuildRequires: enchant-devel
BuildRequires: flex
BuildRequires: geoclue-devel
BuildRequires: gettext
BuildRequires: gperf
BuildRequires: gstreamer1-devel
BuildRequires: gstreamer1-plugins-base-devel
BuildRequires: gtk2-devel
BuildRequires: gtk3-devel >= 3.0
BuildRequires: gtk-doc
BuildRequires: libsoup-devel >= 2.37.2.1
BuildRequires: libicu-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libxslt-devel
BuildRequires: libXt-devel
BuildRequires: pcre-devel
BuildRequires: sqlite-devel
BuildRequires: gobject-introspection-devel
BuildRequires: perl-Switch
BuildRequires: ruby
BuildRequires: mesa-libGL-devel
## Conditional dependencies...
%if %{with pango}
BuildRequires: pango-devel
%else
BuildRequires: cairo-devel
BuildRequires: fontconfig-devel
BuildRequires: freetype-devel
%endif
%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}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
Requires: gtk3-devel
%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}
Group: Documentation
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description doc
This package contains developer documentation for %{name}.
%prep
%setup -qn "webkitgtk-%{version}"
# tbzatek - doesn't apply, is this fixed?
# %patch1 -p1 -b .no-execmem
%patch2 -p1 -b .nspluginwrapper
%build
%ifarch s390 %{arm} ppc
# Use linker flags to reduce memory consumption on low-mem architectures
%global optflags %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
%endif
%ifarch s390 s390x
# Decrease debuginfo verbosity to reduce memory consumption even more
%global optflags %(echo %{optflags} | sed 's/-g/-g1/')
%endif
# Build with -g1 on all platforms to avoid running into 4 GB ar format limit
# https://bugs.webkit.org/show_bug.cgi?id=91154
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
# explicitly disable JIT on ARM https://bugs.webkit.org/show_bug.cgi?id=85076
CFLAGS="%{optflags} -DLIBSOUP_I_HAVE_READ_BUG_594377_AND_KNOW_SOUP_PASSWORD_MANAGER_MIGHT_GO_AWAY" %configure \
--with-gstreamer=1.0 \
--with-gtk=3.0 \
%ifarch %{arm} s390 s390x ppc ppc64
--disable-jit \
%else
--enable-jit \
%endif
--enable-introspection
mkdir -p DerivedSources/webkit
mkdir -p DerivedSources/WebCore
mkdir -p DerivedSources/ANGLE
mkdir -p DerivedSources/WebKit2
mkdir -p DerivedSources/InjectedBundle
make %{_smp_mflags} V=1
%install
make install DESTDIR=%{buildroot}
install -d -m 755 %{buildroot}%{_libexecdir}/%{name}
install -m 755 Programs/GtkLauncher %{buildroot}%{_libexecdir}/%{name}
# Remove lib64 rpaths
chrpath --delete %{buildroot}%{_bindir}/jsc-3
chrpath --delete %{buildroot}%{_libdir}/libwebkitgtk-3.0.so
chrpath --delete %{buildroot}%{_libdir}/libwebkit2gtk-3.0.so
chrpath --delete %{buildroot}%{_libexecdir}/%{name}/GtkLauncher
chrpath --delete %{buildroot}%{_libexecdir}/WebKitPluginProcess
chrpath --delete %{buildroot}%{_libexecdir}/WebKitWebProcess
# for some reason translations don't get installed in 1.3.7
%find_lang webkitgtk-3.0
## Finally, copy over and rename the various files for %%doc inclusion.
%add_to_doc_files Source/WebKit/LICENSE
%add_to_doc_files Source/WebKit/gtk/po/README
%add_to_doc_files Source/WebKit/gtk/NEWS
%add_to_doc_files Source/WebCore/icu/LICENSE
%add_to_doc_files Source/WebCore/LICENSE-APPLE
%add_to_doc_files Source/WebCore/LICENSE-LGPL-2
%add_to_doc_files Source/WebCore/LICENSE-LGPL-2.1
%add_to_doc_files Source/JavaScriptCore/COPYING.LIB
%add_to_doc_files Source/JavaScriptCore/THANKS
%add_to_doc_files Source/JavaScriptCore/AUTHORS
%add_to_doc_files Source/JavaScriptCore/icu/README
%add_to_doc_files Source/JavaScriptCore/icu/LICENSE
%post -p /sbin/ldconfig
%postun
/sbin/ldconfig
if [ $1 -eq 0 ] ; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
fi
%posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%files -f webkitgtk-3.0.lang
%doc %{_docdir}/%{name}-%{version}/
%exclude %{_libdir}/*.la
%{_libdir}/libwebkitgtk-3.0.so.*
%{_libdir}/libwebkit2gtk-3.0.so.*
%{_libdir}/libjavascriptcoregtk-3.0.so.*
%{_libdir}/girepository-1.0/WebKit-3.0.typelib
%{_libdir}/girepository-1.0/JSCore-3.0.typelib
%{_libexecdir}/%{name}/
%{_libexecdir}/WebKitPluginProcess
%{_libexecdir}/WebKitWebProcess
%{_datadir}/webkitgtk-3.0
%files devel
%{_bindir}/jsc-3
%{_includedir}/webkitgtk-3.0
%{_libdir}/libwebkitgtk-3.0.so
%{_libdir}/libwebkit2gtk-3.0.so
%{_libdir}/libjavascriptcoregtk-3.0.so
%{_libdir}/pkgconfig/webkitgtk-3.0.pc
%{_libdir}/pkgconfig/webkit2gtk-3.0.pc
%{_libdir}/pkgconfig/javascriptcoregtk-3.0.pc
%{_datadir}/gir-1.0/WebKit-3.0.gir
%{_datadir}/gir-1.0/JSCore-3.0.gir
%files doc
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/webkitgtk
%{_datadir}/gtk-doc/html/webkit2gtk
%changelog
* Wed Oct 17 2012 Kalev Lember <kalevlember@gmail.com> - 1.10.1-1
- Update to 1.10.1
- Enable the parallel build
- Drop the upstreamed Geode-compatibility patch
* Fri Oct 5 2012 Daniel Drake <dsd@laptop.org> - 1.10.0-2
- Restore compatibility with AMD Geode processors
* Mon Sep 24 2012 Kalev Lember <kalevlember@gmail.com> - 1.10.0-1
- Update to 1.10.0
- Adjust for webkit -> webkitgtk upstream tarball rename
* Wed Sep 19 2012 Kalev Lember <kalevlember@gmail.com> - 1.9.92-2
- Build with gstreamer1
* Wed Sep 19 2012 Kalev Lember <kalevlember@gmail.com> - 1.9.92-1
- Update to 1.9.92
* Wed Sep 05 2012 Kalev Lember <kalevlember@gmail.com> - 1.9.91-1
- Update to 1.9.91
* Sun Sep 2 2012 Matthias Clasen <mclasen@redhat.com> - 1.9.90-2
- Rebuild
* Wed Aug 29 2012 Daniel Drake <dsd@laptop.org> - 1.9.90-1
- Update to latest release (#850520)
* Thu Aug 9 2012 Daniel Drake <dsd@laptop.org> - 1.9.5-2
- Add upstream patch to fix build without JIT (#843428)
- Add upstream patch to fix build with latest gcc/bison
* Wed Jul 18 2012 Kalev Lember <kalevlember@gmail.com> - 1.9.5-1
- Update to 1.9.5
- Build with -g1 to avoid running into 4 GB ar format limit
* Wed Jul 11 2012 Ville Skyttä <ville.skytta@iki.fi> - 1.9.4-3
- Fix %%post scriptlet dependencies.
* Wed Jul 04 2012 Dan Horák <dan[at]danny.cz> - 1.9.4-2
- apply workaround for s390x until #835957 is resolved (static library archive > 4 GB)
* Thu Jun 28 2012 Kalev Lember <kalevlember@gmail.com> - 1.9.4-1
- Update to 1.9.4
* Thu Jun 07 2012 Kalev Lember <kalevlember@gmail.com> - 1.9.3-1
- Update to 1.9.3
- Build webkit2gtk and BR gtk2-devel for its plugin process
* Tue May 15 2012 Karsten Hopp <karsten@redhat.com> 1.8.1-3
- disable JIT on PPC(64) as the autodetection enables it even if not supported
* Mon May 14 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.8.1-2
- Explicitly disable JIT on ARM as it's not currently stable with JS heavy pages
* Tue Apr 24 2012 Kalev Lember <kalevlember@gmail.com> - 1.8.1-1
- Update to 1.8.1
- Dropped the backported patches
- Remove lib64 rpaths with chrpath
- Update gsettings rpm scriptlets
* Wed Apr 18 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.8.0-3
- Add upstream patch to fix crash when SSE2 isn't present
- Add upstream patch to flickering when some widgets are drawn
* Mon Apr 09 2012 Kalev Lember <kalevlember@gmail.com> - 1.8.0-2
- Finish splitting out a -doc subpackage (#808917)
* Wed Mar 28 2012 Richard Hughes <rhughes@redhat.com> - 1.8.0-1
- Update to 1.8.0.
* Sat Mar 24 2012 Dan Horák <dan[at]danny.cz> - 1.7.92-2
- add ppc to low mem arches
- decrease debuginfo verbosity on s390 to save memory
* Wed Mar 21 2012 Kalev Lember <kalevlember@gmail.com> - 1.7.92-1
- Update to 1.7.92
- Don't pass --enable-geolocation to configure; it's now enabled by default
* Thu Mar 15 2012 Karsten Hopp <karsten@redhat.com> 1.7.91-2
- disable jit on ppc(64)
* Thu Mar 8 2012 Matthias Clasen <mclasen@redhat.com> - 1.7.91-1
- Update to 1.7.91
* Tue Feb 28 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.7.5-3
- Add ARM to and optimise compile flags for low mem arches
* Mon Feb 20 2012 Dan Horák <dan[at]danny.cz> - 1.7.5-2
- don't enable jit on s390(x)
* Tue Feb 7 2012 Matthias Clasen <mclasen@redhat.com> - 1.7.5-1
- Update to 1.7.5
* Tue Jan 17 2012 Matthias Clasen <mclasen@redhat.com> - 1.7.4-1
- Update to 1.7.4
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Dec 20 2011 Matthias Clasen <mclasen@redhat.com> - 1.7.3-1
- Update to 1.7.3
* Thu Nov 24 2011 Tomas Bzatek <tbzatek@redhat.com> - 1.7.2-1
- Update to 1.7.2
* Mon Nov 7 2011 Matthias Clasen <mclasen@redhat.com> 1.7.1-2
- Rebuild against new libpng
* Wed Nov 2 2011 Matthias Clasen <mclasen@redhat.com> 1.7.1-1
- Update to 1.7.1
* Wed Oct 12 2011 Dan Horák <dan[at]danny.cz> 1.6.1-2
- fix build on s390(x)
* Wed Sep 28 2011 Ray Strode <rstrode@redhat.com> 1.6.1-1
- Update to 1.6.1
* Fri Sep 09 2011 Caolán McNamara <caolanm@redhat.com> - 1.5.1-2
- rebuild for icu 4.8.1
* Thu Jun 16 2011 Tomas Bzatek <tbzatek@redhat.com> - 1.5.1-1
- Update to 1.5.1
* Tue Jun 14 2011 Bastien Nocera <bnocera@redhat.com> 1.4.0-3
- Rebuild against newer GTK+
* Wed May 11 2011 Cosimo Cecchi <cosimoc@redhat.com> 1.4.0-2
- Add a doc package for gtk-doc documentation
* Tue Apr 26 2011 Matthias Clasen <mclasen@redhat.com> 1.4.0-1
- Update to 1.4.0
* Tue Mar 22 2011 Matthias Clasen <mclasen@redhat.com> 1.3.13-1
- Update to 1.3.13
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> 1.3.10-3
- Rebuild against newer gtk
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Feb 2 2011 Matthias Clasen <mclasen@redhat.com> 1.3.11-1
- 1.3.11
* Wed Feb 2 2011 Matthias Clasen <mclasen@redhat.com> 1.3.10-2
- Rebuild against newer gtk
* Mon Jan 10 2011 Matthias Clasen <mclasen@redhat.com> 1.3.10-1
- Update to 1.3.10
* Sun Jan 9 2011 Matthias Clasen <mclasen@redhat.com> 1.3.9-1
- Update to 1.3.9
* Fri Dec 3 2010 Matthias Clasen <mclasen@redhat.com> 1.3.7-2
- Rebuild against new gtk
* Wed Dec 1 2010 Matthias Clasen <mclasen@redhat.com> 1.3.7-1
- Update to 1.3.7
* Wed Nov 11 2010 Matthias Clasen <mclasen@redhat.com> 1.3.6-1
- Update to 1.3.6
- Disable the s390 patch again :-( Upstream it, maybe ?
* Thu Nov 11 2010 Dan Horák <dan[at]danny.cz> - 1.3.5-2
- Updated and re-enabled the s390 patch
* Mon Nov 1 2010 Matthias Clasen <mclasen@redhat.com> 1.3.5-1
- Update to 1.3.5
* Wed Sep 29 2010 jkeating - 1.3.4-3
- Rebuilt for gcc bug 634757
* Fri Sep 24 2010 Matthias Clasen <mclasen@redhat.com> 1.3.4-2
- Enable JIT/patch for execmem
- Move inspector to the main package
* Thu Sep 23 2010 Matthias Clasen <mclasen@redhat.com> 1.3.4-1
- Update to 1.3.4
* Wed Aug 25 2010 Dan Horák <dan[at]danny.cz> - 1.3.3-4
- Do not generate debug information to prevent linker memory exhaustion on s390 with its 2 GB address space
* Wed Jul 21 2010 Dan Horák <dan[at]danny.cz> - 1.3.3-3
- Fix build on s390(x)
* Thu Jul 15 2010 Colin Walters <walters@verbum.org> - 1.3.3-2
- Rebuild with new gobject-introspection
* Fri Jul 9 2010 Matthias Clasen <mclasen@redhat.com> 1.3.2-2
- Fix conflicting gettext domain with webkitgtk
- Drop the -doc subpackage
* Thu Jul 1 2010 Matthias Clasen <mclasen@redhat.com> 1.3.2-1
- Initial packaging