summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2015-05-02 16:18:25 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2015-05-02 16:18:25 +0000
commit5ab8ac1023b9c18c2badc5d6d053e194759f44bd (patch)
treea8746b873cbb599930e6e508b5a16537a215df6f /net-libs/webkit-gtk
parentFix the multilib dependencies. (diff)
downloadhistorical-5ab8ac1023b9c18c2badc5d6d053e194759f44bd.tar.gz
historical-5ab8ac1023b9c18c2badc5d6d053e194759f44bd.tar.bz2
historical-5ab8ac1023b9c18c2badc5d6d053e194759f44bd.zip
Version bump. Fixes build with newer glib, bug #543066. Add support for building with ruby 2.2, bug #534010. Add missing webgl? ( opengl ) constraint, bug #533704. Fix build with older glibc releases, bug #533976.
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0xC6085806
Diffstat (limited to 'net-libs/webkit-gtk')
-rw-r--r--net-libs/webkit-gtk/ChangeLog9
-rw-r--r--net-libs/webkit-gtk/Manifest22
-rw-r--r--net-libs/webkit-gtk/webkit-gtk-2.6.6.ebuild230
3 files changed, 244 insertions, 17 deletions
diff --git a/net-libs/webkit-gtk/ChangeLog b/net-libs/webkit-gtk/ChangeLog
index ca7c4f5e6f8a..f344b08731d7 100644
--- a/net-libs/webkit-gtk/ChangeLog
+++ b/net-libs/webkit-gtk/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-libs/webkit-gtk
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v 1.314 2015/04/08 18:04:58 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v 1.315 2015/05/02 16:18:20 eva Exp $
+
+*webkit-gtk-2.6.6 (02 May 2015)
+
+ 02 May 2015; Gilles Dartiguelongue <eva@gentoo.org> +webkit-gtk-2.6.6.ebuild:
+ Version bump. Fixes build with newer glib, bug #543066. Add support for
+ building with ruby 2.2, bug #534010. Add missing webgl? ( opengl )
+ constraint, bug #533704. Fix build with older glibc releases, bug #533976.
08 Apr 2015; Michał Górny <mgorny@gentoo.org> webkit-gtk-2.4.8-r200.ebuild,
webkit-gtk-2.4.8.ebuild:
diff --git a/net-libs/webkit-gtk/Manifest b/net-libs/webkit-gtk/Manifest
index eed9639ff3c7..9df49e6fb632 100644
--- a/net-libs/webkit-gtk/Manifest
+++ b/net-libs/webkit-gtk/Manifest
@@ -21,28 +21,18 @@ AUX webkit-gtk-2.6.0-ia64-platform.patch 637 SHA256 050218d8ab6076447ff7cfe2ceba
DIST webkitgtk-2.4.8.tar.xz 9827632 SHA256 68f11559cb178679ca92acc9e3a3d7febede7acb7b98afd7fb761875bbc6bd23 SHA512 31b8b87142730aa27e5bd4fe85b0de2116fd492ef469592512c185d60df428a9913d6c2738ce57439bf9db10864ed9c121ddbc2a4da2f715818a70885c81c0de WHIRLPOOL 851e3973c00096dd3a98e64bfa9f9f0f278c3513656af9a9aa72442cd6c594119adefafa6c06d05e431ec77bf6e9f1e10432e9b6895d777adfe2952843602ef2
DIST webkitgtk-2.6.4.tar.xz 9996524 SHA256 beef5e24edd9b9cade22d80bf373c74d236f996fe30f49f8697a70f267772e9b SHA512 242ab90ceff5b83978dd5bb8f0b8e05a7daa1fbbe87657ef0404facb17b873f3d703aed838f364bc042f2848b8cca300f1126f4d6979fed34235efa40e44d5d8 WHIRLPOOL 12f74b6e7188a92a2c5b656720e99937ac0c3f941ff83bdde5cf1cf671c61b8dc248d45a216dd1d821c684364bda0a43b38964efc3c0cb16ce2a1674963d95ee
DIST webkitgtk-2.6.5.tar.xz 10000124 SHA256 b1658017cea7cc545b9e01f22af585986e21e4242825e215bc5f8e0c0dc67593 SHA512 b8097e16ccfe10c75e43d81a965a14bde19dcefa6f1ac6ef52c075afeb4c603289c3e7cad05b02af053728df16b5681aafa248e5974319849a0967364bca1f19 WHIRLPOOL 60b0cfccefef0f90ba66f3e89819239574f06e42d2508055843addcf20292747d82d258332bb95ae2730a3c11a2acd74ca595f3f2a3cd54230013e4320a6b6d8
+DIST webkitgtk-2.6.6.tar.xz 10000888 SHA256 541e114a203b0f649e89b3ad6b6fdeea1726739320a6b6a52b464cb66ea38eb9 SHA512 faac38cbd64daf180f2e2f9e7df9e1162ccd0b4f5c76b0133ef6d2b95b413b699923fda3a5026ba3c76562de59e4913c45a97cd654797867490633dd3099f5b4 WHIRLPOOL 20be78255c917ecd930e034e38053af054a4271445eaa43319f45db6fde6b369f002f2be5269a696c53200b2bf56b74959e7970932fd62f6c89e3ea1236ce72b
EBUILD webkit-gtk-2.4.8-r200.ebuild 10123 SHA256 e5987b45d3dd92b069e9693690c9a5408875870852307e17b138dd13d8c5888d SHA512 dbce25c2db3c22006f3d8cc964857f46851790bf38c93fa2b86a5ca1814c2f4440099b811bba89145f59b1f9e8efe1b52bc53ba5d279ab21048206c14991791d WHIRLPOOL 90f8d5b7073e530ef5a37e77076a0a88c36553774f8c84a6a75b68dc9e0bc3fe6db7cf606f0e0c6f17ea7f229c232b7caf585a9dc713ccb1bb0bc6744d39117c
EBUILD webkit-gtk-2.4.8.ebuild 10580 SHA256 f674e94df9333a9decf3f3ecbc5e871d00bb97fd8688ced9061cc9fcf39108fe SHA512 cb02a31079c776ceb9a82ee35f4c69d5313f77ddc7179e281ef1c38b5008c118caf782a491d3ed92f4c037bc9f6a6fd79eaaa49368d7b242a6cb8dff80ae66c6 WHIRLPOOL 297f3dd59a1db2ae3fb01955ec9fcf59f7eb6a59bfefe04f8ab1d5a2ae4d12aa681e196053b96d9cda0e2cc6484e24eb50a143a0ab4a111bb08047f7866b9cc7
EBUILD webkit-gtk-2.6.4.ebuild 6657 SHA256 8c5b33458648d660ba259929586fa4d3085f592b41a4575d0ec494f54a7dbf0f SHA512 10fd8057454623f7447c792baaedab8aef96a6883b26022820bdb0704003a1dab13d52a351109c2a6c46b23a52859fb7f415c50545905ec59686a769ce1c4776 WHIRLPOOL 42e0b38e15dabebc63b6fee2cd950f7fcbc2c1ae04dab72108fa93b3a01d56453731c119c6cec2c4ed9d58c8a48220fba37b11c35fa976be9b666055532c67b5
EBUILD webkit-gtk-2.6.5.ebuild 6588 SHA256 bba61069c92720242a6861ae93e04d3003f4c0021b7cbeb6639a6b5bbffabc65 SHA512 acd4da445efcd875599b54098f9354065df58ee4f8fe175adcb4d00d0bfb0ab1ae29d885b6c263d145b91e7312742172cfb31df59092ff116a20d90be87f604c WHIRLPOOL 832464171ac03f92a021a8bd9570db43d76cfd9a3e137e4d2f47a570638d4491282d1f744f6733491742494a4ee455c01d7c6455e964791b151af4d0499c80d8
-MISC ChangeLog 65662 SHA256 338ee5bcbda5912931408dfffc1372e908c5bb13a1f2ff427d95cb0cc27a1842 SHA512 3d93bd2f02ef0cf593f7c207ada170d8835a5bcf232b51aa9264bf20ec3b62b75ae8309e952ff41a271758d01e4f3f5add1e44fba17af00c85dfd8832e0df037 WHIRLPOOL 0e70687604b8de789fa1ea1fd72185a8f0ba3db51003e3ec78f6e695361f489d5706d70bd206381e84c731e9f330e0d1e8434674c9dade3f40afcce92f9014c7
+EBUILD webkit-gtk-2.6.6.ebuild 6916 SHA256 8fcdf8aa0eb9ccf7cec85efd9f4dac910669867753028a2a1f6c4a21a855a998 SHA512 5aecb638426097e1d2162fa1de0d3dd8dc2c411c68313c64949df2e9fa14104b96d0494a860b16e6f23f07aa62d34b9232e740b357d6cb6f3f0144a9370d2201 WHIRLPOOL e9ab2b1cd96d8ca17185911251b8d04005e68ec404edc00d679b2b271d8405e89ce01fca06eb6539aa4f964f85acab8825f4235f4f01f23ce9b619833ccf756e
+MISC ChangeLog 65993 SHA256 ed3f9eb963786085a0c882cf3b7337ae0157f0a4b5bb0cc6361657b1d28bace4 SHA512 9f4933ad92f2da00327f5ad24b59367f79783d89b06f3fd4f6c3e55a83752ef97dbf6a9d63bb71949d6bbc32e0f5c3d44f7065ba51cd2a72655db93d44154da4 WHIRLPOOL 22952550487f4c6fabeacc6452df83688334bbee78c634ebb17db6e59e744ad01b21a03b9db829299c524331ec77df4b354f9a9c65759983f5d03ef4ce08485b
MISC metadata.xml 610 SHA256 23faf3368df312d51e2dd38d6e7695410deab694bc12558cbe9751067575df11 SHA512 ac78b2e8a719247f5294c045ead7731cd42fb7200ea5a6a450ac18abd3a79fc888045e2c7f98bf984dd2a9484fc352ebc06e6b1c7a0bdd75a65a825e71c09188 WHIRLPOOL f2c88de8a7889cd3cdbb66f498067f85a5e6ce0c7b3732299ad9373e39ac332abe5d3da93f8fbe1e5f63b44306f9def006a3e34349eaca12ee9fb3b7a7368ea1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQJ8BAEBCABmBQJVJW3TXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
-ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
-MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOrz4P+wX2Pxld5KHGG/pqWPsqzyaD
-+wUZEugT4htkWJIgWKmTBbu7rWcQUX3yKNV10cSSO+xsYnaJN8WlD6BUvLCkPrb/
-q74bNF4qFPThbvhrwD6kYpyRElVGkOssB8qIaQxunvarVjEvSyZvXWw1sBNf4t9B
-XFFmDmVh8se0hbfJ66UTeqaxVA+wuwLY5hZhgXlRNp2zNEy/YPumT4AUb0s11v2u
-fMT9H0vMSEjCko/T39PXZG4LfUiSPqVTklnWY+Wf/H5PzMO5Wv6uL0lmpha4JJ7I
-nWepw/RNaaQJQBJPwTZ8b82TqJ5V+EmqLeGR7zXKT3+6piWNOMQ/NJnDWEIjcePG
-uV5ZluMnq4bYYkK8saquWzLySPeCQ+cJwyxxM7GQZ69MSeYzePSTDZua8iCh0jm8
-MdWkZaQ27RiCtxRIZmLU5zBQRuK/sxs+nhL8/TaokQJBeMcgm+NKLeQ27IBbXbHl
-kKyNo4cIr462rkITWIh1yvXKrUcQgYvNZ3iraIyrrMUthRtFa7fvSJPELbY1p7L6
-mPh4VhZcUNW8fzDU8yUaBijNgnoapA5oG2/SOCEJomYyLfy2VrX3cs+6vjiqLNsp
-zCidjAYMfO94vlGbneBUkbdRJC/V/s2faL1taN7QhdHsT2CNlI64o2dSCNDR0Ybl
-ErN4kGlOv6p3b9CVuppP
-=JDlZ
+iEYEAREIAAYFAlVE+M0ACgkQ1fmVwcYIWAahvgCeP42/Eay/TmS6kVEfc7KdV1KY
+IawAoINJqXV/FvUNPO/xAcBYQFq3i+Tr
+=qh5t
-----END PGP SIGNATURE-----
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.6.6.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.6.6.ebuild
new file mode 100644
index 000000000000..32ff62ee41aa
--- /dev/null
+++ b/net-libs/webkit-gtk/webkit-gtk-2.6.6.ebuild
@@ -0,0 +1,230 @@
+# Copyright 1999-2015 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.6.6.ebuild,v 1.1 2015/05/02 16:18:20 eva Exp $
+
+EAPI="5"
+GCONF_DEBUG="no"
+PYTHON_COMPAT=( python2_7 )
+
+inherit check-reqs cmake-utils 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="4/37" # soname version of libwebkit2gtk-4.0
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
+
+IUSE="coverage doc +egl +geoloc +gstreamer +introspection +jit libsecret +opengl spell +webgl"
+# gles2 wayland X
+# bugs 372493, 416331
+REQUIRED_USE="
+ geoloc? ( introspection )
+ introspection? ( gstreamer )
+ webgl? ( opengl )
+"
+# gles2? ( egl )
+# webgl? ( ^^ ( gles2 opengl ) )
+# !webgl? ( ?? ( gles2 opengl ) )
+# || ( wayland X )
+
+# use sqlite, svg by default
+# Aqua support in gtk3 is untested
+# gtk2 is needed for plugin process support, should we add a USE flag to configure this?
+# gtk3-3.10 required for wayland
+RDEPEND="
+ >=dev-libs/glib-2.36.0:2
+ >=dev-libs/libxml2-2.8:2
+ >=dev-libs/libxslt-1.1.7
+ virtual/jpeg:0=
+ >=media-libs/harfbuzz-0.9.18:=[icu(+)]
+ >=media-libs/libpng-1.4:0=
+ media-libs/libwebp:=
+ >=dev-libs/icu-3.8.1-r1:=
+ >=media-libs/fontconfig-2.8:1.0
+ >=media-libs/freetype-2.4.2:2
+ >=net-libs/libsoup-2.42:2.4[introspection?]
+ >=x11-libs/cairo-1.10.2:=[X]
+ >=x11-libs/gtk+-3.6.0:3[X,introspection?]
+ dev-db/sqlite:3=
+ >=x11-libs/pango-1.30.0.0
+ x11-libs/libXrender
+ x11-libs/libXt
+ x11-libs/libX11
+
+ >=x11-libs/gtk+-2.24.10:2
+
+ egl? ( media-libs/mesa[egl] )
+ geoloc? ( >=app-misc/geoclue-2.1.5:2.0 )
+ 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 )
+"
+# gles2? ( media-libs/mesa[gles2] )
+# wayland? ( >=x11-libs/gtk+-3.12:3[wayland] )
+
+# paxctl needed for bug #407085
+# Need real bison, not yacc
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ >=dev-lang/perl-5.10
+ || (
+ virtual/rubygems[ruby_targets_ruby20]
+ virtual/rubygems[ruby_targets_ruby21]
+ virtual/rubygems[ruby_targets_ruby22]
+ 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-3.0.1
+ >=sys-devel/bison-2.4.3
+ >=sys-devel/flex-2.5.34
+ || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )
+ sys-devel/gettext
+ virtual/pkgconfig
+
+ doc? ( >=dev-util/gtk-doc-1.10 )
+ geoloc? ( dev-util/gdbus-codegen )
+ 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() {
+ if [[ ${MERGE_TYPE} != "binary" ]] ; then
+ check-reqs_pkg_setup
+ fi
+
+ [[ ${MERGE_TYPE} = "binary" ]] || python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ # Debian patches to fix support for some arches
+ # https://bugs.webkit.org/show_bug.cgi?id=129540
+ epatch "${FILESDIR}"/${PN}-2.6.0-{hppa,ia64}-platform.patch
+ # https://bugs.webkit.org/show_bug.cgi?id=129542
+ epatch "${FILESDIR}"/${PN}-2.6.0-ia64-malloc.patch
+
+ 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
+ # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761
+ 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
+
+ # older glibc needs this for INTPTR_MAX, bug #533976
+ if has_version "<sys-libs/glibc-2.18" ; then
+ append-cppflags "-D__STDC_LIMIT_MACROS"
+ fi
+
+ local ruby_interpreter=""
+
+ if has_version "virtual/rubygems[ruby_targets_ruby22]"; then
+ ruby_interpreter="RUBY=$(type -P ruby22)"
+ elif has_version "virtual/rubygems[ruby_targets_ruby21]"; then
+ ruby_interpreter="RUBY=$(type -P ruby21)"
+ elif has_version "virtual/rubygems[ruby_targets_ruby20]"; then
+ ruby_interpreter="RUBY=$(type -P ruby20)"
+ else
+ ruby_interpreter="RUBY=$(type -P ruby19)"
+ fi
+
+ # TODO: Check Web Audio support
+ # should somehow let user select between them?
+ #
+ # FTL_JIT requires llvm + libcxxabi
+ # $(cmake-utils_use_enable wayland WAYLAND_TARGET)
+ # $(cmake-utils_use_enable X X11_TARGET)
+ # $(cmake-utils_use_find_package gles2 OpenGLES2)
+ local mycmakeargs=(
+ $(cmake-utils_use_enable test API_TESTS)
+ $(cmake-utils_use_enable doc GTKDOC)
+ $(cmake-utils_use_enable geoloc GEOLOCATION)
+ $(cmake-utils_use_enable gstreamer VIDEO)
+ $(cmake-utils_use_enable gstreamer WEB_AUDIO)
+ $(cmake-utils_use_enable introspection)
+ $(cmake-utils_use_enable jit)
+ $(cmake-utils_use_enable libsecret CREDENTIAL_STORAGE)
+ $(cmake-utils_use_enable spell SPELLCHECK SPELLCHECK)
+ $(cmake-utils_use_enable webgl WEBGL)
+ $(cmake-utils_use_find_package egl EGL)
+ $(cmake-utils_use_find_package opengl OpenGL)
+ -DCMAKE_BUILD_TYPE=Release
+ -DENABLE_X11_TARGET=ON
+ -DPORT=GTK
+ -DENABLE_PLUGIN_PROCESS_GTK2=ON
+ ${ruby_interpreter}
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_test() {
+ # Prevents test failures on PaX systems
+ use jit && pax-mark m $(list-paxables Programs/*[Tt]ests/*) # Programs/unittests/.libs/test*
+
+ cmake-utils_src_test
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ # Prevents crashes on PaX systems, bug #522808
+ use jit && pax-mark m "${ED}usr/bin/jsc" "${ED}usr/libexec/webkit2gtk-4.0/WebKitWebProcess"
+ pax-mark m "${ED}usr/libexec/webkit2gtk-4.0/WebKitPluginProcess"{,2}
+}