diff options
author | Pacho Ramos <pacho@gentoo.org> | 2014-06-21 20:00:30 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2014-06-21 20:00:30 +0000 |
commit | 98f5936054cf26d5e9c045cbbebbf289ead8e217 (patch) | |
tree | 86ba88fcb349a9e3f660680e7d0ba0ac69bb6b46 /net-libs/webkit-gtk | |
parent | old (diff) | |
download | historical-98f5936054cf26d5e9c045cbbebbf289ead8e217.tar.gz historical-98f5936054cf26d5e9c045cbbebbf289ead8e217.tar.bz2 historical-98f5936054cf26d5e9c045cbbebbf289ead8e217.zip |
Try to avoid issues like bug #463960
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'net-libs/webkit-gtk')
-rw-r--r-- | net-libs/webkit-gtk/ChangeLog | 7 | ||||
-rw-r--r-- | net-libs/webkit-gtk/Manifest | 15 | ||||
-rw-r--r-- | net-libs/webkit-gtk/webkit-gtk-2.4.1-r200.ebuild | 269 | ||||
-rw-r--r-- | net-libs/webkit-gtk/webkit-gtk-2.4.1.ebuild | 272 | ||||
-rw-r--r-- | net-libs/webkit-gtk/webkit-gtk-2.4.3-r200.ebuild | 8 | ||||
-rw-r--r-- | net-libs/webkit-gtk/webkit-gtk-2.4.3.ebuild | 7 |
6 files changed, 25 insertions, 553 deletions
diff --git a/net-libs/webkit-gtk/ChangeLog b/net-libs/webkit-gtk/ChangeLog index e0e2b8abca0b..dbb5c36bee09 100644 --- a/net-libs/webkit-gtk/ChangeLog +++ b/net-libs/webkit-gtk/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/webkit-gtk # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v 1.266 2014/05/30 05:03:33 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v 1.267 2014/06/21 20:00:28 pacho Exp $ + + 21 Jun 2014; Pacho Ramos <pacho@gentoo.org> -webkit-gtk-2.4.1-r200.ebuild, + -webkit-gtk-2.4.1.ebuild, webkit-gtk-2.4.3-r200.ebuild, + webkit-gtk-2.4.3.ebuild: + Try to avoid issues like bug #463960 *webkit-gtk-2.4.3 (30 May 2014) *webkit-gtk-2.4.3-r200 (30 May 2014) diff --git a/net-libs/webkit-gtk/Manifest b/net-libs/webkit-gtk/Manifest index f9b667056c82..061005e8e8c5 100644 --- a/net-libs/webkit-gtk/Manifest +++ b/net-libs/webkit-gtk/Manifest @@ -12,20 +12,17 @@ AUX webkit-gtk-2.2.5-ia64-platform.patch 331 SHA256 1ac5327f4f190bc4cbee9e62d4a2 AUX webkit-gtk-2.2.5-sparc64-build.patch 1169 SHA256 fe6c7c345eb46a0f6856b5f1c547a65185b36c314d6f55a7980c640da0a53b56 SHA512 c59c6aed45ce237d68e58e5b03f46dc66ae4b73cd8a78f7eab9429ef3fe13882d0985da33f30fb425e0b5945298502ac35f9888e666c177fe2467f3f1ed35892 WHIRLPOOL f5a55fcaafc203352583e9ded39e79edca8e9d13cb1cf6e6574e905729fc8e9f92ccd75cd9309b66734f91830847164ebe9011c149e17c85af5549bd40b04f90 AUX webkit-gtk-2.4.1-ia64-malloc.patch 807 SHA256 8e01dee48af7e8e0d24729dd9b99e88b47125b5f91d07df29d579785e60d398d SHA512 d9e7a792861ff30137072eba6b5b80e7b37e47e7302bf1cd56027b5c30aea3fd215891f6272d85b80e98c826b3216d0701fe92f06b76e7d1fb860028d7a701c0 WHIRLPOOL 7cf769d9752cf800f72e76233ef299e2da8c13f427cd8d312d47d76282091f06ec32a618dda9d0bacedbc5dcf8aa4289ce9ce089cdbb90be28deeb75e449a925 DIST webkitgtk-2.2.6.tar.xz 9400300 SHA256 157ee7377ae97a27bb3b9bd2733d9353979632543c3d078b6578aeeb1319bf06 SHA512 9a90109ee8f591ae34ac2282e21aeee872292d82d1f66ebc69fb506c89a8ec952e373b35d1db7cc68307ea6ee90949c5c447ed206f14ec77374f8d68ab56021d WHIRLPOOL 47e5ffa17b53238f6282b17e2eb3e988dac7f295dd6757c097ea81d826770b1929d04d79f8a0e03abe5e30bfeb8626c42ad06c6a13aa0e9626120f590b55a931 -DIST webkitgtk-2.4.1.tar.xz 9836352 SHA256 6eed5d41ecdcfbafe3c2fbb0f0b79b9cda87a5ea0e7d0938afb6c6c82996e2f7 SHA512 59f7d053fce46efc47461e721f0bf75cdda1a89c2ad57e4866d2effd86995704eb63fcc797a9ea2b0764491c21cda28840ca388dd7d0c89447df35304ca835de WHIRLPOOL 2c9f940267b462731eed0d487338a7f6897e63c6420eedf2bd0cde0e272ed766fec979f6658618d4d535868ce782d7a1256ce5fd178ae621f03170067c6c96a9 DIST webkitgtk-2.4.3.tar.xz 9841564 SHA256 9862c3eac1d12cc6e52cc39060a1284163950b304d534529a0dbcc5958a8ceac SHA512 fc4b36a3e11075325c79ced9f0d70a4b3daec43c5d3fff63ec843c513f04fd6cbe1b6472ea83e77f250f334f962a636a2423d8dbea4db0c767e823e2bd63f8d4 WHIRLPOOL dc9eb5211bbbea899379e688816ec978aa0f813ece777d0d9da08309eb2d647c662be66599a945bf743ff2946646e9e7d0554e0e9333fd10be425f05c7c8ffb6 EBUILD webkit-gtk-2.2.6-r200.ebuild 8839 SHA256 51b4d2814a33794d3d17c9bfd68ac6889b2c664effb95e4af3f93555ea4e64da SHA512 017955f7ba0dc75d601349b142ed39d5f126e3beac5933c973c0a2273bfabbfe63402a026396d28ab967956aca1d703afe31f5ee0274abd6ba2084145dd519dd WHIRLPOOL 5544ec7cbf8f218966927e887ed95b4fd549e4a705d2b32cbaa45fd3f6d17dd34739c97d45c627cd7b74281039690dc60f85d723e40d5619ab4fe54ce6b1d694 EBUILD webkit-gtk-2.2.6.ebuild 8934 SHA256 94e709b74f78b67b2ff1d0a4abe7b67d7a95b550bd6fc7a9904df44984319f1c SHA512 2f37e59f8fe373593f3771771644e64facac02bf2549bfd1ce008a30e19eba7746114e562b257108b1cf6d1955211cd32660a798b5fbf1a194e4d0b5557a90a7 WHIRLPOOL 5ce8581796cf5505f1ffb8f8237397d01861e4b64c3c4ec9ea5ec6311abade60a9cac3051c8a9beedcc5f9840d2314f2b335392e1c2e9a5048bbcfb2771c50d0 -EBUILD webkit-gtk-2.4.1-r200.ebuild 8855 SHA256 7ef83fb12968d85b9f633a5f9abdb8d92e8491395df1bd411497ba12694c55ae SHA512 dd55968e78a6e5d01c9ba47de205aa313b7a0abe6db55e817dc567b97d1b28ddc12e4a13648161193b1dd566d915dd76238cbdbd0fa7cd71cd3e57ffe8985000 WHIRLPOOL ab937e4131489d73d126d25a80849059b57e8f135adc535a3f88d19b3d81ed17cfb0ec3cbb2d898f42dc37b72e8360fe1a194a0835bc152aa4b1964bfa46a766 -EBUILD webkit-gtk-2.4.1.ebuild 9055 SHA256 acad8ba49240362cd9f2b5f522257e314b97763c19178e75c3e4c68bc9e98857 SHA512 e90f9be262d2722c27874c6195cbbbdc9529f67b555f4b00954e9ac8a6e398bcc401d580ffd048512ffb40fef0b90d500b5b6a9b5a3858f5a3528a9537c4d4f9 WHIRLPOOL 2804a380efcdbe106a9827333174a226d619ea125a467fd1d7a4f21af6dd615f1cb782c5dbd7143e31349b344a406f4bf6adffe76bc12c5ed4950a53dfe21efa -EBUILD webkit-gtk-2.4.3-r200.ebuild 8857 SHA256 fce4e1e942329278083d3315878a2aa11d81440ffcc98d61b7108fabf32343aa SHA512 d14a792b8318e70ef0aa7986c41857db160770faf2bb67285639153d0003da39af8ba3020a92044f4f9cde88e81d77d249c4cdc53a3d6427061e4bd34909dc2d WHIRLPOOL 071edb2282c53230f6c9030c33ceef32bf7a2cecd22d8ba32f6477750a8dd9ef53236f8f5f07d9a85724cc05b29491b5a44085dac3513b67d09ad6a4f58a5850 -EBUILD webkit-gtk-2.4.3.ebuild 9057 SHA256 03d6e3de7f7a360f76ed58e3ac5cca1a4f4649619684b8f4ce52ac29808298b5 SHA512 04538f4725b486e11cdabebc3f00704c9736524a0e62d9391edfed6466d8868ddec6446a999518abf7d935c66aa7846d6608b770c3490bfd688dc80e5d7dad69 WHIRLPOOL 7c3bf44fa227728d93f09196a5af0968a33c20f9a13eac8c9850c7a50aead30e744446dd558893ae6f17cb7a46b6952eb04b76df059849c01c0f8aeca2dda736 -MISC ChangeLog 55439 SHA256 34af71376317154519edad101500ef0c501c598f293c3727ec0aa8eeab778143 SHA512 e439e056456157627f664bcd0cbe0d8046189d48807548c90389cf0d40a0dabcadfe7f6600356a79a16f430e21653c36d7bcedfab9ebc30fc091c49daf6aa3f6 WHIRLPOOL 8a69336b9010c61b35e7136676891b713705dbdb5728d0a085bab791b777a18b76d2fc8085bf3fd9ca7b1edcf5e928352d600097962e962708752fa795367eae +EBUILD webkit-gtk-2.4.3-r200.ebuild 8951 SHA256 88ba07aa505326072e6d17101350d6c47fafa23730fc2a64bb8e7633300a9a76 SHA512 99f495a81effca76948f2bb3329ebc8a57d936037d18bfaa280124dcfc0657251f7f2fcb41bb3a6706540aaa32168cf5a796a0b71bdfc3f2cc497251c80f8ed4 WHIRLPOOL 2a909b43a829d2ee9b491a7f0e3ee1e6c1a9c4c8fab874ac9b6216365c635f446b20aca2ea4b09db71b722d894713f80357e6d76fa6051371048dc0e04fbf5ff +EBUILD webkit-gtk-2.4.3.ebuild 9150 SHA256 140fa264fb715c9e1b01d34157f04f012dc7e83eb54228d89ae0b5920c5a8ecd SHA512 c010eebea3381087f47ffc1e2d247ceaee2edcf6dcfc8b59595b4aeccc08d8a12c01f370b27ebdfe3ad59e1f86a46c86ccff5a9e9a222ea6952a15465e0be11a WHIRLPOOL c65e10a0015d5e5214703175caa46de765d116d5bb3db481eb45ef881ddc5ac1f71ffddf47c6e9b751d0fb2200f4e21f3b364e40cde6f535e6e298d13294698c +MISC ChangeLog 55641 SHA256 9d48ae964b603f60959918cd8596cb3c29a8ff8f79948b73bce3b4818c907c8e SHA512 e8f5fe1d3ca673681e3ea0701389c7cda48ddcb5ee9f95957c3739e0b0762dbac6f7e38f045ad9e28972f7c174722818796a453dd52e3bfcce4537654d2868a1 WHIRLPOOL a27f53e1570c38204ef5f7cf60365b834e4ae2ddeaab4938349dbff712a2f07a51c96e207a215c29b9a3054a09935d9c8e21f85cad412618bc912ddc2947809f MISC metadata.xml 610 SHA256 23faf3368df312d51e2dd38d6e7695410deab694bc12558cbe9751067575df11 SHA512 ac78b2e8a719247f5294c045ead7731cd42fb7200ea5a6a450ac18abd3a79fc888045e2c7f98bf984dd2a9484fc352ebc06e6b1c7a0bdd75a65a825e71c09188 WHIRLPOOL f2c88de8a7889cd3cdbb66f498067f85a5e6ce0c7b3732299ad9373e39ac332abe5d3da93f8fbe1e5f63b44306f9def006a3e34349eaca12ee9fb3b7a7368ea1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iEYEAREIAAYFAlOIESgACgkQCaWpQKGI+9RoGgCeOd3zplxXmQX8ZSdYwp5DgLew -vAEAn1/iQTkXYHlDg3onW7Y3ho6wbpJc -=zbbu +iEYEAREIAAYFAlOl5F0ACgkQCaWpQKGI+9T/OQCfdNRg8jU6mrp54OPh3snV3H0w +THUAoIIad6LTdkJ0v4bwIdpD15+r3i1Q +=GCnV -----END PGP SIGNATURE----- diff --git a/net-libs/webkit-gtk/webkit-gtk-2.4.1-r200.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.4.1-r200.ebuild deleted file mode 100644 index 6cf5e7e91807..000000000000 --- a/net-libs/webkit-gtk/webkit-gtk-2.4.1-r200.ebuild +++ /dev/null @@ -1,269 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-2.4.1-r200.ebuild,v 1.1 2014/04/27 18:26:53 eva Exp $ - -EAPI="5" -GCONF_DEBUG="no" -PYTHON_COMPAT=( python{2_6,2_7} ) - -inherit autotools check-reqs eutils flag-o-matic gnome2 pax-utils python-any-r1 toolchain-funcs versionator virtualx - -MY_P="webkitgtk-${PV}" -DESCRIPTION="Open source web browser engine" -HOMEPAGE="http://www.webkitgtk.org/" -SRC_URI="http://www.webkitgtk.org/releases/${MY_P}.tar.xz" - -LICENSE="LGPL-2+ BSD" -SLOT="2" # no usable subslot -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos" -IUSE="aqua coverage debug +egl +geoloc gles2 +gstreamer +introspection +jit libsecret +opengl spell +webgl +X" -# bugs 372493, 416331 -REQUIRED_USE=" - geoloc? ( introspection ) - introspection? ( gstreamer ) - gles2? ( egl ) - webgl? ( ^^ ( gles2 opengl ) ) - !webgl? ( ?? ( gles2 opengl ) ) - || ( aqua X ) -" - -# use sqlite, svg by default -RDEPEND=" - dev-libs/libxml2:2 - dev-libs/libxslt - media-libs/harfbuzz:=[icu(+)] - media-libs/libwebp:= - virtual/jpeg:0= - >=media-libs/libpng-1.4:0= - >=x11-libs/cairo-1.10:=[X] - >=dev-libs/glib-2.36.0:2 - >=dev-libs/icu-3.8.1-r1:= - >=net-libs/libsoup-2.42.0:2.4[introspection?] - dev-db/sqlite:3= - >=x11-libs/pango-1.30.0.0 - x11-libs/libXrender - x11-libs/libXt - >=x11-libs/gtk+-2.24.10:2 - - egl? ( media-libs/mesa[egl] ) - geoloc? ( >=app-misc/geoclue-2.1.5:2.0 ) - gles2? ( media-libs/mesa[gles2] ) - gstreamer? ( - >=media-libs/gstreamer-1.2:1.0 - >=media-libs/gst-plugins-base-1.2:1.0 ) - introspection? ( >=dev-libs/gobject-introspection-1.32.0 ) - libsecret? ( app-crypt/libsecret ) - opengl? ( virtual/opengl ) - spell? ( >=app-text/enchant-0.22:= ) - webgl? ( - x11-libs/cairo[opengl] - x11-libs/libXcomposite - x11-libs/libXdamage ) -" - -# paxctl needed for bug #407085 -# Need real bison, not yacc -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - dev-lang/perl - || ( - virtual/rubygems[ruby_targets_ruby20] - virtual/rubygems[ruby_targets_ruby21] - virtual/rubygems[ruby_targets_ruby19] - ) - >=dev-libs/atk-2.8.0 - >=dev-util/gtk-doc-am-1.10 - dev-util/gperf - >=sys-devel/bison-2.4.3 - >=sys-devel/flex-2.5.33 - || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 ) - sys-devel/gettext - >=sys-devel/make-3.82-r4 - virtual/pkgconfig - - introspection? ( jit? ( sys-apps/paxctl ) ) - test? ( - dev-lang/python:2.7 - dev-python/pygobject:3[python_targets_python2_7] - x11-themes/hicolor-icon-theme - jit? ( sys-apps/paxctl ) ) -" - -S="${WORKDIR}/${MY_P}" - -CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then - einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" - check-reqs_pkg_pretend - fi - - if ! test-flag-CXX -std=c++11; then - die "You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags" - fi -} - -pkg_setup() { - # Check whether any of the debugging flags is enabled - if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then - if is-flagq "-ggdb" && [[ ${WEBKIT_GTK_GGDB} != "yes" ]]; then - replace-flags -ggdb -g - ewarn "Replacing \"-ggdb\" with \"-g\" in your CFLAGS." - ewarn "Building ${PN} with \"-ggdb\" produces binaries which are too" - ewarn "large for current binutils releases (bug #432784) and has very" - ewarn "high temporary build space and memory requirements." - ewarn "If you really want to build ${PN} with \"-ggdb\", add" - ewarn "WEBKIT_GTK_GGDB=yes" - ewarn "to your make.conf file." - fi - einfo "You need to have at least 18GB of temporary build space available" - einfo "to build ${PN} with debugging CFLAGS. Note that it might still" - einfo "not be enough, as the total space requirements depend on the flags" - einfo "(-ggdb vs -g1) and enabled features." - check-reqs_pkg_setup - fi - - [[ ${MERGE_TYPE} = "binary" ]] || python-any-r1_pkg_setup -} - -src_prepare() { - # intermediate MacPorts hack while upstream bug is not fixed properly - # https://bugs.webkit.org/show_bug.cgi?id=28727 - use aqua && epatch "${FILESDIR}"/${PN}-1.6.1-darwin-quartz.patch - - # Leave optimization level to user CFLAGS - # FORTIFY_SOURCE is enabled by default in Gentoo - sed -e 's/-O[012]//g' \ - -e 's/-D_FORTIFY_SOURCE=2//g' \ - -i Source/autotools/SetupCompilerFlags.m4 || die - - # Failing tests - # * webinspector -> https://bugs.webkit.org/show_bug.cgi?id=50744 - # * keyevents is interactive - # * mimehandling test sometimes fails under Xvfb (works fine manually), bug #??? - # * webdatasource test needs a network connection and intermittently fails with icedtea-web - # * webplugindatabase intermittently fails with icedtea-web, bug #???? - sed -e '/Programs\/TestWebKitAPI\/WebKitGtk\/testwebinspector/ d' \ - -e '/Programs\/TestWebKitAPI\/WebKitGtk\/testkeyevents/ d' \ - -e '/Programs\/TestWebKitAPI\/WebKitGtk\/testmimehandling/ d' \ - -e '/Programs\/TestWebKitAPI\/WebKitGtk\/testwebdatasource/ d' \ - -e '/Programs\/TestWebKitAPI\/WebKitGtk\/testwebplugindatabase/ d' \ - -i Tools/TestWebKitAPI/GNUmakefile.am || die - - # bug #459978, upstream bug #113397 - epatch "${FILESDIR}/${PN}-1.11.90-gtk-docize-fix.patch" - - # Do not build unittests unless requested, upstream bug #128163 - epatch "${FILESDIR}"/${PN}-2.2.4-unittests-build.patch - - # Deadlock causing infinite compilations with nvidia-drivers: - # https://bugs.gentoo.org/show_bug.cgi?id=463960 - # http://osdyson.org/issues/161 - # https://bugs.webkit.org/show_bug.cgi?id=125651 - epatch "${FILESDIR}"/${PN}-2.2.5-gir-nvidia-hangs.patch - - # Debian patches to fix support for some arches - # https://bugs.webkit.org/show_bug.cgi?id=129540 - epatch "${FILESDIR}"/${PN}-2.2.5-{hppa,ia64}-platform.patch - # https://bugs.webkit.org/show_bug.cgi?id=129542 - epatch "${FILESDIR}"/${PN}-2.4.1-ia64-malloc.patch - - AT_M4DIR=Source/autotools eautoreconf - - gnome2_src_prepare -} - -src_configure() { - # Respect CC, otherwise fails on prefix #395875 - tc-export CC - - # Arches without JIT support also need this to really disable it in all places - use jit || append-cppflags -DENABLE_JIT=0 -DENABLE_YARR_JIT=0 -DENABLE_ASSEMBLER=0 - - # It doesn't compile on alpha without this in LDFLAGS, bug #??? - use alpha && append-ldflags "-Wl,--no-relax" - - # Sigbuses on SPARC with mcpu and co., bug #??? - use sparc && filter-flags "-mvis" - - # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 - use ppc64 && append-flags "-mminimal-toc" - - # Try to use less memory, bug #469942 (see Fedora .spec for reference) - # --no-keep-memory doesn't work on ia64, bug #502492 - if ! use ia64; then - append-ldflags "-Wl,--no-keep-memory" - fi - if ! $(tc-getLD) --version | grep -q "GNU gold"; then - append-ldflags "-Wl,--reduce-memory-overheads" - fi - - local myconf="" - - if has_version "virtual/rubygems[ruby_targets_ruby21]"; then - myconf="${myconf} RUBY=$(type -P ruby21)" - elif has_version "virtual/rubygems[ruby_targets_ruby20]"; then - myconf="${myconf} RUBY=$(type -P ruby20)" - else - myconf="${myconf} RUBY=$(type -P ruby19)" - fi - - # TODO: Check Web Audio support - # should somehow let user select between them? - # - # * dependency-tracking is required so parallel builds won't fail - gnome2_src_configure \ - $(use_enable aqua quartz-target) \ - $(use_enable coverage) \ - $(use_enable debug) \ - $(use_enable egl) \ - $(use_enable geoloc geolocation) \ - $(use_enable gles2) \ - $(use_enable gstreamer video) \ - $(use_enable gstreamer web-audio) \ - $(use_enable introspection) \ - $(use_enable jit) \ - $(use_enable libsecret credential_storage) \ - $(use_enable opengl glx) \ - $(use_enable spell spellcheck) \ - $(use_enable webgl) \ - $(use_enable webgl accelerated-compositing) \ - $(use_enable X x11-target) \ - --with-gtk=2.0 \ - --disable-webkit2 \ - --enable-dependency-tracking \ - --disable-gtk-doc \ - ${myconf} -} - -src_test() { - # Tests expect an out-of-source build in WebKitBuild - ln -s . WebKitBuild || die "ln failed" - - # Prevents test failures on PaX systems - use jit && pax-mark m $(list-paxables Programs/*[Tt]ests/*) # Programs/unittests/.libs/test* - - unset DISPLAY - # Tests need virtualx, bug #294691, bug #310695 - # Parallel tests sometimes fail - Xemake -j1 check -} - -src_install() { - DOCS="ChangeLog NEWS" # other ChangeLog files handled by src_install - - # https://bugs.webkit.org/show_bug.cgi?id=129242 - MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_install - - newdoc Source/WebKit/gtk/ChangeLog ChangeLog.gtk - newdoc Source/JavaScriptCore/ChangeLog ChangeLog.JavaScriptCore - newdoc Source/WebCore/ChangeLog ChangeLog.WebCore - - # Prevents crashes on PaX systems - use jit && pax-mark m "${ED}usr/bin/jsc-1" - - # File collisions with slot 3 - # bug #402699, https://bugs.webkit.org/show_bug.cgi?id=78134 - rm -rf "${ED}usr/share/gtk-doc" || die -} diff --git a/net-libs/webkit-gtk/webkit-gtk-2.4.1.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.4.1.ebuild deleted file mode 100644 index 3e5c89546676..000000000000 --- a/net-libs/webkit-gtk/webkit-gtk-2.4.1.ebuild +++ /dev/null @@ -1,272 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-2.4.1.ebuild,v 1.1 2014/04/27 18:26:53 eva Exp $ - -EAPI="5" -GCONF_DEBUG="no" -PYTHON_COMPAT=( python{2_6,2_7} ) - -inherit autotools check-reqs eutils flag-o-matic gnome2 pax-utils python-any-r1 toolchain-funcs versionator virtualx - -MY_P="webkitgtk-${PV}" -DESCRIPTION="Open source web browser engine" -HOMEPAGE="http://www.webkitgtk.org/" -SRC_URI="http://www.webkitgtk.org/releases/${MY_P}.tar.xz" - -LICENSE="LGPL-2+ BSD" -SLOT="3/25" # soname version of libwebkit2gtk-3.0 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos" -IUSE="aqua coverage debug +egl +geoloc gles2 +gstreamer +introspection +jit libsecret +opengl spell wayland +webgl +X" -# bugs 372493, 416331 -REQUIRED_USE=" - geoloc? ( introspection ) - introspection? ( gstreamer ) - gles2? ( egl ) - webgl? ( ^^ ( gles2 opengl ) ) - !webgl? ( ?? ( gles2 opengl ) ) - || ( aqua wayland X ) -" - -# use sqlite, svg by default -# Aqua support in gtk3 is untested -# gtk2 is needed for plugin process support -# gtk3-3.10 required for wayland -RDEPEND=" - dev-libs/libxml2:2 - dev-libs/libxslt - media-libs/harfbuzz:=[icu(+)] - media-libs/libwebp:= - virtual/jpeg:0= - >=media-libs/libpng-1.4:0= - >=x11-libs/cairo-1.10:=[X] - >=dev-libs/glib-2.36.0:2 - >=x11-libs/gtk+-3.6.0:3[aqua=,introspection?] - >=dev-libs/icu-3.8.1-r1:= - >=net-libs/libsoup-2.42.0:2.4[introspection?] - dev-db/sqlite:3= - >=x11-libs/pango-1.30.0.0 - x11-libs/libXrender - x11-libs/libXt - >=x11-libs/gtk+-2.24.10:2 - - egl? ( media-libs/mesa[egl] ) - geoloc? ( >=app-misc/geoclue-2.1.5:2.0 ) - gles2? ( media-libs/mesa[gles2] ) - gstreamer? ( - >=media-libs/gstreamer-1.2:1.0 - >=media-libs/gst-plugins-base-1.2:1.0 ) - introspection? ( >=dev-libs/gobject-introspection-1.32.0 ) - libsecret? ( app-crypt/libsecret ) - opengl? ( virtual/opengl ) - spell? ( >=app-text/enchant-0.22:= ) - wayland? ( >=x11-libs/gtk+-3.10:3[wayland] ) - webgl? ( - x11-libs/cairo[opengl] - x11-libs/libXcomposite - x11-libs/libXdamage ) -" - -# paxctl needed for bug #407085 -# Need real bison, not yacc -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - dev-lang/perl - || ( - virtual/rubygems[ruby_targets_ruby20] - virtual/rubygems[ruby_targets_ruby21] - virtual/rubygems[ruby_targets_ruby19] - ) - >=app-accessibility/at-spi2-core-2.5.3 - >=dev-libs/atk-2.8.0 - >=dev-util/gtk-doc-am-1.10 - dev-util/gperf - >=sys-devel/bison-2.4.3 - >=sys-devel/flex-2.5.33 - || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 ) - sys-devel/gettext - >=sys-devel/make-3.82-r4 - virtual/pkgconfig - - introspection? ( jit? ( sys-apps/paxctl ) ) - test? ( - dev-lang/python:2.7 - dev-python/pygobject:3[python_targets_python2_7] - x11-themes/hicolor-icon-theme - jit? ( sys-apps/paxctl ) ) -" - -S="${WORKDIR}/${MY_P}" - -CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then - einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" - check-reqs_pkg_pretend - fi - - if ! test-flag-CXX -std=c++11; then - die "You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags" - fi -} - -pkg_setup() { - # Check whether any of the debugging flags is enabled - if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then - if is-flagq "-ggdb" && [[ ${WEBKIT_GTK_GGDB} != "yes" ]]; then - replace-flags -ggdb -g - ewarn "Replacing \"-ggdb\" with \"-g\" in your CFLAGS." - ewarn "Building ${PN} with \"-ggdb\" produces binaries which are too" - ewarn "large for current binutils releases (bug #432784) and has very" - ewarn "high temporary build space and memory requirements." - ewarn "If you really want to build ${PN} with \"-ggdb\", add" - ewarn "WEBKIT_GTK_GGDB=yes" - ewarn "to your make.conf file." - fi - einfo "You need to have at least 18GB of temporary build space available" - einfo "to build ${PN} with debugging CFLAGS. Note that it might still" - einfo "not be enough, as the total space requirements depend on the flags" - einfo "(-ggdb vs -g1) and enabled features." - check-reqs_pkg_setup - fi - - [[ ${MERGE_TYPE} = "binary" ]] || python-any-r1_pkg_setup -} - -src_prepare() { - # intermediate MacPorts hack while upstream bug is not fixed properly - # https://bugs.webkit.org/show_bug.cgi?id=28727 - use aqua && epatch "${FILESDIR}"/${PN}-1.6.1-darwin-quartz.patch - - # Leave optimization level to user CFLAGS - # FORTIFY_SOURCE is enabled by default in Gentoo - sed -e 's/-O[012]//g' \ - -e 's/-D_FORTIFY_SOURCE=2//g' \ - -i Source/autotools/SetupCompilerFlags.m4 || die - - # Failing tests - # * webinspector -> https://bugs.webkit.org/show_bug.cgi?id=50744 - # * keyevents is interactive - # * mimehandling test sometimes fails under Xvfb (works fine manually), bug #??? - # * webdatasource test needs a network connection and intermittently fails with icedtea-web - # * webplugindatabase intermittently fails with icedtea-web, bug #???? - sed -e '/Programs\/TestWebKitAPI\/WebKitGtk\/testwebinspector/ d' \ - -e '/Programs\/TestWebKitAPI\/WebKitGtk\/testkeyevents/ d' \ - -e '/Programs\/TestWebKitAPI\/WebKitGtk\/testmimehandling/ d' \ - -e '/Programs\/TestWebKitAPI\/WebKitGtk\/testwebdatasource/ d' \ - -e '/Programs\/TestWebKitAPI\/WebKitGtk\/testwebplugindatabase/ d' \ - -i Tools/TestWebKitAPI/GNUmakefile.am || die - - # bug #459978, upstream bug #113397 - epatch "${FILESDIR}/${PN}-1.11.90-gtk-docize-fix.patch" - - # Do not build unittests unless requested, upstream bug #128163 - epatch "${FILESDIR}"/${PN}-2.2.4-unittests-build.patch - - # Deadlock causing infinite compilations with nvidia-drivers: - # https://bugs.gentoo.org/show_bug.cgi?id=463960 - # http://osdyson.org/issues/161 - # https://bugs.webkit.org/show_bug.cgi?id=125651 - epatch "${FILESDIR}"/${PN}-2.2.5-gir-nvidia-hangs.patch - - # Debian patches to fix support for some arches - # https://bugs.webkit.org/show_bug.cgi?id=129540 - epatch "${FILESDIR}"/${PN}-2.2.5-{hppa,ia64}-platform.patch - # https://bugs.webkit.org/show_bug.cgi?id=129542 - epatch "${FILESDIR}"/${PN}-2.4.1-ia64-malloc.patch - - AT_M4DIR=Source/autotools eautoreconf - - gnome2_src_prepare -} - -src_configure() { - # Respect CC, otherwise fails on prefix #395875 - tc-export CC - - # Arches without JIT support also need this to really disable it in all places - use jit || append-cppflags -DENABLE_JIT=0 -DENABLE_YARR_JIT=0 -DENABLE_ASSEMBLER=0 - - # It doesn't compile on alpha without this in LDFLAGS, bug #??? - use alpha && append-ldflags "-Wl,--no-relax" - - # Sigbuses on SPARC with mcpu and co., bug #??? - use sparc && filter-flags "-mvis" - - # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 - use ppc64 && append-flags "-mminimal-toc" - - # Try to use less memory, bug #469942 (see Fedora .spec for reference) - # --no-keep-memory doesn't work on ia64, bug #502492 - if ! use ia64; then - append-ldflags "-Wl,--no-keep-memory" - fi - if ! $(tc-getLD) --version | grep -q "GNU gold"; then - append-ldflags "-Wl,--reduce-memory-overheads" - fi - - local myconf="" - - if has_version "virtual/rubygems[ruby_targets_ruby21]"; then - myconf="${myconf} RUBY=$(type -P ruby21)" - elif has_version "virtual/rubygems[ruby_targets_ruby20]"; then - myconf="${myconf} RUBY=$(type -P ruby20)" - else - myconf="${myconf} RUBY=$(type -P ruby19)" - fi - - # TODO: Check Web Audio support - # should somehow let user select between them? - # - # * Aqua support in gtk3 is untested - # * dependency-tracking is required so parallel builds won't fail - gnome2_src_configure \ - $(use_enable aqua quartz-target) \ - $(use_enable coverage) \ - $(use_enable debug) \ - $(use_enable egl) \ - $(use_enable geoloc geolocation) \ - $(use_enable gles2) \ - $(use_enable gstreamer video) \ - $(use_enable gstreamer web-audio) \ - $(use_enable introspection) \ - $(use_enable jit) \ - $(use_enable libsecret credential_storage) \ - $(use_enable opengl glx) \ - $(use_enable spell spellcheck) \ - $(use_enable webgl) \ - $(use_enable webgl accelerated-compositing) \ - $(use_enable wayland wayland-target) \ - $(use_enable X x11-target) \ - --with-gtk=3.0 \ - --enable-dependency-tracking \ - --disable-gtk-doc \ - ${myconf} -} - -src_test() { - # Tests expect an out-of-source build in WebKitBuild - ln -s . WebKitBuild || die "ln failed" - - # Prevents test failures on PaX systems - use jit && pax-mark m $(list-paxables Programs/*[Tt]ests/*) # Programs/unittests/.libs/test* - - unset DISPLAY - # Tests need virtualx, bug #294691, bug #310695 - # Parallel tests sometimes fail - Xemake -j1 check -} - -src_install() { - DOCS="ChangeLog NEWS" # other ChangeLog files handled by src_install - - # https://bugs.webkit.org/show_bug.cgi?id=129242 - MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_install - - newdoc Source/WebKit/gtk/ChangeLog ChangeLog.gtk - newdoc Source/JavaScriptCore/ChangeLog ChangeLog.JavaScriptCore - newdoc Source/WebCore/ChangeLog ChangeLog.WebCore - - # Prevents crashes on PaX systems - use jit && pax-mark m "${ED}usr/bin/jsc-3" -} diff --git a/net-libs/webkit-gtk/webkit-gtk-2.4.3-r200.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.4.3-r200.ebuild index 38d2afeb2f35..4790940a9a58 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.4.3-r200.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.4.3-r200.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-2.4.3-r200.ebuild,v 1.1 2014/05/30 05:03:33 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-2.4.3-r200.ebuild,v 1.2 2014/06/21 20:00:28 pacho Exp $ EAPI="5" GCONF_DEBUG="no" @@ -237,6 +237,12 @@ src_configure() { ${myconf} } +src_compile() { + # Try to avoid issues like bug #463960 + unset DISPLAY + gnome2_src_compile +} + src_test() { # Tests expect an out-of-source build in WebKitBuild ln -s . WebKitBuild || die "ln failed" diff --git a/net-libs/webkit-gtk/webkit-gtk-2.4.3.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.4.3.ebuild index 2041a871723d..af7f23c0cc52 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.4.3.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.4.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-2.4.3.ebuild,v 1.1 2014/05/30 05:03:33 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-2.4.3.ebuild,v 1.2 2014/06/21 20:00:28 pacho Exp $ EAPI="5" GCONF_DEBUG="no" @@ -244,6 +244,11 @@ src_configure() { ${myconf} } +src_compile() { + # Try to avoid issues like bug #463960 + unset DISPLAY + gnome2_src_compile +} src_test() { # Tests expect an out-of-source build in WebKitBuild ln -s . WebKitBuild || die "ln failed" |