1 |
ulm 08/08/22 10:58:04 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: guile-1.8.5-r1.ebuild |
5 |
Log: |
6 |
Fix Emacs support, bug 234898. |
7 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.62 dev-scheme/guile/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/guile/ChangeLog?rev=1.62&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/guile/ChangeLog?rev=1.62&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/guile/ChangeLog?r1=1.61&r2=1.62 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-scheme/guile/ChangeLog,v |
19 |
retrieving revision 1.61 |
20 |
retrieving revision 1.62 |
21 |
diff -u -r1.61 -r1.62 |
22 |
--- ChangeLog 28 Jul 2008 18:14:53 -0000 1.61 |
23 |
+++ ChangeLog 22 Aug 2008 10:58:04 -0000 1.62 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-scheme/guile |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile/ChangeLog,v 1.61 2008/07/28 18:14:53 pchrist Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile/ChangeLog,v 1.62 2008/08/22 10:58:04 ulm Exp $ |
29 |
+ |
30 |
+*guile-1.8.5-r1 (22 Aug 2008) |
31 |
+ |
32 |
+ 22 Aug 2008; Ulrich Mueller <ulm@g.o> +files/50guile-gentoo.el, |
33 |
+ +guile-1.8.5-r1.ebuild: |
34 |
+ Fix Emacs support, bug 234898. |
35 |
|
36 |
28 Jul 2008; Panagiotis Christopoulos <pchrist@g.o> metadata.xml: |
37 |
Update metadata.xml to include USE flag descriptions. Entries taken from |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-scheme/guile/guile-1.8.5-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/guile/guile-1.8.5-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/guile/guile-1.8.5-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: guile-1.8.5-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile/guile-1.8.5-r1.ebuild,v 1.1 2008/08/22 10:58:04 ulm Exp $ |
51 |
|
52 |
inherit eutils autotools flag-o-matic elisp-common |
53 |
|
54 |
DESCRIPTION="Scheme interpreter" |
55 |
HOMEPAGE="http://www.gnu.org/software/guile/" |
56 |
SRC_URI="mirror://gnu/guile/${P}.tar.gz" |
57 |
|
58 |
LICENSE="LGPL-2.1" |
59 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
60 |
RESTRICT="!regex? ( test )" |
61 |
|
62 |
DEPEND=">=dev-libs/gmp-4.1 |
63 |
>=sys-devel/libtool-1.5.6 |
64 |
sys-devel/gettext |
65 |
emacs? ( virtual/emacs )" |
66 |
|
67 |
# Guile seems to contain some slotting support, /usr/share/guile/ is slotted, |
68 |
# but there are lots of collisions. Most in /usr/share/libguile. Therefore |
69 |
# I'm slotting this in the same slot as guile-1.6* for now. |
70 |
SLOT="12" |
71 |
MAJOR="1.8" |
72 |
|
73 |
IUSE="networking regex discouraged deprecated elisp emacs nls debug-freelist debug-malloc debug threads" |
74 |
|
75 |
src_unpack() { |
76 |
unpack ${A}; cd "${S}" |
77 |
|
78 |
sed "s_sleep 999_sleep 1_" -i test-suite/tests/popen.test |
79 |
|
80 |
# cp configure.in configure.in.old |
81 |
|
82 |
#for libtool-2.2*, bug 212723 |
83 |
sed 's/AC_CONFIG_MACRO_DIR(\[m4\])/AC_CONFIG_MACRO_DIR(\[guile-config\])/' -i configure.in |
84 |
|
85 |
# diff -u configure.in.old configure.in |
86 |
|
87 |
eautoreconf |
88 |
} |
89 |
|
90 |
src_compile() { |
91 |
# see bug #178499 |
92 |
filter-flags -ftree-vectorize |
93 |
|
94 |
#will fail for me if posix is disabled or without modules -- hkBst |
95 |
econf \ |
96 |
--disable-error-on-warning \ |
97 |
--disable-static \ |
98 |
--enable-posix \ |
99 |
$(use_enable networking) \ |
100 |
$(use_enable regex) \ |
101 |
$(use deprecated || use_enable discouraged) \ |
102 |
$(use_enable deprecated) \ |
103 |
$(use_enable elisp) \ |
104 |
$(use_enable nls) \ |
105 |
--disable-rpath \ |
106 |
$(use_enable debug-freelist) \ |
107 |
$(use_enable debug-malloc) \ |
108 |
$(use_enable debug guile-debug) \ |
109 |
$(use_with threads) \ |
110 |
--with-modules \ |
111 |
EMACS=no |
112 |
|
113 |
emake || die "make failed" |
114 |
|
115 |
# above we disable the build system's Emacs support; |
116 |
# do it manually for USE=emacs |
117 |
if use emacs; then |
118 |
elisp-compile emacs/*.el || die "elisp-compile failed" |
119 |
fi |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
einstall || die "install failed" |
124 |
|
125 |
dodoc AUTHORS ChangeLog GUILE-VERSION HACKING NEWS README THANKS |
126 |
|
127 |
# texmacs needs this, closing bug #23493 |
128 |
dodir /etc/env.d |
129 |
echo "GUILE_LOAD_PATH=\"/usr/share/guile/${MAJOR}\"" > "${D}"/etc/env.d/50guile |
130 |
|
131 |
# necessary for registering slib, see bug 206896 |
132 |
keepdir /usr/share/guile/site |
133 |
|
134 |
if use emacs; then |
135 |
elisp-install ${PN} emacs/*.{el,elc} || die "elisp-install failed" |
136 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ |
137 |
|| die "elisp-site-file-install failed" |
138 |
fi |
139 |
} |
140 |
|
141 |
pkg_postinst() { |
142 |
[ "${ROOT}" == "/" ] && pkg_config |
143 |
use emacs && elisp-site-regen |
144 |
} |
145 |
|
146 |
pkg_postrm() { |
147 |
use emacs && elisp-site-regen |
148 |
} |
149 |
|
150 |
pkg_config() { |
151 |
if has_version dev-scheme/slib; then |
152 |
einfo "Registering slib with guile" |
153 |
install_slib_for_guile |
154 |
fi |
155 |
} |
156 |
|
157 |
_pkg_prerm() { |
158 |
rm -f "${ROOT}"/usr/share/guile/site/slibcat |
159 |
} |