From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/seamonkey/
Date: Fri, 12 Mar 2021 15:13:48 +0000 (UTC) [thread overview]
Message-ID: <1615562006.b1d5dcf99ab9d2d7bfc5a3c3c52700d06de614a7.asturm@gentoo> (raw)
commit: b1d5dcf99ab9d2d7bfc5a3c3c52700d06de614a7
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 12 13:23:26 2021 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Mar 12 15:13:26 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1d5dcf9
www-client/seamonkey: EAPI-7 bump, use https, missing desktop.eclass
Some more predictable ebuild variable ordering.
Add missing pkg_postrm() phase for running xdg_desktop_database_update.
Bug: https://bugs.gentoo.org/770280
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
www-client/seamonkey/seamonkey-2.53.7_beta1.ebuild | 84 ++++++++++------------
1 file changed, 39 insertions(+), 45 deletions(-)
diff --git a/www-client/seamonkey/seamonkey-2.53.7_beta1.ebuild b/www-client/seamonkey/seamonkey-2.53.7_beta1.ebuild
index 8d982f5c12f..24e95820683 100644
--- a/www-client/seamonkey/seamonkey-2.53.7_beta1.ebuild
+++ b/www-client/seamonkey/seamonkey-2.53.7_beta1.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+
WANT_AUTOCONF="2.1"
PYTHON_COMPAT=( python3_{7..9} )
@@ -27,37 +28,35 @@ else
MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases/${MOZ_PV}"
fi
-S="${WORKDIR}/${MY_MOZ_P}"
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"
+S="${WORKDIR}/${MY_MOZ_P}"
MOZ_GENERATE_LANGPACKS=1
MOZ_L10N_SOURCEDIR="${S}/${P}-l10n"
-inherit autotools check-reqs flag-o-matic mozcoreconf-v6 mozextension mozlinguas-v2 pax-utils toolchain-funcs xdg-utils
-
-PATCH="${PN}-2.53.6_beta1-patches-01"
+inherit autotools check-reqs desktop flag-o-matic mozcoreconf-v6 mozextension mozlinguas-v2 pax-utils toolchain-funcs xdg-utils
DESCRIPTION="Seamonkey Web Browser"
-HOMEPAGE="http://www.seamonkey-project.org"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-
-SLOT="0"
-LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
-SYSTEM_IUSE=( +system-{av1,harfbuzz,icu,jpeg,libevent,libvpx,sqlite} )
-IUSE="+chatzilla +crypt dbus debug +gmp-autoupdate +ipc jack lto minimal
-neon pulseaudio +roaming selinux startup-notification ${SYSTEM_IUSE[@]} test
-wifi"
-RESTRICT="!test? ( test )"
+HOMEPAGE="https://www.seamonkey-project.org/"
+PATCH="${PN}-2.53.6_beta1-patches-01"
SRC_URI+="
https://dev.gentoo.org/~polynomial-c/mozilla/patchsets/${PATCH}.tar.xz
system-libvpx? ( https://dev.gentoo.org/~polynomial-c/mozilla/${PN}-2.53.3-system_libvpx-1.8.patch.xz )
"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+SLOT="0"
+SYSTEM_IUSE=( +system-{av1,harfbuzz,icu,jpeg,libevent,libvpx,sqlite} )
+IUSE="+chatzilla +crypt dbus debug +gmp-autoupdate +ipc jack lto minimal neon
+pulseaudio +roaming selinux startup-notification ${SYSTEM_IUSE[@]} test wifi"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+RESTRICT="!test? ( test )"
+
ASM_DEPEND=">=dev-lang/yasm-1.1"
-# Convert to BDEPEND once the ebuild goes EAPI-7
-DEPEND="
+BDEPEND="
app-arch/unzip
app-arch/zip
dev-lang/perl
@@ -65,15 +64,10 @@ DEPEND="
>=sys-devel/binutils-2.16.1
virtual/pkgconfig
>=virtual/rust-1.34.0
- amd64? (
- ${ASM_DEPEND}
- )
+ amd64? ( ${ASM_DEPEND} )
lto? ( sys-devel/binutils[gold] )
- x86? (
- ${ASM_DEPEND}
- )
+ x86? ( ${ASM_DEPEND} )
"
-
COMMON_DEPEND="
>=app-text/hunspell-1.5.4:=
dev-libs/atk
@@ -134,20 +128,17 @@ COMMON_DEPEND="
)
)
"
-RDEPEND="
- ${COMMON_DEPEND}
+RDEPEND="${COMMON_DEPEND}
selinux? ( sec-policy/selinux-mozilla )
"
-DEPEND+="${COMMON_DEPEND}
+DEPEND="${COMMON_DEPEND}
amd64? ( virtual/opengl )
x86? ( virtual/opengl )
"
# allow GMP_PLUGIN_LIST to be set in an eclass or
# overridden in the enviromnent (advanced hackers only)
-if [[ -z ${GMP_PLUGIN_LIST} ]] ; then
- GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm )
-fi
+[[ -z ${GMP_PLUGIN_LIST} ]] && GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm )
BUILD_OBJ_DIR="${S}/seamonk"
@@ -302,14 +293,14 @@ src_configure() {
fi
# These are enabled by default in all mozilla applications
- mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${SYSROOT}${EPREFIX%/}"/usr
- mozconfig_annotate '' --with-system-nss --with-nss-prefix="${SYSROOT}${EPREFIX%/}"/usr
- mozconfig_annotate '' --x-includes="${SYSROOT}${EPREFIX%/}"/usr/include --x-libraries="${SYSROOT}${EPREFIX%/}"/usr/$(get_libdir)
+ mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${SYSROOT}${EPREFIX}"/usr
+ mozconfig_annotate '' --with-system-nss --with-nss-prefix="${SYSROOT}${EPREFIX}"/usr
+ mozconfig_annotate '' --x-includes="${SYSROOT}${EPREFIX}"/usr/include --x-libraries="${SYSROOT}${EPREFIX}"/usr/$(get_libdir)
if use system-libevent ; then
- mozconfig_annotate '' --with-system-libevent="${SYSROOT}${EPREFIX%/}"/usr
+ mozconfig_annotate '' --with-system-libevent="${SYSROOT}${EPREFIX}"/usr
fi
- mozconfig_annotate '' --prefix="${EPREFIX%/}"/usr
- mozconfig_annotate '' --libdir="${EPREFIX%/}"/usr/$(get_libdir)
+ mozconfig_annotate '' --prefix="${EPREFIX}"/usr
+ mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir)
mozconfig_annotate 'Gentoo default' --enable-system-hunspell
mozconfig_annotate '' --disable-crashreporter
mozconfig_annotate 'Gentoo default' --with-system-png
@@ -360,8 +351,7 @@ src_configure() {
if [[ ${CHOST} == armv* ]] ; then
mozconfig_annotate '' --with-float-abi=hard
if ! use system-libvpx ; then
- sed -i -e "s|softfp|hard|" \
- media/libvpx/moz.build || die
+ sed -i -e "s|softfp|hard|" media/libvpx/moz.build || die
fi
fi
@@ -438,7 +428,7 @@ src_configure() {
export MOZ_NOSPAM=1
# workaround for funky/broken upstream configure...
- SHELL="${SHELL:-${EPREFIX%/}/bin/bash}" \
+ SHELL="${SHELL:-${EPREFIX}/bin/bash}" \
emake V=1 -f client.mk configure
#./mach configure || die
}
@@ -453,7 +443,7 @@ src_compile() {
src_install() {
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
- DICTPATH="\"${EPREFIX%/}/usr/share/myspell\""
+ DICTPATH="\"${EPREFIX}/usr/share/myspell\""
local emid
cd "${BUILD_OBJ_DIR}" || die
@@ -483,7 +473,7 @@ src_install() {
done
fi
- MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX%/}/bin/bash}" \
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX}/bin/bash}" \
emake DESTDIR="${D}" install
MOZ_P="${MY_MOZ_P}" mozlinguas_src_install
@@ -499,18 +489,18 @@ src_install() {
domenu "${T}"/${PN}.desktop
# Required in order to use plugins and even run seamonkey on hardened.
- pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/{seamonkey,seamonkey-bin,plugin-container}
+ pax-mark m "${ED}"/${MOZILLA_FIVE_HOME}/{seamonkey,seamonkey-bin,plugin-container}
if use minimal ; then
- rm -rf "${ED}"/usr/include "${ED}${MOZILLA_FIVE_HOME}"/{idl,include,lib,sdk}
+ rm -r "${ED}"/usr/include "${ED}/${MOZILLA_FIVE_HOME}"/{idl,include,lib,sdk} || die
fi
if use chatzilla ; then
emid='{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}'
# remove the en_US-only xpi file so a version with all requested locales can be installed
- if [[ -e "${ED}"${MOZILLA_FIVE_HOME}/distribution/extensions/${emid}.xpi ]] ; then
- rm -f "${ED}"${MOZILLA_FIVE_HOME}/distribution/extensions/${emid}.xpi || die
+ if [[ -e "${ED}"/${MOZILLA_FIVE_HOME}/distribution/extensions/${emid}.xpi ]] ; then
+ rm -f "${ED}"/${MOZILLA_FIVE_HOME}/distribution/extensions/${emid}.xpi || die
fi
# merge the extra locales into the main extension
@@ -557,3 +547,7 @@ pkg_postinst() {
elog "the Add-on manager."
fi
}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}
next reply other threads:[~2021-03-12 15:13 UTC|newest]
Thread overview: 198+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-12 15:13 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-29 14:22 [gentoo-commits] repo/gentoo:master commit in: www-client/seamonkey/ Arthur Zamarin
2025-03-29 14:22 Arthur Zamarin
2025-02-13 9:28 Joonas Niilola
2025-02-13 9:28 Joonas Niilola
2025-02-03 17:35 Andreas K. Hüttel
2024-10-25 11:09 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-12 8:38 Joonas Niilola
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-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=1615562006.b1d5dcf99ab9d2d7bfc5a3c3c52700d06de614a7.asturm@gentoo \
--to=asturm@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