Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 03/10] ddrescue: update to 1.19
Date: Tue, 6 Jan 2015 12:25:02 +0100	[thread overview]
Message-ID: <20150106112502.GE19402@jama> (raw)
In-Reply-To: <2344737.AuP89X4c5h@peggleto-mobl5.ger.corp.intel.com>

[-- Attachment #1: Type: text/plain, Size: 2449 bytes --]

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@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2015-01-06 11:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-05 11:00 [PATCH 00/10] Recipe upgrades Paul Eggleton
2015-01-05 11:00 ` [PATCH 01/10] iotop: update to 0.6 Paul Eggleton
2015-01-05 11:00 ` [PATCH 02/10] lzip: update to 1.16 Paul Eggleton
2015-01-05 11:00 ` [PATCH 03/10] ddrescue: update to 1.19 Paul Eggleton
2015-01-05 12:35   ` Martin Jansa
2015-01-05 13:31     ` Paul Eggleton
2015-01-06 11:25       ` Martin Jansa [this message]
2015-01-06 11:59         ` Paul Eggleton
2015-01-05 11:00 ` [PATCH 04/10] lcdproc: update to 0.5.6 Paul Eggleton
2015-01-05 11:00 ` [PATCH 05/10] libmodplug: update to 0.8.8.5 Paul Eggleton
2015-01-05 11:00 ` [PATCH 06/10] protobuf: update to 2.5.0 Paul Eggleton
2015-01-05 11:00 ` [PATCH 07/10] mariadb: update to 5.5.41 Paul Eggleton
2015-01-05 11:00 ` [PATCH 08/10] rfkill: update to 0.5 Paul Eggleton
2015-01-05 11:00 ` [PATCH 09/10] picocom: update to 1.7 Paul Eggleton
2015-01-05 11:00 ` [PATCH 10/10] libssh: update to just after 0.6.4 Paul Eggleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150106112502.GE19402@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=paul.eggleton@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox