Patrick Griffis
084b854ce0
gnome: Consistently include current source dir
...
This is a common pattern so avoid the duplication
8 years ago
Elliott Sales de Andrade
2840539a08
Don't overwrite mkenums C file dependencies.
8 years ago
Elliott Sales de Andrade
8f024c0697
Allow running mkenums without templates.
8 years ago
Jussi Pakkanen
d61b71fdc2
Converted mkenums to be single invocation.
8 years ago
Elliott Sales de Andrade
1033728c85
Fix mkenums and genmarshal argument names.
...
Dashes aren't allowed in keyword argument names.
8 years ago
Elliott Sales de Andrade
ceee8bc6b2
Generate genmarshal header and body simultaneously.
...
This follows the same style as gnome.compile_resources, which produces
both files from one invocation.
8 years ago
Elliott Sales de Andrade
2a8a0727fc
Add support for glib-genmarshal to gnome module.
8 years ago
Elliott Sales de Andrade
ab004ab189
Add support for glib-mkenums to gnome module.
8 years ago
Thibault Saunier
bb3823e6f4
gnome: Allow specifying gtkdoc where to install directory
8 years ago
Thibault Saunier
f86fbf6ebf
gnome: Run gtkdoc-scanobjs and add a way to get assets working
...
Allowing the object tree to be generated.
We need to add options to allow copying the ncesseary sources and
assets so the HTML generator can work with them (everything is
relative so we need to copy them in the build directory).
Until now the documentation was not generated from the user provided
main sgml file but it was using a generated one, which lead to a broken
documentation. Starting using it revealed the other bugs fixed in that
commit.
8 years ago
Thibault Saunier
68ae8e1ad0
gnome: Factor out a get_dependencies_flags method
...
And recurse to make sure that we build against all internal
dependencies dependencies.
8 years ago
Thibault Saunier
52a4b3302e
gnome: Make all include paths absolute
...
The relative computation was broken when using
subprojects.
8 years ago
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
Thibault Saunier
6c6c706bb8
gnome: Handle internal dependencies to generate gir files
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
Nirbheek Chauhan
e6c927d8ac
gnome: Update RunTarget usage to new syntax
...
This was broken in 0733c0f9a1
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
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
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
Hemmo Nieminen
336904b553
Move MesonException from coredata to mesonlib.
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
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
Jussi Pakkanen
66c01401de
Moved scripts in the module and started work to run them via the main meson command.
9 years ago
Jussi Pakkanen
61cb4ae9ca
Can compile full test suite.
9 years ago
Jussi Pakkanen
8b1039fa30
Organise files into a module structure.
9 years ago
Thibault Saunier
c2e163e655
gnome: Link against dependencies when building the gir files
9 years ago
Jussi Pakkanen
18c423db15
Fix gtkdoc. We had to disable the test but on the other hand we have gstreamer docs working.
9 years ago
Jussi Pakkanen
336771f444
Handle resource path properly.
9 years ago
Jussi Pakkanen
8b1128a93b
Resource can be either a string or a File.
9 years ago
Jussi Pakkanen
a16463972d
Parse contents of gresource xml and add deps manually. A bit of a hack but necessary due to missing upstream functionality. Closes #298 .
9 years ago
Jussi Pakkanen
bbbe102cc2
Can set extra args to gtkdoc scan.
9 years ago
Jussi Pakkanen
0b63f32fe3
Can specify extra args to gtkdoc-scan.
9 years ago
Jussi Pakkanen
3b2d33ef84
Made gtkdochelper take arguments by switches rather than location.
9 years ago
Jussi Pakkanen
a90bbb7277
Finally full test suite passes, even gir.
9 years ago
Jussi Pakkanen
0b0d787624
A bunch more conversions.
9 years ago
Jussi Pakkanen
ee4a71f77c
Do not do gir generation if dependency is not found. Closes #241 .
9 years ago
Jussi Pakkanen
cd38e79301
Use --no-libtool.
9 years ago