diff options
author | Jory Pratt <anarchy@gentoo.org> | 2009-09-25 01:35:11 +0000 |
---|---|---|
committer | Jory Pratt <anarchy@gentoo.org> | 2009-09-25 01:35:11 +0000 |
commit | 887e7a58613d85a3bc2f269e2755698e6e007028 (patch) | |
tree | bbd15c64d1daea797fcfef2399fae380ef736e3d /www-client/seamonkey | |
parent | p.mask seamonkey-2.0 for beta testers. (diff) | |
download | historical-887e7a58613d85a3bc2f269e2755698e6e007028.tar.gz historical-887e7a58613d85a3bc2f269e2755698e6e007028.tar.bz2 historical-887e7a58613d85a3bc2f269e2755698e6e007028.zip |
add seamonkey-2.0_beta2 for beta testers
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'www-client/seamonkey')
-rw-r--r-- | www-client/seamonkey/ChangeLog | 8 | ||||
-rw-r--r-- | www-client/seamonkey/Manifest | 22 | ||||
-rw-r--r-- | www-client/seamonkey/metadata.xml | 2 | ||||
-rw-r--r-- | www-client/seamonkey/seamonkey-2.0_beta2.ebuild | 249 |
4 files changed, 278 insertions, 3 deletions
diff --git a/www-client/seamonkey/ChangeLog b/www-client/seamonkey/ChangeLog index ceaddb8dab87..09a3f91b600d 100644 --- a/www-client/seamonkey/ChangeLog +++ b/www-client/seamonkey/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-client/seamonkey # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/ChangeLog,v 1.195 2009/09/23 12:20:19 anarchy Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/ChangeLog,v 1.196 2009/09/25 01:35:11 anarchy Exp $ + +*seamonkey-2.0_beta2 (25 Sep 2009) + + 25 Sep 2009; Jory A. Pratt <anarchy@gentoo.org> + +seamonkey-2.0_beta2.ebuild, metadata.xml: + add 2.0_beta2 to tree with p.mask for testing. 23 Sep 2009; Jory A. Pratt <anarchy@gentoo.org> seamonkey-1.1.18.ebuild: add seamonkey-1.1.17-fix-fno-strict-aliasing.patch to 1.1.18 diff --git a/www-client/seamonkey/Manifest b/www-client/seamonkey/Manifest index fd83861eb7a6..4ebf88bdc2bc 100644 --- a/www-client/seamonkey/Manifest +++ b/www-client/seamonkey/Manifest @@ -10,8 +10,26 @@ DIST seamonkey-1.1.15-patches-0.1.tar.bz2 22267 RMD160 d0f39d9eaae90980cca7de79a DIST seamonkey-1.1.17.source.tar.bz2 38082419 RMD160 cc7ac7b80739537f340efa1ab543e878759ecde8 SHA1 81fea04abe908066311e5e13b268b078c45f577a SHA256 249eb89447658ef4d6974b784dd7ecfad9383924e3d7dc541d7f60525cee08a6 DIST seamonkey-1.1.18-patches-0.1.tar.bz2 21939 RMD160 8c4b268938d02eef8939e155cc4ee45d7d0db476 SHA1 cda3ad61328babe634711dae99d61d068f5803fc SHA256 9575879c9feff93cf2d4a631a9cc986e43c17acf75226782421fa3b6b9fe037b DIST seamonkey-1.1.18.source.tar.bz2 36466846 RMD160 3a49321f5d0a6d897ff590849d8fde3aced4ec4e SHA1 11c154ea7f77f903449f3b8394678e0a2d64e7d2 SHA256 fa7f2b8a94297027cf0151847e52f6dbe031b21599218888c4629f08daec910f +DIST seamonkey-2.0-patches-0.1.tar.bz2 3743 RMD160 f6f548e55037eb412b36972991e54bf5f5f40b35 SHA1 4ccb0490ba4e087b0f0ac8718517c2450c65f9e2 SHA256 670f352931cde899d7c851acf0adb5e866d51f541586839329b3d4b2a1079cbc +DIST seamonkey-2.0b2-be.xpi 484607 RMD160 32c1114ee4f7fd0a0dfce350490e41456d71d1bd SHA1 70e1f6fceff25ec38087187c2c1cd8470b28ce37 SHA256 808b4c258890db789905889e38717ec13a5fb55300585d4d3ec9cdf49067142f +DIST seamonkey-2.0b2-ca.xpi 493486 RMD160 825a2b52db8ecd5b76ea743f65d9d8de206aaaea SHA1 b06408f4c87c3e38979ae124a74d0c17bd10ef08 SHA256 801277ea7b82b5471845f88c802053f883cd672ad82fa0d00a69124951d1913f +DIST seamonkey-2.0b2-de.xpi 543480 RMD160 5e93dc1765d0899f8864d1927e5ff3c860c47b4d SHA1 ee051e7f3a096041555c6c26cb93adda6171b497 SHA256 c69e57a5d2b452837349b79aa5f7a570c46d1f49b7e201cadfa80d56fdbecb0d +DIST seamonkey-2.0b2-es-AR.xpi 494811 RMD160 3c324c7dffb8321a48bdb002b3416c2401d58942 SHA1 8a492189f72b9c8325213c42698339286acb58f4 SHA256 cafe43f81224f4a636ff6550068062ff58f1a4c9870cd64eaa7d3be749692200 +DIST seamonkey-2.0b2-es-ES.xpi 511189 RMD160 3e23863fa232f25cb37d7f6e0e5a70afc5be9190 SHA1 b71d7c2818e0ed8954d702d1cb634eff79f50ad1 SHA256 9bd80ed14cfe4b5b62c814b44c015ce87449b2f663ce1413eedc4456759b0532 +DIST seamonkey-2.0b2-fr.xpi 842750 RMD160 cb46c8eb1809fb13268aae5fffbe40adc6da67e8 SHA1 5f0ab0cbc7a25bea77325b43d46a65639bf2a821 SHA256 efdd3f8145d268b246b3ed051934edc9b985275b09e77a5ee4a350db4d08253c +DIST seamonkey-2.0b2-gl.xpi 501057 RMD160 29fdb54c8a5a48ab9247d8a76927d725fbd9b35f SHA1 cdd4e6ee74b853aadad61b2fb15622683783fb57 SHA256 5066708883ef6be1eb67593d9f17c08b0cd7bbf2cb1291163bb6415d03e4626a +DIST seamonkey-2.0b2-hu.xpi 1260237 RMD160 450e58a5d56cf43868ac7bc4e65f2dc24661a5f1 SHA1 47c7aa7a89dad2e7ee72c972cb9c97fbce5845d9 SHA256 2c8a3ea0249bba550342823262e2aba2eb2f002869b0ea87cbb0ec2873143115 +DIST seamonkey-2.0b2-lt.xpi 881862 RMD160 346dd5b50f53d29f7bd56f5295b013e0708844a0 SHA1 a5c9b82832e649f6473a22c7d3419dda40e6feb8 SHA256 a56ff889b54584d15dbf13fb1b6cc96762506c4541720d220e15150b3907221f +DIST seamonkey-2.0b2-nb-NO.xpi 496244 RMD160 81cb3ddba0759c09bda350a39d2fc0ccbba9e3bf SHA1 4b1c417e36e2e5c202fb2d79553556ed875dd6f0 SHA256 6c77e8b37aa8b2ae528e52a9bb0677b823d93b3aa2c22d54c9dab0094b9a17bc +DIST seamonkey-2.0b2-pl.xpi 1578477 RMD160 b734ff94e28aa8a30153d44d1b7d6db3746cc6f7 SHA1 ccf2429d35d6d62a01205cc67a551b69a8200164 SHA256 30a18a7f5c082f2b8a93fe47e7451e2a7622446c418b6c1336dc0251d42bd31e +DIST seamonkey-2.0b2-pt-PT.xpi 708649 RMD160 5c1143e94babd2764422c2ffbad7e333fafe37e9 SHA1 2b64bd4d5c52a72488610b5667e2a1f79a8b0e75 SHA256 4bb678ca55ba77ddc60f0da33c742944092b2204a1e6a36cf2f7e8b26c6787a2 +DIST seamonkey-2.0b2-ru.xpi 1088001 RMD160 b9da3829f8beace38f6febda1a24635913e47656 SHA1 a7f704c359e712c3aa9eae01a613c3db1c99b9b1 SHA256 a3cf3e04b3c6a902d0172d2d987938b1693a59a4394c758a51d448a2197159e8 +DIST seamonkey-2.0b2-sk.xpi 1121536 RMD160 b53950e9199acdfc5a9628b55f8dd64415896c70 SHA1 b8d05709b1cdfccdd183501f8a52d3ee73c7ed79 SHA256 476458b0e1fcfab57f6ceabeb1b9e5a55f2d9812c240c551b72778927cca5200 +DIST seamonkey-2.0b2-tr.xpi 511472 RMD160 4327470c96266533e4a16404f421f43b096c3ecc SHA1 3f601f0b097bf18dc458b4c4e15b4576d55ce10c SHA256 d4a3ab885321571c45b1a618a32775ab20a77b7b1f4ba181643383baacd76335 +DIST seamonkey-2.0b2.source.tar.bz2 59739680 RMD160 b4ef4725df3e601c4111fe7aa34c337811430b6b SHA1 beb52b97d4f2d10f94ae2952eb7bfb58d3ea61a9 SHA256 04f83d57a66783e4e2aa31f2651b91f208e17ef4168349da3ca8ac3d9d4f99c2 EBUILD seamonkey-1.1.17-r1.ebuild 8479 RMD160 9ce43ce8119835838e7a79ba617ecd9c07af7cce SHA1 e088144a43fa9587f98cbb24372cd18bd9c79860 SHA256 8b3c3def0d72d83621e0712955fc602fb1e313677cbf40ac6410aca40dd8050e EBUILD seamonkey-1.1.17.ebuild 8354 RMD160 50eae62f50873532a89027cdc627e1bc7d254e38 SHA1 b9a0922a0c56dc39ece97ed9d6dbd2669940cdfe SHA256 3c772e2c539f1bc218a86f243d47f3c79c402d278b6d8786058c6bed101d3b74 EBUILD seamonkey-1.1.18.ebuild 8476 RMD160 6c63d443f2732e1768ff307fb8bd7d382d4d6baa SHA1 5813bf1a52de678c9f6cdc7d0ecaa23681157d92 SHA256 2a0e191547811f4e281aa99b45fc00ae3f45ce3355ea6709abb12e1025054519 -MISC ChangeLog 23853 RMD160 1c7cbd09ae115a2422156bab2b1f31ec2c3d7fbf SHA1 cb81f6f0338b08d23ba23ee485007f424e2fb701 SHA256 8518a6b44d032e43c02b6d1c86374dce0f9f431ffdde7bc44db1a2f4b9d38355 -MISC metadata.xml 746 RMD160 ef91ef32a2d5735afa0d30eb73aad20de6de252f SHA1 67545909f5f8920e083d708821b632899ada40a7 SHA256 360fa6a4ab7a705fd5d61ea16ff42c1c41f43ce8979b68a2567ac30b382ff46d +EBUILD seamonkey-2.0_beta2.ebuild 7149 RMD160 1554cdba4ba6036bd09b2ee5f5ac2342bf6d729e SHA1 286124f552872e2484b3a9e03c42ff5a7aaa14e8 SHA256 5f76d73ebdac11c6cd4ced6947dc45516f76af6f0ee9ef55a8df00c46182e025 +MISC ChangeLog 24034 RMD160 ce4e41325592836f5e68f465b1b6eca78897fd41 SHA1 67fb01191fda3c2dc60bbb8015312cd6bc39e1dd SHA256 1a515d9af51c09b562f87449730dac99ccab417feede36ffda9677727c3ce3a0 +MISC metadata.xml 829 RMD160 c182a2e8ace91c991d48bfae65e6c0d0bd974c56 SHA1 4ba2c78927904fd63cbdf642ae398622e8473ec0 SHA256 e1a703d901609365077efc040066b327a6a7641c0a0cc8502fe4557374f550e9 diff --git a/www-client/seamonkey/metadata.xml b/www-client/seamonkey/metadata.xml index 97bf8186d894..0f6217ceff83 100644 --- a/www-client/seamonkey/metadata.xml +++ b/www-client/seamonkey/metadata.xml @@ -14,5 +14,7 @@ <flag name='moznoroaming'>sroaming extension support</flag> <flag name='xforms'>XForms is a standard to split up XHTML into XForms, instance data, and user interface</flag> + <flag name='custom-optimization'>Fine-tune custom compiler + optimizations</flag> </use> </pkgmetadata> diff --git a/www-client/seamonkey/seamonkey-2.0_beta2.ebuild b/www-client/seamonkey/seamonkey-2.0_beta2.ebuild new file mode 100644 index 000000000000..8577aba98958 --- /dev/null +++ b/www-client/seamonkey/seamonkey-2.0_beta2.ebuild @@ -0,0 +1,249 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/seamonkey-2.0_beta2.ebuild,v 1.1 2009/09/25 01:35:11 anarchy Exp $ + +EAPI="2" +WANT_AUTOCONF="2.1" + +inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib fdo-mime autotools mozextension + +PATCH="${PN}-2.0-patches-0.1" + +LANGS="be ca de en-US es-AR es-ES fr gl hu lt nb-NO pl pt-PT ru sk tr" +NOSHORTLANGS="es-AR" + +MY_PV="${PV/_beta/b}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="Seamonkey Web Browser" +HOMEPAGE="http://www.seamonkey-project.org" + +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +SLOT="0" +LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" +IUSE="java ldap mozdevelop moznocompose moznoirc moznomail moznoroaming sqlite" + +REL_URI="http://releases.mozilla.org/pub/mozilla.org/${PN}/releases" +SRC_URI="${REL_URI}/${MY_PV}/source/${MY_P}.source.tar.bz2 + http://dev.gentoo.org/~anarchy/dist/${PATCH}.tar.bz2" + +for X in ${LANGS} ; do + if [ "${X}" != "en" ] && [ "${X}" != "en-US" ]; then + SRC_URI="${SRC_URI} + linguas_${X/-/_}? ( ${REL_URI}/${MY_PV}/langpack/${MY_P}.${X}.langpack.xpi -> ${MY_P}-${X}.xpi )" + fi + IUSE="${IUSE} linguas_${X/-/_}" + # english is handled internally + if [ "${#X}" == 5 ] && ! has ${X} ${NOSHORTLANGS}; then + if [ "${X}" != "en-US" ]; then + SRC_URI="${SRC_URI} + linguas_${X%%-*}? ( ${REL_URI}/${MY_PV}/langpack/${MY_P}.${X}.langpack.xpi -> ${MY_P}-${X}.xpi )" + fi + IUSE="${IUSE} linguas_${X%%-*}" + fi +done + +RDEPEND="java? ( virtual/jre ) + >=sys-devel/binutils-2.16.1 + >=dev-libs/nss-3.12.2 + >=dev-libs/nspr-4.8 + media-libs/alsa-lib + sqlite? ( >=dev-db/sqlite-3.6.7 ) + >=app-text/hunspell-1.2 + x11-libs/cairo[X] + x11-libs/pango[X]" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + java? ( >=dev-java/java-config-0.2.0 )" + +PDEPEND="restrict-javascript? ( www-plugins/noscript )" + +S="${WORKDIR}/comm-central" + +# Needed by src_compile() and src_install(). +# Would do in pkg_setup but that loses the export attribute, +# they become pure shell variables. +export BUILD_OFFICIAL=1 +export MOZILLA_OFFICIAL=1 + +linguas() { + local LANG SLANG + for LANG in ${LINGUAS}; do + if has ${LANG} en en_US; then + has en ${linguas} || linguas="${linguas:+"${linguas} "}en" + continue + elif has ${LANG} ${LANGS//-/_}; then + has ${LANG//_/-} ${linguas} || linguas="${linguas:+"${linguas} "}${LANG//_/-}" + continue + elif [[ " ${LANGS} " == *" ${LANG}-"* ]]; then + for X in ${LANGS}; do + if [[ "${X}" == "${LANG}-"* ]] && \ + [[ " ${NOSHORTLANGS} " != *" ${X} "* ]]; then + has ${X} ${linguas} || linguas="${linguas:+"${linguas} "}${X}" + continue 2 + fi + done + fi + ewarn "Sorry, but ${PN} does not support the ${LANG} LINGUA" + done +} + +src_unpack() { + unpack ${A} + + linguas + for X in ${linguas}; do + # FIXME: Add support for unpacking xpis to portage + [[ ${X} != "en" ]] && xpi_unpack "${MY_P}-${X}.xpi" + done + if [[ ${linguas} != "" && ${linguas} != "en" ]]; then + einfo "Selected language packs (first will be default): ${linguas}" + fi +} + +pkg_setup() { + if use sqlite ; then + einfo + elog "You are enabling system sqlite. Do not file a bug with gentoo if you have" + elog "issues that arise from enabling system sqlite. All bugs will be concidered" + elog "invalid. All patches are welcomed to fix any issues that might be found with" + elog "system sqlite. If you are starting with a fresh profile you can enable sqlite" + elog "without any major issues." + epause 10 + fi +} + +src_prepare() { + # Apply our patches + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + epatch "${WORKDIR}" + + eautoreconf +} + +src_configure() { + declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + MEXTENSIONS="default" + + #################################### + # + # 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 moznoirc ; then + MEXTENSIONS="${MEXTENSIONS},-irc" + fi + if use moznoroaming ; then + MEXTENSIONS="${MEXTENSIONS},-sroaming" + fi + + if ! use gnome ; then + MEXTENSIONS="${MEXTENSIONS},-gnomevfs" + fi + + if use moznomail ; then + mozconfig_annotate '+moznomail' --disable-mailnews + fi + + if use moznocompose ; then + if use moznoirc && use moznomail ; then + mozconfig_annotate '+moznocompose' --disable-composer + fi + fi + + if use sqlite ; then + mozconfig_annotate 'sqlite' --enable-system-sqlite + else + mozconfig_annotate '-sqlite' --enable-system-sqlite + fi + + mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" + mozconfig_annotate '' --enable-application=suite + mozconfig_annotate 'broken' --disable-mochitest + mozconfig_annotate 'broken' --disable-crashreporter + mozconfig_annotate '' --enable-system-hunspell + mozconfig_annotate '' --enable-system-sqlite + mozconfig_annotate '' --enable-image-encoder=all + mozconfig_annotate '' --enable-canvas + mozconfig_annotate '' --with-system-nspr + mozconfig_annotate '' --with-system-nss + mozconfig_annotate '' --enable-system-lcms + mozconfig_annotate '' --enable-oji --enable-mathml + mozconfig_annotate 'places' --enable-storage --enable-places --enable-places_bookmarks + mozconfig_annotate '' --disable-installer + mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} + + mozconfig_use_enable ldap + mozconfig_use_enable ldap ldap-experimental + + # Finalize and report settings + mozconfig_final + + if [[ $(gcc-major-version) -lt 4 ]]; then + append-cxxflags -fno-stack-protector + fi + + #################################### + # + # Configure and build + # + #################################### + + # Work around breakage in makeopts with --no-print-directory + MAKEOPTS="${MAKEOPTS/--no-print-directory/}" + + CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" econf +} + +src_compile() { + # Should the build use multiprocessing? Not enabled by default, as it tends to break. + [ "${WANT_MP}" = "true" ] && jobs=${MAKEOPTS} || jobs="-j1" + emake ${jobs} || die +} + +src_install() { + declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + emake DESTDIR="${D}" install || die "emake install failed" + + linguas + for X in ${linguas}; do + [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${MY_P}-${X}" + done + + local LANG=${linguas%% *} + if [[ -n ${LANG} && ${LANG} != "en" ]]; then + elog "Setting default locale to ${LANG}" + dosed -e "s:general.useragent.locale\", \"en-US\":general.useragent.locale\", \"${LANG}\":" \ + ${MOZILLA_FIVE_HOME}/defaults/pref/suite-l10n.js || \ + die "sed failed to change locale" + fi + + # Install icon and .desktop for menu entry + newicon "${S}"/suite/branding/content/icon64.png seamonkey.png + domenu "${FILESDIR}"/icon/seamonkey.desktop + + # Add vendor + echo "pref(\"general.useragent.vendor\",\"Gentoo\");" \ + >> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js + + # Plugins dir + rm -rf "${D}"${MOZILLA_FIVE_HOME}/plugins || die "failed to remove existing plugins dir" + dosym ../nsbrowser/plugins "${MOZILLA_FIVE_HOME}"/plugins +} + +pkg_postinst() { + declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # Update mimedb for the new .desktop file + fdo-mime_desktop_database_update +} |