1 |
truedfx 08/08/21 19:43:19 |
2 |
|
3 |
Modified: ChangeLog librep-0.17_p20070101.ebuild |
4 |
Log: |
5 |
Fix Emacs support (bug #234920, by Ulrich Müller) |
6 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.50 dev-libs/librep/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/librep/ChangeLog?rev=1.50&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/librep/ChangeLog?rev=1.50&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/librep/ChangeLog?r1=1.49&r2=1.50 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/librep/ChangeLog,v |
18 |
retrieving revision 1.49 |
19 |
retrieving revision 1.50 |
20 |
diff -u -r1.49 -r1.50 |
21 |
--- ChangeLog 14 Jan 2008 20:04:29 -0000 1.49 |
22 |
+++ ChangeLog 21 Aug 2008 19:43:18 -0000 1.50 |
23 |
@@ -1,6 +1,11 @@ |
24 |
# ChangeLog for dev-libs/librep |
25 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/librep/ChangeLog,v 1.49 2008/01/14 20:04:29 dertobi123 Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/librep/ChangeLog,v 1.50 2008/08/21 19:43:18 truedfx Exp $ |
28 |
+ |
29 |
+ 21 Aug 2008; Harald van Dijk <truedfx@g.o> |
30 |
+ +files/librep-0.17_p20070101-disable-elisp.patch, |
31 |
+ +files/50librep-gentoo.el, librep-0.17_p20070101.ebuild: |
32 |
+ Fix Emacs support (bug #234920, by Ulrich Müller) |
33 |
|
34 |
14 Jan 2008; Tobias Scherbaum <dertobi123@g.o> |
35 |
librep-0.17_p20070101.ebuild: |
36 |
|
37 |
|
38 |
|
39 |
1.5 dev-libs/librep/librep-0.17_p20070101.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/librep/librep-0.17_p20070101.ebuild?rev=1.5&view=markup |
42 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/librep/librep-0.17_p20070101.ebuild?rev=1.5&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/librep/librep-0.17_p20070101.ebuild?r1=1.4&r2=1.5 |
44 |
|
45 |
Index: librep-0.17_p20070101.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/librep/librep-0.17_p20070101.ebuild,v |
48 |
retrieving revision 1.4 |
49 |
retrieving revision 1.5 |
50 |
diff -u -r1.4 -r1.5 |
51 |
--- librep-0.17_p20070101.ebuild 14 Jan 2008 20:04:29 -0000 1.4 |
52 |
+++ librep-0.17_p20070101.ebuild 21 Aug 2008 19:43:18 -0000 1.5 |
53 |
@@ -1,13 +1,13 @@ |
54 |
# Copyright 1999-2008 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/librep/librep-0.17_p20070101.ebuild,v 1.4 2008/01/14 20:04:29 dertobi123 Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/librep/librep-0.17_p20070101.ebuild,v 1.5 2008/08/21 19:43:18 truedfx Exp $ |
58 |
|
59 |
MY_P=${P%_*} |
60 |
|
61 |
WANT_AUTOCONF="latest" |
62 |
WANT_AUTOMAKE="latest" |
63 |
|
64 |
-inherit autotools eutils toolchain-funcs multilib |
65 |
+inherit autotools eutils toolchain-funcs multilib elisp-common |
66 |
|
67 |
DESCRIPTION="Shared library implementing a Lisp dialect" |
68 |
HOMEPAGE="http://librep.sourceforge.net/" |
69 |
@@ -17,9 +17,10 @@ |
70 |
LICENSE="GPL-2" |
71 |
SLOT="0" |
72 |
KEYWORDS="alpha ~amd64 ia64 ppc ~ppc64 sparc x86" |
73 |
-IUSE="readline" |
74 |
+IUSE="emacs readline" |
75 |
|
76 |
RDEPEND=">=sys-libs/gdbm-1.8.0 |
77 |
+ emacs? ( virtual/emacs ) |
78 |
readline? ( sys-libs/readline )" |
79 |
DEPEND="${RDEPEND} |
80 |
sys-apps/texinfo" |
81 |
@@ -32,6 +33,7 @@ |
82 |
epatch "${DISTDIR}"/${P}.patch.bz2 |
83 |
epatch "${FILESDIR}"/${P}-libtool.patch |
84 |
epatch "${FILESDIR}"/rep_file_fdopen.patch |
85 |
+ epatch "${FILESDIR}"/${P}-disable-elisp.patch |
86 |
eautoreconf || die "eautoreconf failed" |
87 |
} |
88 |
|
89 |
@@ -43,6 +45,10 @@ |
90 |
$(use_with readline) || die "configure failed" |
91 |
|
92 |
LC_ALL=C emake || die "make failed" |
93 |
+ |
94 |
+ if use emacs; then |
95 |
+ elisp-compile rep-debugger.el || die "elisp-compile failed" |
96 |
+ fi |
97 |
} |
98 |
|
99 |
src_install() { |
100 |
@@ -50,4 +56,18 @@ |
101 |
dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO TREE |
102 |
docinto doc |
103 |
dodoc doc/* |
104 |
+ |
105 |
+ if use emacs; then |
106 |
+ elisp-install ${PN} rep-debugger.{el,elc} || die "elisp-install failed" |
107 |
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ |
108 |
+ || die "elisp-site-file-install failed" |
109 |
+ fi |
110 |
+} |
111 |
+ |
112 |
+pkg_postinst() { |
113 |
+ use emacs && elisp-site-regen |
114 |
+} |
115 |
+ |
116 |
+pkg_postrm() { |
117 |
+ use emacs && elisp-site-regen |
118 |
} |