Commit Graph

1390 Commits

Author SHA1 Message Date
Jussi Pakkanen 63d101674d Can create a subdirectory for projects whose zip files do not have one. 2015-05-31 12:58:50 +03:00
jpakkane b896af9c5f Merge pull request #133 from MathieuDuponchelle/no_pedantic
backends: Add extra args after compiler.std_warn_args.
2015-05-29 23:21:20 +03:00
Mathieu Duponchelle 0a726413ae backends: Add extra args after compiler.std_warn_args.
This to give a chance to the application to disable pedantic
for example.
2015-05-29 22:13:59 +02:00
Jussi Pakkanen b03ee73ace Made multiwrap use wrabdb where possible. 2015-05-29 21:34:05 +03:00
Jussi Pakkanen eba69f3560 Updated wrap example to use wrapdb. 2015-05-29 21:17:57 +03:00
Jussi Pakkanen ba1e9cd4f1 Bump version number for new development. 2015-05-23 22:14:57 +03:00
Jussi Pakkanen 4e5618123d Bump version number for release. 2015-05-23 21:29:30 +03:00
jpakkane 478a01e01a Merge pull request #131 from ignatenkobrain/wip/rpm
modules/rpm: add compiler deps for gcc, gcc-c++
2015-05-23 20:02:33 +03:00
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>
2015-05-23 16:28:24 +03:00
Jussi Pakkanen 23700b7e4b Use -fPIC instead of -fPIE as it seems to be the new requirement. Closes #124. 2015-05-22 00:18:30 +03:00
Jussi Pakkanen ff51f2196f Make extract_objects work with subdirectories. 2015-05-21 22:31:10 +03:00
jpakkane 1eeec5749f Merge pull request #129 from ignatenkobrain/print_twice
don't print twice about not found dependency. Closes #128
2015-05-21 21:49:51 +03:00
jpakkane 49686c29f2 Merge pull request #127 from ignatenkobrain/untar_xz
add support for tar.xz file. Closes #126
2015-05-21 21:48:59 +03:00
jpakkane 776fc1ad55 Merge pull request #125 from ignatenkobrain/master
add has_type method
2015-05-21 21:46:17 +03:00
Igor Gnatenko 8f909e043f don't print twice about not found dependency. Closes #128
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-05-21 20:51:02 +03:00
Igor Gnatenko 14de94ccd8 add support for tar.xz file. Closes #126
shutil.ReadError: Unknown archive format '/home/brain/meson_wrap/subprojects/packagecache/enet-meson.tar.xz'

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-05-21 19:54:16 +03:00
Igor Gnatenko 46804d4fe6 add has_type method
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-05-21 19:10:01 +03:00
Jussi Pakkanen 0ba1d545af Accept .S files as assembler too. 2015-05-20 22:32:55 +03:00
jpakkane 1829d5aa7b Merge pull request #122 from ignatenkobrain/test_vala_vapi
tests: add negative test against #117
2015-05-17 19:29:58 +03:00
Igor Gnatenko ab1c35dd0b tests: add negative test against #117
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-05-17 19:26:25 +03:00
Jussi Pakkanen 05b6220844 In Vala .vapi files are sort of headers that you must put on the command line. Make it so. 2015-05-17 19:24:02 +03:00
Jussi Pakkanen 9c6ae66211 A fix. 2015-05-17 19:01:50 +03:00
Jussi Pakkanen 852fb28888 Do not use -o with Vala. Closes #120. 2015-05-17 18:53:12 +03:00
Jussi Pakkanen cf0bd77ddd Do not invoke linker via cmd /c on Windows. 2015-05-17 15:23:33 +03:00
Jussi Pakkanen d83de3ee56 Can specify custom search directories in find_library. 2015-05-17 00:58:38 +03:00
jpakkane 07825428cf Merge pull request #116 from ignatenkobrain/jjb
Provide jenkins-job-builder yaml for meson
2015-05-17 00:09:29 +03:00
jpakkane 1ef958288c Merge pull request #114 from afiefh/custom_subproject_dir
Allow user to specify subproject directory in project definition
2015-05-16 17:34:35 +03:00
jpakkane dbf3d0e376 Merge pull request #113 from thiblahute/uninstalled_pkg_config
dependencies: Handle .la lib files returned by pkgconfig in uninstalled setups
2015-05-16 17:29:30 +03:00
jpakkane abeafb720a Merge pull request #115 from ignatenkobrain/pyver_check
introduce check python version in meson.py
2015-05-16 17:28:23 +03:00
Igor Gnatenko 88d5eec9e7 Provide jenkins-job-builder yaml for meson
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-05-16 15:35:08 +03:00
Thibault Saunier fea0609c13 dependencies: Handle .la lib files returned by pkgconfig in uninstalled setups
When building against software that is being built uninstalled,
pkg-config returns values from the -uninstalled.pc variant which
might contain .la files as --libs.

This patch opens the .la files to figure out where the actual shared
library are.

Some part of this is inspired by what is done in the
gobject-introspection giscanner/utils.py code
2015-05-16 13:21:08 +02:00
Igor Gnatenko 9616bed9fc introduce check python version in meson.py
To ensure that people will not confused that something won't work.

Related: https://github.com/miit-pm/RWD/pull/1#issuecomment-102607931
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-05-16 14:16:20 +03:00
jpakkane 64f2b4b3de Merge pull request #112 from thiblahute/gir_fixes
Gir fixes
2015-05-16 13:33:20 +03:00
Afief Halumi acdef2e588 Allow user to specify subproject directory in project definition
project() now takes an optional keyword argument `subproject_dir` which specifies
the directory in which Meson will look for subproject. This argument is ignored
in subprojects as all subprojects are owned by the top level project.

subproject() now looks for the subproject in ${MESON_SOURCE_ROOT}/${SUBPROJECT_DIR}/foo
where SUBPROJECT_DIR can be assigned using project() in the top level project.
2015-05-15 21:06:31 +03:00
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
2015-05-15 18:39:14 +02:00
Thibault Saunier 8460917418 gnome: Pass girtarget include dirs to g-ir-scanner 2015-05-15 17:45:39 +02:00
Jussi Pakkanen 4743ad90cf When new rpath is empty, remove rpath defintion from the dynamic entry table too because an empty rpath is different from a nonexisting one and this causes problems when building rpms. Closes #110. 2015-05-14 16:54:08 +03:00
Jussi Pakkanen 28476aa719 Pass gracefully if dpkg-architecture is not installed. 2015-05-10 01:42:59 +03:00
Jussi Pakkanen 3f7f984a39 Handle then unary negation operator. 2015-05-09 19:52:10 +03:00
Jussi Pakkanen 8be84a4a7c Some more cross tweaking. 2015-05-09 16:32:36 +03:00
Jussi Pakkanen 572587f5ce Fix cross compilation tests. 2015-05-09 16:17:20 +03:00
Jussi Pakkanen 717abc99fb Ignore non-elf files in depfixer. 2015-05-09 13:38:49 +03:00
Jussi Pakkanen 8366ad1e47 Detect endianness of elf files so cross compiling to platforms with different endianness works. 2015-05-09 13:33:59 +03:00
jpakkane dad5cdbb3c Merge pull request #107 from afiefh/better_message
Make the message() function able to print out user defined types.
2015-05-08 00:53:29 +03:00
Afief Halumi 6cdfb6a425 Make the message() function able to print out user defined types.
E.g. Strings, integers, arrays and arrays thereof.
2015-05-07 23:51:09 +03:00
Jussi Pakkanen 5401a98fbf Prefer version numbered Qt binaries to plain named ones (i.e. moc-qt5 to plain moc). Closes #104. 2015-05-05 20:47:44 +03:00
Jussi Pakkanen 58d68f3d10 Qrc resources should be relative to the .qrc file and not the meson.build one. Closes #105. 2015-05-05 20:42:28 +03:00
Jussi Pakkanen 8c0501e785 Qt5 now works when using a OSX framework dependency. 2015-05-04 23:33:32 +03:00
Jussi Pakkanen 723cf0f15e Readme tweaking. 2015-05-04 22:10:37 +03:00
Jussi Pakkanen 147d2a3f4b Fix Qt5 on pkg-config platforms again. 2015-05-04 04:58:15 +03:00