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
Igor Gnatenko
dbc5df06ef
modules/rpm: add compiler deps for gcc, gcc-c++
...
As per revised guidelines we need to specify gcc and gcc-c++ also.
Reference: https://fedoraproject.org/w/index.php?title=Packaging%3AGuidelines&diff=413629&oldid=409506
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
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
Jussi Pakkanen
5401a98fbf
Prefer version numbered Qt binaries to plain named ones (i.e. moc-qt5 to plain moc). Closes #104 .
10 years ago
Jussi Pakkanen
58d68f3d10
Qrc resources should be relative to the .qrc file and not the meson.build one. Closes #105 .
10 years ago
Jussi Pakkanen
075b25424e
Typo fixes.
10 years ago
Jussi Pakkanen
45d7b589eb
Added module for Qt4 support.
10 years ago
Jussi Pakkanen
bfa68aaeaf
Autodetect Qt5 rcc dependencies as well as reasonably possible.
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
Igor Gnatenko
c3f426cd21
modules/gnome: allow argument for gir to be SharedLibrary. Closes #76
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
f1d2827bce
modules/gnome: inherit global cflags to g-ir-scanner. Closes #74
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
3be7297de8
modules/gnome: add support for multiple include for Gir. Closes #69
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
558f930d81
Always use lib/girepository-1.0 as gir typelib install dir.
10 years ago
Igor Gnatenko
db2b7601c8
modules/rpm: workaround when ext_prog not found locally
...
Traceback (most recent call last):
File "../../../meson.py", line 184, in <module>
app.generate()
File "../../../meson.py", line 130, in generate
intr.run()
File "/home/brain/git/upstream/meson/interpreter.py", line 828, in run
self.evaluate_codeblock(self.ast)
File "/home/brain/git/upstream/meson/interpreter.py", line 850, in
evaluate_codeblock
raise e
File "/home/brain/git/upstream/meson/interpreter.py", line 844, in
evaluate_codeblock
self.evaluate_statement(cur)
File "/home/brain/git/upstream/meson/interpreter.py", line 897, in
evaluate_statement
return self.method_call(cur)
File "/home/brain/git/upstream/meson/interpreter.py", line 1620, in
method_call
return obj.method_call(method_name, args, kwargs)
File "/home/brain/git/upstream/meson/interpreter.py", line 625, in
method_call
value = fn(state, args, kwargs)
File "/home/brain/git/upstream/meson/modules/rpm.py", line 98, in
generate_spec_template
fn.write('BuildRequires: %s\n' % ' '.join(prog.fullpath))
TypeError: sequence item 0: expected str instance, NoneType found
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
7462bc9662
modules/rpm: trivial style fixes
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
4b33a88eeb
modules/rpm: handle Gir and Typelib from GNOME
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
e2b63141d0
modules/gnome: use custom classes for targets. Closes #62
...
To easy identify which target we're building (for making files section
in rpm)
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
888945ac2e
modules/gnome: install Gir also and auto-detect it's dir
...
Gir file should be installed in devel subpackage
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
f94fc2f497
modules/gnome: auto-set girepository directory
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
2c47c8c5e7
Update rpm spec message.
10 years ago
Igor Gnatenko
b71d248b28
modules/rpm: handle pkgconfig files
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
d7bb431e5d
modules/rpm: use meson RPM macros
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
6cc8881a52
modules/rpm: use plain set up of compiler and linker flags
...
to avoid using empty configure file
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago