Permalink
Switch branches/tags
release/0.0.3 gub-release-lilypond-2.17.0-1 gub-release-lilypond-2.17.0-1-actual gub-release-lilypond-2.16.0-1 gub-release-lilypond-2.15.95-1 gub-release-lilypond-2.15.42-1 gub-release-lilypond-2.15.41-1 gub-release-lilypond-2.15.40-1 gub-release-lilypond-2.15.39-1 gub-release-lilypond-2.15.38-1 gub-release-lilypond-2.15.37-1 gub-release-lilypond-2.15.36-1 gub-release-lilypond-2.15.35-1 gub-release-lilypond-2.15.34-1 gub-release-lilypond-2.15.33-1 gub-release-lilypond-2.15.32-1 gub-release-lilypond-2.15.31-1 gub-release-lilypond-2.15.30-1 gub-release-lilypond-2.15.16-1 gub-release-lilypond-2.15.15-1 gub-release-lilypond-2.15.14-1 gub-release-lilypond-2.15.13-1 gub-release-lilypond-2.15.12-1 gub-release-lilypond-2.15.11-1 gub-release-lilypond-2.15.10-1 gub-release-lilypond-2.15.9-1 gub-release-lilypond-2.15.8-1 gub-release-lilypond-2.15.7-1 gub-release-lilypond-2.15.6-1 gub-release-lilypond-2.15.5-1 gub-release-lilypond-2.15.4-1 gub-release-lilypond-2.15.3-1 gub-release-lilypond-2.15.2-1 gub-release-lilypond-2.15.1-1 gub-release-lilypond-2.15.0-1 gub-release-lilypond-2.14.2-1 gub-release-lilypond-2.14.1-1 gub-release-lilypond-2.14.0-1 gub-release-lilypond-2.13.63-1 gub-release-lilypond-2.13.62-1 gub-release-lilypond-2.13.61-1 gub-release-lilypond-2.13.60-1 gub-release-lilypond-2.13.59-1 gub-release-lilypond-2.13.58-1 gub-release-lilypond-2.13.57-1 gub-release-lilypond-2.13.56-1 gub-release-lilypond-2.13.55-1 gub-release-lilypond-2.13.54-1 gub-release-lilypond-2.13.53-1 gub-release-lilypond-2.13.52-1 gub-release-lilypond-2.13.51-1 gub-release-lilypond-2.13.50-1 gub-release-lilypond-2.13.49-1 gub-release-lilypond-2.13.48-1 gub-release-lilypond-2.13.47-1 gub-release-lilypond-2.13.46-1 gub-release-lilypond-2.13.45-1 gub-release-lilypond-2.13.44-1 gub-release-lilypond-2.13.43-1 gub-release-lilypond-2.13.42-1 gub-release-lilypond-2.13.41-1 gub-release-lilypond-2.13.40-1 gub-release-lilypond-2.13.39-1 gub-release-lilypond-2.13.38-1 gub-release-lilypond-2.13.37-1 gub-release-lilypond-2.13.36-1 gub-release-lilypond-2.13.35-1 gub-release-lilypond-2.13.34-1 gub-release-lilypond-2.13.33-1 gub-release-lilypond-2.13.32-1 gub-release-lilypond-2.13.31-1 gub-release-lilypond-2.13.30-1 gub-release-lilypond-2.13.29-1 gub-release-lilypond-2.13.28-1 gub-release-lilypond-2.13.27-2 gub-release-lilypond-2.13.27-1 gub-release-lilypond-2.13.26-1 gub-release-lilypond-2.13.25-1 gub-release-lilypond-2.13.24-1 gub-release-lilypond-2.13.23-1 gub-release-lilypond-2.13.22-1 gub-release-lilypond-2.13.21-1 gub-release-lilypond-2.13.20-1 gub-release-lilypond-2.13.19-1 gub-release-lilypond-2.13.18-1 gub-release-lilypond-2.13.17-1 gub-release-lilypond-2.13.16-1 gub-release-lilypond-2.13.15-1 gub-release-lilypond-2.13.14-1 gub-release-lilypond-2.13.13-1 gub-release-lilypond-2.13.12-1 gub-release-lilypond-2.13.11-1 gub-release-lilypond-2.13.10-1 gub-release-lilypond-2.13.9-1 gub-release-lilypond-2.13.8-1 gub-release-lilypond-2.13.7-1 gub-release-lilypond-2.13.7-0 gub-release-lilypond-2.13.6-1 gub-release-lilypond-2.13.5-0 gub-release-lilypond-2.13.4-1
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
90 lines (86 sloc) 3.6 KB
#
from gub import loggedos
from gub import misc
from gub import target
from gub import tools
class Gettext (target.AutoBuild):
# 0.16.1 makes gcc barf on ICE.
source = 'http://ftp.gnu.org/pub/gnu/gettext/gettext-0.15.tar.gz'
dependencies = ['libtool']
config_cache_overrides = (target.AutoBuild.config_cache_overrides + '''
ac_cv_prog_YACC=${ac_cv_prog_YACC=no}
ac_cv_prog_INTLBISON=${ac_cv_prog_INTLBISON=no}
ac_cv_prog_F77=${ac_cv_prog_F77=no}
ac_cv_prog_FC=${ac_cv_prog_FC=no}
ac_cv_prog_GCJ=${ac_cv_prog_GCJ=no}
ac_cv_prog_GC=${ac_cv_prog_GC=no}
ac_cv_prog_HAVE_GCJ_IN_PATH=${ac_cv_prog_HAVE_GCJ_IN_PATH=no}
ac_cv_prog_HAVE_JAVAC_IN_PATH=${ac_cv_prog_HAVE_JAVAC_IN_PATH=no}
ac_cv_prog_HAVE_JIKES_IN_PATH=${ac_cv_prog_HAVE_JIKES_IN_PATH=no}
''')
configure_flags = (target.AutoBuild.configure_flags
+ ' --disable-threads'
+ ' --disable-csharp'
+ ' --disable-java'
)
# if 'stat' in misc.librestrict (): # too broken to fix
# def LD_PRELOAD (self):
# return '%(tools_prefix)s/lib/librestrict-open.so'
if 'stat' in misc.librestrict (): # OPENs /USR/include/libexpat.la
def LD_PRELOAD (self):
return ''
#
# if 'stat' in misc.librestrict (): # too broken to fix
# # configure [gettext, flex] blindly look for /USR/include/libi*
# configure_variables = (target.configure_variables
# + ' --without-libiconv-prefix'
# + ' --without-libintl-prefix')
# def autoupdate (self):
# target.AutoBuild.autoupdate (self)
# if 'stat' in misc.librestrict ():
# def defer (logger, file):
# loggedos.file_sub (logger, [
# # blindly stats /USR/share/locale/fr*
# # /USR/lib/jdk -- never mind --disable-java
# (' /usr(/share/locale|/lib/jdk)',
# self.expand (r'%(system_prefix)s/\1'))], file)
# self.map_find_files (defer, '%(srcdir)s', '^configure$')
def configure (self):
target.AutoBuild.configure (self)
self.file_sub ([
('(SUBDIRS *=.*)examples', r'\1 '),
],
'%(builddir)s/gettext-tools/Makefile')
class Gettext__mingw (Gettext):
patches = ['gettext-0.15-mingw.patch']
config_cache_overrides = (Gettext.config_cache_overrides
#FIXME: promoteme? see Gettext/Python
.replace ('ac_cv_func_select=yes',
'ac_cv_func_select=no')
+ '''
# only in additional library -- do not feel like patching right now
gl_cv_func_mbrtowc=${gl_cv_func_mbrtowc=no}
jm_cv_func_mbrtowc=${jm_cv_func_mbrtowc=no}
''')
configure_flags = Gettext.configure_flags + ' --disable-libasprintf'
def configure (self):
Gettext.configure (self)
self.file_sub ( [(' gettext-tools ', ' ')],
'%(builddir)s/Makefile')
def install (self):
## compile of gettext triggers configure in between. (hgwurgh.)
self.update_libtool ()
Gettext.install (self)
class Gettext__tools (tools.AutoBuild):
dependencies = [
# 'system::g++',
'libtool',
]
configure_flags = (tools.AutoBuild.configure_flags
+ ' --disable-libasprintf')
def configure (self):
tools.AutoBuild.configure (self)
self.file_sub ([
('(SUBDIRS *=.*)examples', r'\1 '),
],
'%(builddir)s/gettext-tools/Makefile')