Simon Feltman
03611f7c06
Updated codegen to work with python3.
...
Most changes were just replacing usage of "has_key" with "in".
Also updated the sorting function which was simplified and
changed to a "key" function instead of "cmp" (which is no longer
supported in python3. Verified everything builds with
python 2.7 and 3.
https://bugzilla.gnome.org/show_bug.cgi?id=678066
2012-07-01 11:14:54 -04:00
Will Thompson
a020fbf8f6
gdbus-codegen: post-process all interfaces when parsing >1 file
...
This also fixes a crash when you run gdbus-codegen with no arguments.
https://bugzilla.gnome.org/show_bug.cgi?id=656323
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-09-01 14:28:57 -04:00
Dieter Verfaillie
5391aae009
Introduce the UNINSTALLED_GLIB_BUILDDIR environment variable
...
This makes it possible to also use relative imports for
gdbus-codegen's config module.
https://bugzilla.gnome.org/show_bug.cgi?id=650763
2011-08-25 16:55:49 -04:00
Dieter Verfaillie
5dc3c2efc8
Use relative imports for the gdbus/codegen package
...
But not yet for the config module (but is taken care
of in a followup patch).
https://bugzilla.gnome.org/show_bug.cgi?id=650763
2011-08-25 16:55:47 -04:00
Dieter Verfaillie
0eaec4e59a
Avoid using - (hyphen) in gdbus-codegen directory name
...
It's an invalid character in Python module names and prevents us from
being able to import it.
https://bugzilla.gnome.org/show_bug.cgi?id=650763
2011-08-25 16:55:46 -04:00