* [Buildroot] [PATCH] new package: iso-codes
@ 2013-02-17 16:34 Stefan Fröberg
2013-02-17 17:30 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Fröberg @ 2013-02-17 16:34 UTC (permalink / raw)
To: buildroot
iso-codes
This package provides the ISO-639 Language code list, the ISO-4217
Currency code list, the ISO-3166 Territory code list, and ISO-3166-2
sub-territory lists, and all their translations in gettext .po form.
Signed-off-by: Stefan Fr?berg <stefan.froberg@petroprogram.com>
---
Note: This package is needed by network-manager-applet (coming soon)
package/Config.in | 1 +
package/iso-codes/Config.in | 10 ++++++++++
package/iso-codes/iso-codes.mk | 13 +++++++++++++
3 files changed, 24 insertions(+), 0 deletions(-)
create mode 100644 package/iso-codes/Config.in
create mode 100644 package/iso-codes/iso-codes.mk
diff --git a/package/Config.in b/package/Config.in
index e1788c2..cf4b456 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -571,6 +571,7 @@ endmenu
menu "Text and terminal handling"
source "package/enchant/Config.in"
+source "package/iso-codes/Config.in"
source "package/libfribidi/Config.in"
source "package/icu/Config.in"
source "package/libiconv/Config.in"
diff --git a/package/iso-codes/Config.in b/package/iso-codes/Config.in
new file mode 100644
index 0000000..ee3ac49
--- /dev/null
+++ b/package/iso-codes/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_ISO_CODES
+ bool "iso-codes"
+ select BR2_PACKAGE_GETTEXT
+ help
+ This package provides the ISO-639 Language code list, the ISO-3166
+ Territory code list, and ISO-3166-2 sub-territory lists, and all
+ their translations in gettext .po form.
+
+ http://alioth.debian.org/projects/pkg-isocodes
+
diff --git a/package/iso-codes/iso-codes.mk b/package/iso-codes/iso-codes.mk
new file mode 100644
index 0000000..ac40f9c
--- /dev/null
+++ b/package/iso-codes/iso-codes.mk
@@ -0,0 +1,13 @@
+#############################################################
+#
+# iso-codes
+#
+#############################################################
+
+ISO_CODES_VERSION = 3.40
+ISO_CODES_SOURCE = iso-codes-$(ISO_CODES_VERSION).tar.xz
+ISO_CODES_SITE = http://pkg-isocodes.alioth.debian.org/downloads
+ISO_CODES_INSTALL_STAGING = YES
+ISO_CODES_DEPENDENCIES = gettext
+
+$(eval $(autotools-package))
--
1.7.7.6
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] new package: iso-codes
2013-02-17 16:34 [Buildroot] [PATCH] new package: iso-codes Stefan Fröberg
@ 2013-02-17 17:30 ` Thomas Petazzoni
2013-02-17 17:55 ` Stefan Fröberg
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2013-02-17 17:30 UTC (permalink / raw)
To: buildroot
Dear Stefan Fr?berg,
On Sun, 17 Feb 2013 18:34:56 +0200, Stefan Fr?berg wrote:
> + select BR2_PACKAGE_GETTEXT
Are you sure it really needs gettext as a build dependency?
Also, this seems to install a big bunch of files. Maybe
network-manager-applet needs only some of the ISOxyz files, and
therefore having suboptions to select which ISOxyz set of files should
be installed would be useful?
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] new package: iso-codes
2013-02-17 17:30 ` Thomas Petazzoni
@ 2013-02-17 17:55 ` Stefan Fröberg
2013-02-17 18:11 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Fröberg @ 2013-02-17 17:55 UTC (permalink / raw)
To: buildroot
17.2.2013 19:30, Thomas Petazzoni kirjoitti:
> Dear Stefan Fr?berg,
>
> On Sun, 17 Feb 2013 18:34:56 +0200, Stefan Fr?berg wrote:
>
>> + select BR2_PACKAGE_GETTEXT
> Are you sure it really needs gettext as a build dependency?
Well, I did not try to build it without gettext installed but that's
what the gentoo ebuild file
lists as its hard dependency
> Also, this seems to install a big bunch of files. Maybe
> network-manager-applet needs only some of the ISOxyz files, and
> therefore having suboptions to select which ISOxyz set of files should
> be installed would be useful?
>
I have to check it.
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] new package: iso-codes
2013-02-17 17:55 ` Stefan Fröberg
@ 2013-02-17 18:11 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2013-02-17 18:11 UTC (permalink / raw)
To: buildroot
Dear Stefan Fr?berg,
On Sun, 17 Feb 2013 19:55:11 +0200, Stefan Fr?berg wrote:
> >> + select BR2_PACKAGE_GETTEXT
> > Are you sure it really needs gettext as a build dependency?
>
> Well, I did not try to build it without gettext installed but that's
> what the gentoo ebuild file
> lists as its hard dependency
We need to figure out what is needed exactly. gettext support in the C
library (in which case it depends on whether you're using glibc or
uClibc, see
http://buildroot.org/downloads/manual/manual.html#_gettext_integration_and_interaction_with_packages.
Or instead the host gettext tools to generate some stuff.
> > Also, this seems to install a big bunch of files. Maybe
> > network-manager-applet needs only some of the ISOxyz files, and
> > therefore having suboptions to select which ISOxyz set of files should
> > be installed would be useful?
> >
>
> I have to check it.
Thanks.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-17 18:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-17 16:34 [Buildroot] [PATCH] new package: iso-codes Stefan Fröberg
2013-02-17 17:30 ` Thomas Petazzoni
2013-02-17 17:55 ` Stefan Fröberg
2013-02-17 18:11 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox