summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-03-19 20:06:07 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-03-19 20:06:07 +0000
commit3ccd8ec549fcf121a649bb98f36116f9bf942fbc (patch)
tree2d34f72018af52219984258354cf2857bccfbc15 /net-libs/xulrunner-bin
parentUpdate metadata (diff)
downloadgentoo-2-3ccd8ec549fcf121a649bb98f36116f9bf942fbc.tar.gz
gentoo-2-3ccd8ec549fcf121a649bb98f36116f9bf942fbc.tar.bz2
gentoo-2-3ccd8ec549fcf121a649bb98f36116f9bf942fbc.zip
Initial import
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-libs/xulrunner-bin')
-rw-r--r--net-libs/xulrunner-bin/ChangeLog11
-rw-r--r--net-libs/xulrunner-bin/Manifest7
-rw-r--r--net-libs/xulrunner-bin/files/10xulrunner-bin1
-rw-r--r--net-libs/xulrunner-bin/files/71xulrunner-bin1
-rw-r--r--net-libs/xulrunner-bin/files/xulrunner-bin.conf6
-rw-r--r--net-libs/xulrunner-bin/metadata.xml5
-rw-r--r--net-libs/xulrunner-bin/xulrunner-bin-1.8.1.12.ebuild79
7 files changed, 110 insertions, 0 deletions
diff --git a/net-libs/xulrunner-bin/ChangeLog b/net-libs/xulrunner-bin/ChangeLog
new file mode 100644
index 000000000000..6516e7716028
--- /dev/null
+++ b/net-libs/xulrunner-bin/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-libs/xulrunner-bin
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner-bin/ChangeLog,v 1.1 2008/03/19 20:06:06 armin76 Exp $
+
+*xulrunner-bin-1.8.1.12 (19 Mar 2008)
+
+ 19 Mar 2008; Raúl Porcel <armin76@gentoo.org> +files/10xulrunner-bin,
+ +files/71xulrunner-bin, +files/xulrunner-bin.conf, +metadata.xml,
+ +xulrunner-bin-1.8.1.12.ebuild:
+ Initial import
+
diff --git a/net-libs/xulrunner-bin/Manifest b/net-libs/xulrunner-bin/Manifest
new file mode 100644
index 000000000000..4253002c5c94
--- /dev/null
+++ b/net-libs/xulrunner-bin/Manifest
@@ -0,0 +1,7 @@
+AUX 10xulrunner-bin 34 RMD160 eae1f47f43c7a8d97a5e77e1b1044f0b8eb62960 SHA1 71d1da6065991f5a6b0e59244c597d9689b74409 SHA256 a40e56487f7a4cd8535ba747274493a59e25bfdf2be95181c51239f491487626
+AUX 71xulrunner-bin 24 RMD160 b499828925bf18a9dd7d11336aabe0719d791e6f SHA1 335ea4ed6ba09d102e97c42416a50b16265fc6be SHA256 e42389aed4bb781714d315b0fbf64655dd5e069bfc2862f06f93432b180c2306
+AUX xulrunner-bin.conf 113 RMD160 8be48cf5040eb5753c8eb35c048cc6b2c1a8a057 SHA1 62cce7ee5b1e51343c3dbc388894011da913d9d4 SHA256 9ac56b42cfb48854d23c299330ad327af5f0815140dcb7fdee905b660cd9a8a3
+DIST xulrunner-bin-1.8.1.12.tbz2 10511412 RMD160 72fe4e05b54d8cbcab846ae5e3154bf973dd845e SHA1 aaa69f8d0bb7181ca0de34adf985f8d300af3334 SHA256 0a1bb37ce54002a6d4d04e0da2f9e08292acb182bebdead9dbf80f6dfc8954c4
+EBUILD xulrunner-bin-1.8.1.12.ebuild 1993 RMD160 8553017fc368cb29d5bccca187d15d3c810e79c9 SHA1 620af9f4fe8939234542d12129a02107c6c3bf04 SHA256 7b87d2c14551d6e7c84b96f3d0e3caccc50af6d31039280a1982ec88e1b9e08c
+MISC ChangeLog 355 RMD160 8ea570e899b23939a790ebca77057b2ad001afe3 SHA1 46381316c09ffc58b891f1860c1235c81ffd1a47 SHA256 fa12043b7fd8738c48b14bee71b2db4cca40bde03c81cf1867dfc7a87527851b
+MISC metadata.xml 160 RMD160 d5a9f0bf8989621c2bde30facb53bcae00aba709 SHA1 5015c07af2083f20f9552d7fb11afb5ea69af345 SHA256 0cc5126362a12cee42ec1197c528a804cf36859329dd2c6d9225726831d14b8b
diff --git a/net-libs/xulrunner-bin/files/10xulrunner-bin b/net-libs/xulrunner-bin/files/10xulrunner-bin
new file mode 100644
index 000000000000..97e1ccd0ff17
--- /dev/null
+++ b/net-libs/xulrunner-bin/files/10xulrunner-bin
@@ -0,0 +1 @@
+SEARCH_DIRS_MASK="/opt/xulrunner"
diff --git a/net-libs/xulrunner-bin/files/71xulrunner-bin b/net-libs/xulrunner-bin/files/71xulrunner-bin
new file mode 100644
index 000000000000..4d6267408ebc
--- /dev/null
+++ b/net-libs/xulrunner-bin/files/71xulrunner-bin
@@ -0,0 +1 @@
+LDPATH="/opt/xulrunner"
diff --git a/net-libs/xulrunner-bin/files/xulrunner-bin.conf b/net-libs/xulrunner-bin/files/xulrunner-bin.conf
new file mode 100644
index 000000000000..e622e0b7155f
--- /dev/null
+++ b/net-libs/xulrunner-bin/files/xulrunner-bin.conf
@@ -0,0 +1,6 @@
+# Registration file generated by xulrunner. Do not edit.
+
+[version]
+GRE_PATH=instpath
+xulrunner=true
+javaxpcom=1
diff --git a/net-libs/xulrunner-bin/metadata.xml b/net-libs/xulrunner-bin/metadata.xml
new file mode 100644
index 000000000000..74d9257900cf
--- /dev/null
+++ b/net-libs/xulrunner-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/net-libs/xulrunner-bin/xulrunner-bin-1.8.1.12.ebuild b/net-libs/xulrunner-bin/xulrunner-bin-1.8.1.12.ebuild
new file mode 100644
index 000000000000..b0d8b3042e23
--- /dev/null
+++ b/net-libs/xulrunner-bin/xulrunner-bin-1.8.1.12.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner-bin/xulrunner-bin-1.8.1.12.ebuild,v 1.1 2008/03/19 20:06:06 armin76 Exp $
+
+inherit eutils multilib mozilla-launcher
+
+DESCRIPTION="Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications"
+HOMEPAGE="http://developer.mozilla.org/en/docs/XULRunner"
+SRC_URI="mirror://gentoo/${P}.tbz2"
+RESTRICT="strip"
+
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
+IUSE=""
+
+DEPEND=""
+RDEPEND="x11-libs/libXrender
+ x11-libs/libXt
+ x11-libs/libXmu
+ x86? (
+ >=x11-libs/gtk+-2.2
+ )
+ amd64? (
+ app-emulation/emul-linux-x86-baselibs
+ app-emulation/emul-linux-x86-gtklibs
+ app-emulation/emul-linux-x86-compat
+ )"
+
+S="${WORKDIR}/usr/lib/xulrunner/"
+
+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/xulrunner"
+
+ # Install firefox in /opt
+ dodir ${MOZILLA_FIVE_HOME%/*}
+ mv "${S}" "${D}"${MOZILLA_FIVE_HOME}
+
+ # Create /usr/bin/xulrunner-bin
+ install_mozilla_launcher_stub xulrunner-bin ${MOZILLA_FIVE_HOME}
+
+ # revdep-rebuild entry
+ insinto /etc/revdep-rebuild
+ doins "${FILESDIR}"/10xulrunner-bin
+
+ # install ldpath env.d
+ doenvd "${FILESDIR}"/71xulrunner-bin
+
+ insinto /etc/gre.d
+ newins "${FILESDIR}"/${PN}.conf ${PV}-bin.conf
+ sed -i -e \
+ "s|version|${PV}|
+ s|instpath|${MOZILLA_FIVE_HOME}|" \
+ "${D}"/etc/gre.d/${PV}-bin.conf
+}
+
+pkg_preinst() {
+ declare MOZILLA_FIVE_HOME="/opt/xulrunner"
+
+ # Remove entire installed instance to prevent all kinds of
+ # problems... see bug 44772 for example
+ rm -rf "${ROOT}"${MOZILLA_FIVE_HOME}
+}
+
+pkg_postinst() {
+ use amd64 && einfo "NB: You just installed a 32-bit xulrunner"
+ update_mozilla_launcher_symlinks
+}
+
+pkg_postrm() {
+ update_mozilla_launcher_symlinks
+}