public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/seamonkey/
Date: Sat, 12 Aug 2023 08:38:55 +0000 (UTC)	[thread overview]
Message-ID: <1691829417.b604cc757dd71c174c83f08aca00a26b738522dd.juippis@gentoo> (raw)

commit:     b604cc757dd71c174c83f08aca00a26b738522dd
Author:     Myckel Habets <gentoo-bugs <AT> habets-dobben <DOT> nl>
AuthorDate: Mon Aug  7 11:48:02 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Aug 12 08:36:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b604cc75

www-client/seamonkey: bug fixes on 2.53.17

Adds dependencies for clang and llvm using the llvm.eclass.

Fix for ffmpeg build failure on ~ARCH.

Closes: https://bugs.gentoo.org/911830
Bug: https://bugs.gentoo.org/911679
Bug: https://bugs.gentoo.org/911582
Signed-off-by: Myckel Habets <gentoo-bugs <AT> habets-dobben.nl>
Closes: https://github.com/gentoo/gentoo/pull/32210
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-client/seamonkey/Manifest                 |  2 +-
 www-client/seamonkey/metadata.xml             |  3 ++
 www-client/seamonkey/seamonkey-2.53.17.ebuild | 41 ++++++++++++++++++++++-----
 3 files changed, 38 insertions(+), 8 deletions(-)

diff --git a/www-client/seamonkey/Manifest b/www-client/seamonkey/Manifest
index fbef5be04b90..5205a1cb5685 100644
--- a/www-client/seamonkey/Manifest
+++ b/www-client/seamonkey/Manifest
@@ -1,6 +1,6 @@
 DIST seamonkey-2.53.15-r1-patches.tar.gz 33649 BLAKE2B ebee28386a1ed9a0b2f82029099d5488559ba14321b0b519d70b76c39a0f557a28955715d2c75a9e949bfb8aac54f9893c6ed37033b62439655479af4019f8d4 SHA512 2023ba24bb5e1de63617e67eb058608233bc873b5c4e994990f6db50c6c23fe58979ec4eb8b8a15d2aaf882ddd5c72194d09197df93bb310688c2a01b16a488e
 DIST seamonkey-2.53.15.source-l10n.tar.xz 13657060 BLAKE2B 128de12ad087be2f0c9f8e2622c837144bc2422f692f16babca7f69daf45432bb3ee547ec75cd3ddc1464818eb36ded09e6f3613a9d4f86b867328e4213e76f2 SHA512 91a3be1dfcd6c06953430afd2d07036c525b73e0132690575275430bca5ffe3082cb5c30df4cd921d961aa79333b6cefb6eace157fc65368254f4099ae879131
 DIST seamonkey-2.53.15.source.tar.xz 260787300 BLAKE2B 1efa2a0fd3e4b2fa4d264eb2f373ec1208d3009b69e907cafab216b539b69598948dd8646e4c6365caaf764a00d6212b870f23dfa33fe6fd87df757ff5f115f3 SHA512 f4735af98be0e27a935852de9d309317e1639a420189b0432cb7bdf9707bab706ceec65e96b94953a6e4285b4501dcd25745fb9250b8bf30845d2b855dcc8b13
-DIST seamonkey-2.53.17-patches.tar.gz 24647 BLAKE2B f0c685bbd282d824b21aa76b8e041acc7f4a50e01142f6f72c2c31b6d555fda57e63cd205030348a570d1a3d80f7f47add2e14a0774bd2f3571adfbaed984578 SHA512 507bf544cb9ca27504dc66ba4024c5cb48fdcf125c7a7aaf1aae62397c911291dc54ff5e1057ccdb3ecb20fc23285a4e838ed7a4fa1201ac2b9de4e4d4834972
+DIST seamonkey-2.53.17-patches-2.tar.gz 25528 BLAKE2B 5a39a98c1292e3b70cea1f68e77fcee9f97c1962e6e81f5fca29f1ed9fe9f7fdd082ecf3d31fd5fb91533914665fa92ea1d3796fae48c30700a706f5cf48211d SHA512 7df818546c1fc69f41d8431a4d780f5fd5e1b608444198587fbb9afb736fff22c592bb5590300969e9b0ae7ff28255bc0d26d3409ef5849afae6708ad234972c
 DIST seamonkey-2.53.17.source-l10n.tar.xz 13661552 BLAKE2B 1006e3468d28bb04a9c2dd3ce3822153e5181ed84eb368acae28e22ad51a8b616caa35ff5b15e0cb0096d478034a30fa2ace5db87686e24d669607966338a42d SHA512 792b4f54617ffb7afb6c7a3cebcdbbcd0295322b68595f6c416b9bd32201f9295bccd96d633765c7ba6e46eeef687b325cd47817f46e476b2f7cda1304e466ab
 DIST seamonkey-2.53.17.source.tar.xz 266150192 BLAKE2B 2c79e4594ad6ad5b6b7ed594e86a8ae26a9137c84de055fd13bb77f98ebf382c31514efe311d8050ce75c27a5d3b8860fbee73f40afa7ce3334ed6ebcaa64d6a SHA512 479feca324dfe7bdb6e2a63da38251cafe1169d087d767b5857683f547417b4a5a388913e84bb8d0a9a292aef0d88aeaf25660670aa518bc4e45efcef8f2cfa7

diff --git a/www-client/seamonkey/metadata.xml b/www-client/seamonkey/metadata.xml
index ceb788d90506..8b4a210f8e75 100644
--- a/www-client/seamonkey/metadata.xml
+++ b/www-client/seamonkey/metadata.xml
@@ -9,6 +9,9 @@
 		<email>mozilla@gentoo.org</email>
 		<name>Gentoo Mozilla Team</name>
 	</maintainer>
+	<upstream>
+		<remote-id type="github">BioMike/gentoo-seamonkey-patches</remote-id>
+	</upstream>
 	<use>
 		<flag name="chatzilla">Build Mozilla's IRC client (default on)</flag>
 		<flag name="custom-optimization">Build with user-specified compiler optimizations (-Os, -O0, -O1, -O2, -O3) from CFLAGS (unsupported)</flag>

diff --git a/www-client/seamonkey/seamonkey-2.53.17.ebuild b/www-client/seamonkey/seamonkey-2.53.17.ebuild
index 289ac518a75a..bc0d31bf84d0 100644
--- a/www-client/seamonkey/seamonkey-2.53.17.ebuild
+++ b/www-client/seamonkey/seamonkey-2.53.17.ebuild
@@ -8,6 +8,8 @@ WANT_AUTOCONF="2.1"
 PYTHON_COMPAT=( python3_{10..11} )
 PYTHON_REQ_USE='ncurses,sqlite,ssl,threads(+)'
 
+LLVM_MAX_SLOT=16
+
 # This list can be updated with scripts/get_langs.sh from the mozilla overlay
 # note - could not roll langpacks for: ca fi
 #MOZ_LANGS=(ca cs de en-GB es-AR es-ES fi fr gl hu it ja lt nb-NO nl pl pt-PT
@@ -21,7 +23,8 @@ MOZ_PV="${MOZ_PV/_beta/b}"
 MOZ_PV="${MOZ_PV/_rc/rc}"
 MOZ_P="${P}"
 MY_MOZ_P="${PN}-${MOZ_PV}"
-PATCH="${PF}-patches"
+PATCH="${PF}-patches-2"
+PATCH_S="${WORKDIR}/gentoo-${PN}-patches-${PV}-2"
 
 if [[ ${PV} == *_pre* ]] ; then
 	MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/candidates/${MOZ_PV}-candidates/build${PV##*_pre}"
@@ -31,13 +34,14 @@ fi
 
 SRC_URI="${MOZ_HTTP_URI}/source/${MY_MOZ_P}.source.tar.xz -> ${P}.source.tar.xz
 	${MOZ_HTTP_URI}/source/${MY_MOZ_P}.source-l10n.tar.xz -> ${P}.source-l10n.tar.xz
-	https://github.com/BioMike/gentoo-${PN}-patches/archive/refs/tags/${PV}.tar.gz -> ${PATCH}.tar.gz"
+	https://github.com/BioMike/gentoo-${PN}-patches/archive/refs/tags/${PV}-2.tar.gz -> ${PATCH}.tar.gz"
 
 S="${WORKDIR}/${MY_MOZ_P}"
 
 MOZ_GENERATE_LANGPACKS=1
 MOZ_L10N_SOURCEDIR="${S}/${P}-l10n"
-inherit autotools check-reqs desktop edos2unix flag-o-matic mozcoreconf-v6 mozlinguas-v2 pax-utils toolchain-funcs xdg-utils
+inherit autotools check-reqs desktop edos2unix flag-o-matic llvm mozcoreconf-v6 mozlinguas-v2 pax-utils \
+	toolchain-funcs xdg-utils
 
 DESCRIPTION="Seamonkey Web Browser"
 HOMEPAGE="https://www.seamonkey-project.org/"
@@ -59,6 +63,16 @@ BDEPEND="
 	dev-lang/perl
 	dev-util/cbindgen
 	>=sys-devel/binutils-2.16.1
+	|| (
+		(
+			sys-devel/clang:16
+			sys-devel/llvm:16
+		)
+		(
+			sys-devel/clang:15
+			sys-devel/llvm:15
+		)
+	)
 	virtual/pkgconfig
 	virtual/rust
 	amd64? ( >=dev-lang/yasm-1.1 )
@@ -67,7 +81,7 @@ BDEPEND="
 "
 COMMON_DEPEND="
 	app-arch/bzip2
-	dev-libs/atk
+	>=app-accessibility/at-spi2-core-2.46.0
 	>=dev-libs/glib-2.26:2
 	>=dev-libs/libffi-3.0.10:=
 	>=dev-libs/nspr-4.23
@@ -98,7 +112,7 @@ COMMON_DEPEND="
 	jack? ( virtual/jack )
 	kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) )
 	pulseaudio? ( || (
-		media-sound/pulseaudio
+		media-libs/libpulse
 		>=media-sound/apulse-0.1.9
 	) )
 	startup-notification? ( >=x11-libs/startup-notification-0.8 )
@@ -143,6 +157,15 @@ QA_CONFIG_IMPL_DECL_SKIP=(
 
 BUILD_OBJ_DIR="${S}/seamonk"
 
+llvm_check_deps() {
+	if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
+		einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+		return 1
+	fi
+
+	einfo "Using LLVM slot ${LLVM_SLOT} to build." >&2
+}
+
 pkg_setup() {
 	if [[ ${PV} == *_beta* ]] || [[ ${PV} == *_pre* ]] ; then
 		ewarn
@@ -151,6 +174,8 @@ pkg_setup() {
 		ewarn "Those belong to upstream: https://bugzilla.mozilla.org"
 	fi
 
+	llvm_pkg_setup
+
 	moz_pkgsetup
 }
 
@@ -185,7 +210,7 @@ src_unpack() {
 
 src_prepare() {
 	# Apply our patches
-	eapply "${WORKDIR}"/gentoo-${PN}-patches-${PV}/${PN}
+	eapply "${PATCH_S}/${PN}"
 
 	# Shell scripts sometimes contain DOS line endings; bug 391889
 	grep -rlZ --include="*.sh" $'\r$' . |
@@ -194,7 +219,9 @@ src_prepare() {
 		edos2unix "${file}"
 	done
 
-	use system-libvpx && eapply -p2 "${WORKDIR}"/gentoo-${PN}-patches-${PV}/USE_flag/1009_seamonkey-2.53.3-system_libvpx-1.8.patch
+	if use system-libvpx ; then
+		eapply -p2 "${PATCH_S}/USE_flag/1009_seamonkey-2.53.3-system_libvpx-1.8.patch"
+	fi
 
 	# Allow user to apply any additional patches without modifing ebuild
 	eapply_user


             reply	other threads:[~2023-08-12  8:38 UTC|newest]

Thread overview: 193+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-12  8:38 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-25 11:09 [gentoo-commits] repo/gentoo:master commit in: www-client/seamonkey/ Joonas Niilola
2024-09-13 11:18 Joonas Niilola
2024-09-13 11:18 Joonas Niilola
2024-09-13  6:13 Joonas Niilola
2024-08-20  6:37 Joonas Niilola
2024-08-20  6:37 Joonas Niilola
2024-04-15  7:46 Joonas Niilola
2024-04-01  6:47 Joonas Niilola
2024-03-12 14:04 Joonas Niilola
2024-03-12 13:36 Joonas Niilola
2024-01-08  8:30 Joonas Niilola
2023-11-29  6:40 Joonas Niilola
2023-11-29  6:40 Joonas Niilola
2023-11-19 13:45 Joonas Niilola
2023-11-19 13:45 Joonas Niilola
2023-11-10 12:19 Joonas Niilola
2023-10-03 14:36 Joonas Niilola
2023-09-09  6:59 Joonas Niilola
2023-08-24 18:04 Arthur Zamarin
2023-08-24 17:58 Arthur Zamarin
2023-08-07  4:20 Sam James
2023-08-07  4:19 Sam James
2023-06-24  2:59 Sam James
2023-05-19  5:36 Joonas Niilola
2023-05-17 16:47 Joonas Niilola
2023-05-17 16:47 Joonas Niilola
2023-05-06 13:39 Sam James
2023-05-06 13:39 Sam James
2023-04-15  6:19 Joonas Niilola
2023-03-31 13:46 Joonas Niilola
2023-03-30 17:13 Arthur Zamarin
2023-01-29  8:50 Joonas Niilola
2023-01-29  8:50 Joonas Niilola
2022-12-22  3:43 Sam James
2022-12-20  7:12 Georgy Yakovlev
2022-10-17  5:49 Joonas Niilola
2022-10-15  7:20 Joonas Niilola
2022-10-15  7:20 Joonas Niilola
2022-10-11  8:45 Joonas Niilola
2022-09-16 12:36 Joonas Niilola
2022-09-01 13:41 Joonas Niilola
2022-09-01 13:41 Joonas Niilola
2022-09-01 13:37 Joonas Niilola
2022-08-11 11:13 Sam James
2022-07-19 10:43 Joonas Niilola
2022-07-16  6:19 Joonas Niilola
2022-06-17  8:16 Joonas Niilola
2022-06-14 14:35 Joonas Niilola
2022-05-17  5:34 Sam James
2022-05-14  0:47 Sam James
2022-05-10  1:39 Sam James
2022-05-10  1:37 Sam James
2022-05-10  1:37 Sam James
2022-05-10  1:37 Sam James
2022-05-10  1:37 Sam James
2022-05-10  1:37 Sam James
2022-04-30  8:13 Joonas Niilola
2022-03-27  0:24 Sam James
2022-03-26 13:54 Joonas Niilola
2022-03-14 15:56 Sam James
2022-03-14 15:56 Sam James
2022-03-14 15:56 Sam James
2022-03-14 15:56 Sam James
2022-02-05  9:42 Jakov Smolić
2022-01-29  5:53 Sam James
2022-01-06 10:39 David Seifert
2021-12-13  5:20 Sam James
2021-12-13  1:16 Sam James
2021-12-13  1:03 Sam James
2021-12-12 23:03 Sam James
2021-11-20 12:28 Lars Wendler
2021-09-28  8:45 Lars Wendler
2021-09-23 14:32 Lars Wendler
2021-08-26  7:58 Lars Wendler
2021-08-13  9:43 Lars Wendler
2021-08-13  7:53 Lars Wendler
2021-08-13  7:53 Lars Wendler
2021-07-22  7:25 Lars Wendler
2021-06-29  8:13 Lars Wendler
2021-06-02 13:06 Lars Wendler
2021-05-14 10:17 Lars Wendler
2021-05-04  8:30 Lars Wendler
2021-05-04  8:30 Lars Wendler
2021-05-04  8:30 Lars Wendler
2021-04-21 12:41 Lars Wendler
2021-04-21 12:41 Lars Wendler
2021-04-16  0:36 Sam James
2021-04-16  0:35 Sam James
2021-04-14  6:46 Lars Wendler
2021-03-30  8:06 Lars Wendler
2021-03-12 15:13 Andreas Sturmlechner
2021-03-10 17:11 Lars Wendler
2021-01-27  7:35 Lars Wendler
2021-01-27  7:35 Lars Wendler
2021-01-26 15:08 Lars Wendler
2021-01-26 15:08 Lars Wendler
2021-01-26 13:03 Lars Wendler
2021-01-04  1:00 Lars Wendler
2020-11-30  9:46 Lars Wendler
2020-11-22 20:29 Lars Wendler
2020-11-19  9:36 Lars Wendler
2020-11-13 11:22 Lars Wendler
2020-11-13 11:22 Lars Wendler
2020-11-10 20:18 Lars Wendler
2020-10-28 12:05 Lars Wendler
2020-10-24 13:59 Lars Wendler
2020-10-24 13:59 Lars Wendler
2020-09-22  8:15 Lars Wendler
2020-09-14 10:47 Lars Wendler
2020-08-15 10:25 Lars Wendler
2020-07-07  9:22 Lars Wendler
2020-07-02  8:48 Lars Wendler
2020-05-11 17:09 Lars Wendler
2020-05-11 16:49 Agostino Sarubbo
2020-05-08  6:38 Agostino Sarubbo
2020-05-05 13:46 Lars Wendler
2020-04-29 11:00 Lars Wendler
2020-04-29 11:00 Lars Wendler
2020-04-26 11:23 David Seifert
2020-03-31  7:22 Agostino Sarubbo
2020-03-27 13:29 Agostino Sarubbo
2020-03-10 23:48 Lars Wendler
2020-03-07 13:27 Lars Wendler
2020-03-05 13:58 Lars Wendler
2020-03-04 17:27 Lars Wendler
2020-03-04 17:27 Lars Wendler
2020-02-08 16:53 David Seifert
2019-09-25 15:06 Jory Pratt
2019-09-04 13:25 Lars Wendler
2019-09-04  7:16 Lars Wendler
2019-09-03 14:47 Lars Wendler
2019-09-02  6:47 Lars Wendler
2018-08-09 15:14 Lars Wendler
2018-08-09 15:14 Lars Wendler
2018-07-11 12:03 Lars Wendler
2018-07-04  8:43 Lars Wendler
2018-05-23  8:33 Lars Wendler
2018-05-22 14:32 Lars Wendler
2018-03-29 21:38 Lars Wendler
2018-03-29 21:38 Lars Wendler
2018-03-24 16:40 Lars Wendler
2018-03-24 16:40 Lars Wendler
2018-03-07 12:51 Lars Wendler
2018-01-26 13:57 Lars Wendler
2018-01-02 10:10 Lars Wendler
2018-01-02 10:10 Lars Wendler
2017-11-29 17:44 Ian Stakenvicius
2017-11-26 23:26 David Seifert
2017-10-10 19:17 Ian Stakenvicius
2017-10-10 19:11 Ian Stakenvicius
2017-08-24 13:18 Lars Wendler
2017-08-22 13:18 Lars Wendler
2017-07-28 14:26 Ian Stakenvicius
2017-07-26 15:46 Ian Stakenvicius
2017-07-24 14:17 Lars Wendler
2017-07-24 14:00 Lars Wendler
2017-07-21 13:15 Lars Wendler
2017-07-21 13:15 Lars Wendler
2017-07-21 13:15 Lars Wendler
2017-04-16 22:27 Lars Wendler
2017-02-21 13:15 Lars Wendler
2017-01-13 14:06 Lars Wendler
2017-01-13 14:06 Lars Wendler
2017-01-08 21:42 Jory Pratt
2017-01-05  8:36 Aaron Bauman
2017-01-03 11:08 Lars Wendler
2016-12-23  0:08 Lars Wendler
2016-11-30  9:13 Lars Wendler
2016-11-28 16:14 Lars Wendler
2016-11-22 15:53 Lars Wendler
2016-11-22  8:31 Lars Wendler
2016-11-22  7:46 Patrick Lauer
2016-10-31 12:32 Lars Wendler
2016-10-27 21:17 Lars Wendler
2016-10-14 16:35 Ian Stakenvicius
2016-07-18 16:55 Ian Stakenvicius
2016-06-30 14:04 Agostino Sarubbo
2016-06-30 14:03 Agostino Sarubbo
2016-06-19 14:32 Sergei Trofimovich
2016-03-15  8:03 Lars Wendler
2016-03-06 13:18 Lars Wendler
2016-01-04 19:17 Lars Wendler
2015-11-14  9:21 Lars Wendler
2015-11-11  7:33 Lars Wendler
2015-11-09 15:57 Lars Wendler
2015-11-09 15:57 Lars Wendler
2015-10-01  7:34 Agostino Sarubbo
2015-10-01  7:32 Agostino Sarubbo
2015-09-29  7:07 Lars Wendler
2015-09-28  8:20 Lars Wendler
2015-09-16 14:46 Lars Wendler
2015-09-03 10:00 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1691829417.b604cc757dd71c174c83f08aca00a26b738522dd.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox