Import utf8proc_2.0.2-1.debian.tar.xz
authorPeter Colberg <peter@colberg.org>
Sun, 31 Jul 2016 03:21:18 +0000 (04:21 +0100)
committerPeter Colberg <peter@colberg.org>
Sun, 31 Jul 2016 03:21:18 +0000 (04:21 +0100)
[dgit import tarball utf8proc 2.0.2-1 utf8proc_2.0.2-1.debian.tar.xz]

14 files changed:
changelog [new file with mode: 0644]
compat [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]
watch [new file with mode: 0644]

diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..a2c3369
--- /dev/null
+++ b/changelog
@@ -0,0 +1,31 @@
+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/compat b/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+9
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..e968d92
--- /dev/null
+++ b/control
@@ -0,0 +1,38 @@
+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>
+Build-Depends: debhelper (>= 9),
+               perl,
+               unicode-data (<< 9.1),
+               unicode-data (>= 9.0)
+Standards-Version: 3.9.8
+Section: libs
+Homepage: http://julialang.org/utf8proc/
+Vcs-Git: https://anonscm.debian.org/git/pkg-julia/utf8proc.git
+Vcs-Browser: https://anonscm.debian.org/git/pkg-julia/utf8proc.git
+
+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..85f1dda
--- /dev/null
+++ b/copyright
@@ -0,0 +1,71 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: utf8proc
+Source: http://julialang.org/utf8proc/
+
+Files: *
+Copyright: 2009, 2013 Public Software Group e. V., Berlin, Germany
+           2014-2015 Steven G. Johnson, Jiahao Chen, Peter Colberg, Tony Kelman, Scott P. Jones, and other contributors: https://github.com/JuliaLang/utf8proc/contributors
+License: Expat
+
+Files: data/data_generator.rb
+Copyright: 2009, 2013 Public Software Group e. V., Berlin, Germany
+           1991-2007 Unicode, Inc.
+License: Expat and Unicode
+
+Files: utf8proc_data.c
+Copyright: 1991-2007 Unicode, Inc.
+License: Unicode
+
+Files: debian/*
+Copyright: 2015 Peter Colberg <peter@colberg.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..a3c8f6c
--- /dev/null
@@ -0,0 +1,3 @@
+usr/include/*
+usr/lib/*/lib*.a
+usr/lib/*/lib*.so
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..a959dc9
--- /dev/null
@@ -0,0 +1,29 @@
+libutf8proc.so.2 libutf8proc2 #MINVER#
+ utf8proc_NFC@Base 1.3
+ utf8proc_NFD@Base 1.3
+ utf8proc_NFKC@Base 1.3
+ 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_combinations@Base 1.3
+ utf8proc_decompose@Base 1.3
+ utf8proc_decompose_char@Base 1.3
+ 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_iterate@Base 1.3
+ utf8proc_map@Base 1.3
+ utf8proc_properties@Base 1.3
+ utf8proc_reencode@Base 1.3
+ utf8proc_sequences@Base 1.3
+ utf8proc_stage1table@Base 1.3
+ utf8proc_stage2table@Base 1.3
+ utf8proc_tolower@Base 1.3
+ utf8proc_totitle@Base 2.0
+ utf8proc_toupper@Base 1.3
+ 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..ce741f2
--- /dev/null
@@ -0,0 +1,52 @@
+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: 2015-11-01
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/data/Makefile
++++ b/data/Makefile
+@@ -25,6 +25,6 @@
+ unifont.ttf:
+-      $(CURL) $(CURLFLAGS) -o $@ $(URLCACHE)https://mirrors.kernel.org/gnu/unifont/unifont-$(UNIFONT_VERSION)/unifont-$(UNIFONT_VERSION).ttf
++      cp /usr/share/fonts/truetype/unifont/unifont.ttf $@
+ unifont_upper.ttf:
+-      $(CURL) $(CURLFLAGS) -o $@ $(URLCACHE)https://mirrors.kernel.org/gnu/unifont/unifont-$(UNIFONT_VERSION)/unifont_upper-$(UNIFONT_VERSION).ttf
++      cp /usr/share/fonts/truetype/unifont/unifont_upper.ttf $@
+@@ -40,24 +40,24 @@
+ UnicodeData.txt:
+-      $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/UnicodeData.txt
++      cp /usr/share/unicode/UnicodeData.txt $@
+ EastAsianWidth.txt:
+-      $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/EastAsianWidth.txt
++      cp /usr/share/unicode/extracted/DerivedEastAsianWidth.txt $@
+ GraphemeBreakProperty.txt:
+-      $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/auxiliary/GraphemeBreakProperty.txt
++      cp /usr/share/unicode/auxiliary/GraphemeBreakProperty.txt $@
+ DerivedCoreProperties.txt:
+-      $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/DerivedCoreProperties.txt
++      cp /usr/share/unicode/DerivedCoreProperties.txt $@
+ CompositionExclusions.txt:
+-      $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/CompositionExclusions.txt
++      cp /usr/share/unicode/CompositionExclusions.txt $@
+ CaseFolding.txt:
+-      $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/CaseFolding.txt
++      cp /usr/share/unicode/CaseFolding.txt $@
+ NormalizationTest.txt:
+-      $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/NormalizationTest.txt
++      bzip2 -d < /usr/share/unicode/NormalizationTest.txt.bz2 > $@
+ GraphemeBreakTest.txt:
+-      $(CURL) $(CURLFLAGS) $(URLCACHE)http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/auxiliary/GraphemeBreakTest.txt | $(PERL) -pe 's,÷,/,g;s,×,+,g' > $@
++      $(PERL) -pe 's,÷,/,g;s,×,+,g' < /usr/share/unicode/auxiliary/GraphemeBreakTest.txt > $@
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..5ecf933
--- /dev/null
+++ b/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
+
+%:
+       dh $@
+
+override_dh_auto_install:
+       dh_auto_install -- prefix=/usr libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
+
+override_dh_installchangelogs:
+       dh_installchangelogs NEWS.md
+
+get-orig-source:
+       uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-current-version
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/watch b/watch
new file mode 100644 (file)
index 0000000..7964cda
--- /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/JuliaLang/utf8proc/tags .*/v?(\d\S*)\.tar\.gz