public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-libs/xulrunner-bin: ChangeLog xulrunner-bin-1.8.1.14.ebuild xulrunner-bin-1.8.1.13.ebuild
@ 2008-04-18 15:12 Raul Porcel (armin76)
  0 siblings, 0 replies; only message in thread
From: Raul Porcel (armin76) @ 2008-04-18 15:12 UTC (permalink / raw
  To: gentoo-commits

armin76     08/04/18 15:12:04

  Modified:             ChangeLog
  Added:                xulrunner-bin-1.8.1.14.ebuild
  Removed:              xulrunner-bin-1.8.1.13.ebuild
  Log:
  Version bump
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.3                  net-libs/xulrunner-bin/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner-bin/ChangeLog?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner-bin/ChangeLog?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner-bin/ChangeLog?r1=1.2&r2=1.3

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-libs/xulrunner-bin/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog	26 Mar 2008 22:19:14 -0000	1.2
+++ ChangeLog	18 Apr 2008 15:12:04 -0000	1.3
@@ -1,6 +1,12 @@
 # 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.2 2008/03/26 22:19:14 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner-bin/ChangeLog,v 1.3 2008/04/18 15:12:04 armin76 Exp $
+
+*xulrunner-bin-1.8.1.14 (18 Apr 2008)
+
+  18 Apr 2008; Raúl Porcel <armin76@gentoo.org>
+  -xulrunner-bin-1.8.1.13.ebuild, +xulrunner-bin-1.8.1.14.ebuild:
+  Version bump
 
 *xulrunner-bin-1.8.1.13 (26 Mar 2008)
 



1.1                  net-libs/xulrunner-bin/xulrunner-bin-1.8.1.14.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner-bin/xulrunner-bin-1.8.1.14.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner-bin/xulrunner-bin-1.8.1.14.ebuild?rev=1.1&content-type=text/plain

Index: xulrunner-bin-1.8.1.14.ebuild
===================================================================
# 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.14.ebuild,v 1.1 2008/04/18 15:12:04 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
}



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-18 15:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-18 15:12 [gentoo-commits] gentoo-x86 commit in net-libs/xulrunner-bin: ChangeLog xulrunner-bin-1.8.1.14.ebuild xulrunner-bin-1.8.1.13.ebuild Raul Porcel (armin76)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox