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
Jussi Pakkanen
60ff47f736
Can specify gtk-doc search dirs with include_directories. Closes #231 .
9 years ago
Jussi Pakkanen
e842e6602c
A few tweaks.
9 years ago
Jussi Pakkanen
e3873e89d1
A few fixes for gir code.
9 years ago
Jussi Pakkanen
270b24c8e0
Now with xmlness.
9 years ago
Jussi Pakkanen
cbc329fc32
Add sgml main to gtk-doc.
9 years ago
Jussi Pakkanen
83cc5ce4c5
Allow more than one install script and make gtkdoc method return one.
9 years ago
Jussi Pakkanen
8b52dec6d9
Can generate gtkdoc documentation.
9 years ago
Mathieu Duponchelle
acb78ce8e6
gnome:generate_gir: Parse "link_with"
...
In case g-ir-scanner has to link with other dependencies.
10 years ago
Mathieu Duponchelle
048d317085
gnome/generate_gir: No reason to append soversion to libname.
...
It just won't work like that
10 years ago
Mathieu Duponchelle
a055808435
gnome: Building the gir depends on the dynamic library.
10 years ago
Mathieu Duponchelle
fb401ed8d0
generate_gir: new kwarg: dependencies.
...
The dependencies will be queried for typelibdir and girdir,
which will get added to the scan and compile commands.
10 years ago
Mathieu Duponchelle
a08374b9a9
generate_gir: Add the path to the girtarget.
...
To the scan command.
Otherwise when linking with libtool, the target library was not
found.
10 years ago
Thibault Saunier
25d5cf14ef
gnome: Take the gittarget.soversion into account to compute library name
...
Otherwize g-ir-scanner won't have the right library name
10 years ago
Thibault Saunier
8460917418
gnome: Pass girtarget include dirs to g-ir-scanner
10 years ago
Igor Gnatenko
9204cd4917
modules/gnome: add support for include dirs with GIRs
...
Closes #94
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
cb21489c60
modules/gnome: join 2 isinstance
...
to better code view
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
d121b7cd55
modules/gnome: add export_packages kwarg to g-ir-scanner
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
2db5f97402
modules/gnome: add symbol_prefix kwarg to g-ir-scanner
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
92d32c45a7
modules/gnome: enable warnings for g-ir-scanner
...
without warnings - scanner not useful for developer
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago