All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements
@ 2020-02-23 18:29 Adrian Bunk
  2020-02-23 18:29 ` [PATCH v2 2/6] webkitgtk: Remove unused DEPENDS on pulseaudio Adrian Bunk
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Adrian Bunk @ 2020-02-23 18:29 UTC (permalink / raw)
  To: openembedded-core

opengl is optional.
x11 can be replaced with wayland.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
 meta/recipes-sato/webkit/webkitgtk_2.26.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
index a48a976f94..51fba94964 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
@@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "4386900713dfadf9741177210b32623cab22562a79ffd0d446b6656993
 
 inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gtk-doc
 
-REQUIRED_DISTRO_FEATURES = "x11 opengl"
+ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
 CVE_PRODUCT = "webkitgtk webkitgtk\+"
 
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH v2 2/6] webkitgtk: Remove unused DEPENDS on pulseaudio
  2020-02-23 18:29 [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements Adrian Bunk
@ 2020-02-23 18:29 ` Adrian Bunk
  2020-02-23 18:29 ` [PATCH v2 3/6] webkitgtk: Remove obsolete gtk2 packageconfig Adrian Bunk
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 16+ messages in thread
From: Adrian Bunk @ 2020-02-23 18:29 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
 meta/recipes-sato/webkit/webkitgtk_2.26.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
index 51fba94964..80ed427352 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
@@ -33,7 +33,7 @@ CVE_PRODUCT = "webkitgtk webkitgtk\+"
 DEPENDS = "zlib libsoup-2.4 curl libxml2 cairo libxslt libxt libidn libgcrypt \
            gtk+3 gstreamer1.0 gstreamer1.0-plugins-base flex-native gperf-native sqlite3 \
 	   pango icu bison-native gawk intltool-native libwebp \
-	   atk udev harfbuzz jpeg libpng pulseaudio librsvg libtheora libvorbis libxcomposite libxtst \
+	   atk udev harfbuzz jpeg libpng librsvg libtheora libvorbis libxcomposite libxtst \
 	   ruby-native libnotify gstreamer1.0-plugins-bad \
 	   gettext-native glib-2.0 glib-2.0-native libtasn1 \
           "
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH v2 3/6] webkitgtk: Remove obsolete gtk2 packageconfig
  2020-02-23 18:29 [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements Adrian Bunk
  2020-02-23 18:29 ` [PATCH v2 2/6] webkitgtk: Remove unused DEPENDS on pulseaudio Adrian Bunk
@ 2020-02-23 18:29 ` Adrian Bunk
  2020-02-23 18:29 ` [PATCH v2 4/6] webkitgtk: Remove the unused DEPENDS on libidn Adrian Bunk
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 16+ messages in thread
From: Adrian Bunk @ 2020-02-23 18:29 UTC (permalink / raw)
  To: openembedded-core

Upstream no longer supports GTK2 plugins.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
 meta/recipes-sato/webkit/webkitgtk_2.26.4.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
index 80ed427352..a9c00862c3 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
@@ -48,7 +48,6 @@ PACKAGECONFIG[wayland] = "-DENABLE_WAYLAND_TARGET=ON,-DENABLE_WAYLAND_TARGET=OFF
 PACKAGECONFIG[x11] = "-DENABLE_X11_TARGET=ON,-DENABLE_X11_TARGET=OFF,virtual/libx11"
 PACKAGECONFIG[geoclue] = "-DENABLE_GEOLOCATION=ON,-DENABLE_GEOLOCATION=OFF,geoclue"
 PACKAGECONFIG[enchant] = "-DENABLE_SPELLCHECK=ON,-DENABLE_SPELLCHECK=OFF,enchant2"
-PACKAGECONFIG[gtk2] = "-DENABLE_PLUGIN_PROCESS_GTK2=ON,-DENABLE_PLUGIN_PROCESS_GTK2=OFF,gtk+"
 PACKAGECONFIG[gles2] = "-DENABLE_GLES2=ON,-DENABLE_GLES2=OFF,virtual/libgles2"
 PACKAGECONFIG[webgl] = "-DENABLE_WEBGL=ON,-DENABLE_WEBGL=OFF,virtual/libgl"
 PACKAGECONFIG[opengl] = "-DENABLE_OPENGL=ON,-DENABLE_OPENGL=OFF,virtual/libgl"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH v2 4/6] webkitgtk: Remove the unused DEPENDS on libidn
  2020-02-23 18:29 [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements Adrian Bunk
  2020-02-23 18:29 ` [PATCH v2 2/6] webkitgtk: Remove unused DEPENDS on pulseaudio Adrian Bunk
  2020-02-23 18:29 ` [PATCH v2 3/6] webkitgtk: Remove obsolete gtk2 packageconfig Adrian Bunk
@ 2020-02-23 18:29 ` Adrian Bunk
  2020-02-23 18:29 ` [PATCH v2 5/6] systemd: Add a PACKAGECONFIG for libidn2 Adrian Bunk
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 16+ messages in thread
From: Adrian Bunk @ 2020-02-23 18:29 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
 meta/recipes-sato/webkit/webkitgtk_2.26.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
index a9c00862c3..7b3d16d8cb 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
@@ -30,7 +30,7 @@ ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
 CVE_PRODUCT = "webkitgtk webkitgtk\+"
 
-DEPENDS = "zlib libsoup-2.4 curl libxml2 cairo libxslt libxt libidn libgcrypt \
+DEPENDS = "zlib libsoup-2.4 curl libxml2 cairo libxslt libxt libgcrypt \
            gtk+3 gstreamer1.0 gstreamer1.0-plugins-base flex-native gperf-native sqlite3 \
 	   pango icu bison-native gawk intltool-native libwebp \
 	   atk udev harfbuzz jpeg libpng librsvg libtheora libvorbis libxcomposite libxtst \
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH v2 5/6] systemd: Add a PACKAGECONFIG for libidn2
  2020-02-23 18:29 [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements Adrian Bunk
                   ` (2 preceding siblings ...)
  2020-02-23 18:29 ` [PATCH v2 4/6] webkitgtk: Remove the unused DEPENDS on libidn Adrian Bunk
@ 2020-02-23 18:29 ` Adrian Bunk
  2020-02-23 18:29 ` [PATCH v2 6/6] libidn: Move to meta-oe Adrian Bunk
  2020-02-24  9:17 ` [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements Richard Purdie
  5 siblings, 0 replies; 16+ messages in thread
From: Adrian Bunk @ 2020-02-23 18:29 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
 meta/recipes-core/systemd/systemd_244.3.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/systemd/systemd_244.3.bb b/meta/recipes-core/systemd/systemd_244.3.bb
index b686519482..5d863410b8 100644
--- a/meta/recipes-core/systemd/systemd_244.3.bb
+++ b/meta/recipes-core/systemd/systemd_244.3.bb
@@ -138,6 +138,7 @@ PACKAGECONFIG[journal-upload] = "-Dlibcurl=true,-Dlibcurl=false,curl"
 PACKAGECONFIG[kmod] = "-Dkmod=true,-Dkmod=false,kmod"
 PACKAGECONFIG[ldconfig] = "-Dldconfig=true,-Dldconfig=false,,ldconfig"
 PACKAGECONFIG[libidn] = "-Dlibidn=true,-Dlibidn=false,libidn"
+PACKAGECONFIG[libidn2] = "-Dlibidn2=true,-Dlibidn2=false,libidn2"
 PACKAGECONFIG[localed] = "-Dlocaled=true,-Dlocaled=false"
 PACKAGECONFIG[logind] = "-Dlogind=true,-Dlogind=false"
 PACKAGECONFIG[lz4] = "-Dlz4=true,-Dlz4=false,lz4"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH v2 6/6] libidn: Move to meta-oe
  2020-02-23 18:29 [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements Adrian Bunk
                   ` (3 preceding siblings ...)
  2020-02-23 18:29 ` [PATCH v2 5/6] systemd: Add a PACKAGECONFIG for libidn2 Adrian Bunk
@ 2020-02-23 18:29 ` Adrian Bunk
  2020-02-24  9:17 ` [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements Richard Purdie
  5 siblings, 0 replies; 16+ messages in thread
From: Adrian Bunk @ 2020-02-23 18:29 UTC (permalink / raw)
  To: openembedded-core

There are no users left in OE-core.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
 meta/conf/distro/include/maintainers.inc      |   1 -
 .../0001-idn-format-security-warnings.patch   | 181 ------------------
 ...R_P_warning_error_with_automake_1.12.patch |  34 ----
 .../libidn/dont-depend-on-help2man.patch      |  23 ---
 .../libidn/libidn_fix_for_automake-1.12.patch |  35 ----
 meta/recipes-extended/libidn/libidn_1.35.bb   |  42 ----
 6 files changed, 316 deletions(-)
 delete mode 100644 meta/recipes-extended/libidn/libidn/0001-idn-format-security-warnings.patch
 delete mode 100644 meta/recipes-extended/libidn/libidn/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch
 delete mode 100644 meta/recipes-extended/libidn/libidn/dont-depend-on-help2man.patch
 delete mode 100644 meta/recipes-extended/libidn/libidn/libidn_fix_for_automake-1.12.patch
 delete mode 100644 meta/recipes-extended/libidn/libidn_1.35.bb

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 5f1dae9a34..8f612ace39 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -340,7 +340,6 @@ RECIPE_MAINTAINER_pn-libgudev = "Ross Burton <ross.burton@intel.com>"
 RECIPE_MAINTAINER_pn-libical = "Ross Burton <ross.burton@intel.com>"
 RECIPE_MAINTAINER_pn-libice = "Armin Kuster <akuster808@gmail.com>"
 RECIPE_MAINTAINER_pn-libid3tag = "Tanu Kaskinen <tanuk@iki.fi>"
-RECIPE_MAINTAINER_pn-libidn = "Alexander Kanavin <alex.kanavin@gmail.com>"
 RECIPE_MAINTAINER_pn-libidn2 = "Ross Burton <ross.burton@intel.com>"
 RECIPE_MAINTAINER_pn-libinput = "Ross Burton <ross.burton@intel.com>"
 RECIPE_MAINTAINER_pn-libjitterentropy = "Ross Burton <ross.burton@intel.com>"
diff --git a/meta/recipes-extended/libidn/libidn/0001-idn-format-security-warnings.patch b/meta/recipes-extended/libidn/libidn/0001-idn-format-security-warnings.patch
deleted file mode 100644
index 5adc7d9fd9..0000000000
--- a/meta/recipes-extended/libidn/libidn/0001-idn-format-security-warnings.patch
+++ /dev/null
@@ -1,181 +0,0 @@
-From 82f98dcbc429bbe89a9837c533cbcbc02e77c790 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <adraszik@tycoint.com>
-Date: Tue, 28 Jun 2016 12:43:31 +0100
-Subject: [PATCH] idn: fix printf() format security warnings
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-| ../../libidn-1.32/src/idn.c: In function 'main':
-| ../../libidn-1.32/src/idn.c:172:7: error: format not a string literal and no format arguments [-Werror=format-security]
-|        error (0, 0, _("only one of -s, -e, -d, -a, -u or -n can be specified"));
-|        ^~~~~
-| ../../libidn-1.32/src/idn.c:187:5: error: format not a string literal and no format arguments [-Werror=format-security]
-|      fprintf (stderr, _("Type each input string on a line by itself, "
-|      ^~~~~~~
-| ../../libidn-1.32/src/idn.c:202:4: error: format not a string literal and no format arguments [-Werror=format-security]
-|     error (EXIT_FAILURE, errno, _("input error"));
-|     ^~~~~
-| ../../libidn-1.32/src/idn.c:220:8: error: format not a string literal and no format arguments [-Werror=format-security]
-|         _("could not convert from UTF-8 to UCS-4"));
-|         ^
-| ../../libidn-1.32/src/idn.c:245:8: error: format not a string literal and no format arguments [-Werror=format-security]
-|         _("could not convert from UTF-8 to UCS-4"));
-|         ^
-| ../../libidn-1.32/src/idn.c:281:6: error: format not a string literal and no format arguments [-Werror=format-security]
-|       _("could not convert from UTF-8 to UCS-4"));
-|       ^
-| ../../libidn-1.32/src/idn.c:340:6: error: format not a string literal and no format arguments [-Werror=format-security]
-|       _("could not convert from UCS-4 to UTF-8"));
-|       ^
-| ../../libidn-1.32/src/idn.c:364:6: error: format not a string literal and no format arguments [-Werror=format-security]
-|       _("could not convert from UCS-4 to UTF-8"));
-|       ^
-| ../../libidn-1.32/src/idn.c:442:8: error: format not a string literal and no format arguments [-Werror=format-security]
-|         _("could not convert from UCS-4 to UTF-8"));
-|         ^
-| ../../libidn-1.32/src/idn.c:498:6: error: format not a string literal and no format arguments [-Werror=format-security]
-|       _("could not convert from UTF-8 to UCS-4"));
-|       ^
-| ../../libidn-1.32/src/idn.c:527:5: error: format not a string literal and no format arguments [-Werror=format-security]
-|      _("could not convert from UTF-8 to UCS-4"));
-|      ^
-| ../../libidn-1.32/src/idn.c:540:6: error: format not a string literal and no format arguments [-Werror=format-security]
-|       error (EXIT_FAILURE, 0, _("could not do NFKC normalization"));
-|       ^~~~~
-| ../../libidn-1.32/src/idn.c:551:5: error: format not a string literal and no format arguments [-Werror=format-security]
-|      _("could not convert from UTF-8 to UCS-4"));
-|      ^
-
-Signed-off-by: André Draszik <adraszik@tycoint.com>
----
-Upstream-Status: Pending
-
- src/idn.c | 27 ++++++++++++++-------------
- 1 file changed, 14 insertions(+), 13 deletions(-)
-
-diff --git a/src/idn.c b/src/idn.c
-index be1c7d1..68e4291 100644
---- a/src/idn.c
-+++ b/src/idn.c
-@@ -170,7 +170,7 @@ main (int argc, char *argv[])
-       (args_info.idna_to_unicode_given ? 1 : 0) +
-       (args_info.nfkc_given ? 1 : 0) != 1)
-     {
--      error (0, 0, _("only one of -s, -e, -d, -a, -u or -n can be specified"));
-+      error (0, 0, "%s", _("only one of -s, -e, -d, -a, -u or -n can be specified"));
-       usage (EXIT_FAILURE);
-     }
- 
-@@ -185,7 +185,7 @@ main (int argc, char *argv[])
-   if (!args_info.quiet_given
-       && args_info.inputs_num == 0
-       && isatty (fileno (stdin)))
--    fprintf (stderr, _("Type each input string on a line by itself, "
-+    fprintf (stderr, "%s", _("Type each input string on a line by itself, "
- 		       "terminated by a newline character.\n"));
- 
-   do
-@@ -197,7 +197,7 @@ main (int argc, char *argv[])
- 	  if (feof (stdin))
- 	    break;
- 
--	  error (EXIT_FAILURE, errno, _("input error"));
-+	  error (EXIT_FAILURE, errno, "%s", _("input error"));
- 	}
- 
-       if (strlen (line) > 0)
-@@ -215,7 +215,7 @@ main (int argc, char *argv[])
- 	  if (!q)
- 	    {
- 	      free (p);
--	      error (EXIT_FAILURE, 0,
-+	      error (EXIT_FAILURE, 0, "%s",
- 		     _("could not convert from UTF-8 to UCS-4"));
- 	    }
- 
-@@ -240,7 +240,7 @@ main (int argc, char *argv[])
- 	  if (!q)
- 	    {
- 	      free (r);
--	      error (EXIT_FAILURE, 0,
-+	      error (EXIT_FAILURE, 0, "%s",
- 		     _("could not convert from UTF-8 to UCS-4"));
- 	    }
- 
-@@ -277,7 +277,7 @@ main (int argc, char *argv[])
- 	  q = stringprep_utf8_to_ucs4 (p, -1, &len);
- 	  free (p);
- 	  if (!q)
--	    error (EXIT_FAILURE, 0,
-+	    error (EXIT_FAILURE, 0, "%s",
- 		   _("could not convert from UTF-8 to UCS-4"));
- 
- 	  if (args_info.debug_given)
-@@ -336,7 +336,7 @@ main (int argc, char *argv[])
- 	  r = stringprep_ucs4_to_utf8 (q, -1, NULL, NULL);
- 	  free (q);
- 	  if (!r)
--	    error (EXIT_FAILURE, 0,
-+	    error (EXIT_FAILURE, 0, "%s",
- 		   _("could not convert from UCS-4 to UTF-8"));
- 
- 	  p = stringprep_utf8_to_locale (r);
-@@ -360,7 +360,7 @@ main (int argc, char *argv[])
- 	  q = stringprep_utf8_to_ucs4 (p, -1, NULL);
- 	  free (p);
- 	  if (!q)
--	    error (EXIT_FAILURE, 0,
-+	    error (EXIT_FAILURE, 0, "%s",
- 		   _("could not convert from UCS-4 to UTF-8"));
- 
- 	  if (args_info.debug_given)
-@@ -438,7 +438,7 @@ main (int argc, char *argv[])
- 	  if (!q)
- 	    {
- 	      free (p);
--	      error (EXIT_FAILURE, 0,
-+	      error (EXIT_FAILURE, 0, "%s",
- 		     _("could not convert from UCS-4 to UTF-8"));
- 	    }
- 
-@@ -494,7 +494,7 @@ main (int argc, char *argv[])
- 	  r = stringprep_ucs4_to_utf8 (q, -1, NULL, NULL);
- 	  free (q);
- 	  if (!r)
--	    error (EXIT_FAILURE, 0,
-+	    error (EXIT_FAILURE, 0, "%s",
- 		   _("could not convert from UTF-8 to UCS-4"));
- 
- 	  p = stringprep_utf8_to_locale (r);
-@@ -523,7 +523,7 @@ main (int argc, char *argv[])
- 	      if (!q)
- 		{
- 		  free (p);
--		  error (EXIT_FAILURE, 0,
-+		  error (EXIT_FAILURE, 0, "%s",
- 			 _("could not convert from UTF-8 to UCS-4"));
- 		}
- 
-@@ -537,7 +537,8 @@ main (int argc, char *argv[])
- 	  r = stringprep_utf8_nfkc_normalize (p, -1);
- 	  free (p);
- 	  if (!r)
--	    error (EXIT_FAILURE, 0, _("could not do NFKC normalization"));
-+	    error (EXIT_FAILURE, 0, "%s",
-+		   _("could not do NFKC normalization"));
- 
- 	  if (args_info.debug_given)
- 	    {
-@@ -547,7 +548,7 @@ main (int argc, char *argv[])
- 	      if (!q)
- 		{
- 		  free (r);
--		  error (EXIT_FAILURE, 0,
-+		  error (EXIT_FAILURE, 0, "%s",
- 			 _("could not convert from UTF-8 to UCS-4"));
- 		}
- 
--- 
-2.8.1
-
diff --git a/meta/recipes-extended/libidn/libidn/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch b/meta/recipes-extended/libidn/libidn/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch
deleted file mode 100644
index 43bd232944..0000000000
--- a/meta/recipes-extended/libidn/libidn/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From cdd9e2e960eeb4eda7b08f0113d0cd03524c1d45 Mon Sep 17 00:00:00 2001
-From: Nitin A Kamble <nitin.a.kamble@intel.com>
-Date: Tue, 10 Jul 2012 02:44:30 -0700
-Subject: [PATCH] libidn: fix build with automake 1.12
-
-Upstream-Status: Inappropriate
-
-automake 1.12.x has deprecated AM_PROG_MKDIR_P , and throws a warning for that,
-and the warnings are treated as errors because of the -Werror parameter.
-
-These AM_PROG_MKDIR_P are coming from gettext, and the latest gettext code has not
-eliminated these deprecated macros yet. So disable the treatment of warnings
-as errors until gettext is updated to remove the deprecated macros.
-
-Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
-2012/07/10
-
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 261dad2..c4f935e 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -22,7 +22,7 @@ AC_INIT([GNU Libidn], [1.34], [bug-libidn@gnu.org])
- AC_CONFIG_AUX_DIR([build-aux])
- AC_CONFIG_MACRO_DIR([m4])
- AC_CONFIG_HEADERS(config.h)
--AM_INIT_AUTOMAKE([1.10 -Wall -Werror -Wno-override])
-+AM_INIT_AUTOMAKE([1.10 -Wall -Wno-override])
- m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
- 
- # Library code modified:                              REVISION++
diff --git a/meta/recipes-extended/libidn/libidn/dont-depend-on-help2man.patch b/meta/recipes-extended/libidn/libidn/dont-depend-on-help2man.patch
deleted file mode 100644
index 0863530f29..0000000000
--- a/meta/recipes-extended/libidn/libidn/dont-depend-on-help2man.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Upstream-Status: Inappropriate [disable feature]
-
-Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
-diff -Nurdd libidn-1.26/doc/Makefile.am libidn-1.26/doc/Makefile.am
---- libidn-1.26/doc/Makefile.am	2012-09-18 11:25:45.000000000 +0300
-+++ libidn-1.26/doc/Makefile.am	2013-02-08 07:41:24.591431462 +0200
-@@ -49,15 +49,9 @@
-
- # Man pages.
-
--dist_man_MANS = idn.1 $(gdoc_MANS)
-+dist_man_MANS = $(gdoc_MANS)
- MAINTAINERCLEANFILES = $(dist_man_MANS)
-
--idn.1: $(top_srcdir)/src/idn.c $(top_srcdir)/src/idn.ggo \
--		$(top_srcdir)/configure.ac
--	$(HELP2MAN) \
--		--name="Internationalized Domain Names command line tool" \
--		--output=$@ $(top_builddir)/src/idn$(EXEEXT)
--
- # GDOC
-
- GDOC_BIN = $(srcdir)/gdoc
diff --git a/meta/recipes-extended/libidn/libidn/libidn_fix_for_automake-1.12.patch b/meta/recipes-extended/libidn/libidn/libidn_fix_for_automake-1.12.patch
deleted file mode 100644
index 3c0559e34f..0000000000
--- a/meta/recipes-extended/libidn/libidn/libidn_fix_for_automake-1.12.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From d4f64b78419139eda3c0e1c6ee116bb5f70ea67c Mon Sep 17 00:00:00 2001
-From: Nitin A Kamble <nitin.a.kamble@intel.com>
-Date: Wed, 2 May 2012 18:05:19 -0700
-Subject: [PATCH] libtasn1: fix build with automake 1.12
-
-Upstream-Status: Pending
-
-This patch fixes following issue with automake 1.12
-
-| automake: warnings are treated as errors
-| /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libidn.la': linking libtool libraries using a non-POSIX
-| /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
-
-Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
-2012/05/03
-
----
- configure.ac | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/configure.ac b/configure.ac
-index 8297649..7b9626e 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -33,6 +33,10 @@ AC_SUBST(LT_CURRENT, 18)
- AC_SUBST(LT_REVISION, 0)
- AC_SUBST(LT_AGE, 6)
- 
-+# automake 1.12 seems to require this, but automake 1.11 doesn't recognize it
-+m4_pattern_allow([AM_PROG_AR])
-+AM_PROG_AR
-+
- AC_PROG_CC
- gl_EARLY
- lgl_EARLY
diff --git a/meta/recipes-extended/libidn/libidn_1.35.bb b/meta/recipes-extended/libidn/libidn_1.35.bb
deleted file mode 100644
index d5ce5b46bd..0000000000
--- a/meta/recipes-extended/libidn/libidn_1.35.bb
+++ /dev/null
@@ -1,42 +0,0 @@
-SUMMARY = "Internationalized Domain Name support library"
-DESCRIPTION = "Implementation of the Stringprep, Punycode and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group."
-HOMEPAGE = "http://www.gnu.org/software/libidn/"
-SECTION = "libs"
-LICENSE = "(LGPLv2.1+ | LGPLv3) & GPLv3+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=df4be47940a91ee69556f5f71eed4aec \
-                    file://COPYING.LESSERv2;md5=4fbd65380cdd255951079008b364516c \
-                    file://COPYING.LESSERv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
-                    file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
-                    file://COPYINGv3;md5=d32239bcb673463ab874e80d47fae504 \
-                    file://lib/idna.h;endline=21;md5=37cffad24807f446a24de3e7371f20b9 \
-                    file://src/idn.c;endline=20;md5=09e97034a8877b3451cb65065fc2c06e"
-DEPENDS = "virtual/libiconv autoconf-archive"
-
-inherit pkgconfig autotools gettext texinfo gtk-doc
-
-SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz \
-           file://libidn_fix_for_automake-1.12.patch \
-           file://avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch \
-           file://dont-depend-on-help2man.patch \
-           file://0001-idn-format-security-warnings.patch \
-           "
-
-SRC_URI[md5sum] = "bef634141fe39326cb354b75e891fead"
-SRC_URI[sha256sum] = "f11af1005b46b7b15d057d7f107315a1ad46935c7fcdf243c16e46ec14f0fe1e"
-
-# command tool is under GPLv3+, while libidn itself is under LGPLv2.1+ or LGPLv3
-# so package command into a separate package
-PACKAGES =+ "idn"
-FILES_idn = "${bindir}/*"
-
-LICENSE_${PN} = "LGPLv2.1+ | LGPLv3"
-LICENSE_idn = "GPLv3+"
-
-EXTRA_OECONF = "--disable-csharp"
-
-do_install_append() {
-	rm -rf ${D}${datadir}/emacs
-}
-
-BBCLASSEXTEND = "native nativesdk"
-
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements
  2020-02-23 18:29 [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements Adrian Bunk
                   ` (4 preceding siblings ...)
  2020-02-23 18:29 ` [PATCH v2 6/6] libidn: Move to meta-oe Adrian Bunk
@ 2020-02-24  9:17 ` Richard Purdie
  2020-02-24 10:46   ` Adrian Bunk
  5 siblings, 1 reply; 16+ messages in thread
From: Richard Purdie @ 2020-02-24  9:17 UTC (permalink / raw)
  To: Adrian Bunk, openembedded-core

On Sun, 2020-02-23 at 20:29 +0200, Adrian Bunk wrote:
> opengl is optional.
> x11 can be replaced with wayland.
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
> ---
>  meta/recipes-sato/webkit/webkitgtk_2.26.4.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
> index a48a976f94..51fba94964 100644
> --- a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
> +++ b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
> @@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "4386900713dfadf9741177210b32623cab22562a79ffd0d446b6656993
>  
>  inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gtk-doc
>  
> -REQUIRED_DISTRO_FEATURES = "x11 opengl"
> +ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
>  
>  CVE_PRODUCT = "webkitgtk webkitgtk\+"

The autobuilder no-x11 build seems unhappy with this patch series
unfortunately :(

https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/1616

Cheers,

Richard



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements
  2020-02-24  9:17 ` [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements Richard Purdie
@ 2020-02-24 10:46   ` Adrian Bunk
  2020-02-24 14:08     ` Adrian Bunk
  0 siblings, 1 reply; 16+ messages in thread
From: Adrian Bunk @ 2020-02-24 10:46 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core

On Mon, Feb 24, 2020 at 09:17:56AM +0000, Richard Purdie wrote:
> On Sun, 2020-02-23 at 20:29 +0200, Adrian Bunk wrote:
> > opengl is optional.
> > x11 can be replaced with wayland.
> > 
> > Signed-off-by: Adrian Bunk <bunk@stusta.de>
> > ---
> >  meta/recipes-sato/webkit/webkitgtk_2.26.4.bb | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
> > index a48a976f94..51fba94964 100644
> > --- a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
> > +++ b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
> > @@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "4386900713dfadf9741177210b32623cab22562a79ffd0d446b6656993
> >  
> >  inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gtk-doc
> >  
> > -REQUIRED_DISTRO_FEATURES = "x11 opengl"
> > +ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
> >  
> >  CVE_PRODUCT = "webkitgtk webkitgtk\+"
> 
> The autobuilder no-x11 build seems unhappy with this patch series
> unfortunately :(
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/1616

Sorry for that, I did not test a wayland-only build of webkitgtk.

I'll take care of that this evening, until then please drop either this 
first patch or the whole series.

> Cheers,
> 
> Richard

cu
Adrian


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements
  2020-02-24 10:46   ` Adrian Bunk
@ 2020-02-24 14:08     ` Adrian Bunk
  2020-02-24 14:12       ` Alexander Kanavin
  2020-02-24 21:45       ` Alexander Kanavin
  0 siblings, 2 replies; 16+ messages in thread
From: Adrian Bunk @ 2020-02-24 14:08 UTC (permalink / raw)
  To: Richard Purdie, Alexander Kanavin; +Cc: openembedded-core

On Mon, Feb 24, 2020 at 12:46:35PM +0200, Adrian Bunk wrote:
> On Mon, Feb 24, 2020 at 09:17:56AM +0000, Richard Purdie wrote:
> > On Sun, 2020-02-23 at 20:29 +0200, Adrian Bunk wrote:
> > > opengl is optional.
> > > x11 can be replaced with wayland.
> > > 
> > > Signed-off-by: Adrian Bunk <bunk@stusta.de>
> > > ---
> > >  meta/recipes-sato/webkit/webkitgtk_2.26.4.bb | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > 
> > > diff --git a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
> > > index a48a976f94..51fba94964 100644
> > > --- a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
> > > +++ b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
> > > @@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "4386900713dfadf9741177210b32623cab22562a79ffd0d446b6656993
> > >  
> > >  inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gtk-doc
> > >  
> > > -REQUIRED_DISTRO_FEATURES = "x11 opengl"
> > > +ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
> > >  
> > >  CVE_PRODUCT = "webkitgtk webkitgtk\+"
> > 
> > The autobuilder no-x11 build seems unhappy with this patch series
> > unfortunately :(
> > 
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/1616
> 
> Sorry for that, I did not test a wayland-only build of webkitgtk.
> 
> I'll take care of that this evening, until then please drop either this 
> first patch or the whole series.

OK, the short-term solution is to drop the first patch.

The original failure is easy to fix (I'll send a patch that moves the 
X libraries from DEPENDS to the x11 config), but the next one is not:

Alexander, wayland support in webkitgtk requires mesa built with x11 
support (otherwise gl.pc is not available).

cu
Adrian


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements
  2020-02-24 14:08     ` Adrian Bunk
@ 2020-02-24 14:12       ` Alexander Kanavin
  2020-02-24 21:45       ` Alexander Kanavin
  1 sibling, 0 replies; 16+ messages in thread
From: Alexander Kanavin @ 2020-02-24 14:12 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 374 bytes --]

On Mon, 24 Feb 2020 at 15:08, Adrian Bunk <bunk@stusta.de> wrote:

> Alexander, wayland support in webkitgtk requires mesa built with x11
> support (otherwise gl.pc is not available).


Can you provide links where this happens please? Specifically, where mesa
makes that decision, and where webkit asks for that file?
So it's easier for me to look into it.

Alex

[-- Attachment #2: Type: text/html, Size: 722 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements
  2020-02-24 14:08     ` Adrian Bunk
  2020-02-24 14:12       ` Alexander Kanavin
@ 2020-02-24 21:45       ` Alexander Kanavin
  2020-02-25 11:19         ` Adrian Bunk
  1 sibling, 1 reply; 16+ messages in thread
From: Alexander Kanavin @ 2020-02-24 21:45 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 551 bytes --]

On Mon, 24 Feb 2020 at 15:08, Adrian Bunk <bunk@stusta.de> wrote:

>
> Alexander, wayland support in webkitgtk requires mesa built with x11
> support (otherwise gl.pc is not available).
>

I had a look; I'm not sure I understood the options correctly, but the
issue is due to this:

                   ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'webgl
opengl', '' ,d)} \

The above works if both opengl and x11 are enabled as DISTRO_FEATURES, but
if x11 is not enabled, then it should be "webgl gles2". Can you try that?

Alex

[-- Attachment #2: Type: text/html, Size: 955 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements
  2020-02-24 21:45       ` Alexander Kanavin
@ 2020-02-25 11:19         ` Adrian Bunk
  2020-02-25 11:32           ` Alexander Kanavin
  0 siblings, 1 reply; 16+ messages in thread
From: Adrian Bunk @ 2020-02-25 11:19 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-core

On Mon, Feb 24, 2020 at 10:45:33PM +0100, Alexander Kanavin wrote:
> On Mon, 24 Feb 2020 at 15:08, Adrian Bunk <bunk@stusta.de> wrote:
> 
> > Alexander, wayland support in webkitgtk requires mesa built with x11
> > support (otherwise gl.pc is not available).
> 
> I had a look; I'm not sure I understood the options correctly, but the
> issue is due to this:
> 
>                    ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'webgl
> opengl', '' ,d)} \
> 
> The above works if both opengl and x11 are enabled as DISTRO_FEATURES, but
> if x11 is not enabled, then it should be "webgl gles2". Can you try that?

Thanks, that did the trick.

Expressing everything might still be problematic, is there a way to set
REQUIRED_DISTRO_FEATURES to
  x11 || (wayland && opengl)
?

Using webkitgtk with x11 without opengl might not be common,
but it is explicitly supported upstream.

> Alex

cu
Adrian


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements
  2020-02-25 11:19         ` Adrian Bunk
@ 2020-02-25 11:32           ` Alexander Kanavin
  2020-02-25 12:38             ` Adrian Bunk
  0 siblings, 1 reply; 16+ messages in thread
From: Alexander Kanavin @ 2020-02-25 11:32 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 1269 bytes --]

I would probably look into how
REQUIRED_DISTRO_FEATURE/ANY_OF_DISTRO_FEATURS is actually implemented, and
see if you can convince it to do the right thing, or maybe write a custom
re-implementation.

Alex

On Tue, 25 Feb 2020 at 12:19, Adrian Bunk <bunk@stusta.de> wrote:

> On Mon, Feb 24, 2020 at 10:45:33PM +0100, Alexander Kanavin wrote:
> > On Mon, 24 Feb 2020 at 15:08, Adrian Bunk <bunk@stusta.de> wrote:
> >
> > > Alexander, wayland support in webkitgtk requires mesa built with x11
> > > support (otherwise gl.pc is not available).
> >
> > I had a look; I'm not sure I understood the options correctly, but the
> > issue is due to this:
> >
> >                    ${@bb.utils.contains('DISTRO_FEATURES', 'opengl',
> 'webgl
> > opengl', '' ,d)} \
> >
> > The above works if both opengl and x11 are enabled as DISTRO_FEATURES,
> but
> > if x11 is not enabled, then it should be "webgl gles2". Can you try that?
>
> Thanks, that did the trick.
>
> Expressing everything might still be problematic, is there a way to set
> REQUIRED_DISTRO_FEATURES to
>   x11 || (wayland && opengl)
> ?
>
> Using webkitgtk with x11 without opengl might not be common,
> but it is explicitly supported upstream.
>
> > Alex
>
> cu
> Adrian
>

[-- Attachment #2: Type: text/html, Size: 1829 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements
  2020-02-25 11:32           ` Alexander Kanavin
@ 2020-02-25 12:38             ` Adrian Bunk
  2020-02-25 12:46               ` Martin Jansa
  0 siblings, 1 reply; 16+ messages in thread
From: Adrian Bunk @ 2020-02-25 12:38 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-core

On Tue, Feb 25, 2020 at 12:32:55PM +0100, Alexander Kanavin wrote:
> I would probably look into how
> REQUIRED_DISTRO_FEATURE/ANY_OF_DISTRO_FEATURS is actually implemented, and
> see if you can convince it to do the right thing, or maybe write a custom
> re-implementation.

I did already check meta/classes/features_check.bbclass, there is no 
obvious simple way for expressing more complicated dependencies.

The low-effort way forward will be to keep opengl required even for x11,
with a comment why.

> Alex

cu
Adrian


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements
  2020-02-25 12:38             ` Adrian Bunk
@ 2020-02-25 12:46               ` Martin Jansa
  2020-02-26 11:50                 ` Adrian Bunk
  0 siblings, 1 reply; 16+ messages in thread
From: Martin Jansa @ 2020-02-25 12:46 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 987 bytes --]

On Tue, Feb 25, 2020 at 02:38:07PM +0200, Adrian Bunk wrote:
> On Tue, Feb 25, 2020 at 12:32:55PM +0100, Alexander Kanavin wrote:
> > I would probably look into how
> > REQUIRED_DISTRO_FEATURE/ANY_OF_DISTRO_FEATURS is actually implemented, and
> > see if you can convince it to do the right thing, or maybe write a custom
> > re-implementation.
> 
> I did already check meta/classes/features_check.bbclass, there is no 
> obvious simple way for expressing more complicated dependencies.

Doesn't this do what you wanted?

REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland opengl', 'x11', d)}"

> 
> The low-effort way forward will be to keep opengl required even for x11,
> with a comment why.
> 
> > Alex
> 
> cu
> Adrian
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements
  2020-02-25 12:46               ` Martin Jansa
@ 2020-02-26 11:50                 ` Adrian Bunk
  0 siblings, 0 replies; 16+ messages in thread
From: Adrian Bunk @ 2020-02-26 11:50 UTC (permalink / raw)
  To: Martin Jansa; +Cc: OE-core

On Tue, Feb 25, 2020 at 01:46:27PM +0100, Martin Jansa wrote:
> On Tue, Feb 25, 2020 at 02:38:07PM +0200, Adrian Bunk wrote:
> > On Tue, Feb 25, 2020 at 12:32:55PM +0100, Alexander Kanavin wrote:
> > > I would probably look into how
> > > REQUIRED_DISTRO_FEATURE/ANY_OF_DISTRO_FEATURS is actually implemented, and
> > > see if you can convince it to do the right thing, or maybe write a custom
> > > re-implementation.
> > 
> > I did already check meta/classes/features_check.bbclass, there is no 
> > obvious simple way for expressing more complicated dependencies.
> 
> Doesn't this do what you wanted?
> 
> REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland opengl', 'x11', d)}"

Thanks, I now have a v3.

cu
Adrian


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-02-26 11:50 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-23 18:29 [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements Adrian Bunk
2020-02-23 18:29 ` [PATCH v2 2/6] webkitgtk: Remove unused DEPENDS on pulseaudio Adrian Bunk
2020-02-23 18:29 ` [PATCH v2 3/6] webkitgtk: Remove obsolete gtk2 packageconfig Adrian Bunk
2020-02-23 18:29 ` [PATCH v2 4/6] webkitgtk: Remove the unused DEPENDS on libidn Adrian Bunk
2020-02-23 18:29 ` [PATCH v2 5/6] systemd: Add a PACKAGECONFIG for libidn2 Adrian Bunk
2020-02-23 18:29 ` [PATCH v2 6/6] libidn: Move to meta-oe Adrian Bunk
2020-02-24  9:17 ` [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements Richard Purdie
2020-02-24 10:46   ` Adrian Bunk
2020-02-24 14:08     ` Adrian Bunk
2020-02-24 14:12       ` Alexander Kanavin
2020-02-24 21:45       ` Alexander Kanavin
2020-02-25 11:19         ` Adrian Bunk
2020-02-25 11:32           ` Alexander Kanavin
2020-02-25 12:38             ` Adrian Bunk
2020-02-25 12:46               ` Martin Jansa
2020-02-26 11:50                 ` Adrian Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.