<div dir="ltr"><div>This upgrade seems to cause following issues:</div><div><br></div><div>sysprof-3.20.0+gitAUTOINC+9c6cec9b49: sysprof: Files/directories were installed but not shipped in any package:</div><div>  /lib</div><div>  /usr/share/dbus-1</div><div>  /usr/share/dbus-1/system.d</div><div>  /usr/share/dbus-1/system-services</div><div>  /usr/share/dbus-1/system.d/org.gnome.Sysprof2.conf</div><div>  /usr/share/dbus-1/system-services/org.gnome.Sysprof2.service</div><div>  /lib/systemd</div><div>  /lib/systemd/system</div><div>  /lib/systemd/system/sysprof2.service</div><div>Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.</div><div>sysprof: 9 installed and not shipped files. [installed-vs-shipped]</div><div>sysprof-3.20.0+gitAUTOINC+9c6cec9b49: sysprof rdepends on polkit, but it isn&#39;t a build dependency, missing polkit in DEPENDS or PACKAGECONFIG? [build-deps]</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 7, 2016 at 10:47 AM, Jussi Kukkonen <span dir="ltr">&lt;<a href="mailto:jussi.kukkonen@intel.com" target="_blank">jussi.kukkonen@intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">New version uses Gtk+3.<br>
<br>
3.20 release requires a bunch of fixes to build without polkit,<br>
this git revision inclues those fixes.<br>
<br>
Signed-off-by: Jussi Kukkonen &lt;<a href="mailto:jussi.kukkonen@intel.com">jussi.kukkonen@intel.com</a>&gt;<br>
---<br>
 .../sysprof/files/0001-Avoid-building-docs.patch   | 42 ++++++++++++++++++++++<br>
 .../0001-Disable-check-for-polkit-for-UI.patch     | 32 +++++++++++++++++<br>
 .../sysprof/files/define-NT_GNU_BUILD_ID.patch     |  4 +--<br>
 .../sysprof/files/gui-argument.patch               | 35 ------------------<br>
 meta/recipes-kernel/sysprof/files/rmb-arm.patch    | 21 -----------<br>
 meta/recipes-kernel/sysprof/files/rmb-mips.patch   | 22 ------------<br>
 meta/recipes-kernel/sysprof/<a href="http://sysprof_git.bb" rel="noreferrer" target="_blank">sysprof_git.bb</a>         | 32 +++++++++--------<br>
 7 files changed, 93 insertions(+), 95 deletions(-)<br>
 create mode 100644 meta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patch<br>
 create mode 100644 meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch<br>
 delete mode 100644 meta/recipes-kernel/sysprof/files/gui-argument.patch<br>
 delete mode 100644 meta/recipes-kernel/sysprof/files/rmb-arm.patch<br>
 delete mode 100644 meta/recipes-kernel/sysprof/files/rmb-mips.patch<br>
<br>
diff --git a/meta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patch b/meta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patch<br>
new file mode 100644<br>
index 0000000..202f354<br>
--- /dev/null<br>
+++ b/meta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patch<br>
@@ -0,0 +1,42 @@<br>
+From 27df521c68e7c8b5b050dab15f40aa15fd03623a Mon Sep 17 00:00:00 2001<br>
+From: Jussi Kukkonen &lt;<a href="mailto:jussi.kukkonen@intel.com">jussi.kukkonen@intel.com</a>&gt;<br>
+Date: Wed, 4 May 2016 14:58:24 +0300<br>
+Subject: [PATCH] Avoid building docs<br>
+<br>
+Upstream-Status: Inappropriate<br>
+Signed-off-by: Jussi Kukkonen &lt;<a href="mailto:jussi.kukkonen@intel.com">jussi.kukkonen@intel.com</a>&gt;<br>
+---<br>
+ Makefile.am | 2 +-<br>
+ m4/yelp.m4  | 6 ------<br>
+ 2 files changed, 1 insertion(+), 7 deletions(-)<br>
+<br>
+diff --git a/Makefile.am b/Makefile.am<br>
+index b919a3f..3a3851d 100644<br>
+--- a/Makefile.am<br>
++++ b/Makefile.am<br>
+@@ -1,4 +1,4 @@<br>
+-SUBDIRS = daemon data help lib po src tools tests<br>
++SUBDIRS = daemon data lib po src tools tests<br>
+<br>
+ EXTRA_DIST = AUTHORS tap-test COPYING.gpl-2<br>
+<br>
+diff --git a/m4/yelp.m4 b/m4/yelp.m4<br>
+index 5db847f..1b6ede4 100644<br>
+--- a/m4/yelp.m4<br>
++++ b/m4/yelp.m4<br>
+@@ -27,12 +27,6 @@ AC_ARG_WITH([help-dir],<br>
+ HELP_DIR=&quot;$with_help_dir&quot;<br>
+ AC_SUBST(HELP_DIR)<br>
+<br>
+-AC_ARG_VAR([ITSTOOL], [Path to the `itstool` command])<br>
+-AC_CHECK_PROG([ITSTOOL], [itstool], [itstool])<br>
+-if test x&quot;$ITSTOOL&quot; = x; then<br>
+-  AC_MSG_ERROR([itstool not found])<br>
+-fi<br>
+-<br>
+ AC_ARG_VAR([XMLLINT], [Path to the `xmllint` command])<br>
+ AC_CHECK_PROG([XMLLINT], [xmllint], [xmllint])<br>
+ if test x&quot;$XMLLINT&quot; = x; then<br>
+--<br>
+2.1.4<br>
+<br>
diff --git a/meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch b/meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch<br>
new file mode 100644<br>
index 0000000..6085232<br>
--- /dev/null<br>
+++ b/meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch<br>
@@ -0,0 +1,32 @@<br>
+From 765d578145e31ddc9495adfab8037ade33c6a9cc Mon Sep 17 00:00:00 2001<br>
+From: Jussi Kukkonen &lt;<a href="mailto:jussi.kukkonen@intel.com">jussi.kukkonen@intel.com</a>&gt;<br>
+Date: Wed, 4 May 2016 10:59:36 +0300<br>
+Subject: [PATCH] Disable check for polkit for UI<br>
+<br>
+The check is not technically required: sysprof just needs<br>
+to be able to access system perf counters at runtime.<br>
+<br>
+Upstream-Status: Pending<br>
+Signed-off-by: Jussi Kukkonen &lt;<a href="mailto:jussi.kukkonen@intel.com">jussi.kukkonen@intel.com</a>&gt;<br>
+---<br>
+ <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> | 4 ++--<br>
+ 1 file changed, 2 insertions(+), 2 deletions(-)<br>
+<br>
+diff --git a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
+index 8559597..ecf93ad 100644<br>
+--- a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
++++ b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
+@@ -131,8 +131,8 @@ AS_IF([test &quot;$enable_gtk&quot; = auto],[<br>
+       AS_IF([test &quot;$have_gtk&quot; = &quot;yes&quot; &amp;&amp; test &quot;$have_polkit&quot; = &quot;yes&quot;],[enable_gtk=yes],[enable_gtk=no])<br>
+ ])<br>
+ AS_IF([test &quot;$enable_gtk&quot; = &quot;yes&quot;],[<br>
+-      AS_IF([test &quot;$have_gtk&quot; = &quot;yes&quot; &amp;&amp; test &quot;$have_polkit&quot; = &quot;yes&quot;],[],[<br>
+-              AC_MSG_ERROR([--enable-gtk requires gtk+-3.0 &gt;= gtk_required_version and polkit-gobject-1])<br>
++      AS_IF([test &quot;$have_gtk&quot; = &quot;yes&quot;],[],[<br>
++              AC_MSG_ERROR([--enable-gtk requires gtk+-3.0 &gt;= gtk_required_version])<br>
+       ])<br>
+ ])<br>
+ AM_CONDITIONAL(ENABLE_GTK, test &quot;$enable_gtk&quot; = &quot;yes&quot;)<br>
+--<br>
+2.8.1<br>
+<br>
diff --git a/meta/recipes-kernel/sysprof/files/define-NT_GNU_BUILD_ID.patch b/meta/recipes-kernel/sysprof/files/define-NT_GNU_BUILD_ID.patch<br>
index dcc2cbe..f75ddad 100644<br>
--- a/meta/recipes-kernel/sysprof/files/define-NT_GNU_BUILD_ID.patch<br>
+++ b/meta/recipes-kernel/sysprof/files/define-NT_GNU_BUILD_ID.patch<br>
@@ -7,8 +7,8 @@ Upstream-Status: Pending<br>
<br>
 Index: git/elfparser.h<br>
 ===================================================================<br>
---- git.orig/elfparser.h       2011-07-16 18:57:41.000000000 -0700<br>
-+++ git/elfparser.h    2011-07-16 20:28:54.733829895 -0700<br>
+--- git.orig/lib/util/elfparser.h      2011-07-16 18:57:41.000000000 -0700<br>
++++ git/lib/util/elfparser.h   2011-07-16 20:28:54.733829895 -0700<br>
 @@ -17,6 +17,10 @@<br>
   */<br>
  #include &lt;glib.h&gt;<br>
diff --git a/meta/recipes-kernel/sysprof/files/gui-argument.patch b/meta/recipes-kernel/sysprof/files/gui-argument.patch<br>
deleted file mode 100644<br>
index d2c053e..0000000<br>
--- a/meta/recipes-kernel/sysprof/files/gui-argument.patch<br>
+++ /dev/null<br>
@@ -1,35 +0,0 @@<br>
-Add the ability to explicitly enable/disable GUI support<br>
-<br>
-Signed-off-by: Christopher Larson &lt;<a href="mailto:chris_larson@mentor.com">chris_larson@mentor.com</a>&gt;<br>
-Upstream-Status: Pending<br>
-<br>
---- git.orig/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
-+++ git/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
-@@ -62,12 +62,24 @@ KMICRO=`uname -r | cut -d&quot;.&quot; -f 3 | cut<br>
- # Pkgconfig dependencies<br>
-<br>
- core_dep=&quot;glib-2.0 &gt;= 2.6.0&quot;<br>
--gui_dep=&quot;gtk+-2.0 &gt; 2.6.0 gdk-pixbuf-2.0 pangoft2 libglade-2.0&quot;<br>
-<br>
- PKG_CHECK_MODULES(CORE_DEP, $core_dep, [], AC_MSG_ERROR([sysprof dependencies not satisfied]))<br>
-<br>
--build_gui=yes<br>
--PKG_CHECK_MODULES(GUI_DEP, $gui_dep, [], build_gui=no)<br>
-+gui_dep=&quot;gtk+-2.0 &gt; 2.6.0 gdk-pixbuf-2.0 pangoft2 libglade-2.0&quot;<br>
-+<br>
-+AC_ARG_ENABLE([gui],<br>
-+  [AS_HELP_STRING([--disable-gui],<br>
-+    [Disable GUI functionality (requires gtk+, gdk-pixbuf, pangoft2, libglade) @&lt;:@default=auto@:&gt;@])],<br>
-+  [],<br>
-+  [enable_gui=auto])<br>
-+<br>
-+build_gui=no<br>
-+AS_IF([test &quot;x$enable_gui&quot; != xno],<br>
-+  [PKG_CHECK_MODULES(GUI_DEP, $gui_dep, build_gui=yes,<br>
-+    [if test &quot;x$enable_gui&quot; != xauto; then<br>
-+       AC_MSG_FAILURE(<br>
-+         [--enable-gui was given, but gui dependencies were not satisfied])<br>
-+     fi])])<br>
-<br>
- AM_CONDITIONAL([BUILD_GUI], [test &quot;$build_gui&quot; = yes])<br>
-<br>
diff --git a/meta/recipes-kernel/sysprof/files/rmb-arm.patch b/meta/recipes-kernel/sysprof/files/rmb-arm.patch<br>
deleted file mode 100644<br>
index c53ac64..0000000<br>
--- a/meta/recipes-kernel/sysprof/files/rmb-arm.patch<br>
+++ /dev/null<br>
@@ -1,21 +0,0 @@<br>
-<br>
-Upstream-Status: Pending<br>
-<br>
-Index: git/util.h<br>
-===================================================================<br>
---- git.orig/util.h    2010-12-07 22:41:57.156243001 -0600<br>
-+++ git/util.h 2010-12-07 22:43:47.616243002 -0600<br>
-@@ -37,4 +37,13 @@<br>
- #define cpu_relax()     asm volatile(&quot;&quot; ::: &quot;memory&quot;);<br>
- #endif<br>
-<br>
-+#ifdef __arm__<br>
-+/*<br>
-+ * Use the __kuser_memory_barrier helper in the CPU helper page. See<br>
-+ * arch/arm/kernel/entry-armv.S in the kernel source for details.<br>
-+ */<br>
-+#define rmb()         ((void(*)(void))0xffff0fa0)()<br>
-+#define cpu_relax()   asm volatile(&quot;&quot;:::&quot;memory&quot;)<br>
-+#endif<br>
-+<br>
- #endif<br>
diff --git a/meta/recipes-kernel/sysprof/files/rmb-mips.patch b/meta/recipes-kernel/sysprof/files/rmb-mips.patch<br>
deleted file mode 100644<br>
index e055b8a..0000000<br>
--- a/meta/recipes-kernel/sysprof/files/rmb-mips.patch<br>
+++ /dev/null<br>
@@ -1,22 +0,0 @@<br>
-Upstream-Status: Pending<br>
-<br>
-Index: git/util.h<br>
-===================================================================<br>
---- git.orig/util.h    2010-12-08 01:22:44.486243001 -0600<br>
-+++ git/util.h 2010-12-08 01:23:27.836243001 -0600<br>
-@@ -37,4 +37,15 @@<br>
- #define cpu_relax()     asm volatile(&quot;&quot; ::: &quot;memory&quot;);<br>
- #endif<br>
-<br>
-+#ifdef __mips__<br>
-+#define rmb()         asm volatile(                                   \<br>
-+                              &quot;.set   mips2\n\t&quot;                      \<br>
-+                              &quot;sync\n\t&quot;                              \<br>
-+                              &quot;.set   mips0&quot;                          \<br>
-+                              : /* no output */                       \<br>
-+                              : /* no input */                        \<br>
-+                              : &quot;memory&quot;)<br>
-+#define cpu_relax()   asm volatile(&quot;&quot; ::: &quot;memory&quot;)<br>
-+#endif<br>
-+<br>
- #endif<br>
diff --git a/meta/recipes-kernel/sysprof/<a href="http://sysprof_git.bb" rel="noreferrer" target="_blank">sysprof_git.bb</a> b/meta/recipes-kernel/sysprof/<a href="http://sysprof_git.bb" rel="noreferrer" target="_blank">sysprof_git.bb</a><br>
index 84c6aad..3b06e6f 100644<br>
--- a/meta/recipes-kernel/sysprof/<a href="http://sysprof_git.bb" rel="noreferrer" target="_blank">sysprof_git.bb</a><br>
+++ b/meta/recipes-kernel/sysprof/<a href="http://sysprof_git.bb" rel="noreferrer" target="_blank">sysprof_git.bb</a><br>
@@ -1,29 +1,31 @@<br>
 SUMMARY = &quot;System-wide Performance Profiler for Linux&quot;<br>
-LICENSE = &quot;GPLv2&quot;<br>
-LIC_FILES_CHKSUM = &quot;file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f&quot;<br>
+LICENSE = &quot;GPLv3+&quot;<br>
+LIC_FILES_CHKSUM = &quot;file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \<br>
+                    file://src/sp-application.c;endline=17;md5=40e55577ef122c88fe20052acda64875&quot;<br>
+<br>
+inherit gnomebase gettext<br>
<br>
 DEPENDS = &quot;glib-2.0&quot;<br>
<br>
-SRCREV = &quot;cd44ee6644c3641507fb53b8a2a69137f2971219&quot;<br>
-PV = &quot;1.2.0+git${SRCPV}&quot;<br>
+S = &quot;${WORKDIR}/git&quot;<br>
+SRCREV = &quot;9c6cec9b49766bf77c1713bc5a7c6d651e628068&quot;<br>
+PV = &quot;3.20.0+git${SRCPV}&quot;<br>
<br>
 SRC_URI = &quot;git://<a href="http://git.gnome.org/sysprof" rel="noreferrer" target="_blank">git.gnome.org/sysprof</a> \<br>
            file://define-NT_GNU_BUILD_ID.patch \<br>
-           file://gui-argument.patch \<br>
+           file://0001-Disable-check-for-polkit-for-UI.patch \<br>
+           file://0001-Avoid-building-docs.patch \<br>
           &quot;<br>
+SRC_URI[archive.md5sum] = &quot;d56e8492033b60e247634731e7f760b9&quot;<br>
+SRC_URI[archive.sha256sum] = &quot;4a338ad41bfffae87ef281f6e75c9660b3e0c6671bf5233be0c3f55a5e5b1ce5&quot;<br>
<br>
-SRC_URI_append_arm  = &quot; file://rmb-arm.patch&quot;<br>
-SRC_URI_append_armeb  = &quot; file://rmb-arm.patch&quot;<br>
-SRC_URI_append_mips = &quot; file://rmb-mips.patch&quot;<br>
-SRC_URI_append_mips64 = &quot; file://rmb-mips.patch&quot;<br>
-SRC_URI_append_mips64n32 = &quot; file://rmb-mips.patch&quot;<br>
-<br>
-S = &quot;${WORKDIR}/git&quot;<br>
+AUTOTOOLS_AUXDIR = &quot;${S}/build-aux&quot;<br>
<br>
-inherit autotools pkgconfig<br>
+PACKAGECONFIG ?= &quot;${@bb.utils.contains_any(&#39;DISTRO_FEATURES&#39;, &#39;${GTK3DISTROFEATURES}&#39;, &#39;gtk&#39;, &#39;&#39;, d)}&quot;<br>
+PACKAGECONFIG[gtk] = &quot;--enable-gtk,--disable-gtk,gtk+3&quot;<br>
<br>
-PACKAGECONFIG ?= &quot;${@bb.utils.contains_any(&#39;DISTRO_FEATURES&#39;, &#39;${GTK2DISTROFEATURES}&#39;, &#39;gui&#39;, &#39;&#39;, d)}&quot;<br>
-PACKAGECONFIG[gui] = &quot;--enable-gui,--disable-gui,gtk+ gdk-pixbuf pango libglade&quot;<br>
+FILES_${PN} += &quot;${datadir}/icons/ ${libdir}&quot;<br>
+FILES_${PN}-dev = &quot;${prefix}/include&quot;<br>
<br>
 # We do not yet work for aarch64.<br>
 #<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.1.4<br>
<br>
--<br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</font></span></blockquote></div><br></div>