Skip to contentSkip to conversation

htop: Update 1.0.2 -> 1.0.3

PATCH In review Khem Raj 3 participants 4 messages Apr 25, 2014

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 htop: Update 1.0.2 -> 1.0.3

Update to latest and at the same time fix
building when S != B

---
 .../recipes-support/htop/{htop_1.0.2.bb => htop_1.0.3.bb} |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-support/htop/{htop_1.0.2.bb => htop_1.0.3.bb} (54%)
meta-oe/recipes-support/htop/htop_1.0.3.bb renamed from meta-oe/recipes-support/htop/htop_1.0.2.bb +8 -5
similarity index 54%
rename from meta-oe/recipes-support/htop/htop_1.0.2.bb
rename to meta-oe/recipes-support/htop/htop_1.0.3.bb
index 234978b..4e445c8 100644
@@ -8,12 +8,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c312653532e8e669f30e5ec8bdc23be3"
 DEPENDS = "ncurses"
 RDEPENDS_${PN} = "ncurses-terminfo"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/htop/htop-${PV}.tar.gz"
+SRC_URI = "http://hisham.hm/htop/releases/${PV}/htop-${PV}.tar.gz"
 
-LDFLAGS_append_libc-uclibc = " -lubacktrace"
+SRC_URI[md5sum] = "e768b9b55c033d9c1dffda72db3a6ac7"
+SRC_URI[sha256sum] = "055c57927f75847fdc222b5258b079a9542811a9dcf5421c615c7e17f55d1829"
 
-inherit autotools
+LDFLAGS_append_libc-uclibc = " -lubacktrace"
 
-SRC_URI[md5sum] = "0d01cca8df3349c74569cefebbd9919e"
-SRC_URI[sha256sum] = "ee60657b044ece0df096c053060df7abf3cce3a568ab34d260049e6a37ccd8a1"
+do_configure_prepend () {
+	rm -rf ${S}/config.h
+}
 
+inherit autotools
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 2 lines · Khem Raj

Update to latest and at the same time fix
building when S != B

Please compare with
"[oe] [meta-oe][PATCH 1/4] htop: upgrade to 1.0.3 and apply brokensep"

sent today by Jack.

Quoted 43 lines
---
 .../recipes-support/htop/{htop_1.0.2.bb => htop_1.0.3.bb} |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-support/htop/{htop_1.0.2.bb => htop_1.0.3.bb} (54%)
meta-oe/recipes-support/htop/htop_1.0.3.bb renamed from meta-oe/recipes-support/htop/htop_1.0.2.bb +8 -5
similarity index 54%
rename from meta-oe/recipes-support/htop/htop_1.0.2.bb
rename to meta-oe/recipes-support/htop/htop_1.0.3.bb
index 234978b..4e445c8 100644
@@ -8,12 +8,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c312653532e8e669f30e5ec8bdc23be3"
 DEPENDS = "ncurses"
 RDEPENDS_${PN} = "ncurses-terminfo"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/htop/htop-${PV}.tar.gz"
+SRC_URI = "http://hisham.hm/htop/releases/${PV}/htop-${PV}.tar.gz"
 
-LDFLAGS_append_libc-uclibc = " -lubacktrace"
+SRC_URI[md5sum] = "e768b9b55c033d9c1dffda72db3a6ac7"
+SRC_URI[sha256sum] = "055c57927f75847fdc222b5258b079a9542811a9dcf5421c615c7e17f55d1829"
 
-inherit autotools
+LDFLAGS_append_libc-uclibc = " -lubacktrace"
 
-SRC_URI[md5sum] = "0d01cca8df3349c74569cefebbd9919e"
-SRC_URI[sha256sum] = "ee60657b044ece0df096c053060df7abf3cce3a568ab34d260049e6a37ccd8a1"
+do_configure_prepend () {
+	rm -rf ${S}/config.h
+}
 
+inherit autotools
Signature · 7 lines
1.7.10.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
author
#2 lore raw
Quoted 1 line · Martin Jansa

"[oe] [meta-oe][PATCH 1/4] htop: upgrade to 1.0.3 and apply brokensep"

inheriting autotools-brokensep is a workaround until we have fixed the
package proper intention should be to not use autotools-brokensep and
fix the packages and use autotools-brokensep as last resort.

#3 lore raw
Quoted 7 lines · Khem Raj
Quoted 1 line · Martin Jansa

"[oe] [meta-oe][PATCH 1/4] htop: upgrade to 1.0.3 and apply brokensep"

inheriting autotools-brokensep is a workaround until we have fixed the
package proper intention should be to not use autotools-brokensep and
fix the packages and use autotools-brokensep as last resort.

I agree, my fixes were just quick ones today which got me building. I would take Khems patch over mine as it seems to actually address the problem.

Cheers,