Skip to contentSkip to conversation

new package: iso-codes

PATCH New Stefan Fröberg 2 participants 4 messages Feb 17, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 new package: iso-codes

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.

---
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
package/Config.in +1 -0
index e1788c2..cf4b456 100644
@@ -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"
package/iso-codes/Config.in new file +10 -0
new file mode 100644
index 0000000..ee3ac49
@@ -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
+
package/iso-codes/iso-codes.mk new file +13 -0
new file mode 100644
index 0000000..ac40f9c
@@ -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))
Signature · 1 line
1.7.7.6
#1 lore raw

PATCH 1/1 new package: iso-codes

Dear Stefan Fr?berg,

package/iso-codes/Config.in line 3

Quoted 1 line · Stefan Fr?berg
package/iso-codes/Config.in new file +1 -0
+	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

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

PATCH 1/1 new package: iso-codes

17.2.2013 19:30, Thomas Petazzoni kirjoitti:

Quoted 6 lines

Dear Stefan Fr?berg,

package/iso-codes/Config.in line 3

Quoted 1 line · Stefan Fr?berg
package/iso-codes/Config.in new file +1 -0
+	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

Quoted 5 lines

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

#3 lore raw

PATCH 1/1 new package: iso-codes

Dear Stefan Fr?berg,

Quoted 6 lines · Stefan Fr?berg
Quoted 2 lines

package/iso-codes/Config.in line 3

Quoted 1 line
package/iso-codes/Config.in new file +1 -0
+	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.

Quoted 7 lines
Quoted 5 lines

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

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com