Project: switch to GTK-3 based GDL and C++ bindings GDLmm

For the Gnome Docking Library, a recent official version will do.
For the mm-bindings by Fabien Parent we maintain our own debian package
at Lumiera.org/debian (there is no official debian package yet)
This commit is contained in:
Fischlurch 2014-10-05 05:04:49 +02:00
parent fd95c74bb8
commit 6cab04c348

View file

@ -120,16 +120,17 @@ def configure(env):
if not conf.CheckPkgConfig('cairomm-1.0', 0.6): if not conf.CheckPkgConfig('cairomm-1.0', 0.6):
problems.append('Unable to configure Cairo--') problems.append('Unable to configure Cairo--')
verGDL = '2.27.1' verGDL = '3.12'
if not conf.CheckPkgConfig('gdl-1.0', verGDL, alias='gdl'): verGDLmm = '3.7.3'
print 'No sufficiently recent (>=%s) version of GDL found. Maybe use custom package gdl-lum?' % verGDL urlGDLmm = 'http://ftp.gnome.org/pub/GNOME/sources/gdlmm/'
if not conf.CheckPkgConfig('gdl-lum', verGDL, alias='gdl'): urlGDLmmDEB = 'http://lumiera.org/debian/'
problems.append('GNOME Docking Library not found. We either need a sufficiently recent GDL ' if not conf.CheckPkgConfig('gdl-3.0', verGDL):
'version (>=%s), or the custom package "gdl-lum" from Lumiera.org.' % verGDL) problems.append('GNOME Docking Library not found. We need at least GDL %s '
verGDLmm = '2.30.0' 'and suitable C++ ("mm")-bindings (GDLmm >=%s)' % (verGDL, verGDLmm))
if not conf.CheckPkgConfig('gdlmm-1.0', verGDLmm, alias='gdlmm'): if not conf.CheckPkgConfig('gdlmm-3.0', verGDLmm, alias='gdl'):
problems.append('GNOME Docking Library not found. We need a sufficiently recent GDL mm-bindings ' problems.append('We need the C++ bindings for GDL by Fabien Parent: GDLmm >=%s '
'version (>=%s).' % verGDL) '(either from GNOME %s or use the debian package from %s)' %
(verGDLmm, urlGDLmm, urlGDLmmDEB))
if not conf.CheckPkgConfig('librsvg-2.0', '2.18.1'): if not conf.CheckPkgConfig('librsvg-2.0', '2.18.1'):
problems.append('Need rsvg Library for rendering icons.') problems.append('Need rsvg Library for rendering icons.')