[gentoo-commits] repo/gentoo:master commit in: eclass/, www-client/seamonkey/

2022-10-14 Thread Sam James
commit: 9963a2ee398cef033169ab2969ea3773cb125a13
Author: Myckel Habets  habets-dobben  nl>
AuthorDate: Fri Oct 14 19:24:08 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 14 19:41:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9963a2ee

www-client/seamonkey: support dev-lang/rust-1.64

* dev-lang/rust-1.64 is supported by seamonkey-2.53.14, bump BDEPEND and check 
to allow this build.
* Remove various cases of --disable-elf-hack handling and just pass 
--disable-elf-hack by default.

Closes: https://bugs.gentoo.org/877005
Signed-off-by: Myckel Habets  habets-dobben.nl>
Closes: https://github.com/gentoo/gentoo/pull/27782
Signed-off-by: Sam James  gentoo.org>

 eclass/mozcoreconf-v6.eclass   |  9 --
 ...-2.53.14.ebuild => seamonkey-2.53.14-r1.ebuild} | 37 ++
 2 files changed, 9 insertions(+), 37 deletions(-)

diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
index 2d94be6baee4..450697773409 100644
--- a/eclass/mozcoreconf-v6.eclass
+++ b/eclass/mozcoreconf-v6.eclass
@@ -195,15 +195,6 @@ mozconfig_init() {
# Strip optimization so it does not end up in compile string
filter-flags '-O*'
 
-   # elf-hack is broken on x86 and disabled by default.
-   if is-flagq '-g*' ; then
-   case "${ARCH}" in
-   amd64 | arm)
-   mozconfig_annotate 'elf-hack is broken with -g* flags' 
--disable-elf-hack
-   ;;
-   esac
-   fi
-
# Strip over-aggressive CFLAGS
use custom-cflags || strip-flags
 

diff --git a/www-client/seamonkey/seamonkey-2.53.14.ebuild 
b/www-client/seamonkey/seamonkey-2.53.14-r1.ebuild
similarity index 93%
rename from www-client/seamonkey/seamonkey-2.53.14.ebuild
rename to www-client/seamonkey/seamonkey-2.53.14-r1.ebuild
index 57fc76cd3cb3..0ac462443e0f 100644
--- a/www-client/seamonkey/seamonkey-2.53.14.ebuild
+++ b/www-client/seamonkey/seamonkey-2.53.14-r1.ebuild
@@ -60,7 +60,7 @@ BDEPEND="
dev-util/cbindgen
>=sys-devel/binutils-2.16.1
virtual/pkgconfig
-   <=virtual/rust-1.63.0
+   =dev-lang/yasm-1.1 )
lto? ( sys-devel/binutils[gold] )
x86? ( >=dev-lang/yasm-1.1 )
@@ -147,11 +147,11 @@ pkg_setup() {
ewarn "Those belong to upstream: https://bugzilla.mozilla.org;
fi
 
-   if ver_test $(rustc -V | tr -cd '[0-9.]' | cut -d" " -f2) -ge "1.64"; 
then
-   ewarn "Rust-1.64 is currently unsupported for building ${P}."
+   if ver_test $(rustc -V | tr -cd '[0-9.]' | cut -d" " -f2) -ge "1.65"; 
then
+   ewarn "Rust-1.65 or newer is currently unsupported for building 
${P}."
ewarn "Please use 'eselect rust' to switch to a lower version, then 
resume"
ewarn "building ${PN}."
-   die "Rust-1.64 detected. Use eselect rust to choose <1.64"
+   die "Rust-1.65 or newer detected. Use eselect rust to choose <1.65"
fi
 
moz_pkgsetup
@@ -382,32 +382,13 @@ src_configure() {
# use startup-cache for faster startup time
mozconfig_annotate '' --enable-startupcache
 
-   # Elf-hack is known to be broken on x86 and arm64.
+   # Elf-hack is known to be broken on multiple archs.
+   # Disable it by default, because on the archs that still work,
+   # it also gives more problems than it solves.
# https://bugs.gentoo.org/851933
# https://bugzilla.mozilla.org/show_bug.cgi?id=1706264
-   if use x86 || use arm64 ; then
-   mozconfig_annotate 'elf-hack is broken on x86 and arm64' 
--disable-elf-hack
-   fi
-
-   # Elf hack should be enabled by default on architectures that support 
it.
-   # On archs that don't support it, it should not be enabled by default.
-   # www-client/firefox says building with clang breaks elf hack on archs 
that
-   # support it, so they disable that. We assume this is the same for 
www-client/seamonkey.
-   # The code below is copied over from www-client/firefox.
-   if tc-is-clang ; then
-   # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204
-   # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822
-   # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 
'x86', 'x86_64')
-   local disable_elf_hack=
-   if use amd64 ; then
-   disable_elf_hack=yes
-   elif use arm ; then
-   disable_elf_hack=yes
-   fi
-
-   if [[ -n ${disable_elf_hack} ]] ; then
-   mozconfig_annotate 'elf-hack is broken when using 
Clang' --disable-elf-hack
-   fi
+   if use x86 || use arm64 || use arm || use amd64 ; then
+   mozconfig_annotate 'elf-hack is broken' --disable-elf-hack
fi
 
# Disabled by default. See bug 836319 , comment 17.



[gentoo-commits] repo/gentoo:master commit in: eclass/, www-client/seamonkey/

2017-02-05 Thread Lars Wendler
commit: 481b1a8a35c5dc6d1a3b2d221ce5e933120c1218
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Feb  6 01:28:47 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Feb  6 01:29:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=481b1a8a

www-client/seamonkey: Fix build with libevent-2.1

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 eclass/mozconfig-v6.49.eclass | 2 +-
 www-client/seamonkey/Manifest | 4 ++--
 www-client/seamonkey/seamonkey-2.46-r1.ebuild | 6 ++
 3 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/eclass/mozconfig-v6.49.eclass b/eclass/mozconfig-v6.49.eclass
index 283aecd..bc6e7d3 100644
--- a/eclass/mozconfig-v6.49.eclass
+++ b/eclass/mozconfig-v6.49.eclass
@@ -121,7 +121,7 @@ RDEPEND=">=app-text/hunspell-1.2:=
system-cairo? ( >=x11-libs/cairo-1.12[X,xcb] >=x11-libs/pixman-0.19.2 )
system-icu? ( >=dev-libs/icu-56.1:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
-   system-libevent? ( =dev-libs/libevent-2.0*:0= )
+   system-libevent? ( >=dev-libs/libevent-2.0:0= )
system-sqlite? ( >=dev-db/sqlite-3.13.0:3[secure-delete,debug=] )
system-libvpx? ( >=media-libs/libvpx-1.5.0:0=[postproc] )
system-harfbuzz? ( >=media-libs/harfbuzz-1.2.6:0=[graphite,icu] 
>=media-gfx/graphite2-1.3.8 )

diff --git a/www-client/seamonkey/Manifest b/www-client/seamonkey/Manifest
index f50bd39..82db88e 100644
--- a/www-client/seamonkey/Manifest
+++ b/www-client/seamonkey/Manifest
@@ -1,5 +1,5 @@
 DIST enigmail-1.9.6.1.tar.gz 1745021 SHA256 
3874331e981aed864443d3c965d856e003fd84f73e5a89fd5004ced9dc29b96f SHA512 
e6ab69734a39a4953e0167e07b06f0d5c83fb42956515392319a1cd9d665ca274f6a12b4141e2dfa373ef074f0526f3d7330a48d29d600fc38f724d26518ff84
 WHIRLPOOL 
e89b0e5857564cc2f7ebf3ab46b110c6bbb1b16e7c0e045750119fd02e693b9bd9667c2932e7a65f9c8fb2c7c835ed048f6df2613d12b25d961894f47f67cf48
-DIST firefox-49.0-patches-03.tar.xz 12260 SHA256 
05e01e0e52ed0d9930f9655f94023d76ef50fe1b80e5771030d08e515693adc5 SHA512 
246fcbc54424024c0ddb0c2997b3734d2dc42dc768e9ce961bb5fdbc080cb87939de7f305176421cb10b8f49e37f6f256390655df3f17a4b263390a4d2a2b18e
 WHIRLPOOL 
b685e084e6e0db0ac7be8226e6ad18bc781be3bfe3c726bec65fd727e02cbfda844f15648094553a257eb067e4cb1c70b3ae7cfe0958ae4ef4a3178e979b1347
+DIST firefox-49.0-patches-04.tar.xz 13356 SHA256 
4968b4c6a0e326de587af6d389826dd29acd8b8eafc605f7636c637db0a64158 SHA512 
3346cbe0146d6b480336c250c34c5be0a37cf9c738366794b4a03fb9c636ea22294cb517fc59826a0793a4a5723ff2f4cf85384fc405f1c1f14080458282
 WHIRLPOOL 
b0bbf5f307f3d8467e40d76f58e28e0bbf9bed5398e3f17309b7bbdc310350d1d57b02596471b682b997d77bf89bcc3d748af5e0ff19e81a98ab33dcdf4f5210
 DIST seamonkey-2.46-be.xpi 936650 SHA256 
d97376ff92ffcdf04ec08273b60b8750d2c4f65edd71eed734313f72885f45db SHA512 
a48caf48c0f705e991c31f6f0191662c99bcf022e9bec59b6caeaf03cec384f5b45c6a03af1103d0889fed2d19e57ff5c61fc67faad9cc1786993d0e9368a954
 WHIRLPOOL 
5cd5a26c3c7bfc02add5063a18f806ebaf58bde1d621bc3d7185edef776254674aba7c4925ab248158c21c5a90b19d156973f8b4a4ace821df60c9586617f3eb
 DIST seamonkey-2.46-ca.xpi 937577 SHA256 
11adc88aab13826dbb7dd9374f877b80c87a085d75712c976173f243950292a6 SHA512 
cf0d7c4829cae2baa064f8a68bfd827c6d596b9036d50e51f50a7d85faa7b1bd067c7dd84f7062affab6c1282186591c54f1cce60457e76924ae328eabca6505
 WHIRLPOOL 
80daf65a5d75038683f5a8c18f23c79d4f67c9daa7e7090aba8a9d7e610104dae890f45aa81a49a175542fd9c6fe08422f916e7d7d0854d12db7b346f0473be3
 DIST seamonkey-2.46-cs.xpi 936101 SHA256 
4fae0f46a8ba83a72e6c7a50b7ba73153f153055b874fa3e857ebf6867a48ff3 SHA512 
faa70bfbd6b8ecf3bf31ae7da164922ed4618558c62d8263b5655d285c932f0b3fd2e501397845276c4a2d0e519fcfd6d20bf7f0af5323cf5b1c1de94385766e
 WHIRLPOOL 
4dba7015f5702871bf96b55def971c34c02212279c3f4fc1b75336547f11b03ee9c3d837472ddfbff77878cd96dafb43cafd406c4d9a4492ad4a68c3035e78bf
@@ -16,7 +16,7 @@ DIST seamonkey-2.46-ja.xpi 1000175 SHA256 
b3f8a0e23cbd3e235d33d1fb083ff6b5b4d0ab
 DIST seamonkey-2.46-lt.xpi 951611 SHA256 
32ca1b4668234c96c161512e6e7a444d864229d86efdc89caafff5e1d882bd0d SHA512 
dbb61a46407695d1644923ea822a4b32b05ea0e6657b9ad0c75bab97920fd33dd5ec8b3e5f8eeba3c5f2d34219e374bb66ea5bac82f6cf6226b6061f21b205b5
 WHIRLPOOL 
520eb0f92e8a828946f3e8ff4425b48eb475114d800a64aee4ce2e7c41698d7c52939b917f73bedad0ae57a2f14f31fbd82df3840a6ae29e294c1f5439a6dd60
 DIST seamonkey-2.46-nb-NO.xpi 921937 SHA256 
20b93b1f9475fc97a9f86f48d2bbcdeca43015c2cfe62a5a7b4d204dee1d7e0f SHA512 
d808ae3cc7d391611d78154f82c57fd92705481ec5ebafea9aa8bb9fce44302a3f5912ae5d9f0997f84eb7ef08faae666a0f4b14e57dca4b97bc458f8dd72ddb
 WHIRLPOOL 
754ee843e0be9a118b7167858bc70e287059c5f7165f89f671f84c93e0090d750f2238eebbd97281d5f73801d3d844404f7d2acc5b6d5f2d5514b17e56381247
 DIST seamonkey-2.46-nl.xpi 926891 SHA256 
eb9e84781c9c70411ccc199b8ccd6bf96729763ac09210d67d2dbe9178f9b8c4 SHA512 

[gentoo-commits] repo/gentoo:master commit in: eclass/, www-client/seamonkey/

2016-07-08 Thread Ian Stakenvicius
commit: d25d4e07361190b5b4b65c81debd5d0a2f2f37bd
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Sat Jul  9 04:08:22 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Sat Jul  9 04:08:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d25d4e07

www-client/seamonkey-2.38: drop old and vulnerable versions

Also drop mozconfig-v6.41.eclass as this ebuild was the last consumer

Package-Manager: portage-2.2.28

 eclass/mozconfig-v6.41.eclass  | 263 --
 www-client/seamonkey/Manifest  |  27 ---
 www-client/seamonkey/seamonkey-2.38.ebuild | 350 -
 3 files changed, 640 deletions(-)

diff --git a/eclass/mozconfig-v6.41.eclass b/eclass/mozconfig-v6.41.eclass
deleted file mode 100644
index 25a9471..000
--- a/eclass/mozconfig-v6.41.eclass
+++ /dev/null
@@ -1,263 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-#
-# @ECLASS: mozconfig-v6.40.eclass
-# @MAINTAINER:
-# mozilla team 
-# @BLURB: the new mozilla common configuration eclass for FF33 and newer, v6
-# @DESCRIPTION:
-# This eclass is used in mozilla ebuilds (firefox, thunderbird, seamonkey)
-# to provide a single common place for the common mozilla engine compoments.
-#
-# The eclass provides all common dependencies as well as common use flags.
-#
-# Some use flags which may be optional in particular mozilla packages can be
-# supported through setting eclass variables.
-#
-# This eclass inherits mozconfig helper functions as defined in mozcoreconf-v3,
-# and so ebuilds inheriting this eclass do not need to inherit that.
-
-inherit multilib flag-o-matic toolchain-funcs mozcoreconf-v3
-
-case ${EAPI} in
-   0|1|2|3|4) die "EAPI=${EAPI} not supported"
-esac
-
-# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI
-# @DESCRIPTION:
-# Set this variable before the inherit line, when an ebuild needs to provide
-# optional necko-wifi support via IUSE="wifi".  Currently this would include
-# ebuilds for firefox, and potentially seamonkey.
-#
-# Leave the variable UNSET if necko-wifi support should not be available.
-# Set the variable to "enabled" if the use flag should be enabled by default.
-# Set the variable to any value if the use flag should exist but not be 
default-enabled.
-
-# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_JIT
-# @DESCRIPTION:
-# Set this variable before the inherit line, when an ebuild needs to provide
-# optional necko-wifi support via IUSE="jit".  Currently this would include
-# ebuilds for firefox, and potentially seamonkey.
-#
-# Leave the variable UNSET if optional jit support should not be available.
-# Set the variable to "enabled" if the use flag should be enabled by default.
-# Set the variable to any value if the use flag should exist but not be 
default-enabled.
-
-# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_GTK3
-# @DESCRIPTION:
-# Set this variable before the inherit line, when an ebuild can provide
-# optional gtk3 support via IUSE="gtk3".  Currently this would include
-# ebuilds for firefox, but thunderbird and seamonkey could follow in the 
future.
-#
-# Leave the variable UNSET if gtk3 support should not be available.
-# Set the variable to "enabled" if the use flag should be enabled by default.
-# Set the variable to any value if the use flag should exist but not be 
default-enabled.
-
-# use-flags common among all mozilla ebuilds
-IUSE="${IUSE} dbus debug gstreamer gstreamer-0 +jemalloc3 pulseaudio selinux 
startup-notification system-cairo system-icu system-jpeg system-sqlite 
system-libvpx"
-
-# some notes on deps:
-# gtk:2 minimum is technically 2.10 but gio support (enabled by default) needs 
2.14
-# media-libs/mesa needs to be 10.2 or above due to a bug with flash+vdpau
-
-RDEPEND=">=app-text/hunspell-1.2
-   dev-libs/atk
-   dev-libs/expat
-   >=dev-libs/libevent-1.4.7
-   >=x11-libs/cairo-1.10[X]
-   >=x11-libs/gtk+-2.18:2
-   x11-libs/gdk-pixbuf
-   >=x11-libs/pango-1.22.0
-   >=media-libs/libpng-1.6.17:0=[apng]
-   >=media-libs/mesa-10.2:*
-   media-libs/fontconfig
-   >=media-libs/freetype-2.4.10
-   kernel_linux? ( media-libs/alsa-lib )
-   pulseaudio? ( media-sound/pulseaudio )
-   virtual/freedesktop-icon-theme
-   dbus? ( >=sys-apps/dbus-0.60
-   >=dev-libs/dbus-glib-0.72 )
-   startup-notification? ( >=x11-libs/startup-notification-0.8 )
-   >=dev-libs/glib-2.26:2
-   >=sys-libs/zlib-1.2.3
-   >=virtual/libffi-3.0.10
-   gstreamer? (
-   >=media-libs/gstreamer-1.4.5:1.0
-   >=media-libs/gst-plugins-base-1.4.5:1.0
-   >=media-libs/gst-plugins-good-1.4.5:1.0
-   >=media-plugins/gst-plugins-libav-1.4.5:1.0
-   )
-   gstreamer-0? (
-   >=media-libs/gstreamer-0.10.25:0.10
-   media-plugins/gst-plugins-meta:0.10[ffmpeg]
-   )
-