mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
From 015926c80fa3e9704f05cbc1ad17f0a877f8de09 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Sat, 1 Sep 2018 15:39:04 +0200
|
||||
Subject: [PATCH] Revert "tld-parser: use Python 3"
|
||||
|
||||
This reverts commit 4b924e573da307436169d5ef7e04c0ab85b36ef9. The
|
||||
script runs just fine with Python 2.x, there is no reason to enforce
|
||||
using Python 3.x.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
---
|
||||
libsoup/tld-parser.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libsoup/tld-parser.py b/libsoup/tld-parser.py
|
||||
index a743471a..5d9d2ba5 100755
|
||||
--- a/libsoup/tld-parser.py
|
||||
+++ b/libsoup/tld-parser.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python3
|
||||
+#!/usr/bin/env python
|
||||
|
||||
# Generate tld rules
|
||||
# Copyright (C) 2012 Red Hat, Inc.
|
||||
--
|
||||
2.14.4
|
||||
|
||||
40
package/libsoup/0001-meson.build-set-c_std-to-gnu99.patch
Normal file
40
package/libsoup/0001-meson.build-set-c_std-to-gnu99.patch
Normal file
@@ -0,0 +1,40 @@
|
||||
From 5c3d431bdb094c59997f2a23e31e83f815ab667c Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Thu, 1 Jul 2021 22:09:23 +0200
|
||||
Subject: [PATCH] meson.build: set c_std to gnu99
|
||||
|
||||
Set c_std to gnu99 to avoid the following build failure with gcc 4.8:
|
||||
|
||||
In file included from /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/resolv.h:65:0,
|
||||
from /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/glib-2.0/gio/gnetworking.h:40,
|
||||
from ../libsoup/soup-address.c:14:
|
||||
/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/arpa/nameser.h:115:2: error: unknown type name 'u_char'
|
||||
const u_char *_msg, *_eom;
|
||||
^
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/56b9cb987e25b99d6fed16c537552f47c3376f21
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status:
|
||||
https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/241]
|
||||
---
|
||||
meson.build | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 4dfd8c15..a5ebc63a 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -2,6 +2,6 @@ project('libsoup', 'c',
|
||||
version: '2.74.0',
|
||||
meson_version : '>= 0.50',
|
||||
license : 'LGPL2',
|
||||
- default_options : 'c_std=c99')
|
||||
+ default_options : 'c_std=gnu99')
|
||||
|
||||
gnome = import('gnome')
|
||||
|
||||
--
|
||||
2.30.2
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
config BR2_PACKAGE_LIBSOUP
|
||||
bool "libsoup"
|
||||
depends on BR2_USE_WCHAR # glib2 and gnutls
|
||||
depends on BR2_USE_WCHAR # glib2, gnutls and libpsl
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
||||
depends on BR2_USE_MMU # glib2
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_LIBPSL
|
||||
select BR2_PACKAGE_SQLITE
|
||||
help
|
||||
libsoup is an HTTP client/server library. It uses GObject
|
||||
@@ -23,8 +24,8 @@ config BR2_PACKAGE_LIBSOUP_GNOME
|
||||
config BR2_PACKAGE_LIBSOUP_SSL
|
||||
bool "https support"
|
||||
depends on !BR2_STATIC_LIBS # glib-networking, gnutls
|
||||
select BR2_PACKAGE_GLIB_NETWORKING
|
||||
select BR2_PACKAGE_GNUTLS
|
||||
select BR2_PACKAGE_GLIB_NETWORKING # runtime
|
||||
select BR2_PACKAGE_GNUTLS # runtime
|
||||
help
|
||||
Enable HTTPS (SSL) support.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# From https://ftp.gnome.org/pub/GNOME/sources/libsoup/2.62/libsoup-2.62.3.sha256sum
|
||||
sha256 d312ade547495c2093ff8bda61f9b9727a98cfdae339f3263277dd39c0451172 libsoup-2.62.3.tar.xz
|
||||
# From https://ftp.gnome.org/pub/GNOME/sources/libsoup/2.74/libsoup-2.74.0.sha256sum
|
||||
sha256 33b1d4e0d639456c675c227877e94a8078d731233e2d57689c11abcef7d3c48e libsoup-2.74.0.tar.xz
|
||||
# Locally calculated
|
||||
sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING
|
||||
|
||||
@@ -4,35 +4,61 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBSOUP_VERSION_MAJOR = 2.62
|
||||
LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).3
|
||||
LIBSOUP_VERSION_MAJOR = 2.74
|
||||
LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).0
|
||||
LIBSOUP_SOURCE = libsoup-$(LIBSOUP_VERSION).tar.xz
|
||||
LIBSOUP_SITE = http://ftp.gnome.org/pub/gnome/sources/libsoup/$(LIBSOUP_VERSION_MAJOR)
|
||||
LIBSOUP_LICENSE = LGPL-2.0+
|
||||
LIBSOUP_LICENSE_FILES = COPYING
|
||||
LIBSOUP_CPE_ID_VENDOR = gnome
|
||||
LIBSOUP_INSTALL_STAGING = YES
|
||||
LIBSOUP_CONF_ENV = ac_cv_path_GLIB_GENMARSHAL=$(LIBGLIB2_HOST_BINARY)
|
||||
LIBSOUP_CONF_OPTS = --disable-glibtest --enable-vala=no --with-gssapi=no
|
||||
LIBSOUP_DEPENDENCIES = host-pkgconf host-libglib2 \
|
||||
libglib2 libxml2 sqlite host-intltool
|
||||
LIBSOUP_DEPENDENCIES = \
|
||||
host-intltool \
|
||||
host-libglib2 \
|
||||
host-pkgconf \
|
||||
libglib2 \
|
||||
libpsl \
|
||||
libxml2 \
|
||||
sqlite \
|
||||
$(TARGET_NLS_DEPENDENCIES)
|
||||
|
||||
LIBSOUP_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
||||
|
||||
LIBSOUP_CONF_OPTS = \
|
||||
-Dgtk_doc=false \
|
||||
-Dntlm=disabled \
|
||||
-Dsysprof=disabled \
|
||||
-Dtests=false \
|
||||
-Dtls_check=false \
|
||||
-Dvapi=disabled
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BROTLI),y)
|
||||
LIBSOUP_CONF_OPTS += -Dbrotli=enabled
|
||||
LIBSOUP_DEPENDENCIES += brotli
|
||||
else
|
||||
LIBSOUP_CONF_OPTS += -Dbrotli=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
||||
LIBSOUP_CONF_OPTS += --with-introspection
|
||||
LIBSOUP_CONF_OPTS += -Dintrospection=enabled
|
||||
LIBSOUP_DEPENDENCIES += gobject-introspection
|
||||
else
|
||||
LIBSOUP_CONF_OPTS += --without-introspection
|
||||
LIBSOUP_CONF_OPTS += -Dintrospection=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBKRB5),y)
|
||||
LIBSOUP_CONF_OPTS += \
|
||||
-Dgssapi=enabled \
|
||||
-Dkrb5_config=$(STAGING_DIR)/usr/bin/krb5-config
|
||||
LIBSOUP_DEPENDENCIES += libkrb5
|
||||
else
|
||||
LIBSOUP_CONF_OPTS += -Dgssapi=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSOUP_GNOME),y)
|
||||
LIBSOUP_CONF_OPTS += --with-gnome
|
||||
LIBSOUP_CONF_OPTS += -Dgnome=true
|
||||
else
|
||||
LIBSOUP_CONF_OPTS += --without-gnome
|
||||
LIBSOUP_CONF_OPTS += -Dgnome=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSOUP_SSL),y)
|
||||
LIBSOUP_DEPENDENCIES += glib-networking
|
||||
else
|
||||
LIBSOUP_CONF_OPTS += --disable-tls-check
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(meson-package))
|
||||
|
||||
Reference in New Issue
Block a user