Patchwork [1/3] lttng-ust: Update to version 2.3.0

login
register
mail settings
Submitter Woegerer, Paul
Date Sept. 4, 2013, 12:51 p.m.
Message ID <8563861.p8X6iV9RD6@atv-pwoegere-l3.atv.mentorg.com>
Download mbox | patch
Permalink /patch/57349/
State Accepted
Commit a7e60e7f3b8443106a767cee40954fa893905e07
Headers show

Comments

Woegerer, Paul - Sept. 4, 2013, 12:51 p.m.
---
 meta/recipes-kernel/lttng/lttng-ust_2.2.1.bb | 31 ----------------------------
 meta/recipes-kernel/lttng/lttng-ust_2.3.0.bb | 31 ++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 31 deletions(-)
 delete mode 100644 meta/recipes-kernel/lttng/lttng-ust_2.2.1.bb
 create mode 100644 meta/recipes-kernel/lttng/lttng-ust_2.3.0.bb
Otavio Salvador - Sept. 4, 2013, 3:10 p.m.
On Wed, Sep 4, 2013 at 9:51 AM, Woegerer, Paul <Paul_Woegerer@mentor.com> wrote:

This kind of patch is nicer to send using -M option for format-patch
so it tracks the renaming.
Woegerer, Paul - Sept. 4, 2013, 3:18 p.m.
On 09/04/2013 05:10 PM, Otavio Salvador wrote:
> On Wed, Sep 4, 2013 at 9:51 AM, Woegerer, Paul <Paul_Woegerer@mentor.com> wrote:
>
> This kind of patch is nicer to send using -M option for format-patch
> so it tracks the renaming.
>
 
Thanks! I will keep that in mind for future submissions.

BTW, wouldn't it anyway make sense to change the recipes for lttng-ust,
lttng-ust, babeltrace to the same scheme as lttng-modules ? Then we
wouldn't need those nasty renaming anymore.

--
Best,
Paul
Otavio Salvador - Sept. 4, 2013, 3:22 p.m.
On Wed, Sep 4, 2013 at 12:18 PM, Woegerer, Paul
<Paul_Woegerer@mentor.com> wrote:
> On 09/04/2013 05:10 PM, Otavio Salvador wrote:
>> On Wed, Sep 4, 2013 at 9:51 AM, Woegerer, Paul <Paul_Woegerer@mentor.com> wrote:
>>
>> This kind of patch is nicer to send using -M option for format-patch
>> so it tracks the renaming.
>>
>
> Thanks! I will keep that in mind for future submissions.
>
> BTW, wouldn't it anyway make sense to change the recipes for lttng-ust,
> lttng-ust, babeltrace to the same scheme as lttng-modules ? Then we
> wouldn't need those nasty renaming anymore.

I'd be OK with this approach as well; it is a tradeoff as tarballs are
faster to download and GIT is faster for updates.

I think lttng are changing often enough to justify using GIT; Saul,
would you agree?

Patch

diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.2.1.bb b/meta/recipes-kernel/lttng/lttng-ust_2.2.1.bb
deleted file mode 100644
index 103264b..0000000
--- a/meta/recipes-kernel/lttng/lttng-ust_2.2.1.bb
+++ /dev/null
@@ -1,31 +0,0 @@ 
-SUMMARY = "Linux Trace Toolkit Userspace Tracer 2.0"
-DESCRIPTION = "The LTTng UST 2.0 package contains the userspace tracer library to trace userspace codes."
-HOMEPAGE = "http://lttng.org/ust"
-BUGTRACKER = "https://bugs.lttng.org/projects/lttng-ust"
-
-LICENSE = "LGPLv2.1+ & BSD & GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=c963eb366b781252b0bf0fdf1624d9e9 \
-                    file://snprintf/snprintf.c;endline=32;md5=d3d544959d8a3782b2e07451be0a903c \
-                    file://snprintf/various.h;endline=31;md5=89f2509b6b4682c4fc95255eec4abe44"
-
-inherit autotools
-
-DEPENDS = "liburcu util-linux"
-
-# For backwards compatibility after rename
-RPROVIDES_${PN} = "lttng2-ust"
-RREPLACES_${PN} = "lttng2-ust"
-RCONFLICTS_${PN} = "lttng2-ust"
-
-SRCREV = "481d245409b1caef7fc29790e53584eeb7d1d25d"
-PV = "2.2.1"
-PE = "2"
-
-SRC_URI = "git://git.lttng.org/lttng-ust.git \
-	   "
-
-S = "${WORKDIR}/git"
-
-do_configure_prepend () {
-	( cd ${S}; ${S}/bootstrap )
-}
diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.3.0.bb b/meta/recipes-kernel/lttng/lttng-ust_2.3.0.bb
new file mode 100644
index 0000000..a3b1920
--- /dev/null
+++ b/meta/recipes-kernel/lttng/lttng-ust_2.3.0.bb
@@ -0,0 +1,31 @@ 
+SUMMARY = "Linux Trace Toolkit Userspace Tracer 2.0"
+DESCRIPTION = "The LTTng UST 2.0 package contains the userspace tracer library to trace userspace codes."
+HOMEPAGE = "http://lttng.org/ust"
+BUGTRACKER = "https://bugs.lttng.org/projects/lttng-ust"
+
+LICENSE = "LGPLv2.1+ & BSD & GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=c963eb366b781252b0bf0fdf1624d9e9 \
+                    file://snprintf/snprintf.c;endline=32;md5=d3d544959d8a3782b2e07451be0a903c \
+                    file://snprintf/various.h;endline=31;md5=89f2509b6b4682c4fc95255eec4abe44"
+
+inherit autotools
+
+DEPENDS = "liburcu util-linux"
+
+# For backwards compatibility after rename
+RPROVIDES_${PN} = "lttng2-ust"
+RREPLACES_${PN} = "lttng2-ust"
+RCONFLICTS_${PN} = "lttng2-ust"
+
+SRCREV = "9f00ce32b103eed13524c876757b6611c5922382"
+PV = "2.3.0"
+PE = "2"
+
+SRC_URI = "git://git.lttng.org/lttng-ust.git \
+	   "
+
+S = "${WORKDIR}/git"
+
+do_configure_prepend () {
+	( cd ${S}; ${S}/bootstrap )
+}