-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TIDAL HiRes readiness (not enabled yet) (#44)
Updated Python, Mopidy, Mopidy-Tidal, Mopidy-Iris, TidalAPI
- Loading branch information
Showing
59 changed files
with
1,768 additions
and
2,047 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv) | ||
|
||
PKG_NAME="asn1c" | ||
PKG_VERSION="0.9.28" | ||
PKG_SHA256="8007440b647ef2dd9fb73d931c33ac11764e6afb2437dbe638bb4e5fc82386b9" | ||
PKG_LICENSE="BSD" | ||
PKG_SITE="http://lionet.info/asn1c/blog/" | ||
PKG_URL="https://github.com/vlm/asn1c/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz" | ||
PKG_DEPENDS_HOST="ccache:host" | ||
PKG_LONGDESC="The ASN.1 Compiler" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 0 additions & 52 deletions
52
packages/devel/heimdal/patches/0001-upstream-check-libtinfo-for-tgetent.patch
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
packages/devel/heimdal/patches/0002-upstream-fix-configure-err-msg.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
packages/lang/Python3/patches/0001-Make-the-build-of-pyc-files-conditional.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
From 51ed7f93cc0333efa8fccd9b88db713c48993df9 Mon Sep 17 00:00:00 2001 | ||
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | ||
Date: Wed, 22 Feb 2017 16:21:31 -0800 | ||
Subject: [PATCH] Make the build of pyc files conditional | ||
|
||
This commit adds a new configure option --disable-pyc-build to disable | ||
the compilation of pyc. | ||
|
||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | ||
[ Andrey Smrinov: ported to Python 3.6 ] | ||
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> | ||
--- | ||
Makefile.pre.in | 2 ++ | ||
configure.ac | 6 ++++++ | ||
2 files changed, 8 insertions(+) | ||
|
||
diff --git a/Makefile.pre.in b/Makefile.pre.in | ||
index 8fbcd7ac17..2957c8e5a1 100644 | ||
--- a/Makefile.pre.in | ||
+++ b/Makefile.pre.in | ||
@@ -2078,6 +2078,7 @@ libinstall: all $(srcdir)/Modules/xxmodule.c | ||
$(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \ | ||
$(DESTDIR)$(LIBDEST)/distutils/tests ; \ | ||
fi | ||
+ifeq (@PYC_BUILD@,yes) | ||
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | ||
$(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
-j0 -d $(LIBDEST) -f \ | ||
@@ -2105,6 +2106,7 @@ libinstall: all $(srcdir)/Modules/xxmodule.c | ||
$(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
-j0 -d $(LIBDEST)/site-packages -f \ | ||
-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages | ||
+endif | ||
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | ||
$(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt | ||
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | ||
diff --git a/configure.ac b/configure.ac | ||
index ab5e1de6fa..0cf89ed641 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -1441,6 +1441,12 @@ fi | ||
|
||
AC_MSG_CHECKING(LDLIBRARY) | ||
|
||
+AC_SUBST(PYC_BUILD) | ||
+ | ||
+AC_ARG_ENABLE(pyc-build, | ||
+ AS_HELP_STRING([--disable-pyc-build], [disable build of pyc files]), | ||
+ [ PYC_BUILD="${enableval}" ], [ PYC_BUILD=yes ]) | ||
+ | ||
# MacOSX framework builds need more magic. LDLIBRARY is the dynamic | ||
# library that we build, but we do not want to link against it (we | ||
# will find it with a -framework option). For this reason there is an | ||
-- | ||
2.34.1 | ||
|
27 changes: 27 additions & 0 deletions
27
...ages/lang/Python3/patches/0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From b180ab302e2a82be239af334382436628b81381e Mon Sep 17 00:00:00 2001 | ||
From: Vanya Sergeev <vsergeev@gmail.com> | ||
Date: Wed, 23 Dec 2015 11:30:33 +0100 | ||
Subject: [PATCH] Disable buggy_getaddrinfo configure test when cross-compiling | ||
with IPv6 support | ||
|
||
Signed-off-by: Vanya Sergeev <vsergeev@gmail.com> | ||
--- | ||
configure.ac | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/configure.ac b/configure.ac | ||
index 0cf89ed641..830885fcb3 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -5086,7 +5086,7 @@ fi])) | ||
dnl if ac_cv_func_getaddrinfo | ||
]) | ||
|
||
-if test "$ac_cv_func_getaddrinfo" = no -o "$ac_cv_buggy_getaddrinfo" = yes | ||
+if test "$ac_cv_func_getaddrinfo" = no || test "$cross_compiling" != "yes" -a "$ac_cv_buggy_getaddrinfo" = yes | ||
then | ||
AS_VAR_IF([ipv6], [yes], [ | ||
AC_MSG_ERROR([m4_normalize([ | ||
-- | ||
2.34.1 | ||
|
108 changes: 108 additions & 0 deletions
108
...ages/lang/Python3/patches/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
From 8e02cebdac536dfb6748da2c50656a26f70d9da7 Mon Sep 17 00:00:00 2001 | ||
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | ||
Date: Wed, 22 Feb 2017 16:33:22 -0800 | ||
Subject: [PATCH] Add infrastructure to disable the build of certain extensions | ||
|
||
Some of the extensions part of the Python core have dependencies on | ||
external libraries (sqlite, tk, etc.) or are relatively big and not | ||
necessarly always useful (CJK codecs for example). By extensions, we | ||
mean part of Python modules that are written in C and therefore | ||
compiled to binary code. | ||
|
||
Therefore, we introduce a small infrastructure that allows to disable | ||
some of those extensions. This can be done inside the configure.ac by | ||
adding values to the DISABLED_EXTENSIONS variable (which is a | ||
word-separated list of extensions). | ||
|
||
The implementation works as follow : | ||
|
||
* configure.ac defines a DISABLED_EXTENSIONS variable, which is | ||
substituted (so that when Makefile.pre is generated from | ||
Makefile.pre.in, the value of the variable is substituted). For | ||
now, this DISABLED_EXTENSIONS variable is empty, later patches will | ||
use it. | ||
|
||
* Makefile.pre.in passes the DISABLED_EXTENSIONS value down to the | ||
variables passed in the environment when calling the setup.py | ||
script that actually builds and installs those extensions. | ||
|
||
* setup.py is modified so that the existing "disabled_module_list" is | ||
filled with those pre-disabled extensions listed in | ||
DISABLED_EXTENSIONS. | ||
|
||
Patch ported to python2.7 by Maxime Ripard <ripard@archos.com>, and | ||
then extended by Thomas Petazzoni | ||
<thomas.petazzoni@free-electrons.com>. | ||
|
||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | ||
[ Andrey Smirnov: ported to Python 3.6 ] | ||
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> | ||
--- | ||
Makefile.pre.in | 6 +++++- | ||
configure.ac | 2 ++ | ||
setup.py | 5 ++++- | ||
3 files changed, 11 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/Makefile.pre.in b/Makefile.pre.in | ||
index 2957c8e5a1..c1cfb96767 100644 | ||
--- a/Makefile.pre.in | ||
+++ b/Makefile.pre.in | ||
@@ -239,6 +239,8 @@ FILEMODE= 644 | ||
# configure script arguments | ||
CONFIG_ARGS= @CONFIG_ARGS@ | ||
|
||
+# disabled extensions | ||
+DISABLED_EXTENSIONS= @DISABLED_EXTENSIONS@ | ||
|
||
# Subdirectories with code | ||
SRCDIRS= @SRCDIRS@ | ||
@@ -739,6 +741,7 @@ sharedmods: $(PYTHON_FOR_BUILD_DEPS) pybuilddir.txt @LIBMPDEC_INTERNAL@ @LIBEXPA | ||
*) quiet="";; \ | ||
esac; \ | ||
echo "$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \ | ||
+ DISABLED_EXTENSIONS="$(DISABLED_EXTENSIONS)" \ | ||
$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build"; \ | ||
$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \ | ||
$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build | ||
@@ -2228,7 +2231,8 @@ libainstall: all python-config | ||
# Install the dynamically loadable modules | ||
# This goes into $(exec_prefix) | ||
sharedinstall: all | ||
- $(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/setup.py install \ | ||
+ $(RUNSHARED) DISABLED_EXTENSIONS="$(DISABLED_EXTENSIONS)" \ | ||
+ $(PYTHON_FOR_BUILD) $(srcdir)/setup.py install \ | ||
--prefix=$(prefix) \ | ||
--install-scripts=$(BINDIR) \ | ||
--install-platlib=$(DESTSHARED) \ | ||
diff --git a/configure.ac b/configure.ac | ||
index 830885fcb3..5a6a1fe608 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -3562,6 +3562,8 @@ LIBS="$withval $LIBS" | ||
], | ||
[AC_MSG_RESULT(no)]) | ||
|
||
+AC_SUBST(DISABLED_EXTENSIONS) | ||
+ | ||
# Check for use of the system expat library | ||
AC_MSG_CHECKING(for --with-system-expat) | ||
AC_ARG_WITH(system_expat, | ||
diff --git a/setup.py b/setup.py | ||
index 15d0d4576a..e496ee34c2 100644 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -56,7 +56,10 @@ | ||
|
||
|
||
# This global variable is used to hold the list of modules to be disabled. | ||
-DISABLED_MODULE_LIST = [] | ||
+try: | ||
+ DISABLED_MODULE_LIST = sysconfig.get_config_var("DISABLED_EXTENSIONS").split(" ") | ||
+except KeyError: | ||
+ DISABLED_MODULE_LIST = list() | ||
|
||
# --list-module-names option used by Tools/scripts/generate_module_names.py | ||
LIST_MODULE_NAMES = False | ||
-- | ||
2.34.1 | ||
|
Oops, something went wrong.