summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/oprofile
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-09-03 14:45:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-04 12:53:06 +0100
commit80908c9f83660c10e39bd5ffb48bb6e417d14006 (patch)
tree16083e5b3fdbe69defc8acb6cf06437201e8f789 /meta/recipes-kernel/oprofile
parentf6ae5d8b04f126e4de89b9d98b1bc115bc543869 (diff)
downloadpoky-80908c9f83660c10e39bd5ffb48bb6e417d14006.tar.gz
oprofileui: split server to separate recipe to avoid X11 dependency
Increase SRCREV to include an upstream patch that fixes the configure script so that the server can be built separately without gtk+ and avahi-ui, and create a separate recipe for the server. Also fix the RDEPENDS so that oprofile actually gets pulled in by the client and the server. Part of the fix for [YOCTO #1690]. (From OE-Core rev: 971fbbd50ae147805fc7498b72a046be5bffc3c7) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/oprofile')
-rw-r--r--meta/recipes-kernel/oprofile/oprofileui-server_git.bb13
-rw-r--r--meta/recipes-kernel/oprofile/oprofileui.inc11
-rw-r--r--meta/recipes-kernel/oprofile/oprofileui_git.bb10
3 files changed, 24 insertions, 10 deletions
diff --git a/meta/recipes-kernel/oprofile/oprofileui-server_git.bb b/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
new file mode 100644
index 0000000000..b9f6a811e5
--- /dev/null
+++ b/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
@@ -0,0 +1,13 @@
1require oprofileui.inc
2
3SRCREV = "82ecf8c6b53b84f80682a8312f9defa83a95f2a3"
4PV = "0.0+git${SRCPV}"
5PR = "r0"
6
7S = "${WORKDIR}/git"
8
9SRC_URI = "git://git.yoctoproject.org/oprofileui;protocol=git"
10
11EXTRA_OECONF += "--disable-client --enable-server"
12
13RDEPENDS_${PN} = "oprofile"
diff --git a/meta/recipes-kernel/oprofile/oprofileui.inc b/meta/recipes-kernel/oprofile/oprofileui.inc
index ab14c38e33..9a9bc198b0 100644
--- a/meta/recipes-kernel/oprofile/oprofileui.inc
+++ b/meta/recipes-kernel/oprofile/oprofileui.inc
@@ -8,16 +8,9 @@ SECTION = "x11"
8LICENSE = "GPLv2" 8LICENSE = "GPLv2"
9LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 9LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
10 10
11DEPENDS = "glib-2.0 gtk+ libglade libxml2 avahi-ui gconf" 11DEPENDS = "glib-2.0 avahi"
12 12
13inherit autotools pkgconfig gtk-icon-cache 13inherit autotools pkgconfig
14
15PACKAGES =+ "oprofileui-server oprofileui-viewer"
16 14
17EXTRA_OECONF = "--with-avahi" 15EXTRA_OECONF = "--with-avahi"
18 16
19FILES_oprofileui-viewer = "${bindir}/oparchconv ${bindir}/oprofile-viewer ${datadir}/applications/ ${datadir}/oprofileui/"
20RDEPENDS_oprofile-viewer = "oprofile"
21
22FILES_oprofileui-server = "${bindir}/oprofile-server"
23RDEPENDS_oprofile-server = "oprofile"
diff --git a/meta/recipes-kernel/oprofile/oprofileui_git.bb b/meta/recipes-kernel/oprofile/oprofileui_git.bb
index 3fe9bb4e6a..2c6e96a85e 100644
--- a/meta/recipes-kernel/oprofile/oprofileui_git.bb
+++ b/meta/recipes-kernel/oprofile/oprofileui_git.bb
@@ -1,10 +1,18 @@
1require oprofileui.inc 1require oprofileui.inc
2 2
3DEPENDS += "gtk+ libglade libxml2 avahi-ui gconf"
4
3SRCREV = "82ecf8c6b53b84f80682a8312f9defa83a95f2a3" 5SRCREV = "82ecf8c6b53b84f80682a8312f9defa83a95f2a3"
4PV = "0.0+git${SRCPV}" 6PV = "0.0+git${SRCPV}"
5PR = "r0" 7PR = "r0"
6 8
7S = "${WORKDIR}/git" 9S = "${WORKDIR}/git"
8 10
9# Oprofileui at http://labs.o-hand.com/oprofileui/ is not maintained now.
10SRC_URI = "git://git.yoctoproject.org/oprofileui;protocol=git" 11SRC_URI = "git://git.yoctoproject.org/oprofileui;protocol=git"
12
13EXTRA_OECONF += "--enable-client --disable-server"
14
15PACKAGES =+ "oprofileui-viewer"
16
17FILES_oprofileui-viewer = "${bindir}/oparchconv ${bindir}/oprofile-viewer ${datadir}/applications/ ${datadir}/oprofileui/"
18RDEPENDS_oprofileui-viewer = "oprofile"