[oe] [PATCH 03/10] ddrescue: update to 1.19

Martin Jansa martin.jansa at gmail.com
Tue Jan 6 11:25:02 UTC 2015


On Mon, Jan 05, 2015 at 01:31:15PM +0000, Paul Eggleton wrote:
> On Monday 05 January 2015 13:35:52 Martin Jansa wrote:
> > On Mon, Jan 05, 2015 at 11:00:47AM +0000, Paul Eggleton wrote:
> > > * License changed to GPLv2+
> > > * Upstream now only releases .lz files for new releases
> > 
> > Is .lz working correctly now with current bitbake+oe-core (it didn't
> > last time I've re-tried)? Shouldn't we wait for base.bbclass change to
> > be merged as you mention above do_unpack?
> 
> Well, it worked for me, but you do need the lzip recipe which we do have in 
> meta-oe. We don't necessarily have to wait since even when base.bbclass has 
> been updated the line I added won't cause any issues.
> 
> > Duplicates http://patchwork.openembedded.org/patch/82165/
> > can you send incremental patch on top of this if needed?
> 
> Ah, I missed that. As it happens, the only difference is the aforementioned 
> depends line.

Rebasing your change on top of Koen's shows bigger diff:

diff --git a/meta-oe/recipes-extended/ddrescue/ddrescue_1.19.bb b/meta-oe/recipes-extended/ddrescue/ddrescue_1.19.bb
index a605249..dc485b3 100644
--- a/meta-oe/recipes-extended/ddrescue/ddrescue_1.19.bb
+++ b/meta-oe/recipes-extended/ddrescue/ddrescue_1.19.bb
@@ -13,30 +13,9 @@ SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.lz"
 SRC_URI[md5sum] = "ed6b5b82d74cbd925db2b829350e74b1"
 SRC_URI[sha256sum] = "ed8d0c9d9aac80a9110e9cb0d0a91a7390d3bf9f816b67a62ca4eb140f4747b8"
 
-CONFIGUREOPTS = "\
-    '--srcdir=${S}' \
-    '--prefix=${prefix}' \
-    '--exec-prefix=${exec_prefix}' \
-    '--bindir=${bindir}' \
-    '--datadir=${datadir}' \
-    '--infodir=${infodir}' \
-    '--sysconfdir=${sysconfdir}' \
-    'CXX=${CXX}' \
-    'CPPFLAGS=${CPPFLAGS}' \
-    'CXXFLAGS=${CXXFLAGS}' \
-    'LDFLAGS=${LDFLAGS}' \
-"
-EXTRA_OEMAKE = ""
+# This isn't already added by base.bbclass
+do_unpack[depends] += "lzip-native:do_populate_sysroot"
 
-do_configure () {
-    ${S}/configure ${CONFIGUREOPTS}
-}
-
-do_install () {
-    oe_runmake 'DESTDIR=${D}' install
-    # Info dir listing isn't interesting at this point so remove it if it exists.
-    if [ -e "${D}${infodir}/dir" ]; then
-        rm -f ${D}${infodir}/dir
-    fi
-}
+inherit autotools
 
+EXTRA_OECONF = "'CXX=${CXX}' 'CPPFLAGS=${CPPFLAGS}' 'CXXFLAGS=${CXXFLAGS}' 'LDFLAGS=${LDFLAGS}'"

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20150106/8bda5e3d/attachment-0002.sig>


More information about the Openembedded-devel mailing list