diff options
Diffstat (limited to 'net-libs/xulrunner-bin')
-rw-r--r-- | net-libs/xulrunner-bin/ChangeLog | 11 | ||||
-rw-r--r-- | net-libs/xulrunner-bin/Manifest | 7 | ||||
-rw-r--r-- | net-libs/xulrunner-bin/files/10xulrunner-bin | 1 | ||||
-rw-r--r-- | net-libs/xulrunner-bin/files/71xulrunner-bin | 1 | ||||
-rw-r--r-- | net-libs/xulrunner-bin/files/xulrunner-bin.conf | 6 | ||||
-rw-r--r-- | net-libs/xulrunner-bin/metadata.xml | 5 | ||||
-rw-r--r-- | net-libs/xulrunner-bin/xulrunner-bin-1.8.1.12.ebuild | 79 |
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..faebbb2f9d87 --- /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 1980 RMD160 8135416778689013bfc4187240591f0535f3dc89 SHA1 25f67d37c291eea2323372b1b6ed51dde2d9fa4d SHA256 a970dd819c98822c246ca231866d4c91f1cece23a39197141a91a0785060f993 +MISC ChangeLog 450 RMD160 bf0258028eb0ddb0981af02f634248a139bd24e8 SHA1 918b64d3b2bec2c545045a2f480c7ae14987bab4 SHA256 46e51029864a30f69b892c7e99c0c8afc287c9686b274ca9cf02a8a341b154e8 +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 +} |