jpakkane
7d0c38257d
Merge pull request #72 from ignatenkobrain/wip/gnome
...
modules/gnome: add support for multiple include for Gir. Closes #69
10 years ago
Jussi Pakkanen
d289887b1b
Add should_fail kwarg to test to indicate tests that should fail.
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
jpakkane
85132e8948
Merge pull request #70 from ignatenkobrain/rpm
...
modules/rpm: workaround when ext_prog not found locally
10 years ago
Jussi Pakkanen
558f930d81
Always use lib/girepository-1.0 as gir typelib install dir.
10 years ago
jpakkane
cf3995d717
Merge pull request #61 from ignatenkobrain/wip/gnome
...
modules/gnome: auto-set gobject-introspection directories and install gir
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
Jussi Pakkanen
a22172e7b3
Typo fix.
10 years ago
Jussi Pakkanen
4cce8e4578
Install introspect as a command and add a man page for it.
10 years ago
Jussi Pakkanen
eed0e7d9f6
Moved rpm macros to a subdirectory to reduce clutter.
10 years ago
Jussi Pakkanen
5222fb9226
Removed travis file because it uses precise which is too ancient to work.
10 years ago
Jussi Pakkanen
cc82a02720
Add some dependencies to travis file.
10 years ago
Jussi Pakkanen
e52312293d
Added travis file to test CI.
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
Jussi Pakkanen
78d31cafd7
Looser alignment checks. Closes #58 .
10 years ago
jpakkane
40e8e203d5
Merge pull request #57 from ignatenkobrain/rpm
...
install: install rpm macros if RPM bin in system. Closes #56
10 years ago
Igor Gnatenko
9e9bc5223c
install: install rpm macros if RPM bin in system. Closes #56
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
a084a8ec3e
Create rpmmacros dir before copying.
10 years ago
Jussi Pakkanen
4360e362da
Only install RPM macros on platforms that have rpm installed.
10 years ago
Jussi Pakkanen
81754680f0
Refactor git updating to a method.
10 years ago
jpakkane
a5f30e73c6
Merge pull request #52 from ignatenkobrain/wip/rpm
...
add RPM module (Closes #49 )
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
8c5ead3bdf
install: implement RPM macros. Closes #55
...
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
Jussi Pakkanen
dd519525ec
Add in this line that got lost by accident.
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
d8c2f18706
modules/rpm: rename 4 to 5 in tests dir
...
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