summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-08-20 03:54:45 +0000
committerAron Griffis <agriffis@gentoo.org>2004-08-20 03:54:45 +0000
commit5f6e460adfec9f13c10cc2457f0343e9ad8a13ae (patch)
tree92b2aa3cfec73106197d2368bf9e224b4bb4ba0c /app-office/mozilla-sunbird-bin
parentUnderstand the sunbird name in addition to sunbird-bin (Manifest recommit) (diff)
downloadgentoo-2-5f6e460adfec9f13c10cc2457f0343e9ad8a13ae.tar.gz
gentoo-2-5f6e460adfec9f13c10cc2457f0343e9ad8a13ae.tar.bz2
gentoo-2-5f6e460adfec9f13c10cc2457f0343e9ad8a13ae.zip
First ebuild for mozilla-sunbird calendar #54988. Note this is pmasked for now since it's still got some bugs to work out (in the program, not the ebuild)
Diffstat (limited to 'app-office/mozilla-sunbird-bin')
-rw-r--r--app-office/mozilla-sunbird-bin/ChangeLog11
-rw-r--r--app-office/mozilla-sunbird-bin/Manifest2
-rw-r--r--app-office/mozilla-sunbird-bin/files/digest-mozilla-sunbird-bin-0.2.200408121
-rw-r--r--app-office/mozilla-sunbird-bin/files/icon/mozillasunbird-bin-icon.pngbin0 -> 6418 bytes
-rw-r--r--app-office/mozilla-sunbird-bin/files/icon/mozillasunbird-bin.desktop8
-rw-r--r--app-office/mozilla-sunbird-bin/metadata.xml5
-rw-r--r--app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.2.20040812.ebuild68
7 files changed, 95 insertions, 0 deletions
diff --git a/app-office/mozilla-sunbird-bin/ChangeLog b/app-office/mozilla-sunbird-bin/ChangeLog
new file mode 100644
index 000000000000..5b637cd57f85
--- /dev/null
+++ b/app-office/mozilla-sunbird-bin/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-office/mozilla-sunbird-bin
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird-bin/ChangeLog,v 1.1 2004/08/20 03:54:45 agriffis Exp $
+
+*mozilla-sunbird-bin-0.2.20040812 (19 Aug 2004)
+
+ 19 Aug 2004; Aron Griffis <agriffis@gentoo.org> +metadata.xml,
+ +mozilla-sunbird-bin-0.2.20040812.ebuild:
+ First ebuild for mozilla-sunbird calendar #54988. Note this is pmasked for now
+ since it's still got some bugs to work out (in the program, not the ebuild)
+
diff --git a/app-office/mozilla-sunbird-bin/Manifest b/app-office/mozilla-sunbird-bin/Manifest
new file mode 100644
index 000000000000..1cd9f2c930ed
--- /dev/null
+++ b/app-office/mozilla-sunbird-bin/Manifest
@@ -0,0 +1,2 @@
+MD5 954607cb52075b52b9582cdc3bf12433 mozilla-sunbird-bin-0.2.20040812.ebuild 1811
+MD5 e0bba3fd8ec5b2e7a7894d053162e4ad files/digest-mozilla-sunbird-bin-0.2.20040812 80
diff --git a/app-office/mozilla-sunbird-bin/files/digest-mozilla-sunbird-bin-0.2.20040812 b/app-office/mozilla-sunbird-bin/files/digest-mozilla-sunbird-bin-0.2.20040812
new file mode 100644
index 000000000000..ed122de3a661
--- /dev/null
+++ b/app-office/mozilla-sunbird-bin/files/digest-mozilla-sunbird-bin-0.2.20040812
@@ -0,0 +1 @@
+MD5 eb3792bce4a834f89f7f9d8a3ee17093 sunbird-i686-linux-gtk2+xft.tar.gz 8318229
diff --git a/app-office/mozilla-sunbird-bin/files/icon/mozillasunbird-bin-icon.png b/app-office/mozilla-sunbird-bin/files/icon/mozillasunbird-bin-icon.png
new file mode 100644
index 000000000000..abca1f0964d7
--- /dev/null
+++ b/app-office/mozilla-sunbird-bin/files/icon/mozillasunbird-bin-icon.png
Binary files differ
diff --git a/app-office/mozilla-sunbird-bin/files/icon/mozillasunbird-bin.desktop b/app-office/mozilla-sunbird-bin/files/icon/mozillasunbird-bin.desktop
new file mode 100644
index 000000000000..ca69dceb17ab
--- /dev/null
+++ b/app-office/mozilla-sunbird-bin/files/icon/mozillasunbird-bin.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Mozilla Sunbird (bin)
+Comment=Mozilla Sunbird Calendar
+Exec=/usr/bin/sunbird-bin
+Icon=mozillasunbird-bin-icon.png
+Terminal=false
+Type=Application
+Categories=Application;Network;
diff --git a/app-office/mozilla-sunbird-bin/metadata.xml b/app-office/mozilla-sunbird-bin/metadata.xml
new file mode 100644
index 000000000000..74d9257900cf
--- /dev/null
+++ b/app-office/mozilla-sunbird-bin/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>mozilla</herd>
+</pkgmetadata>
diff --git a/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.2.20040812.ebuild b/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.2.20040812.ebuild
new file mode 100644
index 000000000000..02d0ad504769
--- /dev/null
+++ b/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.2.20040812.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.2.20040812.ebuild,v 1.1 2004/08/20 03:54:45 agriffis Exp $
+
+inherit mozilla-launcher
+
+MY_PV=${PV##*.} ; MY_PV=${MY_PV:0:4}-${MY_PV:4:2}-${MY_PV:6:2}
+DESCRIPTION="The Mozilla Sunbird Calendar"
+SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/nightly/${MY_PV}/sunbird-i686-linux-gtk2+xft.tar.gz"
+HOMEPAGE="http://www.mozilla.org/projects/calendar/sunbird.html"
+# can't mirror because the name isn't unique
+RESTRICT="nostrip nomirror"
+
+KEYWORDS="-* ~x86 ~amd64"
+SLOT="0"
+LICENSE="MPL-1.1 NPL-1.1"
+IUSE=""
+S=${WORKDIR}/sunbird
+
+DEPEND="virtual/libc"
+RDEPEND="virtual/x11
+ 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
+ )
+ virtual/x11
+ >=net-www/mozilla-launcher-1.18"
+
+src_install() {
+ # Install sunbird in /opt
+ dodir /opt
+ mv ${S} ${D}/opt/sunbird
+
+ # Fixing permissions
+ chown -R root:root ${D}/opt/sunbird
+
+ # mozilla-launcher-1.8 supports -bin versions
+ dodir /usr/bin
+ dosym /usr/libexec/mozilla-launcher /usr/bin/sunbird-bin
+
+ # Install icon and .desktop for menu entry
+ insinto /usr/share/pixmaps
+ doins ${FILESDIR}/icon/mozillasunbird-bin-icon.png
+ insinto /usr/share/applications
+ doins ${FILESDIR}/icon/mozillasunbird-bin.desktop
+}
+
+pkg_preinst() {
+ export MOZILLA_FIVE_HOME=${ROOT}/opt/sunbird
+
+ # Remove entire installed instance to prevent all kinds of
+ # problems... see bug 44772 for example
+ rm -rf "${MOZILLA_FIVE_HOME}"
+}
+
+pkg_postinst() {
+ export MOZILLA_FIVE_HOME=${ROOT}/opt/sunbird
+
+ update_mozilla_launcher_symlinks
+}
+
+pkg_postrm() {
+ update_mozilla_launcher_symlinks
+}