Gentoo Archives: gentoo-commits

From: "Luis F. Araujo (araujo)" <araujo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-portage/himerge: ChangeLog himerge-0.30.36.1.ebuild himerge-0.22.ebuild
Date: Wed, 31 Dec 2008 13:58:09
Message-Id: E1LI1aH-0007Da-Ti@stork.gentoo.org
araujo      08/12/31 13:58:05

  Modified:             ChangeLog
  Added:                himerge-0.30.36.1.ebuild
  Removed:              himerge-0.22.ebuild
  Log:
  Adding new version.
  (Portage version: 2.2_rc20/cvs/Linux 2.6.25.9 x86_64)

Revision  Changes    Path
1.30                 app-portage/himerge/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/himerge/ChangeLog?rev=1.30&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/himerge/ChangeLog?rev=1.30&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/himerge/ChangeLog?r1=1.29&r2=1.30

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-portage/himerge/ChangeLog,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- ChangeLog	26 Dec 2008 01:13:27 -0000	1.29
+++ ChangeLog	31 Dec 2008 13:58:05 -0000	1.30
@@ -1,6 +1,12 @@
 # ChangeLog for app-portage/himerge
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/himerge/ChangeLog,v 1.29 2008/12/26 01:13:27 araujo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/himerge/ChangeLog,v 1.30 2008/12/31 13:58:05 araujo Exp $
+
+*himerge-0.30.36.1 (31 Dec 2008)
+
+  31 Dec 2008; Luis F. Araujo <araujo@g.o> -himerge-0.22.ebuild,
+  +himerge-0.30.36.1.ebuild:
+  Adding new version.
 
 *himerge-0.30.36-r1 (26 Dec 2008)
 



1.1                  app-portage/himerge/himerge-0.30.36.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/himerge/himerge-0.30.36.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/himerge/himerge-0.30.36.1.ebuild?rev=1.1&content-type=text/plain

Index: himerge-0.30.36.1.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/himerge/himerge-0.30.36.1.ebuild,v 1.1 2008/12/31 13:58:05 araujo Exp $

inherit base haskell-cabal

DESCRIPTION="Haskell Graphical User Interface for the Gentoo's Portage System."
HOMEPAGE="http://www.haskell.org/himerge/"
SRC_URI="http://www.haskell.org/himerge/release/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"

KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=">=dev-lang/ghc-6.8.2
	>=dev-haskell/gtk2hs-0.9.12.1
	dev-haskell/parallel
	dev-haskell/regex-posix
	>=app-portage/eix-0.9.3
	>=app-portage/gentoolkit-0.2.3
	>=app-portage/portage-utils-0.1.28
	>=dev-haskell/filepath-1.0"
RDEPEND=""

RESTRICT="strip"

pkg_setup() {
	if has_version >=www-client/mozilla-firefox-3.0; then
		if ! build_with_use dev-haskell/gtk2hs xulrunner; then
			echo
			eerror "Himerge requires gtk2hs to be compiled with the xulrunner
			USE flag if you have mozilla-firefox >= 3.0."
			die "gtk2hs missing web browser support."
		fi
	fi
	if ! built_with_use -o dev-haskell/gtk2hs firefox seamonkey xulrunner; then
	   	echo
		eerror "gtk2hs was not merged with the firefox, seamonkey or xulrunner USE flag."
		eerror "Himerge requires gtk2hs to be compiled with any of these flags."
		die "gtk2hs missing web browser support."
	fi
}

src_install() {
	cabal_src_install
	# Give suid privileges.
	fperms 4111 /usr/bin/hima
}

pkg_postinst() {
	enewgroup himerge
	ewarn "In order to run this Himerge version you have to"
	ewarn "be in the 'himerge' group."
	case ${CHOST} in
		*-darwin*) ewarn "Just run 'niutil -appendprop / /groups/himerge users <USER>'";;
		*-freebsd*|*-dragonfly*) ewarn "Just run 'pw groupmod himerge -m <USER>'";;
		*) ewarn "Just run 'gpasswd -a <USER> himerge', then have <USER> re-login.";;
	esac
	echo
}