Left: | ||
Right: |
OLD | NEW |
---|---|
1 import re | 1 import re |
2 # | 2 # |
3 from gub.syntax import printf | 3 from gub.syntax import printf |
4 from gub import context | 4 from gub import context |
5 from gub import misc | 5 from gub import misc |
6 from gub import repository | 6 from gub import repository |
7 from gub import target | 7 from gub import target |
8 from gub import tools | 8 from gub import tools |
9 | 9 |
10 shared = True | 10 shared = True |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
295 self.file_sub ([('^(AUXEXTRALIBS *=.*)(-liconv )', r'\1')], | 295 self.file_sub ([('^(AUXEXTRALIBS *=.*)(-liconv )', r'\1')], |
296 '%(builddir)s/Makefile') | 296 '%(builddir)s/Makefile') |
297 if shared: # Shared is a configure cross-compile disaster area, | 297 if shared: # Shared is a configure cross-compile disaster area, |
298 # it uses BUILD's uname to determine HOST libraries. | 298 # it uses BUILD's uname to determine HOST libraries. |
299 self.file_sub ([('^(EXTRALIBS *=.*)(-ldl )', r'\1')], | 299 self.file_sub ([('^(EXTRALIBS *=.*)(-ldl )', r'\1')], |
300 '%(builddir)s/Makefile') | 300 '%(builddir)s/Makefile') |
301 | 301 |
302 class Ghostscript__freebsd__x86 (Ghostscript__freebsd): | 302 class Ghostscript__freebsd__x86 (Ghostscript__freebsd): |
303 # ***FIXME*** Ghostscript 9.20 for freebsd-x86 raises seg fault. | 303 # ***FIXME*** Ghostscript 9.20 for freebsd-x86 raises seg fault. |
304 # So we use Ghostscript 9.15. | 304 # So we use Ghostscript 9.15. |
305 source = 'http://downloads.ghostscript.com/public/old-gs-releases/ghostscrip t-9.15.tar.gz' | 305 source = 'https://ftp.osuosl.org/pub/blfs/conglomeration/ghostscript/ghostsc ript-9.15.tar.bz2' |
lemzwerg
2018/07/16 17:14:05
Why exactly this host? In many cases, there is a
knupero
2018/07/16 17:30:11
ghostscript.com no longer has a download link for
trueroad
2018/07/17 12:05:42
For updating to gs 9.23, I think that it is necess
knupero
2018/07/17 21:49:12
And we would need someone to test it on freebsd ;-
| |
306 patches = [ | 306 patches = [ |
307 'ghostscript-9.15-make.patch', | 307 'ghostscript-9.15-make.patch', |
308 'ghostscript-9.15-cygwin.patch', | 308 'ghostscript-9.15-cygwin.patch', |
309 'ghostscript-9.15-windows-popen.patch', | 309 'ghostscript-9.15-windows-popen.patch', |
310 'ghostscript-9.15-windows-snprintf.patch', | 310 'ghostscript-9.15-windows-snprintf.patch', |
311 'ghostscript-9.15-windows-make.patch', | 311 'ghostscript-9.15-windows-make.patch', |
312 'ghostscript-9.15-freebsd6.patch' | 312 'ghostscript-9.15-freebsd6.patch' |
313 ] | 313 ] |
314 @staticmethod | 314 @staticmethod |
315 def static_version (self=False): | 315 def static_version (self=False): |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
395 + ' mandir=%(prefix_dir)s/share/man/ ' | 395 + ' mandir=%(prefix_dir)s/share/man/ ' |
396 + ' docdir=%(prefix_dir)s/share/doc/ghostscript/doc ' | 396 + ' docdir=%(prefix_dir)s/share/doc/ghostscript/doc ' |
397 + ' exdir=%(prefix_dir)s/share/doc/ghostscript/examples ' | 397 + ' exdir=%(prefix_dir)s/share/doc/ghostscript/examples ' |
398 ) | 398 ) |
399 | 399 |
400 def test (): | 400 def test (): |
401 printf ('Ghostscript.static_version:', Ghostscript.static_version ()) | 401 printf ('Ghostscript.static_version:', Ghostscript.static_version ()) |
402 | 402 |
403 if __name__ =='__main__': | 403 if __name__ =='__main__': |
404 test () | 404 test () |
OLD | NEW |