--- apertium-3.0.5.orig/config.guess +++ apertium-3.0.5/config.guess @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. -timestamp='2006-07-02' +timestamp='2007-07-22' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -161,6 +161,7 @@ arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched @@ -329,7 +330,7 @@ sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; - i86pc:SunOS:5.*:*) + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) @@ -780,7 +781,7 @@ i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; - i*:MINGW*:*) + *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) @@ -790,12 +791,15 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - x86:Interix*:[3456]*) - echo i586-pc-interix${UNAME_RELEASE} - exit ;; - EM64T:Interix*:[3456]*) - echo x86_64-unknown-interix${UNAME_RELEASE} - exit ;; + *:Interix*:[3456]*) + case ${UNAME_MACHINE} in + x86) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + EM64T | authenticamd) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; @@ -950,6 +954,9 @@ x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; + xtensa:Linux:*:*) + echo xtensa-unknown-linux-gnu + exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent @@ -1208,6 +1215,15 @@ SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux${UNAME_RELEASE} + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux${UNAME_RELEASE} + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} + exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; --- apertium-3.0.5.orig/debian/apertium.dirs +++ apertium-3.0.5/debian/apertium.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share --- apertium-3.0.5.orig/debian/dirs +++ apertium-3.0.5/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- apertium-3.0.5.orig/debian/docs +++ apertium-3.0.5/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- apertium-3.0.5.orig/debian/libapertium3-3.0-0-dev.dirs +++ apertium-3.0.5/debian/libapertium3-3.0-0-dev.dirs @@ -0,0 +1,2 @@ +usr/include +usr/lib/pkgconfig --- apertium-3.0.5.orig/debian/rules +++ apertium-3.0.5/debian/rules @@ -0,0 +1,102 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# 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 -O0 +CXXFLAGS = -Wall -g -O0 + +# shared library versions, option 1 +version=2.0.5 +major=2 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +#version=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +#major=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +config.status: configure + dh_testdir + # Add here commands to configure the package. + CXXFLAGS="$(CXXFLAGS)" CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + +build: build-stamp +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.log + rm -f config.cache + rm -f config.status +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp prefix=/./usr + #chmod a+x debian/tmp/usr/share/apertium/apertium-createmodes.awk + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_install --sourcedir=$(CURDIR)/debian/tmp + dh_installman + dh_link + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps -L libapertium3-3.0-0 -l debian/tmp/usr/lib + dh_strip + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- apertium-3.0.5.orig/debian/libapertium3-3.0-0-dev.install +++ apertium-3.0.5/debian/libapertium3-3.0-0-dev.install @@ -0,0 +1,5 @@ +usr/lib/lib*.so +usr/lib/libapertium3.la +usr/lib/libapertium3.a +usr/lib/pkgconfig +usr/include --- apertium-3.0.5.orig/debian/copyright +++ apertium-3.0.5/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Francis Tyers on +Mon, 15 May 2006 00:12:15 +0100. + +It was downloaded from http://apertium.sourceforge.net + +Copyright 2005 Universitat d'Alacant / Universidad de Alicante + + This program 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 program 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 with + the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; + 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. --- apertium-3.0.5.orig/debian/libapertium3-3.0-0.dirs +++ apertium-3.0.5/debian/libapertium3-3.0-0.dirs @@ -0,0 +1 @@ +usr/lib --- apertium-3.0.5.orig/debian/control +++ apertium-3.0.5/debian/control @@ -0,0 +1,51 @@ +Source: apertium +Priority: optional +Maintainer: Francis Tyers +Build-Depends: debhelper (>= 4.0.0), autotools-dev, libxml2-dev, pkg-config (>= 0.20-1 ), liblttoolbox3-3.0-0-dev (>= 3.0.0-0 ), libxml2-utils (>= 2.6.24 ), xsltproc (>= 1.1.16-1 ), flex (>= 2.5.33-5), libpcre3-dev (>= 3.0.0 ) +Standards-Version: 3.7.2 +Section: libs +Homepage: http://www.apertium.org + +Package: apertium +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, lttoolbox (>= 3.0.0-0), libxml2-utils (>= 2.6.24) +Description: Shallow-transfer machine translation engine + An open-source shallow-transfer machine translation + engine, Apertium is initially aimed at related-language pairs. + . + It uses finite-state transducers for lexical processing, + hidden Markov models for part-of-speech tagging, and + finite-state based chunking for structural transfer. + . + The system is largely based upon systems already developed by + the Transducens group at the Universitat d'Alacant, such as + interNOSTRUM (Spanish-Catalan, http://www.internostrum.com/welcome.php) + and Traductor Universia (Spanish-Portuguese, + http://traductor.universia.net). + . + It will be possible to use Apertium to build machine translation + systems for a variety of related-language pairs simply providing + the linguistic data needed in the right format. + . + +Package: libapertium3-3.0-0-dev +Section: libdevel +Architecture: any +Depends: libapertium3-3.0-0 (= ${binary:Version}) +Provides: libapertium3-dev +Conflicts: libapertium3-dev +Description: Development library for Apertium + Contains development files for the Apertium shallow-transfer + machine translation engine. + . + +Package: libapertium3-3.0-0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: libapertium3 +Conflicts: libapertium3 +Description: Shared library for Apertium + Contains shared library for the Apertium shallow-transfer + machine translation engine. + . --- apertium-3.0.5.orig/debian/compat +++ apertium-3.0.5/debian/compat @@ -0,0 +1 @@ +4 --- apertium-3.0.5.orig/debian/libapertium3-3.0-0.install +++ apertium-3.0.5/debian/libapertium3-3.0-0.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- apertium-3.0.5.orig/debian/changelog +++ apertium-3.0.5/debian/changelog @@ -0,0 +1,77 @@ +apertium (3.0.5-1) unstable; urgency=low + + * New upstream release + + -- Francis Tyers Thu, 06 Dec 2007 12:01:18 +0000 + +apertium (3.0.4-1) unstable; urgency=low + + * New upstream release + * Double-free bug fixed. (Closes: #446785) + + -- Francis Tyers Thu, 18 Oct 2007 21:11:47 +0100 + +apertium (3.0.3-1) unstable; urgency=low + + * New upstream release + * Now it doesn't over-optimise (Closes: #396001) + * Optimisation was causing segfaults on amd64 systems, + optimisations were removed, now does not + segfault (Closes: #446785) + + -- Francis Tyers Tue, 16 Oct 2007 19:52:24 +0100 + +apertium (3.0.2-1) unstable; urgency=low + + * New upstream release + + -- Francis Tyers Sun, 14 Oct 2007 19:39:10 +0100 + +apertium (3.0.1-1) unstable; urgency=low + + * New upstream release + + -- Francis Tyers Wed, 03 Oct 2007 09:39:10 +0100 + +apertium (3.0.0-1) unstable; urgency=low + + * New upstream release + + -- Francis Tyers Tue, 02 Oct 2007 20:30:16 +0100 + +apertium (2.0.2-1) unstable; urgency=low + + * New upstream release + + -- Francis Tyers Thu, 5 Apr 2007 23:48:03 +0100 + +apertium (2.0.1-1) unstable; urgency=low + + * New upstream release + + -- Francis Tyers Sat, 24 Mar 2007 14:37:23 +0000 + +apertium (1.0.3-3) unstable; urgency=high + + * Added install dependency for lttoolbox (Closes: #407050) + + -- Francis Tyers Fri, 19 Jan 2007 10:08:28 +0000 + +apertium (1.0.3-2) unstable; urgency=low + + * Added lttoolbox dependency (Closes: #407050) + + -- Francis Tyers Thu, 18 Jan 2007 09:28:16 +0000 + +apertium (1.0.3-1) unstable; urgency=low + + * New upstream release + + -- Francis Tyers Thu, 9 Nov 2006 12:30:55 +0000 + +apertium (1.0.1-1) unstable; urgency=low + + * Initial release Closes: #320930 + + -- Francis Tyers Sun, 4 Jun 2006 23:56:02 +0100 + --- apertium-3.0.5.orig/debian/apertium.install +++ apertium-3.0.5/debian/apertium.install @@ -0,0 +1,2 @@ +usr/bin +usr/share --- apertium-3.0.5.orig/config.sub +++ apertium-3.0.5/config.sub @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. -timestamp='2006-09-20' +timestamp='2007-06-28' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -245,12 +245,12 @@ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ - | fr30 | frv \ + | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | mcore \ + | maxq | mb | microblaze | mcore | mep \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -324,7 +324,7 @@ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ @@ -475,8 +475,8 @@ basic_machine=craynv-cray os=-unicosmp ;; - cr16c) - basic_machine=cr16c-unknown + cr16) + basic_machine=cr16-unknown os=-elf ;; crds | unos) @@ -683,6 +683,10 @@ basic_machine=i386-pc os=-mingw32 ;; + mingw32ce) + basic_machine=arm-unknown + os=-mingw32ce + ;; miniframe) basic_machine=m68000-convergent ;; @@ -925,6 +929,9 @@ basic_machine=sh-hitachi os=-hms ;; + sh5el) + basic_machine=sh5le-unknown + ;; sh64) basic_machine=sh64-unknown ;; @@ -1219,7 +1226,7 @@ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers*) + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1414,6 +1421,9 @@ m68*-cisco) os=-aout ;; + mep-*) + os=-elf + ;; mips*-cisco) os=-elf ;;