pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/meson Add meson 0.51.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e5b9166507d7
branches:  trunk
changeset: 402147:e5b9166507d7
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Fri Oct 04 14:06:18 2019 +0000

description:
Add meson 0.51.2

The intention is to replace py-meson with meson to allow the possibility
of a python 3 meson to build a python 2 package.

No release notes, but
$ git log --oneline 0.51.1..0.51.2
6857936c (tag: 0.51.2, origin/0.51) Bump versions to 0.51.2 for release
267a69b1 Fix packaging.
0a460903 Fix tests for 0.51.2.
550a03ee gnome: Handle overriden g-ir-scanner
173facd4 cmake: fix missing -lpthread (fixes #5821)
ac2d69bd Pass optimization flags to rustc properly. Closes: #5788.
f2bd0812 Revert "gnome: Use find_program() to get glib-compile-resources"
acdcd736 Put native file before cross file in options list
524280db environment: simplify powerpc conditionals
51d1612d environment: simplify CPU logic via hw.machine_arch on BSDs
6b43e66e Canonicalize 'i86pc' return from platform.machine() for Solaris
bb63fe8e gnome: Use find_program() to get glib-compile-resources
c9524472 Made build. options alias basic ones when native building.
69a01dae Made set_option kwargs named-only.
5c7ff27e Do not print build and host settings when compiling natively.
949accb1 Do not print build compiler info when not cross compiling. It is confusing.
7aadc3aa vs backend: commandrunner.py takes source dir first
46c2a051 Update MSI creator script to newest VS on Win 7. [skip ci]
1a5c121f Fix cross compilation on OSX
c5f99542 coredata: Ignore directories when searching for machine files
85270dce mintro: Fix crash related to the sources kwarg (fixes #5741)
b48e1fcc docs: Add missing closing ` in reference manual
6f18ab18 interpreter: Fix permitted kwargs in dependency.get_variable
7f390e6a docs: correct key in dep.get_variable
58a6ab32 run_unitests: Skip the native_file_is_pipe test on cygwin
2640cd7e unit tests: Check whether pytest-xdist is available
be16f4cf Use pytest parallelisation if available.
5b02f88b ci/cygwin: Install pytest-xdist for unit tests
f7684ec5 ci/cygwin: Don't need a special step to install cmake
6e18169e tests/122 shared module: More verbose logging
87dee156 .travis.yml: Fix cross-mingw test failures
e7990883 cmake: 0.51 backport of #5665
750a7dc0 unit tests: Don't keep builddirs inside source tree on Cygwin
b591f3e7 Keep all build dirs inside the source tree.
bac86f25 meson: handle nested disabler
46d43b29 cmake: added test case for environment variables
e8421b24 meson: Use CMAKE_PREFIX_PATH environment variable
fd3384ca ValaCompiler: only emit '--debug' in debug build.
1e305e60 mintro: Fix section key in buildoptions
81e81209 BUGFIX: Fortran module regex handle more edge cases
d198d50c Fix missing return statements that are seen with -Werror=return-type.
f9211b75 No need to reserve build_ because we use build. instead.
41e9ac35 run_unitests: Add a unit test for native files that are pipes
4e2adb82 coredata: Correctly handle receiving a pipe for native/cross files
0e25505f Do not fail on passing `-Werror=unused-parameter` from environment
3beb2737 Return zero in cross_sizeof
58441054 cmake: Handle disabling subprojects

diffstat:

 devel/meson/DESCR                                           |    4 +
 devel/meson/Makefile                                        |   42 +
 devel/meson/PLIST                                           |  330 ++++++++++++
 devel/meson/build.mk                                        |   27 +
 devel/meson/distinfo                                        |   12 +
 devel/meson/patches/patch-mesonbuild_compilers_compilers.py |   77 ++
 devel/meson/patches/patch-mesonbuild_dependencies_dev.py    |   46 +
 devel/meson/patches/patch-mesonbuild_envconfig.py           |   18 +
 devel/meson/patches/patch-mesonbuild_environment.py         |   63 ++
 devel/meson/patches/patch-mesonbuild_mesonlib.py            |   17 +
 devel/meson/patches/patch-mesonbuild_scripts_depfixer.py    |   15 +
 11 files changed, 651 insertions(+), 0 deletions(-)

diffs (truncated from 695 to 300 lines):

diff -r 9b80cf34a501 -r e5b9166507d7 devel/meson/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/meson/DESCR Fri Oct 04 14:06:18 2019 +0000
@@ -0,0 +1,4 @@
+Meson is a cross-platform build system designed to be both as fast
+and as user friendly as possible. It supports many languages and
+compilers, including GCC, Clang and Visual Studio. Its build
+definitions are written in a simple non-turing complete DSL.
diff -r 9b80cf34a501 -r e5b9166507d7 devel/meson/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/meson/Makefile      Fri Oct 04 14:06:18 2019 +0000
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1 2019/10/04 14:06:18 prlw1 Exp $
+
+DISTNAME=      meson-0.51.2
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=m/meson/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://mesonbuild.com/
+COMMENT=       Open source build system meant to be fast and user friendly
+LICENSE=       apache-2.0
+
+DEPENDS+=      ninja-build-[0-9]*:../../devel/ninja-build
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+USE_LANGUAGES= c c++ # c++ for tests
+
+SUBST_CLASSES+=                man
+SUBST_SED.man+=                -e "s,share/man,${PKGMANDIR},"
+SUBST_FILES.man+=      setup.py
+SUBST_STAGE.man=       pre-configure
+SUBST_MESSAGE.man=     Fixing man page installation path.
+
+REPLACE_PYTHON+=       ghwt.py
+REPLACE_PYTHON+=       meson.py
+REPLACE_PYTHON+=       mesonbuild/rewriter.py
+REPLACE_PYTHON+=       run_*.py
+REPLACE_PYTHON+=       test\ cases/*/*/*.py
+REPLACE_PYTHON+=       test\ cases/*/*/*/*.py
+REPLACE_PYTHON+=       test\ cases/*/*/*/*/*.py
+REPLACE_PYTHON+=       test\ cases/common/14\ configure\ file/test.py.in
+REPLACE_PYTHON+=       test\ cases/common/188\ find\ override/subdir/gencodegen.py.in
+REPLACE_PYTHON+=       test\ cases/common/55\ run\ target/configure.in
+REPLACE_PYTHON+=       test\ cases/windows/8\ find\ program/test-script
+REPLACE_PYTHON+=       tools/*.py
+
+do-test:
+       cd ${WRKSRC} && ${PYTHONBIN} run_tests.py
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9b80cf34a501 -r e5b9166507d7 devel/meson/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/meson/PLIST Fri Oct 04 14:06:18 2019 +0000
@@ -0,0 +1,330 @@
+@comment $NetBSD: PLIST,v 1.1 2019/10/04 14:06:18 prlw1 Exp $
+bin/meson
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/mesonbuild/__init__.py
+${PYSITELIB}/mesonbuild/__init__.pyc
+${PYSITELIB}/mesonbuild/__init__.pyo
+${PYSITELIB}/mesonbuild/ast/__init__.py
+${PYSITELIB}/mesonbuild/ast/__init__.pyc
+${PYSITELIB}/mesonbuild/ast/__init__.pyo
+${PYSITELIB}/mesonbuild/ast/interpreter.py
+${PYSITELIB}/mesonbuild/ast/interpreter.pyc
+${PYSITELIB}/mesonbuild/ast/interpreter.pyo
+${PYSITELIB}/mesonbuild/ast/introspection.py
+${PYSITELIB}/mesonbuild/ast/introspection.pyc
+${PYSITELIB}/mesonbuild/ast/introspection.pyo
+${PYSITELIB}/mesonbuild/ast/postprocess.py
+${PYSITELIB}/mesonbuild/ast/postprocess.pyc
+${PYSITELIB}/mesonbuild/ast/postprocess.pyo
+${PYSITELIB}/mesonbuild/ast/printer.py
+${PYSITELIB}/mesonbuild/ast/printer.pyc
+${PYSITELIB}/mesonbuild/ast/printer.pyo
+${PYSITELIB}/mesonbuild/ast/visitor.py
+${PYSITELIB}/mesonbuild/ast/visitor.pyc
+${PYSITELIB}/mesonbuild/ast/visitor.pyo
+${PYSITELIB}/mesonbuild/backend/__init__.py
+${PYSITELIB}/mesonbuild/backend/__init__.pyc
+${PYSITELIB}/mesonbuild/backend/__init__.pyo
+${PYSITELIB}/mesonbuild/backend/backends.py
+${PYSITELIB}/mesonbuild/backend/backends.pyc
+${PYSITELIB}/mesonbuild/backend/backends.pyo
+${PYSITELIB}/mesonbuild/backend/ninjabackend.py
+${PYSITELIB}/mesonbuild/backend/ninjabackend.pyc
+${PYSITELIB}/mesonbuild/backend/ninjabackend.pyo
+${PYSITELIB}/mesonbuild/backend/vs2010backend.py
+${PYSITELIB}/mesonbuild/backend/vs2010backend.pyc
+${PYSITELIB}/mesonbuild/backend/vs2010backend.pyo
+${PYSITELIB}/mesonbuild/backend/vs2015backend.py
+${PYSITELIB}/mesonbuild/backend/vs2015backend.pyc
+${PYSITELIB}/mesonbuild/backend/vs2015backend.pyo
+${PYSITELIB}/mesonbuild/backend/vs2017backend.py
+${PYSITELIB}/mesonbuild/backend/vs2017backend.pyc
+${PYSITELIB}/mesonbuild/backend/vs2017backend.pyo
+${PYSITELIB}/mesonbuild/backend/vs2019backend.py
+${PYSITELIB}/mesonbuild/backend/vs2019backend.pyc
+${PYSITELIB}/mesonbuild/backend/vs2019backend.pyo
+${PYSITELIB}/mesonbuild/backend/xcodebackend.py
+${PYSITELIB}/mesonbuild/backend/xcodebackend.pyc
+${PYSITELIB}/mesonbuild/backend/xcodebackend.pyo
+${PYSITELIB}/mesonbuild/build.py
+${PYSITELIB}/mesonbuild/build.pyc
+${PYSITELIB}/mesonbuild/build.pyo
+${PYSITELIB}/mesonbuild/cmake/__init__.py
+${PYSITELIB}/mesonbuild/cmake/__init__.pyc
+${PYSITELIB}/mesonbuild/cmake/__init__.pyo
+${PYSITELIB}/mesonbuild/cmake/client.py
+${PYSITELIB}/mesonbuild/cmake/client.pyc
+${PYSITELIB}/mesonbuild/cmake/client.pyo
+${PYSITELIB}/mesonbuild/cmake/common.py
+${PYSITELIB}/mesonbuild/cmake/common.pyc
+${PYSITELIB}/mesonbuild/cmake/common.pyo
+${PYSITELIB}/mesonbuild/cmake/interpreter.py
+${PYSITELIB}/mesonbuild/cmake/interpreter.pyc
+${PYSITELIB}/mesonbuild/cmake/interpreter.pyo
+${PYSITELIB}/mesonbuild/compilers/__init__.py
+${PYSITELIB}/mesonbuild/compilers/__init__.pyc
+${PYSITELIB}/mesonbuild/compilers/__init__.pyo
+${PYSITELIB}/mesonbuild/compilers/c.py
+${PYSITELIB}/mesonbuild/compilers/c.pyc
+${PYSITELIB}/mesonbuild/compilers/c.pyo
+${PYSITELIB}/mesonbuild/compilers/c_function_attributes.py
+${PYSITELIB}/mesonbuild/compilers/c_function_attributes.pyc
+${PYSITELIB}/mesonbuild/compilers/c_function_attributes.pyo
+${PYSITELIB}/mesonbuild/compilers/clike.py
+${PYSITELIB}/mesonbuild/compilers/clike.pyc
+${PYSITELIB}/mesonbuild/compilers/clike.pyo
+${PYSITELIB}/mesonbuild/compilers/compilers.py
+${PYSITELIB}/mesonbuild/compilers/compilers.pyc
+${PYSITELIB}/mesonbuild/compilers/compilers.pyo
+${PYSITELIB}/mesonbuild/compilers/cpp.py
+${PYSITELIB}/mesonbuild/compilers/cpp.pyc
+${PYSITELIB}/mesonbuild/compilers/cpp.pyo
+${PYSITELIB}/mesonbuild/compilers/cs.py
+${PYSITELIB}/mesonbuild/compilers/cs.pyc
+${PYSITELIB}/mesonbuild/compilers/cs.pyo
+${PYSITELIB}/mesonbuild/compilers/cuda.py
+${PYSITELIB}/mesonbuild/compilers/cuda.pyc
+${PYSITELIB}/mesonbuild/compilers/cuda.pyo
+${PYSITELIB}/mesonbuild/compilers/d.py
+${PYSITELIB}/mesonbuild/compilers/d.pyc
+${PYSITELIB}/mesonbuild/compilers/d.pyo
+${PYSITELIB}/mesonbuild/compilers/fortran.py
+${PYSITELIB}/mesonbuild/compilers/fortran.pyc
+${PYSITELIB}/mesonbuild/compilers/fortran.pyo
+${PYSITELIB}/mesonbuild/compilers/java.py
+${PYSITELIB}/mesonbuild/compilers/java.pyc
+${PYSITELIB}/mesonbuild/compilers/java.pyo
+${PYSITELIB}/mesonbuild/compilers/objc.py
+${PYSITELIB}/mesonbuild/compilers/objc.pyc
+${PYSITELIB}/mesonbuild/compilers/objc.pyo
+${PYSITELIB}/mesonbuild/compilers/objcpp.py
+${PYSITELIB}/mesonbuild/compilers/objcpp.pyc
+${PYSITELIB}/mesonbuild/compilers/objcpp.pyo
+${PYSITELIB}/mesonbuild/compilers/rust.py
+${PYSITELIB}/mesonbuild/compilers/rust.pyc
+${PYSITELIB}/mesonbuild/compilers/rust.pyo
+${PYSITELIB}/mesonbuild/compilers/swift.py
+${PYSITELIB}/mesonbuild/compilers/swift.pyc
+${PYSITELIB}/mesonbuild/compilers/swift.pyo
+${PYSITELIB}/mesonbuild/compilers/vala.py
+${PYSITELIB}/mesonbuild/compilers/vala.pyc
+${PYSITELIB}/mesonbuild/compilers/vala.pyo
+${PYSITELIB}/mesonbuild/coredata.py
+${PYSITELIB}/mesonbuild/coredata.pyc
+${PYSITELIB}/mesonbuild/coredata.pyo
+${PYSITELIB}/mesonbuild/dependencies/__init__.py
+${PYSITELIB}/mesonbuild/dependencies/__init__.pyc
+${PYSITELIB}/mesonbuild/dependencies/__init__.pyo
+${PYSITELIB}/mesonbuild/dependencies/base.py
+${PYSITELIB}/mesonbuild/dependencies/base.pyc
+${PYSITELIB}/mesonbuild/dependencies/base.pyo
+${PYSITELIB}/mesonbuild/dependencies/boost.py
+${PYSITELIB}/mesonbuild/dependencies/boost.pyc
+${PYSITELIB}/mesonbuild/dependencies/boost.pyo
+${PYSITELIB}/mesonbuild/dependencies/data/CMakeLists.txt
+${PYSITELIB}/mesonbuild/dependencies/data/CMakeListsLLVM.txt
+${PYSITELIB}/mesonbuild/dependencies/data/CMakePathInfo.txt
+${PYSITELIB}/mesonbuild/dependencies/dev.py
+${PYSITELIB}/mesonbuild/dependencies/dev.pyc
+${PYSITELIB}/mesonbuild/dependencies/dev.pyo
+${PYSITELIB}/mesonbuild/dependencies/misc.py
+${PYSITELIB}/mesonbuild/dependencies/misc.pyc
+${PYSITELIB}/mesonbuild/dependencies/misc.pyo
+${PYSITELIB}/mesonbuild/dependencies/platform.py
+${PYSITELIB}/mesonbuild/dependencies/platform.pyc
+${PYSITELIB}/mesonbuild/dependencies/platform.pyo
+${PYSITELIB}/mesonbuild/dependencies/ui.py
+${PYSITELIB}/mesonbuild/dependencies/ui.pyc
+${PYSITELIB}/mesonbuild/dependencies/ui.pyo
+${PYSITELIB}/mesonbuild/envconfig.py
+${PYSITELIB}/mesonbuild/envconfig.pyc
+${PYSITELIB}/mesonbuild/envconfig.pyo
+${PYSITELIB}/mesonbuild/environment.py
+${PYSITELIB}/mesonbuild/environment.pyc
+${PYSITELIB}/mesonbuild/environment.pyo
+${PYSITELIB}/mesonbuild/interpreter.py
+${PYSITELIB}/mesonbuild/interpreter.pyc
+${PYSITELIB}/mesonbuild/interpreter.pyo
+${PYSITELIB}/mesonbuild/interpreterbase.py
+${PYSITELIB}/mesonbuild/interpreterbase.pyc
+${PYSITELIB}/mesonbuild/interpreterbase.pyo
+${PYSITELIB}/mesonbuild/linkers.py
+${PYSITELIB}/mesonbuild/linkers.pyc
+${PYSITELIB}/mesonbuild/linkers.pyo
+${PYSITELIB}/mesonbuild/mconf.py
+${PYSITELIB}/mesonbuild/mconf.pyc
+${PYSITELIB}/mesonbuild/mconf.pyo
+${PYSITELIB}/mesonbuild/mesonlib.py
+${PYSITELIB}/mesonbuild/mesonlib.pyc
+${PYSITELIB}/mesonbuild/mesonlib.pyo
+${PYSITELIB}/mesonbuild/mesonmain.py
+${PYSITELIB}/mesonbuild/mesonmain.pyc
+${PYSITELIB}/mesonbuild/mesonmain.pyo
+${PYSITELIB}/mesonbuild/minit.py
+${PYSITELIB}/mesonbuild/minit.pyc
+${PYSITELIB}/mesonbuild/minit.pyo
+${PYSITELIB}/mesonbuild/minstall.py
+${PYSITELIB}/mesonbuild/minstall.pyc
+${PYSITELIB}/mesonbuild/minstall.pyo
+${PYSITELIB}/mesonbuild/mintro.py
+${PYSITELIB}/mesonbuild/mintro.pyc
+${PYSITELIB}/mesonbuild/mintro.pyo
+${PYSITELIB}/mesonbuild/mlog.py
+${PYSITELIB}/mesonbuild/mlog.pyc
+${PYSITELIB}/mesonbuild/mlog.pyo
+${PYSITELIB}/mesonbuild/modules/__init__.py
+${PYSITELIB}/mesonbuild/modules/__init__.pyc
+${PYSITELIB}/mesonbuild/modules/__init__.pyo
+${PYSITELIB}/mesonbuild/modules/cmake.py
+${PYSITELIB}/mesonbuild/modules/cmake.pyc
+${PYSITELIB}/mesonbuild/modules/cmake.pyo
+${PYSITELIB}/mesonbuild/modules/dlang.py
+${PYSITELIB}/mesonbuild/modules/dlang.pyc
+${PYSITELIB}/mesonbuild/modules/dlang.pyo
+${PYSITELIB}/mesonbuild/modules/gnome.py
+${PYSITELIB}/mesonbuild/modules/gnome.pyc
+${PYSITELIB}/mesonbuild/modules/gnome.pyo
+${PYSITELIB}/mesonbuild/modules/hotdoc.py
+${PYSITELIB}/mesonbuild/modules/hotdoc.pyc
+${PYSITELIB}/mesonbuild/modules/hotdoc.pyo
+${PYSITELIB}/mesonbuild/modules/i18n.py
+${PYSITELIB}/mesonbuild/modules/i18n.pyc
+${PYSITELIB}/mesonbuild/modules/i18n.pyo
+${PYSITELIB}/mesonbuild/modules/modtest.py
+${PYSITELIB}/mesonbuild/modules/modtest.pyc
+${PYSITELIB}/mesonbuild/modules/modtest.pyo
+${PYSITELIB}/mesonbuild/modules/pkgconfig.py
+${PYSITELIB}/mesonbuild/modules/pkgconfig.pyc
+${PYSITELIB}/mesonbuild/modules/pkgconfig.pyo
+${PYSITELIB}/mesonbuild/modules/python.py
+${PYSITELIB}/mesonbuild/modules/python.pyc
+${PYSITELIB}/mesonbuild/modules/python.pyo
+${PYSITELIB}/mesonbuild/modules/python3.py
+${PYSITELIB}/mesonbuild/modules/python3.pyc
+${PYSITELIB}/mesonbuild/modules/python3.pyo
+${PYSITELIB}/mesonbuild/modules/qt.py
+${PYSITELIB}/mesonbuild/modules/qt.pyc
+${PYSITELIB}/mesonbuild/modules/qt.pyo
+${PYSITELIB}/mesonbuild/modules/qt4.py
+${PYSITELIB}/mesonbuild/modules/qt4.pyc
+${PYSITELIB}/mesonbuild/modules/qt4.pyo
+${PYSITELIB}/mesonbuild/modules/qt5.py
+${PYSITELIB}/mesonbuild/modules/qt5.pyc
+${PYSITELIB}/mesonbuild/modules/qt5.pyo
+${PYSITELIB}/mesonbuild/modules/rpm.py
+${PYSITELIB}/mesonbuild/modules/rpm.pyc
+${PYSITELIB}/mesonbuild/modules/rpm.pyo
+${PYSITELIB}/mesonbuild/modules/sourceset.py
+${PYSITELIB}/mesonbuild/modules/sourceset.pyc
+${PYSITELIB}/mesonbuild/modules/sourceset.pyo
+${PYSITELIB}/mesonbuild/modules/unstable_cuda.py
+${PYSITELIB}/mesonbuild/modules/unstable_cuda.pyc
+${PYSITELIB}/mesonbuild/modules/unstable_cuda.pyo
+${PYSITELIB}/mesonbuild/modules/unstable_icestorm.py
+${PYSITELIB}/mesonbuild/modules/unstable_icestorm.pyc
+${PYSITELIB}/mesonbuild/modules/unstable_icestorm.pyo
+${PYSITELIB}/mesonbuild/modules/unstable_kconfig.py
+${PYSITELIB}/mesonbuild/modules/unstable_kconfig.pyc
+${PYSITELIB}/mesonbuild/modules/unstable_kconfig.pyo
+${PYSITELIB}/mesonbuild/modules/unstable_simd.py
+${PYSITELIB}/mesonbuild/modules/unstable_simd.pyc
+${PYSITELIB}/mesonbuild/modules/unstable_simd.pyo
+${PYSITELIB}/mesonbuild/modules/windows.py
+${PYSITELIB}/mesonbuild/modules/windows.pyc
+${PYSITELIB}/mesonbuild/modules/windows.pyo
+${PYSITELIB}/mesonbuild/mparser.py
+${PYSITELIB}/mesonbuild/mparser.pyc
+${PYSITELIB}/mesonbuild/mparser.pyo
+${PYSITELIB}/mesonbuild/msetup.py



Home | Main Index | Thread Index | Old Index