This is a Debian patch file for "enca" 1.13. This patch file was ob- tained originally from: http://ftp.debian.org/debian/pool/main/e/enca/\ enca_1.13-1.diff.gz The contents are unchanged except for these comments. --- enca-1.13.orig/debian/libenca0.symbols +++ enca-1.13/debian/libenca0.symbols @@ -0,0 +1,80 @@ +libenca.so.0 libenca0 #MINVER# + ENCA_LANGUAGE_BE@Base 1.9 + ENCA_LANGUAGE_BG@Base 1.9 + ENCA_LANGUAGE_CS@Base 1.9 + ENCA_LANGUAGE_ET@Base 1.9 + ENCA_LANGUAGE_HR@Base 1.9 + ENCA_LANGUAGE_HU@Base 1.9 + ENCA_LANGUAGE_LT@Base 1.9 + ENCA_LANGUAGE_LV@Base 1.9 + ENCA_LANGUAGE_PL@Base 1.9 + ENCA_LANGUAGE_RU@Base 1.9 + ENCA_LANGUAGE_SK@Base 1.9 + ENCA_LANGUAGE_SL@Base 1.9 + ENCA_LANGUAGE_UK@Base 1.9 + ENCA_LANGUAGE_ZH@Base 1.9 + ENCA_MULTIBYTE_TESTS_8BIT@Base 1.9 + ENCA_MULTIBYTE_TESTS_8BIT_TOLERANT@Base 1.9 + ENCA_MULTIBYTE_TESTS_ASCII@Base 1.9 + ENCA_MULTIBYTE_TESTS_BINARY@Base 1.9 + enca_analyse@Base 1.9 + enca_analyse_const@Base 1.9 + enca_analyser_alloc@Base 1.9 + enca_analyser_free@Base 1.9 + enca_analyser_language@Base 1.9 + enca_charset_has_ucs2_map@Base 1.9 + enca_charset_name@Base 1.9 + enca_charset_natural_surface@Base 1.9 + enca_charset_properties@Base 1.9 + enca_charset_ucs2_map@Base 1.9 + enca_charsets_subset_identical@Base 1.9 + enca_ctype_data@Base 1.9 + enca_double_utf8_check@Base 1.9 + enca_double_utf8_destroy@Base 1.9 + enca_double_utf8_get_candidates@Base 1.9 + enca_double_utf8_init@Base 1.9 + enca_eol_surface@Base 1.9 + enca_errno@Base 1.9 + enca_filter_boxdraw@Base 1.9 + enca_find_max_sec@Base 1.9 + enca_get_ambiguity@Base 1.9 + enca_get_charset_aliases@Base 1.9 + enca_get_charset_similarity_matrix@Base 1.9 + enca_get_filtering@Base 1.9 + enca_get_garbage_test@Base 1.9 + enca_get_interpreted_surfaces@Base 1.9 + enca_get_language_charsets@Base 1.9 + enca_get_languages@Base 1.9 + enca_get_multibyte@Base 1.9 + enca_get_significant@Base 1.9 + enca_get_surface_name@Base 1.9 + enca_get_termination_strictness@Base 1.9 + enca_get_threshold@Base 1.9 + enca_guess_destroy@Base 1.9 + enca_guess_init@Base 1.9 + enca_language_destroy@Base 1.9 + enca_language_english_name@Base 1.9 + enca_language_hook_eol@Base 1.9 + enca_language_hook_ncs@Base 1.9 + enca_language_init@Base 1.9 + enca_malloc@Base 1.9 + enca_name_to_charset@Base 1.9 + enca_name_to_surface@Base 1.9 + enca_number_of_charsets@Base 1.9 + enca_pair_analyse@Base 1.9 + enca_pair_destroy@Base 1.9 + enca_pair_init@Base 1.9 + enca_parse_encoding_name@Base 1.9 + enca_realloc@Base 1.9 + enca_set_ambiguity@Base 1.9 + enca_set_filtering@Base 1.9 + enca_set_garbage_test@Base 1.9 + enca_set_interpreted_surfaces@Base 1.9 + enca_set_multibyte@Base 1.9 + enca_set_significant@Base 1.9 + enca_set_termination_strictness@Base 1.9 + enca_set_threshold@Base 1.9 + enca_strappend@Base 1.9 + enca_strconcat@Base 1.9 + enca_strdup@Base 1.9 + enca_strerror@Base 1.9 --- enca-1.13.orig/debian/enca.install +++ enca-1.13/debian/enca.install @@ -0,0 +1,3 @@ +usr/bin/* +usr/lib/enca/extconv/* +usr/share/man/man1/* --- enca-1.13.orig/debian/enca.docs +++ enca-1.13/debian/enca.docs @@ -0,0 +1,8 @@ +AUTHORS +FAQ +README +README.devel +TODO +THANKS +ChangeLog.prelib +ChangeLog.old --- enca-1.13.orig/debian/libenca-dev.links +++ enca-1.13/debian/libenca-dev.links @@ -0,0 +1 @@ +usr/share/doc/enca/html/libenca/libenca.devhelp.gz usr/share/devhelp/books/libenca.devhelp.gz --- enca-1.13.orig/debian/changelog +++ enca-1.13/debian/changelog @@ -0,0 +1,123 @@ +enca (1.13-1) unstable; urgency=low + + * New upstream release. + - Fixes data corruption with recode backend (Closes: #568768). + * Bump standards to 3.8.4. + + -- Michal Čihař Tue, 09 Feb 2010 11:48:08 +0100 + +enca (1.12-1) unstable; urgency=low + + * New upstream release. + + -- Michal Čihař Thu, 29 Oct 2009 13:22:13 +0100 + +enca (1.11-1) unstable; urgency=low + + * New upstream version. + * Do not ship static library. + * Do not ship .la. + + -- Michal Čihař Fri, 25 Sep 2009 15:57:02 +0200 + +enca (1.10-1) unstable; urgency=low + + * New upstream version. + - All patches integrated upstream. + * Adjust watch file to new upstream (that's myself). + * Include documentation only in enca binary package. + * Update to standards 3.8.3 (no changes needed). + * Update home page field to new upstream. + * No need for chrpath now. + + -- Michal Čihař Tue, 25 Aug 2009 11:48:42 +0200 + +enca (1.9-8) unstable; urgency=low + + * Update config.{sub,guess} files (Closes: #535730). + * Update to standards 3.8.2 (no changes needed). + * We need debhelper at least 7.0.50 for overrides. + * Strip rpath from binary. + + -- Michal Čihař Tue, 07 Jul 2009 09:12:42 +0200 + +enca (1.9-7) unstable; urgency=low + + * Added patch to fix detection of charset in Belarussian (Closes: #523606). + * Use quilt to apply above patch. + * Convert to debhelper 7. + * Update to standards 3.8.1 (no changes needed). + * Add ${misc:Depends} to all packages. + * Fix duplicate Section statements in debian/control. + * Update debian/copyright. + * Add symbols file for libenca0. + * Add libenca-dbg package with debugger symbols. + + -- Michal Čihař Tue, 14 Apr 2009 15:59:42 +0200 + +enca (1.9-6) unstable; urgency=low + + * Adjusted Vcs-* headers to point to trunk. + * Fix spelling of Belarusian language (Closes: #466592). + * Fix doc-base section to Programming/C. + + -- Michal Čihař Fri, 14 Mar 2008 13:29:31 +0100 + +enca (1.9-5) unstable; urgency=low + + * Disable rpath inclusion. + * Do not clutter diff by config.sub and config.guess changes. + * Move homepage from spam site to download location (Closes: #460011). + * Upstream is not actively maintaining this package anymore. + + -- Michal Čihař Thu, 10 Jan 2008 16:34:29 +0900 + +enca (1.9-4) unstable; urgency=low + + * Do not ignore errors from make distclean. + * Use new Homepage field. + * Convert XS-Vcs fields to Vcs. + * Drop not needed debian/*dirs. + * Point to GPL-2 in debian/copyright. + * Added support for nocheck in DEB_BUILD_OPTIONS. + * Update policy to 3.7.3. + + -- Michal Čihař Fri, 07 Dec 2007 11:30:11 +0900 + +enca (1.9-3) unstable; urgency=low + + * Add XS-Vcs headers. + * Make package binNMUable. + + -- Michal Čihař Wed, 18 Apr 2007 15:56:22 +0200 + +enca (1.9-2) unstable; urgency=low + + * Fix debian/copyright to match that upstream is GPL v2 only (thanks to + Christoph Berg). + * Change my email address. + * Build with recode support. + * Increase standards to 3.7.2.2, no changes needed. + + -- Michal Čihař Thu, 12 Apr 2007 11:38:00 +0200 + +enca (1.9-1) unstable; urgency=low + + * New upstream version. + + -- Michal Čihař Sat, 24 Dec 2005 12:59:10 +0100 + +enca (1.8-1) unstable; urgency=low + + * New upstream release, adds Chinesse support. + * Added year to debian/copyright. + + -- Michal Čihař Tue, 29 Nov 2005 22:01:22 +0100 + +enca (1.7-1) unstable; urgency=low + + * Initial release. (Closes: #159715: ITP: enca -- Extremely Naive + Charset Analyser) + + -- Michal Čihař Mon, 5 Sep 2005 00:17:43 +0200 + --- enca-1.13.orig/debian/copyright +++ enca-1.13/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Michal Čihař on +Mon, 5 Sep 2005 00:14:42 +0200. + +It was downloaded from http://dl.cihar.com/MIRROR/enca/ + +Copyright: Copyright 2000-2005 David Nečas (Yeti) + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General Public License +version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is Copyright (C) 2005 - 2009, Michal Čihař + and is licensed under the GPL, see above. --- enca-1.13.orig/debian/clean +++ enca-1.13/debian/clean @@ -0,0 +1,3 @@ +po/*.gmo +config.sub +config.guess --- enca-1.13.orig/debian/control +++ enca-1.13/debian/control @@ -0,0 +1,58 @@ +Source: enca +Priority: optional +Maintainer: Michal Čihař +Build-Depends: debhelper (>= 7.0.50), autotools-dev, librecode-dev +Standards-Version: 3.8.4 +Section: text +Vcs-Svn: svn://svn.cihar.com/debian-enca/trunk +Vcs-Browser: http://viewsvn.cihar.com/debian-enca/trunk +Homepage: http://gitorious.org/enca + +Package: enca +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: cstocs +Description: Extremely Naive Charset Analyser - binaries + Enca is an Extremely Naive Charset Analyser. It detects character set and + encoding of text files and can also convert them to other encodings using + either a built-in converter or external libraries and tools like libiconv, + librecode, or cstocs. + . + Currently it supports Belarusian, Bulgarian, Croatian, Czech, + Estonian, Hungarian, Latvian, Lithuanian, Polish, Russian, Slovak, + Slovene, Ukrainian, Chinese, and some multibyte encodings independently + on language. + +Package: libenca0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Extremely Naive Charset Analyser - shared library files + Enca is an Extremely Naive Charset Analyser. It detects character set and + encoding of text files and can also convert them to other encodings. + . + This package contains shared library needed to run applications compiled + against libenca. + +Package: libenca-dev +Section: libdevel +Architecture: any +Depends: libenca0 (= ${binary:Version}), ${misc:Depends} +Description: Extremely Naive Charset Analyser - development files + Enca is an Extremely Naive Charset Analyser. It detects character set and + encoding of text files and can also convert them to other encodings. + . + This package contains static library and header files needed for development + with libenca. It also contains API documentation. + +Package: libenca-dbg +Section: debug +Priority: extra +Architecture: any +Depends: libenca0 (= ${binary:Version}), ${misc:Depends} +Description: Extremely Naive Charset Analyser - debug files + Enca is an Extremely Naive Charset Analyser. It detects character set and + encoding of text files and can also convert them to other encodings. + . + This package contains debugger symbols useful for debugging problems with + this library. --- enca-1.13.orig/debian/watch +++ enca-1.13/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://dl.cihar.com/enca/enca-(.*)\.tar\.gz + --- enca-1.13.orig/debian/compat +++ enca-1.13/debian/compat @@ -0,0 +1 @@ +7 --- enca-1.13.orig/debian/libenca-dev.install +++ enca-1.13/debian/libenca-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/lib*.so +usr/lib/pkgconfig/* +usr/share/doc/enca/html/libenca/* --- enca-1.13.orig/debian/libenca-dev.doc-base +++ enca-1.13/debian/libenca-dev.doc-base @@ -0,0 +1,13 @@ +Document: libenca-api +Title: Enca Library Reference Manual +Author: David Necas (Yeti), yeti@physics.muni.cz +Abstract: This manual describes libenca API + and how it can be used to + create programs using the library to detect + encoding of text files. +Section: Programming/C + +Format: HTML +Index: /usr/share/doc/enca/html/libenca/index.html +Files: /usr/share/doc/enca/html/libenca/*.html + --- enca-1.13.orig/debian/rules +++ enca-1.13/debian/rules @@ -0,0 +1,53 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +override_dh_auto_configure: + cp -f /usr/share/misc/config.guess . + cp -f /usr/share/misc/config.sub . + CFLAGS="$(CFLAGS)" dh_auto_configure -- \ + --with-html-dir=\$${prefix}/share/doc/enca/html \ + --libexecdir=\$${prefix}/lib \ + --with-librecode \ + --with-libiconv \ + --disable-static \ + --disable-rpath + +override_dh_strip: + dh_strip --dbg-package=libenca-dbg + +build: + dh build + +clean: + dh clean + +install: build + dh install + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do here + +# Build architecture-dependent files here. +binary-arch: build install + dh binary-arch + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- enca-1.13.orig/debian/libenca0.install +++ enca-1.13/debian/libenca0.install @@ -0,0 +1 @@ +usr/lib/lib*.so.*