summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2012-03-25 23:15:42 +0000
committerLars Wendler <polynomial-c@gentoo.org>2012-03-25 23:15:42 +0000
commitb83f67e171cbbeba0e43ec481649bcb3aeb5d1f9 (patch)
treec913d22e953967cbc40defe7430c523e537162d9 /www-client
parentCommit signed manifest (diff)
downloadhistorical-b83f67e171cbbeba0e43ec481649bcb3aeb5d1f9.tar.gz
historical-b83f67e171cbbeba0e43ec481649bcb3aeb5d1f9.tar.bz2
historical-b83f67e171cbbeba0e43ec481649bcb3aeb5d1f9.zip
Revbump for latest ff-11 patchset (v0.3)
Package-Manager: portage-2.2.0_alpha95/cvs/Linux x86_64
Diffstat (limited to 'www-client')
-rw-r--r--www-client/seamonkey/ChangeLog7
-rw-r--r--www-client/seamonkey/Manifest24
-rw-r--r--www-client/seamonkey/seamonkey-2.8-r1.ebuild285
3 files changed, 309 insertions, 7 deletions
diff --git a/www-client/seamonkey/ChangeLog b/www-client/seamonkey/ChangeLog
index 1b0205f00281..d588147d7d81 100644
--- a/www-client/seamonkey/ChangeLog
+++ b/www-client/seamonkey/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-client/seamonkey
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/ChangeLog,v 1.367 2012/03/25 15:34:17 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/ChangeLog,v 1.368 2012/03/25 23:15:42 polynomial-c Exp $
+
+*seamonkey-2.8-r1 (25 Mar 2012)
+
+ 25 Mar 2012; Lars Wendler <polynomial-c@gentoo.org> +seamonkey-2.8-r1.ebuild:
+ Revbump for latest ff-11 patchset (v0.3).
25 Mar 2012; Thomas Kahle <tomka@gentoo.org> seamonkey-2.8.ebuild:
marked x86 per bug 408161
diff --git a/www-client/seamonkey/Manifest b/www-client/seamonkey/Manifest
index ad02c46f1405..a60bf32936d1 100644
--- a/www-client/seamonkey/Manifest
+++ b/www-client/seamonkey/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA512
AUX Copy_xpcshell_only_if_tests_are_enabled.patch 2828 RMD160 a69ed581831c0d4c674c650d6ce38e279d593d8e SHA1 0cd598d09424beaca1dc387c75575cd49fbd9f39 SHA256 38686ca5bcfb06501e1f82ee0f98a359a71c44a9789ce33413439e28495bfb0e
AUX all-gentoo-1.js 957 RMD160 0f8662577dfad72d786c196ab804f7cc9cd3f9f6 SHA1 22c105f15e2e86878b743fe516386fd6823fbb3f SHA256 9a0a0f220719bfa7e03b9cb3a5ccdbc9c5d43f75b443eceed65a8f3cb43b21d5
@@ -17,6 +17,7 @@ DIST enigmail-1.4.tar.gz 1323467 RMD160 b3c717e150c826faae1daa09806e07dd16619c51
DIST firefox-10.0-patches-0.5.tar.xz 16708 RMD160 40ccd212e16d4e5dd389db95aa7be0fe68361073 SHA1 3ca7cb54cdc2b704fe468cc26e1818648635b514 SHA256 981f40b1f2f12439d1301a0f7f4171aee4b84b16fe6b926344b63750efb21158
DIST firefox-10.0-patches-0.6.tar.xz 17400 RMD160 aef02ec0471a0136a0f60ad08874f688afa66d15 SHA1 48d8a41370c052e7efaa9af25c9da95e03d38f2e SHA256 7cd959597a45fdbd6acbb8092c63d1fcf58beb32b99140f6c05109005a0db05d
DIST firefox-11.0-patches-0.1.tar.xz 12632 RMD160 2e579ed97910225eb42670b299177128374e9493 SHA1 c1a5a8cc3110406e7b1913cc99e7d1b601e88bf6 SHA256 0e073f0394d631346e273592e2c89879f6d47ecd58e7c8a25ff58d8510db4364
+DIST firefox-11.0-patches-0.3.tar.xz 15948 RMD160 f8e2a4e16800cc1c91812ca0f2bc7e1429f6d90d SHA1 a574bb5d39929ec7d78ae481af5c7bf5d2c6dcf3 SHA256 3be860dc7f82ef20814a259bdb731cc7c06956646b8de1fb48e88b0640dcf1f8
DIST seamonkey-2.0.11-patches-01.tar.bz2 17740 RMD160 00747880b61bab159a48cca01766dd788fdbfcee SHA1 5f3be090d2d65d361b2b337fbd2c30b589cdfa3d SHA256 1d032cdb98a65910b4ec5c64e4649b7a25fc2a8f604b0ae2f7a24199d408e76e
DIST seamonkey-2.0.14-be.xpi 482603 RMD160 c70bea0d4d877112d9624c20c82445599188b736 SHA1 a3413bdbaaea8032717bbb0e10fee24f1b89e9f9 SHA256 c803810ff7942252519cb89b25665416a11251281f435909626e5fb5a514f6a5
DIST seamonkey-2.0.14-ca.xpi 488176 RMD160 761a5ce8bc202156f98bd340f26c080614640314 SHA1 24d917d90a066360a9814d74a0e60a4d2037a3c5 SHA256 1fa18a23049110de5d08fa58796dce6fb3d71d6ef4aa73dec480a3b09e73726e
@@ -122,13 +123,24 @@ EBUILD seamonkey-2.0.14-r1.ebuild 9981 RMD160 2691c56274226f2384a7cd6b1d55ae7a4b
EBUILD seamonkey-2.4.1-r1.ebuild 9894 RMD160 71eff4c009b155c4d7da75e38cbeb8cd324d5457 SHA1 59ce12de043d7f8e7ef7654ccf9f6684cc310353 SHA256 e1adaccd7aafeafc4ba768842a5adbb36624873ce9ee28f078ecd55c05591429
EBUILD seamonkey-2.7.1-r1.ebuild 8011 RMD160 acd92b2c465783e3af10068f8d0612cff75cba7d SHA1 520e2c0cc8aaebac82bb8ceae5ac75cb582439c7 SHA256 7fd19c74f10ae97f34c2b06c05293b54b3a29b44900150a582a00ba8dfd01f28
EBUILD seamonkey-2.7.1.ebuild 7947 RMD160 2ecb39a5c9ac5dbdcd2b4ca335dd0a1750a61c53 SHA1 16100d451980d1d8c66bad4a2047f430ac851c34 SHA256 cedb0f758b82212bb280b8506bbf7ae9f12242457378b45ad08d861f39a0f162
+EBUILD seamonkey-2.8-r1.ebuild 8056 RMD160 ae6c26efec1f2e4fe04ec615e70d85ef43627ab3 SHA1 10c28719130462a4d1f6e80e19552b49a18d1597 SHA256 1bf57ca8466b500481b3cf0daf34ab8e41c79be220e7b791bd45979824e75713
EBUILD seamonkey-2.8.ebuild 8044 RMD160 4dfd462f2c0ec3f30c96d669fc7a2890f1ded243 SHA1 e5b00d564c5b40c7bf59603ce2a6189e35c22beb SHA256 0cec197a7f26c6b19964ee6fc5bc043596cb437cee36a443900ec164fd6b86b9
-MISC ChangeLog 50364 RMD160 be3963a4b360f9cef7a3b49086e22ca17bdca313 SHA1 b869fba83b19416b436900df5601191e5c4b786a SHA256 cec6be67350a840c189e58d435be85cb6fefcf284314ae4ae1176deda0f32c8c
+MISC ChangeLog 50529 RMD160 fbd3ef2d6c8b45e5b1a2b9082417904ade864ecb SHA1 b3b53540406fb9169b5952c0657b2d1bd72a0002 SHA256 3938d986ea903324afdf7454d384e4a6c89ca922082bd036af0f7f912aa91d87
MISC metadata.xml 1203 RMD160 07b5c5905b728e0b7521bb4439202ae1cec77c3a SHA1 f42d497b2df9c49c60cb90c12133cb606bef00ee SHA256 fb43305a3b286be0abe32304ef90b2a2611bd3f2fdc55419904b1e7b2af04178
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iF4EAREIAAYFAk9vOv4ACgkQodBTJSDyo66OeAD/RJMEUcpHFf+T638WIhbNdQux
-uKXLIj0atO6ycqJe5Q4A/0eTITtuhSYC7G5uTd33UrbHczkkMT1p6HfeQoHX1GXs
-=yhLA
+iQIcBAEBCgAGBQJPb6ckAAoJEPiazRVxLXTFCxwQAN7X1qxVXiyOoDkwrNurI1cd
+kXSdDAEkxS26K0WXE49NSnV7zZyMn1tKX0bNC+Oli8TycIy5ohz7Qw1O82PgumOE
+/nAUgLApeSvCNuEwrfrrhKW2BEsVgm60JY5+CB1jB0Os6s+xxnsUCN6i5ABq3c0Q
+1xRXdtRdAmV9og2FKqmp7gMKNAG7txZTZPJnoVvxB38YhZ3iK+O0RUKuhoxFRcKF
+9sIaheGa3bwYPiv8ZbfIAkqNoeesjDm8DadxxZ9IXPYXk3D8dVXDUutL49u+Sfnd
+9/r4EJBHAa0WrzIldxO746P8edNTJbngYRl7LDktYIMkRoHauJd8RLImBMfLeTuw
+WW/GyOpSIE01f6/MSPzjbYaoOwRRsfbfITWeUkE91FWo8odPyKxaK6KaO1pZsG9Y
+qT382zmW2rgLzkXnRMm3vQD1DNdnDIjcNgSqWYbvktAinvWKCml64HDw14dJTR8/
+ApsoSlUXFC0LgZPKSXB2VQB0BJc7mtZnlI/wadJBHE6dq/3h3EYduFmF8x2qc1bZ
+HPtSd3yEiidQMS7/WS0qLV4ZBdf9OH33e0XislGxUGrRYuQCozXQyNb0mZXbkh65
+PuqoNzKTH5wfMSROYOmd2hshyzEvj7RQgF+0w2FN4N0dSpbj6OAqmUHq8bAjqGRE
+zXAgRS782dofpKtAXUCe
+=gCFP
-----END PGP SIGNATURE-----
diff --git a/www-client/seamonkey/seamonkey-2.8-r1.ebuild b/www-client/seamonkey/seamonkey-2.8-r1.ebuild
new file mode 100644
index 000000000000..c2880122ec10
--- /dev/null
+++ b/www-client/seamonkey/seamonkey-2.8-r1.ebuild
@@ -0,0 +1,285 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/seamonkey-2.8-r1.ebuild,v 1.1 2012/03/25 23:15:42 polynomial-c Exp $
+
+EAPI="3"
+WANT_AUTOCONF="2.1"
+
+# This list can be updated with scripts/get_langs.sh from the mozilla overlay
+MOZ_LANGS=(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)
+
+MOZ_PV="${PV/_pre*}"
+MOZ_PV="${MOZ_PV/_alpha/a}"
+MOZ_PV="${MOZ_PV/_beta/b}"
+MOZ_PV="${MOZ_PV/_rc/rc}"
+MOZ_P="${PN}-${MOZ_PV}"
+
+if [[ ${PV} == *_pre* ]] ; then
+ MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/${PN}/nightly/${MOZ_PV}-candidates/build${PV##*_pre}"
+ MOZ_LANGPACK_PREFIX="linux-i686/xpi/"
+ # And the langpack stuff stays at eclass defaults
+else
+ MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/${PN}/releases/${MOZ_PV}"
+ MOZ_LANGPACK_PREFIX="langpack/${MOZ_P}."
+ MOZ_LANGPACK_SUFFIX=".langpack.xpi"
+fi
+
+inherit flag-o-matic toolchain-funcs eutils mozconfig-3 multilib pax-utils fdo-mime autotools mozextension python nsplugins mozlinguas
+
+PATCHFF="firefox-11.0-patches-0.3"
+PATCH="${PN}-2.7-patches-03"
+EMVER="1.4"
+
+DESCRIPTION="Seamonkey Web Browser"
+HOMEPAGE="http://www.seamonkey-project.org"
+
+if [[ ${PV} == *_pre* ]] ; then
+ # pre-releases. No need for arch teams to change KEYWORDS here.
+
+ KEYWORDS=""
+else
+ # This is where arch teams should change the KEYWORDS.
+
+ KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86"
+fi
+
+SLOT="0"
+LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
+IUSE="+alsa +chatzilla +crypt +ipc +roaming system-sqlite +webm"
+
+SRC_URI+="${SRC_URI}
+ ${MOZ_FTP_URI}/source/${MOZ_P}.source.tar.bz2 -> ${P}.source.tar.bz2
+ http://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCHFF}.tar.xz
+ http://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCH}.tar.xz
+ crypt? ( http://www.mozilla-enigmail.org/download/source/enigmail-${EMVER}.tar.gz )"
+
+ASM_DEPEND=">=dev-lang/yasm-1.1"
+
+# Mesa 7.10 needed for WebGL + bugfixes
+RDEPEND=">=sys-devel/binutils-2.16.1
+ >=dev-libs/nss-3.13.2
+ >=dev-libs/nspr-4.9
+ >=dev-libs/glib-2.26
+ >=media-libs/mesa-7.10
+ >=media-libs/libpng-1.4.1[apng]
+ >=x11-libs/cairo-1.10
+ >=x11-libs/pango-1.14.0
+ >=x11-libs/gtk+-2.14
+ virtual/libffi
+ system-sqlite? ( >=dev-db/sqlite-3.7.7.1[fts3,secure-delete,unlock-notify,debug=] )
+ crypt? ( >=app-crypt/gnupg-1.4 )
+ webm? ( >=media-libs/libvpx-1.0.0
+ media-libs/alsa-lib )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ webm? ( amd64? ( ${ASM_DEPEND} )
+ x86? ( ${ASM_DEPEND} ) )"
+
+if [[ ${PV} == *beta* ]] ; then
+ S="${WORKDIR}/comm-beta"
+else
+ S="${WORKDIR}/comm-release"
+fi
+
+src_unpack() {
+ unpack ${A}
+
+ # Unpack language packs
+ mozlinguas_src_unpack
+}
+
+pkg_setup() {
+ if [[ ${PV} == *_pre* ]] ; then
+ ewarn "You're using an unofficial release of ${PN}. Don't file any bug in"
+ ewarn "Gentoo's Bugtracker against this package in case it breaks for you."
+ ewarn "Those belong to upstream: https://bugzilla.mozilla.org"
+ fi
+
+ moz_pkgsetup
+}
+
+src_prepare() {
+ # Apply our patches
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ epatch "${WORKDIR}/seamonkey"
+
+ # browser patches go here
+ pushd "${S}"/mozilla &>/dev/null || die
+ EPATCH_EXCLUDE="2000-firefox_gentoo_install_dirs.patch" \
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ epatch "${WORKDIR}/firefox"
+ popd &>/dev/null || die
+
+ # Allow user to apply any additional patches without modifing ebuild
+ epatch_user
+
+ if use crypt ; then
+ mv "${WORKDIR}"/enigmail "${S}"/mailnews/extensions/enigmail
+ #cd "${S}"/mailnews/extensions/enigmail || die
+ #cd "${S}"
+ fi
+
+ #Ensure we disable javaxpcom by default to prevent configure breakage
+ sed -i -e s:MOZ_JAVAXPCOM\=1::g "${S}"/mozilla/xulrunner/confvars.sh \
+ || die "sed javaxpcom"
+
+ # Disable gnomevfs extension
+ sed -i -e "s:gnomevfs::" "${S}/"suite/confvars.sh \
+ || die "Failed to remove gnomevfs extension"
+
+ eautoreconf
+ cd "${S}"/mozilla
+ eautoconf
+}
+
+src_configure() {
+ declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+ MEXTENSIONS=""
+
+ ####################################
+ #
+ # mozconfig, CFLAGS and CXXFLAGS setup
+ #
+ ####################################
+
+ mozconfig_init
+ mozconfig_config
+
+ # It doesn't compile on alpha without this LDFLAGS
+ use alpha && append-ldflags "-Wl,--no-relax"
+
+ if use chatzilla ; then
+ MEXTENSIONS+=",irc"
+ else
+ MEXTENSIONS+=",-irc"
+ fi
+ if ! use roaming ; then
+ MEXTENSIONS+=",-sroaming"
+ fi
+
+ mozconfig_annotate '' --prefix="${EPREFIX}"/usr
+ mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir)
+ mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
+ mozconfig_annotate '' --disable-gconf
+ mozconfig_annotate '' --enable-jsd
+ mozconfig_annotate '' --enable-canvas
+ mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
+ mozconfig_annotate '' --enable-system-ffi
+ mozconfig_annotate '' --with-system-png
+ mozconfig_annotate '' --target="${CTARGET:-${CHOST}}"
+
+ mozconfig_use_enable system-sqlite
+ mozconfig_use_enable methodjit
+
+ # Use an objdir to keep things organized.
+ echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/seamonk" \
+ >> "${S}"/.mozconfig
+
+ # Finalize and report settings
+ mozconfig_final
+
+ # Work around breakage in makeopts with --no-print-directory
+ MAKEOPTS="${MAKEOPTS/--no-print-directory/}"
+
+ if [[ $(gcc-major-version) -lt 4 ]] ; then
+ append-cxxflags -fno-stack-protector
+ elif [[ $(gcc-major-version) -gt 4 || $(gcc-minor-version) -gt 3 ]] ; then
+ if use amd64 || use x86 ; then
+ append-flags -mno-avx
+ fi
+ fi
+}
+
+src_compile() {
+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" \
+ emake -f client.mk || die
+
+ # Only build enigmail extension if conditions are met.
+ if use crypt ; then
+ cd "${S}"/mailnews/extensions/enigmail || die
+ ./makemake -r 2&> /dev/null
+ cd "${S}"/seamonk/mailnews/extensions/enigmail
+ emake || die "make enigmail failed"
+ emake xpi || die "make enigmail xpi failed"
+ fi
+}
+
+src_install() {
+ declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+ declare emid
+ local obj_dir="seamonk"
+ cd "${S}/${obj_dir}"
+
+ # Copy our preference before omnijar is created.
+ sed "s|SEAMONKEY_PVR|${PVR}|" "${FILESDIR}"/all-gentoo-1.js > \
+ "${S}/${obj_dir}/mozilla/dist/bin/defaults/pref/all-gentoo.js" \
+ || die
+
+ pax-mark m "${S}"/dist/bin/xpcshell
+
+ emake DESTDIR="${D}" install || die "emake install failed"
+ cp -f "${FILESDIR}"/icon/${PN}.desktop "${T}" || die
+
+ if use crypt ; then
+ cd "${T}" || die
+ unzip "${S}"/${obj_dir}/mozilla/dist/bin/enigmail*.xpi install.rdf || die
+ emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf)
+
+ dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} || die
+ cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid} || die
+ unzip "${S}"/${obj_dir}/mozilla/dist/bin/enigmail*.xpi || die
+
+ cd "${S}" || die
+ fi
+
+ sed 's|^\(MimeType=.*\)$|\1text/x-vcard;text/directory;application/mbox;message/rfc822;x-scheme-handler/mailto;|' \
+ -i "${T}"/${PN}.desktop || die
+ sed 's|^\(Categories=.*\)$|\1Email;|' -i "${T}"/${PN}.desktop \
+ || die
+
+ # Install language packs
+ mozlinguas_src_install
+
+ # Add StartupNotify=true bug 290401
+ if use startup-notification ; then
+ echo "StartupNotify=true" >> "${T}"/${PN}.desktop
+ fi
+
+ # Install icon and .desktop for menu entry
+ newicon "${S}"/suite/branding/nightly/content/icon64.png ${PN}.png \
+ || die
+ domenu "${T}"/${PN}.desktop || 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}
+
+ # Handle plugins dir through nsplugins.eclass
+ share_plugins_dir
+
+ doman "${S}"/${obj_dir}/suite/app/${PN}.1 || die
+}
+
+pkg_preinst() {
+ declare MOZILLA_FIVE_HOME="${ROOT}/usr/$(get_libdir)/${PN}"
+
+ if [ -d ${MOZILLA_FIVE_HOME}/plugins ] ; then
+ rm ${MOZILLA_FIVE_HOME}/plugins -rf
+ fi
+}
+
+pkg_postinst() {
+ declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+
+ # Update mimedb for the new .desktop file
+ fdo-mime_desktop_database_update
+
+ if use chatzilla ; then
+ elog "chatzilla is now an extension which can be en-/disabled and configured via"
+ elog "the Add-on manager."
+ fi
+}