diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-25 21:54:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-25 21:54:27 +0100 |
commit | c22e93ab35a8cb604c41623a7b2cda059c462b70 (patch) | |
tree | cf572f544af748369df154f1d61d4718e1ee780b /net-libs | |
parent | b8c48743664466ac0f638f0949fd78bfb9f5eae6 (diff) |
gentoo auto-resync : 25:10:2022 - 21:54:27
Diffstat (limited to 'net-libs')
23 files changed, 932 insertions, 92 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz Binary files differindex af38944d6242..73b087503efe 100644 --- a/net-libs/Manifest.gz +++ b/net-libs/Manifest.gz diff --git a/net-libs/kdsoap/Manifest b/net-libs/kdsoap/Manifest index b0b573b1cff7..597ace88f059 100644 --- a/net-libs/kdsoap/Manifest +++ b/net-libs/kdsoap/Manifest @@ -1,5 +1,3 @@ -DIST kdsoap-2.0.0.tar.gz 2916527 BLAKE2B 7b9cf71b181b88180fb00cb2f0c2b84b5fd7d997531aa68957a84811959befd9c8909c8892d3b60d47a654916fa5b8841fa7b389a006a8ca6a2cdce98a433cfb SHA512 50305866595048e0ec6cd6dabba9e63a948f1e1263e7f03e9e3bc56f09a843bade944df95b5ff57d4fc3a62896e72f02b0d7b3d5cc2be2823da67001ca459428 DIST kdsoap-2.1.1.tar.gz 948277 BLAKE2B 6daec26426bb6becc78400877ad221b929f0c30e45755644258eca864617d20b9d1269d8a964d38d40e9f5eb93ae213a95e05deb0a34dd3817261096178815a2 SHA512 12224f664dcae7ceb7395a7c3de48a208ae81c10f6fba4d0db233613472c6b9cdbea6375297c27b58fe7338d7db27a4447844f4e8f40a24ec1b4dd3fa38d20bb -EBUILD kdsoap-2.0.0.ebuild 965 BLAKE2B 711da17f4859234a1f552d62b8bab9f37f9701d53ecdd1454789ee985b7578d63a93493b809e6aabd250d326a9ec4d91512f3016add0067263767481dfbb53eb SHA512 9c6e12a4c38b12b4b21ab1fa8e11111b04db322296782100904d2d0352cae847d732b761a1afeb8edca7b9fdd3d520f215a055e48be0c3328742dcf2fbe6eb53 -EBUILD kdsoap-2.1.1.ebuild 968 BLAKE2B 8e4f2eb74d0e62c96ddc728ee735e21597ce58690798581cca2784000bee5f714ba2b8c5cf6d35792dd3f8362466608cd8f022ea63bfc47aea928784741dbba6 SHA512 ae9f7f40ab5794d00bd98e6fbc3f9626d6740f78e0f386e6d2cdce1b4c5724c6b043d117a3dba5ae870e5839fc66a00ae79e530f507bc7114e477e35edb70238 +EBUILD kdsoap-2.1.1.ebuild 965 BLAKE2B d309d9903520b7f201b8e0f7fbb3bb65e3dedec83e01a82ebaeeefa2867e9973d13b431436c500f3aec81e81cc0ca7471c35e6172e2949e334faa568c5c4144f SHA512 3cfeac797ccfa36f4aba02412708efae8a957c8ddfd89ca4f64d8a388a310789be78a68d46b3c3e15569e5c9a5a4fd30f4ed33120e721a899aa011ec3f9700a9 MISC metadata.xml 250 BLAKE2B f3e9395137ebb9adf46cd35c1b6156f82c04cfa94f964f6da24fe71eb560cf51b4f70ebfa10daaa4884400ec22782d819ab794dfd29e7a47559f07208397195d SHA512 78c4ff15eed76ba883b457be95dabd41e928a0e64a42b758b5eab4d8a95afca27d5ea6a7cfe0948de578b169153a05f08aadfce1ddd41a88732212a1e76e565f diff --git a/net-libs/kdsoap/kdsoap-2.0.0.ebuild b/net-libs/kdsoap/kdsoap-2.0.0.ebuild deleted file mode 100644 index 951fd52d0a65..000000000000 --- a/net-libs/kdsoap/kdsoap-2.0.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -if [[ ${PV} != *9999* ]]; then - SRC_URI="https://github.com/KDAB/KDSoap/releases/download/${P}/${P}.tar.gz" - KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" -else - EGIT_REPO_URI="https://github.com/KDAB/KDSoap.git" - EGIT_SUBMODULES=( kdwsdl2cpp/libkode -autogen ) - inherit git-r3 -fi -inherit cmake - -DESCRIPTION="Qt-based client-side and server-side SOAP component" -HOMEPAGE="https://www.kdab.com/development-resources/qt-tools/kd-soap/" - -LICENSE="GPL-3 AGPL-3" -SLOT="0/2" -IUSE="" - -RDEPEND=" - dev-qt/qtcore:5 - dev-qt/qtnetwork:5 - dev-qt/qtxml:5 -" -DEPEND="${RDEPEND} - dev-libs/boost -" - -src_prepare() { - cmake_src_prepare - sed -e "/install.*INSTALL_DOC_DIR/d" -i CMakeLists.txt || die -} - -src_configure() { - local mycmakeargs=( - -DKDSoap_DOCS=OFF - -DKDSoap_EXAMPLES=OFF # no install targets - -DKDSoap_STATIC=OFF - -DKDSoap_QT6=OFF - ) - cmake_src_configure -} diff --git a/net-libs/kdsoap/kdsoap-2.1.1.ebuild b/net-libs/kdsoap/kdsoap-2.1.1.ebuild index c988db03bf07..fb3783a1ed39 100644 --- a/net-libs/kdsoap/kdsoap-2.1.1.ebuild +++ b/net-libs/kdsoap/kdsoap-2.1.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 if [[ ${PV} != *9999* ]]; then SRC_URI="https://github.com/KDAB/KDSoap/releases/download/${P}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" else EGIT_REPO_URI="https://github.com/KDAB/KDSoap.git" EGIT_SUBMODULES=( kdwsdl2cpp/libkode -autogen ) diff --git a/net-libs/libaccounts-glib/Manifest b/net-libs/libaccounts-glib/Manifest index f65e29d28a8c..a31e39c56d7f 100644 --- a/net-libs/libaccounts-glib/Manifest +++ b/net-libs/libaccounts-glib/Manifest @@ -1,7 +1,7 @@ AUX libaccounts-glib-1.25-assert-failure.patch 743 BLAKE2B 5f0ebe2754f4d0b03bfabfb83e3c7fbb3f54f117a1548275e8f974d43c92aeaadbae6c22d909127aa4a8c47e806a26f19e6ae598f30c5f34e3e2b48b3a7ff8be SHA512 4a483a915fc72efa42c10947cc399f30f2825a8f2bd59d88afec5da9cb29346572ba80c316ca4de4b21132e8ad34e031cdd735cb3ed0767d51780a15ac086fd7 +AUX libaccounts-glib-1.26-fix-incorrect-cleanup-in-ag_account_finalize.patch 1150 BLAKE2B c41449bddae028fb6a444a2d49884c7c53170494ed4fd699b589990a462f67112dc1f3c4359d26b39613456f6e9b5650db97fea39a90e87c007074c791d53b74 SHA512 76f99833910ce5095a3ccb09404ce371e95e40dc4e712a4cc3bdc0046c5a32693ff093956c73dcab9636f35fc83db8c361126ad1623c927cd525f94ffcaf941f AUX libaccounts-glib-1.26-project-version.patch 350 BLAKE2B 6a2115cd408e425e94b637e029f22ab9ada2739bcf29b7e20e80dfc89e571666f5ad909f5f89e7476d4456c9b2e4ad67287df1aacff86ffe8817a66360717871 SHA512 7755e629309017f69c4c9daf71b3df578739970c06d0193009d0bddaa659b5cbe3531b75d95e36cfbe957134aa9eee3707e8d6f9a5a23676f538c49fedfce429 -DIST libaccounts-glib-1.25.tar.gz 117337 BLAKE2B 72e6e15b63eea4d5b2a3e994779a4636bee859c6d395c8c9f65120cfee1c25a5708971b438010f668eefee20735b01e9f9f4e1ac4cb55495a06143d20198e422 SHA512 cc8b493d246f99300ee614fed93258378ecdbe9c518a958a59827ee8f74559b1ee3683acfb85f59aa91390275497fb35041da2be47f27f24f96e1efd5d6d2e20 DIST libaccounts-glib-1.26.tar.gz 117365 BLAKE2B a3c7bf4058372001079c9c153b30f947882521f1f9680a63db2883307e998335a1e646112dc8a51640824f238d871d96da2c18b4ef175c837cebfe056ded2cbb SHA512 c08a11087745ba771e539b61de57693390960ad6b4e8217c159be49d31bd7f8856fffa835e7a230f352049bbf7cec9184ff225e74bbc195964221d3d9d49743b -EBUILD libaccounts-glib-1.25-r2.ebuild 1377 BLAKE2B 6f92032e8467af5353c292bab1f033c5330f3596d2796027383ee2cd8fb14ae4438b62a15983f6d507948b5ef4a745ee32fa6112d40481a1329f9d14a57d46f5 SHA512 56636736f9e04190e2ffd57f2f442ca4ee1b12c3b6c9e39b5e4af44bc609344aafbc10ce6b7b724520d12050a0ec8275bbae37086c3ac3e83e9e7ec921aca9ab +EBUILD libaccounts-glib-1.26-r1.ebuild 1490 BLAKE2B b9e7428445952157636322c0f3214aff2ef78157ee90c74dc414079a7cb49cf912fff5e0a8e2afb960f6f349b20e095ca6b6f36f36aca71ec11323b6787eab04 SHA512 5ed067e7b17fdc82cf8fdf3340773efac6af033c8111eff589a46729cccd6f2414d2e6249311bbd3efcc55c41cbd1ab801d862b07133da5acd85db8099981a1a EBUILD libaccounts-glib-1.26.ebuild 1418 BLAKE2B 7dc205283363854d36b6ff957b13ee4b2033ae210c257a790afdbde4aab5ec814b24f0333d1d8eaa860e3bd90b81fb5c5bd3a489a70908385984cae68772f3e6 SHA512 613812328f776618447e26cbf9ee7b97238209a7fcfb267cfe7829913a26cb7d22ee086cbf42d28dc8928bab550ac89c85f2008544d59f10254d2ed816441309 MISC metadata.xml 250 BLAKE2B f3e9395137ebb9adf46cd35c1b6156f82c04cfa94f964f6da24fe71eb560cf51b4f70ebfa10daaa4884400ec22782d819ab794dfd29e7a47559f07208397195d SHA512 78c4ff15eed76ba883b457be95dabd41e928a0e64a42b758b5eab4d8a95afca27d5ea6a7cfe0948de578b169153a05f08aadfce1ddd41a88732212a1e76e565f diff --git a/net-libs/libaccounts-glib/files/libaccounts-glib-1.26-fix-incorrect-cleanup-in-ag_account_finalize.patch b/net-libs/libaccounts-glib/files/libaccounts-glib-1.26-fix-incorrect-cleanup-in-ag_account_finalize.patch new file mode 100644 index 000000000000..0a6f1120882a --- /dev/null +++ b/net-libs/libaccounts-glib/files/libaccounts-glib-1.26-fix-incorrect-cleanup-in-ag_account_finalize.patch @@ -0,0 +1,30 @@ +From 270a66d5efe1453a2be4bad10894b947fdd2923e Mon Sep 17 00:00:00 2001 +From: Alberto Mardegan <mardy@users.sourceforge.net> +Date: Tue, 4 Oct 2022 20:58:27 +0300 +Subject: [PATCH] ag-account: fix incorrect cleanup in ag_account_finalize + +The wrong variable was passed to _ag_account_changes_free(); as a matter +of facts, this code was always a NOP, since prig->services had already +been nullified before, but it was a memory leak. + +Fixes: https://gitlab.com/accounts-sso/libaccounts-glib/-/issues/13 +--- + libaccounts-glib/ag-account.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libaccounts-glib/ag-account.c b/libaccounts-glib/ag-account.c +index 8d6995b..7e67ba7 100644 +--- a/libaccounts-glib/ag-account.c ++++ b/libaccounts-glib/ag-account.c +@@ -994,7 +994,7 @@ ag_account_finalize (GObject *object) + if (priv->changes) + { + DEBUG_INFO ("Finalizing account with uncommitted changes!"); +- g_clear_pointer (&priv->services, _ag_account_changes_free); ++ g_clear_pointer (&priv->changes, _ag_account_changes_free); + } + + G_OBJECT_CLASS (ag_account_parent_class)->finalize (object); +-- +GitLab + diff --git a/net-libs/libaccounts-glib/libaccounts-glib-1.25-r2.ebuild b/net-libs/libaccounts-glib/libaccounts-glib-1.26-r1.ebuild index 5d6c6cb80b40..8ba1dce7b289 100644 --- a/net-libs/libaccounts-glib/libaccounts-glib-1.25-r2.ebuild +++ b/net-libs/libaccounts-glib/libaccounts-glib-1.26-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit meson python-r1 vala DESCRIPTION="Accounts SSO (Single Sign-On) management library for GLib applications" @@ -13,7 +13,7 @@ S="${WORKDIR}/${PN}-VERSION_${PV}" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86" +KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86" IUSE="doc" REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -30,17 +30,21 @@ RDEPEND="${PYTHON_DEPS} DEPEND="${RDEPEND}" BDEPEND=" $(vala_depend) + dev-libs/check dev-util/gdbus-codegen dev-util/glib-utils - dev-libs/check doc? ( dev-util/gtk-doc ) " -PATCHES=( "${FILESDIR}/${P}-assert-failure.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-1.25-assert-failure.patch" + "${FILESDIR}/${P}-project-version.patch" + "${FILESDIR}/${P}-fix-incorrect-cleanup-in-ag_account_finalize.patch" +) src_prepare() { default - vala_src_prepare --ignore-use + vala_setup --ignore-use use doc || sed -e "/^subdir('docs')$/d" -i meson.build || die } diff --git a/net-libs/libsignon-glib/Manifest b/net-libs/libsignon-glib/Manifest index e97e5c082670..817f3f73b85d 100644 --- a/net-libs/libsignon-glib/Manifest +++ b/net-libs/libsignon-glib/Manifest @@ -1,3 +1,5 @@ +AUX libsignon-glib-2.1-docs-optional.patch 693 BLAKE2B 7a03207ee21e674b89e5b6203d000b4657e49283ff4ba28515b7a814092aafa8b6ce373a932d7ba8ce8f11b37ec4923cbe223265eb96093a06a4fc699364f8f6 SHA512 280d54782c2390456caabb6a7a590349d0b4ff29d0490fda6c9b8d140b229548f6a4d4bd3553f16c5bf57055f3bc61996161cce99963d317dc21f82efe6eeeb3 +AUX libsignon-glib-2.1-meson-0.61.patch 1027 BLAKE2B 83f70af857671b42287b556931fa8edc7a2253842868e704b7a0b56e1d538d60e3f81909455a0912256102e80eeac2a72f44c535bef0709953e1bced14187354 SHA512 13ef68824ab388ac20873bfbef61182ee71e5793f9ac19c53bd2c7bf539aec78998786134b2552e99d6c8b6eb546a14dc08836cea797626f01ec97084b66251e DIST libsignon-glib-2.1.tar.gz 52440 BLAKE2B edc27f5f09c3f6d05f32ff6b560934dc003072940b44932fd90021511510fb56beaec7f25dd051b3c1d12d10942f292cc906a9fc4b74bb7f2daf8b885f15e644 SHA512 45d8e26263a16b98517cda0fff8e46fb1ffcc4bb833a6364454f120eb9819b48ee04bdb338bf5e9f0b0fe344af5940f35ed56f0765ca3605dead5b3755657dcf -EBUILD libsignon-glib-2.1-r1.ebuild 1996 BLAKE2B 7e4918b0af07a95c45afd7c9f0cb91dd778f226268c9a96bf206d1d45ea998d3af8805a463eaf8bb7f28abd57c71f623ce0ba70079e9155f1a49945b62944f4a SHA512 ea640bb3aa3378052cc5c57e2acc2ea35212da62adf1bf523a36aa5d547325c3244e86f033a8c1df48d3c3d33f7d8be4a57de34a1044e253398d75a0a0867196 +EBUILD libsignon-glib-2.1-r2.ebuild 2055 BLAKE2B 4957dadab3b568e9082bffb22a828f29cf9c823c5e85ef6f47bda6db418e76bd74ccf956220bf45915e47c9812b72150c921a797323cb786eadb605e0f0a9bbd SHA512 e2e10000fa9bfe2874714e94ee09dfe373b02d950e2c37677d14799d1662a34ef23af55a699197d85568f95a4f84d509d79c8887e43a3f06a4bf729e67f0d11e MISC metadata.xml 250 BLAKE2B f3e9395137ebb9adf46cd35c1b6156f82c04cfa94f964f6da24fe71eb560cf51b4f70ebfa10daaa4884400ec22782d819ab794dfd29e7a47559f07208397195d SHA512 78c4ff15eed76ba883b457be95dabd41e928a0e64a42b758b5eab4d8a95afca27d5ea6a7cfe0948de578b169153a05f08aadfce1ddd41a88732212a1e76e565f diff --git a/net-libs/libsignon-glib/files/libsignon-glib-2.1-docs-optional.patch b/net-libs/libsignon-glib/files/libsignon-glib-2.1-docs-optional.patch new file mode 100644 index 000000000000..b31bd46a825e --- /dev/null +++ b/net-libs/libsignon-glib/files/libsignon-glib-2.1-docs-optional.patch @@ -0,0 +1,28 @@ +From fc1098b3a376a04020c9e733eafda9fa0ac51723 Mon Sep 17 00:00:00 2001 +From: Pino Toscano <toscano.pino@tiscali.it> +Date: Sat, 2 Jan 2021 14:19:18 +0100 +Subject: [PATCH] build: make documentation really optional + +Build of the documentation only if the meson option for it is enabled. +--- + meson.build | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 5d0de55..b10f80d 100644 +--- a/meson.build ++++ b/meson.build +@@ -23,7 +23,9 @@ endif + root_dir = include_directories ('.') + + subdir('libsignon-glib') +-subdir('docs') ++if get_option('documentation') ++ subdir('docs') ++endif + + if get_option('python') + subdir('pygobject') +-- +GitLab + diff --git a/net-libs/libsignon-glib/files/libsignon-glib-2.1-meson-0.61.patch b/net-libs/libsignon-glib/files/libsignon-glib-2.1-meson-0.61.patch new file mode 100644 index 000000000000..66254e398029 --- /dev/null +++ b/net-libs/libsignon-glib/files/libsignon-glib-2.1-meson-0.61.patch @@ -0,0 +1,31 @@ +From 4fae9155a19aca601072f361768e0bf8ed556b1e Mon Sep 17 00:00:00 2001 +From: Heiko Becker <heirecka@exherbo.org> +Date: Tue, 11 Jan 2022 22:05:11 +0100 +Subject: [PATCH] Fix build with meson >= 0.61.0 + +Otherwise it fails with "docs/reference/meson.build:21:6: ERROR: +gnome.gtkdoc keyword argument 'expand_content_files' was of type +array[File] but should have been array[str]". +--- + docs/reference/meson.build | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/docs/reference/meson.build b/docs/reference/meson.build +index 654404b..3927109 100644 +--- a/docs/reference/meson.build ++++ b/docs/reference/meson.build +@@ -47,9 +47,9 @@ gnome.gtkdoc( + 'libsignon-glib.types', + ], + content_files: doc_content_files, +- expand_content_files: files( ++ expand_content_files: [ + 'migrating-1to2.xml' +- ), ++ ], + fixxref_args: [ + '--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')), + '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')), +-- +GitLab + diff --git a/net-libs/libsignon-glib/libsignon-glib-2.1-r1.ebuild b/net-libs/libsignon-glib/libsignon-glib-2.1-r2.ebuild index 1fee6ac93428..7f697f3474bf 100644 --- a/net-libs/libsignon-glib/libsignon-glib-2.1-r1.ebuild +++ b/net-libs/libsignon-glib/libsignon-glib-2.1-r2.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit meson python-r1 vala DESCRIPTION="GLib binding for the D-Bus API provided by signond" @@ -38,6 +38,11 @@ BDEPEND="$(python_gen_any_dep) test? ( dev-libs/check ) " +PATCHES=( + "${FILESDIR}/${P}-docs-optional.patch" + "${FILESDIR}/${P}-meson-0.61.patch" +) + python_check_deps() { return 0; } pkg_setup() { @@ -46,9 +51,7 @@ pkg_setup() { src_prepare() { default - vala_src_prepare - - use doc || sed -e "/^subdir('docs')$/d" -i meson.build || die + vala_setup cp libsignon-glib/*.xml libsignon-glib/interfaces || die } @@ -57,6 +60,7 @@ src_configure() { myconfigure() { local emesonargs=( -Ddebugging=$(usex debug true false) + -Ddocumentation=$(usex doc true false) -Dintrospection=$(usex introspection true false) -Dpython=$(usex python true false) -Dtests=$(usex test true false) diff --git a/net-libs/pjproject/Manifest b/net-libs/pjproject/Manifest index f33f5bce205b..65538d8b5bfb 100644 --- a/net-libs/pjproject/Manifest +++ b/net-libs/pjproject/Manifest @@ -6,5 +6,5 @@ AUX pjproject-2.12.1-r2-bashism.patch 1658 BLAKE2B 52498d58f953ca6ca04a3fb4f013f AUX pjproject-2.12.1-r2-musl.patch 2941 BLAKE2B 58eab3d88a503e36fd1dee26593805e0ec487fc50a41fbc68e6d489895920a15f671ad7d28257d158eda9c2253826fe9e2f9c115b644028191821abdc9aa035d SHA512 26b51b7b5bdd93b40ff267bea1c213f7417acaaab233ffcedaba948c509471210b53eea03c536056afe9298753644b6108d5cf88cf49d8e16e23309967e374ec DIST pjproject-2.12.1.tar.gz 9660659 BLAKE2B d893f22d995c9570e4003f80adf15144cf39e09d5843a88e3a616a529a91164ec7b012ea66ede8d55bfe4ec0dc4eca7d230f07fc66f06dfafaea9d5ff72910fa SHA512 9087456024b8886e56660cebc45c7093b3b91cd6b08a3926fa2c0de452989ac84ceb4e27413c0311bde95f271341ee44d9681f81f83602a4e16151f1831d773b EBUILD pjproject-2.12.1-r1.ebuild 3775 BLAKE2B 9a868494def81d6a7c0bfd16ab31b606db66d79a945b08a76370fd45ca21e745f72bba6c5316ab0cc7dbfc6c060e76949fc188fbe5371171644388262fc0aa95 SHA512 ba406e659cfcf2dffd04c2bda54d37d4409561040c9349edb6ac8c990304d1e5fa59bf7c4864f2e8d04b0e2252525450c59177c3bcfbf52c44b2977e6d675146 -EBUILD pjproject-2.12.1-r2.ebuild 4020 BLAKE2B 31edf5fb08daeed7cf6aea17be6eb82b0d65d398ffeb92e1e9c8df11b4ef2f337ec3d71f5135ea6f121553866fe60ae00f7f7173c631d131db9900b6c5221cec SHA512 021cf3fa946fc62f598dacbb52a9d3f39b0644817c189809bc0ae1c6b45f52087d7d293cdfa009d67e14dd9b8389810b0075b85e2df71d42005990b404aec971 +EBUILD pjproject-2.12.1-r2.ebuild 4019 BLAKE2B a8be77f4abdfd13085bd544693a2a9a1bf5b763e755b6abf333180188f259a7a9c914c6b395941e9c042a3e0cf850e62c53092323eaf89389471c0e92a2d22dd SHA512 ecef78a8438c403f66cc9a2c178d03b345c85e206560244b2db4e6c1d1a7ed3a63ec8cc02c7f88a2ec6e19be217c6fd08c05b41fe6c304587b87c767e54da6c4 MISC metadata.xml 1459 BLAKE2B e35f9c8621ea7c1c2670d90f69c341b53b20501ece6fcb41fefdec9f328a6c2b88f2f9d2fd2a77938b802fc74c36f2e3387cad3be7c9126767f28d32b42d19ed SHA512 498a94fb2bf3692b60c644e9d3e341761b20e8a4e0215e1c14c4444a199f9abb085f3421e143e7b944bac54a4f774c0b47af76c6fae5fc2cda4da13d1781a9b0 diff --git a/net-libs/pjproject/pjproject-2.12.1-r2.ebuild b/net-libs/pjproject/pjproject-2.12.1-r2.ebuild index 846b53806406..b990527753f7 100644 --- a/net-libs/pjproject/pjproject-2.12.1-r2.ebuild +++ b/net-libs/pjproject/pjproject-2.12.1-r2.ebuild @@ -8,7 +8,7 @@ inherit autotools flag-o-matic toolchain-funcs DESCRIPTION="Open source SIP, Media, and NAT Traversal Library" HOMEPAGE="https://www.pjsip.org/" SRC_URI="https://github.com/pjsip/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" LICENSE="GPL-2" SLOT="0/${PV}" diff --git a/net-libs/telepathy-logger-qt/Manifest b/net-libs/telepathy-logger-qt/Manifest index 14be84bb14dc..caea140b8373 100644 --- a/net-libs/telepathy-logger-qt/Manifest +++ b/net-libs/telepathy-logger-qt/Manifest @@ -1,3 +1,3 @@ DIST telepathy-logger-qt-17.09.0.tar.xz 93480 BLAKE2B f516ff58b64a59ba3b51c0daf0c871fd0e03b7860fa94f2139175cccb3e5ff4f108b09db22366bdc2e4031556ab06712d1d935b8db7b1ed9b08803f047c943c3 SHA512 1524673a7dcba0d65c57e49d6e0dafd1b826b6444faaabc1dc482b29f6515374a1beb09a9bbfb115097e10fc18722ffe0187dc1bff9be06dc56a95ef32d805e3 -EBUILD telepathy-logger-qt-17.09.0.ebuild 739 BLAKE2B 5e8c856131f5203e02a9e80bc65b7375c7a80f689189406b9a74df417d2023917e3a54068ab3260afe65562164fd041f8900d8f3a644fc346bc760f3dfe0b211 SHA512 176f022809fb471c170a4d120c7cd9983419acb80157914cde84b123183ac60c3ce376a891f9b747d7721ea51ea083278ab13fe2a2888d785bbea854db78d99c +EBUILD telepathy-logger-qt-17.09.0-r1.ebuild 707 BLAKE2B 6f43a06ce922fb4b7fa324ce522c243497e8cacef76bd48fc4fe78fddf934a4382bcb37b58f4f89c6d080ec07e7b340112178bd5f76c6b3a1e40fd79eec04f1d SHA512 a002187a973cff3b2fceb53fad0aeffa18ff5059eb804943ae21103d0cb9b511141db2859608715f1cefaa87ced4c81a641e91436e52e41a31cc48abee3aafb0 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/net-libs/telepathy-logger-qt/telepathy-logger-qt-17.09.0.ebuild b/net-libs/telepathy-logger-qt/telepathy-logger-qt-17.09.0-r1.ebuild index ef9772b444ab..aee54c207b95 100644 --- a/net-libs/telepathy-logger-qt/telepathy-logger-qt-17.09.0.ebuild +++ b/net-libs/telepathy-logger-qt/telepathy-logger-qt-17.09.0-r1.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7..10} ) -QTMIN=5.12.3 +PYTHON_COMPAT=( python3_{8..11} ) inherit ecm kde.org python-any-r1 DESCRIPTION="Qt bindings for the Telepathy logger" @@ -19,15 +18,15 @@ LICENSE="LGPL-2.1" SLOT="5" IUSE="" -BDEPEND="${PYTHON_DEPS}" DEPEND=" dev-libs/dbus-glib dev-libs/glib:2 dev-libs/libxml2 - >=dev-qt/qtdbus-${QTMIN}:5 + dev-qt/qtdbus:5 net-im/telepathy-logger net-libs/telepathy-glib - net-libs/telepathy-qt[qt5(+)] + net-libs/telepathy-qt sys-apps/dbus " RDEPEND="${DEPEND}" +BDEPEND="${PYTHON_DEPS}" diff --git a/net-libs/telepathy-qt/Manifest b/net-libs/telepathy-qt/Manifest index 22f2edfb9a42..7a5ff7255386 100644 --- a/net-libs/telepathy-qt/Manifest +++ b/net-libs/telepathy-qt/Manifest @@ -1,4 +1,5 @@ +AUX telepathy-qt-0.9.8-fix-tests-finding-glib-2.patch 874 BLAKE2B a9d18d8dd7c79b0f14462dbb072f0eecbbd4351341856d52daade09e73b0c977ec5bcad0cb99c2d1113f696499ac538ed76c6ab0b1d95528852e00262fa092d8 SHA512 96e056ca2dfffdd287ae060dacff8d6645cc25df78c9ecd264aba321aa4187be8264129e72f96ac041198e6e4bf4505399db829f760dcab3c85be5adb9b976f9 DIST telepathy-qt-0.9.8.tar.gz 6448686 BLAKE2B 7554b812c35a09aabc0ff92fea43f633b5c2f87784c8e7b387545b31c1c92eb02f9e416930c635202fe0205c4e26c1fd63c3b4a668cf0ceeb602d8a777891cd9 SHA512 fad662c02417c8e4e239d438ea3549226e589442aea8418c8922a6b78ff88422a36c1cc0d2e3591240fac115390a7fbdb1b4deea98187051cc811175b60b9e8b -EBUILD telepathy-qt-0.9.8-r1.ebuild 1573 BLAKE2B 6902a26da268b730cfc4df71e95fb64eb967d48beaab175289f330011f70da740ac00429f8e87ce0d908f8e26132fc98c49f12718b4c3e360e647ae47c8b5330 SHA512 5d7c8da155b8dd4f38831e2ed8ae2c8600bce3f8b51cb57c19f5a6733257c9ff7e4d2dfc43af3bc49a545ba16c89b6d0cbba889e3c867c623941f1f4eec0af23 -EBUILD telepathy-qt-9999.ebuild 1702 BLAKE2B c06acb0e6b487ab578d3fe56b3a3cf30a5bbd336e89744c3a067a4568e4306124f4102ac721a6a365d6514fec954d6f6032f7895a58487c2d3fcdd8d4d984d2e SHA512 8f7cb36796235a46cab3df2071cd1e4118a0ae212e99508350b279d72d786e8517042847ddc35aae513ab254acd790cbe8b1a462e63a15c2de9dd2ae50f9ee52 +EBUILD telepathy-qt-0.9.8-r2.ebuild 1634 BLAKE2B 05c9cc0ddfe10ac0488f21d007874bcc5142a7b15f702aba8bb13523f69cf5682ed6e3136402af4a5aae03710630c510393cea8578844db82b4a61f520c623da SHA512 582048df8842aaa377cecd544f9ae29ec25d4fe5af01e4ef4a4f4a621904ff5ad00e96c87d8ec09559fd170a0d9488f0adbed12fd2720a4a89a004742e2ee15f +EBUILD telepathy-qt-9999.ebuild 1735 BLAKE2B f87958375eabd19d1d3739803e5bee2139e472e89d375faa4a72c571edccded428c9da173d32995c1cbe2542ffaf417b6cacdbcb5b102e305ae02a10de03ba41 SHA512 07f1ee350d005a99810859fdfacc79cf3a9977199bddf0c6195b4a2613e83e7ab63ff760b2bb09f69720b38111ce5f190081537befcfff9f5b82524ecde75916 MISC metadata.xml 722 BLAKE2B d17eb48d784f9128e24be8dbc68237870291a2b758b0d3009b6aaf0fec4396421f10a332ffac927b4e83dbb3a95bfa9376fe1831d633a38dc3cf1ee8e7f44733 SHA512 ec1dff533720d3f77cfc194332740fb200db1e2d024d2ea64ef13e831911f7ca700b7588bf263be2a24e3b606c2dfa580220b9feda064c2551ebd81a33c9ae5c diff --git a/net-libs/telepathy-qt/files/telepathy-qt-0.9.8-fix-tests-finding-glib-2.patch b/net-libs/telepathy-qt/files/telepathy-qt-0.9.8-fix-tests-finding-glib-2.patch new file mode 100644 index 000000000000..0ac61c48a87a --- /dev/null +++ b/net-libs/telepathy-qt/files/telepathy-qt-0.9.8-fix-tests-finding-glib-2.patch @@ -0,0 +1,23 @@ +From 188dece432d090809c5ad88a91cd573c5af61c09 Mon Sep 17 00:00:00 2001 +From: Albert Astals Cid <aacid@kde.org> +Date: Mon, 6 Jun 2022 09:44:53 +0200 +Subject: [PATCH] Fix build with newer glib + +gunixconnection.h is now at /usr/include/glib-2.0/gio/gunixconnection.h +--- + cmake/modules/FindGIOUnix.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cmake/modules/FindGIOUnix.cmake b/cmake/modules/FindGIOUnix.cmake +index 263c093e..7f5513b3 100644 +--- a/cmake/modules/FindGIOUnix.cmake ++++ b/cmake/modules/FindGIOUnix.cmake +@@ -21,7 +21,7 @@ pkg_check_modules(PC_LibGIOUnix gio-unix-2.0) + find_path(GIOUNIX_MAIN_INCLUDE_DIR + NAMES gio/gunixconnection.h + HINTS ${PC_LibGIOUnix_INCLUDEDIR} +- PATH_SUFFIXES gio-unix-2.0) ++ PATH_SUFFIXES gio-unix-2.0 glib-2.0) + + set(GIOUNIX_INCLUDE_DIR "${GIOUNIX_MAIN_INCLUDE_DIR}") + diff --git a/net-libs/telepathy-qt/telepathy-qt-0.9.8-r1.ebuild b/net-libs/telepathy-qt/telepathy-qt-0.9.8-r2.ebuild index af50e027063c..89e203b7332d 100644 --- a/net-libs/telepathy-qt/telepathy-qt-0.9.8-r1.ebuild +++ b/net-libs/telepathy-qt/telepathy-qt-0.9.8-r2.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{8,9,10} ) +PYTHON_COMPAT=( python3_{8..11} ) PYTHON_REQ_USE="xml(+)" inherit python-any-r1 cmake virtualx @@ -17,7 +17,6 @@ KEYWORDS="amd64 ~arm arm64 ~riscv x86" IUSE="debug farstream test" REQUIRED_USE="test? ( farstream )" - RESTRICT="!test? ( test )" RDEPEND=" @@ -47,6 +46,8 @@ BDEPEND="${PYTHON_DEPS} ) " +PATCHES=( "${FILESDIR}/${P}-fix-tests-finding-glib-2.patch" ) + python_check_deps() { use test || return 0 python_has_version "dev-python/dbus-python[${PYTHON_USEDEP}]" diff --git a/net-libs/telepathy-qt/telepathy-qt-9999.ebuild b/net-libs/telepathy-qt/telepathy-qt-9999.ebuild index 806f66f84703..e61c8d77eecc 100644 --- a/net-libs/telepathy-qt/telepathy-qt-9999.ebuild +++ b/net-libs/telepathy-qt/telepathy-qt-9999.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{8,9,10} ) +PYTHON_COMPAT=( python3_{8..11} ) PYTHON_REQ_USE="xml(+)" if [[ ${PV} == *9999* ]]; then - EGIT_REPO_URI=( "https://gitlab.freedesktop.org/telepathy/${PN}" ) + EGIT_REPO_URI=( "https://github.com/TelepathyIM/${PN}" ) inherit git-r3 else SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz" @@ -16,25 +16,15 @@ fi inherit python-any-r1 cmake virtualx DESCRIPTION="Qt bindings for the Telepathy D-Bus protocol" -HOMEPAGE="https://telepathy.freedesktop.org/" +HOMEPAGE="https://telepathy.freedesktop.org/ https://github.com/TelepathyIM/telepathy-qt/" LICENSE="LGPL-2.1" SLOT="0" IUSE="debug farstream test" REQUIRED_USE="test? ( farstream )" - RESTRICT="!test? ( test )" -BDEPEND="${PYTHON_DEPS} - virtual/pkgconfig - test? ( - dev-libs/glib:2 - $(python_gen_any_dep ' - dev-python/dbus-python[${PYTHON_USEDEP}] - ') - ) -" RDEPEND=" dev-qt/qtcore:5 dev-qt/qtdbus:5 @@ -52,6 +42,15 @@ DEPEND="${RDEPEND} dev-qt/qttest:5 ) " +BDEPEND="${PYTHON_DEPS} + virtual/pkgconfig + test? ( + dev-libs/glib:2 + $(python_gen_any_dep ' + dev-python/dbus-python[${PYTHON_USEDEP}] + ') + ) +" python_check_deps() { use test || return 0 diff --git a/net-libs/webkit-gtk/Manifest b/net-libs/webkit-gtk/Manifest index bb2819b45ab5..e4264ca77e26 100644 --- a/net-libs/webkit-gtk/Manifest +++ b/net-libs/webkit-gtk/Manifest @@ -1,9 +1,13 @@ DIST webkitgtk-2.36.7.tar.xz 26594424 BLAKE2B 1f7450e47bffa3875aa4448925a013ec90bdaa6c813aa181d14c9a5636c58140ce55d5b5288a65cfbe9e363cd9d00f62de74665182ab9f856baa4b2ffcec6dba SHA512 e27975cf55b6be4cde2b34ed03fc717e6550dc495b444c781b3af0b32f7d580451de27ed41d74c6ff734b876118f22847096131168b0c8325031be84c1972888 DIST webkitgtk-2.36.8.tar.xz 26610100 BLAKE2B d3862fdf18b6095c32af517b7bd175797375fff8a9d68f04d773375c0c3cea284c23466f25e3e53811ef622974f58211b4b11cb32a47ff08951cdd65b085b815 SHA512 50576f13ea84c0634d174ccf0b70d0eb28752589b2b9ce7a82ffeee1b4b6c849a802f7ae83a3c5a74d0da2b7e3321876ead33e819d8006b8153376074cb57036 DIST webkitgtk-2.38.0.tar.xz 32997240 BLAKE2B 6612d2192b8865af625af297c88caf02e329d51e9c166b931b8bc6061f36fb1f1f2b06407adad0aa7bf5beaafe707c1d9a64d437e2ed99ed8ff1865c09f8e0dc SHA512 8380d11eedec3c4eedf3a0f5591fd279ee42b28a38aaa13d7eb88f8a004cbe8aac7dc8f19409440e5c1272ad1555a781f1242bca6c89beed2dc5fd2de5f3d525 +DIST webkitgtk-2.38.1.tar.xz 33006384 BLAKE2B 404ff4e52331f9fe929922a23bed8ab5a70cb2a6523ae23c390415bfbd3c88797f91f95b74c9c8301f462bff708c85dc7155d6b37d2c3a66d4794ca184e1ca7c SHA512 d81e85a5a43c33a63f88964907053888bb971c8fa1fe7fc90f71461c440458a21e09730c558be2b5efe42e02eb1c3d789a2571dc6d795f9c6d95fd499683a9e2 EBUILD webkit-gtk-2.36.7.ebuild 7425 BLAKE2B 1f261d15a60f1d07895652c369cdf572cea2bdd19236abd2a2de2b31b1f8994a644d85185368a07a708c7c4e956f4547b12ae14a8befd5b1c33fd02ebfb1b9fa SHA512 459a52070c6c83950dd278c3325bc83d184314ec4e613ccf3f34fc9cd4ce7d45d854a892452e9f620da37937050c470e21614daac03189cf082cfb07f50d92a6 EBUILD webkit-gtk-2.36.8.ebuild 7431 BLAKE2B dae5715e2d558348b040967a2aec6bb48da85da9a308322c8c7c56a511a0e9a95dc5e7fc4e58ffb175d5a239da017da4a0de8fc905c7997689d87ad85a1e8e75 SHA512 7681c899912ed9e2c4d2418d8363f7f17d76c04905dc71acd1f51709fb10766b6765d4f306d22eb6f5cf00166c72151d41b6154052203edf67d58a5e47b58efc EBUILD webkit-gtk-2.38.0-r410.ebuild 7759 BLAKE2B d410fc8f19be0435fe429d70943345fb45f3f0cddf851d79498f6f3dce2cebe15e7ede05aa064f85bf07a2173875d1d85e2b1412fee7e4f0eb5af77f1fd53fc9 SHA512 779f2f9c4073cc294d7e3b907a843b3c9452c83140da0e6519eab4f69aab0b81106a6151df2ba066a21c396444b53e0cea6f984f5997374a888aaaaf4ed24b95 EBUILD webkit-gtk-2.38.0-r500.ebuild 7637 BLAKE2B 60d17bec45a04003cd20682d89534267ba7620703478411c6b42d86a5f3bcbf2a12f2971f3fce9b33677a81ff21c9654c55e37cadda64bcce168f9d2dd745d0f SHA512 fe2ba86ac2cbfefeb84093045aa5dff3b29e8c7fa70929ad744098fa4d62292267e58cb65d2400858305c5d8ff884e29c172b99a4d9d86192e7216338558d1be EBUILD webkit-gtk-2.38.0.ebuild 7485 BLAKE2B a748a1089fe164a8a827e262040ba316d856777d6607dea2f6c2a21ebcf62859bc7ff4318e044bcb58998a572bdc974e5414b1f773e8f73b27a1e1d974598a0e SHA512 753ebb1f3942dc3b574960369f985de8a6c781d505c21ace58cc29ab4be7f9bb5d1dfd29b2870c2734f04cef4f8f04e06e7cbdfcf03de15c912355485c952055 +EBUILD webkit-gtk-2.38.1-r410.ebuild 7808 BLAKE2B e7f002be09d32397ad11090bb0b2b8ef75fec74a2502cb9f426e9e4ab47f25de54914225edd53cc056e8dab32b70c74885f635bb8921582726963f83ef04f1b4 SHA512 cea61f06a256c54eeeb023da302b42a0487d41d0740ba8dc3970b14434367a0237d8db27d9db141b1b8ebdd881d5064145b7c17c61bb8f85c849e25da5f820ad +EBUILD webkit-gtk-2.38.1-r500.ebuild 7687 BLAKE2B fd64d39a1168369187cf12db3a4f37d8ccb278aa5786111216d92b656a55313c8172acfc434edf912962ac612e6126f37078eb02e45b6b6d4576abe8f7446e57 SHA512 9779819e48b1f5837ddc6e25108645fd56f48203e0327d52611a826559665f32bb7796eee8986dc2275d328e63183d12e45471c0c822f26e89e0a68681be7cfd +EBUILD webkit-gtk-2.38.1.ebuild 7534 BLAKE2B d600cc109f42ff2d6bc1f39233db47fff1b699da865f96a7143c89d62100ee9829da1a9349c734dbc92e97a225404bbe9c8cdcc5295d92c46e34db5214b6564d SHA512 56c0a953ec79956fed0cfe68042eaa66ef2fea96ac5f65c51123e0383cc283c42d00dac1c5a452e01899d91951e1e7af958a99b2ef85331fa0ebaf97d8528a51 MISC metadata.xml 645 BLAKE2B 137e8c47f28aaac930c8eff8a3d7d4802c45171a1b8326dd4e1f4a7a334eff9e88b2c71927228cf5dbb9da7fba0ca580a9b5a32ea2156d7a94532bff67166bf4 SHA512 0c350ebb211aad61f4032888ad0e347f4e7ffca1145debfee3e2c9cdc93b42e05cfb2e6f6a4fee05b739b5550b0f28ed6fb6c311ac2d5fc6cd201c9ac26e61d1 diff --git a/net-libs/webkit-gtk/webkit-gtk-2.38.1-r410.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.38.1-r410.ebuild new file mode 100644 index 000000000000..0992b464692b --- /dev/null +++ b/net-libs/webkit-gtk/webkit-gtk-2.38.1-r410.ebuild @@ -0,0 +1,259 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_REQ_USE="xml(+)" +PYTHON_COMPAT=( python3_{8..11} ) +USE_RUBY="ruby27 ruby30 ruby31" + +inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake + +MY_P="webkitgtk-${PV}" +DESCRIPTION="Open source web browser engine" +HOMEPAGE="https://www.webkitgtk.org" +SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" + +LICENSE="LGPL-2+ BSD" +SLOT="4.1/0" # soname version of libwebkit2gtk-4.1 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="aqua avif +egl examples gamepad gles2-only gnome-keyring +gstreamer +introspection pdf +jpeg2k +jumbo-build lcms seccomp spell systemd test wayland X" + +# gstreamer with opengl/gles2 needs egl +REQUIRED_USE=" + gles2-only? ( egl ) + gstreamer? ( egl ) + wayland? ( egl ) + || ( aqua wayland X ) +" + +# Tests fail to link for inexplicable reasons +# https://bugs.webkit.org/show_bug.cgi?id=148210 +RESTRICT="test" + +# Dependencies found at Source/cmake/OptionsGTK.cmake +# Missing WebRTC support, but ENABLE_MEDIA_STREAM/ENABLE_WEB_RTC is experimental upstream (PRIVATE OFF) and shouldn't be used yet in 2.30 +# >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) +# TODO: gst-plugins-base[X] is only needed when build configuration ends up with GLX set, but that's a bit automagic too to fix +# Softblocking webkit-gtk-2.38:4 as we going to use webkit-2.38:4.1's WebKitDriver binary +RDEPEND=" + >=x11-libs/cairo-1.16.0[X?] + >=media-libs/fontconfig-2.13.0:1.0 + >=media-libs/freetype-2.9.0:2 + >=dev-libs/libgcrypt-1.7.0:0= + >=x11-libs/gtk+-3.22.0:3[aqua?,introspection?,wayland?,X?] + >=media-libs/harfbuzz-1.4.2:=[icu(+)] + >=dev-libs/icu-61.2:= + media-libs/libjpeg-turbo:0= + >=net-libs/libsoup-3.0.8:3.0[introspection?] + >=dev-libs/libxml2-2.8.0:2 + >=media-libs/libpng-1.4:0= + dev-db/sqlite:3 + sys-libs/zlib:0 + || ( >=app-accessibility/at-spi2-core-2.46.0:2 >=dev-libs/atk-2.16.0 ) + media-libs/libwebp:= + + >=dev-libs/glib-2.67.1:2 + >=dev-libs/libxslt-1.1.7 + media-libs/woff2 + gnome-keyring? ( app-crypt/libsecret ) + introspection? ( >=dev-libs/gobject-introspection-1.59.1:= ) + dev-libs/libtasn1:= + spell? ( >=app-text/enchant-0.22:2 ) + gstreamer? ( + >=media-libs/gstreamer-1.20:1.0 + >=media-libs/gst-plugins-base-1.20:1.0[egl?,X?] + gles2-only? ( media-libs/gst-plugins-base:1.0[gles2] ) + !gles2-only? ( media-libs/gst-plugins-base:1.0[opengl] ) + >=media-plugins/gst-plugins-opus-1.20:1.0 + >=media-libs/gst-plugins-bad-1.20:1.0 + ) + + X? ( + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXrender + x11-libs/libXt + ) + + dev-libs/hyphen + jpeg2k? ( >=media-libs/openjpeg-2.2.0:2= ) + avif? ( >=media-libs/libavif-0.9.0:= ) + lcms? ( media-libs/lcms:2 ) + + egl? ( media-libs/mesa[egl(+)] ) + gles2-only? ( media-libs/mesa[gles2] ) + !gles2-only? ( virtual/opengl ) + wayland? ( + dev-libs/wayland + >=dev-libs/wayland-protocols-1.12 + >=gui-libs/libwpe-1.5.0:1.0 + >=gui-libs/wpebackend-fdo-1.7.0:1.0 + ) + + seccomp? ( + >=sys-apps/bubblewrap-0.3.1 + sys-libs/libseccomp + sys-apps/xdg-dbus-proxy + ) + + systemd? ( sys-apps/systemd:= ) + gamepad? ( >=dev-libs/libmanette-0.2.4 ) + !<net-libs/webkit-gtk-2.38:4 +" +DEPEND="${RDEPEND}" +# Need real bison, not yacc +BDEPEND=" + ${PYTHON_DEPS} + ${RUBY_DEPS} + >=app-accessibility/at-spi2-core-2.5.3 + dev-util/gdbus-codegen + dev-util/glib-utils + >=dev-util/gperf-3.0.1 + >=sys-devel/bison-2.4.3 + || ( >=sys-devel/gcc-7.3 >=sys-devel/clang-5 ) + sys-devel/gettext + virtual/pkgconfig + + >=dev-lang/perl-5.10 + virtual/perl-Data-Dumper + virtual/perl-Carp + virtual/perl-JSON-PP +" +# test? ( +# dev-python/pygobject:3[python_targets_python2_7] +# x11-themes/hicolor-icon-theme +# ) + +S="${WORKDIR}/${MY_P}" + +CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] ; then + if 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++17 ; then + die "You need at least GCC 7.3.x or Clang >= 5 for C++17-specific compiler flags" + fi + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then + check-reqs_pkg_setup + fi + + python-any-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + gnome2_src_prepare +} + +src_configure() { + # Respect CC, otherwise fails on prefix #395875 + tc-export CC + + # It does not compile on alpha without this in LDFLAGS + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 + use alpha && append-ldflags "-Wl,--no-relax" + + # ld segfaults on ia64 with LDFLAGS --as-needed, bug #555504 + use ia64 && append-ldflags "-Wl,--no-as-needed" + + # 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 $(test-flags-CCLD "-Wl,--no-keep-memory") + fi + + # Ruby situation is a bit complicated. See bug 513888 + local rubyimpl + local ruby_interpreter="" + for rubyimpl in ${USE_RUBY}; do + if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}]"; then + ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ${rubyimpl})" + fi + done + # This will rarely occur. Only a couple of corner cases could lead us to + # that failure. See bug 513888 + [[ -z $ruby_interpreter ]] && die "No suitable ruby interpreter found" + + # TODO: Check Web Audio support + # should somehow let user select between them? + + local mycmakeargs=( + ${ruby_interpreter} + $(cmake_use_find_package gles2-only OpenGLES2) + $(cmake_use_find_package egl EGL) + $(cmake_use_find_package !gles2-only OpenGL) + -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that + -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy + -DPORT=GTK + # Source/cmake/WebKitFeatures.cmake + -DENABLE_API_TESTS=$(usex test) + -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) + -DENABLE_GAMEPAD=$(usex gamepad) + -DENABLE_MINIBROWSER=$(usex examples) + -DENABLE_PDFJS=$(usex pdf) + -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service) + -DENABLE_SPELLCHECK=$(usex spell) + -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) + -DENABLE_VIDEO=$(usex gstreamer) + -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer) + -DUSE_GSTREAMER_TRANSCODER=$(usex gstreamer) + -DENABLE_WEBGL=ON + # Supported only under ANGLE + -DENABLE_WEBGL2=OFF + -DENABLE_WEB_AUDIO=$(usex gstreamer) + # Source/cmake/OptionsGTK.cmake + -DENABLE_GLES2=$(usex gles2-only) + -DENABLE_DOCUMENTATION=OFF + -DENABLE_INTROSPECTION=$(usex introspection) + -DENABLE_JOURNALD_LOG=$(usex systemd) + -DENABLE_QUARTZ_TARGET=$(usex aqua) + -DENABLE_WAYLAND_TARGET=$(usex wayland) + -DENABLE_X11_TARGET=$(usex X) + -DUSE_AVIF=$(usex avif) + -DUSE_GTK4=OFF + -DENABLE_WEBDRIVER=ON + -DUSE_JPEGXL=OFF + -DUSE_LCMS=$(usex lcms) + -DUSE_LIBHYPHEN=ON + -DUSE_LIBSECRET=$(usex gnome-keyring) + -DUSE_OPENGL_OR_ES=ON + -DUSE_OPENJPEG=$(usex jpeg2k) + -DUSE_SOUP2=OFF + -DUSE_WOFF2=ON + -DUSE_WPE_RENDERER=$(usex wayland) # WPE renderer is used to implement accelerated compositing under wayland + ) + + # https://bugs.gentoo.org/761238 + append-cppflags -DNDEBUG + + WK_USE_CCACHE=NO cmake_src_configure +} + +src_install() { + cmake_src_install + + insinto /usr/share/gtk-doc/html + # This will install API docs specific to webkit2gtk-4.1 + doins -r "${S}"/Documentation/{jsc-glib,webkit2gtk,webkit2gtk-web-extension}-${SLOT%/*} +} + +pkg_postinst() { + optfeature "geolocation service (used at runtime if available)" "app-misc/geoclue" +} diff --git a/net-libs/webkit-gtk/webkit-gtk-2.38.1-r500.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.38.1-r500.ebuild new file mode 100644 index 000000000000..6b8fac2e5658 --- /dev/null +++ b/net-libs/webkit-gtk/webkit-gtk-2.38.1-r500.ebuild @@ -0,0 +1,253 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_REQ_USE="xml(+)" +PYTHON_COMPAT=( python3_{8..11} ) +USE_RUBY="ruby27 ruby30 ruby31" + +inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake + +MY_P="webkitgtk-${PV}" +DESCRIPTION="Open source web browser engine" +HOMEPAGE="https://www.webkitgtk.org" +SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" + +LICENSE="LGPL-2+ BSD" +SLOT="5/0" # soname version of libwebkit2gtk-5.0 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="aqua avif +egl examples gamepad gles2-only gnome-keyring +gstreamer +introspection pdf +jpeg2k +jumbo-build lcms seccomp spell systemd test wayland X" + +# gstreamer with opengl/gles2 needs egl +REQUIRED_USE=" + gles2-only? ( egl ) + gstreamer? ( egl ) + wayland? ( egl ) + || ( aqua wayland X ) +" + +# Tests fail to link for inexplicable reasons +# https://bugs.webkit.org/show_bug.cgi?id=148210 +RESTRICT="test" + +# Dependencies found at Source/cmake/OptionsGTK.cmake +# Missing WebRTC support, but ENABLE_MEDIA_STREAM/ENABLE_WEB_RTC is experimental upstream (PRIVATE OFF) and shouldn't be used yet in 2.30 +# >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) +# TODO: gst-plugins-base[X] is only needed when build configuration ends up with GLX set, but that's a bit automagic too to fix +# Softblocking webkit-gtk-2.38:4 as we going to use webkit-2.38:4.1's WebKitDriver binary +RDEPEND=" + >=x11-libs/cairo-1.16.0[X?] + >=media-libs/fontconfig-2.13.0:1.0 + >=media-libs/freetype-2.9.0:2 + >=dev-libs/libgcrypt-1.7.0:0= + >=x11-libs/gtk+-3.22.0:3[aqua?,introspection?,wayland?,X?] + gui-libs/gtk:4 + >=media-libs/harfbuzz-1.4.2:=[icu(+)] + >=dev-libs/icu-61.2:= + media-libs/libjpeg-turbo:0= + >=net-libs/libsoup-3.0.8:3.0[introspection?] + >=dev-libs/libxml2-2.8.0:2 + >=media-libs/libpng-1.4:0= + dev-db/sqlite:3 + sys-libs/zlib:0 + || ( >=app-accessibility/at-spi2-core-2.46.0:2 >=dev-libs/atk-2.16.0 ) + + media-libs/libwebp:= + + >=dev-libs/glib-2.67.1:2 + >=dev-libs/libxslt-1.1.7 + media-libs/woff2 + gnome-keyring? ( app-crypt/libsecret ) + introspection? ( >=dev-libs/gobject-introspection-1.59.1:= ) + dev-libs/libtasn1:= + spell? ( >=app-text/enchant-0.22:2 ) + gstreamer? ( + >=media-libs/gstreamer-1.20:1.0 + >=media-libs/gst-plugins-base-1.20:1.0[egl?,X?] + gles2-only? ( media-libs/gst-plugins-base:1.0[gles2] ) + !gles2-only? ( media-libs/gst-plugins-base:1.0[opengl] ) + >=media-plugins/gst-plugins-opus-1.20:1.0 + >=media-libs/gst-plugins-bad-1.20:1.0 + ) + + X? ( + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXrender + x11-libs/libXt + ) + + dev-libs/hyphen + jpeg2k? ( >=media-libs/openjpeg-2.2.0:2= ) + avif? ( >=media-libs/libavif-0.9.0:= ) + lcms? ( media-libs/lcms:2 ) + + egl? ( media-libs/mesa[egl(+)] ) + gles2-only? ( media-libs/mesa[gles2] ) + !gles2-only? ( virtual/opengl ) + wayland? ( + dev-libs/wayland + >=dev-libs/wayland-protocols-1.12 + >=gui-libs/libwpe-1.5.0:1.0 + >=gui-libs/wpebackend-fdo-1.7.0:1.0 + ) + + seccomp? ( + >=sys-apps/bubblewrap-0.3.1 + sys-libs/libseccomp + sys-apps/xdg-dbus-proxy + ) + + systemd? ( sys-apps/systemd:= ) + gamepad? ( >=dev-libs/libmanette-0.2.4 ) + !<net-libs/webkit-gtk-2.38:4 +" +DEPEND="${RDEPEND}" +# Need real bison, not yacc +BDEPEND=" + ${PYTHON_DEPS} + ${RUBY_DEPS} + >=app-accessibility/at-spi2-core-2.5.3 + dev-util/gdbus-codegen + dev-util/glib-utils + >=dev-util/gperf-3.0.1 + >=sys-devel/bison-2.4.3 + || ( >=sys-devel/gcc-7.3 >=sys-devel/clang-5 ) + sys-devel/gettext + virtual/pkgconfig + + >=dev-lang/perl-5.10 + virtual/perl-Data-Dumper + virtual/perl-Carp + virtual/perl-JSON-PP +" +# test? ( +# dev-python/pygobject:3[python_targets_python2_7] +# x11-themes/hicolor-icon-theme +# ) + +S="${WORKDIR}/${MY_P}" + +CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] ; then + if 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++17 ; then + die "You need at least GCC 7.3.x or Clang >= 5 for C++17-specific compiler flags" + fi + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then + check-reqs_pkg_setup + fi + + python-any-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + gnome2_src_prepare +} + +src_configure() { + # Respect CC, otherwise fails on prefix #395875 + tc-export CC + + # It does not compile on alpha without this in LDFLAGS + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 + use alpha && append-ldflags "-Wl,--no-relax" + + # ld segfaults on ia64 with LDFLAGS --as-needed, bug #555504 + use ia64 && append-ldflags "-Wl,--no-as-needed" + + # 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 $(test-flags-CCLD "-Wl,--no-keep-memory") + fi + + # Ruby situation is a bit complicated. See bug 513888 + local rubyimpl + local ruby_interpreter="" + for rubyimpl in ${USE_RUBY}; do + if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}]"; then + ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ${rubyimpl})" + fi + done + # This will rarely occur. Only a couple of corner cases could lead us to + # that failure. See bug 513888 + [[ -z $ruby_interpreter ]] && die "No suitable ruby interpreter found" + + # TODO: Check Web Audio support + # should somehow let user select between them? + + local mycmakeargs=( + ${ruby_interpreter} + $(cmake_use_find_package gles2-only OpenGLES2) + $(cmake_use_find_package egl EGL) + $(cmake_use_find_package !gles2-only OpenGL) + -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that + -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy + -DPORT=GTK + # Source/cmake/WebKitFeatures.cmake + -DENABLE_API_TESTS=$(usex test) + -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) + -DENABLE_GAMEPAD=$(usex gamepad) + -DENABLE_MINIBROWSER=$(usex examples) + -DENABLE_PDFJS=$(usex pdf) + -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service) + -DENABLE_SPELLCHECK=$(usex spell) + -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) + -DENABLE_VIDEO=$(usex gstreamer) + -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer) + -DUSE_GSTREAMER_TRANSCODER=$(usex gstreamer) + -DENABLE_WEBGL=ON + # Supported only under ANGLE + -DENABLE_WEBGL2=OFF + -DENABLE_WEB_AUDIO=$(usex gstreamer) + # Source/cmake/OptionsGTK.cmake + -DENABLE_GLES2=$(usex gles2-only) + -DENABLE_DOCUMENTATION=OFF + -DENABLE_INTROSPECTION=$(usex introspection) + -DENABLE_JOURNALD_LOG=$(usex systemd) + -DENABLE_QUARTZ_TARGET=$(usex aqua) + -DENABLE_WAYLAND_TARGET=$(usex wayland) + -DENABLE_X11_TARGET=$(usex X) + -DUSE_AVIF=$(usex avif) + -DUSE_GTK4=ON # wbkit2gtk-5.0 + -DENABLE_WEBDRIVER=OFF # Disable WebDriver for webkit2gtk-5.0 and use the webkit2gtk-4.1 + -DUSE_JPEGXL=OFF + -DUSE_LCMS=$(usex lcms) + -DUSE_LIBHYPHEN=ON + -DUSE_LIBSECRET=$(usex gnome-keyring) + -DUSE_OPENGL_OR_ES=ON + -DUSE_OPENJPEG=$(usex jpeg2k) + -DUSE_SOUP2=OFF + -DUSE_WOFF2=ON + -DUSE_WPE_RENDERER=$(usex wayland) # WPE renderer is used to implement accelerated compositing under wayland + ) + + # https://bugs.gentoo.org/761238 + append-cppflags -DNDEBUG + + WK_USE_CCACHE=NO cmake_src_configure +} + +pkg_postinst() { + optfeature "geolocation service (used at runtime if available)" "app-misc/geoclue" +} diff --git a/net-libs/webkit-gtk/webkit-gtk-2.38.1.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.38.1.ebuild new file mode 100644 index 000000000000..ed868176aaa5 --- /dev/null +++ b/net-libs/webkit-gtk/webkit-gtk-2.38.1.ebuild @@ -0,0 +1,249 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_REQ_USE="xml(+)" +PYTHON_COMPAT=( python3_{8..11} ) +USE_RUBY="ruby27 ruby30 ruby31" + +inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake + +MY_P="webkitgtk-${PV}" +DESCRIPTION="Open source web browser engine" +HOMEPAGE="https://www.webkitgtk.org" +SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" + +LICENSE="LGPL-2+ BSD" +SLOT="4/37" # soname version of libwebkit2gtk-4.0 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="aqua avif +egl examples gamepad gles2-only gnome-keyring +gstreamer +introspection pdf +jpeg2k +jumbo-build lcms seccomp spell systemd test wayland X" + +# gstreamer with opengl/gles2 needs egl +REQUIRED_USE=" + gles2-only? ( egl ) + gstreamer? ( egl ) + wayland? ( egl ) + || ( aqua wayland X ) +" + +# Tests fail to link for inexplicable reasons +# https://bugs.webkit.org/show_bug.cgi?id=148210 +RESTRICT="test" + +# Dependencies found at Source/cmake/OptionsGTK.cmake +# Missing WebRTC support, but ENABLE_MEDIA_STREAM/ENABLE_WEB_RTC is experimental upstream (PRIVATE OFF) and shouldn't be used yet in 2.30 +# >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) +# TODO: gst-plugins-base[X] is only needed when build configuration ends up with GLX set, but that's a bit automagic too to fix +RDEPEND=" + >=x11-libs/cairo-1.16.0[X?] + >=media-libs/fontconfig-2.13.0:1.0 + >=media-libs/freetype-2.9.0:2 + >=dev-libs/libgcrypt-1.7.0:0= + >=x11-libs/gtk+-3.22.0:3[aqua?,introspection?,wayland?,X?] + >=media-libs/harfbuzz-1.4.2:=[icu(+)] + >=dev-libs/icu-61.2:= + media-libs/libjpeg-turbo:0= + >=net-libs/libsoup-2.54:2.4[introspection?] + >=dev-libs/libxml2-2.8.0:2 + >=media-libs/libpng-1.4:0= + dev-db/sqlite:3 + sys-libs/zlib:0 + || ( >=app-accessibility/at-spi2-core-2.46.0:2 >=dev-libs/atk-2.16.0 ) + media-libs/libwebp:= + + >=dev-libs/glib-2.67.1:2 + >=dev-libs/libxslt-1.1.7 + media-libs/woff2 + gnome-keyring? ( app-crypt/libsecret ) + introspection? ( >=dev-libs/gobject-introspection-1.59.1:= ) + dev-libs/libtasn1:= + spell? ( >=app-text/enchant-0.22:2 ) + gstreamer? ( + >=media-libs/gstreamer-1.20:1.0 + >=media-libs/gst-plugins-base-1.20:1.0[egl?,X?] + gles2-only? ( media-libs/gst-plugins-base:1.0[gles2] ) + !gles2-only? ( media-libs/gst-plugins-base:1.0[opengl] ) + >=media-plugins/gst-plugins-opus-1.20:1.0 + >=media-libs/gst-plugins-bad-1.20:1.0 + ) + + X? ( + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXrender + x11-libs/libXt + ) + + dev-libs/hyphen + jpeg2k? ( >=media-libs/openjpeg-2.2.0:2= ) + avif? ( >=media-libs/libavif-0.9.0:= ) + lcms? ( media-libs/lcms:2 ) + + egl? ( media-libs/mesa[egl(+)] ) + gles2-only? ( media-libs/mesa[gles2] ) + !gles2-only? ( virtual/opengl ) + wayland? ( + dev-libs/wayland + >=dev-libs/wayland-protocols-1.12 + >=gui-libs/libwpe-1.5.0:1.0 + >=gui-libs/wpebackend-fdo-1.7.0:1.0 + ) + + seccomp? ( + >=sys-apps/bubblewrap-0.3.1 + sys-libs/libseccomp + sys-apps/xdg-dbus-proxy + ) + + systemd? ( sys-apps/systemd:= ) + gamepad? ( >=dev-libs/libmanette-0.2.4 ) +" +DEPEND="${RDEPEND}" +# Need real bison, not yacc +BDEPEND=" + ${PYTHON_DEPS} + ${RUBY_DEPS} + >=app-accessibility/at-spi2-core-2.5.3 + dev-util/gdbus-codegen + dev-util/glib-utils + >=dev-util/gperf-3.0.1 + >=sys-devel/bison-2.4.3 + || ( >=sys-devel/gcc-7.3 >=sys-devel/clang-5 ) + sys-devel/gettext + virtual/pkgconfig + + >=dev-lang/perl-5.10 + virtual/perl-Data-Dumper + virtual/perl-Carp + virtual/perl-JSON-PP +" +# test? ( +# dev-python/pygobject:3[python_targets_python2_7] +# x11-themes/hicolor-icon-theme +# ) + +S="${WORKDIR}/${MY_P}" + +CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] ; then + if 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++17 ; then + die "You need at least GCC 7.3.x or Clang >= 5 for C++17-specific compiler flags" + fi + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then + check-reqs_pkg_setup + fi + + python-any-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + gnome2_src_prepare +} + +src_configure() { + # Respect CC, otherwise fails on prefix #395875 + tc-export CC + + # It does not compile on alpha without this in LDFLAGS + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 + use alpha && append-ldflags "-Wl,--no-relax" + + # ld segfaults on ia64 with LDFLAGS --as-needed, bug #555504 + use ia64 && append-ldflags "-Wl,--no-as-needed" + + # 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 $(test-flags-CCLD "-Wl,--no-keep-memory") + fi + + # Ruby situation is a bit complicated. See bug 513888 + local rubyimpl + local ruby_interpreter="" + for rubyimpl in ${USE_RUBY}; do + if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}]"; then + ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ${rubyimpl})" + fi + done + # This will rarely occur. Only a couple of corner cases could lead us to + # that failure. See bug 513888 + [[ -z $ruby_interpreter ]] && die "No suitable ruby interpreter found" + + # TODO: Check Web Audio support + # should somehow let user select between them? + + local mycmakeargs=( + ${ruby_interpreter} + $(cmake_use_find_package gles2-only OpenGLES2) + $(cmake_use_find_package egl EGL) + $(cmake_use_find_package !gles2-only OpenGL) + -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that + -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy + -DPORT=GTK + # Source/cmake/WebKitFeatures.cmake + -DENABLE_API_TESTS=$(usex test) + -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) + -DENABLE_GAMEPAD=$(usex gamepad) + -DENABLE_MINIBROWSER=$(usex examples) + -DENABLE_PDFJS=$(usex pdf) + -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service) + -DENABLE_SPELLCHECK=$(usex spell) + -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) + -DENABLE_VIDEO=$(usex gstreamer) + -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer) + -DUSE_GSTREAMER_TRANSCODER=$(usex gstreamer) + -DENABLE_WEBGL=ON + # Supported only under ANGLE + -DENABLE_WEBGL2=OFF + -DENABLE_WEB_AUDIO=$(usex gstreamer) + # Source/cmake/OptionsGTK.cmake + -DENABLE_GLES2=$(usex gles2-only) + -DENABLE_DOCUMENTATION=OFF + -DENABLE_INTROSPECTION=$(usex introspection) + -DENABLE_JOURNALD_LOG=$(usex systemd) + -DENABLE_QUARTZ_TARGET=$(usex aqua) + -DENABLE_WAYLAND_TARGET=$(usex wayland) + -DENABLE_X11_TARGET=$(usex X) + -DUSE_AVIF=$(usex avif) + -DUSE_GTK4=OFF + -DENABLE_WEBDRIVER=OFF # Disable WebDriver for webkit2gtk-4.0 and use the webkit2gtk-4.1 + -DUSE_JPEGXL=OFF + -DUSE_LCMS=$(usex lcms) + -DUSE_LIBHYPHEN=ON + -DUSE_LIBSECRET=$(usex gnome-keyring) + -DUSE_OPENGL_OR_ES=ON + -DUSE_OPENJPEG=$(usex jpeg2k) + -DUSE_SOUP2=ON + -DUSE_WOFF2=ON + -DUSE_WPE_RENDERER=$(usex wayland) # WPE renderer is used to implement accelerated compositing under wayland + ) + + # https://bugs.gentoo.org/761238 + append-cppflags -DNDEBUG + + WK_USE_CCACHE=NO cmake_src_configure +} + +pkg_postinst() { + optfeature "geolocation service (used at runtime if available)" "app-misc/geoclue" +} |