From: Apelete Seketeli <apelete@seketeli.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [2011.03-maintenance][PATCH v2 1/2] gnutls: update SRC_URI
Date: Thu, 14 Mar 2013 10:43:58 +0100 [thread overview]
Message-ID: <20130314094357.GF6272@hermes> (raw)
In-Reply-To: <20130313170447.GE3260@jama>
Le 13-Mar-13, Martin Jansa a écrit:
> On Sat, Mar 09, 2013 at 08:54:24PM +0100, Apelete Seketeli wrote:
> > Le 09-Mar-13, Khem Raj a écrit:
> > >
> > > On Mar 9, 2013, at 4:38 AM, Apelete Seketeli <apelete@seketeli.net> wrote:
> > >
> > > > -SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.bz2;name=gnutls"
> > > > +SRC_URI = "ftp://ftp.gnutls.org/gcrypt/gnutls/v2.10/gnutls-${PV}.tar.bz2;name=gnutls"
> > >
> > > can we use PV instead of 2.10 ? if not then move SRC_URI out of .inc into .bb
> >
> > PV is actually 2.10.4 here, it can't be used instead of 2.10 it seems.
> > I'll move SRC_URI into .bb then.
>
> In couple of recipes we're using:
> SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
> SRC_URI = "http://download.gnome.org/sources/${PN}/${SHRT_VER}/${PN}-${PV}.tar.gz"
>
> This could be applied here too.
When I updated this SRC_URI I actually wondered if there was a way to
filter the version in a generic fashion, but couldn't come up with
any. This is it, thanks for the tip. I will fix SRC_URI in .inc then,
instead of moving it into .bb like I did.
Cheers.
--
Apelete
next prev parent reply other threads:[~2013-03-14 10:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-09 12:38 [2011.03-maintenance][PATCH v2 0/2] Pull request 20130309 Apelete Seketeli
2013-03-09 12:38 ` [2011.03-maintenance][PATCH v2 1/2] gnutls: update SRC_URI Apelete Seketeli
2013-03-09 16:32 ` Khem Raj
2013-03-09 19:54 ` Apelete Seketeli
2013-03-09 19:58 ` Khem Raj
2013-03-09 20:18 ` Apelete Seketeli
2013-03-13 17:04 ` Martin Jansa
2013-03-14 9:43 ` Apelete Seketeli [this message]
2013-03-09 16:45 ` Khem Raj
2013-03-09 12:38 ` [2011.03-maintenance][PATCH v2 2/2] jlime-2010.1: add capability to build ubi image for ben-nanonote machine Apelete Seketeli
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=20130314094357.GF6272@hermes \
--to=apelete@seketeli.net \
--cc=openembedded-devel@lists.openembedded.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.