All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sysprof: remove linux-gnueabi-patch
@ 2020-06-29 22:55 Andreas Müller
  0 siblings, 0 replies; only message in thread
From: Andreas Müller @ 2020-06-29 22:55 UTC (permalink / raw
  To: openembedded-devel

meson.bbclass takes care since oe-core

commit 010202076760329829fbde8dab4f535d6f755873
Author: Andreas M?ller <schnitzeltony@gmail.com>
Date:   Thu Apr 16 00:30:36 2020 +0200

    meson.bbclass: avoid unexpected operating-system names

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 ...ot-hardcode-linux-as-host_machine-.s.patch | 42 -------------------
 ..._FORMAT-instead-of-G_GUINT64_FORMAT.patch} |  0
 .../recipes-gnome/sysprof/sysprof_3.36.0.bb   |  3 +-
 3 files changed, 1 insertion(+), 44 deletions(-)
 delete mode 100644 meta-gnome/recipes-gnome/sysprof/sysprof/0002-meson.build-do-not-hardcode-linux-as-host_machine-.s.patch
 rename meta-gnome/recipes-gnome/sysprof/sysprof/{0003-tests-use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT.patch => 0002-tests-use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT.patch} (100%)

diff --git a/meta-gnome/recipes-gnome/sysprof/sysprof/0002-meson.build-do-not-hardcode-linux-as-host_machine-.s.patch b/meta-gnome/recipes-gnome/sysprof/sysprof/0002-meson.build-do-not-hardcode-linux-as-host_machine-.s.patch
deleted file mode 100644
index 9db111e8e..000000000
--- a/meta-gnome/recipes-gnome/sysprof/sysprof/0002-meson.build-do-not-hardcode-linux-as-host_machine-.s.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 43c39b5685445242d071b3706af2903efa508b4a Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Tue, 14 Jan 2020 12:58:27 +0100
-Subject: [PATCH] meson.build: do not hardcode 'linux' as
- host_machine().system() value
-
-In some build environmets such as OpenEmbedded this can be 'linux-gnueabi'
-or otherwise not exactly 'linux'.
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- src/libsysprof/meson.build | 2 +-
- src/tools/meson.build      | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/libsysprof/meson.build b/src/libsysprof/meson.build
-index 3449961..3c2d186 100644
---- a/src/libsysprof/meson.build
-+++ b/src/libsysprof/meson.build
-@@ -84,7 +84,7 @@ libsysprof_deps = [
-   librax_dep,
- ]
- 
--if host_machine.system() == 'linux'
-+if host_machine.system().contains('linux')
-   libsysprof_public_sources += [
-     'sysprof-memory-source.c',
-     'sysprof-perf-counter.c',
-diff --git a/src/tools/meson.build b/src/tools/meson.build
-index 670052a..3fb7f0c 100644
---- a/src/tools/meson.build
-+++ b/src/tools/meson.build
-@@ -2,7 +2,7 @@ tools_deps = [
-   libsysprof_capture_dep,
- ]
- 
--if get_option('libsysprof') and host_machine.system() == 'linux'
-+if get_option('libsysprof') and host_machine.system().contains('linux')
-   polkit_agent_dep = dependency('polkit-agent-1')
-   sysprof_cli = executable('sysprof-cli', 'sysprof-cli.c',
-     dependencies: tools_deps + [libsysprof_dep, polkit_dep, polkit_agent_dep],
diff --git a/meta-gnome/recipes-gnome/sysprof/sysprof/0003-tests-use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT.patch b/meta-gnome/recipes-gnome/sysprof/sysprof/0002-tests-use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT.patch
similarity index 100%
rename from meta-gnome/recipes-gnome/sysprof/sysprof/0003-tests-use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT.patch
rename to meta-gnome/recipes-gnome/sysprof/sysprof/0002-tests-use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT.patch
diff --git a/meta-gnome/recipes-gnome/sysprof/sysprof_3.36.0.bb b/meta-gnome/recipes-gnome/sysprof/sysprof_3.36.0.bb
index a769dbf7d..275fbaa69 100644
--- a/meta-gnome/recipes-gnome/sysprof/sysprof_3.36.0.bb
+++ b/meta-gnome/recipes-gnome/sysprof/sysprof_3.36.0.bb
@@ -18,8 +18,7 @@ SRC_URI[archive.md5sum] = "3956e82b8744715006dde59e0ce8910b"
 SRC_URI[archive.sha256sum] = "8670db4dacf7b219d30c575c465b17c8ed6724dbade347f2cde9548bff039108"
 SRC_URI += " \
     file://0001-sysprof-Define-NT_GNU_BUILD_ID-if-undefined.patch \
-    file://0002-meson.build-do-not-hardcode-linux-as-host_machine-.s.patch \
-    file://0003-tests-use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT.patch \
+    file://0002-tests-use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT.patch \
 "
 
 PACKAGECONFIG ?= "sysprofd libsysprof ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)}"
-- 
2.26.2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-29 22:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-29 22:55 [PATCH] sysprof: remove linux-gnueabi-patch Andreas Müller

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.