diff options
author | jaapb <jaapb> | 2013-08-24 16:15:10 +0000 |
---|---|---|
committer | jaapb <jaapb> | 2013-08-24 16:15:10 +0000 |
commit | a2b34effccbe2e45e4d8b8d3c5f1f8ec17d51d6e (patch) | |
tree | 9248773eef446dfc151d92e78830d07165555c27 /devel/liblangtag | |
parent | c59f13e293d42e4546381972922b8399951c9f45 (diff) | |
download | pkgsrc-a2b34effccbe2e45e4d8b8d3c5f1f8ec17d51d6e.tar.gz |
Packaged devel/liblangtag, an interface for language tag recognition that
complies with RFC 5646. (libreoffice dependency).
Diffstat (limited to 'devel/liblangtag')
-rw-r--r-- | devel/liblangtag/DESCR | 2 | ||||
-rw-r--r-- | devel/liblangtag/Makefile | 22 | ||||
-rw-r--r-- | devel/liblangtag/PLIST | 81 | ||||
-rw-r--r-- | devel/liblangtag/buildlink3.mk | 14 | ||||
-rw-r--r-- | devel/liblangtag/distinfo | 6 | ||||
-rw-r--r-- | devel/liblangtag/patches/patch-liblangtag_lt-trie.c | 19 |
6 files changed, 144 insertions, 0 deletions
diff --git a/devel/liblangtag/DESCR b/devel/liblangtag/DESCR new file mode 100644 index 00000000000..249861b7cfa --- /dev/null +++ b/devel/liblangtag/DESCR @@ -0,0 +1,2 @@ +liblangtag is an interface library to access/deal with tags for identifying +languages, which is described in RFC 5646. diff --git a/devel/liblangtag/Makefile b/devel/liblangtag/Makefile new file mode 100644 index 00000000000..0e057f37d61 --- /dev/null +++ b/devel/liblangtag/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2013/08/24 16:15:10 jaapb Exp $ + +DISTNAME= liblangtag-0.5.1 +CATEGORIES= devel +MASTER_SITES= https://bitbucket.org/tagoh/liblangtag/downloads/ +EXTRACT_SUFX= .tar.bz2 +FETCH_USING= curl + +MAINTAINER= jaapb@NetBSD.org +HOMEPAGE= http://tagoh.bitbucket.org/liblangtag/ +COMMENT= RFC 5646 language tag interface library +LICENSE= gnu-lgpl-v3 OR mpl-2.0 + +GNU_CONFIGURE= yes +USE_TOOLS+= pkg-config +USE_LIBTOOL= yes +USE_LANGUAGES+= c +PKGCONFIG_OVERRIDE+= liblangtag.pc.in + +.include "../../devel/glib2/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/liblangtag/PLIST b/devel/liblangtag/PLIST new file mode 100644 index 00000000000..80b382c4f15 --- /dev/null +++ b/devel/liblangtag/PLIST @@ -0,0 +1,81 @@ +@comment $NetBSD: PLIST,v 1.1 2013/08/24 16:15:10 jaapb Exp $ +include/liblangtag/langtag.h +include/liblangtag/lt-database.h +include/liblangtag/lt-error.h +include/liblangtag/lt-ext-module-data.h +include/liblangtag/lt-ext-module.h +include/liblangtag/lt-extension.h +include/liblangtag/lt-extlang-db.h +include/liblangtag/lt-extlang.h +include/liblangtag/lt-grandfathered-db.h +include/liblangtag/lt-grandfathered.h +include/liblangtag/lt-iter.h +include/liblangtag/lt-lang-db.h +include/liblangtag/lt-lang.h +include/liblangtag/lt-list.h +include/liblangtag/lt-macros.h +include/liblangtag/lt-redundant-db.h +include/liblangtag/lt-redundant.h +include/liblangtag/lt-region-db.h +include/liblangtag/lt-region.h +include/liblangtag/lt-script-db.h +include/liblangtag/lt-script.h +include/liblangtag/lt-string.h +include/liblangtag/lt-tag.h +include/liblangtag/lt-variant-db.h +include/liblangtag/lt-variant.h +lib/liblangtag.la +lib/pkgconfig/liblangtag.pc +share/gtk-doc/html/liblangtag/Container.html +share/gtk-doc/html/liblangtag/Module.html +share/gtk-doc/html/liblangtag/Utilities.html +share/gtk-doc/html/liblangtag/annotation-glossary.html +share/gtk-doc/html/liblangtag/api-index-full.html +share/gtk-doc/html/liblangtag/ch01.html +share/gtk-doc/html/liblangtag/deprecated-api-index.html +share/gtk-doc/html/liblangtag/home.png +share/gtk-doc/html/liblangtag/index.html +share/gtk-doc/html/liblangtag/index.sgml +share/gtk-doc/html/liblangtag/left.png +share/gtk-doc/html/liblangtag/liblangtag-Container---Extension.html +share/gtk-doc/html/liblangtag/liblangtag-Container---Extlang.html +share/gtk-doc/html/liblangtag/liblangtag-Container---Grandfathered.html +share/gtk-doc/html/liblangtag/liblangtag-Container---Language.html +share/gtk-doc/html/liblangtag/liblangtag-Container---Redundant.html +share/gtk-doc/html/liblangtag/liblangtag-Container---Region.html +share/gtk-doc/html/liblangtag/liblangtag-Container---Script.html +share/gtk-doc/html/liblangtag/liblangtag-Container---Tag.html +share/gtk-doc/html/liblangtag/liblangtag-Container---Variant.html +share/gtk-doc/html/liblangtag/liblangtag-Database---Extlang.html +share/gtk-doc/html/liblangtag/liblangtag-Database---Grandfathered.html +share/gtk-doc/html/liblangtag/liblangtag-Database---Language.html +share/gtk-doc/html/liblangtag/liblangtag-Database---Redundant.html +share/gtk-doc/html/liblangtag/liblangtag-Database---Region.html +share/gtk-doc/html/liblangtag/liblangtag-Database---Script.html +share/gtk-doc/html/liblangtag/liblangtag-Database---Variant.html +share/gtk-doc/html/liblangtag/liblangtag-Database.html +share/gtk-doc/html/liblangtag/liblangtag-Doubly-Linked-Lists.html +share/gtk-doc/html/liblangtag/liblangtag-Error.html +share/gtk-doc/html/liblangtag/liblangtag-Iterator.html +share/gtk-doc/html/liblangtag/liblangtag-Miscellaneous-Macros.html +share/gtk-doc/html/liblangtag/liblangtag-Module---Accessor.html +share/gtk-doc/html/liblangtag/liblangtag-Module---Data.html +share/gtk-doc/html/liblangtag/liblangtag-Strings.html +share/gtk-doc/html/liblangtag/liblangtag.devhelp2 +share/gtk-doc/html/liblangtag/object-tree.html +share/gtk-doc/html/liblangtag/right.png +share/gtk-doc/html/liblangtag/style.css +share/gtk-doc/html/liblangtag/up.png +share/liblangtag/common/bcp47/calendar.xml +share/liblangtag/common/bcp47/collation.xml +share/liblangtag/common/bcp47/currency.xml +share/liblangtag/common/bcp47/number.xml +share/liblangtag/common/bcp47/timezone.xml +share/liblangtag/common/bcp47/transform.xml +share/liblangtag/common/bcp47/transform_ime.xml +share/liblangtag/common/bcp47/transform_keyboard.xml +share/liblangtag/common/bcp47/transform_mt.xml +share/liblangtag/common/bcp47/transform_private_use.xml +share/liblangtag/common/bcp47/variant.xml +share/liblangtag/common/supplemental/likelySubtags.xml +share/liblangtag/language-subtag-registry.xml diff --git a/devel/liblangtag/buildlink3.mk b/devel/liblangtag/buildlink3.mk new file mode 100644 index 00000000000..7d51f3a9d8a --- /dev/null +++ b/devel/liblangtag/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1 2013/08/24 16:15:10 jaapb Exp $ + +BUILDLINK_TREE+= liblangtag + +.if !defined(LIBLANGTAG_BUILDLINK3_MK) +LIBLANGTAG_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.liblangtag+= liblangtag>=0.4.0 +BUILDLINK_PKGSRCDIR.liblangtag?= ../../devel/liblangtag + +.include "../../devel/glib2/buildlink3.mk" +.endif # LIBLANGTAG_BUILDLINK3_MK + +BUILDLINK_TREE+= -liblangtag diff --git a/devel/liblangtag/distinfo b/devel/liblangtag/distinfo new file mode 100644 index 00000000000..6cc429441df --- /dev/null +++ b/devel/liblangtag/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2013/08/24 16:15:10 jaapb Exp $ + +SHA1 (liblangtag-0.5.1.tar.bz2) = e255eeea1d82715bd750af63f3cde3aeed835bc6 +RMD160 (liblangtag-0.5.1.tar.bz2) = be9065da3617eaa3ce16909a52539a8ad1bc4e67 +Size (liblangtag-0.5.1.tar.bz2) = 651785 bytes +SHA1 (patch-liblangtag_lt-trie.c) = b10fba42679f2a4435f7f68237ea54bb0bff5f09 diff --git a/devel/liblangtag/patches/patch-liblangtag_lt-trie.c b/devel/liblangtag/patches/patch-liblangtag_lt-trie.c new file mode 100644 index 00000000000..dc5c1d1ee1b --- /dev/null +++ b/devel/liblangtag/patches/patch-liblangtag_lt-trie.c @@ -0,0 +1,19 @@ +$NetBSD: patch-liblangtag_lt-trie.c,v 1.1 2013/08/24 16:15:10 jaapb Exp $ + +Correct C syntax error +--- liblangtag/lt-trie.c.orig 2013-04-30 02:37:30.000000000 +0000 ++++ liblangtag/lt-trie.c +@@ -33,11 +33,11 @@ struct _lt_trie_t { + lt_iter_tmpl_t parent; + lt_trie_node_t *root; + }; +-typedef struct _lt_trie_iter_t { ++struct _lt_trie_iter_t { + lt_iter_t parent; + lt_list_t *stack; + lt_string_t *pos_str; +-} lt_trie_iter_t; ++}; + + /*< private >*/ + static lt_trie_node_t * |