Mercurial > gub
changeset 6095:3c776a4705f0
pango: set PANGO_SO_EXTENSION.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Tue, 01 Feb 2011 15:15:56 +0100 |
parents | 5f9f8bdc7044 |
children | bd2d15e20a1a |
files | gub/specs/pango.py gub/specs/pangocairo.py |
diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/pango.py Tue Feb 01 15:14:38 2011 +0100 +++ b/gub/specs/pango.py Tue Feb 01 15:15:56 2011 +0100 @@ -55,6 +55,7 @@ setfile PANGO_RC_FILE=$INSTALLER_PREFIX/etc/pango/pangorc setdir PANGO_PREFIX=$INSTALLER_PREFIX/ set PANGO_MODULE_VERSION=%(pango_module_version)s +set PANGO_SO_EXTENSION=.so ''', '%(install_prefix)s/etc/relocate/pango.reloc', env=locals ()) self.copy ('%(sourcefiledir)s/pango.modules', etc) def fix_config_files (self, prefix='/usr'): @@ -102,3 +103,6 @@ ${PANGO_PREFIX}/lib/pango/${PANGO_MODULE_VERSIOn}/modules/pango-basic-win32${PANGO_SO_EXTENSION} BasicScriptEngineWin32 PangoEngineShape PangoRenderWin32 common: ''', '%(etc)s/pango.modules', env=locals (), mode='a') Pango.fix_config_files (self, prefix) + self.dump (''' +set PANGO_SO_EXTENSION=.dll +''', '%(install_prefix)s/etc/relocate/pango.reloc', env=locals (), mode='a')
--- a/gub/specs/pangocairo.py Tue Feb 01 15:14:38 2011 +0100 +++ b/gub/specs/pangocairo.py Tue Feb 01 15:15:56 2011 +0100 @@ -9,14 +9,17 @@ class Pangocairo__mingw (Pangocairo): # FIXME: cut and paste Pango__mingw + configure_flags = (target.AutoBuild.configure_flags + + ' --disable-rebuilds') def create_config_files (self, prefix='/usr'): Pangocairo.create_config_files (self, prefix) etc = self.expand ('%(install_root)s/%(prefix)s/etc/pango', locals ()) self.dump ('''${PANGO_PREFIX}/lib/pango/${PANGO_MODULE_VERSION}/modules/pango-basic-win32${PANGO_SO_EXTENSION} BasicScriptEngineWin32 PangoEngineShape PangoRenderWin32 common: ''', '%(etc)s/pango.modules', env=locals (), mode='a') Pangocairo.fix_config_files (self, prefix) - configure_flags = (target.AutoBuild.configure_flags - + ' --disable-rebuilds') + self.dump (''' +set PANGO_SO_EXTENSION=.dll +''', '%(install_prefix)s/etc/relocate/pango.reloc', env=locals (), mode='a') class Pangocairo__darwin (Pangocairo): source = 'http://ftp.gnome.org/pub/GNOME/platform/2.29/2.29.91/sources/pango-1.27.1.tar.gz'