1 |
>>>>> On Sun, 15 Nov 2009, Nick wrote: |
2 |
|
3 |
> However I see due to your build inheriting elisp it effectively |
4 |
> depends on emacs. This seems like an odd dependency for a window |
5 |
> manager, and I wonder if it's possible / reasonable to remove it? |
6 |
|
7 |
The ebuild should only depend on Emacs with USE=emacs, so it should |
8 |
inherit elisp-common instead of elisp. See below for an (untested) |
9 |
patch. |
10 |
|
11 |
Ulrich |
12 |
|
13 |
|
14 |
--- stumpwm-0.9.6-r1.ebuild~ |
15 |
+++ stumpwm-0.9.6-r1.ebuild |
16 |
@@ -3,7 +3,7 @@ |
17 |
# $Header: $ |
18 |
|
19 |
EAPI=2 |
20 |
-inherit common-lisp-2 glo-utils eutils elisp |
21 |
+inherit common-lisp-2 glo-utils eutils elisp-common |
22 |
|
23 |
DESCRIPTION="Stumpwm is a tiling, keyboard driven X11 Window Manager written entirely in Common Lisp." |
24 |
HOMEPAGE="http://www.nongnu.org/stumpwm/" |
25 |
@@ -22,7 +22,7 @@ |
26 |
!sbcl? ( !clisp? ( >=dev-lisp/sbcl-1.0.22 ) ) |
27 |
!sbcl? ( clisp? ( >=dev-lisp/clisp-2.44[X] ) ) |
28 |
sbcl? ( >=dev-lisp/sbcl-1.0.22 ) |
29 |
- emacs? ( app-emacs/slime )" |
30 |
+ emacs? ( virtual/emacs app-emacs/slime )" |
31 |
DEPEND="${RDEPEND} |
32 |
sys-apps/texinfo |
33 |
doc? ( virtual/texi2dvi )" |
34 |
@@ -89,3 +89,11 @@ |
35 |
common-lisp-symlink-asdf |
36 |
fi |
37 |
} |
38 |
+ |
39 |
+pkg_postinst() { |
40 |
+ use emacs && elisp-site-regen |
41 |
+} |
42 |
+ |
43 |
+pkg_postrm() { |
44 |
+ use emacs && elisp-site-regen |
45 |
+} |