Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] Add library libunistring that is used for advanced text processing.
@ 2014-10-19 22:36 Pedro Aguilar
  2014-10-25 17:32 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Pedro Aguilar @ 2014-10-19 22:36 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Pedro Aguilar <paguilar@paguilar.org>
---
 package/Config.in                    |  1 +
 package/libunistring/Config.in       | 12 ++++++++++++
 package/libunistring/libunistring.mk | 14 ++++++++++++++
 3 files changed, 27 insertions(+)
 create mode 100644 package/libunistring/Config.in
 create mode 100644 package/libunistring/libunistring.mk

diff --git a/package/Config.in b/package/Config.in
index 89b46dc..5a9c598 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -902,6 +902,7 @@ menu "Other"
 	source "package/startup-notification/Config.in"
 	source "package/tz/Config.in"
 	source "package/tzdata/Config.in"
+	source "package/libunistring/Config.in"
 endmenu
 
 menu "Security"
diff --git a/package/libunistring/Config.in b/package/libunistring/Config.in
new file mode 100644
index 0000000..e0f524b
--- /dev/null
+++ b/package/libunistring/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_LIBUNISTRING
+	bool "libunistring"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	help
+	  The libunistring library provides functions for manipulating 
+	  Unicode strings and for manipulating C strings according to 
+	  the Unicode standard.
+
+	  http://www.gnu.org/software/libunistring/
+
+comment "libunistring needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/libunistring/libunistring.mk b/package/libunistring/libunistring.mk
new file mode 100644
index 0000000..5bf75fe
--- /dev/null
+++ b/package/libunistring/libunistring.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# libunistring
+#
+################################################################################
+
+LIBUNISTRING_VERSION = 0.9.4
+LIBUNISTRING_SOURCE  = libunistring-$(LIBUNISTRING_VERSION).tar.gz
+LIBUNISTRING_SITE    = http://ftp.gnu.org/gnu/libunistring
+LIBUNISTRING_INSTALL_STAGING = YES
+LIBUNISTRING_LICENSE = LGPLv2
+LIBUNISTRING_LICENSE_FILES = LICENSE
+
+$(eval $(autotools-package))
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] Add library libunistring that is used for advanced text processing.
  2014-10-19 22:36 [Buildroot] [PATCH 1/1] Add library libunistring that is used for advanced text processing Pedro Aguilar
@ 2014-10-25 17:32 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-10-25 17:32 UTC (permalink / raw)
  To: buildroot

Dear Pedro Aguilar,

On Mon, 20 Oct 2014 00:36:53 +0200, Pedro Aguilar wrote:
> Signed-off-by: Pedro Aguilar <paguilar@paguilar.org>
> ---
>  package/Config.in                    |  1 +
>  package/libunistring/Config.in       | 12 ++++++++++++
>  package/libunistring/libunistring.mk | 14 ++++++++++++++
>  3 files changed, 27 insertions(+)
>  create mode 100644 package/libunistring/Config.in
>  create mode 100644 package/libunistring/libunistring.mk

Thanks, applied, after doing a few modifications:

    [Thomas:
      - adjust the title of the commit
      - remove the thread dependency, by using the --disable-threads
        option when needed
      - remove LIBUNISTRING_SOURCE, since its value was the default
      - use BR2_GNU_MIRROR in LIBUNISTRING_SITE
      - adjust the license, which really is LGPLv3+, not LGPLv2. The
        license file is COPYING.LIB.]

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-25 17:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-19 22:36 [Buildroot] [PATCH 1/1] Add library libunistring that is used for advanced text processing Pedro Aguilar
2014-10-25 17:32 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox