From: Romain Naour <romain.naour@openwide.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/3] package/rpm: add gettext dependency
Date: Sun, 18 Jan 2015 19:57:25 +0100 [thread overview]
Message-ID: <54BC0215.6090203@openwide.fr> (raw)
In-Reply-To: <20150118142135.GF4275@free.fr>
Hi Yann, all
Le 18/01/2015 15:21, Yann E. MORIN a ?crit :
> Romain, All,
>
> On 2015-01-18 12:34 +0100, Romain Naour spake thusly:
>> rpm check for libintl library if BR2_NEEDS_GETTEXT_IF_LOCALE is set.
>>
>> checking for GNU gettext in libintl... yes
>> checking whether to use NLS... yes
>> checking where the gettext function comes from... external libintl
>> checking how to link with libintl... -lintl
>
> Do you ave a defconfig with which I could test, please?
Yes, see:
http://autobuild.buildroot.net/results/2c6/2c61562008418ff58fa3085a3342b0e304923073/config
I'm fixing a autobuild failure, but while doing 'make rpm' the failure didn't
happened. So I make a diff with my build.log and the build-end.log provided by
the autobuilder. That is how I found the missing dependency on gettext.
>
>> But the dependency on gettext package is missing to ensures
>> reproducible builds.
>>
>> Also, sort selected packages alphabetically in Config.in
>
> I would prefer we do not mix feature changes with eye-candy, it makes
> reviewing a bit more complicated than it should be. Next time, could you
> just do that in a different patch, please?
Yes, sorry.
While rebasing to clean up this series, I wasn't happy that the select
BR2_PACKAGE_* wasn't alphabetically sorted.
I'll do that in a other patch.
Thanks for your review :)
Best regards,
Romain
>
> Regards,
> Yann E. MORIN.
>
>> Signed-off-by: Romain Naour <romain.naour@openwide.fr>
>> ---
>> package/rpm/Config.in | 7 ++++---
>> package/rpm/rpm.mk | 4 ++++
>> 2 files changed, 8 insertions(+), 3 deletions(-)
>>
>> diff --git a/package/rpm/Config.in b/package/rpm/Config.in
>> index 620eb1a..5ec4167 100644
>> --- a/package/rpm/Config.in
>> +++ b/package/rpm/Config.in
>> @@ -7,12 +7,13 @@ config BR2_PACKAGE_RPM
>> depends on BR2_TOOLCHAIN_HAS_THREADS # beecrypt
>> depends on BR2_USE_MMU # fork()
>> select BR2_PACKAGE_BEECRYPT
>> - select BR2_PACKAGE_POPT
>> - select BR2_PACKAGE_OPENSSL
>> + select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
>> select BR2_PACKAGE_NEON
>> + select BR2_PACKAGE_NEON_SSL
>> select BR2_PACKAGE_NEON_XML
>> select BR2_PACKAGE_NEON_ZLIB
>> - select BR2_PACKAGE_NEON_SSL
>> + select BR2_PACKAGE_OPENSSL
>> + select BR2_PACKAGE_POPT
>> select BR2_PACKAGE_ZLIB
>> help
>> The RPM package management system.
>> diff --git a/package/rpm/rpm.mk b/package/rpm/rpm.mk
>> index c4215b5..74f5b88 100644
>> --- a/package/rpm/rpm.mk
>> +++ b/package/rpm/rpm.mk
>> @@ -26,6 +26,10 @@ RPM_CONF_OPTS = \
>> --with-libbeecrypt=$(STAGING_DIR) \
>> --with-popt=$(STAGING_DIR)
>>
>> +ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
>> +RPM_DEPENDENCIES += gettext
>> +endif
>> +
>> ifeq ($(BR2_PACKAGE_PCRE),y)
>> RPM_DEPENDENCIES += pcre
>> RPM_CONF_OPTS += --with-pcre=external
>> --
>> 1.9.3
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>
prev parent reply other threads:[~2015-01-18 18:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-18 11:34 [Buildroot] [PATCH 1/3] package/rpm: add gettext dependency Romain Naour
2015-01-18 11:34 ` [Buildroot] [PATCH 2/3] package/rpm: use external xz library Romain Naour
2015-01-18 14:59 ` Yann E. MORIN
2015-01-18 18:57 ` Romain Naour
2015-01-18 11:35 ` [Buildroot] [PATCH 3/3] package/rpm: use 'none' for location path Romain Naour
2015-01-18 15:01 ` Yann E. MORIN
2015-01-18 14:21 ` [Buildroot] [PATCH 1/3] package/rpm: add gettext dependency Yann E. MORIN
2015-01-18 18:57 ` Romain Naour [this message]
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=54BC0215.6090203@openwide.fr \
--to=romain.naour@openwide.fr \
--cc=buildroot@busybox.net \
/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