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
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
Igor Gnatenko
bcf6ff15a4
modules/rpm: add example
...
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
Igor Gnatenko
5fa8cac6b3
modules/rpm: add support for devel subpkg
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
268560f490
add RPM module ( Closes #49 )
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
faa623eb93
A few minor tweaks.
10 years ago
Jussi Pakkanen
29fa1dd522
Add support for checking out git repos to subprojects automatically.
10 years ago
Jussi Pakkanen
df357211a8
Handle outputs in arrays in mesonintrospect. Closes #50 .
10 years ago
Jussi Pakkanen
ea4b9c590e
Fix mesonconf when running in the build directory without a path argument.
10 years ago
Jussi Pakkanen
bae29b7f7c
A few tweaks.
10 years ago
Jussi Pakkanen
47400c70c3
Use iostream stuff to ensure stdlibc++ linking is ok.
10 years ago