This tool required to build more and more packages.
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- config/rootfiles/common/ninja | 1 + lfs/ninja | 84 +++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 config/rootfiles/common/ninja create mode 100644 lfs/ninja
diff --git a/config/rootfiles/common/ninja b/config/rootfiles/common/ninja new file mode 100644 index 000000000..f402add1b --- /dev/null +++ b/config/rootfiles/common/ninja @@ -0,0 +1 @@ +#usr/bin/ninja diff --git a/lfs/ninja b/lfs/ninja new file mode 100644 index 000000000..c968345f4 --- /dev/null +++ b/lfs/ninja @@ -0,0 +1,84 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2018 IPFire Team info@ipfire.org # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see http://www.gnu.org/licenses/. # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 1.10.2 + +THISAPP = ninja-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 639f75bc2e3b19ab893eaf2c810d4eb4 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + + # Configure and bootstrap the build environment + cd $(DIR_APP) && python3 configure.py --bootstrap --verbose + + # Build ninja + cd $(DIR_APP) && ./ninja -v all + + # Install ninja. + cd $(DIR_APP) && install -vm755 ninja /usr/bin/ + + @rm -rf $(DIR_APP) + @$(POSTBUILD)
More and more packages uses meson as build environment instead of autotools or cmake.
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- config/rootfiles/common/meson | 178 ++++++++++++++++++++++++++++++++++ lfs/meson | 80 +++++++++++++++ 2 files changed, 258 insertions(+) create mode 100644 config/rootfiles/common/meson create mode 100644 lfs/meson
diff --git a/config/rootfiles/common/meson b/config/rootfiles/common/meson new file mode 100644 index 000000000..a9c2d7ad0 --- /dev/null +++ b/config/rootfiles/common/meson @@ -0,0 +1,178 @@ +#usr/bin/meson +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/PKG-INFO +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/SOURCES.txt +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/dependency_links.txt +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/entry_points.txt +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/requires.txt +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/top_level.txt +#usr/lib/python3.8/site-packages/mesonbuild +#usr/lib/python3.8/site-packages/mesonbuild/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/_pathlib.py +#usr/lib/python3.8/site-packages/mesonbuild/arglist.py +#usr/lib/python3.8/site-packages/mesonbuild/ast +#usr/lib/python3.8/site-packages/mesonbuild/ast/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/interpreter.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/introspection.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/postprocess.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/printer.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/visitor.py +#usr/lib/python3.8/site-packages/mesonbuild/backend +#usr/lib/python3.8/site-packages/mesonbuild/backend/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/backends.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/ninjabackend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/vs2010backend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/vs2015backend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/vs2017backend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/vs2019backend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/xcodebackend.py +#usr/lib/python3.8/site-packages/mesonbuild/build.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake +#usr/lib/python3.8/site-packages/mesonbuild/cmake/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/client.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/common.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/executor.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/fileapi.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/generator.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/interpreter.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/toolchain.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/traceparser.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers +#usr/lib/python3.8/site-packages/mesonbuild/compilers/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/c.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/c_function_attributes.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/compilers.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/cpp.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/cs.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/cuda.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/d.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/fortran.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/java.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/arm.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/c2000.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/ccrx.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/clang.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/clike.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/compcert.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/elbrus.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/emscripten.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/gnu.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/intel.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/islinker.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/pgi.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/visualstudio.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/xc16.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/objc.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/objcpp.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/rust.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/swift.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/vala.py +#usr/lib/python3.8/site-packages/mesonbuild/coredata.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/base.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/boost.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/coarrays.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/cuda.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/dev.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/hdf5.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/misc.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/mpi.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/platform.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/scalapack.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/ui.py +#usr/lib/python3.8/site-packages/mesonbuild/depfile.py +#usr/lib/python3.8/site-packages/mesonbuild/envconfig.py +#usr/lib/python3.8/site-packages/mesonbuild/environment.py +#usr/lib/python3.8/site-packages/mesonbuild/interpreter.py +#usr/lib/python3.8/site-packages/mesonbuild/interpreterbase.py +#usr/lib/python3.8/site-packages/mesonbuild/linkers.py +#usr/lib/python3.8/site-packages/mesonbuild/mcompile.py +#usr/lib/python3.8/site-packages/mesonbuild/mconf.py +#usr/lib/python3.8/site-packages/mesonbuild/mdist.py +#usr/lib/python3.8/site-packages/mesonbuild/mesondata.py +#usr/lib/python3.8/site-packages/mesonbuild/mesonlib.py +#usr/lib/python3.8/site-packages/mesonbuild/mesonmain.py +#usr/lib/python3.8/site-packages/mesonbuild/minit.py +#usr/lib/python3.8/site-packages/mesonbuild/minstall.py +#usr/lib/python3.8/site-packages/mesonbuild/mintro.py +#usr/lib/python3.8/site-packages/mesonbuild/mlog.py +#usr/lib/python3.8/site-packages/mesonbuild/modules +#usr/lib/python3.8/site-packages/mesonbuild/modules/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/cmake.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/dlang.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/fs.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/gnome.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/hotdoc.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/i18n.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/keyval.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/modtest.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/pkgconfig.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/python.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/python3.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/qt.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/qt4.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/qt5.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/rpm.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/sourceset.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/unstable_cuda.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/unstable_external_project.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/unstable_icestorm.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/unstable_simd.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/windows.py +#usr/lib/python3.8/site-packages/mesonbuild/mparser.py +#usr/lib/python3.8/site-packages/mesonbuild/msetup.py +#usr/lib/python3.8/site-packages/mesonbuild/msubprojects.py +#usr/lib/python3.8/site-packages/mesonbuild/mtest.py +#usr/lib/python3.8/site-packages/mesonbuild/munstable_coredata.py +#usr/lib/python3.8/site-packages/mesonbuild/optinterpreter.py +#usr/lib/python3.8/site-packages/mesonbuild/rewriter.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts +#usr/lib/python3.8/site-packages/mesonbuild/scripts/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/clangformat.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/clangtidy.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/cleantrees.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/cmake_run_ctgt.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/commandrunner.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/coverage.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/delwithsuffix.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/depfixer.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/dirchanger.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/externalproject.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/gettext.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/gtkdochelper.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/hotdochelper.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/meson_exe.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/msgfmthelper.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/regen_checker.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/scanbuild.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/symbolextractor.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/tags.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/uninstall.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/vcstagger.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/yelphelper.py +#usr/lib/python3.8/site-packages/mesonbuild/templates +#usr/lib/python3.8/site-packages/mesonbuild/templates/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/cpptemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/cstemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/ctemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/cudatemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/dlangtemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/fortrantemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/javatemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/mesontemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/objcpptemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/objctemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/rusttemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/samplefactory.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/sampleimpl.py +#usr/lib/python3.8/site-packages/mesonbuild/wrap +#usr/lib/python3.8/site-packages/mesonbuild/wrap/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/wrap/wrap.py +#usr/lib/python3.8/site-packages/mesonbuild/wrap/wraptool.py +#usr/share/man/man1/meson.1 +#usr/share/polkit-1 +#usr/share/polkit-1/actions +#usr/share/polkit-1/actions/com.mesonbuild.install.policy diff --git a/lfs/meson b/lfs/meson new file mode 100644 index 000000000..40275569e --- /dev/null +++ b/lfs/meson @@ -0,0 +1,80 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2018 IPFire Team info@ipfire.org # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see http://www.gnu.org/licenses/. # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 0.56.0 + +THISAPP = meson-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = ed0607fe909fae0cda73fc4b86129c49 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + + cd $(DIR_APP) && python3 setup.py build + + cd $(DIR_APP) && python3 setup.py install --root=dest + cd $(DIR_APP) && cp -rv dest/* / + + @rm -rf $(DIR_APP) + @$(POSTBUILD)
Hi,
Unfortunately the MD5 checksum is incorrect on this one.
When I download the official release tarball, I am getting:
67ce2c0c3eab1b8ee9ddaa1c5143e7c0
Can you confirm?
-Michael
On 26 Dec 2020, at 17:47, Stefan Schantl stefan.schantl@ipfire.org wrote:
More and more packages uses meson as build environment instead of autotools or cmake.
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org
config/rootfiles/common/meson | 178 ++++++++++++++++++++++++++++++++++ lfs/meson | 80 +++++++++++++++ 2 files changed, 258 insertions(+) create mode 100644 config/rootfiles/common/meson create mode 100644 lfs/meson
diff --git a/config/rootfiles/common/meson b/config/rootfiles/common/meson new file mode 100644 index 000000000..a9c2d7ad0 --- /dev/null +++ b/config/rootfiles/common/meson @@ -0,0 +1,178 @@ +#usr/bin/meson +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/PKG-INFO +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/SOURCES.txt +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/dependency_links.txt +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/entry_points.txt +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/requires.txt +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/top_level.txt +#usr/lib/python3.8/site-packages/mesonbuild +#usr/lib/python3.8/site-packages/mesonbuild/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/_pathlib.py +#usr/lib/python3.8/site-packages/mesonbuild/arglist.py +#usr/lib/python3.8/site-packages/mesonbuild/ast +#usr/lib/python3.8/site-packages/mesonbuild/ast/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/interpreter.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/introspection.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/postprocess.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/printer.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/visitor.py +#usr/lib/python3.8/site-packages/mesonbuild/backend +#usr/lib/python3.8/site-packages/mesonbuild/backend/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/backends.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/ninjabackend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/vs2010backend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/vs2015backend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/vs2017backend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/vs2019backend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/xcodebackend.py +#usr/lib/python3.8/site-packages/mesonbuild/build.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake +#usr/lib/python3.8/site-packages/mesonbuild/cmake/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/client.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/common.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/executor.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/fileapi.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/generator.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/interpreter.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/toolchain.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/traceparser.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers +#usr/lib/python3.8/site-packages/mesonbuild/compilers/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/c.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/c_function_attributes.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/compilers.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/cpp.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/cs.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/cuda.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/d.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/fortran.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/java.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/arm.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/c2000.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/ccrx.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/clang.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/clike.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/compcert.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/elbrus.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/emscripten.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/gnu.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/intel.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/islinker.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/pgi.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/visualstudio.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/xc16.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/objc.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/objcpp.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/rust.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/swift.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/vala.py +#usr/lib/python3.8/site-packages/mesonbuild/coredata.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/base.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/boost.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/coarrays.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/cuda.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/dev.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/hdf5.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/misc.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/mpi.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/platform.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/scalapack.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/ui.py +#usr/lib/python3.8/site-packages/mesonbuild/depfile.py +#usr/lib/python3.8/site-packages/mesonbuild/envconfig.py +#usr/lib/python3.8/site-packages/mesonbuild/environment.py +#usr/lib/python3.8/site-packages/mesonbuild/interpreter.py +#usr/lib/python3.8/site-packages/mesonbuild/interpreterbase.py +#usr/lib/python3.8/site-packages/mesonbuild/linkers.py +#usr/lib/python3.8/site-packages/mesonbuild/mcompile.py +#usr/lib/python3.8/site-packages/mesonbuild/mconf.py +#usr/lib/python3.8/site-packages/mesonbuild/mdist.py +#usr/lib/python3.8/site-packages/mesonbuild/mesondata.py +#usr/lib/python3.8/site-packages/mesonbuild/mesonlib.py +#usr/lib/python3.8/site-packages/mesonbuild/mesonmain.py +#usr/lib/python3.8/site-packages/mesonbuild/minit.py +#usr/lib/python3.8/site-packages/mesonbuild/minstall.py +#usr/lib/python3.8/site-packages/mesonbuild/mintro.py +#usr/lib/python3.8/site-packages/mesonbuild/mlog.py +#usr/lib/python3.8/site-packages/mesonbuild/modules +#usr/lib/python3.8/site-packages/mesonbuild/modules/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/cmake.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/dlang.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/fs.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/gnome.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/hotdoc.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/i18n.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/keyval.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/modtest.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/pkgconfig.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/python.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/python3.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/qt.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/qt4.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/qt5.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/rpm.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/sourceset.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/unstable_cuda.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/unstable_external_project.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/unstable_icestorm.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/unstable_simd.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/windows.py +#usr/lib/python3.8/site-packages/mesonbuild/mparser.py +#usr/lib/python3.8/site-packages/mesonbuild/msetup.py +#usr/lib/python3.8/site-packages/mesonbuild/msubprojects.py +#usr/lib/python3.8/site-packages/mesonbuild/mtest.py +#usr/lib/python3.8/site-packages/mesonbuild/munstable_coredata.py +#usr/lib/python3.8/site-packages/mesonbuild/optinterpreter.py +#usr/lib/python3.8/site-packages/mesonbuild/rewriter.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts +#usr/lib/python3.8/site-packages/mesonbuild/scripts/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/clangformat.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/clangtidy.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/cleantrees.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/cmake_run_ctgt.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/commandrunner.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/coverage.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/delwithsuffix.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/depfixer.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/dirchanger.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/externalproject.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/gettext.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/gtkdochelper.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/hotdochelper.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/meson_exe.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/msgfmthelper.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/regen_checker.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/scanbuild.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/symbolextractor.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/tags.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/uninstall.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/vcstagger.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/yelphelper.py +#usr/lib/python3.8/site-packages/mesonbuild/templates +#usr/lib/python3.8/site-packages/mesonbuild/templates/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/cpptemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/cstemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/ctemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/cudatemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/dlangtemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/fortrantemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/javatemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/mesontemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/objcpptemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/objctemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/rusttemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/samplefactory.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/sampleimpl.py +#usr/lib/python3.8/site-packages/mesonbuild/wrap +#usr/lib/python3.8/site-packages/mesonbuild/wrap/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/wrap/wrap.py +#usr/lib/python3.8/site-packages/mesonbuild/wrap/wraptool.py +#usr/share/man/man1/meson.1 +#usr/share/polkit-1 +#usr/share/polkit-1/actions +#usr/share/polkit-1/actions/com.mesonbuild.install.policy diff --git a/lfs/meson b/lfs/meson new file mode 100644 index 000000000..40275569e --- /dev/null +++ b/lfs/meson @@ -0,0 +1,80 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2018 IPFire Team info@ipfire.org # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see http://www.gnu.org/licenses/. # +# # +###############################################################################
+############################################################################### +# Definitions +###############################################################################
+include Config
+VER = 0.56.0
+THISAPP = meson-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP)
+############################################################################### +# Top-level Rules +###############################################################################
+objects = $(DL_FILE)
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+$(DL_FILE)_MD5 = ed0607fe909fae0cda73fc4b86129c49
+install : $(TARGET)
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+md5 : $(subst %,%_MD5,$(objects))
+############################################################################### +# Downloading, checking, md5sum +###############################################################################
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
- @$(CHECK)
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
- @$(LOAD)
+$(subst %,%_MD5,$(objects)) :
- @$(MD5)
+############################################################################### +# Installation Details +###############################################################################
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && python3 setup.py build
- cd $(DIR_APP) && python3 setup.py install --root=dest
- cd $(DIR_APP) && cp -rv dest/* /
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)
-- 2.20.1
Hi Michael,
There are two meson-0.56.0.tar.gz files on the meson github site.
One is labelled meson-0.56.0.tar.gz and the other is labelled Source code (tar.gz).
Both of these provide files labelled meson-0.56.0.tar.gz but have different md5sum values. One is the value Stefan had and the other the value Michael had.
Quick look through the first parts of both archives doesn't show any file name differences so not sure why they have two versions with the same name.
Regards,
Adolf.
On 27/12/2020 11:37, Michael Tremer wrote:
Hi,
Unfortunately the MD5 checksum is incorrect on this one.
When I download the official release tarball, I am getting:
67ce2c0c3eab1b8ee9ddaa1c5143e7c0
Can you confirm?
-Michael
On 26 Dec 2020, at 17:47, Stefan Schantl stefan.schantl@ipfire.org wrote:
More and more packages uses meson as build environment instead of autotools or cmake.
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org
config/rootfiles/common/meson | 178 ++++++++++++++++++++++++++++++++++ lfs/meson | 80 +++++++++++++++ 2 files changed, 258 insertions(+) create mode 100644 config/rootfiles/common/meson create mode 100644 lfs/meson
diff --git a/config/rootfiles/common/meson b/config/rootfiles/common/meson new file mode 100644 index 000000000..a9c2d7ad0 --- /dev/null +++ b/config/rootfiles/common/meson @@ -0,0 +1,178 @@ +#usr/bin/meson +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/PKG-INFO +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/SOURCES.txt +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/dependency_links.txt +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/entry_points.txt +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/requires.txt +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/top_level.txt +#usr/lib/python3.8/site-packages/mesonbuild +#usr/lib/python3.8/site-packages/mesonbuild/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/_pathlib.py +#usr/lib/python3.8/site-packages/mesonbuild/arglist.py +#usr/lib/python3.8/site-packages/mesonbuild/ast +#usr/lib/python3.8/site-packages/mesonbuild/ast/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/interpreter.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/introspection.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/postprocess.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/printer.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/visitor.py +#usr/lib/python3.8/site-packages/mesonbuild/backend +#usr/lib/python3.8/site-packages/mesonbuild/backend/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/backends.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/ninjabackend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/vs2010backend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/vs2015backend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/vs2017backend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/vs2019backend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/xcodebackend.py +#usr/lib/python3.8/site-packages/mesonbuild/build.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake +#usr/lib/python3.8/site-packages/mesonbuild/cmake/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/client.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/common.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/executor.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/fileapi.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/generator.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/interpreter.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/toolchain.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/traceparser.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers +#usr/lib/python3.8/site-packages/mesonbuild/compilers/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/c.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/c_function_attributes.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/compilers.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/cpp.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/cs.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/cuda.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/d.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/fortran.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/java.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/arm.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/c2000.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/ccrx.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/clang.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/clike.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/compcert.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/elbrus.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/emscripten.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/gnu.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/intel.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/islinker.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/pgi.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/visualstudio.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/xc16.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/objc.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/objcpp.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/rust.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/swift.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/vala.py +#usr/lib/python3.8/site-packages/mesonbuild/coredata.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/base.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/boost.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/coarrays.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/cuda.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/dev.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/hdf5.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/misc.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/mpi.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/platform.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/scalapack.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/ui.py +#usr/lib/python3.8/site-packages/mesonbuild/depfile.py +#usr/lib/python3.8/site-packages/mesonbuild/envconfig.py +#usr/lib/python3.8/site-packages/mesonbuild/environment.py +#usr/lib/python3.8/site-packages/mesonbuild/interpreter.py +#usr/lib/python3.8/site-packages/mesonbuild/interpreterbase.py +#usr/lib/python3.8/site-packages/mesonbuild/linkers.py +#usr/lib/python3.8/site-packages/mesonbuild/mcompile.py +#usr/lib/python3.8/site-packages/mesonbuild/mconf.py +#usr/lib/python3.8/site-packages/mesonbuild/mdist.py +#usr/lib/python3.8/site-packages/mesonbuild/mesondata.py +#usr/lib/python3.8/site-packages/mesonbuild/mesonlib.py +#usr/lib/python3.8/site-packages/mesonbuild/mesonmain.py +#usr/lib/python3.8/site-packages/mesonbuild/minit.py +#usr/lib/python3.8/site-packages/mesonbuild/minstall.py +#usr/lib/python3.8/site-packages/mesonbuild/mintro.py +#usr/lib/python3.8/site-packages/mesonbuild/mlog.py +#usr/lib/python3.8/site-packages/mesonbuild/modules +#usr/lib/python3.8/site-packages/mesonbuild/modules/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/cmake.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/dlang.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/fs.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/gnome.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/hotdoc.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/i18n.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/keyval.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/modtest.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/pkgconfig.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/python.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/python3.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/qt.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/qt4.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/qt5.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/rpm.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/sourceset.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/unstable_cuda.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/unstable_external_project.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/unstable_icestorm.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/unstable_simd.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/windows.py +#usr/lib/python3.8/site-packages/mesonbuild/mparser.py +#usr/lib/python3.8/site-packages/mesonbuild/msetup.py +#usr/lib/python3.8/site-packages/mesonbuild/msubprojects.py +#usr/lib/python3.8/site-packages/mesonbuild/mtest.py +#usr/lib/python3.8/site-packages/mesonbuild/munstable_coredata.py +#usr/lib/python3.8/site-packages/mesonbuild/optinterpreter.py +#usr/lib/python3.8/site-packages/mesonbuild/rewriter.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts +#usr/lib/python3.8/site-packages/mesonbuild/scripts/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/clangformat.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/clangtidy.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/cleantrees.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/cmake_run_ctgt.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/commandrunner.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/coverage.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/delwithsuffix.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/depfixer.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/dirchanger.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/externalproject.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/gettext.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/gtkdochelper.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/hotdochelper.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/meson_exe.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/msgfmthelper.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/regen_checker.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/scanbuild.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/symbolextractor.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/tags.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/uninstall.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/vcstagger.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/yelphelper.py +#usr/lib/python3.8/site-packages/mesonbuild/templates +#usr/lib/python3.8/site-packages/mesonbuild/templates/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/cpptemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/cstemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/ctemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/cudatemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/dlangtemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/fortrantemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/javatemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/mesontemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/objcpptemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/objctemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/rusttemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/samplefactory.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/sampleimpl.py +#usr/lib/python3.8/site-packages/mesonbuild/wrap +#usr/lib/python3.8/site-packages/mesonbuild/wrap/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/wrap/wrap.py +#usr/lib/python3.8/site-packages/mesonbuild/wrap/wraptool.py +#usr/share/man/man1/meson.1 +#usr/share/polkit-1 +#usr/share/polkit-1/actions +#usr/share/polkit-1/actions/com.mesonbuild.install.policy diff --git a/lfs/meson b/lfs/meson new file mode 100644 index 000000000..40275569e --- /dev/null +++ b/lfs/meson @@ -0,0 +1,80 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2018 IPFire Team info@ipfire.org # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see http://www.gnu.org/licenses/. # +# # +###############################################################################
+############################################################################### +# Definitions +###############################################################################
+include Config
+VER = 0.56.0
+THISAPP = meson-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP)
+############################################################################### +# Top-level Rules +###############################################################################
+objects = $(DL_FILE)
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+$(DL_FILE)_MD5 = ed0607fe909fae0cda73fc4b86129c49
+install : $(TARGET)
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+md5 : $(subst %,%_MD5,$(objects))
+############################################################################### +# Downloading, checking, md5sum +###############################################################################
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
- @$(CHECK)
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
- @$(LOAD)
+$(subst %,%_MD5,$(objects)) :
- @$(MD5)
+############################################################################### +# Installation Details +###############################################################################
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && python3 setup.py build
- cd $(DIR_APP) && python3 setup.py install --root=dest
- cd $(DIR_APP) && cp -rv dest/* /
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)
-- 2.20.1
Hi,
Thanks for looking into this.
GitHub is really bad with release tarballs. I usually download the "meson-0.56.0.tar.gz” version because they usually have generated configure scripts, etc. The others don’t and it would be an extra step in the build process.
-Michael
On 27 Dec 2020, at 12:19, Adolf Belka ahb.ipfire@gmail.com wrote:
Hi Michael,
There are two meson-0.56.0.tar.gz files on the meson github site.
One is labelled meson-0.56.0.tar.gz and the other is labelled Source code (tar.gz).
Both of these provide files labelled meson-0.56.0.tar.gz but have different md5sum values. One is the value Stefan had and the other the value Michael had.
Quick look through the first parts of both archives doesn't show any file name differences so not sure why they have two versions with the same name.
Regards,
Adolf.
On 27/12/2020 11:37, Michael Tremer wrote:
Hi, Unfortunately the MD5 checksum is incorrect on this one. When I download the official release tarball, I am getting: 67ce2c0c3eab1b8ee9ddaa1c5143e7c0 Can you confirm? -Michael
On 26 Dec 2020, at 17:47, Stefan Schantl stefan.schantl@ipfire.org wrote:
More and more packages uses meson as build environment instead of autotools or cmake.
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org
config/rootfiles/common/meson | 178 ++++++++++++++++++++++++++++++++++ lfs/meson | 80 +++++++++++++++ 2 files changed, 258 insertions(+) create mode 100644 config/rootfiles/common/meson create mode 100644 lfs/meson
diff --git a/config/rootfiles/common/meson b/config/rootfiles/common/meson new file mode 100644 index 000000000..a9c2d7ad0 --- /dev/null +++ b/config/rootfiles/common/meson @@ -0,0 +1,178 @@ +#usr/bin/meson +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/PKG-INFO +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/SOURCES.txt +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/dependency_links.txt +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/entry_points.txt +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/requires.txt +#usr/lib/python3.8/site-packages/meson-0.56.0-py3.8.egg-info/top_level.txt +#usr/lib/python3.8/site-packages/mesonbuild +#usr/lib/python3.8/site-packages/mesonbuild/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/_pathlib.py +#usr/lib/python3.8/site-packages/mesonbuild/arglist.py +#usr/lib/python3.8/site-packages/mesonbuild/ast +#usr/lib/python3.8/site-packages/mesonbuild/ast/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/interpreter.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/introspection.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/postprocess.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/printer.py +#usr/lib/python3.8/site-packages/mesonbuild/ast/visitor.py +#usr/lib/python3.8/site-packages/mesonbuild/backend +#usr/lib/python3.8/site-packages/mesonbuild/backend/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/backends.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/ninjabackend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/vs2010backend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/vs2015backend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/vs2017backend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/vs2019backend.py +#usr/lib/python3.8/site-packages/mesonbuild/backend/xcodebackend.py +#usr/lib/python3.8/site-packages/mesonbuild/build.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake +#usr/lib/python3.8/site-packages/mesonbuild/cmake/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/client.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/common.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/executor.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/fileapi.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/generator.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/interpreter.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/toolchain.py +#usr/lib/python3.8/site-packages/mesonbuild/cmake/traceparser.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers +#usr/lib/python3.8/site-packages/mesonbuild/compilers/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/c.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/c_function_attributes.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/compilers.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/cpp.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/cs.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/cuda.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/d.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/fortran.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/java.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/arm.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/c2000.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/ccrx.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/clang.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/clike.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/compcert.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/elbrus.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/emscripten.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/gnu.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/intel.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/islinker.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/pgi.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/visualstudio.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/mixins/xc16.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/objc.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/objcpp.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/rust.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/swift.py +#usr/lib/python3.8/site-packages/mesonbuild/compilers/vala.py +#usr/lib/python3.8/site-packages/mesonbuild/coredata.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/base.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/boost.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/coarrays.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/cuda.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/dev.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/hdf5.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/misc.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/mpi.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/platform.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/scalapack.py +#usr/lib/python3.8/site-packages/mesonbuild/dependencies/ui.py +#usr/lib/python3.8/site-packages/mesonbuild/depfile.py +#usr/lib/python3.8/site-packages/mesonbuild/envconfig.py +#usr/lib/python3.8/site-packages/mesonbuild/environment.py +#usr/lib/python3.8/site-packages/mesonbuild/interpreter.py +#usr/lib/python3.8/site-packages/mesonbuild/interpreterbase.py +#usr/lib/python3.8/site-packages/mesonbuild/linkers.py +#usr/lib/python3.8/site-packages/mesonbuild/mcompile.py +#usr/lib/python3.8/site-packages/mesonbuild/mconf.py +#usr/lib/python3.8/site-packages/mesonbuild/mdist.py +#usr/lib/python3.8/site-packages/mesonbuild/mesondata.py +#usr/lib/python3.8/site-packages/mesonbuild/mesonlib.py +#usr/lib/python3.8/site-packages/mesonbuild/mesonmain.py +#usr/lib/python3.8/site-packages/mesonbuild/minit.py +#usr/lib/python3.8/site-packages/mesonbuild/minstall.py +#usr/lib/python3.8/site-packages/mesonbuild/mintro.py +#usr/lib/python3.8/site-packages/mesonbuild/mlog.py +#usr/lib/python3.8/site-packages/mesonbuild/modules +#usr/lib/python3.8/site-packages/mesonbuild/modules/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/cmake.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/dlang.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/fs.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/gnome.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/hotdoc.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/i18n.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/keyval.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/modtest.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/pkgconfig.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/python.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/python3.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/qt.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/qt4.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/qt5.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/rpm.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/sourceset.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/unstable_cuda.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/unstable_external_project.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/unstable_icestorm.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/unstable_simd.py +#usr/lib/python3.8/site-packages/mesonbuild/modules/windows.py +#usr/lib/python3.8/site-packages/mesonbuild/mparser.py +#usr/lib/python3.8/site-packages/mesonbuild/msetup.py +#usr/lib/python3.8/site-packages/mesonbuild/msubprojects.py +#usr/lib/python3.8/site-packages/mesonbuild/mtest.py +#usr/lib/python3.8/site-packages/mesonbuild/munstable_coredata.py +#usr/lib/python3.8/site-packages/mesonbuild/optinterpreter.py +#usr/lib/python3.8/site-packages/mesonbuild/rewriter.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts +#usr/lib/python3.8/site-packages/mesonbuild/scripts/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/clangformat.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/clangtidy.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/cleantrees.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/cmake_run_ctgt.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/commandrunner.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/coverage.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/delwithsuffix.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/depfixer.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/dirchanger.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/externalproject.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/gettext.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/gtkdochelper.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/hotdochelper.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/meson_exe.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/msgfmthelper.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/regen_checker.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/scanbuild.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/symbolextractor.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/tags.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/uninstall.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/vcstagger.py +#usr/lib/python3.8/site-packages/mesonbuild/scripts/yelphelper.py +#usr/lib/python3.8/site-packages/mesonbuild/templates +#usr/lib/python3.8/site-packages/mesonbuild/templates/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/cpptemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/cstemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/ctemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/cudatemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/dlangtemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/fortrantemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/javatemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/mesontemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/objcpptemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/objctemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/rusttemplates.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/samplefactory.py +#usr/lib/python3.8/site-packages/mesonbuild/templates/sampleimpl.py +#usr/lib/python3.8/site-packages/mesonbuild/wrap +#usr/lib/python3.8/site-packages/mesonbuild/wrap/__init__.py +#usr/lib/python3.8/site-packages/mesonbuild/wrap/wrap.py +#usr/lib/python3.8/site-packages/mesonbuild/wrap/wraptool.py +#usr/share/man/man1/meson.1 +#usr/share/polkit-1 +#usr/share/polkit-1/actions +#usr/share/polkit-1/actions/com.mesonbuild.install.policy diff --git a/lfs/meson b/lfs/meson new file mode 100644 index 000000000..40275569e --- /dev/null +++ b/lfs/meson @@ -0,0 +1,80 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2018 IPFire Team info@ipfire.org # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see http://www.gnu.org/licenses/. # +# # +###############################################################################
+############################################################################### +# Definitions +###############################################################################
+include Config
+VER = 0.56.0
+THISAPP = meson-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP)
+############################################################################### +# Top-level Rules +###############################################################################
+objects = $(DL_FILE)
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+$(DL_FILE)_MD5 = ed0607fe909fae0cda73fc4b86129c49
+install : $(TARGET)
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+md5 : $(subst %,%_MD5,$(objects))
+############################################################################### +# Downloading, checking, md5sum +###############################################################################
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
- @$(CHECK)
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
- @$(LOAD)
+$(subst %,%_MD5,$(objects)) :
- @$(MD5)
+############################################################################### +# Installation Details +###############################################################################
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && python3 setup.py build
- cd $(DIR_APP) && python3 setup.py install --root=dest
- cd $(DIR_APP) && cp -rv dest/* /
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)
-- 2.20.1
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- make.sh | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/make.sh b/make.sh index f9b2ee6ba..5b1e949c4 100755 --- a/make.sh +++ b/make.sh @@ -1253,6 +1253,8 @@ buildipfire() { lfsmake2 nasm lfsmake2 libarchive lfsmake2 cmake + lfsmake2 ninja + lfsmake2 meson lfsmake2 libjpeg lfsmake2 libjpeg-compat lfsmake2 openjpeg
Hello,
Excellent work.
I am not entirely sure if we might not need to move this a little bit up in make.sh, but we will see that as soon as more and more things have to be built with it. As far as I can see, we could even package these things for the toolchain, which I would like to avoid if we can.
Thank you for looking into this. Merged.
-Michael
On 26 Dec 2020, at 17:47, Stefan Schantl stefan.schantl@ipfire.org wrote:
This tool required to build more and more packages.
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org
config/rootfiles/common/ninja | 1 + lfs/ninja | 84 +++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 config/rootfiles/common/ninja create mode 100644 lfs/ninja
diff --git a/config/rootfiles/common/ninja b/config/rootfiles/common/ninja new file mode 100644 index 000000000..f402add1b --- /dev/null +++ b/config/rootfiles/common/ninja @@ -0,0 +1 @@ +#usr/bin/ninja diff --git a/lfs/ninja b/lfs/ninja new file mode 100644 index 000000000..c968345f4 --- /dev/null +++ b/lfs/ninja @@ -0,0 +1,84 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2018 IPFire Team info@ipfire.org # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see http://www.gnu.org/licenses/. # +# # +###############################################################################
+############################################################################### +# Definitions +###############################################################################
+include Config
+VER = 1.10.2
+THISAPP = ninja-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP)
+############################################################################### +# Top-level Rules +###############################################################################
+objects = $(DL_FILE)
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+$(DL_FILE)_MD5 = 639f75bc2e3b19ab893eaf2c810d4eb4
+install : $(TARGET)
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+md5 : $(subst %,%_MD5,$(objects))
+############################################################################### +# Downloading, checking, md5sum +###############################################################################
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
- @$(CHECK)
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
- @$(LOAD)
+$(subst %,%_MD5,$(objects)) :
- @$(MD5)
+############################################################################### +# Installation Details +###############################################################################
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- # Configure and bootstrap the build environment
- cd $(DIR_APP) && python3 configure.py --bootstrap --verbose
- # Build ninja
- cd $(DIR_APP) && ./ninja -v all
- # Install ninja.
- cd $(DIR_APP) && install -vm755 ninja /usr/bin/
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)
-- 2.20.1