mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
package/meson: bump to version 0.53.1
Removed patch that is now upstream. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
91a1acc805
commit
6e2a0ddb77
@ -1,50 +0,0 @@
|
|||||||
From a3443360c8c0014638366d5bb2f5aa7683d5aec2 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
|
||||||
Date: Sat, 19 Oct 2019 09:52:06 +0200
|
|
||||||
Subject: [PATCH] mdist.py: import lzma only when needed
|
|
||||||
|
|
||||||
Importing lzma requires that python was built with lzma support. Buildroot
|
|
||||||
builds its own version of python, without lzma support (i.e. without
|
|
||||||
dependency on host-xz).
|
|
||||||
|
|
||||||
lzma is anyway only needed to make the dist target, which we don't do in
|
|
||||||
Buildroot. Therefore, in the Buildroot context, everything still works
|
|
||||||
properly without lzma support.
|
|
||||||
|
|
||||||
Moving the import down to the place where it is actually needed does not
|
|
||||||
remove any functionality but fixes the problem for Buildroot.
|
|
||||||
|
|
||||||
Source of patch:
|
|
||||||
http://lists.busybox.net/pipermail/buildroot/2019-October/262990.html
|
|
||||||
http://code.bulix.org/gdxcu4-914360
|
|
||||||
|
|
||||||
Fixes https://github.com/mesonbuild/meson/issues/6012
|
|
||||||
|
|
||||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
|
||||||
---
|
|
||||||
mesonbuild/mdist.py | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/mesonbuild/mdist.py b/mesonbuild/mdist.py
|
|
||||||
index 7b753826..28e2fced 100644
|
|
||||||
--- a/mesonbuild/mdist.py
|
|
||||||
+++ b/mesonbuild/mdist.py
|
|
||||||
@@ -13,7 +13,6 @@
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
|
|
||||||
-import lzma
|
|
||||||
import gzip
|
|
||||||
import os
|
|
||||||
import sys
|
|
||||||
@@ -133,6 +132,7 @@ def create_dist_hg(dist_name, archives, src_root, bld_root, dist_sub, dist_scrip
|
|
||||||
if dist_scripts:
|
|
||||||
mlog.warning('dist scripts are not supported in Mercurial projects')
|
|
||||||
if 'xztar' in archives:
|
|
||||||
+ import lzma
|
|
||||||
with lzma.open(xzname, 'wb') as xf, open(tarname, 'rb') as tf:
|
|
||||||
shutil.copyfileobj(tf, xf)
|
|
||||||
output_names.append(xzname)
|
|
||||||
--
|
|
||||||
2.20.1
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
# Locally calculated after checking pgp signature
|
# Locally calculated after checking pgp signature
|
||||||
# https://github.com/mesonbuild/meson/releases/download/0.52.1/meson-0.52.1.tar.gz.asc
|
# https://github.com/mesonbuild/meson/releases/download/0.53.1/meson-0.53.1.tar.gz.asc
|
||||||
sha256 0c277472e49950a5537e3de3e60c57b80dbf425788470a1a8ed27446128fc035 meson-0.52.1.tar.gz
|
sha256 ec1ba33eea701baca2c1607dac458152dc8323364a51fdef6babda2623413b04 meson-0.53.1.tar.gz
|
||||||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING
|
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
MESON_VERSION = 0.52.1
|
MESON_VERSION = 0.53.1
|
||||||
MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION)
|
MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION)
|
||||||
MESON_LICENSE = Apache-2.0
|
MESON_LICENSE = Apache-2.0
|
||||||
MESON_LICENSE_FILES = COPYING
|
MESON_LICENSE_FILES = COPYING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user