From: Ulrich Mueller <ulm@gentoo.org>
To: Nick <gentoo-lisp@njw.me.uk>
Cc: gentoo-lisp@lists.gentoo.org
Subject: Re: [gentoo-lisp] Stumpwm emacs dependency
Date: Sun, 15 Nov 2009 09:40:31 +0100 [thread overview]
Message-ID: <19199.48767.752135.193083@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <20091115055119.GA28673@slinky.tiscali.co.uk>
>>>>> 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
+}
next prev parent reply other threads:[~2009-11-15 8:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-15 5:51 [gentoo-lisp] Stumpwm emacs dependency Nick
2009-11-15 8:40 ` Ulrich Mueller [this message]
2009-11-15 15:19 ` Nick
2009-11-15 16:38 ` Stelian Ionescu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19199.48767.752135.193083@a1i15.kph.uni-mainz.de \
--to=ulm@gentoo.org \
--cc=gentoo-lisp@lists.gentoo.org \
--cc=gentoo-lisp@njw.me.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox