--- mtink-1.0.16.orig/debian/README.debian +++ mtink-1.0.16/debian/README.debian @@ -0,0 +1,22 @@ +----------------- +* Setting mtink * +----------------- + +1) User groups: +In order to use mtink you should have access to /dev/lpXX. Check +your permission on this file. + +In a standard Debian install, this device is crw-rw---- and is +own by root:lp. You should belong to lp group to have access to the +device. + +2) Kernel: + +For some printers, you need to set CONFIG_PRINTER_READBACK in you kernel +in order to enable mtink to read the status of the printer. + +On Linux Kernel 2.4 series, you need to set CONFIG_PARPORT_1284 which is in +fact CONFIG_PRINTER_READBACK. This should be probably the same with Linux +Kernel 2.6 series. + +Sylvain Le Gall --- mtink-1.0.16.orig/debian/mtink.menu +++ mtink-1.0.16/debian/mtink.menu @@ -0,0 +1,8 @@ +?package(mtink):needs="x11" section="Applications/System/Monitoring"\ + hints="Status Printer"\ + title="Mtink"\ + command="/usr/bin/mtink" +?package(mtink):needs="x11" section="Applications/System/Monitoring"\ + hints="Chooser for Status Printer"\ + title="Mtinkc"\ + command="/usr/bin/mtinkc" --- mtink-1.0.16.orig/debian/mtink.install.in +++ mtink-1.0.16/debian/mtink.install.in @@ -0,0 +1,4 @@ +gimp-mtink /usr/lib/gimp/@gimp_version@/plug-ins +etc/mtink-cups /usr/lib/cups/backend/mtink +debian/mtink.desktop /usr/share/applications +debian/mtinkc.desktop /usr/share/applications --- mtink-1.0.16.orig/debian/changelog +++ mtink-1.0.16/debian/changelog @@ -0,0 +1,301 @@ +mtink (1.0.16-1.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/control: add missing build-dep on po-debconf (Closes: #554185) + * debian/mk/docbook-manpage.mk: fix shell test error ('==' operator) + * debian/rules: remove po threshold to avoid lacking manpages that are + assummed to be available, fix FTBFS. (Closes: #534040) + + -- Stefano Zacchiroli Wed, 04 Nov 2009 10:02:20 +0100 + +mtink (1.0.16-1) unstable; urgency=low + + * New upstream release + * Upgrade debian/watch version to 3, + * Add debian/mtink.desktop debian/mtinkc.desktop, + * Use mtink.install.in to manage gimp plugin installation, + * Rewrite and relicense manpage debian/xml-man/, + * Use po4a to translate manpage, reorganize manpage source + following the po4a convention, + * Remove po-debconf Build-Depends, since it is a dependency of + debhelper 5 + * Remove old, unused and partial italian and deutsch translation, + maybe using .po format will help translation team, + * Add docbook-manpage.mk and po4a.mk in debian/mk for translation + and generation of manpage, + * Change email address to gildor@debian.org everywhere + * Use DTD from docbook-xml package and not from docbook package + * Add portuguese translation for debconf messages, thanks to Rui + Branco (Closes: #414912) + * Add dutch po-debconf translation, thanks to cobaco (Closes: #420934) + * Use the new upstream configure option --no-strip to stop stripping + binary (Closes: #437592) + + -- Sylvain Le Gall Tue, 28 Aug 2007 23:20:47 +0200 + +mtink (1.0.14-2) unstable; urgency=high + + * Forget to set urgency=high. + + -- Sylvain Le Gall Sat, 7 Oct 2006 19:50:48 +0200 + +mtink (1.0.14-1) unstable; urgency=low + + * New upstream release + * Remove checkenv patch, included in upstream, + * Minor improvement: + * Update debian/rules FSF, + * Better layout in control.in, + * Upgrade debhelper to standard 5, + + -- Sylvain Le Gall Fri, 6 Oct 2006 02:38:09 +0200 + +mtink (1.0.13c-1) unstable; urgency=high + + * New upstream release, + * Patch cflags has been applied upstream, + * Patch keep-pristine-source has been partially applied: + * call distclean to clean the package, + * Uncapitalize the variable to prevent adding the shlib dependency of + gimp-mtink to the mtink package. + * Move target variable definition after the inclusion of Makefile part, + * Urgency set to high, because it fix an undicover bug in removing + XAUTHORITY variable. + + -- Sylvain Le Gall Tue, 3 Oct 2006 01:13:00 +0200 + +mtink (1.0.13a-1) unstable; urgency=low + + * New upstream version + * Change my email address to gildor@debian.org, + * Upgrade Standards-Version to 3.7.2 (no change), + * Remove useless file in debian/, + * Add db_stop where debconf is used, + * Add po-debconf as build dependency, + * Remove Eduard Bloch as uploaders (i am now the main + uploader), thanks to Eduard for his contribution, + * Use CDBS. + + + -- Sylvain Le Gall Sun, 1 Oct 2006 18:14:38 +0200 + +mtink (1.0.12-3) unstable; urgency=low + + * Release 1.0.12 solved CVE-2005-4604. At the time of first upload the CVE + number was not assigned (it was assigned on 2006/01/01). + + -- Sylvain Le Gall Wed, 11 Jan 2006 22:56:46 +0100 + +mtink (1.0.12-2) unstable; urgency=low + + * Stop depending on xlib-dev, depends on libx11-dev, libxpm-dev, + libxt-dev. (Closes: #345538) + + -- Sylvain Le Gall Tue, 3 Jan 2006 08:40:58 +0100 + +mtink (1.0.12-1) unstable; urgency=low + + * New upstream release + + -- Sylvain Le Gall Sat, 31 Dec 2005 15:46:55 +0100 + +mtink (1.0.11-2) unstable; urgency=low + + * Add swedish translation (thanks to Daniel Nylander) + + -- Sylvain Le Gall Sat, 3 Dec 2005 00:03:16 +0100 + +mtink (1.0.11-1) unstable; urgency=low + + * New upstream release + * Replace debconf by ${misc:Dependency} from the dependency field of the + control file, it is automatically filled by dh_installdebconf + * Update italian debconf translation, thanks to Luca Bruno (Closes: #325623) + * Remove patches gcc-4, typo_french, mtink-cups since they are applied + upstream + * Update FSF address in copyright + * Correct dates in changelog (Jui = Jul) + + -- Sylvain Le Gall Tue, 27 Sep 2005 23:44:37 +0200 + +mtink (1.0.9-1) unstable; urgency=low + + * New upstream release + * Create a patch (gcc4.dpatch) to allow building with gcc-4.0 + (Closes: #287679) + * Talk with upstream author: + * Bug #269127: "This may appear very occasionnally. Never see this bug with + the latest version. This can mostly be ignored." (Closes:#269127) + * Bug #278080: "The user has attached the printer to the // port, the 2.6 + kernel has a wrong implementation for the read() call which can't be + interrupted. This is fixed for the 1.0.9 release." (Closes: #278080) + * Bug #300254 (udev support): "This is not done yet. I have to integrate + this, but I need some time in order to do this." + * Generate mtink-doc in the target binary-indep (Closes: #299558) + * Include translation for debconf: + * Vietnamese, thanks to Clytie Siddall (Closes: #312976) + * German correction, thanks to Jens Seidel (Closes: #313945) + * Czech, thanks to Miroslav Kure (Closes: #302878) + * Correct some errors in the debconf, thanks to Clytie Siddall + (Closes: #312975) + * Call debconf-updatepo in the clean target + * Redirect stderr to /dev/null in the cups backend (Closes: #293186) + * Correct the priority of the package (set to extra) + * Upgrade policy to 3.6.2.0 (no change) + + -- Sylvain Le Gall Sun, 14 Aug 2005 20:23:47 +0200 + +mtink (1.0.5-1) unstable; urgency=high + + * New upstream version + * Fix insecure file permissions (CAN-2004-1110) as describe here + http://bugs.gentoo.org/show_bug.cgi?id=70310 (CAN-2004-1110). Set + urgency high, because it is a security bug ( Closes: #284121 ) + * Change the GFDL tp GPL of the different manual pages ( since the different + translator have let my name as the upstream authors of the documentation, + i just have permit myself to change the licence from GFDL to GPL ) + * Correct a spelling in the README.Debian, add my email address in it + * Update the mtink.init copyright section + + -- Sylvain Le Gall Sat, 7 Aug 2004 20:12:59 +0200 + +mtink (1.0.1-2) unstable; urgency=low + + * Correct the plugin location to comply with gimp2.0 ( Closes: #247419 ) + * Move from contrib to main ( hope this will pass ! ) + + -- Sylvain LE GALL Wed, 5 May 2004 23:48:34 +0200 + +mtink (1.0.1-1) unstable; urgency=low + + * New upstream version + * Fix dependency on libgimp1.3 to libgimp2.0 ( Closes: #242645 ) + * Added da.po for Danish translation ( Closes: #241043 ) + * Add an explanation in README.Debian, to explain that CONFIG_PRINTER_READBACK + is CONFIG_PARPORT_1284 on 2.4 kernels ( closes: #229631, #210472 ) + * Correct some typo and send the patch to upstream ( closes: #230266 ) + * Remove any depends on motif... I will try to depend only on main-packages, + those permitting to migrate mtink from contrib to main, the day when + contrib and non-free will disappear ( i should do it right now, but i am + lazy... i will wait for the END of my NM process ) + * Build against docbook-xsl version >> 1.6.4. Correct the fact that the new + layout for xsl files is lying in /usr/share/xml and no more in + /usr/share/sgml + * Fix the change of gimp1.3 pkg-config script name ( gimptool-1.3 -> + gimptool-2.0 ) + * Don't use patch use_lesstif, it has been applied upstream + + -- Sylvain LE GALL Thu, 8 Apr 2004 23:14:56 +0200 + +mtink (1.0.0-1) unstable; urgency=low + + * New upstream version + * Update policy compliance to 3.6.1 + * Fix po/POTFILES.in and de.po to correct debconf-updatepo problems + * Fixed in previous release: removed dependency on libgimp* generated + by dh_shlibdeps (closes: #201910) + + -- Sylvain LE GALL Mon, 5 Jan 2004 12:58:24 +0100 + +mtink (0.9.57-1) unstable; urgency=low + + * New upstream version + * Use debian/compat + * Addition of more documentation, especially one that state the need + of kernel compiled with CONFIG_PRINTER_READBACK ( closes: #210472 ) + * Add dependency on mtink-doc for mtink ( in order to have the preceding + documentation at hand ). + + -- Sylvain LE GALL Mon, 27 Oct 2003 21:52:28 +0100 + +mtink (0.9.56-1) unstable; urgency=low + + * New upstream version + + -- Sylvain LE GALL Thu, 18 Sep 2003 19:27:43 +0200 + +mtink (0.9.55-4) unstable; urgency=low + + * Correct some bugs with location of doc/mtink in mtink-doc package + * Remove dependency on libgimp* generated by dh_shlibdeps (closes: #201910) + * Go to gimp1.3, but there is a problem about gimptool ( submit a bug ) + * Use dpatch for correcting different bugs of mtink configure script + * Add a directory debian/patches to store different patches + * Write faster than i can can't go to gimp1.3, it doesn't build, warn the + upstream and send him some patches... + + -- Sylvain LE GALL Fri, 18 Jul 2003 19:27:23 +0200 + +mtink (0.9.55-3) unstable; urgency=low + + * Split documentation of mtink to mtink-doc, (closes: #193959) + * Move to 3.5.10 policy + + -- Sylvain LE GALL Thu, 12 Jun 2003 21:59:36 +0200 + +mtink (0.9.55-2) unstable; urgency=low + + * Added dependency over docbook-xml which was missing + + -- Sylvain LE GALL Tue, 22 Apr 2003 11:56:47 +0200 + +mtink (0.9.55-1) unstable; urgency=low + + * Eduard Bloch: + - New upstream version + - Back to .orig.tar.gz + - debian/control: Added lesstif-dev as (primary) alternative for + libmotiv-dev. Removed the paranoid Motif checks from Configure. + And the section -is* already contrib/misc (closes: #155647). + - debian/control: Moved to the new debconf l10n scheme, added Build-Dep + - debian/control: Added myself to the Uploaders list + - debian/templates: Fixed spelling errors in debian/templates, but + most seem not to be used yet. I hope DDTP will pick up them soon. + - debian/rules: removed ttink.de.1 and ttink.it.1 manpages from the + installation list since they looked like bad babelfish output + - debian/control: improvied synopsis of the package description + - debian/copyright: set a pointer to the systemwide GPL file + * Sylvain LE GALL: + - debian/manpages : added to install the manpages + - debian/*.sgml -> debian/xml-man/*.xml : move the sgml to xml and new + directory in order not to mix debian files and manpages + - debian/xml-man/Makefile : use xsltproc which is more stable than + docbook-to-man ( sorry but it is far more simplier ) + - debian/control : move priority optional to extra, because we rely on + extra packages + - debian/control : move docbook-to-man dependency to xsltproc / docbook-xsl + - debian/templates.* : remove since we use po-debconf + - debian/po/french.po : translation completed + + + -- Eduard Bloch Fri, 4 Apr 2003 21:04:07 +0200 + +mtink (0.9.52-1) unstable; urgency=low + + * New upstream version + * Move to section contrib, Closes: #155813 + * Change the Configure script in order to need just libgimp1.2-dev, + Closes: #157070, #158053 + * Apply patch to correct the typo error, Closes: #155813 + + -- Sylvain LE GALL Tue, 1 Oct 2002 12:31:38 +0200 + +mtink (0.9.11-1) unstable; urgency=low + + * New upstream version + + -- Sylvain LE GALL Thu, 30 Jul 2002 22:27:33 +0200 + +mtink (0.9-1) unstable; urgency=low + + * Fix the doc-base problem + * Add source dependency + + -- Sylvain LE GALL Thu, 23 Jul 2002 00:15:33 +0200 + +mtink (0.81-1) unstable; urgency=low + + * First release of the upstream version + * First package of mine, be indulgent + + -- Sylvain LE GALL Mon, 17 Jun 2002 23:20:33 +0200 --- mtink-1.0.16.orig/debian/mtink.dirs +++ mtink-1.0.16/debian/mtink.dirs @@ -0,0 +1,3 @@ +usr/bin +usr/sbin +var/run/mtink --- mtink-1.0.16.orig/debian/control.in +++ mtink-1.0.16/debian/control.in @@ -0,0 +1,30 @@ +Source: mtink +Section: misc +Priority: extra +Maintainer: Sylvain Le Gall +Build-Depends: @cdbs@, + lesstif2-dev, libgimp2.0-dev (>= 2.0.0-4), libx11-dev, + libxpm-dev, libxt-dev +Standards-Version: 3.7.2 + +Package: mtink +Section: misc +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: gimp, mtink-doc +Description: Status monitor tool for Epson inkjet printers + This is a printer status monitor which enables to get the remaining ink + quantity, to print test patterns, to reset printer and to clean nozzle. + . + Even if this monitor is targeted to Epson printer, some HP and Canon model are + supported. + . + Homepage: http://xwtools.automatix.de/ + +Package: mtink-doc +Section: doc +Architecture: all +Suggests: mtink +Description: Documentation for mtink + This package is the documentation of the package mtink, a tool to monitor + Epson inkjet printers. --- mtink-1.0.16.orig/debian/compat +++ mtink-1.0.16/debian/compat @@ -0,0 +1 @@ +5 --- mtink-1.0.16.orig/debian/mtink.postinst +++ mtink-1.0.16/debian/mtink.postinst @@ -0,0 +1,8 @@ +#!/bin/sh -e + +# load debconf library because we need to... +. /usr/share/debconf/confmodule + +db_stop + +#DEBHELPER# --- mtink-1.0.16.orig/debian/mtink.templates +++ mtink-1.0.16/debian/mtink.templates @@ -0,0 +1,7 @@ +Template: mtink/permissions +Type: note +_Description: Permissions for mtink + Warning! Mtink requires special permissions for the device file + associated with the printer. You should check your permission to see if + users that could run mtink should also access this file. If you have got + a normal Debian installation, this group should be lp. --- mtink-1.0.16.orig/debian/mtink-doc.install +++ mtink-1.0.16/debian/mtink-doc.install @@ -0,0 +1,2 @@ +html/*.gif usr/share/doc/mtink-doc/html/ +html/*.html usr/share/doc/mtink-doc/html/ --- mtink-1.0.16.orig/debian/rules +++ mtink-1.0.16/debian/rules @@ -0,0 +1,82 @@ +#!/usr/bin/make -f +# debian/rules for mtink package +# Copyright (C) 2006 Sylvain Le Gall +# +# 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, 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 +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +# Generate debian/control using +# fakeroot debian/rules debian/control DEB_AUTO_UPDATE_DEBIAN_CONTROL:=yes + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/dpatch.mk +include /usr/share/cdbs/1/class/makefile.mk +include $(CURDIR)/debian/mk/docbook-manpage.mk + +PACKAGE = mtink +DESTDIR = $(CURDIR)/debian/$(PACKAGE) + +DEB_MAKE_CLEAN_TARGET := distclean +DEB_MAKE_BUILD_TARGET := all +DEB_MAKE_INSTALL_TARGET := install-mtink \ + install-ttink \ + install-askPrinter \ + install-mtinkd + +DEB_DH_SHLIBDEPS_ARGS_mtink := -X gimp-mtink +DEB_INSTALL_CHANGELOGS_ALL := $(CURDIR)/CHANGE.LOG +DEB_INSTALL_DOCS_ALL := + +PO4A_SOURCES := $(CURDIR)/debian/xml-man/po4a/po4a.cfg +PO4A_BUILD_FLAGS += -k 0 + +DOCBOOK_MANPAGE_SOURCES := $(CURDIR)/debian/xml-man/en/askPrinter.xml \ + $(CURDIR)/debian/xml-man/en/mtinkc.xml \ + $(CURDIR)/debian/xml-man/en/mtinkd.xml \ + $(CURDIR)/debian/xml-man/en/ttink.xml \ + $(CURDIR)/debian/xml-man/fr/askPrinter.xml \ + $(CURDIR)/debian/xml-man/fr/mtinkc.xml \ + $(CURDIR)/debian/xml-man/fr/mtinkd.xml \ + $(CURDIR)/debian/xml-man/fr/ttink.xml + + +DOCBOOK_MANPAGE_EXTRA_SOURCES := $(CURDIR)/debian/xml-man/en/refentryinfo.xml \ + $(CURDIR)/debian/xml-man/en/license.xml \ + $(CURDIR)/debian/xml-man/fr/refentryinfo.xml \ + $(CURDIR)/debian/xml-man/fr/license.xml + +gimp_version=2.0 + +clean:: + -$(RM) $(CURDIR)/debian/mtink.install + -$(RM) $(CURDIR)/debian/xml-man/fr/license.xml + -$(RM) $(CURDIR)/debian/xml-man/fr/askPrinter.xml + -$(RM) $(CURDIR)/debian/xml-man/fr/mtinkc.xml + -$(RM) $(CURDIR)/debian/xml-man/fr/mtinkd.xml + -$(RM) $(CURDIR)/debian/xml-man/fr/ttink.xml + -$(RM) $(CURDIR)/debian/xml-man/fr/refentryinfo.xml + -$(RM) $(CURDIR)/debian/xml-man/en/*.[18] + -$(RM) $(CURDIR)/debian/xml-man/fr/*.[18] + debconf-updatepo + +common-configure-arch common-configure-indep:: + ./Configure --no-strip --no-suid -p $(CURDIR)/debian/mtink/usr + sed -e "s/@gimp_version@/$(gimp_version)/g" $(CURDIR)/debian/mtink.install.in > \ + $(CURDIR)/debian/mtink.install + +binary-install/mtink:: + dh_desktop -pmtink + chmod u+x $(DESTDIR)/usr/lib/cups/backend/mtink + $(RM) -r $(DESTDIR)/usr/doc --- mtink-1.0.16.orig/debian/mtink.desktop +++ mtink-1.0.16/debian/mtink.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Type=Application +Name=Mtink +GenericName=Status monitor for printer +GenericName[fr]=Moniteur d'état d'imprimante +Comment=Status monitor for Epson inkjet printers +Comment[fr]=Moniteur d'état pour les imprimante jets d'encre Epson +TryExec=mtink +Exec=mtink +Categories=Motif;Utility;HardwareSettings;Monitor; --- mtink-1.0.16.orig/debian/TODO +++ mtink-1.0.16/debian/TODO @@ -0,0 +1,22 @@ +Version 0.9.55-1 + +* Continue to investigate on mtinkd + - i need to know if there is a problem or not : + - with usb : scenario connect your printer : assigned to /dev/usb/lp0 run + mtinkd : attached to /dev/usb/lp0 disconnect your printer : /dev/usb/lp0 is + not released ( mtinkd continue to use it ) reconnect your printer : + assigned to /dev/usb/lp1 mtinkd cannot reassign to /dev/usb/lp1 + - with disk activity : seems to have a continuous disk activity when mtinkd + is running ( not normal because we don't need to write on the disk ). + +Version 0.9.46-1 + +* Try to use mtinkd See the init script Try to use cups with that + +Version 0.81-1 + +* French documentation + +EB: + * Fix the translations. Make proper manpage translation, contact the l10n + * teams or whatever --- mtink-1.0.16.orig/debian/copyright +++ mtink-1.0.16/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Sylvain Le Gall + on Mon, 17 Jun 2002 23:07:00 -0200. + +It was downloaded from : http://xwtools.automatix.de/files/mtink.tar.gz + +Upstream Author : Jean-Jacques Sarton + +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 GNU/Linux systems, the complete text of the GNU General Public +License can be found in `/usr/share/common-licenses/GPL'. --- mtink-1.0.16.orig/debian/mtink.config +++ mtink-1.0.16/debian/mtink.config @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_input high mtink/permissions || true +db_go + +db_stop --- mtink-1.0.16.orig/debian/mtink.manpages +++ mtink-1.0.16/debian/mtink.manpages @@ -0,0 +1,8 @@ +debian/xml-man/en/askPrinter.8 +debian/xml-man/en/mtinkc.1 +debian/xml-man/en/mtinkd.8 +debian/xml-man/en/ttink.1 +debian/xml-man/fr/askPrinter.fr.8 +debian/xml-man/fr/mtinkc.fr.1 +debian/xml-man/fr/mtinkd.fr.8 +debian/xml-man/fr/ttink.fr.1 --- mtink-1.0.16.orig/debian/watch +++ mtink-1.0.16/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://xwtools.automatix.de/files/mtink-(.*)\.tar\.gz --- mtink-1.0.16.orig/debian/mtinkc.desktop +++ mtink-1.0.16/debian/mtinkc.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Type=Application +Name=Mtinkc +GenericName=Status monitor chooser for printer +GenericName[fr]=Sélecteur de moniteur d'état d'imprimante +Comment=Status monitor for Epson inkjet printers +Comment[fr]=Sélecteur moniteur d'état pour les imprimante jets d'encre Epson +TryExec=mtinkc +Exec=mtinkc +Categories=Motif;Utility;HardwareSettings;Monitor; --- mtink-1.0.16.orig/debian/mtink-doc.docs +++ mtink-1.0.16/debian/mtink-doc.docs @@ -0,0 +1,18 @@ +html/ADD_NEW_PRINTER +html/AJOUT_IMPRIMANTE +html/LEGGIMI +html/LESE-MICH +html/LISEZ-MOI +html/NEUEN_DRUCKER_HINZUFUEGEN +html/TRANSLATION +html/TRADUCTION +html/TRADUZIONE +html/TRANSLATION +html/UEBERSETZUNG +html/README +html/bldRes.De.txt +html/bldRes.txt +html/rdPrtDesc.De.txt +html/rdPrtDesc.Fr.txt +html/rdPrtDesc.It.txt +html/rdPrtDesc.txt --- mtink-1.0.16.orig/debian/mtink.links +++ mtink-1.0.16/debian/mtink.links @@ -0,0 +1,2 @@ +usr/share/man/man1/ttink.1.gz usr/share/man/man1/mtink.1.gz +usr/share/man/fr/man1/ttink.1.gz usr/share/man/fr/man1/mtink.1.gz --- mtink-1.0.16.orig/debian/control +++ mtink-1.0.16/debian/control @@ -0,0 +1,30 @@ +Source: mtink +Section: misc +Priority: extra +Maintainer: Sylvain Le Gall +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), dpatch, patchutils (>= 0.2.25), po4a, docbook-xml (>= 4.4), docbook-xsl, libxml2-utils, xsltproc, + lesstif2-dev, libgimp2.0-dev (>= 2.0.0-4), libx11-dev, + libxpm-dev, libxt-dev, po-debconf +Standards-Version: 3.7.2 + +Package: mtink +Section: misc +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: gimp, mtink-doc +Description: Status monitor tool for Epson inkjet printers + This is a printer status monitor which enables to get the remaining ink + quantity, to print test patterns, to reset printer and to clean nozzle. + . + Even if this monitor is targeted to Epson printer, some HP and Canon model are + supported. + . + Homepage: http://xwtools.automatix.de/ + +Package: mtink-doc +Section: doc +Architecture: all +Suggests: mtink +Description: Documentation for mtink + This package is the documentation of the package mtink, a tool to monitor + Epson inkjet printers. --- mtink-1.0.16.orig/debian/mtink-doc.dirs +++ mtink-1.0.16/debian/mtink-doc.dirs @@ -0,0 +1 @@ +usr/share/doc/mtink-doc/html --- mtink-1.0.16.orig/debian/mtink-doc.doc-base +++ mtink-1.0.16/debian/mtink-doc.doc-base @@ -0,0 +1,10 @@ +Document: mtink +Title: Mtink Manual +Author: Jean-Jacques Sarton +Abstract: This manual describes what mtink is + and how it can be used to manage EPSON printer. +Section: misc + +Format: HTML +Index: /usr/share/doc/mtink-doc/html/index.html +Files: /usr/share/doc/mtink-doc/html/*.html --- mtink-1.0.16.orig/debian/svn-deblayout +++ mtink-1.0.16/debian/svn-deblayout @@ -0,0 +1,3 @@ +origDir=../upstream +origUrl=svn+ssh://svn/var/lib/svn/debian/mtink/upstream +tagsUrl=svn+ssh://svn/var/lib/svn/debian/mtink/tags --- mtink-1.0.16.orig/debian/xml-man/en/ttink.xml +++ mtink-1.0.16/debian/xml-man/en/ttink.xml @@ -0,0 +1,210 @@ + + + ttink"> + mtink"> +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TTINK + 1 + + + + ttink + + program to control your EPSON printer + + + + + &dhprg; + + + -d + --device + device_file + + + + -m + --model + model_number + + -r--reset + -c--clean + -n--nozzle-check + -s--status + -a--align-head + -e--exchange-ink + -i--identity + -v--version + -l--list-printer + + + + &dhgprg; + -noAutoDetect + + + + + DESCRIPTION + + This manual page documents briefly the &dhprg; and &dhgprg; + commands. + + &dhprg; is the command line version of &dhgprg; + + This manual page was written for the &debian; distribution because + the original program does not have a manual page. + + &dhgprg; is a status monitor for EPSON ink jet printer + + With &dhgprg; you will be able to display the remaining ink quantity + and the state of your printer. Operation as check nozzle, clean nozzle + and align head are also implemented. + + + + + OPTIONS + + These programs follow the usual GNU command line syntax, with long + options starting with two dashes (`-'). A summary of options is included + below. + + Options for &dhprg; + + + + + + + Specify the device file associated with the printer. + Depending on what kind of printer you have, + it could be /dev/parport, /dev/usb/lp0... + + + + + + + Specify the printer or the entry number corresponding to your printer. + If not supplied, the program try to guess what kind of printer you have. + + + + + + + To command the reset of the printer. + + + + + + + Print a pattern. You can then check if nozzle are well aligned. + + + + + + + This is the default option. It prints the remaining quantities of ink in each + cartridge. + + + + + + + Show version of program. + + + + + + + Show all the printer handled by the program. + + + + + + + Begin an head alignement. + + + + + + + Exchange the cartridge (not all printer). + + + + + + + Show the identity of the printer. + + + + + + + Clean nozzle. + + + + + Options for &dhgprg; + + + + + Disable autodetection of the printer. + + + + + + + + + SEE ALSO + + /usr/share/doc/mtink/html/index.html + + --- mtink-1.0.16.orig/debian/xml-man/en/license.xml +++ mtink-1.0.16/debian/xml-man/en/license.xml @@ -0,0 +1,48 @@ + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + LICENSE + + + This manual page was written by + + Sylvain + Le Gall + + gildor@debian.org + for the &debian; system (but may be used by others). + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Lesser General Public + License, Version 2.1 or any later version published by the Free + Software Foundation; considering as source code all the file that + enable the production of this manpage. + + --- mtink-1.0.16.orig/debian/xml-man/en/mtinkc.xml +++ mtink-1.0.16/debian/xml-man/en/mtinkc.xml @@ -0,0 +1,80 @@ + + + mtinkc"> +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MTINKC + 1 + + + + mtinkc + + program to choose which EPSON printers to control + + + + + &dhprg; + + + + + DESCRIPTION + + This manual page documents briefly the &dhprg; command. + + This manual page was written for the &debian; distribution because the + original program does not have a manual page. + + With &dhprg; you will be prompted for the EPSON printer you want to + monitor. + + + + + + SEE ALSO + + + /usr/share/doc/mtink/html/index.html, + + + mtink + + 1 + + + + --- mtink-1.0.16.orig/debian/xml-man/en/mtinkd.xml +++ mtink-1.0.16/debian/xml-man/en/mtinkd.xml @@ -0,0 +1,180 @@ + + + mtinkd"> +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MTINKD + 8 + + + + mtinkd + + daemon to control your EPSON printer + + + + + &dhprg; + -dev device_file + -name model + -usbbase pattern_device_file + -nodaemaon + -model model_name + -debug + + start + stop + status + + + + + + DESCRIPTION + + This manual page documents briefly the &dhprg; command. + + This manual page was written for the &debian; distribution because + the original program does not have a manual page. + + &dhprg; is a status monitor for EPSON ink jet printer + + It permits to watch the remaining ink while printing. + + As it keeps /dev/lp* open, you have to change + your printing parameter to link the printer to + /var/run/mtink/printer + + + + OPTIONS + + These programs follow the usual GNU command line syntax, with long + options starting with two dashes (`-'). A summary of options is included + below. + + Options for &dhprg; + + + + + + + + This option is mandatory and is also used in order to get the + status or to stop a running server. Device file is the name of the + character device on which the printer is attached + (/dev/lp0, /dev/usb/lp0, + /dev/ecpp0). + + + + + + This option is for test purpose, without this option mtink + start in the background. + + + + + + + If the printer don't return it identity you may tell which + printer is attached. The name is derived from the official name and + space characters are to be replaced by the "_" character. This + will be the case for the Stylus Scan 2500 (model name is Scan_2500). + This option may also be usefull for multifunction device as + the Stylus Photo 895 under Linux. If the printer is powered off and + then on, the usb kernel will not detect the printer properly and + mtinkd must be at least stopped and started again. + + + + + + + The name of the named pipe will be set according to this name. + If the -model option is not given, mtinkd will terminate if the + identification returned don't comply with passed name. + + + + + + + This option requires a special system call which is only + implemented into newer kernels. + The -type name option is required ! + path and device file base may be /usr/usblp or /usr/usb/lp. + All device files matching whith the passed name will be scanned + for the wanted printer, the device file will then be used later. + + If the kernel don't support the special call, scanning will + fail and if the -dev device_file option was given, the given device + file name will then be used. + + + + + + The server will be started. start may be ommited. + + + + + + + An running server will be stopped. + + + + + + + This allow to ask if a server is running. + + + + + + + + + + SEE ALSO + + /usr/share/doc/mtink/html/index.html + + --- mtink-1.0.16.orig/debian/xml-man/en/askPrinter.xml +++ mtink-1.0.16/debian/xml-man/en/askPrinter.xml @@ -0,0 +1,105 @@ + + + askPrinter"> +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ASKPRINTER + 8 + + + + askPrinter + + Program to detect the name of your EPSON printer + + + + + &dhprg; + dev-path-to-printer + + + + + DESCRIPTION + + This manual page documents briefly the &dhprg; command. + + This manual page was written for the &debian; distribution because + the original program does not have a manual page. + + &dhprg; is a helper program to help you configure Mtink. + + + + + OPTIONS + + These programs follow the usual GNU command line syntax, with long + options starting with two dashes (`-'). A summary of options is included + below. + + Options for &dhprg; + + + + + dev-path-to-printer + + + Specify the device file associated with the printer. Depending + on what kind of printer you have, it could be + /dev/parport, + /dev/usb/lp0... + + + + + + + + + SEE ALSO + + + /usr/share/doc/mtink/html/index.html, + + + mtink + + 1 + + + + --- mtink-1.0.16.orig/debian/xml-man/en/refentryinfo.xml +++ mtink-1.0.16/debian/xml-man/en/refentryinfo.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sylvain + Le Gall + gildor@debian.org + + + 2002, 2003, 2004, 2005, 2006 + Sylvain Le Gall + + Nov 17, 2006 + --- mtink-1.0.16.orig/debian/xml-man/po4a/po4a.cfg +++ mtink-1.0.16/debian/xml-man/po4a/po4a.cfg @@ -0,0 +1,22 @@ +[po4a_langs] fr + +[po4a_paths] debian/xml-man/po4a/po/mtink-man.pot \ + fr:debian/xml-man/po4a/po/fr.po + +[type: docbook] debian/xml-man/en/license.xml \ + fr:debian/xml-man/fr/license.xml + +[type: docbook] debian/xml-man/en/refentryinfo.xml \ + fr:debian/xml-man/fr/refentryinfo.xml + +[type: docbook] debian/xml-man/en/ttink.xml \ + fr:debian/xml-man/fr/ttink.xml + +[type: docbook] debian/xml-man/en/mtinkc.xml \ + fr:debian/xml-man/fr/mtinkc.xml + +[type: docbook] debian/xml-man/en/mtinkd.xml \ + fr:debian/xml-man/fr/mtinkd.xml + +[type: docbook] debian/xml-man/en/askPrinter.xml \ + fr:debian/xml-man/fr/askPrinter.xml --- mtink-1.0.16.orig/debian/xml-man/po4a/po/fr.po +++ mtink-1.0.16/debian/xml-man/po4a/po/fr.po @@ -0,0 +1,726 @@ +# ttink +# Copyright (C) 2006 Free Software Foundation, Inc. +# Sylvain Le Gall , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: mtink_1.0.14-3_fr\n" +"POT-Creation-Date: 2006-11-20 1:11+0100\n" +"PO-Revision-Date: 2006-11-19 22:47+0200\n" +"Last-Translator: Sylvain Le Gall \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +# type: Content of the debian entity +#: debian/xml-man/en/license.xml:4 debian/xml-man/en/ttink.xml:4 +#: debian/xml-man/en/mtinkc.xml:4 debian/xml-man/en/mtinkd.xml:4 +#: debian/xml-man/en/askPrinter.xml:4 +msgid "Debian GNU/Linux" +msgstr "Debian GNU/Linux" + +# type: Content of: +#: debian/xml-man/en/license.xml:32 +msgid "LICENSE" +msgstr "" + +# type: Content of: <refsect1><para> +#: debian/xml-man/en/license.xml:35 +msgid "" +"This manual page was written by <personname> <firstname>Sylvain</firstname> " +"<surname>Le Gall</surname> </personname> <email>gildor@debian.org</email> " +"for the &debian; system (but may be used by others). Permission is granted " +"to copy, distribute and/or modify this document under the terms of the" +msgstr "" +"Cette page de manuel a t crite par <personname> <firstname>Sylvain</" +"firstname> <surname>Le Gall</surname> </personname> <email>gildor@debian." +"org</email> pour la distribution &debian; ( mais peut tre utilis par " +"d'autres ). La permission est accorde de copier, distribuer et/ou modifi " +"ce document sous les termes de la licence " + +# type: Content of: <refsect1><para><acronym> +#: debian/xml-man/en/license.xml:43 +msgid "GNU" +msgstr "GNU" + +# type: Content of: <refsect1><para> +#: debian/xml-man/en/license.xml:43 +msgid "" +"Lesser General Public License, Version 2.1 or any later version published by " +"the Free Software Foundation; considering as source code all the file that " +"enable the production of this manpage." +msgstr "" +"Lesser General Public License, Version 2.1 ou ultrieur tel que publi par " +"la Free Software Foundatio; en considrant comme du code source tous les " +"fichiers qui ont permi la production de cette page de manuel." + +# type: Content of: <refentryinfo><copyright><holder> +#: debian/xml-man/en/refentryinfo.xml:38 +msgid "Sylvain Le Gall" +msgstr "Sylvain Le Gall" + +# type: Content of: <refentryinfo><date> +#: debian/xml-man/en/refentryinfo.xml:40 +msgid "Nov 17, 2006" +msgstr "Nov 17, 2006" + +# type: Content of the dhprg entity +#: debian/xml-man/en/ttink.xml:5 +msgid "<command>ttink</command>" +msgstr "<command>ttink</command>" + +# type: Content of the dhgprg entity +#: debian/xml-man/en/ttink.xml:6 +msgid "<command>mtink</command>" +msgstr "<command>mtink</command>" + +# type: Content of: <refentry><refnamediv><refname> +#: debian/xml-man/en/ttink.xml:43 +msgid "ttink" +msgstr "ttink.fr" + +# type: Content of: <refentry><refnamediv><refpurpose> +#: debian/xml-man/en/ttink.xml:45 +msgid "program to control your EPSON printer" +msgstr "une application pour controler votre imprimante EPSON" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><arg><group> +#: debian/xml-man/en/ttink.xml:53 +msgid "<arg choice=\"plain\">-d</arg> <arg choice=\"plain\">--device</arg>" +msgstr "<arg choice=\"plain\">-d</arg> <arg choice=\"plain\">--device</arg>" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><arg> +#: debian/xml-man/en/ttink.xml:55 +msgid "<replaceable>device_file</replaceable> </arg> <arg>" +msgstr "<replaceable>device_file</replaceable> </arg> <arg>" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><arg><group> +#: debian/xml-man/en/ttink.xml:59 +msgid "<arg choice=\"plain\">-m</arg> <arg choice=\"plain\">--model</arg>" +msgstr "<arg choice=\"plain\">-m</arg> <arg choice=\"plain\">--model</arg>" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> +#: debian/xml-man/en/ttink.xml:61 +msgid "<replaceable>model_number</replaceable> </arg>" +msgstr "<replaceable>model_number</replaceable> </arg>" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:63 +msgid "<arg choice=\"plain\">-r</arg><arg choice=\"plain\">--reset</arg>" +msgstr "<arg choice=\"plain\">-r</arg><arg choice=\"plain\">--reset</arg>" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:64 +msgid "<arg choice=\"plain\">-c</arg><arg choice=\"plain\">--clean</arg>" +msgstr "<arg choice=\"plain\">-c</arg><arg choice=\"plain\">--clean</arg>" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:65 +msgid "" +"<arg choice=\"plain\">-n</arg><arg choice=\"plain\">--nozzle-check</arg>" +msgstr "" +"<arg choice=\"plain\">-n</arg><arg choice=\"plain\">--nozzle-check</arg>" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:66 +msgid "<arg choice=\"plain\">-s</arg><arg choice=\"plain\">--status</arg>" +msgstr "<arg choice=\"plain\">-s</arg><arg choice=\"plain\">--status</arg>" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:67 +msgid "<arg choice=\"plain\">-a</arg><arg choice=\"plain\">--align-head</arg>" +msgstr "<arg choice=\"plain\">-a</arg><arg choice=\"plain\">--align-head</arg>" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:68 +msgid "" +"<arg choice=\"plain\">-e</arg><arg choice=\"plain\">--exchange-ink</arg>" +msgstr "" +"<arg choice=\"plain\">-e</arg><arg choice=\"plain\">--exchange-ink</arg>" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:69 +msgid "<arg choice=\"plain\">-i</arg><arg choice=\"plain\">--identity</arg>" +msgstr "<arg choice=\"plain\">-i</arg><arg choice=\"plain\">--identity</arg>" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:70 +msgid "<arg choice=\"plain\">-v</arg><arg choice=\"plain\">--version</arg>" +msgstr "<arg choice=\"plain\">-v</arg><arg choice=\"plain\">--version</arg>" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:71 +msgid "" +"<arg choice=\"plain\">-l</arg><arg choice=\"plain\">--list-printer</arg>" +msgstr "" +"<arg choice=\"plain\">-l</arg><arg choice=\"plain\">--list-printer</arg>" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> +#: debian/xml-man/en/ttink.xml:75 +msgid "&dhgprg; <arg>-noAutoDetect</arg>" +msgstr "&dhgprg; <arg>-noAutoDetect</arg>" + +# type: Content of: <refentry><refsect1><title> +#: debian/xml-man/en/ttink.xml:81 debian/xml-man/en/mtinkc.xml:54 +#: debian/xml-man/en/mtinkd.xml:65 debian/xml-man/en/askPrinter.xml:55 +msgid "DESCRIPTION" +msgstr "DESCRIPTION" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/ttink.xml:83 +msgid "This manual page documents briefly the &dhprg; and &dhgprg; commands." +msgstr "" +"Cette page de manuel dcrit brivement les commandes &dhprg; et &dhgprg;." + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/ttink.xml:86 +msgid "&dhprg; is the command line version of &dhgprg;" +msgstr "&dhprg; est la version en ligne de commande de &dhgprg;" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/ttink.xml:88 debian/xml-man/en/mtinkc.xml:58 +#: debian/xml-man/en/mtinkd.xml:69 debian/xml-man/en/askPrinter.xml:59 +msgid "" +"This manual page was written for the &debian; distribution because the " +"original program does not have a manual page." +msgstr "" +"Cette page de manuel a t crite pour la distribution &debian; car le " +"programme original ne possdait pas de page de manuel." + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/ttink.xml:91 +msgid "&dhgprg; is a status monitor for EPSON ink jet printer" +msgstr "" +"&dhgprg; est un moniteur de surveillance pour imprimante jet d'encre EPSON" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/ttink.xml:93 +msgid "" +"With &dhgprg; you will be able to display the remaining ink quantity and the " +"state of your printer. Operation as check nozzle, clean nozzle and align " +"head are also implemented." +msgstr "" +"Avec &dhgprg; vous serez capable de vrifier la quantit d'encre restante et " +"l'tat de votre imprimante. Les oprations tel que la vrification des " +"buses, le nettoyage des buses et l'alignement des ttes sont aussi possible." + +# type: Content of: <refentry><refsect1><title> +#: debian/xml-man/en/ttink.xml:100 debian/xml-man/en/mtinkd.xml:82 +#: debian/xml-man/en/askPrinter.xml:67 +msgid "OPTIONS" +msgstr "OPTIONS" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/ttink.xml:102 debian/xml-man/en/mtinkd.xml:84 +msgid "" +"These programs follow the usual GNU command line syntax, with long options " +"starting with two dashes (`-'). A summary of options is included below." +msgstr "" +"Ce programme suit les convention des commandes en ligne GNU, avec des " +"options longues, commenant par deux tires (`-'). Un rsum des options est " +"inclus ci dessous." + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/ttink.xml:106 debian/xml-man/en/mtinkd.xml:88 +#: debian/xml-man/en/askPrinter.xml:73 +msgid "Options for &dhprg;" +msgstr "Options pour &dhprg;" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:110 +msgid "-d" +msgstr "-d" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:111 +msgid "--device" +msgstr "--device" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:113 +msgid "" +"Specify the device file associated with the printer. Depending on what kind " +"of printer you have, it could be /dev/parport, /dev/usb/lp0..." +msgstr "" +"Spcifie le priphrique associ avec l'imprimante. En fonction du type " +"d'imprimante que vous possdez cela peut tre /dev/parport, /dev/usb/lp0..." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:119 +msgid "-m" +msgstr "-m " + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:120 +msgid "--model" +msgstr "--model" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:122 +msgid "" +"Specify the printer or the entry number corresponding to your printer. If " +"not supplied, the program try to guess what kind of printer you have." +msgstr "" +"Spcifie l'imprimante ou le numro de ligne correspondant a votre " +"imprimante. Par dfaut, le programme tente de deviner le type de celle ci." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:127 +msgid "-r" +msgstr "-r " + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:128 +msgid "--reset" +msgstr "--reset" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:130 +msgid "To command the reset of the printer." +msgstr "Commande le mise zero de l'imprimante." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:134 +msgid "-n" +msgstr "-n" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:135 +msgid "--nozzle-check" +msgstr "--nozzle-check" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:137 +msgid "Print a pattern. You can then check if nozzle are well aligned." +msgstr "" +"Commande le dbut d'un alignement. Cela vrifier si les buses sont bien " +"alignes." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:141 +msgid "-s" +msgstr "-s" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:142 +msgid "--status" +msgstr "--status" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:144 +msgid "" +"This is the default option. It prints the remaining quantities of ink in " +"each cartridge." +msgstr "" +"C'est l'option par dfaut. Imprime la quantit d'encre restante dans chaque " +"cartouche." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:149 +msgid "-v" +msgstr "-v" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:150 +msgid "--version" +msgstr "--version" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:152 +msgid "Show version of program." +msgstr "Donne la version du programme." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:156 +msgid "-l" +msgstr "-l" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:157 +msgid "--list-printer" +msgstr "--list-printer" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:159 +msgid "Show all the printer handled by the program." +msgstr "Liste toutes les imprimantes supportes par le programme." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:163 +msgid "-a" +msgstr "-a" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:164 +msgid "--align-head" +msgstr "--align-head" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:166 +msgid "Begin an head alignement." +msgstr "Commence l'alignement des ttes." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:170 +msgid "-e" +msgstr "-e" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:171 +msgid "--exchange-ink" +msgstr "--exchange-ink" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:173 +msgid "Exchange the cartridge (not all printer)." +msgstr "" +"Echange les cartouches d'encres ( non implment sur toutes les " +"imprimantes )." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:177 +msgid "-i" +msgstr "-i" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:178 +msgid "--identity" +msgstr "--identity" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:180 +msgid "Show the identity of the printer." +msgstr "Donne l'identifiant d'une imprimante." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:184 +msgid "-c" +msgstr "-c" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:185 +msgid "--clean" +msgstr "--clean" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:187 +msgid "Clean nozzle." +msgstr "Nettoye les ttes." + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/ttink.xml:192 +msgid "Options for &dhgprg;" +msgstr "Options pour &dhgprg;" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:195 +msgid "-noAutodetect" +msgstr "-noAutodetect" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:197 +msgid "Disable autodetection of the printer." +msgstr "Dsactive la dtection automatique de l'imprimante." + +# type: Content of: <refentry><refsect1><title> +#: debian/xml-man/en/ttink.xml:206 debian/xml-man/en/mtinkc.xml:68 +#: debian/xml-man/en/mtinkd.xml:176 debian/xml-man/en/askPrinter.xml:93 +msgid "SEE ALSO" +msgstr "VOIR AUSSI" + +# type: Content of the dhgprg entity +#: debian/xml-man/en/mtinkc.xml:5 +msgid "<command>mtinkc</command>" +msgstr "<command>mtinkc</command>" + +# type: Content of: <refentry><refnamediv><refname> +#: debian/xml-man/en/mtinkc.xml:42 +msgid "mtinkc" +msgstr "mtinkc.fr" + +# type: Content of: <refentry><refnamediv><refpurpose> +#: debian/xml-man/en/mtinkc.xml:44 +msgid "program to choose which EPSON printers to control" +msgstr "une application quelle imprimante EPSON controler" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/mtinkc.xml:56 debian/xml-man/en/mtinkd.xml:67 +#: debian/xml-man/en/askPrinter.xml:57 +msgid "This manual page documents briefly the &dhprg; command." +msgstr "Cette page de manuel dcrit brivement les commandes &dhprg;." + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/mtinkc.xml:61 +msgid "" +"With &dhprg; you will be prompted for the EPSON printer you want to monitor." +msgstr "" +"&dhprg; permet d'interroger l'utilisateur sur le choix de l'imprimante EPSON " +" surveiller." + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/mtinkc.xml:71 debian/xml-man/en/askPrinter.xml:96 +msgid "" +"<filename>/usr/share/doc/mtink/html/index.html</filename>, <citerefentry> " +"<refentrytitle> <command>mtink</command> </refentrytitle> <manvolnum>1</" +"manvolnum> </citerefentry>" +msgstr "" +"<filename>/usr/share/doc/mtink/html/index.html</filename>, <citerefentry> " +"<refentrytitle> <command>mtink</command> </refentrytitle> <manvolnum>1</" +"manvolnum> </citerefentry>" + +# type: Content of the dhgprg entity +#: debian/xml-man/en/mtinkd.xml:5 +msgid "<command>mtinkd</command>" +msgstr "<command>mtinkd</command>" + +# type: Content of: <refentry><refnamediv><refname> +#: debian/xml-man/en/mtinkd.xml:42 +msgid "mtinkd" +msgstr "mtinkd.fr" + +# type: Content of: <refentry><refnamediv><refpurpose> +#: debian/xml-man/en/mtinkd.xml:44 +msgid "daemon to control your EPSON printer" +msgstr "application en arrire plan pour controler votre imprimante EPSON" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> +#: debian/xml-man/en/mtinkd.xml:49 +msgid "" +"&dhprg; <arg>-dev <replaceable>device_file</replaceable></arg> <arg>-name " +"<replaceable>model</replaceable></arg> <arg>-usbbase " +"<replaceable>pattern_device_file</replaceable></arg> <arg>-nodaemaon</arg> " +"<arg>-model <replaceable>model_name</replaceable></arg> <arg>-debug</arg>" +msgstr "" +"&dhprg; <arg>-dev <replaceable>device_file</replaceable></arg> <arg>-name " +"<replaceable>model</replaceable></arg> <arg>-usbbase " +"<replaceable>pattern_device_file</replaceable></arg> <arg>-nodaemaon</arg> " +"<arg>-model <replaceable>model_name</replaceable></arg> <arg>-debug</arg>" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/mtinkd.xml:57 +msgid "<arg>start</arg> <arg>stop</arg> <arg>status</arg>" +msgstr "<arg>start</arg> <arg>stop</arg> <arg>status</arg>" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/mtinkd.xml:72 +msgid "&dhprg; is a status monitor for EPSON ink jet printer" +msgstr "" +"&dhprg; est un moniteur de surveillance pour imprimante jet d'encre EPSON" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/mtinkd.xml:74 +msgid "It permits to watch the remaining ink while printing." +msgstr "" +"Cela permet de constater la quantit d'encre restante, pendant l'impression." + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/mtinkd.xml:76 +msgid "" +"As it keeps <filename>/dev/lp*</filename> open, you have to change your " +"printing parameter to link the printer to <filename>/var/run/mtink/printer</" +"filename>" +msgstr "" +"Comme cela ncessite de garder ouvert <filename>/dev/lp*</filename>, vous " +"devez changer vos paramtres d'impression, de faon ce que l'imprimante " +"utilise le fichier <filename>/var/run/mtink/printer</filename>" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><arg> +#: debian/xml-man/en/mtinkd.xml:93 +msgid "-dev <replaceable>device_file</replaceable>" +msgstr "-dev <replaceable>device_file</replaceable>" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:96 +msgid "" +"This option is mandatory and is also used in order to get the status or to " +"stop a running server. Device file is the name of the character device on " +"which the printer is attached (<filename>/dev/lp0</filename>, <filename>/dev/" +"usb/lp0</filename>, <filename>/dev/ecpp0</filename>)." +msgstr "" +"Cette option est obligatoire. Elle est aussi utilis pour rcuprer l'tat " +"ou stopper une application en arrire plan. Le fichier de priphrique est " +"le nom du fichier de priphrique en mode caractres auquel l'imprimante est " +"attache ( <filename>/dev/lp0</filename>, <filename>/dev/usb/lp0</filename>, " +"<filename>/dev/ecpp0</filename> )." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/mtinkd.xml:104 +msgid "-nodaemon" +msgstr "-nodaemon" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:106 +msgid "" +"This option is for test purpose, without this option mtink start in the " +"background." +msgstr "" +"Cette est utilis pour raliser des tests, sans elle mtink dmarre en tache " +"de fond." + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> +#: debian/xml-man/en/mtinkd.xml:111 +msgid "-name <replaceable>model</replaceable>" +msgstr "-name <replaceable>model</replaceable>" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:114 +msgid "" +"If the printer don't return it identity you may tell which printer is " +"attached. The name is derived from the official name and space characters " +"are to be replaced by the \"_\" character. This will be the case for the " +"Stylus Scan 2500 (model name is Scan_2500)." +msgstr "" +"Si l'imprimante ne s'identifie pas, cette option vous permet de fournir ce " +"renseignement. Le nom est driv du nom officiel de l'imprimante en " +"remplaant les espaces par des souligns \"_\". Cela est, par exemple le " +"cas, pour l'imprimante Stylus Scan 2500 (le nom du modle est Scan_2500)." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:118 +msgid "" +"This option may also be usefull for multifunction device as the Stylus Photo " +"895 under Linux. If the printer is powered off and then on, the usb kernel " +"will not detect the printer properly and mtinkd must be at least stopped and " +"started again." +msgstr "" +"Cette option peut aussi tre utile pour les priphrique multi-fonction " +"comme l'imprimante Stylus Photo 895 sous Linux. Si l'imprimante est teinte " +"puis rallum, le pilote USB ne dtectera pas correctement l'imprimante et " +"mtinkd devra tre stopp et redmarr nouveau." + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> +#: debian/xml-man/en/mtinkd.xml:125 +msgid "-model <replaceable>model_name</replaceable>" +msgstr "-model <replaceable>model_name</replaceable>" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:128 +msgid "" +"The name of the named pipe will be set according to this name. If the -" +"model option is not given, mtinkd will terminate if the identification " +"returned don't comply with passed name." +msgstr "" +"Le nom du tube nomm est dfini par rapport ce nom. Si l'option -model " +"n'est pas utilis, mtinkd chouera si l'identification ne convient au nom " +"pass en argument." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/mtinkd.xml:134 +msgid "-usbbase" +msgstr "-usbbase" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:137 +msgid "" +"This option requires a special system call which is only implemented into " +"newer kernels." +msgstr "" +"Cette option requiert un appel systme particulier, qui n'est plus " +"implment dans les noyaux rcents." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:139 +msgid "The -type name option is required !" +msgstr "L'option -type name est requise !" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:140 +msgid "" +"path and device file base may be /usr/usblp or /usr/usb/lp. All device " +"files matching whith the passed name will be scanned for the wanted printer, " +"the device file will then be used later." +msgstr "" +"path et fichier de priphrique peuvent tre /usr/usblp ou /usr/usb/lp. Tous " +"les noms des fichiers de priphriques correspondant au nom dfini seront " +"utiliss pour trouver l'imprimante voulue. Le fichier de priphrique sera " +"nouveau utilis par la suite." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:144 +msgid "" +"If the kernel don't support the special call, scanning will fail and if the -" +"dev device_file option was given, the given device file name will then be " +"used." +msgstr "" +"Si le noyau ne supporte pas cet appel systme spcial, la recherche chouera " +"et si l'option -d device_file a t utilis, le nom du fichier de " +"priphrique donn sera utilis." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/mtinkd.xml:150 +msgid "start" +msgstr "status" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:152 +msgid "The server will be started. start may be ommited." +msgstr "L'application en arrire plan va tre lanc. start peut tre omis." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/mtinkd.xml:156 +msgid "stop" +msgstr "stop" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:159 +msgid "An running server will be stopped." +msgstr "Une application en arrire plan vas tre stopp." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/mtinkd.xml:163 +msgid "status" +msgstr "status" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:166 +msgid "This allow to ask if a server is running." +msgstr "" +"Cela permet de savoir si l'application en arrire plan est en fonctionnement." + +# type: Content of the dhprg entity +#: debian/xml-man/en/askPrinter.xml:5 +msgid "<command>askPrinter</command>" +msgstr "<command>askPrinter</command>" + +# type: Content of: <refentry><refnamediv><refname> +#: debian/xml-man/en/askPrinter.xml:42 +msgid "askPrinter" +msgstr "askPrinter.fr" + +# type: Content of: <refentry><refnamediv><refpurpose> +#: debian/xml-man/en/askPrinter.xml:44 +msgid "Program to detect the name of your EPSON printer" +msgstr "Une application pour rcuprer le nom de votre imprimante EPSON" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> +#: debian/xml-man/en/askPrinter.xml:49 +msgid "&dhprg; <arg><replaceable>dev-path-to-printer</replaceable></arg>" +msgstr "&dhprg; <arg><replaceable>dev-path-to-printer</replaceable></arg>" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/askPrinter.xml:62 +msgid "&dhprg; is a helper program to help you configure Mtink" +msgstr "&dhprg; est une application auxiliaire permettant de configurer Mtink" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/askPrinter.xml:69 +msgid "" +"These programs follow the usual GNU command line syntax, with long options " +"starting with two dashes (`-'). A summary of options is included below." +msgstr "" +"Ce programme suit les convention des commandes en ligne GNU, avec des " +"options longues, commenant par deux tires (`-'). Un rsum des options est " +"inclus ci dessous." + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/askPrinter.xml:81 +msgid "" +"Specify the device file associated with the printer. Depending on what kind " +"of printer you have, it could be <filename>/dev/parport</filename>, " +"<filename>/dev/usb/lp0</filename>..." +msgstr "" +"Spcifie le priphrique associ avec l'imprimante. En fonction du type " +"d'imprimante que vous possdez cela peut tre <filename>/dev/parport</" +"filename>, <filename>/dev/usb/lp0</filename>..." + --- mtink-1.0.16.orig/debian/xml-man/po4a/po/mtink-man.pot +++ mtink-1.0.16/debian/xml-man/po4a/po/mtink-man.pot @@ -0,0 +1,635 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2006-11-20 1:11+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: ENCODING" + +# type: Content of the debian entity +#: debian/xml-man/en/license.xml:4 debian/xml-man/en/ttink.xml:4 debian/xml-man/en/mtinkc.xml:4 debian/xml-man/en/mtinkd.xml:4 debian/xml-man/en/askPrinter.xml:4 +msgid "Debian GNU/Linux" +msgstr "" + +# type: Content of: <refsect1><title> +#: debian/xml-man/en/license.xml:32 +msgid "LICENSE" +msgstr "" + +# type: Content of: <refsect1><para> +#: debian/xml-man/en/license.xml:35 +msgid "" +"This manual page was written by <personname> <firstname>Sylvain</firstname> " +"<surname>Le Gall</surname> </personname> <email>gildor@debian.org</email> " +"for the &debian; system (but may be used by others). Permission is granted " +"to copy, distribute and/or modify this document under the terms of the" +msgstr "" + +# type: Content of: <refsect1><para><acronym> +#: debian/xml-man/en/license.xml:43 +msgid "GNU" +msgstr "" + +# type: Content of: <refsect1><para> +#: debian/xml-man/en/license.xml:43 +msgid "" +"Lesser General Public License, Version 2.1 or any later version published by " +"the Free Software Foundation; considering as source code all the file that " +"enable the production of this manpage." +msgstr "" + +# type: Content of: <refentryinfo><copyright><holder> +#: debian/xml-man/en/refentryinfo.xml:38 +msgid "Sylvain Le Gall" +msgstr "" + +# type: Content of: <refentryinfo><date> +#: debian/xml-man/en/refentryinfo.xml:40 +msgid "Nov 17, 2006" +msgstr "" + +# type: Content of the dhprg entity +#: debian/xml-man/en/ttink.xml:5 +msgid "<command>ttink</command>" +msgstr "" + +# type: Content of the dhgprg entity +#: debian/xml-man/en/ttink.xml:6 +msgid "<command>mtink</command>" +msgstr "" + +# type: Content of: <refentry><refnamediv><refname> +#: debian/xml-man/en/ttink.xml:43 +msgid "ttink" +msgstr "" + +# type: Content of: <refentry><refnamediv><refpurpose> +#: debian/xml-man/en/ttink.xml:45 +msgid "program to control your EPSON printer" +msgstr "" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><arg><group> +#: debian/xml-man/en/ttink.xml:53 +msgid "<arg choice=\"plain\">-d</arg> <arg choice=\"plain\">--device</arg>" +msgstr "" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><arg> +#: debian/xml-man/en/ttink.xml:55 +msgid "<replaceable>device_file</replaceable> </arg> <arg>" +msgstr "" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><arg><group> +#: debian/xml-man/en/ttink.xml:59 +msgid "<arg choice=\"plain\">-m</arg> <arg choice=\"plain\">--model</arg>" +msgstr "" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> +#: debian/xml-man/en/ttink.xml:61 +msgid "<replaceable>model_number</replaceable> </arg>" +msgstr "" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:63 +msgid "<arg choice=\"plain\">-r</arg><arg choice=\"plain\">--reset</arg>" +msgstr "" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:64 +msgid "<arg choice=\"plain\">-c</arg><arg choice=\"plain\">--clean</arg>" +msgstr "" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:65 +msgid "<arg choice=\"plain\">-n</arg><arg choice=\"plain\">--nozzle-check</arg>" +msgstr "" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:66 +msgid "<arg choice=\"plain\">-s</arg><arg choice=\"plain\">--status</arg>" +msgstr "" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:67 +msgid "<arg choice=\"plain\">-a</arg><arg choice=\"plain\">--align-head</arg>" +msgstr "" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:68 +msgid "<arg choice=\"plain\">-e</arg><arg choice=\"plain\">--exchange-ink</arg>" +msgstr "" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:69 +msgid "<arg choice=\"plain\">-i</arg><arg choice=\"plain\">--identity</arg>" +msgstr "" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:70 +msgid "<arg choice=\"plain\">-v</arg><arg choice=\"plain\">--version</arg>" +msgstr "" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/ttink.xml:71 +msgid "<arg choice=\"plain\">-l</arg><arg choice=\"plain\">--list-printer</arg>" +msgstr "" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> +#: debian/xml-man/en/ttink.xml:75 +msgid "&dhgprg; <arg>-noAutoDetect</arg>" +msgstr "" + +# type: Content of: <refentry><refsect1><title> +#: debian/xml-man/en/ttink.xml:81 debian/xml-man/en/mtinkc.xml:54 debian/xml-man/en/mtinkd.xml:65 debian/xml-man/en/askPrinter.xml:55 +msgid "DESCRIPTION" +msgstr "" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/ttink.xml:83 +msgid "This manual page documents briefly the &dhprg; and &dhgprg; commands." +msgstr "" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/ttink.xml:86 +msgid "&dhprg; is the command line version of &dhgprg;" +msgstr "" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/ttink.xml:88 debian/xml-man/en/mtinkc.xml:58 debian/xml-man/en/mtinkd.xml:69 debian/xml-man/en/askPrinter.xml:59 +msgid "" +"This manual page was written for the &debian; distribution because the " +"original program does not have a manual page." +msgstr "" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/ttink.xml:91 +msgid "&dhgprg; is a status monitor for EPSON ink jet printer" +msgstr "" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/ttink.xml:93 +msgid "" +"With &dhgprg; you will be able to display the remaining ink quantity and the " +"state of your printer. Operation as check nozzle, clean nozzle and align " +"head are also implemented." +msgstr "" + +# type: Content of: <refentry><refsect1><title> +#: debian/xml-man/en/ttink.xml:100 debian/xml-man/en/mtinkd.xml:82 debian/xml-man/en/askPrinter.xml:67 +msgid "OPTIONS" +msgstr "" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/ttink.xml:102 debian/xml-man/en/mtinkd.xml:84 +msgid "" +"These programs follow the usual GNU command line syntax, with long options " +"starting with two dashes (`-'). A summary of options is included below." +msgstr "" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/ttink.xml:106 debian/xml-man/en/mtinkd.xml:88 debian/xml-man/en/askPrinter.xml:73 +msgid "Options for &dhprg;" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:110 +msgid "-d" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:111 +msgid "--device" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:113 +msgid "" +"Specify the device file associated with the printer. Depending on what kind " +"of printer you have, it could be /dev/parport, /dev/usb/lp0..." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:119 +msgid "-m" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:120 +msgid "--model" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:122 +msgid "" +"Specify the printer or the entry number corresponding to your printer. If " +"not supplied, the program try to guess what kind of printer you have." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:127 +msgid "-r" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:128 +msgid "--reset" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:130 +msgid "To command the reset of the printer." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:134 +msgid "-n" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:135 +msgid "--nozzle-check" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:137 +msgid "Print a pattern. You can then check if nozzle are well aligned." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:141 +msgid "-s" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:142 +msgid "--status" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:144 +msgid "" +"This is the default option. It prints the remaining quantities of ink in " +"each cartridge." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:149 +msgid "-v" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:150 +msgid "--version" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:152 +msgid "Show version of program." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:156 +msgid "-l" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:157 +msgid "--list-printer" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:159 +msgid "Show all the printer handled by the program." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:163 +msgid "-a" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:164 +msgid "--align-head" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:166 +msgid "Begin an head alignement." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:170 +msgid "-e" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:171 +msgid "--exchange-ink" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:173 +msgid "Exchange the cartridge (not all printer)." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:177 +msgid "-i" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:178 +msgid "--identity" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:180 +msgid "Show the identity of the printer." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:184 +msgid "-c" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:185 +msgid "--clean" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:187 +msgid "Clean nozzle." +msgstr "" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/ttink.xml:192 +msgid "Options for &dhgprg;" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/ttink.xml:195 +msgid "-noAutodetect" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/ttink.xml:197 +msgid "Disable autodetection of the printer." +msgstr "" + +# type: Content of: <refentry><refsect1><title> +#: debian/xml-man/en/ttink.xml:206 debian/xml-man/en/mtinkc.xml:68 debian/xml-man/en/mtinkd.xml:176 debian/xml-man/en/askPrinter.xml:93 +msgid "SEE ALSO" +msgstr "" + +# type: Content of the dhprg entity +#: debian/xml-man/en/mtinkc.xml:5 +msgid "<command>mtinkc</command>" +msgstr "" + +# type: Content of: <refentry><refnamediv><refname> +#: debian/xml-man/en/mtinkc.xml:42 +msgid "mtinkc" +msgstr "" + +# type: Content of: <refentry><refnamediv><refpurpose> +#: debian/xml-man/en/mtinkc.xml:44 +msgid "program to choose which EPSON printers to control" +msgstr "" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/mtinkc.xml:56 debian/xml-man/en/mtinkd.xml:67 debian/xml-man/en/askPrinter.xml:57 +msgid "This manual page documents briefly the &dhprg; command." +msgstr "" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/mtinkc.xml:61 +msgid "With &dhprg; you will be prompted for the EPSON printer you want to monitor." +msgstr "" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/mtinkc.xml:71 debian/xml-man/en/askPrinter.xml:96 +msgid "" +"<filename>/usr/share/doc/mtink/html/index.html</filename>, <citerefentry> " +"<refentrytitle> <command>mtink</command> </refentrytitle> " +"<manvolnum>1</manvolnum> </citerefentry>" +msgstr "" + +# type: Content of the dhprg entity +#: debian/xml-man/en/mtinkd.xml:5 +msgid "<command>mtinkd</command>" +msgstr "" + +# type: Content of: <refentry><refnamediv><refname> +#: debian/xml-man/en/mtinkd.xml:42 +msgid "mtinkd" +msgstr "" + +# type: Content of: <refentry><refnamediv><refpurpose> +#: debian/xml-man/en/mtinkd.xml:44 +msgid "daemon to control your EPSON printer" +msgstr "" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> +#: debian/xml-man/en/mtinkd.xml:49 +msgid "" +"&dhprg; <arg>-dev <replaceable>device_file</replaceable></arg> <arg>-name " +"<replaceable>model</replaceable></arg> <arg>-usbbase " +"<replaceable>pattern_device_file</replaceable></arg> <arg>-nodaemaon</arg> " +"<arg>-model <replaceable>model_name</replaceable></arg> <arg>-debug</arg>" +msgstr "" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group> +#: debian/xml-man/en/mtinkd.xml:57 +msgid "<arg>start</arg> <arg>stop</arg> <arg>status</arg>" +msgstr "" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/mtinkd.xml:72 +msgid "&dhprg; is a status monitor for EPSON ink jet printer" +msgstr "" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/mtinkd.xml:74 +msgid "It permits to watch the remaining ink while printing." +msgstr "" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/mtinkd.xml:76 +msgid "" +"As it keeps <filename>/dev/lp*</filename> open, you have to change your " +"printing parameter to link the printer to " +"<filename>/var/run/mtink/printer</filename>" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/mtinkd.xml:93 +msgid "-dev <replaceable>device_file</replaceable>" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:96 +msgid "" +"This option is mandatory and is also used in order to get the status or to " +"stop a running server. Device file is the name of the character device on " +"which the printer is attached (<filename>/dev/lp0</filename>, " +"<filename>/dev/usb/lp0</filename>, <filename>/dev/ecpp0</filename>)." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/mtinkd.xml:104 +msgid "-nodaemon" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:106 +msgid "" +"This option is for test purpose, without this option mtink start in the " +"background." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/mtinkd.xml:111 +msgid "-name <replaceable>model</replaceable>" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:114 +msgid "" +"If the printer don't return it identity you may tell which printer is " +"attached. The name is derived from the official name and space characters " +"are to be replaced by the \"_\" character. This will be the case for the " +"Stylus Scan 2500 (model name is Scan_2500)." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:118 +msgid "" +"This option may also be usefull for multifunction device as the Stylus Photo " +"895 under Linux. If the printer is powered off and then on, the usb kernel " +"will not detect the printer properly and mtinkd must be at least stopped and " +"started again." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/mtinkd.xml:125 +msgid "-model <replaceable>model_name</replaceable>" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:128 +msgid "" +"The name of the named pipe will be set according to this name. If the " +"-model option is not given, mtinkd will terminate if the identification " +"returned don't comply with passed name." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/mtinkd.xml:134 +msgid "-usbbase" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:137 +msgid "" +"This option requires a special system call which is only implemented into " +"newer kernels." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:139 +msgid "The -type name option is required !" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:140 +msgid "" +"path and device file base may be /usr/usblp or /usr/usb/lp. All device " +"files matching whith the passed name will be scanned for the wanted printer, " +"the device file will then be used later." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:144 +msgid "" +"If the kernel don't support the special call, scanning will fail and if the " +"-dev device_file option was given, the given device file name will then be " +"used." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/mtinkd.xml:150 +msgid "start" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:152 +msgid "The server will be started. start may be ommited." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/mtinkd.xml:156 +msgid "stop" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:159 +msgid "An running server will be stopped." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> +#: debian/xml-man/en/mtinkd.xml:163 +msgid "status" +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/mtinkd.xml:166 +msgid "This allow to ask if a server is running." +msgstr "" + +# type: Content of the dhprg entity +#: debian/xml-man/en/askPrinter.xml:5 +msgid "<command>askPrinter</command>" +msgstr "" + +# type: Content of: <refentry><refnamediv><refname> +#: debian/xml-man/en/askPrinter.xml:42 +msgid "askPrinter" +msgstr "" + +# type: Content of: <refentry><refnamediv><refpurpose> +#: debian/xml-man/en/askPrinter.xml:44 +msgid "Program to detect the name of your EPSON printer" +msgstr "" + +# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> +#: debian/xml-man/en/askPrinter.xml:49 +msgid "&dhprg; <arg><replaceable>dev-path-to-printer</replaceable></arg>" +msgstr "" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/askPrinter.xml:62 +msgid "&dhprg; is a helper program to help you configure Mtink" +msgstr "" + +# type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/askPrinter.xml:69 +msgid "" +"These programs follow the usual GNU command line syntax, with long options " +"starting with two dashes (`-'). A summary of options is included below." +msgstr "" + +# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/askPrinter.xml:81 +msgid "" +"Specify the device file associated with the printer. Depending on what kind " +"of printer you have, it could be <filename>/dev/parport</filename>, " +"<filename>/dev/usb/lp0</filename>..." +msgstr "" --- mtink-1.0.16.orig/debian/patches/cflags.dpatch +++ mtink-1.0.16/debian/patches/cflags.dpatch @@ -0,0 +1,189 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## cflags.dpatch by Sylvain Le Gall <gildor@debian.org> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mtink-1.0.13a~/Configure mtink-1.0.13a/Configure +--- mtink-1.0.13a~/Configure 2006-04-16 08:15:45.000000000 +0200 ++++ mtink-1.0.13a/Configure 2006-10-01 18:26:18.000000000 +0200 +@@ -364,19 +364,19 @@ + echo + fi + else +- # Build CFLAGS and LFLAGS ++ # Build MTINK_CFLAGS and LFLAGS + if [ $gimptoolFound -eq 2 ] + then +- CFLAGS=`gimptool-2.0 --cflags` ++ MTINK_CFLAGS=`gimptool-2.0 --cflags` + LFLAGS=`gimptool-2.0 --libs` + else +- CFLAGS=`gimptool --cflags` ++ MTINK_CFLAGS=`gimptool --cflags` + LFLAGS=`gimptool --libs` + fi + + # Check for Header files libgimp/gimp.h + includeFileFound=0 +- for dir in `echo $CFLAGS | tr ' ' '\012' | grep -- -I | sed 's/-I//'`\ ++ for dir in `echo $MTINK_CFLAGS | tr ' ' '\012' | grep -- -I | sed 's/-I//'`\ + /usr/include /usr/local/include + do + if [ -f $dir/libgimp/gimp.h ] +@@ -463,7 +463,7 @@ + fi |\ + if [ "$gimptoolFound" -ge 1 ] + then +- sed -e "s@GIMP_INC .*@GIMP_INC = $CFLAGS@" \ ++ sed -e "s@GIMP_INC .*@GIMP_INC = $MTINK_CFLAGS@" \ + -e "s@GIMP_LIB .*@GIMP_LIB = $LFLAGS@" \ + -e "s@^gimpVersion=.*@gimpVersion=$gimpVersion@" + else +diff -urNad mtink-1.0.13a~/Makefile.ORG mtink-1.0.13a/Makefile.ORG +--- mtink-1.0.13a~/Makefile.ORG 2006-06-04 08:57:06.000000000 +0200 ++++ mtink-1.0.13a/Makefile.ORG 2006-10-01 18:29:57.000000000 +0200 +@@ -36,7 +36,7 @@ + MACOSLDFLG=-framework IOKit -framework CoreFoundation -lusb -lpthread $(MACLB) + MACOSCFLG=-DMACOS=1 + +-CFLAGS= $(DBG) -I. -I./$(SRCDIR) $(PI) $(MOINC) -I/usr/X11R6/include -I/usr/dt/include $(MACINCL) -DWAIT_FOR_PRINTER=0 $(XPM_INC) -DPREFIX=\"$(prefix)\" $(MACOSCFLG) ++MTINK_CFLAGS= $(DBG) -I. -I./$(SRCDIR) $(PI) $(MOINC) -I/usr/X11R6/include -I/usr/dt/include $(MACINCL) -DWAIT_FOR_PRINTER=0 $(XPM_INC) -DPREFIX=\"$(prefix)\" $(MACOSCFLG) + LFLAGS= $(DBG) $(PL) -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/usr/dt/lib $(MACLIB) $(MOLIB) $(LIBXP) $(XPM_LIB) -lXext -lXt -lX11 $(MACOSLDFLG) + + # Modify CC to cc if needed +@@ -143,67 +143,67 @@ + + $(SRCDIR)/rcfile.o: $(SRCDIR)/rcfile.c $(SRCDIR)/rcfile.h $(SRCDIR)/mtink.h Makefile + @echo Compile rcfile.c +- @$(CC) -c -o $(SRCDIR)/rcfile.o $(SRCDIR)/rcfile.c $(CFLAGS) -DWITH_X=1 ++ @$(CC) -c -o $(SRCDIR)/rcfile.o $(SRCDIR)/rcfile.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1 + + $(SRCDIR)/fsb.o: $(SRCDIR)/fsb.c $(SRCDIR)/fsb.h $(SRCDIR)/mtink.h $(SRCDIR)/wheelmouse.h Makefile + @echo Compile fsb.c +- @$(CC) -c -o $(SRCDIR)/fsb.o $(SRCDIR)/fsb.c $(CFLAGS) -DWITH_X=1 ++ @$(CC) -c -o $(SRCDIR)/fsb.o $(SRCDIR)/fsb.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1 + + $(SRCDIR)/scrtxt.o: $(SRCDIR)/scrtxt.c $(SRCDIR)/scrtxt.h $(SRCDIR)/mtink.h $(SRCDIR)/wheelmouse.h Makefile + @echo Compile scrtxt.c +- @$(CC) -c -o $(SRCDIR)/scrtxt.o $(SRCDIR)/scrtxt.c $(CFLAGS) -DWITH_X=1 ++ @$(CC) -c -o $(SRCDIR)/scrtxt.o $(SRCDIR)/scrtxt.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1 + + $(SRCDIR)/cfg1.o: $(SRCDIR)/cfg1.c $(SRCDIR)/cfg1.h $(SRCDIR)/mtink.h $(SRCDIR)/cmd.h $(SRCDIR)/wheelmouse.h $(SRCDIR)/model.h Makefile + @echo Compile cfg1.c +- @$(CC) -c -o $(SRCDIR)/cfg1.o $(SRCDIR)/cfg1.c $(CFLAGS) -DWITH_X=1 ++ @$(CC) -c -o $(SRCDIR)/cfg1.o $(SRCDIR)/cfg1.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1 + + $(SRCDIR)/micon.o: $(SRCDIR)/micon.c $(SRCDIR)/micon.h Makefile + @echo Compile micon.c +- @$(CC) -c -o $(SRCDIR)/micon.o $(SRCDIR)/micon.c $(CFLAGS) -DWITH_X=1 ++ @$(CC) -c -o $(SRCDIR)/micon.o $(SRCDIR)/micon.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1 + + $(SRCDIR)/rdPrtDesc.o: $(SRCDIR)/rdPrtDesc.c $(SRCDIR)/model.c $(SRCDIR)/rdPrtDesc.h $(SRCDIR)/model.h Makefile + @echo Compile rdPrtDesc.c +- @$(CC) -c -o $(SRCDIR)/rdPrtDesc.o $(SRCDIR)/rdPrtDesc.c $(CFLAGS) -DBLD_UTIL=0 ++ @$(CC) -c -o $(SRCDIR)/rdPrtDesc.o $(SRCDIR)/rdPrtDesc.c $(CFLAGS) $(MTINK_CFLAGS) -DBLD_UTIL=0 + + $(SRCDIR)/cfg2.o: $(SRCDIR)/cfg2.c $(SRCDIR)/cfg2.h $(SRCDIR)/mtink.h $(SRCDIR)/cfg1.h $(SRCDIR)/cmd.h Makefile + @echo Compile cfg2.c +- @$(CC) -c -o $(SRCDIR)/cfg2.o $(SRCDIR)/cfg2.c $(CFLAGS) -DWITH_X=1 ++ @$(CC) -c -o $(SRCDIR)/cfg2.o $(SRCDIR)/cfg2.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1 + + $(SRCDIR)/alignbt.o: $(SRCDIR)/alignbt.c $(SRCDIR)/alignbt.h $(SRCDIR)/mtink.h $(SRCDIR)/cfg1.h $(SRCDIR)/cmd.h Makefile + @echo Compile alignbt.c +- @$(CC) -c -o $(SRCDIR)/alignbt.o $(SRCDIR)/alignbt.c $(CFLAGS) -DWITH_X=1 ++ @$(CC) -c -o $(SRCDIR)/alignbt.o $(SRCDIR)/alignbt.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1 + + $(SRCDIR)/checkenv.o: $(SRCDIR)/checkenv.c $(SRCDIR)/checkenv.h $(SRCDIR)/mtink.h $(SRCDIR)/cfg1.h $(SRCDIR)/cmd.h Makefile + @echo Compile checkenv.c +- @$(CC) -c -o $(SRCDIR)/checkenv.o $(SRCDIR)/checkenv.c $(CFLAGS) ++ @$(CC) -c -o $(SRCDIR)/checkenv.o $(SRCDIR)/checkenv.c $(CFLAGS) $(MTINK_CFLAGS) + + $(SRCDIR)/cmd.o: $(SRCDIR)/cmd.c $(SRCDIR)/d4lib.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/model.h $(SRCDIR)/al820.c $(SRCDIR)/align.c $(SRCDIR)/alC82.c $(SRCDIR)/bldpcode.c Makefile + @echo Compile cmd.c +- @$(CC) -c -o $(SRCDIR)/cmd.o $(SRCDIR)/cmd.c $(CFLAGS) $(DEBUG) $(RDTIMEOUT) $(WRTIMEOUT) -DWITH_X=1 -DSERVER=0 ++ @$(CC) -c -o $(SRCDIR)/cmd.o $(SRCDIR)/cmd.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) $(RDTIMEOUT) $(WRTIMEOUT) -DWITH_X=1 -DSERVER=0 + + $(SRCDIR)/nXcmd.o: $(SRCDIR)/cmd.c $(SRCDIR)/d4lib.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/model.h Makefile $(SRCDIR)/al820.c $(SRCDIR)/align.c $(SRCDIR)/alC82.c $(SRCDIR)/bldpcode.c + @echo Compile cmd.c as nXcmd.o +- @$(CC) -c -o $(SRCDIR)/nXcmd.o $(SRCDIR)/cmd.c $(CFLAGS) $(DEBUG) $(RDTIMEOUT) $(WRTIMEOUT) -DWITH_X=0 -DSERVER=0 ++ @$(CC) -c -o $(SRCDIR)/nXcmd.o $(SRCDIR)/cmd.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) $(RDTIMEOUT) $(WRTIMEOUT) -DWITH_X=0 -DSERVER=0 + + $(SRCDIR)/resource.o: $(SRCDIR)/resource.c $(SRCDIR)/version.h Makefile + @echo Compile resource.c +- @$(CC) -c -o $(SRCDIR)/resource.o $(SRCDIR)/resource.c $(CFLAGS) $(DEBUG) -DWITH_X=1 ++ @$(CC) -c -o $(SRCDIR)/resource.o $(SRCDIR)/resource.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) -DWITH_X=1 + + $(SRCDIR)/mtink.o: $(SRCDIR)/mtink.c $(SRCDIR)/d4lib.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/cfg1.h $(SRCDIR)/model.h $(SRCDIR)/checkenv.h Makefile + @echo Compile mtink.c +- @$(CC) -c -o $(SRCDIR)/mtink.o $(SRCDIR)/mtink.c $(CFLAGS) $(DEBUG) -DWITH_X=1 ++ @$(CC) -c -o $(SRCDIR)/mtink.o $(SRCDIR)/mtink.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) -DWITH_X=1 + + $(SRCDIR)/ttink.o: $(SRCDIR)/ttink.c $(SRCDIR)/d4lib.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/model.h Makefile + @echo Compile ttink.c +- @$(CC) -c -o $(SRCDIR)/ttink.o $(SRCDIR)/ttink.c $(CFLAGS) $(DEBUG) -DWITH_X=0 ++ @$(CC) -c -o $(SRCDIR)/ttink.o $(SRCDIR)/ttink.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) -DWITH_X=0 + + $(SRCDIR)/tooltip.o: $(SRCDIR)/tooltip.c $(SRCDIR)/tooltip.h Makefile + @echo Compile tooltip.c +- @$(CC) -c -o $(SRCDIR)/tooltip.o $(SRCDIR)/tooltip.c $(CFLAGS) $(DEBUG) -DWITH_X=1 ++ @$(CC) -c -o $(SRCDIR)/tooltip.o $(SRCDIR)/tooltip.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) -DWITH_X=1 + + $(SRCDIR)/wheelmouse.o: $(SRCDIR)/wheelmouse.c Makefile + @echo Compile wheelmouse.c +- @$(CC) -c -o $(SRCDIR)/wheelmouse.o $(SRCDIR)/wheelmouse.c $(CFLAGS) $(DEBUG) -DWITH_X=1 ++ @$(CC) -c -o $(SRCDIR)/wheelmouse.o $(SRCDIR)/wheelmouse.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) -DWITH_X=1 + + $(SRCDIR)/rdRes.o: $(SRCDIR)/rdRes.c $(SRCDIR)/tres.c Makefile + @echo Compile rdRes.c +@@ -211,15 +211,15 @@ + + $(SRCDIR)/usbHlp.o: $(SRCDIR)/usbHlp.c Makefile + @echo Compile usbHlp.c +- @-$(CC) -c -o $(SRCDIR)/usbHlp.o $(SRCDIR)/usbHlp.c $(CFLAGS) $(DEBUG) ++ @-$(CC) -c -o $(SRCDIR)/usbHlp.o $(SRCDIR)/usbHlp.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) + + mtink: $(OBJ) $(SRCDIR)/d4lib.h $(SRCDIR)/alignbt.h $(SRCDIR)/scrtxt.h $(SRCDIR)/cfg1.h $(SRCDIR)/cfg2.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/cfg1.h $(SRCDIR)/version.h + @echo Link mtink +- @$(CC) -o mtink $(OBJ) $(CFLAGS) $(LFLAGS) $(RDTIMEOUT) $(DEVICE) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) -DWITH_X=1 ++ @$(CC) -o mtink $(OBJ) $(CFLAGS) $(MTINK_CFLAGS) $(LDFLAGS) $(LFLAGS) $(RDTIMEOUT) $(DEVICE) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) -DWITH_X=1 + + ttink: $(TTYOBJ) $(SRCDIR)/d4lib.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/model.h $(SRCDIR)/version.h Makefile + @echo Link ttink +- @$(CC) -o ttink $(TTYOBJ) $(CFLAGS) $(RDTIMEOUT) $(DEVICE) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) $(MACOSLDFLG) -DWITH_X=0 ++ @$(CC) -o ttink $(TTYOBJ) $(CFLAGS) $(MTINK_CFLAGS) $(RDTIMEOUT) $(DEVICE) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) $(MACOSLDFLG) -DWITH_X=0 + + ############# PLUG-IN ####################### + gimp-mtink: $(SRCDIR)/gimp-mtink.c Makefile +@@ -229,25 +229,25 @@ + ############# SERVER ######################## + $(SVRDIR)/mtinkd.o: $(SVRDIR)/mtinkd.c Makefile + @echo Compile mtinkd.c +- @$(CC) -c -o $(SVRDIR)/mtinkd.o $(SVRDIR)/mtinkd.c -DSERVER=1 $(CFLAGS) ++ @$(CC) -c -o $(SVRDIR)/mtinkd.o $(SVRDIR)/mtinkd.c -DSERVER=1 $(CFLAGS) $(MTINK_CFLAGS) + + $(SVRDIR)/d4lib.o: $(SRCDIR)/d4lib.c Makefile + @echo Compile d4lib.c +- @$(CC) -c -o $(SVRDIR)/d4lib.o $(SRCDIR)/d4lib.c $(RDTIMEOUT) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) $(CFLAGS) ++ @$(CC) -c -o $(SVRDIR)/d4lib.o $(SRCDIR)/d4lib.c $(RDTIMEOUT) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) $(CFLAGS) $(MTINK_CFLAGS) + + $(SVRDIR)/cmd.o: $(SRCDIR)/cmd.c Makefile + @echo Compile cmd.c +- @$(CC) -c -o $(SVRDIR)/cmd.o $(SRCDIR)/cmd.c -DSERVER=1 $(CFLAGS) ++ @$(CC) -c -o $(SVRDIR)/cmd.o $(SRCDIR)/cmd.c -DSERVER=1 $(CFLAGS) $(MTINK_CFLAGS) + + mtinkd: $(SVR_OBJ) Makefile + @echo Link mtinkd +- @$(CC) -o mtinkd $(SVR_OBJ) $(CFLAGS) $(MACOSLDFLG) ++ @$(CC) -o mtinkd $(SVR_OBJ) $(CFLAGS) $(MTINK_CFLAGS) $(MACOSLDFLG) + + ########### Chooser ############## + + mtinkc: $(CHODIR)/mtinkc.c Makefile + @echo Compile and link mtinkc.c +- @$(CC) -o mtinkc $(CHODIR)/mtinkc.c $(CFLAGS) $(LFLAGS) ++ @$(CC) -o mtinkc $(CHODIR)/mtinkc.c $(CFLAGS) $(MTINK_CFLAGS) $(LDFLAGS) $(LFLAGS) + + ########### printer detection ############## + --- mtink-1.0.16.orig/debian/patches/keep-pristine-source.patch +++ mtink-1.0.16/debian/patches/keep-pristine-source.patch @@ -0,0 +1,660 @@ +diff -Nurd mtink-1.0.13a.org/Configure mtink-1.0.13a/Configure +--- mtink-1.0.13a.org/Configure 2006-10-02 02:05:39.000000000 +0200 ++++ mtink-1.0.13a/Configure 2006-10-02 02:06:54.000000000 +0200 +@@ -486,10 +486,7 @@ + -e "$mlCmd" -e "$miCmd" > Makefile + + # and server install script +- sed -e 's@^PROG.*@PROG='$prefix'/sbin/mtinkd@' etc/mtink.ORG > etc/mtink.tmp +- mv etc/mtink.tmp etc/mtink.ORG +- sed -e 's@^PROG.*@PROG='$prefix'/sbin/mtinkd@' etc/mtink > etc/mtink.tmp +- mv etc/mtink.tmp etc/mtink ++ sed -e 's@^PROG.*@PROG='$prefix'/sbin/mtinkd@' etc/mtink.ORG > etc/mtink + + if [ -d $prefix/doc ] + then +diff -Nurd mtink-1.0.13a.org/etc/mtink mtink-1.0.13a/etc/mtink +--- mtink-1.0.13a.org/etc/mtink 2006-10-02 02:05:38.000000000 +0200 ++++ mtink-1.0.13a/etc/mtink 1970-01-01 01:00:00.000000000 +0100 +@@ -1,62 +0,0 @@ +-#!/bin/sh +-######################################################################### +-# +-# Start / stop script for mtinkd +-# +-# In order to be distibution independant, the server known a few +-# extra commands: +-# start +-# stop +-# status +-# +-# other typical commands as restart are implemented as +-# call from start and restart +-# +-# Author Jean-Jacques Sarton +-# jj.sarton@ t-online.de +-# http://xwtools.automatix.de +-# +-# Version 0.3-Mdk 29-08-2002 +-# +-########################################################################## +- +- +-# define the device file, adapt this +-#DEV_FILE=/dev/lp0 +-DEV_FILE=/dev/usb/lp0 +- +-# Special options, adapt this +-# add name of printer +-NAME= +- +-# use the first line for USB printers, the second for parallel port printers +-SPEC="-name $NAME -usbbase /dev/usb/lp" +-#SPEC="-name $NAME" +-# or if /etc/mtinkd.conf exist for this file. +-if [ -f /etc/mtinkd.conf ] +-then +- SPEC=`sed -n 1p /etc/mtinkd.conf` +-fi +- +-# where the program is located +- +-PROG=/usr/local/sbin/mtinkd +- +-case $1 in +- start|stop|status) +- echo "$1 `basename $0` for $DEV_FILE $SPEC" +- $PROG $1 -dev $DEV_FILE $SPEC +- RETVAL=$?;; +- restart) +- echo "stop `basename $0` for $DEV_FILE $SPEC" +- $PROG stop -dev $DEV_FILE $SPEC +- sleep 2 +- echo "start `basename $0` for $DEV_FILE $SPEC" +- $PROG start -dev $DEV_FILE $SPEC +- RETVAL=$?;; +- *) +- echo "Syntax `basename $0` start|stop|status|restart" +- RETVAL=1;; +-esac +- +-exit $RETVAL +diff -Nurd mtink-1.0.13a.org/Makefile mtink-1.0.13a/Makefile +--- mtink-1.0.13a.org/Makefile 2006-10-02 02:05:39.000000000 +0200 ++++ mtink-1.0.13a/Makefile 1970-01-01 01:00:00.000000000 +0100 +@@ -1,561 +0,0 @@ +-# This will work for Linux and Solaris +- +-prefix=/usr/local +-setUid=1 +-gimpVersion=2.2.11 +- +-DBG = -s -O +- +-# comment this out for Solaris +- +-LIBXP = -lXp +- +-# xpm header an library, if no entry, xpm will not be used +-XPM_INC = -DMOTIF_XPM +-XPM_LIB = +- +-# for me, test with Lesstif +-#PI=-I/usr/X11R6/LessTif/Motif1.2/include +-#PL=-L/usr/X11R6/LessTif/Motif1.2/lib +- +-# You may specify the Motif library version you want to use here +-# path for library will be included in the binary, as well as the library version +-#MOLIB = -Xlinker -rpath -Xlinker /usr/X11R6/LessTif/Motif1.2/lib/ /usr/X11R6/LessTif/Motif1.2/lib/libXm.so.1 +- +-# the libXm.so.1 is under the standard path, we need only to tell wich lib is to be loaded +-#MOLIB = /usr/X11R6/lib/libXm.so.1 +- +-# this is the standard and will normally work. +-# normal value +-MOLIB = -lXm +-MOINC = -I/usr/include +- +-#MACINCL = -I/usr/OpenMotif/include +-#MACLB = -L/usr/OpenMotif/lib +- +- +- +- +-CFLAGS= $(DBG) -I. -I./$(SRCDIR) $(PI) $(MOINC) -I/usr/X11R6/include -I/usr/dt/include $(MACINCL) -DWAIT_FOR_PRINTER=0 $(XPM_INC) -DPREFIX=\"$(prefix)\" $(MACOSCFLG) +-LFLAGS= $(DBG) $(PL) -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/usr/dt/lib $(MACLIB) $(MOLIB) $(LIBXP) $(XPM_LIB) -lXext -lXt -lX11 $(MACOSLDFLG) +- +-# Modify CC to cc if needed +-CC=gcc +- +-# I must be able to build a static linked version of mtink +-# this is not for you +-#LFLAGS= $(DBG) -L/usr/X11R6/lib -L/usr/dt/lib /home/jj/MOTIF/motif/lib/Xm/libXm.a -lXp -lXt -lSM -LICE -lXext -lX11 +- +-# Adapt this if necesssary +-GIMP_INC = -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGIMP_VERSION_2 +-GIMP_LIB = -L/usr/lib -lgimpui-2.0 -lgimpwidgets-2.0 -lgimp-2.0 -lgimpcolor-2.0 -lgimpmath-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 +- +-############################################################ +-# The programs we generate +- +-PRG = mtink mtinkc ttink mtinkd $(DETDIR)/askPrinter gimp-mtink +- +-SRCDIR = mainSrc +-DOCDIR = html +-UTILS = utils +-SVRDIR = server +-DETDIR = detect +-CHODIR = chooser +- +-############################################################ +-# If you want to get debug informations +- +-DEBUG = -DDEBUG=0 -DPTIME=0 +-#DEBUG = -DDEBUG=0 -DPTIME0 -DSIMULATION=1 +-#DEBUG = -DDEBUG=1 -DPTIME=0 +- +-############################################################ +-# time out for reading from // port, value in msec. +- +-RDTIMEOUT=-DRDTIMEOUT=20000 +- +-############################################################ +-# exit after at least 10 seconds (time in ms) +- +-WRTIMEOUT=-DWRTIMEOUT=2000 +- +-############################################################ +-# Our objekt files +- +-OBJ = $(SRCDIR)/mtink.o \ +- $(SRCDIR)/rw.o \ +- $(SRCDIR)/d4lib.o \ +- $(SRCDIR)/cfg1.o \ +- $(SRCDIR)/rdPrtDesc.o \ +- $(SRCDIR)/fsb.o \ +- $(SRCDIR)/cfg2.o \ +- $(SRCDIR)/alignbt.o \ +- $(SRCDIR)/scrtxt.o \ +- $(SRCDIR)/resource.o \ +- $(SRCDIR)/rcfile.o \ +- $(SRCDIR)/cmd.o \ +- $(SRCDIR)/tooltip.o \ +- $(SRCDIR)/wheelmouse.o \ +- $(SRCDIR)/usbHlp.o \ +- $(SRCDIR)/micon.o \ +- $(SRCDIR)/checkenv.o +- +-TTYOBJ = $(SRCDIR)/ttink.o \ +- $(SRCDIR)/rw.o \ +- $(SRCDIR)/d4lib.o \ +- $(SRCDIR)/rdPrtDesc.o \ +- $(SRCDIR)/nXcmd.o \ +- $(SRCDIR)/usbHlp.o \ +- $(SRCDIR)/rdRes.o +- +-SVR_OBJ = $(SVRDIR)/mtinkd.o \ +- $(SRCDIR)/rw.o \ +- $(SVRDIR)/cmd.o \ +- $(SVRDIR)/d4lib.o \ +- $(SRCDIR)/usbHlp.o +- +- +-DOC = *.gif *.html +- +-all: $(PRG) $(UTILS)/bldRes $(UTILS)/rdPrtDesc $(UTILS)/chckRes +- +-clean: +- @if [ "`echo $(SRCDIR)/*.o`" != "$(SRCDIR)"/'*.o' ]; then rm $(SRCDIR)/*.o; fi; >/dev/null 2>/dev/null +- @if [ -f mtink ]; then rm mtink ; fi +- @if [ -f mtinkc ]; then rm mtinkc ; fi +- @if [ -f ttink ]; then rm ttink ; fi +- @if [ -f gimp-mtink ]; then rm gimp-mtink ; fi +- @if [ -f $(UTILS)/bldRes ]; then rm $(UTILS)/bldRes ; fi +- @if [ -f $(UTILS)/rdPrtDesc ]; then rm $(UTILS)/rdPrtDesc ; fi +- @if [ -f $(UTILS)/chckRes ]; then rm $(UTILS)/chckRes ; fi +- @if [ "`echo $(SVRDIR)/*.o `" != "$(SVRDIR)"/'*.o' ]; then rm $(SVRDIR)/*.o; fi; >/dev/null 2>/dev/null +- @if [ -f mtinkd ]; then rm mtinkd ; fi +- @if [ -f $(DETDIR)/askPrinter ]; then rm $(DETDIR)/askPrinter; fi +- +-############## COMMON AND frintends ################## +-$(SRCDIR)/d4lib.o: $(SRCDIR)/d4lib.c $(SRCDIR)/d4lib.h Makefile +- @echo Compile d4lib.c +- @$(CC) -c -o $(SRCDIR)/d4lib.o $(SRCDIR)/d4lib.c $(RDTIMEOUT) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) $(MACOSCFLG) +- +-$(SRCDIR)/rw.o: $(SRCDIR)/rw.c Makefile +- @echo Compile rw.c +- @$(CC) -c -o $(SRCDIR)/rw.o $(SRCDIR)/rw.c $(DEBUG) $(MACOSCFLG) +- +-$(SRCDIR)/rcfile.o: $(SRCDIR)/rcfile.c $(SRCDIR)/rcfile.h $(SRCDIR)/mtink.h Makefile +- @echo Compile rcfile.c +- @$(CC) -c -o $(SRCDIR)/rcfile.o $(SRCDIR)/rcfile.c $(CFLAGS) -DWITH_X=1 +- +-$(SRCDIR)/fsb.o: $(SRCDIR)/fsb.c $(SRCDIR)/fsb.h $(SRCDIR)/mtink.h $(SRCDIR)/wheelmouse.h Makefile +- @echo Compile fsb.c +- @$(CC) -c -o $(SRCDIR)/fsb.o $(SRCDIR)/fsb.c $(CFLAGS) -DWITH_X=1 +- +-$(SRCDIR)/scrtxt.o: $(SRCDIR)/scrtxt.c $(SRCDIR)/scrtxt.h $(SRCDIR)/mtink.h $(SRCDIR)/wheelmouse.h Makefile +- @echo Compile scrtxt.c +- @$(CC) -c -o $(SRCDIR)/scrtxt.o $(SRCDIR)/scrtxt.c $(CFLAGS) -DWITH_X=1 +- +-$(SRCDIR)/cfg1.o: $(SRCDIR)/cfg1.c $(SRCDIR)/cfg1.h $(SRCDIR)/mtink.h $(SRCDIR)/cmd.h $(SRCDIR)/wheelmouse.h $(SRCDIR)/model.h Makefile +- @echo Compile cfg1.c +- @$(CC) -c -o $(SRCDIR)/cfg1.o $(SRCDIR)/cfg1.c $(CFLAGS) -DWITH_X=1 +- +-$(SRCDIR)/micon.o: $(SRCDIR)/micon.c $(SRCDIR)/micon.h Makefile +- @echo Compile micon.c +- @$(CC) -c -o $(SRCDIR)/micon.o $(SRCDIR)/micon.c $(CFLAGS) -DWITH_X=1 +- +-$(SRCDIR)/rdPrtDesc.o: $(SRCDIR)/rdPrtDesc.c $(SRCDIR)/model.c $(SRCDIR)/rdPrtDesc.h $(SRCDIR)/model.h Makefile +- @echo Compile rdPrtDesc.c +- @$(CC) -c -o $(SRCDIR)/rdPrtDesc.o $(SRCDIR)/rdPrtDesc.c $(CFLAGS) -DBLD_UTIL=0 +- +-$(SRCDIR)/cfg2.o: $(SRCDIR)/cfg2.c $(SRCDIR)/cfg2.h $(SRCDIR)/mtink.h $(SRCDIR)/cfg1.h $(SRCDIR)/cmd.h Makefile +- @echo Compile cfg2.c +- @$(CC) -c -o $(SRCDIR)/cfg2.o $(SRCDIR)/cfg2.c $(CFLAGS) -DWITH_X=1 +- +-$(SRCDIR)/alignbt.o: $(SRCDIR)/alignbt.c $(SRCDIR)/alignbt.h $(SRCDIR)/mtink.h $(SRCDIR)/cfg1.h $(SRCDIR)/cmd.h Makefile +- @echo Compile alignbt.c +- @$(CC) -c -o $(SRCDIR)/alignbt.o $(SRCDIR)/alignbt.c $(CFLAGS) -DWITH_X=1 +- +-$(SRCDIR)/checkenv.o: $(SRCDIR)/checkenv.c $(SRCDIR)/checkenv.h $(SRCDIR)/mtink.h $(SRCDIR)/cfg1.h $(SRCDIR)/cmd.h Makefile +- @echo Compile checkenv.c +- @$(CC) -c -o $(SRCDIR)/checkenv.o $(SRCDIR)/checkenv.c $(CFLAGS) +- +-$(SRCDIR)/cmd.o: $(SRCDIR)/cmd.c $(SRCDIR)/d4lib.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/model.h $(SRCDIR)/al820.c $(SRCDIR)/align.c $(SRCDIR)/alC82.c $(SRCDIR)/bldpcode.c Makefile +- @echo Compile cmd.c +- @$(CC) -c -o $(SRCDIR)/cmd.o $(SRCDIR)/cmd.c $(CFLAGS) $(DEBUG) $(RDTIMEOUT) $(WRTIMEOUT) -DWITH_X=1 -DSERVER=0 +- +-$(SRCDIR)/nXcmd.o: $(SRCDIR)/cmd.c $(SRCDIR)/d4lib.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/model.h Makefile $(SRCDIR)/al820.c $(SRCDIR)/align.c $(SRCDIR)/alC82.c $(SRCDIR)/bldpcode.c +- @echo Compile cmd.c as nXcmd.o +- @$(CC) -c -o $(SRCDIR)/nXcmd.o $(SRCDIR)/cmd.c $(CFLAGS) $(DEBUG) $(RDTIMEOUT) $(WRTIMEOUT) -DWITH_X=0 -DSERVER=0 +- +-$(SRCDIR)/resource.o: $(SRCDIR)/resource.c $(SRCDIR)/version.h Makefile +- @echo Compile resource.c +- @$(CC) -c -o $(SRCDIR)/resource.o $(SRCDIR)/resource.c $(CFLAGS) $(DEBUG) -DWITH_X=1 +- +-$(SRCDIR)/mtink.o: $(SRCDIR)/mtink.c $(SRCDIR)/d4lib.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/cfg1.h $(SRCDIR)/model.h $(SRCDIR)/checkenv.h Makefile +- @echo Compile mtink.c +- @$(CC) -c -o $(SRCDIR)/mtink.o $(SRCDIR)/mtink.c $(CFLAGS) $(DEBUG) -DWITH_X=1 +- +-$(SRCDIR)/ttink.o: $(SRCDIR)/ttink.c $(SRCDIR)/d4lib.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/model.h Makefile +- @echo Compile ttink.c +- @$(CC) -c -o $(SRCDIR)/ttink.o $(SRCDIR)/ttink.c $(CFLAGS) $(DEBUG) -DWITH_X=0 +- +-$(SRCDIR)/tooltip.o: $(SRCDIR)/tooltip.c $(SRCDIR)/tooltip.h Makefile +- @echo Compile tooltip.c +- @$(CC) -c -o $(SRCDIR)/tooltip.o $(SRCDIR)/tooltip.c $(CFLAGS) $(DEBUG) -DWITH_X=1 +- +-$(SRCDIR)/wheelmouse.o: $(SRCDIR)/wheelmouse.c Makefile +- @echo Compile wheelmouse.c +- @$(CC) -c -o $(SRCDIR)/wheelmouse.o $(SRCDIR)/wheelmouse.c $(CFLAGS) $(DEBUG) -DWITH_X=1 +- +-$(SRCDIR)/rdRes.o: $(SRCDIR)/rdRes.c $(SRCDIR)/tres.c Makefile +- @echo Compile rdRes.c +- @-$(CC) -c -o $(SRCDIR)/rdRes.o $(SRCDIR)/rdRes.c +- +-$(SRCDIR)/usbHlp.o: $(SRCDIR)/usbHlp.c Makefile +- @echo Compile usbHlp.c +- @-$(CC) -c -o $(SRCDIR)/usbHlp.o $(SRCDIR)/usbHlp.c $(CFLAGS) $(DEBUG) +- +-mtink: $(OBJ) $(SRCDIR)/d4lib.h $(SRCDIR)/alignbt.h $(SRCDIR)/scrtxt.h $(SRCDIR)/cfg1.h $(SRCDIR)/cfg2.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/cfg1.h $(SRCDIR)/version.h +- @echo Link mtink +- @$(CC) -o mtink $(OBJ) $(CFLAGS) $(LFLAGS) $(RDTIMEOUT) $(DEVICE) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) -DWITH_X=1 +- +-ttink: $(TTYOBJ) $(SRCDIR)/d4lib.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/model.h $(SRCDIR)/version.h Makefile +- @echo Link ttink +- @$(CC) -o ttink $(TTYOBJ) $(CFLAGS) $(RDTIMEOUT) $(DEVICE) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) $(MACOSLDFLG) -DWITH_X=0 +- +-############# PLUG-IN ####################### +-gimp-mtink: $(SRCDIR)/gimp-mtink.c Makefile +- @echo Compile and link gimp-mtink.c +- @-$(CC) -o gimp-mtink $(SRCDIR)/gimp-mtink.c $(GIMP_INC) $(GIMP_LIB) +- +-############# SERVER ######################## +-$(SVRDIR)/mtinkd.o: $(SVRDIR)/mtinkd.c Makefile +- @echo Compile mtinkd.c +- @$(CC) -c -o $(SVRDIR)/mtinkd.o $(SVRDIR)/mtinkd.c -DSERVER=1 $(CFLAGS) +- +-$(SVRDIR)/d4lib.o: $(SRCDIR)/d4lib.c Makefile +- @echo Compile d4lib.c +- @$(CC) -c -o $(SVRDIR)/d4lib.o $(SRCDIR)/d4lib.c $(RDTIMEOUT) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) $(CFLAGS) +- +-$(SVRDIR)/cmd.o: $(SRCDIR)/cmd.c Makefile +- @echo Compile cmd.c +- @$(CC) -c -o $(SVRDIR)/cmd.o $(SRCDIR)/cmd.c -DSERVER=1 $(CFLAGS) +- +-mtinkd: $(SVR_OBJ) Makefile +- @echo Link mtinkd +- @$(CC) -o mtinkd $(SVR_OBJ) $(CFLAGS) $(MACOSLDFLG) +- +-########### Chooser ############## +- +-mtinkc: $(CHODIR)/mtinkc.c Makefile +- @echo Compile and link mtinkc.c +- @$(CC) -o mtinkc $(CHODIR)/mtinkc.c $(CFLAGS) $(LFLAGS) +- +-########### printer detection ############## +- +-$(DETDIR)/askPrinter: $(DETDIR)/askPrinter.c +- @echo Compile and link askPrinter.c +- @$(CC) -o $(DETDIR)/askPrinter $(DETDIR)/askPrinter.c -I. -I$(DETDIR) +- +-########### utilities ###################### +- +-$(UTILS)/bldRes: $(UTILS)/bldRes.c +- @echo Compile bldRes.c +- @$(CC) -o $(UTILS)/bldRes $(UTILS)/bldRes.c +- +-$(UTILS)/rdPrtDesc: $(SRCDIR)/rdPrtDesc.c +- @echo Compile rdPrtDesc.c +- @$(CC) -o $(UTILS)/rdPrtDesc $(SRCDIR)/rdPrtDesc.c -I$(SRCDIR) +- +-$(UTILS)/chckRes: $(SRCDIR)/rdRes.c +- @echo Compile chckRes +- @$(CC) -o $(UTILS)/chckRes $(SRCDIR)/rdRes.c -I$(SRCDIR) -DRESCHECK=1 +- +-install: install-mtink install-ttink install-desc install-pyink install-askPrinter install-mtinkd install-start install-cups install-plugins +- +-install-mtink: +- @#echo install mtink +- @if id | grep '=0(root)' >/dev/null; \ +- then \ +- mkdir -p $(prefix)/bin >/dev/null 2>&1; \ +- if [ -d $(prefix)/doc ]; \ +- then \ +- mkdir -p $(prefix)/doc/mtink >/dev/null 2>&1; \ +- (cd $(DOCDIR); cp $(DOC) $(prefix)/doc/mtink); \ +- else \ +- mkdir -p $(prefix)/doc/mtink >/dev/null 2>&1; \ +- (cd $(DOCDIR); cp $(DOC) $(prefix)/doc/mtink); \ +- fi; \ +- cp mtink $(prefix)/bin; \ +- cp mtinkc $(prefix)/bin; \ +- echo "Mtink installed / installe, installiert."; echo ; \ +- if [ $(setUid) -eq 0 ]; then \ +- echo "Make sure that $(prefix)/bin/mtink has read/write access to the device files."; \ +- else \ +- chmod 4755 $(prefix)/bin/mtink; \ +- fi; \ +- if [ "$(gimpVersion)" != "" ]; then \ +- echo "Do installation of plug-in as normal user."; \ +- echo "L'installation du plug-ins doit etre effectuee avec le compte normal."; \ +- echo "Um das Plug-in zu installieren, muessen Sie als normalen Anwender eingelogt sein."; \ +- echo ; \ +- fi; \ +- fi +- +-install-ttink: +- @#echo install ttink +- @if id | grep '=0(root)' >/dev/null; \ +- then \ +- mkdir -p $(prefix)/bin >/dev/null 2>&1; \ +- cp ttink $(prefix)/bin; \ +- echo "Ttink installed / installe, installiert."; echo ; \ +- if [ $(setUid) -eq 0 ]; then \ +- echo "Make sure that $(prefix)/bin/ttink has read/write access to the device files."; \ +- else \ +- chmod 4755 $(prefix)/bin/ttink; \ +- fi; \ +- fi +- +-install-pyink: +- #@#echo install pyink server +- #@if id | grep '=0(root)' >/dev/null; \ +- #then \ +- # cd pyink;\ +- # ./configure -p $(prefix);\ +- # make install;\ +- #fi +- +-install-askPrinter: +- @#echo install askPrinter utility +- @if [ `uname` = Linux ];\ +- then \ +- if id | grep '=0(root)' >/dev/null; \ +- then \ +- mkdir -p $(prefix)/sbin >/dev/null 2>&1; \ +- cp $(DETDIR)/askPrinter $(prefix)/sbin; \ +- echo "askPrinter installed / installe, installiert."; echo ; \ +- chmod 755 $(prefix)/sbin/askPrinter; \ +- fi;\ +- fi +- +-install-mtinkd: +- @#echo install mtink daemon +- @if [ `uname` = Linux ];\ +- then \ +- if id | grep '=0(root)' >/dev/null; \ +- then \ +- mkdir -p $(prefix)/sbin >/dev/null 2>&1; \ +- cp mtinkd $(prefix)/sbin; \ +- echo "mtinkd installed / installe, installiert."; echo ; \ +- chmod 755 $(prefix)/sbin/mtinkd; \ +- fi;\ +- fi +- +-install-desc: +- @#echo install printer description file +- @if [ `uname` = Linux ];\ +- then \ +- if id | grep '=0(root)' >/dev/null; \ +- then \ +- mkdir -p $(prefix)/lib/mtink >/dev/null 2>&1; \ +- cp utils/printer.desc.bldin $(prefix)/lib/mtink/printer.desc; \ +- cp utils/printer.desc.bldin $(prefix)/lib/mtink/printer.desc; \ +- cp utils/*.align $(prefix)/lib/mtink/; \ +- fi;\ +- fi +- +-install-plugins: +- @#echo install plugins +- @if id | grep '=0(root)' >/dev/null; \ +- then \ +- PLUGDIR=`./getGimpPluginDir.sh`; \ +- if [ "$$PLUGDIR" != "" ]; \ +- then \ +- if [ -f gimp-mtink ]; \ +- then \ +- cp gimp-mtink $$PLUGDIR/; \ +- echo "Plugins installed, installe, installiert."; \ +- fi; \ +- fi; \ +- else \ +- if [ -f gimp-mtink ]; then \ +- if [ -d $(HOME)/.gimp/plug-ins ]; then \ +- cp gimp-mtink $(HOME)/.gimp/plug-ins; \ +- echo "Plugins installed, installe, installiert."; \ +- else \ +- if [ -d $(HOME)/.gimp-$(gimpVersion)/plug-ins ]; then \ +- cp gimp-mtink $(HOME)/.gimp-$(gimpVersion)/plug-ins; \ +- echo "Plugins installed, installe, installiert."; \ +- fi; \ +- fi; \ +- echo; \ +- echo "Installation of mtink only as root."; \ +- echo "L'installation de mtink necessite le compte root."; \ +- echo "Um mtink zu installieren muessen Sie als root angemeldet sein."; \ +- echo Devi essere root per fare questo.; \ +- fi; \ +- fi +- +-# On slackware install start script to /etc/rc.d instead of /etc/init.d +-install-start: +- @#echo install start part +- @if id | grep '=0(root)' >/dev/null; then \ +- if [ -d /etc/init.d ]; \ +- then \ +- cp etc/installInitScript.sh $(prefix)/sbin/mtink-installInitScript; \ +- cp etc/mtink /etc/init.d/mtink; \ +- chmod +x $(prefix)/sbin/mtink-installInitScript; \ +- chmod +x /etc/init.d/mtink; \ +- echo "$(prefix)/sbin/mtink-installInitScript installed / installe, installiert."; \ +- echo "/etc/init.d/mtink installed / installe, installiert."; echo ; \ +- else \ +- cp etc/installInitScript.sh $(prefix)/sbin/mtink-installInitScript; \ +- cp etc/mtink /etc/rc.d/mtink; \ +- chmod +x $(prefix)/sbin/mtink-installInitScript; \ +- chmod +x /etc/rc.d/mtink; \ +- echo "$(prefix)/sbin/mtink-installInitScript installed / installe, installiert."; \ +- echo "/etc/rc.d/mtink installed / installe, installiert."; echo ; \ +- fi; fi +- +- +-install-cups: +- @#echo install cups part +- @if id | grep '=0(root)' >/dev/null; then \ +- if [ -d /usr/lib/cups/backend/ ]; then \ +- cp etc/mtink-cups /usr/lib/cups/backend/mtink; \ +- chmod +x /usr/lib/cups/backend/mtink; \ +- echo "/usr/lib/cups/backend/mtink installed / installe, installiert."; echo ; \ +- fi; fi +- +-uninstall: +- @if id | grep '=0(root)' >/dev/null; \ +- then \ +- :; \ +- else \ +- echo You must be root for this.; \ +- echo Vous devez etre root pour ceci.; \ +- echo Sie muessen root sein.; \ +- echo Devi essere root per fare questo.; \ +- exit 2; \ +- fi +- @-if [ -f /etc/rc.d/mtink ]; then rm /etc/rc.d/mtink; fi +- @-if [ -f /etc/init.d/mtink ]; then rm /etc/init.d/mtink; fi +- @-if [ -f /etc/rc.d/S*mtink ]; then rm /etc/rc.d/*mtink; fi +- @-if [ -f $(prefix)/lib/mtink ]; then rm -fr $(prefix)/lib/mtink; fi +- @-if [ -f $(prefix)/bin/mtink ]; then rm $(prefix)/bin/mtink; fi +- @-if [ -f $(prefix)/bin/mtinkc ]; then rm $(prefix)/bin/mtinkc; fi +- @-if [ -d $(prefix)/mtink ]; then rm -fr $(prefix)/mtink; fi +- @-if [ -d $(prefix)/doc/mtink ]; then rm -fr $(prefix)/doc/mtink; fi +- @-if [ -f $(prefix)/sbin/askPrinter ]; then rm -fr $(prefix)/sbin/askPrinter; fi +- @-if [ -f $(prefix)/sbin/mtinkd ]; then rm -fr $(prefix)/sbin/mtinkd; fi +- @-if [ -f $(prefix)/sbin/mtink-installInitScript ]; then rm -fr $(prefix)/sbin/mtink-installInitScript; fi +- @-if [ -f etc/mtinkd.conf ]; then rm -fr /etc/mtinkd.conf; fi +- @-for userDir in `cut -d':' -f6 /etc/passwd`; do \ +- if [ -f $$userDir/.gimp-$(gimpVersion)/plug-ins/gimp-mtink ]; \ +- then rm $$userDir/.gimp-$(gimpVersion)/plug-ins/gimp-mtink; fi; \ +- if [ -f $$userDir/.gimp/plug-ins/gimp-mtink ]; \ +- then rm $$userDir/.gimp/plug-ins/gimp-mtink; fi; \ +- done +- @-PLUGDIR=`./getGimpPluginDir.sh`; \ +- if [ "$$PLUGDIR" != "" ]; \ +- then \ +- if [ -f $$PLUGDIR/gimp-mtink ]; \ +- then \ +- rm $$PLUGDIR/gimp-mtink; \ +- fi;\ +- fi +- @-if [ -f /usr/lib/cups/backend/mtink ]; then rm /usr/lib/cups/backend/mtink; fi +- @-if [ -f $prefix/sbin/mtink-installInitScript ]; then rm $prefix/sbin/mtink-installInitScript; fi +- @-if [ -f $prefix/lib/pyink ]; then rm -fr $prefix/lib/pyink; fi +- +-dist: +- @make clean 2>/dev/null 1>/dev/null +- @( NM=`pwd`; NM=`basename $$NM`; cd ..; rm $$NM.tar.gz 2>/dev/null 1>/dev/null; tar cf $$NM.tar $$NM; gzip -9 $$NM.tar ) +- +-vdist: +- @make clean 2>/dev/null 1>/dev/null +- @( \ +- VER=`sed -n 's/.*V \(.*\)"/-\1/p' mainSrc/version.h`; \ +- NM=`pwd`; NMS=$$NM; NM=`basename $$NM | sed 's/-.*//'`; \ +- cd ..; \ +- rm $$NM$$VER.tar.gz 2>/dev/null 1>/dev/null; \ +- if [ -d $$NM$$VER ] ; \ +- then \ +- : ;\ +- else \ +- mkdir $$NM$$VER; \ +- (cd $$NMS; tar cf - .)|(cd $$NM$$VER;tar xf -); \ +- fi; \ +- tar cf $$NM$$VER.tar $$NM$$VER; \ +- gzip -9 $$NM$$VER.tar; \ +- ) +- +-spec: mainSrc/version.h mtink.spec.ORG mtink-all.spec.ORG +- @VER=`sed -n 's/.*V \(.*\)"/\1/p' mainSrc/version.h`; \ +- PLUGDIR=`./getGimpPluginDir.sh`; \ +- if [ "$$PLUGDIR" != "" ]; \ +- then \ +- sed -e "s@^Version:.*@Version: $$VER@" -e "s@^ *GIMPPLUGINDIR=.*@GIMPPLUGINDIR=$$PLUGDIR@" mtink.spec.ORG > mtink.spec;\ +- sed -e "s/^Version:.*/Version: $$VER/" -e "s@^ *GIMPPLUGINDIR=.*@GIMPPLUGINDIR=$$PLUGDIR@" mtink-all.spec.ORG > mtink-all.spec;\ +- else \ +- sed -e "s@^Version:.*@Version: $$VER@" mtink.spec.ORG > mtink.spec;\ +- sed -e "s/^Version:.*/Version: $$VER/" mtink-all.spec.ORG > mtink-all.spec;\ +- fi +- +-rpm-all: +- @( \ +- if [ -f mtink-all.spec ]; then rm mtink-all.spec; fi; \ +- make spec; \ +- make clean; \ +- RPMD=`rpm -q --eval=%{_topdir} --specfile mtink.spec | grep -v mtink`; \ +- if [ -d "$$RPMD" -a -w "$$RPMD" ];\ +- then \ +- VER=`sed -n 's/.*V \(.*\)"/-\1/p' mainSrc/version.h`; \ +- NM=`pwd`; NMS=$$NM; NM=`basename $$NM | sed 's/-.*//'`; \ +- NMS=`basename $$NMS`; \ +- cd ..; \ +- rm $$NM-all$$VER.tar.gz 2>/dev/null 1>/dev/null; \ +- tar cf $$NM-all$$VER.tar $$NMS; gzip -9 $$NM-all$$VER.tar; \ +- cp $$NM-all$$VER.tar.gz $$RPMD/SOURCES/; \ +- if [ -x /usr/bin/rpmbuild ]; \ +- then \ +- rpmbuild -ba $$NMS/mtink-all.spec; \ +- else \ +- rpm -ba $$NMS/mtink-all.spec; \ +- fi;\ +- else \ +- echo You must be root for this.; \ +- echo Vous devez etre root pour ceci.; \ +- echo Sie muessen root sein.; \ +- echo Devi essere root per fare questo.; \ +- exit 2; \ +- fi; \ +- ) +- +-rpm: +- @( \ +- if [ -f mtink.spec ]; then rm mtink.spec; fi; \ +- make spec; \ +- make clean; \ +- RPMD=`rpm -q --eval=%{_topdir} --specfile mtink.spec | grep -v mtink`; \ +- if [ -d "$$RPMD" -a -w "$$RPMD" ];\ +- then \ +- VER=`sed -n 's/.*V \(.*\)"/-\1/p' mainSrc/version.h`; \ +- NM=`pwd`; NMS=$$NM; NM=`basename $$NM | sed 's/-.*//'`; \ +- NMS=`basename $$NMS`; \ +- cd ..; \ +- rm $$NM$$VER.tar.gz 2>/dev/null 1>/dev/null; \ +- tar cf $$NM$$VER.tar $$NMS; gzip -9 $$NM$$VER.tar; \ +- cp $$NM$$VER.tar.gz $$RPMD/SOURCES/; \ +- if [ -x /usr/bin/rpmbuild ]; \ +- then \ +- rpmbuild -ba $$NMS/mtink.spec; \ +- else \ +- rpm -ba $$NMS/mtink.spec; \ +- fi; \ +- else \ +- echo You must be root for this.; \ +- echo Vous devez etre root pour ceci.; \ +- echo Sie muessen root sein.; \ +- echo Devi essere root per fare questo.; \ +- exit 2; \ +- fi;\ +- ) +diff -Nurd mtink-1.0.13a.org/Makefile.ORG mtink-1.0.13a/Makefile.ORG +--- mtink-1.0.13a.org/Makefile.ORG 2006-10-02 02:05:39.000000000 +0200 ++++ mtink-1.0.13a/Makefile.ORG 2006-10-02 02:06:29.000000000 +0200 +@@ -132,6 +132,10 @@ + @if [ -f mtinkd ]; then rm mtinkd ; fi + @if [ -f $(DETDIR)/askPrinter ]; then rm $(DETDIR)/askPrinter; fi + ++distclean: ++ -$(RM) etc/mtink ++ -$(RM) Makefile ++ + ############## COMMON AND frintends ################## + $(SRCDIR)/d4lib.o: $(SRCDIR)/d4lib.c $(SRCDIR)/d4lib.h Makefile + @echo Compile d4lib.c --- mtink-1.0.16.orig/debian/po/da.po +++ mtink-1.0.16/debian/po/da.po @@ -0,0 +1,74 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: mtink\n" +"Report-Msgid-Bugs-To: gildor@debian.org\n" +"POT-Creation-Date: 2006-09-27 00:45+0200\n" +"PO-Revision-Date: 2004-03-30 13:19+0200\n" +"Last-Translator: Morten Brix Pedersen <morten@wtf.dk>\n" +"Language-Team: Danish <dansk@klid.dk>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "Permissions for mtink" +msgstr "Rettigheder til mtink" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "" +"Warning! Mtink requires special permissions for the device file associated " +"with the printer. You should check your permission to see if users that " +"could run mtink should also access this file. If you have got a normal " +"Debian installation, this group should be lp." +msgstr "" +"Advarsel! Mtink kræver bestemte rettigheder for enhedsfilen associeret med " +"printeren. Du bør tjekke dine rettigheder for at se om brugere som skal køre " +"mtinkd også kan tilgå denne fil. Hvis du har en normal Debianinstallation, " +"skal gruppen være lp." + +#~ msgid "Use mtinkd" +#~ msgstr "Brug mtinkd" + +#~ msgid "" +#~ "You can use a specially-designed daemon daemon to read the remaining ink " +#~ "while you are printing." +#~ msgstr "" +#~ "Du kan bruge en specielt designet dæmon til at læse det resterende blæk " +#~ "mens du printer." + +#~ msgid "Dev file of printer" +#~ msgstr "Enhedsfil til printer" + +#~ msgid "" +#~ "Which device file is associated with your printer? e.g. /dev/usb/lp0, /" +#~ "dev/lp0" +#~ msgstr "" +#~ "Hvilken enhedsfil er associeret til din printer (f.eks.: /dev/usb/lp0, /" +#~ "dev/lp0)?" + +#~ msgid "Name of the printer" +#~ msgstr "Navn på printer" + +#~ msgid "" +#~ "What is the name of the printer? It must be the same as returned by " +#~ "askPrinter." +#~ msgstr "" +#~ "Hvad er navnet på printeren? Det skal være det samme som returneret af " +#~ "askPrinter." --- mtink-1.0.16.orig/debian/po/fr.po +++ mtink-1.0.16/debian/po/fr.po @@ -0,0 +1,72 @@ +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: gildor@debian.org\n" +"POT-Creation-Date: 2006-09-27 00:45+0200\n" +"PO-Revision-Date: 2003-04-05 11:56+0200\n" +"Last-Translator: Sylvain Le Gall <gildor@debian.org>\n" +"Language-Team: <gildor@debian.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "Permissions for mtink" +msgstr "Permissions pour mtink" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "" +"Warning! Mtink requires special permissions for the device file associated " +"with the printer. You should check your permission to see if users that " +"could run mtink should also access this file. If you have got a normal " +"Debian installation, this group should be lp." +msgstr "" +"Attention ! Mtink a besoin de certaines permissions pour accder aux " +"priphriques associ l'imprimante. Vous devriez vrifier les permissions " +"pour vous assurer que les utilisateurs qui pourraient lancer mtink, devrez " +"aussi avoir accs ce priphrique. Si vous avez install une Debian de " +"facon standard, ce groupe devrait tre lp." + +#~ msgid "Use mtinkd" +#~ msgstr "Utiliser mtinkd" + +#~ msgid "" +#~ "You can use a specially-designed daemon daemon to read the remaining ink " +#~ "while you are printing." +#~ msgstr "" +#~ "Vous pouvez utiliser un dmon spcial pour lire la quantit d'encre " +#~ "restante alors que vous imprimez." + +#~ msgid "Dev file of printer" +#~ msgstr "Fichier dev associ l'imprimante." + +#~ msgid "" +#~ "Which device file is associated with your printer? e.g. /dev/usb/lp0, /" +#~ "dev/lp0" +#~ msgstr "" +#~ "Quel est le fichier dev associ votre imprimante ( par exemple : /dev/" +#~ "usb/lp0, /dev/lp0) ?" + +#~ msgid "Name of the printer" +#~ msgstr "Nom de l'imprimante" + +#~ msgid "" +#~ "What is the name of the printer? It must be the same as returned by " +#~ "askPrinter." +#~ msgstr "" +#~ "Quel est le nom de votre imprimante ? Ce doit tre le mme que celui " +#~ "renvoy par askPrinter." --- mtink-1.0.16.orig/debian/po/POTFILES.in +++ mtink-1.0.16/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] mtink.templates --- mtink-1.0.16.orig/debian/po/pt.po +++ mtink-1.0.16/debian/po/pt.po @@ -0,0 +1,37 @@ +# Portuguese translation of mtink's debconf messages. +# Copyright (C) 2007 +# This file is distributed under the same license as the mtink package. +# Ricardo Silva <ardoric@gmail.com>, 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: mtink 1.0.14-2\n" +"Report-Msgid-Bugs-To: gildor@debian.org\n" +"POT-Creation-Date: 2006-09-27 00:45+0200\n" +"PO-Revision-Date: 2007-03-14 09:07+0000\n" +"Last-Translator: Ricardo Silva <ardoric@gmail.com>\n" +"Language-Team: Portuguese <traduz@debianpt.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "Permissions for mtink" +msgstr "Permissões para o mtink" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "" +"Warning! Mtink requires special permissions for the device file associated " +"with the printer. You should check your permission to see if users that " +"could run mtink should also access this file. If you have got a normal " +"Debian installation, this group should be lp." +msgstr "" +"Aviso! O mtink necessita de permissões especiais para o ficheiro de dispositivo " +"associado à impressora. Deve verificar as permissões para se certificar que os " +"utilizadores que podem correr o mtink também devem aceder a este ficheiro. Se " +"tem uma instalação normal de Debian, o grupo deve ser lp." + --- mtink-1.0.16.orig/debian/po/it.po +++ mtink-1.0.16/debian/po/it.po @@ -0,0 +1,66 @@ +# Italian (it) translation of debconf templates for mtink +# Copyright (C) 2005 Free Software Foundation, Inc. +# This file is distributed under the same license as the fdutil package. +# Luca Bruno, 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: mtink_1.0.5-1_it\n" +"Report-Msgid-Bugs-To: gildor@debian.org\n" +"POT-Creation-Date: 2006-09-27 00:45+0200\n" +"PO-Revision-Date: 2005-08-21 19:57+0200\n" +"Last-Translator: Luca Bruno <luca.br@uno.it>\n" +"Language-Team: Italian <tp@lists.linux.it>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "Permissions for mtink" +msgstr "Permessi per mtink" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "" +"Warning! Mtink requires special permissions for the device file associated " +"with the printer. You should check your permission to see if users that " +"could run mtink should also access this file. If you have got a normal " +"Debian installation, this group should be lp." +msgstr "" +"Attenzione! Mtink richiede permessi speciali per il file di dispositivo " +"associato alla stampante. Controllare i permessi per vedere se gli utenti " +"che possono lanciare mtink abbiano anche accesso a questo file. Se si ha " +"un'installazione Debian normale, questo grouppo dovrebbe essere lp." + +#~ msgid "Use mtinkd" +#~ msgstr "Utilizzo di mtinkd" + +#~ msgid "" +#~ "You can use a specially-designed daemon daemon to read the remaining ink " +#~ "while you are printing." +#~ msgstr "" +#~ "Si può usare un demone speciale per leggere il livello di inchiostro " +#~ "rimanente mentre si sta stampando." + +#~ msgid "Dev file of printer" +#~ msgstr "File del dispositivo della stampante" + +#~ msgid "" +#~ "Which device file is associated with your printer? e.g. /dev/usb/lp0, /" +#~ "dev/lp0" +#~ msgstr "" +#~ "Quale è il file di dispositivo associato alla propria stampante? es.: /" +#~ "dev/usb/lp0, /dev/lp0" + +#~ msgid "Name of the printer" +#~ msgstr "Nome della stampante" + +#~ msgid "" +#~ "What is the name of the printer? It must be the same as returned by " +#~ "askPrinter." +#~ msgstr "" +#~ "Quale è il nome della stampante? Deve essere lo stesso risultante da " +#~ "askPrinter." --- mtink-1.0.16.orig/debian/po/nl.po +++ mtink-1.0.16/debian/po/nl.po @@ -0,0 +1,29 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: mtink\n" +"Report-Msgid-Bugs-To: gildor@debian.org\n" +"POT-Creation-Date: 2006-09-27 00:45+0200\n" +"PO-Revision-Date: 2007-03-15 19:06+0100\n" +"Last-Translator: Bart Cornelis <cobaco@skolelinux.no>\n" +"Language-Team: debian-l10n-dutch <debian-l10n-dutch@lists.debian.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "Permissions for mtink" +msgstr "Rechten voor mtink" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "Warning! Mtink requires special permissions for the device file associated with the printer. You should check your permission to see if users that could run mtink should also access this file. If you have got a normal Debian installation, this group should be lp." +msgstr "Waarscuwing! Mtink vereist speciale rechten op het apparaatbestand dat met de printer geassocieerd is. U kun te rechten best controleren, en u er zo van verzekeren dat de gebruiker die mtink moeten kunnen gebruiken toegang hebben tot dit bestand. Als u een normale Debian-installatie heeft betekend dit dat ze lid moeten zijn van de groep lp." + --- mtink-1.0.16.orig/debian/po/cs.po +++ mtink-1.0.16/debian/po/cs.po @@ -0,0 +1,72 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: mtink\n" +"Report-Msgid-Bugs-To: gildor@debian.org\n" +"POT-Creation-Date: 2006-09-27 00:45+0200\n" +"PO-Revision-Date: 2005-04-03 16:32+0200\n" +"Last-Translator: Miroslav Kure <kurem@debian.cz>\n" +"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-2\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "Permissions for mtink" +msgstr "Oprvnn pro mtink" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "" +"Warning! Mtink requires special permissions for the device file associated " +"with the printer. You should check your permission to see if users that " +"could run mtink should also access this file. If you have got a normal " +"Debian installation, this group should be lp." +msgstr "" +"Varovn! Mtink vyaduje speciln prva pro soubor zazen asociovan s " +"tiskrnou. Mli byste zkontrolovat jeho prva a pesvdit se, e uivatel, " +"kte mohou spoutt mtink tak mohou pistupovat k danmu souboru. Mte-li " +"bnou instalaci Debianu, mla by bt skupina souboru 'lp'." + +#~ msgid "Use mtinkd" +#~ msgstr "Pouvat mtinkd" + +#~ msgid "" +#~ "You can use a specially-designed daemon daemon to read the remaining ink " +#~ "while you are printing." +#~ msgstr "" +#~ "Mete pout speciln navrenho daemona, skrze kterho mete " +#~ "zjiovat mnostv zbvajcho inkoustu i bhem tisku." + +#~ msgid "Dev file of printer" +#~ msgstr "Soubor zazen tiskrny" + +#~ msgid "" +#~ "Which device file is associated with your printer? e.g. /dev/usb/lp0, /" +#~ "dev/lp0" +#~ msgstr "" +#~ "Se kterm souborem zazen je asociovna vae tiskrna? (Nap. /dev/usb/" +#~ "lp0 nebo lp0.)" + +#~ msgid "Name of the printer" +#~ msgstr "Jmno tiskrny" + +#~ msgid "" +#~ "What is the name of the printer? It must be the same as returned by " +#~ "askPrinter." +#~ msgstr "Jak je jmno tiskrny? Mus bt shodn s tm, co vrt askPrinter." --- mtink-1.0.16.orig/debian/po/de.po +++ mtink-1.0.16/debian/po/de.po @@ -0,0 +1,75 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: gildor@debian.org\n" +"POT-Creation-Date: 2006-09-27 00:45+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "Permissions for mtink" +msgstr "Rechte fr mtink" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "" +"Warning! Mtink requires special permissions for the device file associated " +"with the printer. You should check your permission to see if users that " +"could run mtink should also access this file. If you have got a normal " +"Debian installation, this group should be lp." +msgstr "" +"Warnung! Mtink bentigt bestimmte Rechte auf die dem Drucker zugeordnete " +"Gertedatei. Diese Rechte Sollten Sie berprfen. Anwendern, die das Recht " +"haben, mtink zu benutzen, mssen auch Zugriffsrechte auf diese Dateien " +"haben. Wenn Sie eine Debian-Standardinstallation vorgenommen haben, sollte " +"die entsprechende Gruppe lp heien." + +#~ msgid "Use mtinkd" +#~ msgstr "mtinkd verwenden" + +#~ msgid "" +#~ "You can use a specially-designed daemon daemon to read the remaining ink " +#~ "while you are printing." +#~ msgstr "" +#~ "Sie knnen einen speziellen Daemon fr die berwachung der " +#~ "Tintenrestmenge-Anzeige whrend des Druckvorgangs einsetzen." + +#~ msgid "Dev file of printer" +#~ msgstr "Gertedatei des Druckers" + +#~ msgid "" +#~ "Which device file is associated with your printer? e.g. /dev/usb/lp0, /" +#~ "dev/lp0" +#~ msgstr "" +#~ "Was ist die Gertedatei unter der ihr Drucker angesprochen wird (z.B. /" +#~ "dev/usb/lp0, /dev/lp0)?" + +#~ msgid "Name of the printer" +#~ msgstr "Name des Druckers" + +#~ msgid "" +#~ "What is the name of the printer? It must be the same as returned by " +#~ "askPrinter." +#~ msgstr "" +#~ "Was ist der Name des Druckers? Es muss der gleiche sein, wie der der von " +#~ "askPrinter geliefert wird." --- mtink-1.0.16.orig/debian/po/vi.po +++ mtink-1.0.16/debian/po/vi.po @@ -0,0 +1,64 @@ +# Vietnamese Translation for mtink. +# Copyright © 2005 Free Software Foundation, Inc. +# Clytie Siddall <clytie@riverland.net.au>, 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: mtink 1.0.5-1\n" +"Report-Msgid-Bugs-To: gildor@debian.org\n" +"POT-Creation-Date: 2006-09-27 00:45+0200\n" +"PO-Revision-Date: 2005-06-11 15:02+0930\n" +"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n" +"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0\n" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "Permissions for mtink" +msgstr "Quyền hạn cho mtink" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "" +"Warning! Mtink requires special permissions for the device file associated " +"with the printer. You should check your permission to see if users that " +"could run mtink should also access this file. If you have got a normal " +"Debian installation, this group should be lp." +msgstr "" +"• Cảnh báo: • trình Mtink cần đến quyền hạn đặc biệt cho tập tin thiết bị " +"liên quan đến máy in. Bạn hãy kiểm tra xem quyền hạn cho phép người dùng có " +"cháy được trình Mtink cũng có truy cập được tập tin này. Nếu bạn có một bản " +"cài đặt Debian bình thường, thì nhóm này nên là «lp»." + +#~ msgid "Use mtinkd" +#~ msgstr "Dùng mtinkd" + +#~ msgid "" +#~ "You can use a specially-designed daemon daemon to read the remaining ink " +#~ "while you are printing." +#~ msgstr "" +#~ "Bạn có thể sử dụng một trình nền (dæmon) được thiết kế một cách đặc biệt, " +#~ "để đọc mức độ mực còn lại trong khi in." + +#~ msgid "Dev file of printer" +#~ msgstr "Tập tin thiết bị của máy in" + +#~ msgid "" +#~ "Which device file is associated with your printer? e.g. /dev/usb/lp0, /" +#~ "dev/lp0" +#~ msgstr "" +#~ "Máy in bạn có tập tin thiết bị nào? (e.g. «/dev/usb/lp0», «/dev/lp0»)" + +#~ msgid "Name of the printer" +#~ msgstr "Tên máy in" + +#~ msgid "" +#~ "What is the name of the printer? It must be the same as returned by " +#~ "askPrinter." +#~ msgstr "" +#~ "Máy in có tên nào? Phải là cùng một tên là kết quả của lệnh «askPrinter»." --- mtink-1.0.16.orig/debian/po/templates.pot +++ mtink-1.0.16/debian/po/templates.pot @@ -0,0 +1,33 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: gildor@debian.org\n" +"POT-Creation-Date: 2006-09-27 00:45+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "Permissions for mtink" +msgstr "" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "" +"Warning! Mtink requires special permissions for the device file associated " +"with the printer. You should check your permission to see if users that " +"could run mtink should also access this file. If you have got a normal " +"Debian installation, this group should be lp." +msgstr "" --- mtink-1.0.16.orig/debian/po/sv.po +++ mtink-1.0.16/debian/po/sv.po @@ -0,0 +1,76 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: mtink 1.0.9-1\n" +"Report-Msgid-Bugs-To: gildor@debian.org\n" +"POT-Creation-Date: 2006-09-27 00:45+0200\n" +"PO-Revision-Date: 2005-11-06 12:18+0100\n" +"Last-Translator: Daniel Nylander <po@danielnylander.se>\n" +"Language-Team: Swedish <sv@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: swe\n" +"X-Poedit-Country: swe\n" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "Permissions for mtink" +msgstr "Rttigheter fr mtink" + +#. Type: note +#. Description +#: ../mtink.templates:1001 +msgid "" +"Warning! Mtink requires special permissions for the device file associated " +"with the printer. You should check your permission to see if users that " +"could run mtink should also access this file. If you have got a normal " +"Debian installation, this group should be lp." +msgstr "" +"Varning! Mtink krver speciella rttigheter fr enhetsfilen som r " +"associerad med din skrivare. Du br kontrollera rttigheterna fr att se om " +"anvndarna kan kra mtink och har tillgng till denna fil. Om du har en " +"normal Debian-installation br denna grupp vara lp." + +#~ msgid "Use mtinkd" +#~ msgstr "Anvnd mtinkd" + +#~ msgid "" +#~ "You can use a specially-designed daemon daemon to read the remaining ink " +#~ "while you are printing." +#~ msgstr "" +#~ "Du kan anvnda en speciellt utformad demon fr att lsa av terstende " +#~ "blck medans du skriver ut." + +#~ msgid "Dev file of printer" +#~ msgstr "Enhetsfil fr skrivaren" + +#~ msgid "" +#~ "Which device file is associated with your printer? e.g. /dev/usb/lp0, /" +#~ "dev/lp0" +#~ msgstr "" +#~ "Vilken enhetsfil r associerad med din skrivare? exempelvis /dev/usb/" +#~ "lp0, /dev/lp0" + +#~ msgid "Name of the printer" +#~ msgstr "Namnet p skrivaren" + +#~ msgid "" +#~ "What is the name of the printer? It must be the same as returned by " +#~ "askPrinter." +#~ msgstr "" +#~ "Vad r namnet p skrivaren? Det mste vara samma som svaret frn " +#~ "askPrinter." --- mtink-1.0.16.orig/debian/mk/po4a.mk +++ mtink-1.0.16/debian/mk/po4a.mk @@ -0,0 +1,80 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2006 Sylvain Le Gall <gildor#debian.org> +# Description: Rules to manage translation made through po4a. +# +# 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, 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 +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_po4a +_cdbs_rules_po4a = 1 + +# needed by debian/control:: rule below +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +# po4a files +PO4A_SOURCES := + +# po4a program to use +PO4A := po4a + +# flags for po4a in clean target +PO4A_CLEAN_FLAGS := --no-translations --rm-backups + +# flags for po4a in build target +PO4A_BUILD_FLAGS:= --rm-backups + +# file containing the list of generated files +PO4A_LIST := $(CURDIR)/debian/po4a-list + +# add required build dependency for used tools +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), po4a + +# generate the translations (rules follow recommendation of po4a author) +%.po4a-build:: % + $(PO4A) $(PO4A_BUILD_FLAGS) $< + echo $@ >> $(PO4A_LIST) + touch $@ + +# call po4a when it is required +# TODO: find a better solution than recursive call to debian/rules +po4a: po4a-stamp +po4a-stamp:: + if test "x$(strip $(PO4A_SOURCES))" != "x"; then \ + $(CURDIR)/debian/rules \ + $(addsuffix .po4a-build,\ + $(PO4A_SOURCES)); \ + fi + touch $@ + +build: po4a + +# update the POT and PO (rules follow recommendation of po4a author) +clean:: + if test -f $(PO4A_LIST); then \ + for i in `grep ".po4a-build" $(PO4A_LIST)`; do \ + $(PO4A) $(PO4A_CLEAN_FLAGS) $${i%%.po4a-build}; \ + done; \ + fi + -if test -f $(PO4A_LIST); then \ + $(RM) `cat $(PO4A_LIST)`; \ + $(RM) $(PO4A_LIST); \ + fi + -$(RM) po4a-stamp + +endif --- mtink-1.0.16.orig/debian/mk/docbook-manpage.mk +++ mtink-1.0.16/debian/mk/docbook-manpage.mk @@ -0,0 +1,124 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2006 Sylvain Le Gall <gildor#debian.org> +# Description: Rules to manage manpages written in XML. +# +# 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, 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 +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_docbookxml +_cdbs_rules_docbook_manpage = 1 + +# needed by debian/control:: rule below +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +# needed for po4a-stamp +# TODO: if released in CDBS, change above +include $(CURDIR)/debian/mk/po4a.mk$(_cdbs_makefile_suffix) + +# docbook manpages to build +DOCBOOK_MANPAGE_SOURCES := + +# extra docbook sources to look for (docbook extract to be included in +# other docbook manpage) +DOCBOOK_MANPAGE_EXTRA_SOURCES := + +# version of docbook sources to use (must follow the scheme " (>= version)") +DOCBOOK_MANPAGE_VERSION := + +# add required build dependency for used tools +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), docbook-xml@docbook_version@, docbook-xsl, libxml2-utils, xsltproc + +# xmllint program to use +DOCBOOK_MANPAGE_XMLLINT := xmllint + +# flags for xmllint +DOCBOOK_MANPAGE_XMLLINT_FLAGS := --nonet --noout --postvalid --xinclude + +# xsltproc program to use +DOCBOOK_MANPAGE_XSLTPROC := xsltproc + +# flags for xsltproc +DOCBOOK_MANPAGE_XSLTPROC_FLAGS := --nonet --xinclude --param man.charmap.use.subset 0 + +# XSL stylesheet to transform docbook to manpage +DOCBOOK_MANPAGE_XSLTPROC_XSL := /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl + +# file containing the list of generated files +DOCBOOK_MANPAGE_LIST := $(CURDIR)/debian/docbook-manpage-list + +# compute higher docbook version, if required (no version provided and sources defined) +# and replace it in generated control file. +debian/control:: + if test -f $(CURDIR)/debian/control && test -f $(CURDIR)/debian/control.in; then \ + DOCBOOK_MANPAGE_VERSION=$(strip $(DOCBOOK_MANPAGE_VERSION)); \ + if test "x$$DOCBOOK_MANPAGE_VERSION" = "x" && \ + test "x$(strip $(DOCBOOK_MANPAGE_SOURCES))" != "x"; then \ + DOCBOOK_ALL_SOURCES="$(DOCBOOK_MANPAGE_SOURCES) $(DOCBOOK_MANPAGE_EXTRA_SOURCES)"; \ + DOCBOOK_MANPAGE_VERSION=`grep -s -e "-//OASIS//DTD DocBook XML V[0-9\.]*//EN" $$DOCBOOK_ALL_SOURCES | \ + sed "s,.*-//OASIS//DTD DocBook XML V\\([0-9\.]*\\)//EN.*,\\1," | \ + sort -r | head -n 1`; \ + if test "x$$DOCBOOK_MANPAGE_VERSION" != "x"; then \ + DOCBOOK_MANPAGE_VERSION=" (>= $$DOCBOOK_MANPAGE_VERSION)"; \ + fi; \ + fi; \ + sed -i "s,@docbook_version@,$$DOCBOOK_MANPAGE_VERSION," $(CURDIR)/debian/control; \ + fi + +# check docbook sources for any problem +%.docbook-manpage-check:: % + $(DOCBOOK_MANPAGE_XMLLINT) $(DOCBOOK_MANPAGE_XMLLINT_FLAGS) $< + echo $@ >> $(DOCBOOK_MANPAGE_LIST) + touch $@ + +# build manpage +%.docbook-manpage-build:: % $(DOCBOOK_MANPAGE_XSLTPROC_XSL) + $(DOCBOOK_MANPAGE_XSLTPROC) \ + $(DOCBOOK_MANPAGE_XSLTPROC_FLAGS) \ + -o $(dir $<) \ + $(DOCBOOK_MANPAGE_XSLTPROC_XSL) \ + $< + echo $@ >> $(DOCBOOK_MANPAGE_LIST) + touch $@ + + +# check all docbook sources and build manpage. +# TODO: find a better solution than recursive call to debian/rules +docbook-manpage: docbook-manpage-stamp +docbook-manpage-stamp:: po4a-stamp + if test "x$(strip $(DOCBOOK_MANPAGE_SOURCES))" != "x" && \ + test "x$(strip $(DOCBOOK_MANPAGE_EXTRA_SOURCES))" != "x"; then \ + $(CURDIR)/debian/rules \ + $(addsuffix .docbook-manpage-check,\ + $(DOCBOOK_MANPAGE_SOURCES) \ + $(DOCBOOK_MANPAGE_EXTRA_SOURCES)) \ + $(addsuffix .docbook-manpage-build, \ + $(DOCBOOK_MANPAGE_SOURCES)); \ + fi + touch $@ + +build: docbook-manpage + +clean:: + -if test -f $(DOCBOOK_MANPAGE_LIST); then \ + $(RM) `cat $(DOCBOOK_MANPAGE_LIST)`; \ + $(RM) $(DOCBOOK_MANPAGE_LIST); \ + fi + -$(RM) docbook-manpage-stamp + +endif