Mercurial > gub
changeset 2366:abd1420a5c0f
Stab at fontconfig for cygwin.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Thu, 19 Oct 2006 16:52:44 +0100 |
parents | 705873949bfe |
children | a283e7d7a991 |
files | GNUmakefile specs/fontconfig.py |
diffstat | 2 files changed, 39 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/GNUmakefile Thu Oct 19 16:52:24 2006 +0100 +++ b/GNUmakefile Thu Oct 19 16:52:44 2006 +0100 @@ -131,6 +131,14 @@ echo INSTALLER_BUILD=2 > buildnumber-libtool.make $(call INVOKE_INSTALLER_BUILDER,cygwin) --buildnumber-file=buildnumber-libtool.make build-all libtool +cygwin-fontconfig: + rm -f uploads/cygwin/setup.ini + $(call INVOKE_GUB_BUILDER,cygwin) --build-source build fontconfig + +cygwin-fontconfig-installer: + echo INSTALLER_BUILD=1 > buildnumber-fontconfig.make + $(call INVOKE_INSTALLER_BUILDER,cygwin) --buildnumber-file=buildnumber-fontconfig.make build-all fontconfig + cygwin-guile: $(call INVOKE_GUB_BUILDER,cygwin) --build-source build libtool guile
--- a/specs/fontconfig.py Thu Oct 19 16:52:24 2006 +0100 +++ b/specs/fontconfig.py Thu Oct 19 16:52:44 2006 +0100 @@ -117,3 +117,34 @@ return toolpackage.ToolBuildSpec.compile_command (self) + ' DOCSRC="" ' def install_command (self): return toolpackage.ToolBuildSpec.install_command (self) + ' DOCSRC="" ' +class Fontconfig__cygwin (Fontconfig): + def get_subpackage_names (self): + #return ['devel', 'doc', ''] + return ['devel', 'runtime', ''] + + def get_subpackage_definitions (self): + d = dict (Fontconfig.get_subpackage_definitions (self)) + # FIXME: we do this for all cygwin packages + d['runtime'].append ('/usr/bin/cyg*dll') + return d + + def install (self): + # FIXME: we do this for all cygwin packages + Fontconfig.install (self) + self.install_readmes () + + def get_build_dependencies (self): + return ['libtool', 'libfreetype2-devel', 'expat'] + + def get_dependency_dict (self): + return { + '': ['libfontconfig1'], + 'devel': ['libfontconfig1', 'libfreetype2-devel'], + 'runtime': ['expat', 'libfreetype26', 'zlib'], + } + + def category_dict (self): + return {'': 'libs', + 'runtime': 'libs', + 'devel': 'devel libs', + 'doc': 'doc'}