Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] fixes to bug #412 and #856
@ 2011-05-03 14:01 Dexuan Cui
  2011-05-03 14:01 ` [PATCH 1/2] task-core-tools.bb: properly enable lttng-ust for ARM Dexuan Cui
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dexuan Cui @ 2011-05-03 14:01 UTC (permalink / raw)
  To: openembedded-core

From: Dexuan Cui <dexuan.cui@intel.com>

[YOCTO #856]
    Commit 320a641df18024265c3d2b3b08251a231f9fd6a0 omitted the line when being
merged into master branch.

[YOCTO #412]
    lttng-viewer: explicitly add linkage to lttvwindow.
    Without the fix, lttv-gui inside target can't run, complaining
    "undefined symbol: LTTV_VIEWER_CONSTRUCTORS".

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: dcui/distro
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/distro

Thanks,
    Dexuan Cui <dexuan.cui@intel.com>
---


Dexuan Cui (2):
  task-core-tools.bb: properly enable lttng-ust for ARM
  lttng-viewer: explicitly add linkage to lttvwindow

 meta/recipes-core/tasks/task-core-tools.bb         |    3 +-
 .../lttng-viewer/add_linkage_to_lttvwindow.patch   |   42 ++++++++++++++++++++
 meta/recipes-kernel/lttng/lttng-viewer_0.12.38.bb  |   10 +++--
 3 files changed, 50 insertions(+), 5 deletions(-)
 create mode 100644 meta/recipes-kernel/lttng/lttng-viewer/add_linkage_to_lttvwindow.patch

-- 
1.7.2




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] task-core-tools.bb: properly enable lttng-ust for ARM
  2011-05-03 14:01 [PATCH 0/2] fixes to bug #412 and #856 Dexuan Cui
@ 2011-05-03 14:01 ` Dexuan Cui
  2011-05-03 14:01 ` [PATCH 2/2] lttng-viewer: explicitly add linkage to lttvwindow Dexuan Cui
  2011-05-10 17:15 ` [PATCH 0/2] fixes to bug #412 and #856 Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: Dexuan Cui @ 2011-05-03 14:01 UTC (permalink / raw)
  To: openembedded-core

From: Dexuan Cui <dexuan.cui@intel.com>

Fixes [YOCTO #856]

Commit 320a641df18024265c3d2b3b08251a231f9fd6a0 omitted the line when being
merged into master branch.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
---
 meta/recipes-core/tasks/task-core-tools.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/tasks/task-core-tools.bb b/meta/recipes-core/tasks/task-core-tools.bb
index 9b2a4ce..b2bf5ef 100644
--- a/meta/recipes-core/tasks/task-core-tools.bb
+++ b/meta/recipes-core/tasks/task-core-tools.bb
@@ -6,7 +6,7 @@ DESCRIPTION = "Tools tasks for OE-Core"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-PR = "r9"
+PR = "r10"
 
 PACKAGES = "\
     task-core-tools-debug \
@@ -63,6 +63,7 @@ RRECOMMENDS_task-core-tools-profile = "\
 RDEPENDS_task-core-tools-profile_append_qemux86 = " valgrind lttng-ust systemtap"
 RDEPENDS_task-core-tools-profile_append_qemux86-64 = " lttng-ust systemtap"
 RDEPENDS_task-core-tools-profile_append_qemuppc = " lttng-ust systemtap"
+RDEPENDS_task-core-tools-profile_append_qemuarm = " lttng-ust"
 RDEPENDS_task-core-tools-profile_append_emenlow = " lttng-ust systemtap"
 RDEPENDS_task-core-tools-profile_append_atom-pc = " lttng-ust systemtap"
 
-- 
1.7.2




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] lttng-viewer: explicitly add linkage to lttvwindow
  2011-05-03 14:01 [PATCH 0/2] fixes to bug #412 and #856 Dexuan Cui
  2011-05-03 14:01 ` [PATCH 1/2] task-core-tools.bb: properly enable lttng-ust for ARM Dexuan Cui
@ 2011-05-03 14:01 ` Dexuan Cui
  2011-05-10 17:15 ` [PATCH 0/2] fixes to bug #412 and #856 Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: Dexuan Cui @ 2011-05-03 14:01 UTC (permalink / raw)
  To: openembedded-core

From: Dexuan Cui <dexuan.cui@intel.com>

Fixes [YOCTO #412]

Also update FILES_${PN}.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
---
 .../lttng-viewer/add_linkage_to_lttvwindow.patch   |   42 ++++++++++++++++++++
 meta/recipes-kernel/lttng/lttng-viewer_0.12.38.bb  |   10 +++--
 2 files changed, 48 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-kernel/lttng/lttng-viewer/add_linkage_to_lttvwindow.patch

diff --git a/meta/recipes-kernel/lttng/lttng-viewer/add_linkage_to_lttvwindow.patch b/meta/recipes-kernel/lttng/lttng-viewer/add_linkage_to_lttvwindow.patch
new file mode 100644
index 0000000..4a135df
--- /dev/null
+++ b/meta/recipes-kernel/lttng/lttng-viewer/add_linkage_to_lttvwindow.patch
@@ -0,0 +1,42 @@
+Upstream-Status: Inappropriate [configuration]
+
+Explicitly add linkage to lttvwindow.
+
+Without the fix, lttv-gui inside target can't run, complaining
+"undefined symbol: LTTV_VIEWER_CONSTRUCTORS".
+
+Tue May  3 21:39:37 CST 2011
+
+Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
+
+diff --git a/lttv/modules/gui/common.am b/lttv/modules/gui/common.am
+index ce50113..89083aa 100644
+--- a/lttv/modules/gui/common.am
++++ b/lttv/modules/gui/common.am
+@@ -21,3 +21,4 @@ AM_LDFLAGS = $(MODULE_LDFLAGS)
+ 
+ libdir = ${lttvplugindir}
+ 
++LIBS += $(GTK_LIBS) -L${top_builddir}/lttv/modules/gui/lttvwindow/lttvwindow -llttvwindow
+diff --git a/lttv/modules/gui/lttvwindow/lttvwindow/Makefile.am b/lttv/modules/gui/lttvwindow/lttvwindow/Makefile.am
+index c953fc9..489d640 100644
+--- a/lttv/modules/gui/lttvwindow/lttvwindow/Makefile.am
++++ b/lttv/modules/gui/lttvwindow/lttvwindow/Makefile.am
+@@ -1,13 +1,14 @@
+ ## Process this file with automake to produce Makefile.in
+ 
+-include ../../common.am
+-
+ INCLUDES = \
+ 	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
+ 	-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+ 	$(DEFAULT_INCLUDES)
+ 
+-#libdir = ${lttvplugindir}
++AM_CFLAGS = $(MODULE_CFLAGS)
++AM_LDFLAGS = $(MODULE_LDFLAGS)
++
++libdir = ${lttvplugindir}
+ 
+ lib_LTLIBRARIES = liblttvwindow.la
+ 
diff --git a/meta/recipes-kernel/lttng/lttng-viewer_0.12.38.bb b/meta/recipes-kernel/lttng/lttng-viewer_0.12.38.bb
index b8f2f2c..5e7bd4c 100644
--- a/meta/recipes-kernel/lttng/lttng-viewer_0.12.38.bb
+++ b/meta/recipes-kernel/lttng/lttng-viewer_0.12.38.bb
@@ -9,14 +9,16 @@ LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=f650d5f5af1e9648fe0b40e290d3adbb \
                     file://ltt/ltt.h;beginline=2;endline=18;md5=8b7da9190028c50396d97fc85bad0da9 \
                     file://lttv/lttv/traceset.c;beginline=2;endline=17;md5=bcab42863b64b41d153bf81bbe2490a6"
-PR = "r0"
+PR = "r1"
+
 DEPENDS = "gtk+ pango popt"
 
 SECTION = "devel"
 
 ALTNAME = "lttv-${PV}-21032011"
 
-SRC_URI = "http://lttng.org/files/packages/${ALTNAME}.tar.gz"
+SRC_URI = "http://lttng.org/files/packages/${ALTNAME}.tar.gz \
+           file://add_linkage_to_lttvwindow.patch"
 
 SRC_URI[md5sum] = "071bf3dd13e7562c08ee8f8971cfc76d"
 SRC_URI[sha256sum] = "cf87ffcf5d266b18979418e610a180a0b4214de41677f0be867885e15b2f7647"
@@ -29,7 +31,7 @@ LEAD_SONAME = "liblttvtraceread*"
 FILES_${PN} += "\
     ${libdir}/liblttvtraceread*.so \
     ${libdir}/lttv/plugins/*.so \
-    ${datadir}/LinuxTraceToolkitViewer/facilities/* \
-    ${datadir}/LinuxTraceToolkitViewer/pixmaps/* "
+    ${datadir}/lttv/facilities/* \
+    ${datadir}/lttv/pixmaps/* "
 FILES_${PN}-dbg += "${libdir}/lttv/plugins/.debug/"
 
-- 
1.7.2




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] fixes to bug #412 and #856
  2011-05-03 14:01 [PATCH 0/2] fixes to bug #412 and #856 Dexuan Cui
  2011-05-03 14:01 ` [PATCH 1/2] task-core-tools.bb: properly enable lttng-ust for ARM Dexuan Cui
  2011-05-03 14:01 ` [PATCH 2/2] lttng-viewer: explicitly add linkage to lttvwindow Dexuan Cui
@ 2011-05-10 17:15 ` Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: Saul Wold @ 2011-05-10 17:15 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 05/03/2011 07:01 AM, Dexuan Cui wrote:
> From: Dexuan Cui<dexuan.cui@intel.com>
>
> [YOCTO #856]
>      Commit 320a641df18024265c3d2b3b08251a231f9fd6a0 omitted the line when being
> merged into master branch.
>
> [YOCTO #412]
>      lttng-viewer: explicitly add linkage to lttvwindow.
>      Without the fix, lttv-gui inside target can't run, complaining
>      "undefined symbol: LTTV_VIEWER_CONSTRUCTORS".
>
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>    Branch: dcui/distro
>    Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/distro
>
> Thanks,
>      Dexuan Cui<dexuan.cui@intel.com>
> ---
>
>
> Dexuan Cui (2):
>    task-core-tools.bb: properly enable lttng-ust for ARM
>    lttng-viewer: explicitly add linkage to lttvwindow
>
>   meta/recipes-core/tasks/task-core-tools.bb         |    3 +-
>   .../lttng-viewer/add_linkage_to_lttvwindow.patch   |   42 ++++++++++++++++++++
>   meta/recipes-kernel/lttng/lttng-viewer_0.12.38.bb  |   10 +++--
>   3 files changed, 50 insertions(+), 5 deletions(-)
>   create mode 100644 meta/recipes-kernel/lttng/lttng-viewer/add_linkage_to_lttvwindow.patch
>

Pulled into core and master and staged for bernard

Thanks
	Sau!




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-10 17:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-03 14:01 [PATCH 0/2] fixes to bug #412 and #856 Dexuan Cui
2011-05-03 14:01 ` [PATCH 1/2] task-core-tools.bb: properly enable lttng-ust for ARM Dexuan Cui
2011-05-03 14:01 ` [PATCH 2/2] lttng-viewer: explicitly add linkage to lttvwindow Dexuan Cui
2011-05-10 17:15 ` [PATCH 0/2] fixes to bug #412 and #856 Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox