mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
meson: update to 0.61.1
update 0.60.3 (2021-12-23) to 0.61.1 (2022-01-17) release notes: - https://mesonbuild.com/Release-notes-for-0-61-0.html - https://github.com/mesonbuild/meson/compare/0.61.0...0.61.1
This commit is contained in:
parent
62b42dbafa
commit
8d120a78db
@ -2,8 +2,8 @@
|
|||||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
PKG_NAME="meson"
|
PKG_NAME="meson"
|
||||||
PKG_VERSION="0.60.3"
|
PKG_VERSION="0.61.1"
|
||||||
PKG_SHA256="87ca5fa9358a01864529392bd64e027158eb94afca7c7766b1866ef27eccb98e"
|
PKG_SHA256="feb2cefb325b437dbf36146df7c6b87688ddff0b0205caa31dc64055c6da410c"
|
||||||
PKG_LICENSE="Apache"
|
PKG_LICENSE="Apache"
|
||||||
PKG_SITE="http://mesonbuild.com"
|
PKG_SITE="http://mesonbuild.com"
|
||||||
PKG_URL="https://github.com/mesonbuild/meson/releases/download/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
PKG_URL="https://github.com/mesonbuild/meson/releases/download/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||||
|
@ -1,39 +0,0 @@
|
|||||||
[REVERT] [PATCH] i18n: merge_file() deprecate positional arguments
|
|
||||||
|
|
||||||
[REVERT] reenable hard failure
|
|
||||||
|
|
||||||
They always have been ignored but it became an hard error with no
|
|
||||||
deprecation period in 0.60.0. Since it breaks some GNOME projects,
|
|
||||||
deprecate for now and keep it removed for 0.61.0.
|
|
||||||
|
|
||||||
diff --git a/mesonbuild/modules/i18n.py b/mesonbuild/modules/i18n.py
|
|
||||||
index 7c6f0f4dab6..975fbf63b0b 100644
|
|
||||||
--- a/mesonbuild/modules/i18n.py
|
|
||||||
+++ b/mesonbuild/modules/i18n.py
|
|
||||||
@@ -22,7 +22,7 @@
|
|
||||||
from .. import mlog
|
|
||||||
from ..interpreter.type_checking import CT_BUILD_BY_DEFAULT, CT_INPUT_KW, CT_INSTALL_DIR_KW, CT_INSTALL_TAG_KW, CT_OUTPUT_KW, INSTALL_KW, NoneType, in_set_validator
|
|
||||||
from ..interpreterbase import FeatureNew
|
|
||||||
-from ..interpreterbase.decorators import ContainerTypeInfo, KwargInfo, typed_kwargs, typed_pos_args
|
|
||||||
+from ..interpreterbase.decorators import ContainerTypeInfo, KwargInfo, noPosargs, typed_kwargs, typed_pos_args
|
|
||||||
from ..scripts.gettext import read_linguas
|
|
||||||
|
|
||||||
if T.TYPE_CHECKING:
|
|
||||||
@@ -128,6 +128,7 @@
|
|
||||||
return [path.join(src_dir, d) for d in dirs]
|
|
||||||
|
|
||||||
@FeatureNew('i18n.merge_file', '0.37.0')
|
|
||||||
+ @noPosargs
|
|
||||||
@typed_kwargs(
|
|
||||||
'i18n.merge_file',
|
|
||||||
CT_BUILD_BY_DEFAULT,
|
|
||||||
@@ -142,9 +143,6 @@
|
|
||||||
KwargInfo('type', str, default='xml', validator=in_set_validator({'xml', 'desktop'})),
|
|
||||||
)
|
|
||||||
def merge_file(self, state: 'ModuleState', args: T.List['TYPE_var'], kwargs: 'MergeFile') -> ModuleReturnValue:
|
|
||||||
- if args:
|
|
||||||
- mlog.deprecation('i18n.merge_file does not take any positional arguments. '
|
|
||||||
- 'This will become a hard error in the next Meson release.')
|
|
||||||
if not shutil.which('xgettext'):
|
|
||||||
self.nogettext_warning()
|
|
||||||
return ModuleReturnValue(None, [])
|
|
Loading…
x
Reference in New Issue
Block a user