From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@openembedded.org
Subject: Re: [PATCH 3/6] package.bbclass, package_ipk.bbclass: add dynamic depends on locale packages (ipk specific)
Date: Thu, 12 Feb 2009 18:25:10 +0100 [thread overview]
Message-ID: <gn1m1n$5tl$3@ger.gmane.org> (raw)
In-Reply-To: <1234456715-23618-4-git-send-email-otavio@ossystems.com.br>
On 12-02-09 17:38, Otavio Salvador wrote:
> ---
> classes/package.bbclass | 10 ----------
> classes/package_ipk.bbclass | 4 ++++
> 2 files changed, 4 insertions(+), 10 deletions(-)
I'd like a bigger explanation what does wants to do and what the impact
of it is.
regards,
Koen
>
> diff --git a/classes/package.bbclass b/classes/package.bbclass
> index a7cdb5f..5559592 100644
> --- a/classes/package.bbclass
> +++ b/classes/package.bbclass
> @@ -293,16 +293,6 @@ python package_do_split_locales() {
> bb.data.setVar('DESCRIPTION_' + pkg, '%s translation for %s' % (l, pn), d)
>
> bb.data.setVar('PACKAGES', ' '.join(packages), d)
> -
> - # Disabled by RP 18/06/07
> - # Wildcards aren't supported in debian
> - # They break with ipkg since glibc-locale* will mean that
> - # glibc-localedata-translit* won't install as a dependency
> - # for some other package which breaks meta-toolchain
> - # Probably breaks since virtual-locale- isn't provided anywhere
> - #rdep = (bb.data.getVar('RDEPENDS_%s' % mainpkg, d, 1) or bb.data.getVar('RDEPENDS', d, 1) or "").split()
> - #rdep.append('%s-locale*' % pn)
> - #bb.data.setVar('RDEPENDS_%s' % mainpkg, ' '.join(rdep), d)
> }
>
> python populate_packages () {
> diff --git a/classes/package_ipk.bbclass b/classes/package_ipk.bbclass
> index 3a97729..2d28cf8 100644
> --- a/classes/package_ipk.bbclass
> +++ b/classes/package_ipk.bbclass
> @@ -244,6 +244,10 @@ python do_package_ipk () {
> rprovides = (bb.data.getVar("RPROVIDES", localdata, 1) or "").split()
> rreplaces = (bb.data.getVar("RREPLACES", localdata, 1) or "").split()
> rconflicts = (bb.data.getVar("RCONFLICTS", localdata, 1) or "").split()
> +
> + if pkgname.find('-locale-') == -1:
> + rdepends.append('%s-locale*' % pkgname)
> +
> if rdepends:
> ctrlfile.write("Depends: %s\n" % ", ".join(rdepends))
> if rsuggests:
next prev parent reply other threads:[~2009-02-12 17:41 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-12 16:38 [RFC] Patches being used by O.S. Systems and ready to be pushed Otavio Salvador
2009-02-12 16:38 ` [PATCH 1/6] rt61-firmware: add 1.2 Otavio Salvador
2009-02-12 16:38 ` [PATCH 2/6] cups: add 1.3.8 Otavio Salvador
2009-02-12 16:38 ` [PATCH 3/6] package.bbclass, package_ipk.bbclass: add dynamic depends on locale packages (ipk specific) Otavio Salvador
2009-02-12 16:38 ` [PATCH 4/6] parted: drop versions up to 1.8.8 Otavio Salvador
2009-02-12 16:38 ` [PATCH 5/6] sun-jre6: add 1.6.0.10 Otavio Salvador
2009-02-12 16:38 ` [PATCH 6/6] flash-plugin: add 10.0.12.36 Otavio Salvador
2009-02-12 17:29 ` Koen Kooi
2009-02-12 23:49 ` Otavio Salvador
2009-02-13 0:35 ` Koen Kooi
2009-02-12 20:27 ` Phil Blundell
2009-02-12 21:36 ` Koen Kooi
2009-02-12 22:47 ` Phil Blundell
2009-02-12 17:29 ` [PATCH 5/6] sun-jre6: add 1.6.0.10 Koen Kooi
2009-02-12 18:39 ` Ken Gilmer
2009-02-12 20:31 ` Koen Kooi
2009-02-12 23:48 ` Otavio Salvador
2009-02-13 0:36 ` Koen Kooi
2009-02-12 17:26 ` [PATCH 4/6] parted: drop versions up to 1.8.8 Koen Kooi
2009-02-12 23:51 ` Otavio Salvador
2009-02-13 0:31 ` Koen Kooi
2009-02-13 0:51 ` Philip Balister
2009-02-12 17:25 ` Koen Kooi [this message]
2009-02-12 23:52 ` [PATCH 3/6] package.bbclass, package_ipk.bbclass: add dynamic depends on locale packages (ipk specific) Otavio Salvador
2009-02-12 17:47 ` Phil Blundell
2009-02-12 18:38 ` Mike (mwester)
2009-02-12 22:36 ` Koen Kooi
2009-02-13 3:29 ` Tom Rini
2009-02-13 9:03 ` Koen Kooi
2009-02-12 22:42 ` Phil Blundell
2009-02-13 0:04 ` Otavio Salvador
2009-02-13 0:02 ` Otavio Salvador
2009-02-13 0:35 ` Koen Kooi
2009-02-12 17:24 ` [PATCH 2/6] cups: add 1.3.8 Koen Kooi
2009-02-12 17:24 ` [PATCH 1/6] rt61-firmware: add 1.2 Koen Kooi
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='gn1m1n$5tl$3@ger.gmane.org' \
--to=k.kooi@student.utwente.nl \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox