--- liblouis-2.4.1.orig/debian/liblouis-bin.install +++ liblouis-2.4.1/debian/liblouis-bin.install @@ -0,0 +1 @@ +usr/bin/* --- liblouis-2.4.1.orig/debian/examples +++ liblouis-2.4.1/debian/examples @@ -0,0 +1,2 @@ +tools/lou_translate.c +tools/lou_allround.c --- liblouis-2.4.1.orig/debian/info +++ liblouis-2.4.1/debian/info @@ -0,0 +1 @@ +doc/liblouis.info --- liblouis-2.4.1.orig/debian/liblouis-dev.install +++ liblouis-2.4.1/debian/liblouis-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/*/lib*.a +usr/lib/*/lib*.so +usr/lib/*/pkgconfig/* --- liblouis-2.4.1.orig/debian/changelog +++ liblouis-2.4.1/debian/changelog @@ -0,0 +1,184 @@ +liblouis (2.4.1-1) unstable; urgency=low + + * New upstream release. + * control: Bump Standards-Version to 3.9.3 (no changes). + + -- Samuel Thibault Sun, 26 Feb 2012 21:03:21 +0100 + +liblouis (2.4.0-1) unstable; urgency=low + + * New upstream release + - copyright: Update. + * rules: Add build-indep and build-arch targets. + * control: Depend on hardening-check. + * rules: Set DEB_BUILD_HARDENING=1 to enable hardening. + + -- Samuel Thibault Sat, 04 Feb 2012 23:51:57 +0100 + +liblouis (2.3.0-3) unstable; urgency=low + + [ Samuel Thibault ] + * debian/liblouis-dev.install: Move pkg-config file to multiarch place. + + [ Barry Warsaw ] + * Switch to dh_python2 (Closes: Bug#635442) (LP: #788514) + + -- Samuel Thibault Thu, 11 Aug 2011 03:51:30 +0200 + +liblouis (2.3.0-2) unstable; urgency=low + + * debian/rules: Set libdir to DEB_HOST_MULTIARCH. + * debian/control: Make liblouis2 pre-depend on multiarch-support. + + -- Samuel Thibault Sun, 05 Jun 2011 12:34:49 +0200 + +liblouis (2.3.0-1) unstable; urgency=low + + * New upstream release. + * Cherry-pick r448 and r449 from upstream, to fix make check timeouts and + hung processes + * debian/control: + - Set liblouis-data Multi-Arch: foreign. + - Build-depend on dpkg-dev (>= 1.16) + * Bump Standards-Version to 3.9.2 + + -- Samuel Thibault Mon, 09 May 2011 23:40:10 +0200 + +liblouis (2.2.0-1) unstable; urgency=low + + * New upstream release (Closes: Bug#614568). + * debian/copyright: Update. + + -- Samuel Thibault Sun, 30 Jan 2011 17:38:29 +0100 + +liblouis (2.0.0-2) unstable; urgency=low + + * debian/watch: Replace googlecode URL with abilitiessoft.com URL. + * debian/gbp.conf: Add git-buildpackage configuration file. + + -- Samuel Thibault Fri, 20 Aug 2010 20:04:37 +0200 + +liblouis (2.0.0-1) unstable; urgency=low + + * New upstream release. + * debian/control: Bump Standards-Version to 3.9.1 (no change needed). + * debian/rules: Do not stop build on make check error. + + -- Samuel Thibault Tue, 27 Jul 2010 02:42:36 +0200 + +liblouis (1.8.0-1) unstable; urgency=low + + * New upstream release (Closes: Bug#563673). + * debian/control: + - Drop duplicate Section: libs field. + - Add help2man Build-Depends. + - Rename liblouis0 package to liblouis2 due to soname change. + * debian/rules: + - Automatically copy config.{sub,guess} from autotools-dev + (Closes: Bug#563485). + - Remove python/build on clean. + * debian/lou_*.1: Remove manpages, upstream now have some. + * debian/copyright: Fix copyright sign. + * debian/liblouis-dev.doc-base: Add. + + -- Samuel Thibault Tue, 12 Jan 2010 23:48:47 +0100 + +liblouis (1.7.0-2) unstable; urgency=low + + * debian/control: Remove python2.4-ctypes build-depends (Closes: + Bug#562480), bump python-all-dev dependency version to >= 2.5. + + -- Samuel Thibault Sun, 27 Dec 2009 02:57:36 +0100 + +liblouis (1.7.0-1) unstable; urgency=low + + New upstream release. + + [ Loïc Minier ] + * Don't override LD_LIBRARY_PATH completely as this breaks fakeroot. + * Add ${misc:Depends}. + * Run testsuite during build by default. + * Stop installing *.la files in liblouis-dev; the only package + build-depending on liblouis-dev (recursively) is liblouisxml-dev + so that's fine. + * Cleanup rules. + * Add ${shlibs:Depends} to liblouis-dev and python-louis. + * Fix copyright to mention licensing of tools (GPLv2 or later). + + [ Cyril Brulebois ] + * Merge Loïc's patches (and tweak some of them), thanks! + + [ Samuel Thibault ] + * rules: Install libraries to /usr/lib/$(DEB_HOST_GNU_TYPE), but not the + pkgconfig file. + * control: Add Multi-Arch: foreign to liblouis-bin, same to liblouis0. + * Fix LD_LIBRARY_PATH change + * Disable the present_progressive test, as it is known upstream that it + fails. + * debian/control: Bump Standards-Version to 3.8.3 (no change needed). + * debian/lou_checkhyphens.1: New manpage. + + -- Samuel Thibault Sat, 22 Aug 2009 15:52:10 +0200 + +liblouis (1.6.2.0-2) unstable; urgency=low + + * Add texinfo to Build-Depends, fixing FTBFS with missing makeinfo + command, before it gets reported. :) + * Add myself to Uploaders. + + -- Cyril Brulebois Wed, 29 Jul 2009 06:25:24 +0200 + +liblouis (1.6.2.0-1) unstable; urgency=low + + * New upstream release. + * examples: use lou_translate.c and lou_allround.c as examples + (Closes: #535454). + * Include some python examples in pydoc louis. + + -- Samuel Thibault Wed, 29 Jul 2009 01:40:24 +0200 + +liblouis (1.6.1-3) unstable; urgency=low + + [ Samuel Thibault ] + * control: make python-louis's dependency on liblouis0 versioned in case new + functions are added. + + [ Cyril Brulebois ] + * Get rid of XB-Python-Version, useless with python-support. + * Get rid of debian/*.dirs, dh_install does the right thing. + * Fix watch file: trying to match just the basename of the tarball + fails, it looks like it's needed to consider any possible path in + front of it. + + -- Samuel Thibault Sun, 28 Jun 2009 01:28:52 +0200 + +liblouis (1.6.1-2) unstable; urgency=low + + * Load the precise library file from the python bindings (Closes: #530608). + Thanks Cyril Brulebois for the patch! + * Since the python package is called louis and not liblouis, rename package + python-liblouis into python-louis to meet the Debian Python Policy and fix + ${python:Depends} generation (no reverse dependency exist). Make it + Architecture: any instead of all as different systems may have different + liblouis library file names. + * control: Change my email, remove DM-Upload-Allowed, add Vcs-Git and + Vcs-Browser. + * pycompat: Remove, useless with python-support. + * Bump Standards-Version to 3.8.2 (no change needed). + + -- Samuel Thibault Sat, 27 Jun 2009 21:48:19 +0200 + +liblouis (1.6.1-1) unstable; urgency=low + + * New upstream bugfix release. + * Bump Standards-Version to 3.8.1, no changes needed. + * Set CFLAGS to -O2 unless noopt is given in DEB_BUILD_OPTIONS. + * Build liblouis-data in binary-indep instead of binary-arch. + + -- Samuel Thibault Tue, 21 Apr 2009 00:00:00 +0200 + +liblouis (1.6.0-1) unstable; urgency=low + + * Initial release (Closes: #513632). + + -- Samuel Thibault Sat, 07 Mar 2009 23:03:22 +0100 --- liblouis-2.4.1.orig/debian/rules +++ liblouis-2.4.1/debian/rules @@ -0,0 +1,116 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) +CROSS := --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else +CROSS := --build $(DEB_BUILD_GNU_TYPE) +endif + +ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS += -O0 +else +CFLAGS += -O2 +endif + +export DEB_BUILD_HARDENING=1 + +maybe_check = $(if $(findstring nocheck,$(DEB_BUILD_OPTIONS)),,check) + +PYVERS := $(shell pyversions -r) + +config.status: configure + dh_testdir + cp -f /usr/share/misc/config.sub build-aux/config.sub + cp -f /usr/share/misc/config.guess build-aux/config.guess + ./configure $(CROSS) --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --enable-ucs4 + + +build: build-indep build-arch +build-indep: build-stamp +build-arch: build-stamp +build-stamp: config.status + dh_testdir + $(MAKE) + cd python; \ + for py in $(PYVERS); do \ + LD_LIBRARY_PATH=../liblouis/.libs$${LD_LIBRARY_PATH+:$$LD_LIBRARY_PATH} $$py setup.py build; \ + done + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp check-stamp + [ ! -f Makefile ] || $(MAKE) distclean + -cd python; \ + for py in $(PYVERS); do \ + LD_LIBRARY_PATH=../liblouis/.libs$${LD_LIBRARY_PATH+:$$LD_LIBRARY_PATH} $$py setup.py clean --all; \ + done; \ + rm -f louis/__init__.pyc + rm -f doc/liblouis.info doc/stamp-vti doc/version.texi + rm -f build-aux/config.sub + rm -f build-aux/config.guess + rm -fr python/build + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + cd python; \ + for py in $(PYVERS); do \ + LD_LIBRARY_PATH=../liblouis/.libs$${LD_LIBRARY_PATH+:$$LD_LIBRARY_PATH} $$py setup.py install --root=$(CURDIR)/debian/python-louis; \ + done + +check: check-stamp +check-stamp: + -$(MAKE) check + touch $@ + +binary-arch: export DH_OPTIONS=-s +binary-arch: build install $(maybe_check) + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_install + dh_installman + dh_installinfo + dh_python2 + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: export DH_OPTIONS=-i +binary-indep: build install $(maybe_check) + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_install + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +get-orig-source: + uscan --verbose --rename --repack --force-download + +binary: binary-indep binary-arch +.PHONY: build build-indep build-arch clean binary-indep binary-arch binary install --- liblouis-2.4.1.orig/debian/liblouis2.install +++ liblouis-2.4.1/debian/liblouis2.install @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* --- liblouis-2.4.1.orig/debian/control +++ liblouis-2.4.1/debian/control @@ -0,0 +1,78 @@ +Source: liblouis +Priority: extra +Maintainer: Debian Accessibility Team +Uploaders: Samuel Thibault , Cyril Brulebois +Build-Depends: debhelper (>= 7), autotools-dev, pkg-config, python-all-dev (>= 2.6.6-3~), texinfo, help2man, dpkg-dev (>= 1.16), hardening-wrapper +Standards-Version: 3.9.3 +Section: libs +Vcs-Git: git://git.debian.org/git/pkg-a11y/liblouis +Vcs-Browser: http://git.debian.org/?p=pkg-a11y/liblouis.git +Homepage: http://code.google.com/p/liblouis/ + +Package: liblouis-dev +Section: libdevel +Architecture: any +Depends: liblouis2 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} +Description: Braille translation library - static libs and headers + Liblouis is a braille translator and back-translator. It features support for + computer and literary braille, supports contracted and uncontracted translation + for many languages and has support for hyphenation. Liblouis also supports + math braille (Nemeth and Marburg). + . + This package contains static libraries and development headers. + +Package: liblouis2 +Architecture: any +Multi-Arch: same +Pre-Depends: multiarch-support +Depends: ${shlibs:Depends}, liblouis-data, ${misc:Depends} +Description: Braille translation library - shared libs + Liblouis is a braille translator and back-translator. It features support for + computer and literary braille, supports contracted and uncontracted translation + for many languages and has support for hyphenation. Liblouis also supports + math braille (Nemeth and Marburg). + . + This package contains shared libraries. + +Package: liblouis-data +Section: text +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends} +Description: Braille translation library - data + Liblouis is a braille translator and back-translator. It features support for + computer and literary braille, supports contracted and uncontracted translation + for many languages and has support for hyphenation. Liblouis also supports + math braille (Nemeth and Marburg). New languages can easily be added through + tables that support a rule- or dictionary based approach. Included are also + tools for testing and debugging tables. + . + This package contains runtime data. + +Package: liblouis-bin +Section: text +Architecture: any +Multi-Arch: foreign +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Braille translation library - utilities + Liblouis is a braille translator and back-translator. It features support for + computer and literary braille, supports contracted and uncontracted translation + for many languages and has support for hyphenation. Liblouis also supports + math braille (Nemeth and Marburg). New languages can easily be added through + tables that support a rule- or dictionary based approach. Included are also + tools for testing and debugging tables. + . + This package contains a few tools to test tables and translate text. + +Package: python-louis +Section: python +Architecture: any +Depends: ${python:Depends}, liblouis2 (>= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} +Provides: ${python:Provides} +Description: Python bindings for liblouis + Liblouis is a braille translator and back-translator. It features support for + computer and literary braille, supports contracted and uncontracted translation + for many languages and has support for hyphenation. Liblouis also supports + math braille (Nemeth and Marburg). + . + This package contains Python bindings. --- liblouis-2.4.1.orig/debian/copyright +++ liblouis-2.4.1/debian/copyright @@ -0,0 +1,88 @@ +This package was debianized by Samuel Thibault on +Fri, 30 Jan 2009 22:41:58 +0100. + +It was downloaded from http://code.google.com/p/liblouis/ + +Upstream Author: + + John J. Boyer + + Dave Mielke and other BRLTTY team members + + Leon Ungier of ViewPlus Technologies + + John Gardner of ViewPlus Technologies + + Yuemei Sun of ViewPlus Technologies + + Eitan Isaacson + + Alastair Irving + + Christian Egli + + James Teh + + Michel Such + +Copyright: + + Copyright (C) 1999-2008 by the BRLTTY Team + Copyright (C) 2004-2009 ViewPlus Technologies, Inc. `www.viewplus.com'. + Copyright (C) 2004 Computers to Help People, Inc., www.chpi.org + Copyright (C) 2007,2008 JJB Software, Inc. `www.jjb-software.com'. + Copyright (C) 2010 Leon Ungier + Copyright (C) 2010 Mohammed R. Ramadan + Copyright (C) 2010, 2012 Samuel Thibault + Copyright (c) 2010 by DocArch + Copyright (C) 2009-2010 INIB (Iceland National Institute for the Blind) + Copyright (C) 2010 by Swiss Library for the Blind, Visually Impaired and Print Disabled + Copyright (C) 2011 by Mesar Hameed + Copyright (C) 2011 by Abdolamir Banisaeid + Copyright (C) 2011 by Bert Frees + Copyright (C) 2011 by Jan Halousek + + When not otherwise specified, files are under the LGPL version 3 or later: + +License: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser 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 Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + + The tools below the tools/ directory are under the GPL version 2 or later: + +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; either version 2 of the License, or + (at your option) any later version. + + 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 can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is © 2009, Samuel Thibault and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- liblouis-2.4.1.orig/debian/docs +++ liblouis-2.4.1/debian/docs @@ -0,0 +1,4 @@ +NEWS +README +doc/liblouis.html +doc/liblouis.txt --- liblouis-2.4.1.orig/debian/compat +++ liblouis-2.4.1/debian/compat @@ -0,0 +1 @@ +7 --- liblouis-2.4.1.orig/debian/gbp.conf +++ liblouis-2.4.1/debian/gbp.conf @@ -0,0 +1,3 @@ +[git-import-orig] +upstream-branch = upstream-import +debian-branch = upstream --- liblouis-2.4.1.orig/debian/watch +++ liblouis-2.4.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.abilitiessoft.com/downloads.html liblouis-(.*)\.tar\.gz --- liblouis-2.4.1.orig/debian/liblouis-dev.doc-base +++ liblouis-2.4.1/debian/liblouis-dev.doc-base @@ -0,0 +1,15 @@ +Document: liblouis +Title: Programmer API for the liblouis Braille translation library +Author: John J. Boyer +Abstract: This manual describes the liblouis translator library: + - for the end user + - for braille tables writers + - for developers using the API of the library +Section: Programming/C + +Format: HTML +Index: /usr/share/doc/liblouis-dev/liblouis.html +Files: /usr/share/doc/liblouis-dev/liblouis.html + +Format: text +Files: /usr/share/doc/liblouis-dev/liblouis.txt.gz --- liblouis-2.4.1.orig/debian/liblouis-bin.manpages +++ liblouis-2.4.1/debian/liblouis-bin.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/*.1 --- liblouis-2.4.1.orig/debian/liblouis-data.install +++ liblouis-2.4.1/debian/liblouis-data.install @@ -0,0 +1 @@ +usr/share/liblouis/tables --- liblouis-2.4.1.orig/python/louis/__init__.py.in +++ liblouis-2.4.1/python/louis/__init__.py.in @@ -29,6 +29,23 @@ @author: James Teh @author: Eitan Isaacson @author: Michael Whapples + +>>> import louis + +Show a US grade2 translation of a unicode string with no typeform +information: +>>> louis.translateString(['en-us-g2.ctb'], u'Hello world', None, 0) +u',hello _w' + +Now do a translation using bold for the string: +>>> louis.translateString(['en-us-g2.ctb'], u'Hello world', +[louis.bold]*11, 0) +u',hello __w' + +Now do a translation using cursor position: +>>> louis.translate(['en-us-g2.ctb'], u'Hello world', None, 5, 0) +(u',hello _w', [0, 0, 1, 2, 3, 4, 5, 6, 6], [1, 2, 3, 4, 5, 6, 7, 7, 7, +7, 7], 6) """ from ctypes import *