--- liblouis-1.6.1.orig/configure +++ liblouis-1.6.1/configure @@ -9904,27 +9904,6 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 9911 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` @@ -13884,27 +13863,6 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 13891 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` @@ -16495,27 +16453,6 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 16502 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` @@ -19114,27 +19051,6 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 19121 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` --- liblouis-1.6.1.orig/debian/lou_debug.1 +++ liblouis-1.6.1/debian/lou_debug.1 @@ -0,0 +1,8 @@ +.TH LOU_DEBUG "1" "March 2009" "Louis Table Debugger" "User Commands" +.SH NAME +lou_debug \- debug a braille translation table +.SH SYNOPSIS +\fBlou_debug\fR \fItablename\fR +.SH DESCRIPTION +.B lou_debug +is intended for debugging liblouis translation tables. --- liblouis-1.6.1.orig/debian/control +++ liblouis-1.6.1/debian/control @@ -0,0 +1,75 @@ +Source: liblouis +Priority: extra +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Debian Accessibility Team +Uploaders: Samuel Thibault +DM-Upload-Allowed: yes +Build-Depends: debhelper (>= 7), autotools-dev, pkg-config, python-all-dev, python-support, python2.4-ctypes, texinfo +Standards-Version: 3.8.1 +Section: libs +Homepage: http://code.google.com/p/liblouis/ + +Package: liblouis-dev +Section: libdevel +Architecture: any +Depends: liblouis0 (= ${binary:Version}) +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: liblouis0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, liblouis-data +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 +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 +Depends: ${shlibs: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-liblouis +Section: python +Architecture: all +Depends: ${python:Depends}, liblouis0 +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +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-1.6.1.orig/debian/changelog +++ liblouis-1.6.1/debian/changelog @@ -0,0 +1,23 @@ +liblouis (1.6.1-1ubuntu1) karmic; urgency=low + + * debian/rules: Add --install-layout=deb to python distutils install command + * revert to upstream version of doc/liblouis.info, as dpkg fails to build a + source package, claiming the file is binary + * debian/control: add texinfo as a build dependency + + -- Luke Yelavich Tue, 05 May 2009 12:40:14 +1000 + +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 Sat, 07 Mar 2009 23:03:22 +0100 + +liblouis (1.6.0-1) unstable; urgency=low + + * Initial release (Closes: #513632). + + -- Samuel Thibault Sat, 07 Mar 2009 23:03:22 +0100 --- liblouis-1.6.1.orig/debian/info +++ liblouis-1.6.1/debian/info @@ -0,0 +1 @@ +doc/liblouis.info --- liblouis-1.6.1.orig/debian/lou_allround.1 +++ liblouis-1.6.1/debian/lou_allround.1 @@ -0,0 +1,8 @@ +.TH LOU_ALLROUND "1" "March 2009" "Louis Allround" "User Commands" +.SH NAME +lou_allround \- liblouis tester +.SH SYNOPSIS +\fBlou_allround\fR +.SH DESCRIPTION +.B lou_allround +tests every capability of the liblouis library. It is completely interactive. --- liblouis-1.6.1.orig/debian/liblouis-bin.manpages +++ liblouis-1.6.1/debian/liblouis-bin.manpages @@ -0,0 +1,4 @@ +debian/lou_allround.1 +debian/lou_checktable.1 +debian/lou_debug.1 +debian/lou_translate.1 --- liblouis-1.6.1.orig/debian/rules +++ liblouis-1.6.1/debian/rules @@ -0,0 +1,107 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +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 + +PYVERS := $(shell pyversions -r) + +config.status: configure + dh_testdir + ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --enable-ucs4 + + +build: build-stamp +build-stamp: config.status + dh_testdir + $(MAKE) + ( \ + cd python ; \ + for py in $(PYVERS); do \ + LD_LIBRARY_PATH=../liblouis/.libs $$py setup.py build; \ + done \ + ) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + -( \ + cd python ; \ + for py in $(PYVERS); do \ + LD_LIBRARY_PATH=../liblouis/.libs $$py setup.py clean --all; \ + done ; \ + rm louis/__init__.pyc \ + ) + 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 $$py setup.py install --root=$(CURDIR)/debian/python-liblouis --install-layout=deb; \ + done \ + ) + + +binary-arch: export DH_OPTIONS=-s +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_install + dh_installman + dh_installinfo + dh_pysupport + 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 + 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 clean binary-indep binary-arch binary install --- liblouis-1.6.1.orig/debian/docs +++ liblouis-1.6.1/debian/docs @@ -0,0 +1,4 @@ +NEWS +README +doc/liblouis.html +doc/liblouis.txt --- liblouis-1.6.1.orig/debian/pycompat +++ liblouis-1.6.1/debian/pycompat @@ -0,0 +1 @@ +2 --- liblouis-1.6.1.orig/debian/lou_translate.1 +++ liblouis-1.6.1/debian/lou_translate.1 @@ -0,0 +1,23 @@ +.TH LOU_TRANSLATE "1" "March 2009" "Louis Translate" "User Commands" +.SH NAME +lou_translate \- translate text into braille +.SH SYNOPSIS +\fBlou_translate\fR -f|-b \fItablename\fR +.SH DESCRIPTION +.B lou_translate +translates whatever is on the standard input unit and prints it on the +standard output unit. It is intended for large-scale testing of the accuracy +of translation and back-translation. +.SH OPTIONS +.PP +The following options are supported: +.TP +\fB-f\fR +forward translation +.TP +\fB-b\fR +backward translation +.SH EXAMPLE +To use it to translate or back-translate a file use a line like +.BR +lou_translate -f en-us-g2.ctb testtrans --- liblouis-1.6.1.orig/debian/liblouis0.install +++ liblouis-1.6.1/debian/liblouis0.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- liblouis-1.6.1.orig/debian/liblouis0.dirs +++ liblouis-1.6.1/debian/liblouis0.dirs @@ -0,0 +1 @@ +usr/lib --- liblouis-1.6.1.orig/debian/watch +++ liblouis-1.6.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://code.google.com/p/liblouis/ liblouis-(.*)\.tar\.gz --- liblouis-1.6.1.orig/debian/copyright +++ liblouis-1.6.1/debian/copyright @@ -0,0 +1,55 @@ +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-2007 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'. + +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 Debian packaging is (C) 2009, Samuel Thibault and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- liblouis-1.6.1.orig/debian/liblouis-bin.install +++ liblouis-1.6.1/debian/liblouis-bin.install @@ -0,0 +1 @@ +usr/bin/* --- liblouis-1.6.1.orig/debian/lou_checktable.1 +++ liblouis-1.6.1/debian/lou_checktable.1 @@ -0,0 +1,10 @@ +.TH LOU_CHECKTABLE "1" "March 2009" "Louis Table Checker" "User Commands" +.SH NAME +lou_checktable \- check a braille translation table +.SH SYNOPSIS +\fBlou_checktable\fR \fItablename\fR +.SH DESCRIPTION +.B lou_checktable +checks a given braille translation table. If the table contains errors, +appropriate messages will be displayed. If there are no errors the message ‘no +errors found.’ will be shown. --- liblouis-1.6.1.orig/debian/liblouis-data.install +++ liblouis-1.6.1/debian/liblouis-data.install @@ -0,0 +1 @@ +usr/share/liblouis/tables --- liblouis-1.6.1.orig/debian/liblouis-dev.install +++ liblouis-1.6.1/debian/liblouis-dev.install @@ -0,0 +1,5 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/pkgconfig/* +usr/lib/*.la --- liblouis-1.6.1.orig/debian/compat +++ liblouis-1.6.1/debian/compat @@ -0,0 +1 @@ +7 --- liblouis-1.6.1.orig/debian/liblouis-dev.dirs +++ liblouis-1.6.1/debian/liblouis-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include