1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

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>
This commit is contained in:
Paul Eggleton
2012-09-03 14:45:37 +01:00
committed by Richard Purdie
parent f6ae5d8b04
commit 80908c9f83
3 changed files with 24 additions and 10 deletions
@@ -0,0 +1,13 @@
require oprofileui.inc
SRCREV = "82ecf8c6b53b84f80682a8312f9defa83a95f2a3"
PV = "0.0+git${SRCPV}"
PR = "r0"
S = "${WORKDIR}/git"
SRC_URI = "git://git.yoctoproject.org/oprofileui;protocol=git"
EXTRA_OECONF += "--disable-client --enable-server"
RDEPENDS_${PN} = "oprofile"
+2 -9
View File
@@ -8,16 +8,9 @@ SECTION = "x11"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
DEPENDS = "glib-2.0 gtk+ libglade libxml2 avahi-ui gconf"
DEPENDS = "glib-2.0 avahi"
inherit autotools pkgconfig gtk-icon-cache
PACKAGES =+ "oprofileui-server oprofileui-viewer"
inherit autotools pkgconfig
EXTRA_OECONF = "--with-avahi"
FILES_oprofileui-viewer = "${bindir}/oparchconv ${bindir}/oprofile-viewer ${datadir}/applications/ ${datadir}/oprofileui/"
RDEPENDS_oprofile-viewer = "oprofile"
FILES_oprofileui-server = "${bindir}/oprofile-server"
RDEPENDS_oprofile-server = "oprofile"
@@ -1,10 +1,18 @@
require oprofileui.inc
DEPENDS += "gtk+ libglade libxml2 avahi-ui gconf"
SRCREV = "82ecf8c6b53b84f80682a8312f9defa83a95f2a3"
PV = "0.0+git${SRCPV}"
PR = "r0"
S = "${WORKDIR}/git"
# Oprofileui at http://labs.o-hand.com/oprofileui/ is not maintained now.
SRC_URI = "git://git.yoctoproject.org/oprofileui;protocol=git"
EXTRA_OECONF += "--enable-client --disable-server"
PACKAGES =+ "oprofileui-viewer"
FILES_oprofileui-viewer = "${bindir}/oparchconv ${bindir}/oprofile-viewer ${datadir}/applications/ ${datadir}/oprofileui/"
RDEPENDS_oprofileui-viewer = "oprofile"