Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-lisp
Navigation:
Lists: gentoo-lisp: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Nick <gentoo-lisp@...>
From: Ulrich Mueller <ulm@g.o>
Subject: Re: Stumpwm emacs dependency
Date: Sun, 15 Nov 2009 09:40:31 +0100
>>>>> On Sun, 15 Nov 2009, Nick wrote:

> However I see due to your build inheriting elisp it effectively
> depends on emacs. This seems like an odd dependency for a window
> manager, and I wonder if it's possible / reasonable to remove it?

The ebuild should only depend on Emacs with USE=emacs, so it should
inherit elisp-common instead of elisp. See below for an (untested)
patch.

Ulrich


--- stumpwm-0.9.6-r1.ebuild~
+++ stumpwm-0.9.6-r1.ebuild
@@ -3,7 +3,7 @@
 # $Header: $
 
 EAPI=2
-inherit common-lisp-2 glo-utils eutils elisp
+inherit common-lisp-2 glo-utils eutils elisp-common
 
 DESCRIPTION="Stumpwm is a tiling, keyboard driven X11 Window Manager written entirely in Common Lisp."
 HOMEPAGE="http://www.nongnu.org/stumpwm/"
@@ -22,7 +22,7 @@
 		!sbcl? ( !clisp? ( >=dev-lisp/sbcl-1.0.22 ) )
 		!sbcl? ( clisp? ( >=dev-lisp/clisp-2.44[X] ) )
 		sbcl?  ( >=dev-lisp/sbcl-1.0.22 )
-		emacs? ( app-emacs/slime )"
+		emacs? ( virtual/emacs app-emacs/slime )"
 DEPEND="${RDEPEND}
 		sys-apps/texinfo
 		doc? ( virtual/texi2dvi )"
@@ -89,3 +89,11 @@
 		common-lisp-symlink-asdf
 	fi
 }
+
+pkg_postinst() {
+	use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+	use emacs && elisp-site-regen
+}


Replies:
Re: Stumpwm emacs dependency
-- Nick
References:
Stumpwm emacs dependency
-- Nick
Navigation:
Lists: gentoo-lisp: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Stumpwm emacs dependency
Next by thread:
Re: Stumpwm emacs dependency
Previous by date:
Stumpwm emacs dependency
Next by date:
Re: Stumpwm emacs dependency


Updated May 02, 2012

Summary: Archive of the gentoo-lisp mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.