Skip to contentSkip to conversation

tcf-agent: Update to version 1.3

PATCH Superseded Randy Witt 2 participants 4 messages Jul 22, 2015 – Jul 23, 2015

lore
Share & tools
lore

Randy Witt

author
#0 lore raw

PATCH 1/1 tcf-agent: Update to version 1.3

According to the Eclipse tcf team, 1.3 tcf is required for the newest Eclipse release "mars".

[Yocto #7886]

---
 meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch |  4 ++--
 meta/recipes-devtools/tcf-agent/tcf-agent_git.bb           | 13 ++++++-------
 2 files changed, 8 insertions(+), 9 deletions(-)
meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch +2 -2
index 5d70456..f8de005 100644
@@ -1,7 +1,7 @@
 Upstream-Status: Inappropriate [poky-specific fix]
 
---- a/Makefile.inc
-+++ b/Makefile.inc
+--- a/agent/Makefile.inc
++++ b/agent/Makefile.inc
 @@ -57,6 +57,9 @@
    ifeq ($(NO_UUID),)
      LIBS += -luuid
meta/recipes-devtools/tcf-agent/tcf-agent_git.bb +6 -7
index 616a6a7..fc93beb 100644
@@ -3,13 +3,12 @@ HOMEPAGE = "http://wiki.eclipse.org/TCF"
 BUGTRACKER = "https://bugs.eclipse.org/bugs/"
 
 LICENSE = "EPL-1.0 | EDL-1.0"
-LIC_FILES_CHKSUM = "file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679"
+LIC_FILES_CHKSUM = "file://agent/edl-v10.html;md5=522a390a83dc186513f0500543ad3679"
 
-SRCREV = "4ef94ecb927a8912c3d79ce137182247786cff8f"
-PV = "0.4.0+git${SRCPV}"
-PR = "r2"
+SRCREV = "b9a735e9c7cf82f80d412b7ab15d08b89d5a4ccc"
+PV = "1.3.0+git${SRCPV}"
 
-SRC_URI = "git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git \
+SRC_URI = "git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git;branch=1.3_mars_bugfix \
            file://fix_ranlib.patch \
            file://tcf-agent.init \
            file://tcf-agent.service \
@@ -40,11 +39,11 @@ CFLAGS += "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \
     -DSERVICE_Expressions=0"
 
 do_compile() {
-	oe_runmake
+	oe_runmake -C agent
 }
 
 do_install() {
-	oe_runmake install INSTALLROOT=${D}
+	oe_runmake -C agent install INSTALLROOT=${D}
 	install -d ${D}${sysconfdir}/init.d/
 	install -m 0755 ${WORKDIR}/tcf-agent.init ${D}${sysconfdir}/init.d/tcf-agent
 	install -d ${D}${systemd_unitdir}/system
Signature · 1 line
2.4.3
#1 lore raw

Hi Randy,

Quoted 5 lines · Randy Witt

According to the Eclipse tcf team, 1.3 tcf is required for the newest Eclipse release "mars".

[Yocto #7886]

"Yocto" should be uppercase, and you're missing your Signed-off-by.

meta/recipes-devtools/tcf-agent/tcf-agent_git.bb CFLAGS += "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \ · line 43

Quoted 6 lines

do_compile() {

meta/recipes-devtools/tcf-agent/tcf-agent_git.bb +1 -1
-       oe_runmake
+       oe_runmake -C agent
 }

If you do everything inside the agent/ directory, consider setting S to take that into account.

Ross

author
#2 lore raw

PATCH v2 1/1 tcf-agent: Update to version 1.3

In reply to Randy Witt

According to the Eclipse tcf team, 1.3 tcf is required for the newest Eclipse release "mars".

[Yocto #7886]

---
 meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)
meta/recipes-devtools/tcf-agent/tcf-agent_git.bb +4 -9
index 616a6a7..f8fd390 100644
@@ -5,11 +5,10 @@ BUGTRACKER = "https://bugs.eclipse.org/bugs/"
 LICENSE = "EPL-1.0 | EDL-1.0"
 LIC_FILES_CHKSUM = "file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679"
 
-SRCREV = "4ef94ecb927a8912c3d79ce137182247786cff8f"
-PV = "0.4.0+git${SRCPV}"
-PR = "r2"
+SRCREV = "b9a735e9c7cf82f80d412b7ab15d08b89d5a4ccc"
+PV = "1.3.0+git${SRCPV}"
 
-SRC_URI = "git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git \
+SRC_URI = "git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git;branch=1.3_mars_bugfix \
            file://fix_ranlib.patch \
            file://tcf-agent.init \
            file://tcf-agent.service \
@@ -18,7 +17,7 @@ SRC_URI = "git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git \
 DEPENDS = "util-linux openssl"
 RDEPENDS_${PN} = "bash"
 
-S = "${WORKDIR}/git"
+S = "${WORKDIR}/git/agent"
 
 inherit update-rc.d systemd
 
@@ -39,10 +38,6 @@ CFLAGS += "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \
     -DSERVICE_StackTrace=0 -DSERVICE_Symbols=0 -DSERVICE_LineNumbers=0 \
     -DSERVICE_Expressions=0"
 
-do_compile() {
-	oe_runmake
-}
-
 do_install() {
 	oe_runmake install INSTALLROOT=${D}
 	install -d ${D}${sysconfdir}/init.d/
Signature · 1 line
2.4.3
author
#3 lore raw

PATCH v3 1/1 tcf-agent: Update to version 1.3

According to the Eclipse tcf team, 1.3 tcf is required for the newest Eclipse release "mars".

[YOCTO #7886]

---
 meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)
meta/recipes-devtools/tcf-agent/tcf-agent_git.bb +4 -9
index 616a6a7..f8fd390 100644
@@ -5,11 +5,10 @@ BUGTRACKER = "https://bugs.eclipse.org/bugs/"
 LICENSE = "EPL-1.0 | EDL-1.0"
 LIC_FILES_CHKSUM = "file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679"
 
-SRCREV = "4ef94ecb927a8912c3d79ce137182247786cff8f"
-PV = "0.4.0+git${SRCPV}"
-PR = "r2"
+SRCREV = "b9a735e9c7cf82f80d412b7ab15d08b89d5a4ccc"
+PV = "1.3.0+git${SRCPV}"
 
-SRC_URI = "git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git \
+SRC_URI = "git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git;branch=1.3_mars_bugfix \
            file://fix_ranlib.patch \
            file://tcf-agent.init \
            file://tcf-agent.service \
@@ -18,7 +17,7 @@ SRC_URI = "git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git \
 DEPENDS = "util-linux openssl"
 RDEPENDS_${PN} = "bash"
 
-S = "${WORKDIR}/git"
+S = "${WORKDIR}/git/agent"
 
 inherit update-rc.d systemd
 
@@ -39,10 +38,6 @@ CFLAGS += "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \
     -DSERVICE_StackTrace=0 -DSERVICE_Symbols=0 -DSERVICE_LineNumbers=0 \
     -DSERVICE_Expressions=0"
 
-do_compile() {
-	oe_runmake
-}
-
 do_install() {
 	oe_runmake install INSTALLROOT=${D}
 	install -d ${D}${sysconfdir}/init.d/
Signature · 1 line
2.4.3