--- apertium-dbus-0.1.orig/Makefile.in +++ apertium-dbus-0.1/Makefile.in @@ -140,7 +140,7 @@ pdfdir = @pdfdir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ -prefix = @prefix@ +prefix = $(DESTDIR) program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ @@ -151,7 +151,7 @@ target_alias = @target_alias@ SUBDIRS = src EXTRA_DIST = org.apertium.info.service org.apertium.mode.service -SERVICEDIR = $(prefix)/share/dbus-1/services/ +SERVICEDIR = $(prefix)/usr/share/dbus-1/services/ all: all-recursive .SUFFIXES: --- apertium-dbus-0.1.orig/configure +++ apertium-dbus-0.1/configure @@ -2433,12 +2433,12 @@ pkg_cv_APERTIUM_CFLAGS="$APERTIUM_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"apertium-3.0 >= 3.0.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "apertium-3.0 >= 3.0.0") 2>&5 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"apertium-3.1 >= 3.0.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "apertium-3.1 >= 3.0.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then - pkg_cv_APERTIUM_CFLAGS=`$PKG_CONFIG --cflags "apertium-3.0 >= 3.0.0" 2>/dev/null` + pkg_cv_APERTIUM_CFLAGS=`$PKG_CONFIG --cflags "apertium-3.1 >= 3.0.0" 2>/dev/null` else pkg_failed=yes fi @@ -2451,12 +2451,12 @@ pkg_cv_APERTIUM_LIBS="$APERTIUM_LIBS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"apertium-3.0 >= 3.0.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "apertium-3.0 >= 3.0.0") 2>&5 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"apertium-3.1 >= 3.0.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "apertium-3.1 >= 3.0.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then - pkg_cv_APERTIUM_LIBS=`$PKG_CONFIG --libs "apertium-3.0 >= 3.0.0" 2>/dev/null` + pkg_cv_APERTIUM_LIBS=`$PKG_CONFIG --libs "apertium-3.1 >= 3.0.0" 2>/dev/null` else pkg_failed=yes fi @@ -2475,9 +2475,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - APERTIUM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "apertium-3.0 >= 3.0.0"` + APERTIUM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "apertium-3.1 >= 3.0.0"` else - APERTIUM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "apertium-3.0 >= 3.0.0"` + APERTIUM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "apertium-3.1 >= 3.0.0"` fi # Put the nasty error message in config.log where it belongs echo "$APERTIUM_PKG_ERRORS" >&5 --- apertium-dbus-0.1.orig/configure.in +++ apertium-dbus-0.1/configure.in @@ -4,7 +4,7 @@ AM_MAINTAINER_MODE AM_PATH_PYTHON -PKG_CHECK_MODULES(APERTIUM, apertium-3.0 >= 3.0.0, APERTIUM="yes", AC_MSG_ERROR([*** unable to locate apertium! Run: apt-get install apertium ***])) +PKG_CHECK_MODULES(APERTIUM, apertium-3.1 >= 3.0.0, APERTIUM="yes", AC_MSG_ERROR([*** unable to locate apertium! Run: apt-get install apertium ***])) PKG_CHECK_MODULES(DBUS, dbus-1 >= 0.34, DBUS="yes", AC_MSG_ERROR([*** unable to locate dbus library! Run: apt-get install dbus libdbus-1-dev ***])) --- apertium-dbus-0.1.orig/Makefile.am +++ apertium-dbus-0.1/Makefile.am @@ -2,7 +2,8 @@ EXTRA_DIST = org.apertium.info.service org.apertium.mode.service -SERVICEDIR=$(prefix)/share/dbus-1/services/ +prefix=$(DESTDIR) +SERVICEDIR=$(prefix)/usr/share/dbus-1/services/ install-data-local: $(INSTALL_DATA) org.apertium.info.service $(SERVICEDIR) --- apertium-dbus-0.1.orig/debian/rules +++ apertium-dbus-0.1/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +# Add here any variable or target overrides you need. +# + --- apertium-dbus-0.1.orig/debian/docs +++ apertium-dbus-0.1/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- apertium-dbus-0.1.orig/debian/README.Debian +++ apertium-dbus-0.1/debian/README.Debian @@ -0,0 +1,12 @@ +apertium-dbus for Debian +------------------------ + + This package provides a dbus service for Apertium, + it puts two scripts in /usr/share/apertium/dbus-1 + + * info.py -- lists the contents of + /usr/share/apertium/modes + * mode.py -- runs one of the modes in + that directory + + -- Francis Tyers Thu, 07 Feb 2008 10:42:43 +0000 --- apertium-dbus-0.1.orig/debian/copyright +++ apertium-dbus-0.1/debian/copyright @@ -0,0 +1,37 @@ +This package was debianised by Francis Tyers on +Thu, 07 Feb 2008 10:42:43 +0000. + +It was downloaded from + +Upstream Authors: + + Wynand Winterbach + Francis Tyers + +Copyright: + + Copyright (C) 2007-2008 Wynand Winterbach + Copyright (C) 2007-2008 Francis Tyers + +Licence: + + 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 (C) 2008, Francis Tyers and +is licensed under the GPL, see above. + --- apertium-dbus-0.1.orig/debian/compat +++ apertium-dbus-0.1/debian/compat @@ -0,0 +1 @@ +5 --- apertium-dbus-0.1.orig/debian/control +++ apertium-dbus-0.1/debian/control @@ -0,0 +1,20 @@ +Source: apertium-dbus +Section: misc +Priority: extra +Maintainer: Francis Tyers +Build-Depends: cdbs, debhelper (>= 5), autotools-dev, libdbus-1-3 ( >= 0.34 ), libdbus-1-dev (>= 0.34 ), python-dbus ( >= 0.82 ), libapertium3-3.1-0-dev ( >= 3.0.2 ), pkg-config (>= 0.21), python (>= 2.4.0) +Standards-Version: 3.7.3 +Homepage: http://www.apertium.org + +Package: apertium-dbus +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, python (>= 2.4.0), dbus (>= 1.1.2), apertium ( >= 3.0.2 ) +Description: A D-Bus service for the Apertium machine translation system + A D-Bus service for the Apertium machine translation + system, allows Apertium to be used for machine translation for + any installed language pair from inside any programming + language which has D-Bus bindings. + . + To use this service you need the Apertium engine + installed, and at least one linguistic package or + language pair. --- apertium-dbus-0.1.orig/debian/changelog +++ apertium-dbus-0.1/debian/changelog @@ -0,0 +1,17 @@ +apertium-dbus (0.1-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Update Build-Depends, switching from libapertium3-3.1-0-dev to + libapertium3-3.0-0-dev (Closes: #527786). Yay for coordination. + * Set urgency to “medium”, this bug affects testing too. + * Additionally adapt configure{,.in} to search for apertium-3.1 + instead of apertium-3.0. + + -- Cyril Brulebois Sun, 19 Jul 2009 15:35:38 +0200 + +apertium-dbus (0.1-1) unstable; urgency=low + + * Initial release (Closes: #464570) + + -- Francis Tyers Thu, 07 Feb 2008 10:42:43 +0000 + --- apertium-dbus-0.1.orig/debian/dirs +++ apertium-dbus-0.1/debian/dirs @@ -0,0 +1,2 @@ +usr/share/dbus-1/services +usr/share