TingPing
5b34e560e5
gnome: Print useful error if missing compile_resource arg ( #811 )
8 years ago
Elliott Sales de Andrade
28e1f3ba13
Fix pkgconfig libraries passed to GIR targets.
8 years ago
Elliott Sales de Andrade
7a6534e054
GIR: Handle all dependencies and internal libraries.
8 years ago
Elliott Sales de Andrade
68a2e5c9c9
Also add GIR include_directories to header search path.
8 years ago
Elliott Sales de Andrade
9009f8267e
Allow GirTargets as includes for another GirTarget.
8 years ago
Elliott Sales de Andrade
3ae327a2ac
Pull dependency directly from GIR's target library.
8 years ago
Elliott Sales de Andrade
d0b6f0b7a4
Add dependency's include paths to GIR generation.
8 years ago
Elliott Sales de Andrade
f2ccad64fc
Determine GIR include paths like targets.
...
These paths are now generated similar to
NinjaBackend.generate_single_compile where IncludeDirs create includes
of both the build directory path and the source directory path.
This also fixes a bug with include_directories, where the path string
supplied to the IncludeDirs initializer was used for the search path,
instead of the actual location to which it referred. Often, this was a
'.', and not a really useful path.
8 years ago
grindhold
167deda665
module pkgconfig: added install_dir attribute ( #776 )
...
the pkgconfig module automatically specified to install the
pkgconfig file to {libdir}/pkgconfig. Default settings in meson
already include multiarch-directories like x86_64-gnu-linux into
the libdir. pkgconfig usually does not check inside multiarch-dirs
for any pkgconfig-files.
to make this a bit more flexible, this commit introduces the
install_dir attribute for pkgconfig.generate. if it is set, the
default install path will be overridden by the users input
8 years ago
TingPing
0e79664155
Minor pkgconfig module cleanups ( #748 )
...
* pkgconfig: Remove unused function
Leftover copy from modtest
* Add self to authors.txt
8 years ago
Thibault Saunier
6c6c706bb8
gnome: Handle internal dependencies to generate gir files
8 years ago
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.
8 years ago
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)).
8 years ago
Jussi Pakkanen
fae8ad90a4
Consistent kwarg popping.
8 years ago
Jussi Pakkanen
4b3414cba0
Add extra_args kwarg to glib-compile-resources. Closes #698 .
8 years ago
Jussi Pakkanen
4a92b78e6e
A few error message fixes.
8 years ago
Nirbheek Chauhan
e6c927d8ac
gnome: Update RunTarget usage to new syntax
...
This was broken in 0733c0f9a1
8 years ago
Nirbheek Chauhan
201f2aebed
Also read WINDRES envvar to find windres ( #645 )
...
This is, of course, only used when building with MinGW
8 years ago
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/).
9 years ago
Jussi Pakkanen
0733c0f9a1
Changed run_target to take command as kwarg and add depends. This makes it behave the same as custom_target.
9 years ago
Ippytraxx
8ea17322e4
Add custom_install_dir to ld path in pkgconfig module
9 years ago
Jussi Pakkanen
76d88259bd
Make sure outputs do not contain stray path segments.
9 years ago
Jussi Pakkanen
cc055387cd
Can have multiple Qt resource files in a single target. Closes #572 .
9 years ago
Jussi Pakkanen
3b3c05f6b1
Can pass extra args to xgettext. Closes #554 .
9 years ago
Jussi Pakkanen
d8e08224da
Helper function to get the install dir of a gtkdoc module. Closes #551 .
9 years ago
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
9 years ago
Jussi Pakkanen
dc148e0702
Remove all special casing for gettext and use elementary operations instead.
9 years ago
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.
9 years ago
Jussi Pakkanen
e44229b9c2
Removed no longer used attribute from rpm generator. Closes #502 .
9 years ago
Jussi Pakkanen
6841672eb5
Import fix. Closes #498 .
9 years ago
Hemmo Nieminen
336904b553
Move MesonException from coredata to mesonlib.
9 years ago
Jussi Pakkanen
26f647d728
And private libraries.
9 years ago
Jussi Pakkanen
c0c9a96c36
Can set requires manually into generated pc files.
9 years ago
Jussi Pakkanen
12a4e7d7e7
Moved gettext into i18n module.
9 years ago
Jussi Pakkanen
352b5badd2
Handle resources that come in files(). Closes #424 .
9 years ago
Damián Nohales
8bcd25f5b4
Simplify target generation in GnomeModule.compile_resources
9 years ago
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.
9 years ago
Jussi Pakkanen
5586dcf5c0
Text clarification.
9 years ago
Jussi Pakkanen
f7e1d256ad
Fix rpm imports.
9 years ago
Jussi Pakkanen
84456537da
Fix some issues that break pypi installs and bump version to upload new version.
9 years ago
Jussi Pakkanen
d6e176f455
Made gtkdoc and run targets work.
9 years ago
Jussi Pakkanen
23b98cd6e6
Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir.
9 years ago