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
Igor Gnatenko
5c6bc7ad5e
modules/rpm: use set() instead of list() always
...
to ignore dupes
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
8bf4415dbd
modules/rpm: handle mans
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
51a6838048
modules/rpm: own directories for subdirs in headers
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
a7cd29c74b
modules/rpm: implement handling includedirs
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
f4cb118190
modules/rpm: simplify isinstance check to oneline
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
9d9f90f6ed
modules/rpm: add fullstop in description for devel subpkg
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
53f0a1ba07
modules/rpm: generate required basic RPM tags
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
84e2776d98
modules/rpm: fix ident
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
3e10458e19
modules/rpm: update doc about module
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
953edd9fc9
modules/rpm: add compilers to BuildRequires automatically
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
b8b77e7ccc
modules/rpm: improve message about removing static libs
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
8a58acd0ae
modules/rpm: add description/summary for devel subpkg
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
0a43406059
modules/rpm: enable tests in check section
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
11d95bd5ab
modules/rpm: pass RPM CFLAGS and others
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
0718d36931
modules/rpm: use rpmbuilddir instead of build dir
...
because some of projects using `build` directory for internal use
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
2d7e5b89f4
modules/rpm: create spec in build_dir
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
6e7c921d15
modules/rpm: rename to generate_spec_template
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
d133fc3fa2
modules/rpm: ignore static libs
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
be7bea6b08
modules/rpm: add changelog
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
0a7bc1ffb7
modules/rpm: fix typo in install macros
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago