diff -Nru gnome-python-desktop-2.32.0/braseroburn/wscript gnome-python-desktop-2.32.0+dfsg/braseroburn/wscript --- gnome-python-desktop-2.32.0/braseroburn/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/braseroburn/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,24 +0,0 @@ -# -*- python -*- -# encoding: utf-8 - -def configure(conf): - conf.env.append_value('MODULES_AVAILABLE', 'braseroburn') - if 'braseroburn' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']: - if conf.pkg_check_modules('BRASEROBURN', - 'libbrasero-burn >= 2.29 pygobject-2.0 pygtk-2.0', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'braseroburn') - - -def build(bld): - if 'braseroburn' in bld.env['MODULES_TO_BUILD']: - bld.codegen('brasero_burn', prefix='brasero_burn') - pyext = bld.create_pyext() - pyext.source = 'brasero_burn_module.c brasero_burn.c brasero-types.c' - pyext.includes = '.' - pyext.target = 'braseroburn' - pyext.uselib = 'BRASEROBURN' - pyext.install_path = '${PYTHONDIR}/gtk-2.0' - - bld.install_files('${DATADIR}/pygtk/2.0/defs', 'brasero_burn.defs') - diff -Nru gnome-python-desktop-2.32.0/braseromedia/wscript gnome-python-desktop-2.32.0+dfsg/braseromedia/wscript --- gnome-python-desktop-2.32.0/braseromedia/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/braseromedia/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,24 +0,0 @@ -# -*- python -*- -# encoding: utf-8 - -def configure(conf): - conf.env.append_value('MODULES_AVAILABLE', 'braseromedia') - if 'braseromedia' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']: - if conf.pkg_check_modules('BRASEROMEDIA', - 'libbrasero-media >= 2.29 pygobject-2.0', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'braseromedia') - - -def build(bld): - if 'braseromedia' in bld.env['MODULES_TO_BUILD']: - bld.codegen('brasero_media', prefix='brasero_media') - pyext = bld.create_pyext() - pyext.source = 'bm_module.c brasero_media.c' - pyext.includes = '.' - pyext.target = 'braseromedia' - pyext.uselib = 'BRASEROMEDIA' - pyext.install_path = '${PYTHONDIR}/gtk-2.0' - - bld.install_files('${DATADIR}/pygtk/2.0/defs', 'brasero_media.defs') - diff -Nru gnome-python-desktop-2.32.0/debian/changelog gnome-python-desktop-2.32.0+dfsg/debian/changelog --- gnome-python-desktop-2.32.0/debian/changelog 2012-01-16 14:35:10.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/debian/changelog 2012-02-06 14:16:21.000000000 +0000 @@ -1,8 +1,14 @@ -gnome-python-desktop (2.32.0-4build1) precise; urgency=low +gnome-python-desktop (2.32.0+dfsg-1) unstable; urgency=low - * No-change rebuild for new evolution-data-server libraries. + [ Josselin Mouette ] + * Update repository URL. + + [ Michael Biebl ] + * Repack upstream tarball and drop the waf build system. Closes: #654471 + * Update watch file to mangle the version for the +dfsg suffix. + * Don't use brace expansion in .install files and strip debian/tmp/ prefix. - -- Mathieu Trudel-Lapierre Mon, 16 Jan 2012 09:34:34 -0500 + -- Michael Biebl Mon, 06 Feb 2012 15:16:19 +0100 gnome-python-desktop (2.32.0-4) unstable; urgency=low diff -Nru gnome-python-desktop-2.32.0/debian/control gnome-python-desktop-2.32.0+dfsg/debian/control --- gnome-python-desktop-2.32.0/debian/control 2012-01-16 14:49:42.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/debian/control 2012-02-06 14:17:56.000000000 +0000 @@ -33,8 +33,8 @@ libebook1.2-dev (>= 1.4.0) Standards-Version: 3.9.2 X-Python-Version: >= 2.5 -Vcs-Svn: svn://anonscm.debian.org/svn/pkg-gnome/desktop/unstable/gnome-python-desktop -Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/gnome-python-desktop +Vcs-Svn: svn://anonscm.debian.org/svn/pkg-gnome/attic/gnome-python-desktop +Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/attic/gnome-python-desktop Package: python-gnome2-desktop-dev Architecture: all diff -Nru gnome-python-desktop-2.32.0/debian/control.in gnome-python-desktop-2.32.0+dfsg/debian/control.in --- gnome-python-desktop-2.32.0/debian/control.in 2012-01-16 14:33:49.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/debian/control.in 2012-01-01 21:32:07.000000000 +0000 @@ -28,8 +28,8 @@ libebook1.2-dev (>= 1.4.0) Standards-Version: 3.9.2 X-Python-Version: >= 2.5 -Vcs-Svn: svn://anonscm.debian.org/svn/pkg-gnome/desktop/unstable/gnome-python-desktop -Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/gnome-python-desktop +Vcs-Svn: svn://anonscm.debian.org/svn/pkg-gnome/attic/gnome-python-desktop +Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/attic/gnome-python-desktop Package: python-gnome2-desktop-dev Architecture: all diff -Nru gnome-python-desktop-2.32.0/debian/python-evolution.install gnome-python-desktop-2.32.0+dfsg/debian/python-evolution.install --- gnome-python-desktop-2.32.0/debian/python-evolution.install 2012-01-16 14:33:49.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/debian/python-evolution.install 2012-02-06 14:14:11.000000000 +0000 @@ -1 +1,2 @@ -debian/tmp/usr/lib/python*/*-packages/gtk-2.0/evolution/*.{py,so} +usr/lib/python*/*-packages/gtk-2.0/evolution/*.py +usr/lib/python*/*-packages/gtk-2.0/evolution/*.so diff -Nru gnome-python-desktop-2.32.0/debian/python-gnome2-desktop-dev.install gnome-python-desktop-2.32.0+dfsg/debian/python-gnome2-desktop-dev.install --- gnome-python-desktop-2.32.0/debian/python-gnome2-desktop-dev.install 2012-01-16 14:33:49.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/debian/python-gnome2-desktop-dev.install 2012-02-06 14:14:17.000000000 +0000 @@ -1,2 +1,2 @@ -debian/tmp/usr/lib/pkgconfig -debian/tmp/usr/share/pygtk +usr/lib/pkgconfig +usr/share/pygtk diff -Nru gnome-python-desktop-2.32.0/debian/python-gnomedesktop.install gnome-python-desktop-2.32.0+dfsg/debian/python-gnomedesktop.install --- gnome-python-desktop-2.32.0/debian/python-gnomedesktop.install 2012-01-16 14:33:49.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/debian/python-gnomedesktop.install 2012-02-06 14:14:32.000000000 +0000 @@ -1 +1,2 @@ -debian/tmp/usr/lib/python*/*-packages/gtk-2.0/gnomedesktop/*.{so,py} +usr/lib/python*/*-packages/gtk-2.0/gnomedesktop/*.py +usr/lib/python*/*-packages/gtk-2.0/gnomedesktop/*.so diff -Nru gnome-python-desktop-2.32.0/debian/python-gnomekeyring.install gnome-python-desktop-2.32.0+dfsg/debian/python-gnomekeyring.install --- gnome-python-desktop-2.32.0/debian/python-gnomekeyring.install 2012-01-16 14:33:49.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/debian/python-gnomekeyring.install 2012-02-06 14:14:36.000000000 +0000 @@ -1 +1 @@ -debian/tmp/usr/lib/python*/*-packages/gtk-2.0/gnomekeyring.so +usr/lib/python*/*-packages/gtk-2.0/gnomekeyring.so diff -Nru gnome-python-desktop-2.32.0/debian/python-gtop.install gnome-python-desktop-2.32.0+dfsg/debian/python-gtop.install --- gnome-python-desktop-2.32.0/debian/python-gtop.install 2012-01-16 14:33:49.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/debian/python-gtop.install 2012-02-06 14:14:40.000000000 +0000 @@ -1 +1 @@ -debian/tmp/usr/lib/python*/*-packages/gtk-2.0/gtop.so +usr/lib/python*/*-packages/gtk-2.0/gtop.so diff -Nru gnome-python-desktop-2.32.0/debian/python-metacity.install gnome-python-desktop-2.32.0+dfsg/debian/python-metacity.install --- gnome-python-desktop-2.32.0/debian/python-metacity.install 2012-01-16 14:33:49.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/debian/python-metacity.install 2012-02-06 14:14:44.000000000 +0000 @@ -1 +1 @@ -debian/tmp/usr/lib/python*/*-packages/gtk-2.0/metacity.so +usr/lib/python*/*-packages/gtk-2.0/metacity.so diff -Nru gnome-python-desktop-2.32.0/debian/python-rsvg.install gnome-python-desktop-2.32.0+dfsg/debian/python-rsvg.install --- gnome-python-desktop-2.32.0/debian/python-rsvg.install 2012-01-16 14:33:49.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/debian/python-rsvg.install 2012-02-06 14:14:47.000000000 +0000 @@ -1 +1 @@ -debian/tmp/usr/lib/python*/*-packages/gtk-2.0/rsvg.so +usr/lib/python*/*-packages/gtk-2.0/rsvg.so diff -Nru gnome-python-desktop-2.32.0/debian/python-totem-plparser.install gnome-python-desktop-2.32.0+dfsg/debian/python-totem-plparser.install --- gnome-python-desktop-2.32.0/debian/python-totem-plparser.install 2012-01-16 14:33:49.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/debian/python-totem-plparser.install 2012-02-06 14:14:59.000000000 +0000 @@ -1 +1,2 @@ -debian/tmp/usr/lib/python*/*-packages/gtk-2.0/totem/*.{so,py} +usr/lib/python*/*-packages/gtk-2.0/totem/*.py +usr/lib/python*/*-packages/gtk-2.0/totem/*.so diff -Nru gnome-python-desktop-2.32.0/debian/python-wnck.install gnome-python-desktop-2.32.0+dfsg/debian/python-wnck.install --- gnome-python-desktop-2.32.0/debian/python-wnck.install 2012-01-16 14:33:49.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/debian/python-wnck.install 2012-02-06 14:15:05.000000000 +0000 @@ -1 +1 @@ -debian/tmp/usr/lib/python*/*-packages/gtk-2.0/wnck.so +usr/lib/python*/*-packages/gtk-2.0/wnck.so diff -Nru gnome-python-desktop-2.32.0/debian/watch gnome-python-desktop-2.32.0+dfsg/debian/watch --- gnome-python-desktop-2.32.0/debian/watch 2012-01-16 14:33:49.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/debian/watch 2012-02-06 14:00:33.000000000 +0000 @@ -1,3 +1,4 @@ version=3 +opts="dversionmangle=s/\+dfsg//" \ http://ftp.gnome.org/pub/GNOME/sources/gnome-python-desktop/([\d\.]+[02468])/ \ gnome-python-desktop-(.*)\.tar\.bz2 diff -Nru gnome-python-desktop-2.32.0/docs/gnomeprint/wscript gnome-python-desktop-2.32.0+dfsg/docs/gnomeprint/wscript --- gnome-python-desktop-2.32.0/docs/gnomeprint/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/docs/gnomeprint/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ -# -*- python -*- - -def build(bld): - bld.build_docs_for_module('gnomeprint') - diff -Nru gnome-python-desktop-2.32.0/docs/gnomeprintui/wscript gnome-python-desktop-2.32.0+dfsg/docs/gnomeprintui/wscript --- gnome-python-desktop-2.32.0/docs/gnomeprintui/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/docs/gnomeprintui/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ -# -*- python -*- - -def build(bld): - bld.build_docs_for_module('gnomeprintui') - diff -Nru gnome-python-desktop-2.32.0/docs/gtksourceview/wscript gnome-python-desktop-2.32.0+dfsg/docs/gtksourceview/wscript --- gnome-python-desktop-2.32.0/docs/gtksourceview/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/docs/gtksourceview/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -# -*- python -*- - -def build(bld): - bld.build_docs_for_module('gtksourceview') diff -Nru gnome-python-desktop-2.32.0/evince/wscript gnome-python-desktop-2.32.0+dfsg/evince/wscript --- gnome-python-desktop-2.32.0/evince/wscript 2010-09-28 13:37:42.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/evince/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,24 +0,0 @@ -# -*- python -*- -# encoding: utf-8 - -def configure(conf): - conf.env.append_value('MODULES_AVAILABLE', 'evince') - if 'evince' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']: - if conf.pkg_check_modules('EVINCE', 'evince-document-2.32 evince-view-2.32 pygobject-2.0 pygtk-2.0', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'evince') - - - -def build(bld): - - if 'evince' in bld.env['MODULES_TO_BUILD']: - bld.codegen('evince') - pyext = bld.create_pyext() - pyext.source = 'evincemodule.c evince.c' - pyext.target = 'evince' - pyext.uselib = 'EVINCE' - pyext.install_path = '${PYTHONDIR}/gtk-2.0' - - bld.install_files('${DATADIR}/pygtk/2.0/defs', 'evince.defs') - diff -Nru gnome-python-desktop-2.32.0/evolution/wscript gnome-python-desktop-2.32.0+dfsg/evolution/wscript --- gnome-python-desktop-2.32.0/evolution/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/evolution/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,70 +0,0 @@ -# -*- python -*- -# encoding: utf-8 - - -def configure(conf): - conf.env.append_value('MODULES_AVAILABLE', 'evolution.ebook') - if 'evolution.ebook' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']: - if conf.pkg_check_modules('EVOLUTION_EBOOK', - 'libebook-1.2 >= 1.4 pygobject-2.0 gdk-pixbuf-2.0 pango', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'evolution.ebook') - - conf.env.append_value('MODULES_AVAILABLE', 'evolution.ecal') - if 'evolution.ecal' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']: - if conf.pkg_check_modules('EVOLUTION_ECAL', - 'libecal-1.2 >= 1.4 pygobject-2.0 gdk-pixbuf-2.0 pango', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'evolution.ecal') - - - -def build(bld): - evolution_common = bld.new_task_gen('cc', 'objects', 'pyext') - evolution_common.name = 'evolution_common' - evolution_common.target = 'evolution_common' - evolution_common.source = 'override_common.c' - evolution_common.includes = '.' - evolution_common.uselib = 'PYGTK' - evolution_common.env.append_value('CCFLAGS', evolution_common.env['shlib_CCFLAGS']) - - if 'evolution.ebook' in bld.env['MODULES_TO_BUILD']: - bld.codegen('ebook', py_ssize_t_clean=False) - pyext = bld.create_pyext() - pyext.includes = '.' - pyext.source = ''' - ebookmodule.c - ebook.c - evo-ebook-environment.c - evo-contact.c - evo-addressbook.c - ebook-enums.c -''' - pyext.add_objects = 'evolution_common' - pyext.target = 'ebook' - pyext.uselib = 'EVOLUTION_EBOOK' - pyext.install_path = '${PYTHONDIR}/gtk-2.0/evolution' - - if 'evolution.ecal' in bld.env['MODULES_TO_BUILD']: - bld.codegen('ecal', py_ssize_t_clean=False) - pyext = bld.create_pyext() - pyext.includes = '.' - pyext.source = ''' - ecalmodule.c - ecal.c - evo-ecal-environment.c - evo-calendar.c -''' - pyext.add_objects = 'evolution_common' - pyext.target = 'ecal' - pyext.uselib = 'EVOLUTION_ECAL' - pyext.install_path = '${PYTHONDIR}/gtk-2.0/evolution' - - if 'evolution.ecal' in bld.env['MODULES_TO_BUILD'] \ - or 'evolution.ebook' in bld.env['MODULES_TO_BUILD']: - py = bld.new_task_gen('py') - py.install_path = '${PYTHONDIR}/gtk-2.0/evolution' - py.source = "__init__.py" - - bld.install_files('${DATADIR}/pygtk/2.0/defs', ['ebook.defs', 'ecal.defs']) - diff -Nru gnome-python-desktop-2.32.0/gnomeapplet/wscript gnome-python-desktop-2.32.0+dfsg/gnomeapplet/wscript --- gnome-python-desktop-2.32.0/gnomeapplet/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/gnomeapplet/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,24 +0,0 @@ -# -*- python -*- -# encoding: utf-8 - -def configure(conf): - conf.env.append_value('MODULES_AVAILABLE', 'gnomeapplet') - if 'gnomeapplet' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']: - if conf.pkg_check_modules('GNOMEAPPLET', - 'libpanelapplet-2.0 >= 2.13.4 pygobject-2.0 libgnome-2.0 libgnomeui-2.0', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'gnomeapplet') - - -def build(bld): - env = bld.env - if 'gnomeapplet' in env['MODULES_TO_BUILD']: - bld.codegen('applet') - pyext = bld.create_pyext() - pyext.source = 'appletmodule.c applet.c' - pyext.target = 'gnomeapplet' - pyext.uselib = 'GNOMEAPPLET' - pyext.install_path = '${PYTHONDIR}/gtk-2.0' - - bld.install_files('${DATADIR}/pygtk/2.0/defs', 'applet.defs') - diff -Nru gnome-python-desktop-2.32.0/gnomedesktop/wscript gnome-python-desktop-2.32.0+dfsg/gnomedesktop/wscript --- gnome-python-desktop-2.32.0/gnomedesktop/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/gnomedesktop/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,26 +0,0 @@ -# -*- python -*- -# encoding: utf-8 - -def configure(conf): - conf.env.append_value('MODULES_AVAILABLE', 'gnomedesktop') - if 'gnomedesktop' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']: - if conf.pkg_check_modules('GNOMEDESKTOP', 'gnome-desktop-2.0 >= 2.10.0 pygobject-2.0', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'gnomedesktop') - -def build(bld): - - if 'gnomedesktop' in bld.env['MODULES_TO_BUILD']: - bld.codegen('_gnomedesktop') - pyext = bld.create_pyext() - pyext.source = '_gnomedesktopmodule.c _gnomedesktop.c' - pyext.target = '_gnomedesktop' - pyext.uselib = 'GNOMEDESKTOP' - pyext.install_path = '${PYTHONDIR}/gtk-2.0/gnomedesktop' - - py = bld.new_task_gen('py') - py.install_path = '${PYTHONDIR}/gtk-2.0/gnomedesktop' - py.source = "__init__.py" - - bld.install_files('${DATADIR}/pygtk/2.0/defs', '_gnomedesktop.defs') - diff -Nru gnome-python-desktop-2.32.0/gnomekeyring/wscript gnome-python-desktop-2.32.0+dfsg/gnomekeyring/wscript --- gnome-python-desktop-2.32.0/gnomekeyring/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/gnomekeyring/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,30 +0,0 @@ -# -*- python -*- -# encoding: utf-8 - -import os - -def configure(conf): - conf.env.append_value('MODULES_AVAILABLE', 'gnomekeyring') - if 'gnomekeyring' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']: - if conf.pkg_check_modules('GNOMEKEYRING', 'gnome-keyring-1 >= 0.5.0 pygobject-2.0 ', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'gnomekeyring') - if conf.pkg_check_modules('GNOMEKEYRING_2_20_1', 'gnome-keyring-1 >= 2.20.1', mandatory=False): - conf.define('HAVE_KEYRING_2_20_1', 1) - else: - conf.undefine('HAVE_KEYRING_2_20_1') - - -def build(bld): - env = bld.env - if 'gnomekeyring' in env['MODULES_TO_BUILD']: - bld.codegen('gnomekeyring', local_load_types=['gnomekeyring-argtypes.py']) - - pyext = bld.create_pyext() - pyext.source = 'gnomekeyringmodule.c gnomekeyring.c' - pyext.target = 'gnomekeyring' - pyext.uselib = 'GNOMEKEYRING' - pyext.install_path = '${PYTHONDIR}/gtk-2.0' - - bld.install_files('${DATADIR}/pygtk/2.0/defs', ['gnomekeyring.defs']) - diff -Nru gnome-python-desktop-2.32.0/gnomeprint/wscript gnome-python-desktop-2.32.0+dfsg/gnomeprint/wscript --- gnome-python-desktop-2.32.0/gnomeprint/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/gnomeprint/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,45 +0,0 @@ -# -*- python -*- -# encoding: utf-8 - -def configure(conf): - conf.env.append_value('MODULES_AVAILABLE', 'gnomeprint') - if 'gnomeprint' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']: - if conf.pkg_check_modules('GNOMEPRINT', - 'libgnomeprint-2.2 >= 2.2.0 pygobject-2.0 ', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'gnomeprint') - - conf.env.append_value('MODULES_AVAILABLE', 'gnomeprint.ui') - if 'gnomeprint.ui' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']: - if conf.pkg_check_modules('GNOMEPRINTUI', - 'libgnomeprintui-2.2 >= 2.2.0 pygobject-2.0 ', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'gnomeprint.ui') - -def build(bld): - - if 'gnomeprint' in bld.env['MODULES_TO_BUILD']: - bld.codegen('print', local_load_types=['print-arg-types.py']) - pyext = bld.create_pyext() - pyext.source = 'printmodule.c print.c art-gtype.c' - pyext.target = '_print' - pyext.uselib = 'GNOMEPRINT' - pyext.install_path = '${PYTHONDIR}/gtk-2.0/gnomeprint' - pyext.includes = '.' - - if 'gnomeprint.ui' in bld.env['MODULES_TO_BUILD']: - bld.codegen('printui', local_load_types=['print-arg-types.py']) - pyext = bld.create_pyext() - pyext.source = 'printuimodule.c printui.c' - pyext.target = 'ui' - pyext.uselib = 'GNOMEPRINTUI' - pyext.install_path = '${PYTHONDIR}/gtk-2.0/gnomeprint' - pyext.includes = '.' - - py = bld.new_task_gen('py') - py.install_path = '${PYTHONDIR}/gtk-2.0/gnomeprint' - py.source = "__init__.py" - - bld.install_files('${DATADIR}//pygtk/2.0/defs', - ['print.defs', 'printui.defs']) - diff -Nru gnome-python-desktop-2.32.0/gtksourceview/wscript gnome-python-desktop-2.32.0+dfsg/gtksourceview/wscript --- gnome-python-desktop-2.32.0/gtksourceview/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/gtksourceview/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,23 +0,0 @@ -# -*- python -*- -# encoding: utf-8 - -def configure(conf): - conf.env.append_value('MODULES_AVAILABLE', 'gtksourceview') - if 'gtksourceview' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']: - if conf.pkg_check_modules('GTKSOURCEVIEW', 'gtksourceview-1.0 >= 1.1.90 pygobject-2.0 ', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'gtksourceview') - - -def build(bld): - - if 'gtksourceview' in bld.env['MODULES_TO_BUILD']: - bld.codegen('gtksourceview', local_register=['../gnomeprint/print.defs']) - pyext = bld.create_pyext() - pyext.source = 'gtksourceviewmodule.c gtksourceview.c' - pyext.target = 'gtksourceview' - pyext.uselib = 'GTKSOURCEVIEW' - pyext.install_path = '${PYTHONDIR}/gtk-2.0' - - bld.install_files('${DATADIR}/pygtk/2.0/defs', 'gtksourceview.defs') - diff -Nru gnome-python-desktop-2.32.0/gtop/wscript gnome-python-desktop-2.32.0+dfsg/gtop/wscript --- gnome-python-desktop-2.32.0/gtop/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/gtop/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,21 +0,0 @@ -# -*- python -*- -# encoding: utf-8 - - -def configure(conf): - conf.env.append_value('MODULES_AVAILABLE', 'gtop') - if 'gtop' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']: - if conf.pkg_check_modules('GTOP', 'libgtop-2.0 >= 2.13.0 pygobject-2.0 ', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'gtop') - - -def build(bld): - - if 'gtop' in bld.env['MODULES_TO_BUILD']: - pyext = bld.create_pyext() - pyext.source = 'gtop.c' - pyext.target = 'gtop' - pyext.uselib = 'GTOP' - pyext.install_path = '${PYTHONDIR}/gtk-2.0' - diff -Nru gnome-python-desktop-2.32.0/mediaprofiles/wscript gnome-python-desktop-2.32.0+dfsg/mediaprofiles/wscript --- gnome-python-desktop-2.32.0/mediaprofiles/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/mediaprofiles/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,25 +0,0 @@ -# -*- python -*- -# encoding: utf-8 - - -def configure(conf): - conf.env.append_value('MODULES_AVAILABLE', 'mediaprofiles') - if 'mediaprofiles' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']: - if conf.pkg_check_modules('MEDIAPROFILES', - 'gnome-media-profiles >= 2.10.0 pygobject-2.0 ', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'mediaprofiles') - - -def build(bld): - - if 'mediaprofiles' in bld.env['MODULES_TO_BUILD']: - bld.codegen('mediaprofiles') - pyext = bld.create_pyext() - pyext.source = 'mediaprofilesmodule.c mediaprofiles.c' - pyext.target = 'mediaprofiles' - pyext.uselib = 'MEDIAPROFILES' - pyext.install_path = '${PYTHONDIR}/gtk-2.0' - - bld.install_files('${DATADIR}/pygtk/2.0/defs', ['mediaprofiles.defs']) - diff -Nru gnome-python-desktop-2.32.0/metacity/wscript gnome-python-desktop-2.32.0+dfsg/metacity/wscript --- gnome-python-desktop-2.32.0/metacity/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/metacity/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,33 +0,0 @@ -# -*- python -*- -# encoding: utf-8 - -import os -import Options - -def set_options(opt): - opt.add_option('--enable-metacity', - help=('Enable metacity bindings.' - ' WARNING: these bindings are not very well maintained ' - 'and may not work or even compile.'), - action="store_true", default=False, - dest='enable_metacity') - -def configure(conf): - conf.env.append_value('MODULES_AVAILABLE', 'metacity') - if 'metacity' in conf.env['ENABLE_MODULES'] or Options.options.enable_metacity: - if conf.pkg_check_modules('METACITY', 'libmetacity-private >= 2.19.8 pygobject-2.0 ', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'metacity') - -def build(bld): - env = bld.env - if 'metacity' in env['MODULES_TO_BUILD']: - bld.codegen('metacity') - pyext = bld.create_pyext() - pyext.source = 'metacitymodule.c metacity.c' - pyext.target = 'metacity' - pyext.uselib = 'METACITY' - pyext.install_path = '${PYTHONDIR}/gtk-2.0' - - bld.install_files('${DATADIR}/pygtk/2.0/defs', ['metacity.defs']) - diff -Nru gnome-python-desktop-2.32.0/nautilusburn/wscript gnome-python-desktop-2.32.0+dfsg/nautilusburn/wscript --- gnome-python-desktop-2.32.0/nautilusburn/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/nautilusburn/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,24 +0,0 @@ -# -*- python -*- -# encoding: utf-8 - -def configure(conf): - conf.env.append_value('MODULES_AVAILABLE', 'nautilusburn') - if 'nautilusburn' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']: - if conf.pkg_check_modules('NAUTILUSBURN', - 'libnautilus-burn >= 2.15.3 pygobject-2.0', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'nautilusburn') - - -def build(bld): - if 'nautilusburn' in bld.env['MODULES_TO_BUILD']: - bld.codegen('nautilus_burn', prefix='nautilus_burn') - pyext = bld.create_pyext() - pyext.source = 'nb_module.c nautilus_burn.c nb_track.c' - pyext.includes = '.' - pyext.target = 'nautilusburn' - pyext.uselib = 'NAUTILUSBURN' - pyext.install_path = '${PYTHONDIR}/gtk-2.0' - - bld.install_files('${DATADIR}/pygtk/2.0/defs', 'nautilus_burn.defs') - diff -Nru gnome-python-desktop-2.32.0/rsvg/wscript gnome-python-desktop-2.32.0+dfsg/rsvg/wscript --- gnome-python-desktop-2.32.0/rsvg/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/rsvg/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,24 +0,0 @@ -# -*- python -*- -# encoding: utf-8 - - -def configure(conf): - conf.env.append_value('MODULES_AVAILABLE', 'rsvg') - if 'rsvg' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']: - if conf.pkg_check_modules('RSVG', - 'librsvg-2.0 >= 2.14 pycairo pygobject-2.0 ', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'rsvg') - - -def build(bld): - if 'rsvg' in bld.env['MODULES_TO_BUILD']: - bld.codegen('rsvg') - pyext = bld.create_pyext() - pyext.source = 'rsvgmodule.c rsvg.c' - pyext.target = 'rsvg' - pyext.uselib = 'RSVG' - pyext.install_path = '${PYTHONDIR}/gtk-2.0' - - bld.install_files('${DATADIR}/pygtk/2.0/defs', 'rsvg.defs') - diff -Nru gnome-python-desktop-2.32.0/totem/wscript gnome-python-desktop-2.32.0+dfsg/totem/wscript --- gnome-python-desktop-2.32.0/totem/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/totem/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,28 +0,0 @@ -# -*- python -*- -# encoding: utf-8 - -def configure(conf): - conf.env.append_value('MODULES_AVAILABLE', 'totem.plparser') - if 'totem.plparser' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']: - if conf.pkg_check_modules('PLPARSER', - 'totem-plparser >= 1.4 pygobject-2.0 ', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'totem.plparser') - - -def build(bld): - - if 'totem.plparser' in bld.env['MODULES_TO_BUILD']: - bld.codegen('plparser') - pyext = bld.create_pyext() - pyext.source = 'plparsermodule.c plparser.c' - pyext.target = 'plparser' - pyext.uselib = 'PLPARSER' - pyext.install_path = '${PYTHONDIR}/gtk-2.0/totem' - - py = bld.new_task_gen('py') - py.install_path = '${PYTHONDIR}/gtk-2.0/totem' - py.source = "__init__.py" - - bld.install_files('${DATADIR}/pygtk/2.0/defs', 'plparser.defs') - Binary files /tmp/dYBd2b9oTH/gnome-python-desktop-2.32.0/waf and /tmp/q5lmIgWHrO/gnome-python-desktop-2.32.0+dfsg/waf differ diff -Nru gnome-python-desktop-2.32.0/wnck/wscript gnome-python-desktop-2.32.0+dfsg/wnck/wscript --- gnome-python-desktop-2.32.0/wnck/wscript 2010-02-09 12:46:26.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/wnck/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,26 +0,0 @@ -# -*- python -*- -# encoding: utf-8 - -def configure(conf): - conf.env.append_value('MODULES_AVAILABLE', 'wnck') - if 'wnck' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']: - if conf.pkg_check_modules('WNCK', - 'libwnck-1.0 >= 2.20 pygobject-2.0 pygtk-2.0', - mandatory=False): - conf.env.append_value('MODULES_TO_BUILD', 'wnck') - - - -def build(bld): - - if 'wnck' in bld.env['MODULES_TO_BUILD']: - bld.codegen('wnck') - pyext = bld.create_pyext() - pyext.env.append_value('CCDEFINES', 'WNCK_I_KNOW_THIS_IS_UNSTABLE') - pyext.source = 'wnckmodule.c wnck.c' - pyext.target = 'wnck' - pyext.uselib = 'WNCK' - pyext.install_path = '${PYTHONDIR}/gtk-2.0' - - bld.install_files('${DATADIR}/pygtk/2.0/defs', 'wnck.defs') - diff -Nru gnome-python-desktop-2.32.0/wscript gnome-python-desktop-2.32.0+dfsg/wscript --- gnome-python-desktop-2.32.0/wscript 2010-09-28 17:35:04.000000000 +0000 +++ gnome-python-desktop-2.32.0+dfsg/wscript 1970-01-01 00:00:00.000000000 +0000 @@ -1,313 +0,0 @@ -# -*- python -*- - -VERSION = '2.32.0' -APPNAME = 'gnome-python-desktop' -srcdir = '.' -blddir = 'build' - -import Options - -import Configure -Configure.autoconfig = True - -import ccroot -ccroot.USE_TOP_LEVEL = True - -import Task -Task.file_deps = Task.extract_deps - -import Logs -import Build -import Utils - -import misc -import os -import shutil -import glob -import sys -import types - - -def dist_hook(): - for docs_module in ['gnomeprint', 'gnomeprintui', 'gtksourceview']: - for html_file in glob.glob(os.path.join('..', 'build', 'default', 'docs', docs_module, 'html', '*')): - shutil.copy2(html_file, os.path.join('docs', docs_module, 'html')) - ## Copy WAF to the distdir - assert os.path.basename(sys.argv[0]) == 'waf' - shutil.copy(os.path.join('..', sys.argv[0]), '.') - - subprocess.Popen([os.path.join(srcdir, "generate-ChangeLog")], shell=True).wait() - try: - os.chmod(os.path.join(srcdir, "ChangeLog"), 0644) - except OSError: - pass - shutil.copy(os.path.join(srcdir, "ChangeLog"), '.') - - -def set_options(opt): - opt.tool_options('compiler_cc') - opt.tool_options('gnome') - opt.tool_options('gnu_dirs') - opt.tool_options('cflags') - - opt.sub_options('metacity') - - opt.add_option('--enable-modules', - help=('Enable only the specified modules.'), - type="string", default='all', metavar="MODULES_LIST (comma separated)", - dest='enable_modules') - -def _bug_buddy_check(conf): - conf.env.append_value('MODULES_AVAILABLE', 'bugbuddy') - if conf.find_program('bug-buddy', var='BUG_BUDDY'): - ver_string = Utils.cmd_output("%s --version" % (conf.env['BUG_BUDDY'],)) - ver = ver_string.split()[-1] - ver = [int(x) for x in ver.split('.')] - if ver >= [2,16]: - conf.env.append_value('MODULES_TO_BUILD', 'bugbuddy') - -def configure(conf): - conf.check_tool('misc') - conf.check_tool('compiler_cc') - conf.check_tool('gnome') - conf.check_tool('gnu_dirs') - conf.check_tool('python') - conf.check_tool('command') - conf.check_tool('pkgconfig') - conf.check_tool('cflags') - conf.check_python_version((2,4)) - conf.check_python_headers() - conf.find_program('xsltproc', var='XSLTPROC') - conf.define('VERSION', VERSION) - - version = [int(s) for s in VERSION.split('.')] - conf.define('GNOME_PYTHON_DESKTOP_MAJOR_VERSION', version[0]) - conf.define('GNOME_PYTHON_DESKTOP_MINOR_VERSION', version[1]) - conf.define('GNOME_PYTHON_DESKTOP_MICRO_VERSION', version[2]) - - # Define pygtk required version, for runtime check - pygtk_version = [2, 10, 3] - conf.define('PYGTK_REQUIRED_MAJOR_VERSION', pygtk_version[0]) - conf.define('PYGTK_REQUIRED_MINOR_VERSION', pygtk_version[1]) - conf.define('PYGTK_REQUIRED_MICRO_VERSION', pygtk_version[2]) - - conf.pkg_check_modules('PYGTK', 'pygtk-2.0 >= %s' % ('.'.join([str(x) for x in pygtk_version]),)) - conf.env['PYGTK_DEFSDIR'] = conf.pkg_check_module_variable('pygtk-2.0', 'defsdir') - - gnome_python_version = [2, 10, 0] - values = conf.pkg_check_modules('GNOME_PYTHON', - 'gnome-python-2.0 >= %s' % ('.'.join([str(x) for x in gnome_python_version]),)) - conf.env['GNOME_PYTHON_DEFSDIR'] = conf.pkg_check_module_variable('gnome-python-2.0', 'defsdir') - conf.env['GNOME_PYTHON_ARG_TYPES_DIR'] = conf.pkg_check_module_variable('gnome-python-2.0', 'argtypesdir') - - if not conf.find_program('pygobject-codegen-2.0', var='CODEGEN'): - if not conf.find_program('pygtk-codegen-2.0', var='CODEGEN'): - Logs.error("Could not find pygobject/pygtk codegen") - - conf.env.append_value('CCDEFINES', 'HAVE_CONFIG_H') - - conf.env['ENABLE_MODULES'] = Options.options.enable_modules.split(',') - - conf.sub_config('gnomekeyring') - conf.sub_config('gnomeapplet') - conf.sub_config('gnomedesktop') - conf.sub_config('gnomeprint') - conf.sub_config('evince') - conf.sub_config('evolution') - conf.sub_config('gtksourceview') - conf.sub_config('gtop') - conf.sub_config('mediaprofiles') - conf.sub_config('metacity') - conf.sub_config('nautilusburn') - conf.sub_config('braseromedia') - conf.sub_config('braseroburn') - conf.sub_config('rsvg') - conf.sub_config('totem') - conf.sub_config('wnck') - - _bug_buddy_check(conf) - - for module in conf.env['ENABLE_MODULES']: - if module == 'all': - continue - if module not in conf.env['MODULES_AVAILABLE']: - Params.warning("Requested module %r is not available in this source tree." % module) - if conf.env['MODULES_TO_BUILD']: - print "** The following modules will be built:" - for m in conf.env['MODULES_TO_BUILD']: - print "\t%s" % m - - not_built = list(conf.env['MODULES_AVAILABLE']) - for mod in conf.env['MODULES_TO_BUILD']: - not_built.remove(mod) - if not_built: - print "** The following modules will NOT be built:" - for m in not_built: - print "\t%s" % m - - conf.write_config_header('config.h') - - for docs_module in ['gnomeprint', 'gnomeprintui', 'gtksourceview']: - d = os.path.join('docs', docs_module, 'html') - try: - os.mkdir(d) - except OSError: - pass - # print "* Directory %r already exists." % (d,) - #else: - # print "* Creating directory %r." % (d,) - -def codegen(bld, module, local_load_types=(), register=(), local_register=(), prefix=None, py_ssize_t_clean=True): - cmd = bld.new_task_gen('command', - source=['%s.defs' % module, '%s.override' % module], - target=['%s.c' % module]) - cmd.command = ['${CODEGEN}'] - - if py_ssize_t_clean: - cmd.command.append('--py_ssize_t-clean') - - register = [os.path.join(bld.env['PYGTK_DEFSDIR'], 'pango-types.defs'), - os.path.join(bld.env['PYGTK_DEFSDIR'], 'gdk-types.defs'), - os.path.join(bld.env['PYGTK_DEFSDIR'], 'gtk-types.defs'), - os.path.join(bld.env['GNOME_PYTHON_DEFSDIR'], 'bonobo-types.defs'), - os.path.join(bld.env['GNOME_PYTHON_DEFSDIR'], 'bonoboui-types.defs'), - ] + list(register) - - cmd.command.extend(['--load-types', os.path.join(bld.env['GNOME_PYTHON_ARG_TYPES_DIR'], 'bonobo-arg-types.py')]) - - for load in local_load_types: - cmd.source.append(load) - cmd.command.extend(['--load-types', '${SRC[%i]}' % (len(cmd.source)-1)]) - - for reg in local_register: - cmd.source.append(reg) - cmd.command.extend(['--register', '${SRC[%i]}' % (len(cmd.source)-1)]) - - for reg in register: - cmd.command.extend(['--register', reg]) - - if prefix: - cmd.command.extend(['--prefix', prefix]) - else: - cmd.command.extend(['--prefix', 'py'+module]) - - cmd.command.extend(['--override', "${SRC[1]}", - '${SRC[0]}', - '>', '${TGT[0]}']) - - return cmd - - - -def build_docs_for_module(bld, module_name): - d = bld.path.find_dir('html').abspath() - if bld.env['XSLTPROC'] and not os.path.exists(os.path.join(d, 'index.html')): - html_dir = os.path.join(bld.env['DATADIR'], 'gtk-doc', 'html') - target_dir = os.path.join('html_dir', module_name) - - cmd = bld.new_task_gen('command', - target='html/index.html', - source=('../ref-html-style.xsl %s-classes.xml' % module_name), - command=( - '${XSLTPROC} --nonet --xinclude -o ${TGT[0].parent}/' - ' --stringparam gtkdoc.bookname py%s' - ' --stringparam gtkdoc.version ${VERSION}' - ' --stringparam chunker.output.encoding UTF-8' - ' ${SRC[0]} ${SRC[1]}' % module_name)) - - #cmd = bld.new_task_gen('command', - # target=('html/%s-class-reference.html' % module_name), - # source='html/index.html', - # command='gtkdoc-fixxref --module=${MODULE} --module-dir=${TGT[0].parent} --html-dir=${HTMLDIR}', - # variables=dict(HTMLDIR=html_dir, - # MODULE=module_name)) - - html_files = glob.glob(os.path.join(bld.path.find_dir('html').abspath(bld.env), '*')) - html_files += glob.glob(os.path.join(bld.path.find_dir('html').abspath(), '*')) - bld.install_files('${DATADIR}/gtk-doc/html/py%s' % module_name, html_files) - - -def build(bld): - env = bld.env - - # Attach the 'codegen' method to the build context - bld.codegen = types.MethodType(codegen, bld) - # Generic template for building docs - bld.build_docs_for_module = types.MethodType(build_docs_for_module, bld) - - def create_pyext(bld): - return bld.new_task_gen('cc', 'shlib', 'pyext') - bld.create_pyext = types.MethodType(create_pyext, bld) - - - ## generate and install the .pc file - obj = bld.new_task_gen('subst') - obj.source = 'gnome-python-desktop-2.0.pc.in' - obj.target = 'gnome-python-desktop-2.0.pc' - obj.dict = { - 'VERSION': VERSION, - 'prefix': env['PREFIX'], - 'exec_prefix': env['PREFIX'], - 'libdir': env['LIBDIR'], - 'includedir': os.path.join(env['PREFIX'], 'include'), - 'datadir': env['DATADIR'], - 'datarootdir': env['DATADIR'], - } - obj.fun = misc.subst_func - obj.install_path = '${LIBDIR}/pkgconfig' - - ## subdirs - bld.add_subdirs('gnomekeyring') - bld.add_subdirs('gnomeapplet') - bld.add_subdirs('gnomedesktop') - bld.add_subdirs('gnomeprint') - bld.add_subdirs('evince') - bld.add_subdirs('evolution') - bld.add_subdirs('gtksourceview') - bld.add_subdirs('gtop') - bld.add_subdirs('mediaprofiles') - bld.add_subdirs('metacity') - bld.add_subdirs('nautilusburn') - bld.add_subdirs('braseromedia') - bld.add_subdirs('braseroburn') - bld.add_subdirs('rsvg') - bld.add_subdirs('totem') - bld.add_subdirs('wnck') - - bld.add_subdirs('docs/gnomeprint') - bld.add_subdirs('docs/gnomeprintui') - bld.add_subdirs('docs/gtksourceview') - - if 'bugbuddy' in bld.env['MODULES_TO_BUILD']: - py = bld.new_task_gen('py') - py.install_path = '${PYTHONDIR}/gtk-2.0' - py.source = "bugbuddy.py" - - -def shutdown(): - env = Build.bld.env - if Options.commands['check']: - _run_tests(env) - - -def _run_tests(env): - import pproc as subprocess - import shutil - builddir = os.path.join(blddir, env.variant()) - # copy the __init__.py files - for subdir in ["evolution", "gnomedesktop", "gnomeprint", "totem"]: - src = os.path.join(subdir, "__init__.py") - dst = os.path.join(builddir, subdir) - try: - shutil.copy(src, dst + os.path.sep) - except IOError: - pass - os_env = dict(os.environ) - if 'PYTHONPATH' in os_env: - os_env['PYTHONPATH'] = os.pathsep.join([builddir, os_env['PYTHONPATH']]) - else: - os_env['PYTHONPATH'] = builddir - cmd = [env['PYTHON'], os.path.join('tests', 'runtests.py'), builddir] - retval = subprocess.Popen(cmd, env=os_env).wait() - if retval: - sys.exit(retval)