diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-07-16 13:58:59 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-07-16 13:58:59 +0000 |
commit | c000ffa028d87fd230fb17f80c1e608c928954ca (patch) | |
tree | 7569920b29f6a76533ab275da876aacbff3c5da5 /www-client | |
parent | Stable on ppc wrt bug 178800 (diff) | |
download | historical-c000ffa028d87fd230fb17f80c1e608c928954ca.tar.gz historical-c000ffa028d87fd230fb17f80c1e608c928954ca.tar.bz2 historical-c000ffa028d87fd230fb17f80c1e608c928954ca.zip |
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/seamonkey/ChangeLog | 7 | ||||
-rw-r--r-- | www-client/seamonkey/Manifest | 4 | ||||
-rw-r--r-- | www-client/seamonkey/seamonkey-1.1.11.ebuild | 282 |
3 files changed, 291 insertions, 2 deletions
diff --git a/www-client/seamonkey/ChangeLog b/www-client/seamonkey/ChangeLog index 2e7b96edb728..536ea07eaf69 100644 --- a/www-client/seamonkey/ChangeLog +++ b/www-client/seamonkey/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-client/seamonkey # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/ChangeLog,v 1.146 2008/07/05 15:14:52 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/ChangeLog,v 1.147 2008/07/16 13:58:59 armin76 Exp $ + +*seamonkey-1.1.11 (16 Jul 2008) + + 16 Jul 2008; Raúl Porcel <armin76@gentoo.org> +seamonkey-1.1.11.ebuild: + Version bump 05 Jul 2008; Brent Baude <ranger@gentoo.org> seamonkey-1.1.10.ebuild: Marking seamonkey-1.1.10 ppc64 and ppc for bug 230567 diff --git a/www-client/seamonkey/Manifest b/www-client/seamonkey/Manifest index 15a2cb973d38..2a6145c5212b 100644 --- a/www-client/seamonkey/Manifest +++ b/www-client/seamonkey/Manifest @@ -7,9 +7,11 @@ DIST enigmail-0.95.5.tar.gz 1189374 RMD160 f8ba29265a1fe31fd2d9197148270d7628b58 DIST enigmail-0.95.6.tar.gz 1183899 RMD160 1ac4f3946f1371633b4c89692fd9c62adb0de4e3 SHA1 47259c22b5aa67ff73556eb0b269409eb064be37 SHA256 08d77f64ae8f240530e1c448427725ac5baa6e7465dffd1fec8e52298862d5f9 DIST seamonkey-1.1.10-patches-0.1.tar.bz2 21511 RMD160 a44c42a97f60e49d0184bbf5a423eea2d4d7220d SHA1 528d7540d2338a72f51d6b699a15f88cf15da8c8 SHA256 4215471fcab73e0723efed182017e0d975c38c445ad4def77c2fcb80ff3ef8b9 DIST seamonkey-1.1.10.source.tar.bz2 38059752 RMD160 be23ea2022b26f43e579aba32b007b0641445890 SHA1 b07b2baa95abfad282e769f734e14004300634ec SHA256 b02be5b0119f57f404d82a56d3c0afb8e493f762914c84b80d459e3e46ef8ad2 +DIST seamonkey-1.1.11.source.tar.bz2 38055522 RMD160 a89abc7ceb0cc6b8fdf02e75fae75c69da7328bb SHA1 d185d04590a7b99c5d97faf48c29a27d0c0462d8 SHA256 730bae4164602c6682dbbdebd79310ed8288eafd39996737b5561917b0b87e3f DIST seamonkey-1.1.7-patches-0.5.tar.bz2 22302 RMD160 401bb33669e9ff902976e31771e59bcf6c682ba8 SHA1 1adbc1ea38e38809bd7f1095bbb16475f70705cd SHA256 6b65b9c9b13f63b185795e159cecbc91080496ac0cd050bf63a1727af5bde3dd DIST seamonkey-1.1.7.source.tar.bz2 35383291 RMD160 4f435361d0cea384a0cff5ac50d26c0bd535b6a9 SHA1 2a38cb20c5e162cc79b5124a0fd0092d6e1d464d SHA256 b2b4dfb08c05f94143fccbac7c0623cd1325961374ac88e31d013478d40e1493 EBUILD seamonkey-1.1.10.ebuild 8494 RMD160 b44ef8f3e8a55639ef82905b9a9618c558dd448b SHA1 0d24c45fe4d34d4ff121b1ca97c9e82e0f4440f7 SHA256 1f2f01db6185611638105120d772179fb3d24b4f67a5682bcaf667c8dc554cc2 +EBUILD seamonkey-1.1.11.ebuild 8511 RMD160 720d6e6fa486ebcdd7c70cf68345092fe3d14265 SHA1 b03d8971f66065137ac45ae560a82791e3d3fd26 SHA256 d170d04df1d4487f447e130bd09dbb7c53871ea58b46a49cad5313e324eeb13e EBUILD seamonkey-1.1.7.ebuild 8112 RMD160 3f4b4f2e3a6ca6180627b7df2e64ff81255c9c4e SHA1 ed18ae7614e1d0a494525d740451b3928d571696 SHA256 2c8fad873331c4e8686a82f2e704d56c3cb1b036f828a1625e02b222dcb04452 -MISC ChangeLog 17903 RMD160 a9a8254b8a3c52eb2d5284e3ef4cba0449f33cd0 SHA1 ab984e80fc7fb53122c6ddba72a6591939fd90c9 SHA256 22f9219656705989c2568af925e670ec9b4ac2046b73a592423b22536c2218d0 +MISC ChangeLog 18028 RMD160 27779353a495c9de0a18c2bed2d0075a6bc59ab2 SHA1 ed839192d964b23134f8e6669a2a8c11f88b01fe SHA256 aadd4421795661c5c7db4d56a442ac6dfed2a284d86ed6692ecd98ccee6dc2c4 MISC metadata.xml 160 RMD160 d5a9f0bf8989621c2bde30facb53bcae00aba709 SHA1 5015c07af2083f20f9552d7fb11afb5ea69af345 SHA256 0cc5126362a12cee42ec1197c528a804cf36859329dd2c6d9225726831d14b8b diff --git a/www-client/seamonkey/seamonkey-1.1.11.ebuild b/www-client/seamonkey/seamonkey-1.1.11.ebuild new file mode 100644 index 000000000000..40a7b8717dc6 --- /dev/null +++ b/www-client/seamonkey/seamonkey-1.1.11.ebuild @@ -0,0 +1,282 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/seamonkey-1.1.11.ebuild,v 1.1 2008/07/16 13:58:59 armin76 Exp $ + +WANT_AUTOCONF="2.1" + +inherit flag-o-matic toolchain-funcs eutils mozcoreconf mozconfig-2 mozilla-launcher makeedit multilib autotools + +PATCH="${PN}-1.1.10-patches-0.1" +EMVER="0.95.6" + +DESCRIPTION="Mozilla Application Suite - web browser, email, HTML editor, IRC" +HOMEPAGE="http://www.seamonkey-project.org/" +SRC_URI="http://releases.mozilla.org/pub/mozilla.org/${PN}/releases/${PV}/${P}.source.tar.bz2 + mirror://gentoo/${PATCH}.tar.bz2 + crypt? ( !moznomail? ( http://www.mozilla-enigmail.org/download/source/enigmail-${EMVER}.tar.gz ) )" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +SLOT="0" +LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" +IUSE="java ldap mozdevelop moznocompose moznoirc moznomail moznoroaming postgres crypt xforms" + +RDEPEND="java? ( virtual/jre ) + >=www-client/mozilla-launcher-1.56 + >=dev-libs/nss-3.11.5 + >=dev-libs/nspr-4.6.5-r1 + crypt? ( !moznomail? ( >=app-crypt/gnupg-1.4 ) )" + +DEPEND="${RDEPEND} + java? ( >=dev-java/java-config-0.2.0 ) + dev-lang/perl + postgres? ( >=virtual/postgresql-server-7.2.0 )" + +S="${WORKDIR}/mozilla" + +# Needed by src_compile() and src_install(). +# Would do in pkg_setup but that loses the export attribute, they +# become pure shell variables. +export MOZ_CO_PROJECT=suite +export BUILD_OFFICIAL=1 +export MOZILLA_OFFICIAL=1 + +pkg_setup() { + if ! built_with_use x11-libs/cairo X; then + eerror "Cairo is not built with X useflag." + eerror "Please add 'X' to your USE flags, and re-emerge cairo." + die "Cairo needs X" + fi + + if ! built_with_use --missing true x11-libs/pango X; then + eerror "Pango is not built with X useflag." + eerror "Please add 'X' to your USE flags, and re-emerge pango." + die "Pango needs X" + fi + + use moznopango && warn_mozilla_launcher_stub +} + +src_unpack() { + unpack ${P}.source.tar.bz2 ${PATCH}.tar.bz2 + + # Apply our patches + cd "${S}" || die "cd failed" + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + epatch "${WORKDIR}"/patch + + # Unpack the enigmail plugin + if use crypt && ! use moznomail; then + cd "${S}"/mailnews/extensions || die + unpack enigmail-${EMVER}.tar.gz + cd "${S}"/mailnews/extensions/enigmail || die "cd failed" + makemake2 + fi + + # Fix scripts that call for /usr/local/bin/perl #51916 + ebegin "Patching smime to call perl from /usr/bin" + sed -i -e '1s,usr/local/bin,usr/bin,' "${S}"/security/nss/cmd/smimetools/smime + eend $? || die "sed failed" + + cd "${S}" + eautoreconf +} + +src_compile() { + declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + #################################### + # + # mozconfig, CFLAGS and CXXFLAGS setup + # + #################################### + mozconfig_init + mozconfig_config + + mozconfig_annotate 'gentoo' --enable-canvas + mozconfig_annotate 'gentoo' --with-system-nspr + mozconfig_annotate 'gentoo' --with-system-nss + + # Bug 60668: Galeon doesn't build without oji enabled, so enable it + # regardless of java setting. + mozconfig_annotate 'galeon' --enable-oji --enable-mathml + + # Other moz-specific settings + mozconfig_use_enable mozdevelop jsd + mozconfig_use_enable mozdevelop xpctools + mozconfig_use_extension mozdevelop venkman + + if use moznoirc; then + mozconfig_annotate '+moznocompose +moznoirc' --enable-extensions=-irc + fi + + if use moznoroaming ; then + mozconfig_annotate '+moznoroaming' --enable-extensions=-sroaming + fi + + if use postgres ; then + mozconfig_annotate '+postgres' --enable-extensions=sql + export MOZ_ENABLE_PGSQL=1 + export MOZ_PGSQL_INCLUDES=/usr/include + export MOZ_PGSQL_LIBS=/usr/$(get_libdir) + fi + + mozconfig_use_enable ldap + mozconfig_use_enable ldap ldap-experimental + mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} + mozconfig_annotate '' --with-user-appdir=.mozilla + + 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 xforms; then + mozconfig_annotate "+xforms" --enable-extensions=xforms,schema-validation + fi + + # Finalize and report settings + mozconfig_final + + # -fstack-protector breaks us + if gcc-version ge 4 1; then + gcc-specs-ssp && append-flags -fno-stack-protector + else + gcc-specs-ssp && append-flags -fno-stack-protector-all + fi + filter-flags -fstack-protector -fstack-protector-all + + #################################### + # + # Configure and build + # + #################################### + + CPPFLAGS="${CPPFLAGS} -DARON_WAS_HERE" \ + CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \ + econf || die + + # It would be great if we could pass these in via CPPFLAGS or CFLAGS prior + # to econf, but the quotes cause configure to fail. + sed -i -e \ + 's|-DARON_WAS_HERE|-DGENTOO_NSPLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsplugins\\\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsbrowser/plugins\\\"|' \ + "${S}"/config/autoconf.mk \ + "${S}"/xpfe/global/buildconfig.html + + # This removes extraneous CFLAGS from the Makefiles to reduce RAM + # requirements while compiling + edit_makefiles + + emake || die + + #################################### + # + # Build Enigmail extension + # + #################################### + + if use crypt && ! use moznomail; then + emake -C "${S}"/mailnews/extensions/enigmail || die "make enigmail failed" + fi +} + +src_install() { + declare MOZILLA_FIVE_HOME=/usr/$(get_libdir)/${PN} + + # Most of the installation happens here + dodir "${MOZILLA_FIVE_HOME}" + cp -RL "${S}"/dist/bin/* "${D}"/"${MOZILLA_FIVE_HOME}"/ || die "cp failed" + + # Create directory structure to support portage-installed extensions. + # See update_chrome() in mozilla-launcher + keepdir ${MOZILLA_FIVE_HOME}/chrome.d + keepdir ${MOZILLA_FIVE_HOME}/extensions.d + cp "${D}"${MOZILLA_FIVE_HOME}/chrome/installed-chrome.txt \ + "${D}"${MOZILLA_FIVE_HOME}/chrome.d/0_base-chrome.txt + + # Create /usr/bin/seamonkey + install_mozilla_launcher_stub seamonkey ${MOZILLA_FIVE_HOME} + + # Install icon and .desktop for menu entry + doicon "${FILESDIR}"/icon/${PN}.png + domenu "${FILESDIR}"/icon/${PN}.desktop + + # Fix icons to look the same everywhere + insinto ${MOZILLA_FIVE_HOME}/icons + doins "${S}"/widget/src/gtk/mozicon16.xpm + doins "${S}"/widget/src/gtk/mozicon50.xpm + + #################################### + # + # Install files necessary for applications to build against seamonkey + # + #################################### + + elog "Installing includes and idl files..." + cp -LfR "${S}"/dist/include "${D}"/"${MOZILLA_FIVE_HOME}" || die "cp failed" + cp -LfR "${S}"/dist/idl "${D}"/"${MOZILLA_FIVE_HOME}" || die "cp failed" + + # Fix mozilla-config and install it + exeinto ${MOZILLA_FIVE_HOME} + doexe "${S}"/build/unix/${PN}-config + + # Install pkgconfig files + insinto /usr/"$(get_libdir)"/pkgconfig + doins "${S}"/build/unix/*.pc + + # Install env.d snippet, which isn't necessary for running mozilla, but + # might be necessary for programs linked against firefox + doenvd "${FILESDIR}"/10${PN} + dosed "s|/usr/lib|/usr/$(get_libdir)|" /etc/env.d/10${PN} + + # Install rebuild script since mozilla-bin doesn't support registration yet + exeinto ${MOZILLA_FIVE_HOME} + doexe "${FILESDIR}"/${PN}-rebuild-databases.pl + dosed -e 's|/lib/|/'"$(get_libdir)"'/|g' \ + ${MOZILLA_FIVE_HOME}/${PN}-rebuild-databases.pl + + # Install docs + dodoc "${S}"/{LEGAL,LICENSE} + + # Update Google search plugin to use UTF8 charset ... + insinto ${MOZILLA_FIVE_HOME}/searchplugins + doins "${FILESDIR}"/google.src +} + +pkg_preinst() { + declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # Remove entire installed instance to solve various problems, + # for example see bug 27719 + rm -rf "${ROOT}"${MOZILLA_FIVE_HOME} +} + +pkg_postinst() { + declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # Update the component registry + MOZILLA_LIBDIR=${ROOT}${MOZILLA_FIVE_HOME} MOZILLA_LAUNCHER=${PN} \ + /usr/libexec/mozilla-launcher -register + + # This should be called in the postinst and postrm of all the + # mozilla, mozilla-bin, firefox, firefox-bin, thunderbird and + # thunderbird-bin ebuilds. + update_mozilla_launcher_symlinks +} + +pkg_postrm() { + declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # Update the component registry + if [[ -x ${MOZILLA_FIVE_HOME}/${PN}-bin ]]; then + MOZILLA_LIBDIR=${ROOT}${MOZILLA_FIVE_HOME} MOZILLA_LAUNCHER=${PN} \ + /usr/libexec/mozilla-launcher -register + fi + + update_mozilla_launcher_symlinks +} |