diff options
author | Ross Burton <ross@burtonini.com> | 2021-12-10 14:22:36 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-12 18:10:22 +0000 |
commit | a84ab0a193b064906f10cc05663118f6a0617af2 (patch) | |
tree | 0f041d3dbb6c963ecb48643e1094a1f2dbcb6b41 /meta/recipes-gnome/gtk+ | |
parent | 0a374e196fc00e4efca2a83de642296eca3eca91 (diff) | |
download | poky-a84ab0a193b064906f10cc05663118f6a0617af2.tar.gz |
gtk+3: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.
(From OE-Core rev: df74f8637b63d3b88a1b5bdbca22503b98d2d54b)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gtk+')
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+3.inc | 3 | ||||
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+3/0001-Hardcoded-libtool.patch | 47 | ||||
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+3_3.24.30.bb | 1 |
3 files changed, 0 insertions, 51 deletions
diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3.inc index 47cdb83dce..4de4dcf532 100644 --- a/meta/recipes-gnome/gtk+/gtk+3.inc +++ b/meta/recipes-gnome/gtk+/gtk+3.inc | |||
@@ -27,9 +27,6 @@ ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | |||
27 | export PKG_CONFIG_FOR_BUILD = "${STAGING_BINDIR_NATIVE}/pkg-config-native" | 27 | export PKG_CONFIG_FOR_BUILD = "${STAGING_BINDIR_NATIVE}/pkg-config-native" |
28 | 28 | ||
29 | do_configure:prepend() { | 29 | do_configure:prepend() { |
30 | # Do this because the configure script is running ./libtool directly | ||
31 | rm -f libtool | ||
32 | ln -s ${TARGET_PREFIX}libtool libtool | ||
33 | #delete a file that will get confused with generated one in ${B} | 30 | #delete a file that will get confused with generated one in ${B} |
34 | rm -f ${S}/gtk/gtktypefuncs.c | 31 | rm -f ${S}/gtk/gtktypefuncs.c |
35 | 32 | ||
diff --git a/meta/recipes-gnome/gtk+/gtk+3/0001-Hardcoded-libtool.patch b/meta/recipes-gnome/gtk+/gtk+3/0001-Hardcoded-libtool.patch deleted file mode 100644 index c210bbc7d5..0000000000 --- a/meta/recipes-gnome/gtk+/gtk+3/0001-Hardcoded-libtool.patch +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | From 0ecaa5bab162abf0cb2057d77beeb7b89d5873b4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Tue, 21 Jun 2016 14:53:56 +0300 | ||
4 | Subject: [PATCH 1/4] Hardcoded libtool | ||
5 | |||
6 | Upstream-Status: Inappropriate [embedded specific] | ||
7 | |||
8 | Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> | ||
9 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
10 | --- | ||
11 | configure.ac | 6 +++--- | ||
12 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
13 | |||
14 | diff --git a/configure.ac b/configure.ac | ||
15 | index 6628e21..f43ac09 100644 | ||
16 | --- a/configure.ac | ||
17 | +++ b/configure.ac | ||
18 | @@ -617,7 +617,7 @@ AC_MSG_CHECKING([whether to write dependencies into .pc files]) | ||
19 | case $enable_explicit_deps in | ||
20 | auto) | ||
21 | export SED | ||
22 | - deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh` | ||
23 | + deplibs_check_method=`(./$host_alias-libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh` | ||
24 | if test "x$deplibs_check_method" != xpass_all || test "x$enable_static" = xyes ; then | ||
25 | enable_explicit_deps=yes | ||
26 | else | ||
27 | @@ -895,7 +895,7 @@ else | ||
28 | dnl Now we check to see if our libtool supports shared lib deps | ||
29 | dnl (in a rather ugly way even) | ||
30 | if $dynworks; then | ||
31 | - module_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config" | ||
32 | + module_libtool_config="${CONFIG_SHELL-/bin/sh} ./$host_alias-libtool --config" | ||
33 | module_deplibs_check=`$module_libtool_config | \ | ||
34 | grep '^[[a-z_]]*check[[a-z_]]*_method=[['\''"]]' | \ | ||
35 | sed 's/.*[['\''"]]\(.*\)[['\''"]]$/\1/'` | ||
36 | @@ -1649,7 +1649,7 @@ AC_SUBST(GTK_PRINT_BACKENDS) | ||
37 | # We are using gmodule-no-export now, but I'm leaving the stripping | ||
38 | # code in place for now, since pango and atk still require gmodule. | ||
39 | export SED | ||
40 | -export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` | ||
41 | +export_dynamic=`(./$host_alias-libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` | ||
42 | if test -n "$export_dynamic"; then | ||
43 | GDK_DEP_LIBS=`echo $GDK_DEP_LIBS | sed -e "s/$export_dynamic//"` | ||
44 | GTK_DEP_LIBS=`echo $GTK_DEP_LIBS | sed -e "s/$export_dynamic//"` | ||
45 | -- | ||
46 | 2.12.0 | ||
47 | |||
diff --git a/meta/recipes-gnome/gtk+/gtk+3_3.24.30.bb b/meta/recipes-gnome/gtk+/gtk+3_3.24.30.bb index 7e7566f9af..3de5b588eb 100644 --- a/meta/recipes-gnome/gtk+/gtk+3_3.24.30.bb +++ b/meta/recipes-gnome/gtk+/gtk+3_3.24.30.bb | |||
@@ -3,7 +3,6 @@ require gtk+3.inc | |||
3 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" | 3 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" |
4 | 4 | ||
5 | SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar.xz \ | 5 | SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar.xz \ |
6 | file://0001-Hardcoded-libtool.patch \ | ||
7 | file://0002-Do-not-try-to-initialize-GL-without-libGL.patch \ | 6 | file://0002-Do-not-try-to-initialize-GL-without-libGL.patch \ |
8 | file://0003-Add-disable-opengl-configure-option.patch \ | 7 | file://0003-Add-disable-opengl-configure-option.patch \ |
9 | file://link_fribidi.patch \ | 8 | file://link_fribidi.patch \ |