debian/0000755000000000000000000000000012235471105007166 5ustar debian/control0000644000000000000000000000207212235470426010577 0ustar Source: gramadoir Section: misc Priority: optional Maintainer: Alastair McKinstry Build-Depends: debhelper (>= 9), dh-autoreconf Build-Depends-Indep: libstring-approx-perl, liblocale-po-perl Homepage: http://borel.slu.edu/gramadoir/index.html Standards-Version: 3.9.4 Package: gramadoir Architecture: all Depends: ${shlibs:Depends}, gettext, liblingua-ga-gramadoir-perl, ${misc:Depends} Suggests: iirish Description: Irish language grammar checker (integration scripts) This package contains scripts for integrating the Irish language grammar checker module 'liblingua-ga-gramadoir-perl' into a variety of packages, including emacs, vim and OpenOffice. Package: liblingua-ga-gramadoir-perl Architecture: all Section: perl Depends: ${shlibs:Depends}, ${misc:Depends}, libstring-approx-perl, ${misc:Depends} Recommends: gramadoir Description: Irish language grammar checker This package is an Irish (gaeilge) language grammar checker. . It contains a Perl module for grammar checking in Irish, and a script for using this module at the command-line. debian/gramadoir.dirs0000644000000000000000000000012112227202735012012 0ustar usr/share/vim/addons usr/share/xml/gramadoir usr/share/emacs/site-lisp/gramadoir debian/source/0000755000000000000000000000000012227202735010470 5ustar debian/source/format0000644000000000000000000000001412227202735011676 0ustar 3.0 (quilt) debian/emacsen-remove0000644000000000000000000000106512227202735012023 0ustar #!/bin/sh # # emacsen remove script for the Debian GNU/Linux octave package # # Written by Dirk Eddelbuettel # # Modified by Alastair McKinstry # for the gramadoir Debian package set -e # Canadian spelling ;-) flavour=$1 package=gramadoir destination=/usr/share/${flavour}/site-lisp/${package} if [ ${flavour} != emacs ] then echo remove/${package}: Purging byte-compiled files for flavour ${flavour} rm -f ${destination}/*.elc else echo remove/${package}: Ignoring emacsen flavour ${flavour} fi exit 0; debian/liblingua-ga-gramadoir-perl.dirs0000644000000000000000000000004712227202735015312 0ustar /usr/share/perl5 /usr/share/perl5/auto debian/rules0000755000000000000000000000265012235470674010263 0ustar #!/usr/bin/make -f # -*- makefile -*- # # turn around bug in dpkg-parsechangelog export LC_ALL=C # The magic debhelper rule %: dh $@ --with autoreconf export DH_VERBOSE=1 DESTDIR:=`pwd`/debian/tmp/ PACKAGE:=gramadoir VERSION:=0.7 GRAMADOIR_GA_VERSION:=0.70 GRAMADOIR_GA_DIR:=gramadoir-ga-0.60 LINGUA_DIR=Lingua-GA-Gramadoir-0.70 GRAM_PKG:=gramadoir PERL_PKG:=liblingua-ga-gramadoir-perl override_dh_auto_configure: dh_auto_configure # ( cd $(GRAMADOIR_GA_DIR) && ./configure && $(MAKE) ) ( cd $(LINGUA_DIR) && perl Makefile.PL INSTALLDIRS=vendor ) override_dh_auto_test: $(MAKE) -C $(LINGUA_DIR) test override_dh_auto_build: $(MAKE) -C $(LINGUA_DIR) override_dh_auto_install: # FOR THE MOMENT $(MAKE) -C $(LINGUA_DIR) install DESTDIR=`pwd`/debian/$(PERL_PKG) chmod +x gramadoir.vim dh_install -p $(GRAM_PKG) gramadoir.vim usr/share/vim/addons/plugin # dh_install -p $(GRAM_PKG) gramadoir.dtd usr/share/xml/gramadoir dh_install -p $(GRAM_PKG) gramadoir.el usr/share/emacs/site-lisp/gramadoir dh_install -p $(GRAM_PKG) $(LINGUA_DIR)/blib/script/gram-ga.pl usr/bin dh_install -p $(GRAM_PKG) $(LINGUA_DIR)/blib/script/groo-ga.pl usr/bin rm -rf debian/$(PERL_PKG)/usr/bin dh_installexamples -p $(GRAM_PKG) OOo/gramadoir.sxw # Move the tangled man pages mkdir -p debian/$(GRAM_PKG)/usr/share/man mv debian/$(PERL_PKG)/usr/share/man/man1 debian/$(GRAM_PKG)/usr/share/man dh_installemacsen dh_installchangelogs ChangeLog debian/emacsen-install0000644000000000000000000000227212227202735012175 0ustar #!/bin/sh # # emacsen install script for the Debian GNU/Linux octave package # # Written by Dirk Eddelbuettel # # Modified by Alastair McKinstry # for the gramadoir Debian package set -e # Canadian spelling ;-) flavour=$1 package=gramadoir files="gramadoir.el" source=/usr/share/emacs/site-lisp/${package} destination=/usr/share/${flavour}/site-lisp/${package} if [ `echo $flavour | cut -c-6` = xemacs ] ; then flags="-no-site-file" else flags="--no-site-file" fi flags="${flags} -q -batch -l path.el -f batch-byte-compile" if [ ${flavour} != emacs ] then echo install/${package}: Byte-compiling for emacsen flavour ${flavour} # Copy the temp .el files into the destination directory install -c -m 0755 -d ${destination} for i in $files do cp $source/$i $destination done # Byte compile them # The lpath.el trick is from Davide Salvetti's auctec package cd ${destination} cat <<-EOF >path.el (setq load-path (cons "." load-path) byte-compile-warnings nil) EOF ${flavour} ${flags} ${files} rm ${files} path.el else echo install/${package}: Ignoring emacsen flavour ${flavour} fi exit 0; debian/compat0000644000000000000000000000000212227202735010366 0ustar 9 debian/rules.old0000755000000000000000000000473312227202735011034 0ustar #!/usr/bin/make -f # -*- makefile -*- # # turn around bug in dpkg-parsechangelog export LC_ALL=C export DH_VERBOSE=1 PACKAGE=gramadoir VERSION=0.6 GRAMADOIR_GA_VERSION=0.60 GRAMADOIR_GA_DIR=$(BUILD_TREE)/gramadoir-ga-0.60 LINGUA_DIR=$(GRAMADOIR_GA_DIR)/Lingua-GA-Gramadoir GRAM_PKG=gramadoir PERL_PKG=liblingua-ga-gramadoir-perl # The DBS rules TAR_DIR=$(PACKAGE)-$(VERSION) include /usr/share/dbs/dbs-build.mk # convenient way to set architecture specification strings # the ifeq condition is here to allow them to be overridden # from the command line ifeq (,$(DEB_BUILD_GNU_TYPE)) include /usr/share/dbs/dpkg-arch.mk endif INSTALLDIR:=`pwd`/debian/$(PACKAGE)/usr ${STAMP_DIR}/configure-stamp: $(patched) dh_testdir mv build-tree/gramadoir-ga-0.60 build-tree/gramadoir-0.6 cp -f /usr/share/misc/config.{guess,sub} $(BUILD_TREE)/ ( cd $(BUILD_TREE) && ./configure --prefix=/usr \ --libexecdir=/usr/lib/gramadoir ) touch $@ build: $(STAMP_DIR)/build-stamp $(STAMP_DIR)/build-stamp: ${STAMP_DIR}/configure-stamp $(patched) dh_testdir ( cd $(GRAMADOIR_GA_DIR) && ./configure && $(MAKE) ) ( cd $(LINGUA_DIR) && perl Makefile.PL INSTALLDIRS=vendor ) $(MAKE) -C $(LINGUA_DIR) $(MAKE) -C $(LINGUA_DIR) test # FOR THE MOMENT $(MAKE) -C $(LINGUA_DIR) install PREFIX=`pwd`/debian/$(PERL_PKG)/usr touch $@ binary-indep: build dh_testdir dh_testroot dh_installdirs # chmod +x build-tree/*/gramadoir.vim dh_install -p $(GRAM_PKG) build-tree/*/gramadoir.vim usr/share/vim/addons dh_install -p $(GRAM_PKG) build-tree/*/gramadoir.dtd usr/share/xml/gramadoir dh_install -p $(GRAM_PKG) build-tree/*/gramadoir.el usr/share/emacs/site-lisp/gramadoir dh_install -p $(GRAM_PKG) build-tree/*/gramadoir-ga-*/Lingua-GA-Gramadoir/blib/script/gram-ga.pl usr/bin dh_install -p $(GRAM_PKG) build-tree/*/gramadoir-ga-*/Lingua-GA-Gramadoir/blib/script/groo-ga.pl usr/bin rm -rf debian/$(PERL_PKG)/usr/bin dh_installexamples -p $(GRAM_PKG) build-tree/*/OOo/gramadoir.sxw # Move the tangled man pages mkdir -p debian/$(GRAM_PKG)/usr/share/man mv debian/$(PERL_PKG)/usr/share/man/man1 debian/$(GRAM_PKG)/usr/share/man rmdir debian/$(PERL_PKG)/usr/share/perl5/auto dh_installemacsen dh_installchangelogs $(BUILD_TREE)/ChangeLog dh_installdocs $(BUILD_TREE)/README dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb clean: dh_testdir dh_testroot rm -rf $(STAMP_DIR) $(SOURCE_DIR) dh_clean binary: binary-indep .PHONY: binary binary-indep clean debian/changelog0000644000000000000000000000521412235471074011047 0ustar gramadoir (0.7-2) unstable; urgency=low * B-D on dh-autoreconf, not autotools-dev. Closes: #728586 * Use DESTDIR not PREFIX for Perl make install, as per lintian. * Refer to GPL-2 not GPL in copyright file. -- Alastair McKinstry Sun, 03 Nov 2013 15:52:06 +0000 gramadoir (0.7-1) unstable; urgency=low * Move from DBS to debhelper. Closes: #576049, #710469. * New upstream release. Closes: #723881. * Add misc:Depends on debhelper. Thanks to Lintian. * Change install dir for vim addon. Closes: #464820. -- Alastair McKinstry Mon, 14 Oct 2013 21:53:29 +0100 gramadoir (0.6-4.1) unstable; urgency=low * Non-maintainer upload. * Auto-update config.{guess,sub} to fix FTBFS on GNU/kFreeBSD. Thanks Aurelien Jarno. (Closes: #320199) -- Robert Millan Fri, 27 Apr 2012 21:52:45 +0200 gramadoir (0.6-4) unstable; urgency=low * Move /usr/bin/* from liblibgua-ga-gramadoir-perl. Closes: #481586. * Move to Standards-Version: 3.8.0; Add Homepage: field to debian/control. -- Alastair McKinstry Mon, 21 Jul 2008 17:30:31 +0100 gramadoir (0.6-3) unstable; urgency=low * Fix dependency on Perl 5.8.8. Closes: #467124. * Move to Standards-Version: 3.7.3. No changes required. * Replace DH_COMPAT=5 in debian/rules with debian/compat file. * Put liblingya-ga-gramadoir-perl in Section: perl -- Alastair McKinstry Tue, 13 May 2008 16:59:18 +0100 gramadoir (0.6-2) unstable; urgency=low * Build-Depends: on liblocale-po-perl. Closes: #387084. -- Alastair McKinstry Tue, 12 Sep 2006 09:57:50 +0100 gramadoir (0.6-1) unstable; urgency=low * New upstream release. * Now has separate package liblingua-ga-gramadoir-perl, which contains the main grammar checker, and gramadoir package contains integration scripts. * Move to Standards-Version: 3.7.2. No changes required. * Now Arch: all again, as it is purely perl. -- Alastair McKinstry Tue, 5 Sep 2006 06:56:02 +0100 gramadoir (0.4-2) unstable; urgency=low * Change Arch: all to Arch: any; one of the components is compiled. * Move program modules from /usr/share/gramadoir to /usr/lib/gramadoir, as per FHS. * Include gramadoir.vim in /usr/share/vim/addons * Include gramadoir.dtd in /usr/share/xml/gramadoir * Include gramadoir.el ; install vi dh_installemacsen * Include man page. -- Alastair McKinstry Tue, 10 Aug 2004 21:38:07 +0100 gramadoir (0.4-1) unstable; urgency=low * Initial release. -- Alastair McKinstry Wed, 03 Mar 2004 19:36:55 +0000 debian/copyright0000644000000000000000000000134212235471011011115 0ustar This is the Debian packaged version of "Gramadoir", an Irish language grammar checker. The package was created by Alastair McKinstry The upstream sources are available from: http://borel.slu.edu/gramadoir/index.html Upstream Author: Kevin Scannell; Contributors: * Sanlig Badral (Mongolian translation) * Anneke Bart (Dutch translation) * Martin Gregory (German translation, emacs interface) * Eugen Hoanca (Romanian translation) * Andrej Kacian (Slovak translation) * Michel Robitaille (French translation) Copyright (C) 2006-2008 Kevin Scannell It may be redistributed under the terms of the GNU GPL, Version 2 found on Debian systems in the file /usr/share/common-licenses/GPL-2.