]> Pileus Git - ~andy/sunrise/commitdiff
www-client/seamonkey-bin: New ebuild: seamonkey-bin for bug 147826
authorRaúl Porcel <armin76@gentoo.org>
Tue, 26 Sep 2006 20:00:48 +0000 (20:00 +0000)
committerRaúl Porcel <armin76@gentoo.org>
Tue, 26 Sep 2006 20:00:48 +0000 (20:00 +0000)
svn path=/sunrise/; revision=1345

www-client/seamonkey-bin/ChangeLog [new file with mode: 0644]
www-client/seamonkey-bin/Manifest [new file with mode: 0644]
www-client/seamonkey-bin/files/10seamonkey-bin [new file with mode: 0644]
www-client/seamonkey-bin/files/digest-seamonkey-bin-1.0.5 [new file with mode: 0644]
www-client/seamonkey-bin/files/icon/seamonkey-bin.desktop [new file with mode: 0644]
www-client/seamonkey-bin/files/icon/seamonkey-bin.png [new file with mode: 0644]
www-client/seamonkey-bin/metadata.xml [new file with mode: 0644]
www-client/seamonkey-bin/seamonkey-bin-1.0.5.ebuild [new file with mode: 0644]

diff --git a/www-client/seamonkey-bin/ChangeLog b/www-client/seamonkey-bin/ChangeLog
new file mode 100644 (file)
index 0000000..b718302
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for www-client/seamonkey-bin
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  26 Sep 2006; Raul Porcel (armin76) <armin76@gmail.com>
+  +files/10seamonkey-bin, +seamonkey-bin-1.0.5.ebuild, +files/icon,
+  +files/icon/seamonkey-bin.desktop, +files/icon/seamonkey-bin.png,
+  +metadata.xml:
+  New ebuild: seamonkey-bin for bug 147826
+
diff --git a/www-client/seamonkey-bin/Manifest b/www-client/seamonkey-bin/Manifest
new file mode 100644 (file)
index 0000000..a09b289
--- /dev/null
@@ -0,0 +1,28 @@
+AUX 10seamonkey-bin 34 RMD160 c3f4b78e5261452b3d3854373cc07757d731a20e SHA1 fb5c9c934ce58de5f15f5edf2beb74dc7899896a SHA256 8be7c21df7145237b809191eda1b2c0fec257c838666b3a9f901ac3d5c72f59b
+MD5 05b80cdad0661db929cdc3f863c7cf9b files/10seamonkey-bin 34
+RMD160 c3f4b78e5261452b3d3854373cc07757d731a20e files/10seamonkey-bin 34
+SHA256 8be7c21df7145237b809191eda1b2c0fec257c838666b3a9f901ac3d5c72f59b files/10seamonkey-bin 34
+AUX icon/seamonkey-bin.desktop 190 RMD160 5f93898b70dc462a09cd855df1984c165e682aa7 SHA1 0cb081f10a1321b0a09ab2155f3e445f62d59877 SHA256 3ee93b432bdef3cdec37251729c329340aba18411af90a2d8cde6186453d48fd
+MD5 a5a9746bf1c58c591d463d589d555c45 files/icon/seamonkey-bin.desktop 190
+RMD160 5f93898b70dc462a09cd855df1984c165e682aa7 files/icon/seamonkey-bin.desktop 190
+SHA256 3ee93b432bdef3cdec37251729c329340aba18411af90a2d8cde6186453d48fd files/icon/seamonkey-bin.desktop 190
+AUX icon/seamonkey-bin.png 3428 RMD160 96d1a81a7baf547391dfe905e7736bee781636ba SHA1 a0456a2cff4a2ff97e170aecca831b0e35b75861 SHA256 731cf56a936d9ea197dcc2c26b58055a4c6396dc7f2e81c0c2cccf95371024ac
+MD5 6ee53f58b4c81ec06ce974ff685fde46 files/icon/seamonkey-bin.png 3428
+RMD160 96d1a81a7baf547391dfe905e7736bee781636ba files/icon/seamonkey-bin.png 3428
+SHA256 731cf56a936d9ea197dcc2c26b58055a4c6396dc7f2e81c0c2cccf95371024ac files/icon/seamonkey-bin.png 3428
+DIST seamonkey-1.0.5.en-US.linux-i686.tar.gz 14148966 RMD160 8796e4b26fc59439487b3064bd6a328636906d97 SHA1 f2c976a1176734ef09fb6b2fa1465911cba21f00 SHA256 a2f15995eb0522be8532457fc982c61d021e1b3081a8890453735b12061403e9
+EBUILD seamonkey-bin-1.0.5.ebuild 1991 RMD160 dc16aea582d7f66e2c4d51d411afd7f5f024a739 SHA1 ccc768bfef648a79dc789729a2880c21abf047b7 SHA256 51075b55552c733eced4c1b7243866f151aef1f5a80cafa70ade089b79ae73bd
+MD5 fd118fc47eea94753b63c7c0c768f8b2 seamonkey-bin-1.0.5.ebuild 1991
+RMD160 dc16aea582d7f66e2c4d51d411afd7f5f024a739 seamonkey-bin-1.0.5.ebuild 1991
+SHA256 51075b55552c733eced4c1b7243866f151aef1f5a80cafa70ade089b79ae73bd seamonkey-bin-1.0.5.ebuild 1991
+MISC ChangeLog 379 RMD160 e691a2dddd162c6302dabe8e9c992a81c1f84909 SHA1 5e4c114a48a8cee4b3d056731af3cb5635b7504b SHA256 4b6856d1e3406161dc963225569084c7f708eb7e6eaf9fd1375a6afeae006651
+MD5 c14decf109202a7d80c92ccbacbc6653 ChangeLog 379
+RMD160 e691a2dddd162c6302dabe8e9c992a81c1f84909 ChangeLog 379
+SHA256 4b6856d1e3406161dc963225569084c7f708eb7e6eaf9fd1375a6afeae006651 ChangeLog 379
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
+RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
+SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
+MD5 d746ab0465a5b9e01b16414d63316a32 files/digest-seamonkey-bin-1.0.5 304
+RMD160 5ee228393462b4e8156e1e4d343c5502f258c286 files/digest-seamonkey-bin-1.0.5 304
+SHA256 b388ca6c420c02c653b818c67a909593ca07ba3d268d286aece0dbee55c766ff files/digest-seamonkey-bin-1.0.5 304
diff --git a/www-client/seamonkey-bin/files/10seamonkey-bin b/www-client/seamonkey-bin/files/10seamonkey-bin
new file mode 100644 (file)
index 0000000..6748c6c
--- /dev/null
@@ -0,0 +1 @@
+SEARCH_DIRS_MASK="/opt/seamonkey"
diff --git a/www-client/seamonkey-bin/files/digest-seamonkey-bin-1.0.5 b/www-client/seamonkey-bin/files/digest-seamonkey-bin-1.0.5
new file mode 100644 (file)
index 0000000..e230b24
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 ad69ec922608b01eb828e6f68c0f01ff seamonkey-1.0.5.en-US.linux-i686.tar.gz 14148966
+RMD160 8796e4b26fc59439487b3064bd6a328636906d97 seamonkey-1.0.5.en-US.linux-i686.tar.gz 14148966
+SHA256 a2f15995eb0522be8532457fc982c61d021e1b3081a8890453735b12061403e9 seamonkey-1.0.5.en-US.linux-i686.tar.gz 14148966
diff --git a/www-client/seamonkey-bin/files/icon/seamonkey-bin.desktop b/www-client/seamonkey-bin/files/icon/seamonkey-bin.desktop
new file mode 100644 (file)
index 0000000..50b1b21
--- /dev/null
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Seamonkey (bin)
+Comment=Seamonkey Web Browser
+Exec=/usr/bin/seamonkey-bin %U
+Icon=seamonkey-bin-icon.png
+Terminal=false
+Type=Application
+Categories=Application;Network;
diff --git a/www-client/seamonkey-bin/files/icon/seamonkey-bin.png b/www-client/seamonkey-bin/files/icon/seamonkey-bin.png
new file mode 100644 (file)
index 0000000..4bc58a2
Binary files /dev/null and b/www-client/seamonkey-bin/files/icon/seamonkey-bin.png differ
diff --git a/www-client/seamonkey-bin/metadata.xml b/www-client/seamonkey-bin/metadata.xml
new file mode 100644 (file)
index 0000000..7e32869
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/www-client/seamonkey-bin/seamonkey-bin-1.0.5.ebuild b/www-client/seamonkey-bin/seamonkey-bin-1.0.5.ebuild
new file mode 100644 (file)
index 0000000..5c9679f
--- /dev/null
@@ -0,0 +1,83 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# Header: $
+
+inherit eutils mozilla-launcher multilib
+
+DESCRIPTION="Mozilla Application Suite - web browser, email, HTML editor, IRC"
+SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/${PV}/seamonkey-${PV}.en-US.linux-i686.tar.gz"
+HOMEPAGE="http://www.mozilla.org/projects/seamonkey"
+RESTRICT="nostrip"
+
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+LICENSE="MPL-1.1 NPL-1.1"
+IUSE=""
+
+DEPEND="app-arch/unzip
+       !www-client/mozilla"
+RDEPEND="x11-libs/libXrender
+       x11-libs/libXt
+       x11-libs/libXmu
+       x86? (
+               >=sys-libs/lib-compat-1.0-r2
+               >=x11-libs/gtk+-2.2
+       )
+       amd64? (
+               >=app-emulation/emul-linux-x86-baselibs-1.0
+               >=app-emulation/emul-linux-x86-gtklibs-1.0
+       )
+       >=www-client/mozilla-launcher-1.41
+       =virtual/libstdc++-3.3
+       virtual/libc"
+
+S=${WORKDIR}/seamonkey
+
+pkg_setup() {
+       # This is a binary x86 package => ABI=x86
+       # Please keep this in future versions
+       # Danny van Dyk <kugelfang@gentoo.org> 2005/03/26
+       has_multilib_profile && ABI="x86"
+}
+
+src_install() {
+       declare MOZILLA_FIVE_HOME=/opt/seamonkey
+
+       # Install seamonkey in /opt
+       dodir ${MOZILLA_FIVE_HOME%/*}
+       mv ${S} ${D}${MOZILLA_FIVE_HOME}
+
+       # Create /usr/bin/seamonkey-bin
+       install_mozilla_launcher_stub seamonkey-bin ${MOZILLA_FIVE_HOME}
+
+       # Install icon and .desktop for menu entry
+       insinto /usr/share/pixmaps
+       doins ${FILESDIR}/icon/seamonkey-bin-icon.png
+       insinto /usr/share/applications
+       doins ${FILESDIR}/icon/seamonkey-bin.desktop
+
+       # revdep-rebuild entry
+       insinto /etc/revdep-rebuild
+       doins ${FILESDIR}/10seamonkey-bin
+}
+
+pkg_preinst() {
+       declare MOZILLA_FIVE_HOME=/opt/seamonkey
+
+       # Remove entire installed instance to prevent all kinds of
+       # problems... see bug 44772 for example
+       rm -rf ${ROOT}${MOZILLA_FIVE_HOME}
+}
+
+pkg_postinst() {
+       if use amd64; then
+               echo
+               einfo "NB: You just installed a 32-bit seamonkeyx"
+       fi
+
+       update_mozilla_launcher_symlinks
+}
+
+pkg_postrm() {
+       update_mozilla_launcher_symlinks
+}