Commit Graph

86 Commits

Author SHA1 Message Date
Thibault Saunier 6c6c706bb8 gnome: Handle internal dependencies to generate gir files 2016-08-29 10:11:27 -03:00
Elliott Sales de Andrade 4c71695e41 Use context manager for file I/O.
There are a few cases where a context manager cannot be used, such as
the logger.
2016-08-27 18:29:55 -04:00
Elliott Sales de Andrade a2321b24f6 Flatten isinstance calls. (#715)
That is, isinstance(x, y) or isinstance(x, z) can be flattened with a
tuple to isinstance(x, (y, z)).
2016-08-27 15:47:29 +03:00
Jussi Pakkanen fae8ad90a4 Consistent kwarg popping. 2016-08-21 15:04:44 +03:00
Jussi Pakkanen 4b3414cba0 Add extra_args kwarg to glib-compile-resources. Closes #698. 2016-08-21 15:00:02 +03:00
Igor Gnatenko bde123d70c Merge pull request #629 from wtay/master
gnome.py: typelib files should be installed in libdir
2016-08-14 20:07:43 +02:00
Jussi Pakkanen 4a92b78e6e A few error message fixes. 2016-07-28 20:45:38 +03:00
Nirbheek Chauhan e6c927d8ac gnome: Update RunTarget usage to new syntax
This was broken in 0733c0f9a1
2016-07-21 13:39:42 +05:30
Nirbheek Chauhan 201f2aebed Also read WINDRES envvar to find windres (#645)
This is, of course, only used when building with MinGW
2016-07-18 23:58:48 +03:00
Wim Taymans 660c872422 gnome.py: typelib files should be installed in libdir
The typelib files should be installed in libdir, even on debian (which
has them in /usr/lib/x86_64-linux-gnu/girepository-1.0/).
2016-07-04 12:29:56 +02:00
Jussi Pakkanen 0733c0f9a1 Changed run_target to take command as kwarg and add depends. This makes it behave the same as custom_target. 2016-06-24 23:07:57 +03:00
Ippytraxx 8ea17322e4 Add custom_install_dir to ld path in pkgconfig module 2016-06-17 10:08:59 +02:00
Jussi Pakkanen 76d88259bd Make sure outputs do not contain stray path segments. 2016-05-30 00:24:17 +03:00
Jussi Pakkanen cc055387cd Can have multiple Qt resource files in a single target. Closes #572. 2016-05-29 23:42:09 +03:00
Jussi Pakkanen 3b3c05f6b1 Can pass extra args to xgettext. Closes #554. 2016-05-26 01:09:37 +03:00
Jussi Pakkanen d8e08224da Helper function to get the install dir of a gtkdoc module. Closes #551. 2016-05-25 22:55:02 +03:00
Jussi Pakkanen f3fa6c02a7 Merge pull request #556 from ebassi/gtkdoc-fixref
Support passing extra arguments to gtkdoc-fixxref
2016-05-25 18:00:15 +03:00
Jussi Pakkanen babdb27570 Merge pull request #479 from mesonbuild/i18n
Moved gettext into i18n module.
2016-05-25 17:53:35 +03:00
Emmanuele Bassi 8998e44cd9 Support passing extra arguments to gtkdoc-fixxref
The extra arguments are typically used to specified the location of
installed API references that gtk-doc can use to create cross links
for symbols.

Fixes #555
2016-05-25 11:36:33 +01:00
Jussi Pakkanen dc148e0702 Remove all special casing for gettext and use elementary operations instead. 2016-05-21 18:21:23 +03:00
Tim-Philipp Müller 3b5dcdbd42 gnome: only print warning when gresource-related functionality is used (#510)
It's confusing to print this when using stuff that works just fine.
2016-04-07 20:23:46 +03:00
Jussi Pakkanen cab5ce4fc0 Merge pull request #438 from trhd/testing_options
New options for controlling test output.
2016-04-06 23:10:20 +03:00
Jussi Pakkanen e44229b9c2 Removed no longer used attribute from rpm generator. Closes #502. 2016-04-05 21:34:02 +03:00
Jussi Pakkanen 6841672eb5 Import fix. Closes #498. 2016-04-04 18:34:46 +03:00
Hemmo Nieminen 336904b553 Move MesonException from coredata to mesonlib. 2016-04-01 00:52:45 +03:00
Jussi Pakkanen 26f647d728 And private libraries. 2016-03-30 22:15:25 +03:00
Jussi Pakkanen c0c9a96c36 Can set requires manually into generated pc files. 2016-03-30 21:38:18 +03:00
Jussi Pakkanen 12a4e7d7e7 Moved gettext into i18n module. 2016-03-28 20:15:16 +03:00
Jussi Pakkanen 352b5badd2 Handle resources that come in files(). Closes #424. 2016-02-29 21:04:16 +02:00
Damián Nohales 8bcd25f5b4 Simplify target generation in GnomeModule.compile_resources 2016-02-09 19:41:26 -03:00
Damián Nohales b91662a903 Allow multiple source_dir in GResource
There are use case where one may want to specify --sourcedir option
multiple times to glib-compile-resources, which will look for
resources in every specified directory.

By doing this, we also need to get rid of the manual GResource XML
parsing and we opted to use the glib-compile-resources command with
the --generate-dependencies option. This command will solve the
multiple source_dir case for us.
2016-02-09 19:41:26 -03:00
Jussi Pakkanen 5586dcf5c0 Text clarification. 2016-01-31 00:19:50 +11:00
Jussi Pakkanen f7e1d256ad Fix rpm imports. 2016-01-17 01:26:44 +02:00
Jussi Pakkanen 84456537da Fix some issues that break pypi installs and bump version to upload new version. 2016-01-16 20:59:34 +02:00
Jussi Pakkanen d6e176f455 Made gtkdoc and run targets work. 2016-01-16 18:04:59 +02:00
Jussi Pakkanen 23b98cd6e6 Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir. 2016-01-16 17:35:29 +02:00