From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RT8YE-0004Ij-1L for garchives@archives.gentoo.org; Wed, 23 Nov 2011 08:51:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6104021C03E; Wed, 23 Nov 2011 08:51:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2468421C03E for ; Wed, 23 Nov 2011 08:51:22 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 628881B4001 for ; Wed, 23 Nov 2011 08:51:21 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2245) id 2F8B32004B; Wed, 23 Nov 2011 08:51:19 +0000 (UTC) From: "Lars Wendler (polynomial-c)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, polynomial-c@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in www-client/seamonkey-bin: ChangeLog seamonkey-bin-2.5.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog seamonkey-bin-2.5.ebuild X-VCS-Directories: www-client/seamonkey-bin X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler Content-Type: text/plain; charset=utf8 Message-Id: <20111123085119.2F8B32004B@flycatcher.gentoo.org> Date: Wed, 23 Nov 2011 08:51:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 9c655017-4e8b-443e-8d97-9eee15eee95b X-Archives-Hash: 5c7afb7b05c816f06a1c5c772588b352 polynomial-c 11/11/23 08:51:19 Modified: ChangeLog Added: seamonkey-bin-2.5.ebuild Log: Version bump =20 (Portage version: 2.2.0_alpha77/cvs/Linux x86_64) Revision Changes Path 1.107 www-client/seamonkey-bin/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonk= ey-bin/ChangeLog?rev=3D1.107&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonk= ey-bin/ChangeLog?rev=3D1.107&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonk= ey-bin/ChangeLog?r1=3D1.106&r2=3D1.107 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v retrieving revision 1.106 retrieving revision 1.107 diff -u -r1.106 -r1.107 --- ChangeLog 16 Nov 2011 08:51:20 -0000 1.106 +++ ChangeLog 23 Nov 2011 08:51:19 -0000 1.107 @@ -1,6 +1,12 @@ # ChangeLog for www-client/seamonkey-bin # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v = 1.106 2011/11/16 08:51:20 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v = 1.107 2011/11/23 08:51:19 polynomial-c Exp $ + +*seamonkey-bin-2.5 (23 Nov 2011) + + 23 Nov 2011; Lars Wendler + +seamonkey-bin-2.5.ebuild: + Version bump. =20 *seamonkey-bin-2.4.1 (16 Nov 2011) =20 1.1 www-client/seamonkey-bin/seamonkey-bin-2.5.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonk= ey-bin/seamonkey-bin-2.5.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonk= ey-bin/seamonkey-bin-2.5.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: seamonkey-bin-2.5.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin= -2.5.ebuild,v 1.1 2011/11/23 08:51:19 polynomial-c Exp $ EAPI=3D"4" inherit eutils mozilla-launcher multilib mozextension pax-utils LANGS=3D(be ca cs de en-GB en-US es-AR es-ES fi fr gl hu it ja lt nb-NO nl pl pt-PT ru sk sv-SE tr zh-CN) MY_PV=3D"${PV/_alpha/a}" MY_P=3D"${PN}-${MY_PV}" DESCRIPTION=3D"Mozilla Application Suite - web browser, email, HTML edito= r, IRC" HTTP_URI=3D"http://releases.mozilla.org/pub/mozilla.org/seamonkey/release= s/${MY_PV}/" SRC_URI=3D" amd64? ( ${HTTP_URI}/contrib/seamonkey-${MY_PV}.en-US.linux-x86_64.tar.b= z2 -> ${PN}_x86_64-${PV}.tar.bz2 ) x86? ( ${HTTP_URI}/linux-i686/en-US/seamonkey-${MY_PV}.tar.bz2 -> ${PN}_= i686-${PV}.tar.bz2 )" HOMEPAGE=3D"http://www.seamonkey-project.org/" RESTRICT=3D"strip" QA_EXECSTACK=3D"opt/seamonkey/*" KEYWORDS=3D"-* ~amd64 ~x86" SLOT=3D"0" LICENSE=3D"|| ( MPL-1.1 GPL-2 LGPL-2.1 )" IUSE=3D"startup-notification" DEPEND=3D"app-arch/unzip" RDEPEND=3D"dev-libs/dbus-glib >=3Dmedia-libs/alsa-lib-1.0.16 >=3Dx11-libs/gtk+-2.10:2 x11-libs/libXrender x11-libs/libXt x11-libs/libXmu ! ${P/-bin/= }-${X}.xpi )" fi IUSE=3D"${IUSE} linguas_${X/-/_}" # Install all the specific locale xpis if there's no generic locale xpi # Example: there's no pt.xpi, so install all pt-*.xpi if ! has ${X%%-*} "${LANGS[@]}"; then SRC_URI=3D"${SRC_URI} linguas_${X%%-*}? ( ${HTTP_URI}/langpack/seamonkey-${MY_PV}.${X}.langpack.xpi -> ${P/-bin/= }-${X}.xpi )" IUSE=3D"${IUSE} linguas_${X%%-*}" fi done linguas() { # Generate the list of language packs called "linguas" # This list is used to install the xpi language packs local LINGUA for LINGUA in ${LINGUAS}; do if has ${LINGUA} en en_US; then # For mozilla products, en and en_US are handled internally continue # If this language is supported by ${P}, elif has ${LINGUA} "${LANGS[@]//-/_}"; then # Add the language to linguas, if it isn't already there has ${LINGUA//_/-} "${linguas[@]}" || linguas+=3D(${LINGUA//_/-}) continue # For each short LINGUA that isn't in LANGS, # add *all* long LANGS to the linguas list elif ! has ${LINGUA%%-*} "${LANGS[@]}"; then for LANG in "${LANGS[@]}"; do if [[ ${LANG} =3D=3D ${LINGUA}-* ]]; then has ${LANG} "${linguas[@]}" || linguas+=3D(${LANG}) continue 2 fi done fi ewarn "Sorry, but ${P} does not support the ${LINGUA} locale" done } src_unpack() { unpack ${A} linguas for X in "${linguas[@]}"; do # FIXME: Add support for unpacking xpis to portage [[ ${X} !=3D "en" ]] && xpi_unpack "${P/-bin/}-${X}.xpi" done if [[ "${linguas[*]}" !=3D "" && "${linguas[*]}" !=3D "en" ]]; then einfo "Selected language packs (first will be default): ${linguas[*]}" fi } src_install() { declare MOZILLA_FIVE_HOME=3D/opt/seamonkey # Install seamonkey in /opt dodir ${MOZILLA_FIVE_HOME%/*} mv "${S}" "${D}${MOZILLA_FIVE_HOME}" linguas for X in "${linguas[@]}"; do [[ ${X} !=3D "en" ]] && xpi_install "${WORKDIR}"/"${P/-bin/}-${X}" done local LANG=3D${linguas%% *} if [[ -n ${LANG} && ${LANG} !=3D "en" ]]; then elog "Setting default locale to ${LANG}" echo "pref(\"general.useragent.locale\", \"${LANG}\");" \ >> "${D}${MOZILLA_FIVE_HOME}"/defaults/pref/${PN}-prefs.js || \ die "sed failed to change locale" fi # Create /usr/bin/seamonkey-bin dodir /usr/bin/ cat <"${D}"/usr/bin/seamonkey-bin #!/bin/sh unset LD_PRELOAD exec /opt/seamonkey/seamonkey "\$@" EOF fperms 0755 /usr/bin/seamonkey-bin # Install icon and .desktop for menu entry doicon "${FILESDIR}/icon/${PN}.png" domenu "${FILESDIR}/icon/${PN}.desktop" if use startup-notification; then echo "StartupNotify=3Dtrue" >> "${D}"/usr/share/applications/${PN}.d= esktop fi # revdep-rebuild entry insinto /etc/revdep-rebuild doins "${FILESDIR}"/10${PN} || die ln -sfn "/usr/$(get_libdir)/nsbrowser/plugins" \ "${D}${MOZILLA_FIVE_HOME}/plugins" || die # Required in order to use plugins and even run seamonkey on hardened. pax-mark m "${ED}"/${MOZILLA_FIVE_HOME}/{seamonkey,seamonkey-bin,plugin-= container} }