Import utf8proc_2.8.0-1.debian.tar.xz
authorMo Zhou <lumin@debian.org>
Wed, 16 Nov 2022 19:03:50 +0000 (19:03 +0000)
committerMo Zhou <lumin@debian.org>
Wed, 16 Nov 2022 19:03:50 +0000 (19:03 +0000)
[dgit import tarball utf8proc 2.8.0-1 utf8proc_2.8.0-1.debian.tar.xz]

16 files changed:
changelog [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
docs [new file with mode: 0644]
gbp.conf [new file with mode: 0644]
libutf8proc-dev.install [new file with mode: 0644]
libutf8proc2.install [new file with mode: 0644]
libutf8proc2.symbols [new file with mode: 0644]
patches/series [new file with mode: 0644]
patches/use-unicode-data.patch [new file with mode: 0644]
rules [new file with mode: 0755]
source/format [new file with mode: 0644]
tests/Makefile [new file with mode: 0644]
tests/control [new file with mode: 0644]
upstream/metadata [new file with mode: 0644]
watch [new file with mode: 0644]

diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..e1393fb
--- /dev/null
+++ b/changelog
@@ -0,0 +1,176 @@
+utf8proc (2.8.0-1) unstable; urgency=medium
+
+  * New upstream version 2.8.0
+  * Remove patches for unicode-data 15. No longer needed.
+  * Refresh remaining patches.
+
+ -- Mo Zhou <lumin@debian.org>  Wed, 16 Nov 2022 14:03:50 -0500
+
+utf8proc (2.7.0-4) unstable; urgency=medium
+
+  * Bump B-D to Unicode-data 15.0
+  * Add patches to support Unicode-data 15.0.0 (Closes: #1019923)
+
+ -- Mo Zhou <lumin@debian.org>  Wed, 21 Sep 2022 10:22:38 -0400
+
+utf8proc (2.7.0-3) unstable; urgency=medium
+
+  * Upstream's Makefile is not parallel-safe,
+    build with --no-parallel for now
+
+ -- Graham Inggs <ginggs@debian.org>  Mon, 27 Dec 2021 07:47:18 +0000
+
+utf8proc (2.7.0-2) unstable; urgency=medium
+
+  * Use GraphemeBreakTest.txt as is, re-enable graphemetest
+  * Use grep to generate Uppercase.txt and Lowercase.txt
+  * Drop build-dependencies on perl and ruby
+  * Adapt autopkgtest so it is triggered by changes to unicode-data
+
+ -- Graham Inggs <ginggs@debian.org>  Fri, 24 Dec 2021 06:47:34 +0000
+
+utf8proc (2.7.0-1) unstable; urgency=medium
+
+  [ Debian Janitor ]
+  * debian/copyright: use spaces rather than tabs to start continuation lines.
+  * Set upstream metadata fields: Bug-Submit.
+
+  [ Graham Inggs ]
+  * New upstream release
+  * Refresh use-unicode-data.patch
+  * Build with unicode-data 14.0 (Closes: #995579)
+  * Add build-dependency on ruby
+  * Skip graphemetest that never completes
+  * Update libutf8proc2.symbols with new symbols from 2.6.0
+  * Install the pkgconfig file from libutf8proc-dev.install
+    instead of debian/rules
+  * Switch to debhelper 13
+  * Bump Standards-Version to 4.6.0, no changes
+
+ -- Graham Inggs <ginggs@debian.org>  Tue, 21 Dec 2021 14:29:13 +0000
+
+utf8proc (2.5.0-1) unstable; urgency=medium
+
+  * New upstream release
+  * Refresh use-unicode-data.patch
+  * Build with unicode-data 13.0 (Closes: #954131)
+  * Set Rules-Requires-Root: no
+  * Add Build-Depends-Package to libutf8proc2.symbols
+  * Bump Standards-Version to 4.5.0, no changes
+
+ -- Graham Inggs <ginggs@debian.org>  Mon, 30 Mar 2020 08:12:49 +0000
+
+utf8proc (2.4.0-2) unstable; urgency=medium
+
+  [ Debian Janitor ]
+  * Bump debhelper from old 11 to 12.
+  * Set upstream metadata fields:
+    Bug-Database, Repository, Repository-Browse.
+  * Update standards version to 4.4.1, no changes needed.
+
+  [ Mo Zhou ]
+  * Update my mail address in control and copyright.
+  * Initialize autopkgtest: compile and run upstream tests.
+
+ -- Mo Zhou <lumin@debian.org>  Tue, 07 Jan 2020 14:56:30 +0800
+
+utf8proc (2.4.0-1) unstable; urgency=medium
+
+  * New upstream version 2.4.0
+  * Bump Standards-Version to 4.4.0 (no change).
+  * Delete d/compat in favor of debhelper-compat (= 11).
+  * Update patches:
+    * Rebase use-unicode-data.patch
+    - Remove unicode-data-12.1.0pre1.patch
+    - Remove utf8proc-unicode-version.patch
+
+ -- Mo Zhou <cdluminate@gmail.com>  Wed, 21 Aug 2019 14:41:53 +0000
+
+utf8proc (2.3.0-1) unstable; urgency=medium
+
+  * New upstream version 2.3.0 (Closes: #927941)
+  * Bump unicode-data requirement to (>= 12.1) && (<< 12.2).
+  * Refresh use-unicode-data.patch; Remove pass-hardening-flags.patch (merged).
+  * Patch: update utf8proc_data.c against unicode-data 12.1.0~pre1.
+  * Patch: update unicode-data version strings to 12.1.0
+  * Patch: upstream didn't bump minor version in build system and header.
+  * Install the newly-added pkgconfig file. (Closes: #927260)
+  * Add a new symbol.
+
+ -- Mo Zhou <cdluminate@gmail.com>  Sat, 27 Apr 2019 08:12:00 +0000
+
+utf8proc (2.2.0-1) unstable; urgency=medium
+
+  * New upstream release
+  * Drop patches no longer needed, refresh remaining
+  * Update debian/libutf8proc2.symbols
+  * Update debian/copyright
+  * New patch pass-hardening-flags.patch
+
+ -- Graham Inggs <ginggs@debian.org>  Fri, 27 Jul 2018 10:17:12 +0000
+
+utf8proc (2.1.1-1) unstable; urgency=medium
+
+  [ Peter Colberg ]
+  * Update Vcs-* fields for move to salsa.debian.org
+
+  [ Graham Inggs ]
+  * New upstream release (Closes: #902902)
+  * Update upstream URLs for move to JuliaStrings
+  * Refresh patches
+  * Drop symbols of generated const tables, see upstream PR #100
+  * Add Mo Zhou to uploaders
+  * Switch to debhelper 11
+  * Trim trailing whitespace from debian/changelog
+  * Drop unnecessary get-orig-source target from debian/rules
+  * Bump Standards-Version to 4.1.5
+  * Switch to unicode-data 11 (Closes: #903381)
+  * Regenerate utf8proc_data.c from unicode-data 11
+  * Skip failing grapheme break tests
+
+ -- Graham Inggs <ginggs@debian.org>  Mon, 09 Jul 2018 13:43:06 +0000
+
+utf8proc (2.1.0-1) unstable; urgency=medium
+
+  * New upstream release
+  * Switch to unicode-data 10 (Closes: #867105)
+  * Regenerate utf8proc_data.c from unicode-data 10
+  * Update debian/libutf8proc2.symbols
+  * Switch to debhelper 10
+  * Enable all hardening flags
+  * Bump Standards-Version to 4.0.0
+  * Update copyright, use https
+
+ -- Graham Inggs <ginggs@debian.org>  Sat, 08 Jul 2017 10:47:15 +0200
+
+utf8proc (2.0.2-1) unstable; urgency=medium
+
+  * New upstream release
+
+ -- Peter Colberg <peter@colberg.org>  Sat, 30 Jul 2016 23:21:18 -0400
+
+utf8proc (2.0.1-1) unstable; urgency=medium
+
+  * New upstream release (Closes: #829236)
+  * Refresh patch
+  * Bump SONAME to libutf8proc2
+  * Update debian/libutf8proc2.symbols
+  * Update Vcs-* fields to use https
+  * Enable bindnow hardening flag
+  * Bump Standards-Version to 3.9.8
+  * Add debian/gbp.conf for pristine-tar
+  * Build depend on unicode-data >= 9.0 and << 9.1 for tests
+
+ -- Peter Colberg <peter@colberg.org>  Sat, 16 Jul 2016 17:15:58 -0400
+
+utf8proc (1.3.1-2) unstable; urgency=medium
+
+  * Relax build-depends version for unicode-data.
+
+ -- Peter Colberg <peter@colberg.org>  Fri, 06 Nov 2015 13:26:14 -0500
+
+utf8proc (1.3.1-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #803681)
+
+ -- Peter Colberg <peter@colberg.org>  Sun, 01 Nov 2015 13:30:40 -0500
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..23d7c40
--- /dev/null
+++ b/control
@@ -0,0 +1,40 @@
+Source: utf8proc
+Priority: optional
+Maintainer: Debian Julia Team <pkg-julia-devel@lists.alioth.debian.org>
+Uploaders: Peter Colberg <peter@colberg.org>,
+           Graham Inggs <ginggs@debian.org>,
+           Mo Zhou <lumin@debian.org>
+Build-Depends: debhelper-compat (= 13),
+               unicode-data (<< 15.1),
+               unicode-data (>= 15.0)
+Standards-Version: 4.6.0
+Rules-Requires-Root: no
+Section: libs
+Homepage: https://github.com/JuliaStrings/utf8proc
+Vcs-Git: https://salsa.debian.org/julia-team/utf8proc.git
+Vcs-Browser: https://salsa.debian.org/julia-team/utf8proc
+
+Package: libutf8proc2
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: C library for processing UTF-8 Unicode data (shared library)
+ utf8proc is a small, clean C library that provides Unicode normalization,
+ case-folding, and other operations for data in the UTF-8 encoding, supporting
+ Unicode version 8.0.
+ .
+ This package contains a shared version of the library.
+
+Package: libutf8proc-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: libutf8proc2 (= ${binary:Version}), ${misc:Depends}
+Description: C library for processing UTF-8 Unicode data (development files)
+ utf8proc is a small, clean C library that provides Unicode normalization,
+ case-folding, and other operations for data in the UTF-8 encoding, supporting
+ Unicode version 8.0.
+ .
+ This package contains the development files needed to compile software using
+ utf8proc.
diff --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..560de83
--- /dev/null
+++ b/copyright
@@ -0,0 +1,76 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: utf8proc
+Source: https://github.com/JuliaStrings/utf8proc
+
+Files: *
+Copyright: 2009, 2013 Public Software Group e. V., Berlin, Germany
+           2014-2018 Steven G. Johnson, Jiahao Chen, Tony Kelman,
+                     Jonas Fonseca, and other contributors
+License: Expat
+
+Files: data/data_generator.rb
+Copyright: 2009 Public Software Group e. V., Berlin, Germany
+           2018 Steven G. Johnson, Tony Kelman, Keno Fischer,
+                Benito van der Zander, MichaĆ«l Meyer, and other contributors
+           1991-2007 Unicode, Inc.
+License: Expat and Unicode
+
+Files: utf8proc_data.c
+Copyright: 1991-2007 Unicode, Inc.
+License: Unicode
+
+Files: debian/*
+Copyright: 2015-2016 Peter Colberg <peter@colberg.org>
+           2017-2018 Graham Inggs <ginggs@debian.org>
+           2019-2020 Mo Zhou <lumin@debian.org>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License: Unicode
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of the Unicode data files and any associated documentation (the "Data
+ Files") or Unicode software and any associated documentation (the
+ "Software") to deal in the Data Files or Software without restriction,
+ including without limitation the rights to use, copy, modify, merge,
+ publish, distribute, and/or sell copies of the Data Files or Software, and
+ to permit persons to whom the Data Files or Software are furnished to do
+ so, provided that (a) the above copyright notice(s) and this permission
+ notice appear with all copies of the Data Files or Software, (b) both the
+ above copyright notice(s) and this permission notice appear in associated
+ documentation, and (c) there is clear notice in each modified Data File or
+ in the Software as well as in the documentation associated with the Data
+ File(s) or Software that the data or software has been modified.
+ .
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
+ THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
+ INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
+ CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
+ USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THE DATA FILES OR SOFTWARE.
+ .
+ Except as contained in this notice, the name of a copyright holder shall
+ not be used in advertising or otherwise to promote the sale, use or other
+ dealings in these Data Files or Software without prior written
+ authorization of the copyright holder.
diff --git a/docs b/docs
new file mode 100644 (file)
index 0000000..b43bf86
--- /dev/null
+++ b/docs
@@ -0,0 +1 @@
+README.md
diff --git a/gbp.conf b/gbp.conf
new file mode 100644 (file)
index 0000000..cec628c
--- /dev/null
+++ b/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/libutf8proc-dev.install b/libutf8proc-dev.install
new file mode 100644 (file)
index 0000000..76f28fa
--- /dev/null
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/*/lib*.a
+usr/lib/*/lib*.so
+usr/lib/*/pkgconfig/*
diff --git a/libutf8proc2.install b/libutf8proc2.install
new file mode 100644 (file)
index 0000000..3ddde58
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/libutf8proc2.symbols b/libutf8proc2.symbols
new file mode 100644 (file)
index 0000000..a036d1e
--- /dev/null
@@ -0,0 +1,32 @@
+libutf8proc.so.2 libutf8proc2 #MINVER#
+* Build-Depends-Package: libutf8proc-dev
+ utf8proc_NFC@Base 1.3
+ utf8proc_NFD@Base 1.3
+ utf8proc_NFKC@Base 1.3
+ utf8proc_NFKC_Casefold@Base 2.2
+ utf8proc_NFKD@Base 1.3
+ utf8proc_category@Base 1.3
+ utf8proc_category_string@Base 1.3
+ utf8proc_charwidth@Base 1.3
+ utf8proc_codepoint_valid@Base 1.3
+ utf8proc_decompose@Base 1.3
+ utf8proc_decompose_char@Base 1.3
+ utf8proc_decompose_custom@Base 2.1
+ utf8proc_encode_char@Base 1.3
+ utf8proc_errmsg@Base 1.3
+ utf8proc_get_property@Base 1.3
+ utf8proc_grapheme_break@Base 1.3
+ utf8proc_grapheme_break_stateful@Base 2.0
+ utf8proc_islower@Base 2.6.0
+ utf8proc_isupper@Base 2.6.0
+ utf8proc_iterate@Base 1.3
+ utf8proc_map@Base 1.3
+ utf8proc_map_custom@Base 2.1
+ utf8proc_normalize_utf32@Base 2.1
+ utf8proc_reencode@Base 1.3
+ utf8proc_tolower@Base 1.3
+ utf8proc_totitle@Base 2.0
+ utf8proc_toupper@Base 1.3
+ utf8proc_unicode_version@Base 2.3.0
+ utf8proc_utf8class@Base 1.3
+ utf8proc_version@Base 1.3
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..6216540
--- /dev/null
@@ -0,0 +1 @@
+use-unicode-data.patch
diff --git a/patches/use-unicode-data.patch b/patches/use-unicode-data.patch
new file mode 100644 (file)
index 0000000..f550ee4
--- /dev/null
@@ -0,0 +1,61 @@
+Description: Use unicode-data instead of downloading external files
+ Replace external links with copies of Unicode data and GNU Unifont
+ provided by the packages unicode-data and ttf-unifont, respectively.
+Author: Peter Colberg <peter@colberg.org>
+Forwarded: not-needed
+Last-Update: 2021-12-22
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: utf8proc/data/Makefile
+===================================================================
+--- utf8proc.orig/data/Makefile
++++ utf8proc/data/Makefile
+@@ -25,37 +25,37 @@ CharWidths.txt: charwidths.jl EastAsianW
+ UNICODE_VERSION=15.0.0
+ UnicodeData.txt:
+-      $(CURL) $(CURLFLAGS) -o $@ https://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/UnicodeData.txt
++      cp /usr/share/unicode/UnicodeData.txt $@
+ EastAsianWidth.txt:
+-      $(CURL) $(CURLFLAGS) -o $@ $(URLCACHE)https://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/EastAsianWidth.txt
++      cp /usr/share/unicode/extracted/DerivedEastAsianWidth.txt $@
+ GraphemeBreakProperty.txt:
+-      $(CURL) $(CURLFLAGS) -o $@ $(URLCACHE)https://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/auxiliary/GraphemeBreakProperty.txt
++      cp /usr/share/unicode/auxiliary/GraphemeBreakProperty.txt $@
+ DerivedCoreProperties.txt:
+-      $(CURL) $(CURLFLAGS) -o $@ $(URLCACHE)https://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/DerivedCoreProperties.txt
++      cp /usr/share/unicode/DerivedCoreProperties.txt $@
+ CompositionExclusions.txt:
+-      $(CURL) $(CURLFLAGS) -o $@ $(URLCACHE)https://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/CompositionExclusions.txt
++      cp /usr/share/unicode/CompositionExclusions.txt $@
+ CaseFolding.txt:
+-      $(CURL) $(CURLFLAGS) -o $@ $(URLCACHE)https://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/CaseFolding.txt
++      cp /usr/share/unicode/CaseFolding.txt $@
+ NormalizationTest.txt:
+-      $(CURL) $(CURLFLAGS) -o $@ $(URLCACHE)https://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/NormalizationTest.txt
++      bzip2 -d < /usr/share/unicode/NormalizationTest.txt.bz2 > $@
+ GraphemeBreakTest.txt:
+-      $(CURL) $(CURLFLAGS) -o $@ $(URLCACHE)https://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/auxiliary/GraphemeBreakTest.txt
++      cp /usr/share/unicode/auxiliary/GraphemeBreakTest.txt $@
+ emoji-data.txt:
+-      $(CURL) $(CURLFLAGS) -o $@ $(URLCACHE)https://unicode.org/Public/$(UNICODE_VERSION)/ucd/emoji/emoji-data.txt
++      cp /usr/share/unicode/emoji/emoji-data.txt $@
+ Uppercase.txt: DerivedCoreProperties.txt
+-      $(RUBY) -e 'puts File.read("DerivedCoreProperties.txt")[/# Derived Property: Uppercase.*?# Total code points:/m]' > $@
++      grep -zoP '(?s)# Derived Property: Uppercase.*?# Total code points:' DerivedCoreProperties.txt > $@
+ Lowercase.txt: DerivedCoreProperties.txt
+-      $(RUBY) -e 'puts File.read("DerivedCoreProperties.txt")[/# Derived Property: Lowercase.*?# Total code points:/m]' > $@
++      grep -zoP '(?s)# Derived Property: Lowercase.*?# Total code points:' DerivedCoreProperties.txt > $@
+ clean:
+       rm -f UnicodeData.txt EastAsianWidth.txt GraphemeBreakProperty.txt DerivedCoreProperties.txt CompositionExclusions.txt CaseFolding.txt NormalizationTest.txt GraphemeBreakTest.txt CharWidths.txt emoji-data.txt
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..51e4d29
--- /dev/null
+++ b/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+%:
+       dh $@ --no-parallel
+
+override_dh_auto_install:
+       dh_auto_install -- prefix=/usr libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
+
+override_dh_installchangelogs:
+       dh_installchangelogs NEWS.md
diff --git a/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/tests/Makefile b/tests/Makefile
new file mode 100644 (file)
index 0000000..dc3ce80
--- /dev/null
@@ -0,0 +1,43 @@
+# libutf8proc Makefile
+
+UCFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) \
+         $(shell dpkg-buildflags --get CFLAGS)
+
+all: check
+         
+test/tests.o: test/tests.c test/tests.h utf8proc.h
+       $(CC) $(UCFLAGS) -c -o test/tests.o test/tests.c
+
+test/normtest: test/normtest.c test/tests.o  utf8proc.h test/tests.h
+       $(CC) $(UCFLAGS) $(LDFLAGS) test/normtest.c test/tests.o -lutf8proc -o $@
+
+test/graphemetest: test/graphemetest.c test/tests.o  utf8proc.h test/tests.h
+       $(CC) $(UCFLAGS) $(LDFLAGS) test/graphemetest.c test/tests.o  -lutf8proc -o $@
+
+test/printproperty: test/printproperty.c test/tests.o  utf8proc.h test/tests.h
+       $(CC) $(UCFLAGS) $(LDFLAGS) test/printproperty.c test/tests.o  -lutf8proc -o $@
+
+test/charwidth: test/charwidth.c test/tests.o  utf8proc.h test/tests.h
+       $(CC) $(UCFLAGS) $(LDFLAGS) test/charwidth.c test/tests.o  -lutf8proc -o $@
+
+test/valid: test/valid.c test/tests.o  utf8proc.h test/tests.h
+       $(CC) $(UCFLAGS) $(LDFLAGS) test/valid.c test/tests.o  -lutf8proc -o $@
+
+test/iterate: test/iterate.c test/tests.o  utf8proc.h test/tests.h
+       $(CC) $(UCFLAGS) $(LDFLAGS) test/iterate.c test/tests.o  -lutf8proc -o $@
+
+test/case: test/case.c test/tests.o  utf8proc.h test/tests.h
+       $(CC) $(UCFLAGS) $(LDFLAGS) test/case.c test/tests.o  -lutf8proc -o $@
+
+test/custom: test/custom.c test/tests.o  utf8proc.h test/tests.h
+       $(CC) $(UCFLAGS) $(LDFLAGS) test/custom.c test/tests.o  -lutf8proc -o $@
+
+test/misc: test/misc.c test/tests.o  utf8proc.h test/tests.h
+       $(CC) $(UCFLAGS) $(LDFLAGS) -DUNICODE_VERSION='"'`$(PERL) -ne "/^UNICODE_VERSION=/ and print $$';" data/Makefile`'"' test/misc.c test/tests.o  -lutf8proc -o $@
+
+check: test/normtest test/graphemetest test/printproperty test/case test/custom test/charwidth test/misc test/valid test/iterate bench/util.c bench/util.h 
+       test/charwidth
+       test/valid
+       test/iterate
+       test/case
+       test/custom
diff --git a/tests/control b/tests/control
new file mode 100644 (file)
index 0000000..bab61c2
--- /dev/null
@@ -0,0 +1,7 @@
+Test-Command: make -f debian/tests/Makefile
+Depends: @, build-essential
+Restrictions: allow-stderr, build-needed
+
+Test-Command: /bin/true
+Depends: unicode-data
+Restrictions: hint-testsuite-triggers
diff --git a/upstream/metadata b/upstream/metadata
new file mode 100644 (file)
index 0000000..b0e3028
--- /dev/null
@@ -0,0 +1,4 @@
+Bug-Database: https://github.com/JuliaStrings/utf8proc/issues
+Bug-Submit: https://github.com/JuliaStrings/utf8proc/issues/new
+Repository: https://github.com/JuliaStrings/utf8proc.git
+Repository-Browse: https://github.com/JuliaStrings/utf8proc
diff --git a/watch b/watch
new file mode 100644 (file)
index 0000000..e508d56
--- /dev/null
+++ b/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/utf8proc-$1\.tar\.gz/ \
+https://github.com/JuliaStrings/utf8proc/tags .*/v?(\d\S*)\.tar\.gz