comparison gub/specs/guile.py @ 6493:a753f2b56688

guile: bump to 2.0
author Jan Nieuwenhuizen <janneke@gnu.org>
date Tue, 15 Mar 2011 14:13:15 +0100
parents 840b403f7762
children 4af12ccffd10
comparison
equal deleted inserted replaced
6492:5bab80dd593a 6493:a753f2b56688
11 11
12 class Guile (target.AutoBuild): 12 class Guile (target.AutoBuild):
13 # source = 'git://git.sv.gnu.org/guile.git&branch=branch_release-1-8&revision=bba579611b3671c7e4c1515b100f01c048a07935' 13 # source = 'git://git.sv.gnu.org/guile.git&branch=branch_release-1-8&revision=bba579611b3671c7e4c1515b100f01c048a07935'
14 source = 'http://ftp.gnu.org/pub/gnu/guile/guile-1.8.7.tar.gz' 14 source = 'http://ftp.gnu.org/pub/gnu/guile/guile-1.8.7.tar.gz'
15 source = 'http://alpha.gnu.org/gnu/guile/guile-1.9.15.tar.gz' 15 source = 'http://alpha.gnu.org/gnu/guile/guile-1.9.15.tar.gz'
16 source = 'http://ftp.gnu.org/gnu/guile/guile-2.0.0.tar.gz'
16 patches = [ 17 patches = [
17 #'guile-reloc-1.8.6.patch', 18 #'guile-reloc-1.8.6.patch',
18 'guile-1.9.14-reloc.patch', 19 'guile-1.9.14-reloc.patch',
19 #'guile-cexp.patch', 20 #'guile-cexp.patch',
20 'guile-1.8.6-test-use-srfi.patch', 21 'guile-1.8.6-test-use-srfi.patch',
21 #'guile-1.8.7-doc-snarfing.patch', 22 #'guile-1.8.7-doc-snarfing.patch',
23 ##'guile-2.0.0-configure-cross.patch',
22 'guile-1.9.14-configure-cross.patch', 24 'guile-1.9.14-configure-cross.patch',
23 'guile-1.9.15-cross.patch', 25 'guile-1.9.15-cross.patch',
24 'guile-1.9.14-gnulib-libunistring.patch', 26 'guile-1.9.14-gnulib-libunistring.patch',
25 #'guile-1.9.14-gnulib-libunistring-retooled.patch', 27 #'guile-1.9.14-gnulib-libunistring-retooled.patch',
26 ] 28 ]
179 'guile-1.9.15-mingw-compile.patch', 181 'guile-1.9.15-mingw-compile.patch',
180 'guile-1.9.15-mingw-canonicalize.patch', 182 'guile-1.9.15-mingw-canonicalize.patch',
181 'guile-1.9.15-mingw-fports.patch', 183 'guile-1.9.15-mingw-fports.patch',
182 'guile-1.9.15-mingw-rename.patch', 184 'guile-1.9.15-mingw-rename.patch',
183 'guile-1.9.15-mingw-cachedir.patch', 185 'guile-1.9.15-mingw-cachedir.patch',
186 'guile-2.0.0-mingw-compile-binary.patch',
187 'guile-2.0.0-mingw-fchmod.patch',
188 'guile-2.0.0-mingw-dynl.patch',
184 ] 189 ]
185 dependencies = (Guile.dependencies + [ 190 dependencies = (Guile.dependencies + [
186 'regex-devel', 191 'regex-devel',
187 'mingw-extras', 192 'mingw-extras',
188 ]) 193 ])
261 ] 266 ]
262 compile_flags_native = (Guile.compile_flags_native + 267 compile_flags_native = (Guile.compile_flags_native +
263 'CPATH="%(srcdir)s:%(builddir)s:%(system_prefix)s/include" ') 268 'CPATH="%(srcdir)s:%(builddir)s:%(system_prefix)s/include" ')
264 269
265 class Guile__tools (tools.AutoBuild, Guile): 270 class Guile__tools (tools.AutoBuild, Guile):
266 patches = [] 271 patches = [
272 'guile-2.0.0-testsuite.patch',
273 'guile-2.0.0-mingw-compile-binary.patch',
274 ]
267 dependencies = (Guile.dependencies 275 dependencies = (Guile.dependencies
268 + [ 276 + [
269 'autoconf', 277 'autoconf',
270 'automake', 278 'automake',
271 'gettext', 279 'gettext',
303 # .libs/libguile_2.0_la-arbiters.o: In function `__gmpz_abs': 311 # .libs/libguile_2.0_la-arbiters.o: In function `__gmpz_abs':
304 # arbiters.c:(.text+0x0): multiple definition of `__gmpz_abs' 312 # arbiters.c:(.text+0x0): multiple definition of `__gmpz_abs'
305 self.file_sub ([('-std=gnu99', ''),('-std=c99', '')], '%(srcdir)s/configure') 313 self.file_sub ([('-std=gnu99', ''),('-std=c99', '')], '%(srcdir)s/configure')
306 def install (self): 314 def install (self):
307 tools.AutoBuild.install (self) 315 tools.AutoBuild.install (self)
308 self.system ('cd %(install_root)s%(packaging_suffix_dir)s%(prefix_dir)s/bin && cp guile guile-1.9') 316 self.system ('cd %(install_root)s%(packaging_suffix_dir)s%(prefix_dir)s/bin && cp guile guile-2.0')
309 # self.file_sub ([('[(]string-join other-flags[)]', '(string-join (filter (lambda (x) (not (equal? x "-L/usr/lib"))) other-flags))')], 317 # self.file_sub ([('[(]string-join other-flags[)]', '(string-join (filter (lambda (x) (not (equal? x "-L/usr/lib"))) other-flags))')],
310 # '%(install_root)s%(packaging_suffix_dir)s%(prefix_dir)s/bin/guile-config', 318 # '%(install_root)s%(packaging_suffix_dir)s%(prefix_dir)s/bin/guile-config',
311 # must_succeed=True) 319 # must_succeed=True)
312 320
313 class Guile__tools32 (tools32.AutoBuild, Guile__tools): 321 class Guile__tools32 (tools32.AutoBuild, Guile__tools):