summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-08-23 22:20:27 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-25 16:00:11 +0100
commit742c773a93d1b7a5ca9d2f04e15492b170439180 (patch)
treebda61e6b2f1e29d119e74ac5c06f0572343cdbc2 /meta/recipes-support
parenta395840f3a501a7fb3d22f3fe0c076fa5a7057e9 (diff)
downloadpoky-742c773a93d1b7a5ca9d2f04e15492b170439180.tar.gz
libpsl: update 0.21.0 -> 0.21.1.
(From OE-Core rev: f89396ccea48688c1ccc6ed29f3a119052fbcce5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/libpsl/libpsl/0001-Makefile.am-use-PYTHON-when-invoking-psl-make-dafsa.patch50
-rw-r--r--meta/recipes-support/libpsl/libpsl/0001-gtk-doc-do-not-include-tree_index.sgml.patch28
-rw-r--r--meta/recipes-support/libpsl/libpsl_0.21.1.bb (renamed from meta/recipes-support/libpsl/libpsl_0.21.0.bb)7
3 files changed, 2 insertions, 83 deletions
diff --git a/meta/recipes-support/libpsl/libpsl/0001-Makefile.am-use-PYTHON-when-invoking-psl-make-dafsa.patch b/meta/recipes-support/libpsl/libpsl/0001-Makefile.am-use-PYTHON-when-invoking-psl-make-dafsa.patch
deleted file mode 100644
index 6d6ccf4d25..0000000000
--- a/meta/recipes-support/libpsl/libpsl/0001-Makefile.am-use-PYTHON-when-invoking-psl-make-dafsa.patch
+++ /dev/null
@@ -1,50 +0,0 @@
1From a0e6f0ec9dc6dd1db1c03f7f273cc16cb3af5561 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com>
3Date: Thu, 11 Jul 2019 17:47:11 +0100
4Subject: [PATCH] Makefile.am: use PYTHON when invoking psl-make-dafsa
5
6In an environment where only Python 3 is installed, configure.ac finds and sets
7PYTHON=python3 correctly but src/psl-make-dafsa is called directly, so the hashbang of
8`#!/usr/bin/env python` is used which doesn't exist.
9
10Fix this by explicitly running $(PYTHON) when using the tool.
11
12Upstream-Status: Backport [https://github.com/rockdaboot/libpsl/commit/b4fec5d0ddb70fc4f5360eb14f2f5c5e91194333]
13Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
14---
15 src/Makefile.am | 2 +-
16 tests/Makefile.am | 4 ++--
17 2 files changed, 3 insertions(+), 3 deletions(-)
18
19diff --git a/src/Makefile.am b/src/Makefile.am
20index f9c0a3d..a05ea05 100644
21--- a/src/Makefile.am
22+++ b/src/Makefile.am
23@@ -19,7 +19,7 @@ libpsl_la_LDFLAGS = -no-undefined -version-info $(LIBPSL_SO_VERSION)
24 # Build rule for suffix_dafsa.c
25 # PSL_FILE can be set by ./configure --with-psl-file=[PATH]
26 suffixes_dafsa.h: $(PSL_FILE) $(srcdir)/psl-make-dafsa
27- $(srcdir)/psl-make-dafsa --output-format=cxx+ "$(PSL_FILE)" suffixes_dafsa.h
28+ $(PYTHON) $(srcdir)/psl-make-dafsa --output-format=cxx+ "$(PSL_FILE)" suffixes_dafsa.h
29
30 EXTRA_DIST = psl-make-dafsa LICENSE.chromium
31
32diff --git a/tests/Makefile.am b/tests/Makefile.am
33index 8b29b61..28a9a0b 100644
34--- a/tests/Makefile.am
35+++ b/tests/Makefile.am
36@@ -34,9 +34,9 @@ TESTS = $(PSL_TESTS)
37 # check-local target works in parallel to the tests, so the test suite will likely fail
38 BUILT_SOURCES = psl.dafsa psl_ascii.dafsa
39 psl.dafsa: $(top_srcdir)/list/public_suffix_list.dat
40- $(top_srcdir)/src/psl-make-dafsa --output-format=binary "$(PSL_FILE)" psl.dafsa
41+ $(PYTHON) $(top_srcdir)/src/psl-make-dafsa --output-format=binary "$(PSL_FILE)" psl.dafsa
42 psl_ascii.dafsa: $(top_srcdir)/list/public_suffix_list.dat
43- $(top_srcdir)/src/psl-make-dafsa --output-format=binary --encoding=ascii "$(PSL_FILE)" psl_ascii.dafsa
44+ $(PYTHON) $(top_srcdir)/src/psl-make-dafsa --output-format=binary --encoding=ascii "$(PSL_FILE)" psl_ascii.dafsa
45
46 clean-local:
47 rm -f psl.dafsa psl_ascii.dafsa
48--
492.17.1
50
diff --git a/meta/recipes-support/libpsl/libpsl/0001-gtk-doc-do-not-include-tree_index.sgml.patch b/meta/recipes-support/libpsl/libpsl/0001-gtk-doc-do-not-include-tree_index.sgml.patch
deleted file mode 100644
index c78d6fd981..0000000000
--- a/meta/recipes-support/libpsl/libpsl/0001-gtk-doc-do-not-include-tree_index.sgml.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 8691105e1808ec9b031b6c25f70204a0908ae9c1 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Sat, 1 Jun 2019 13:09:41 +0200
4Subject: [PATCH] gtk-doc: do not include tree_index.sgml
5
6gtk-doc 1.30 no longer generates the file if the object tree is empty
7
8Upstream-Status: Backport [87d1add318b5e5d09977f7f374e923577b6ff3be]
9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10---
11 docs/libpsl/libpsl-docs.sgml | 4 ----
12 1 file changed, 4 deletions(-)
13
14diff --git a/docs/libpsl/libpsl-docs.sgml b/docs/libpsl/libpsl-docs.sgml
15index 1eca9a2..1c38dbc 100644
16--- a/docs/libpsl/libpsl-docs.sgml
17+++ b/docs/libpsl/libpsl-docs.sgml
18@@ -22,10 +22,6 @@
19 </para>
20 <xi:include href="xml/libpsl.xml"/>
21 </chapter>
22- <chapter id="object-tree">
23- <title>Object Hierarchy</title>
24- <xi:include href="xml/tree_index.sgml"/>
25- </chapter>
26 <index id="api-index-full">
27 <title>API Index</title>
28 <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
diff --git a/meta/recipes-support/libpsl/libpsl_0.21.0.bb b/meta/recipes-support/libpsl/libpsl_0.21.1.bb
index 9831b4b94f..0a48db65c3 100644
--- a/meta/recipes-support/libpsl/libpsl_0.21.0.bb
+++ b/meta/recipes-support/libpsl/libpsl_0.21.1.bb
@@ -4,12 +4,9 @@ LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=5437030d9e4fbe7267ced058ddb8a7f5 \ 4LIC_FILES_CHKSUM = "file://LICENSE;md5=5437030d9e4fbe7267ced058ddb8a7f5 \
5 file://COPYING;md5=f41d10997a12da5ee3c24ceeb0148d18" 5 file://COPYING;md5=f41d10997a12da5ee3c24ceeb0148d18"
6 6
7SRC_URI = "https://github.com/rockdaboot/${BPN}/releases/download/${BP}/${BP}.tar.gz \ 7SRC_URI = "https://github.com/rockdaboot/${BPN}/releases/download/${PV}/${BP}.tar.gz \
8 file://0001-gtk-doc-do-not-include-tree_index.sgml.patch \
9 file://0001-Makefile.am-use-PYTHON-when-invoking-psl-make-dafsa.patch \
10 " 8 "
11SRC_URI[md5sum] = "171e96d887709e36a57f4ee627bf82d2" 9SRC_URI[sha256sum] = "ac6ce1e1fbd4d0254c4ddb9d37f1fa99dec83619c1253328155206b896210d4c"
12SRC_URI[sha256sum] = "41bd1c75a375b85c337b59783f5deb93dbb443fb0a52d257f403df7bd653ee12"
13 10
14UPSTREAM_CHECK_URI = "https://github.com/rockdaboot/libpsl/releases" 11UPSTREAM_CHECK_URI = "https://github.com/rockdaboot/libpsl/releases"
15 12