--- malaga-7.12.orig/malaga.el +++ malaga-7.12/malaga.el @@ -7,16 +7,16 @@ ;; malaga mode (for editing malaga files). ==================================== -(setq auto-mode-alist ; Files for which malaga mode will be invoked. - (append '(("\\.all$" . malaga-mode) - ("\\.esym$" . malaga-mode) - ("\\.lex$" . malaga-mode) - ("\\.mal$" . malaga-mode) - ("\\.mor$" . malaga-mode) - ("\\.sym$" . malaga-mode) - ("\\.syn$" . malaga-mode) - ("\\.pro$" . malaga-project-mode) - ) auto-mode-alist)) +;; (setq auto-mode-alist ; Files for which malaga mode will be invoked. +;; (append '(("\\.all$" . malaga-mode) +;; ("\\.esym$" . malaga-mode) +;; ("\\.lex$" . malaga-mode) +;; ("\\.mal$" . malaga-mode) +;; ("\\.mor$" . malaga-mode) +;; ("\\.sym$" . malaga-mode) +;; ("\\.syn$" . malaga-mode) +;; ("\\.pro$" . malaga-project-mode) +;; ) auto-mode-alist)) ;;----------------------------------------------------------------------------- --- malaga-7.12.orig/Makefile.in +++ malaga-7.12/Makefile.in @@ -28,7 +28,7 @@ INSTALL_DIR = ${INSTALL} -d # How to update the "dir" entry in an info directory. -INSTALL_INFO = install-info +INSTALL_INFO = /usr/sbin/install-info # How to compile a C source file. COMPILE = @CC@ -c @CFLAGS@ @GCCFLAGS@ @SYS_CFLAGS@ --- malaga-7.12.orig/debian/malaga-bin.info +++ malaga-7.12/debian/malaga-bin.info @@ -0,0 +1 @@ +malaga.info --- malaga-7.12.orig/debian/watch +++ malaga-7.12/debian/watch @@ -0,0 +1,3 @@ +# watch control file for uscan +version=3 +http://home.arcor.de/bjoern-beutel/malaga/malaga-(.*)\.tgz --- malaga-7.12.orig/debian/malaga-bin.preinst +++ malaga-7.12/debian/malaga-bin.preinst @@ -0,0 +1,20 @@ +#!/bin/sh -e + +action="$1" +oldversion="$2" + +if [ "$action" != upgrade ]; then + exit 0 +fi + +# Emacs mode moved to malaga-mode in 7.9-1, removing old malaga-bin's +# 50malaga-bin.el file (bug #454714) +if [ -e /etc/emacs/site-start.d/50malaga-bin.el ] && \ + dpkg --compare-versions "$oldversion" le-nl 7.8-4; then + if [ $(dpkg -s malaga-mode | grep not-installed | wc -l) -gt 0 ]; then + rm -f /etc/emacs/site-start.d/50malaga-bin.el + fi +fi + +#DEBHELPER# + --- malaga-7.12.orig/debian/compat +++ malaga-7.12/debian/compat @@ -0,0 +1 @@ +4 --- malaga-7.12.orig/debian/rules +++ malaga-7.12/debian/rules @@ -0,0 +1,105 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +version=`ls src/.libs/lib*.so.* | \ + awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +major=`ls src/.libs/lib*.so.* | \ + awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +config.status: configure + dh_testdir +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + # Add here commands to configure the package. + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + +build: build-stamp build-doc +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch $@ + +build-doc: build-doc-stamp +build-doc-stamp: + mkdir build-doc + cd build-doc && ../configure --prefix=/usr + $(MAKE) -C build-doc dvi html ps pdf + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + rm -f build-doc-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) clean + # (no distclean available, make some manual cleaning) + rm -f config.status config.log config.cache config.guess config.sub libtool Makefile + rm -rf build-doc + rm -f debian/substvars + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr + # rename according to the emacs mode package name + mv $(CURDIR)/debian/tmp/usr/share/malaga/malaga.el $(CURDIR)/debian/tmp/usr/share/malaga/malaga-mode.el + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGES.txt + dh_installdocs + dh_installexamples + dh_install + cp -a $(CURDIR)/README.txt $(CURDIR)/debian/malaga-bin/usr/share/doc/malaga-bin/README + dh_installemacsen + dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build build-doc clean binary-indep binary-arch binary install --- malaga-7.12.orig/debian/malaga-doc.doc-base +++ malaga-7.12/debian/malaga-doc.doc-base @@ -0,0 +1,11 @@ +Document: malaga-doc +Title: Malaga +Author: Björn Beutel +Abstract: This manual describes the Malaga programs + and the Malaga programming language. Malaga is a + system for automatic language analysis +Section: Text + +Format: HTML +Index: /usr/share/doc/malaga-doc/malaga.html +Files: /usr/share/doc/malaga-doc/malaga.html --- malaga-7.12.orig/debian/changelog +++ malaga-7.12/debian/changelog @@ -0,0 +1,443 @@ +malaga (7.12-1) unstable; urgency=low + + * New upstream version + - Add libcairo-dev dependency since malshow now uses cairo + * Change require to autoload in emacsen-startup (Closes: #446235) + - Modify upstream malaga.el accordingly + * Update dependencies of malaga-mode to emacs22 | emacsen + * Fix piuparts problem when upgrading from <= 7.8-4 (Closes: #454714) + * Update Standards-Version to 3.7.3 (no changes required) + * Update rules to not ignore make clean error (lintian) + * Update malaga-doc.* to reflect change to single html file, update section + + -- Timo Jyrinki Tue, 15 Apr 2008 16:48:51 +0300 + +malaga (7.11-1) unstable; urgency=low + + * New upstream version (Closes: #425366) + * debian/copyright: also later GPL versions are allowed now in Malaga + * Handle nostrip (Closes: #437597) + + -- Timo Jyrinki Thu, 30 Aug 2007 22:59:03 +0300 + +malaga (7.9-1) unstable; urgency=low + + * New upstream version + * Add a colon in changelog and remove DH_COMPAT from rules (Lintian) + * Byte-compile malaga.el, add prerm/postinst (Closes: #385401) + * Separate emacs mode into malaga-mode + * Change dependencies to texlive + + -- Timo Jyrinki Fri, 11 May 2007 17:20:23 +0300 + +malaga (7.8-4) unstable; urgency=low + + * Update descriptions as requested + * Comment out the man-page generation, so that they're noticed as missing + * Install README.txt as README + * Correctly use dh_installinfo + + -- Timo Jyrinki Sat, 30 Sep 2006 00:51:12 +0300 + +malaga (7.8-3) unstable; urgency=low + + * Package for Debian / adopt (Closes: #369161) + * Fix malaga.el installation + + -- Timo Jyrinki Thu, 28 Sep 2006 12:30:00 +0300 + +malaga (7.8-2) unstable; urgency=low + + * Add build-dependency to autotools-dev, and libglib2.0-dev to libmalaga-dev + + -- Timo Jyrinki Tue, 26 Sep 2006 19:00:58 +0300 + +malaga (7.8-1) unstable; urgency=low + + * Repackage (new debian/rules etc.) using debhelper + * Add debian/watch + * Update debian/copyright + * Add placeholder man-pages + + -- Timo Jyrinki Mon, 25 Sep 2006 19:04:36 +0300 + +malaga (7.6-2) unstable; urgency=low + + * Be binNMU-safe by changing depends. + * Converted doc-control to UTF-8. + + -- Timo Jyrinki Mon, 18 Sep 2006 21:23:33 +0300 + +malaga (7.6-1) unstable; urgency=low + + * New upstream release Closes: #309235 + * Update Standards-Version. + * Update FSF address. + + -- Timo Jyrinki Mon, 18 Sep 2006 19:07:29 +0300 + +malaga (7.5-0hf2) unstable; urgency=low + + * Fix the shared library by linking it against libreadline. + + -- Harri Pitkänen Fri, 30 Jun 2006 10:07:29 +0300 + +malaga (7.5-0hf1) unstable; urgency=low + + * New upstream release. + * debian/rules: Add new target "update-autotools" to temporarily + work around incorrect names of installed libraries due to use of + outdated libtool in the original source. + * debian/control: Add Build-Depends: libreadline5-dev to take + advantage of the new readline support in this release. + + -- Harri Pitkänen Thu, 29 Jun 2006 19:46:55 +0300 + +malaga (7.4-0hf1) unstable; urgency=low + + * New upstream release. + + -- Harri Pitkänen Sat, 20 May 2006 14:11:22 +0300 + +malaga (7.3-0hf1) unstable; urgency=low + + * This is an unofficial build for Hunspell-fi -project by someone + who has never built Debian packages before. Use with care! + Not all Debian-specific fixes from 6.13-6 have been included in + this version. + * New upstream release. + * configure: Patch to produce sensible library names. + + -- Harri Pitkänen Thu, 13 Apr 2006 22:58:54 +0300 + +malaga (6.13-6) unstable; urgency=low + + * debian/control (libmalag6a) [Conflicts]: Separate names with comma. + * debian/control (libmalaga-dev) [Conflicts]: Likewise. + (Closes: #358462) + + -- Thomas Bushnell, BSG Wed, 22 Mar 2006 13:53:23 -0800 + +malaga (6.13-5) unstable; urgency=low + + * debian/control (malaga-doc Recommends): Suggest gv as a + postscript-viewer instead of ghostview. (Closes: #289701). + + -- Thomas Bushnell, BSG Mon, 10 Jan 2005 11:52:04 -0800 + +malaga (6.13-4) unstable; urgency=high + + * This should have been urgency=high, because it is an important and + long-delayed accomodation to new upstream with a bajillion bug fixes. + + -- Thomas Bushnell, BSG Fri, 20 Aug 2004 12:58:50 -0700 + +malaga (6.13-3) unstable; urgency=low + + * debian/rules (strip_lib): Remove .comment sections too. + * debian/control (Build-Depends): Require tetex-extra too; this is needed for + kpathsea to build the lcircle10 font, which is in turn needed for dvi2pdf, + all of which when you use @cartouche in the texinfo source. Closes: #266280. + + -- Thomas Bushnell, BSG Tue, 17 Aug 2004 13:55:53 -0700 + +malaga (6.13-2) unstable; urgency=low + + * prerm-malaga-doc, postinst-malaga-doc: New files, to call install-docs. + * rules (binary-doc): And put them in the package. + * control (malaga-doc Recommends): Suggest ghostview as a postscript-viewer. + Suggest lynx as a www-brower. Don't recommend dvi-viewer; it's not + a real virtual package. Also recommend xpdf | pdf-viewer. + (malaga-bin Recommends): It's info-browser, not info-viewer; and suggest info + as a possibility. + + -- Thomas Bushnell, BSG Sat, 7 Aug 2004 00:25:06 -0700 + +malaga (6.13-1) unstable; urgency=low + + * New upstream release. Closes: Bug#92452. + * rules: massive changes in every regard. + * malaga.texi: Remove use of @ commands in @node names. + Put tex-specific code in @iftex, not @ifnotinfo. + * prerm-malaga-bin, prerm-malaga-doc, prerm-libmalaga-dev, prerm-libmalaga2 + postinst-libmalaga-dev, postinst-malaga-bin, postinst-malaga-doc: + Remove unneeded transition files. + * bin-README.Debian: No longer relevant. + * control: Library package is now libmalaga6. + * postinst-libmalaga2: Remove transition material; rename to be + postinst-libmalaga6. + * control (malaga-bin, malaga-doc): Fix all the doc-related recommendations. + * control (Build-Depends): Include texinfo; not hevea. + * dev-README.Debian: Remove file; no longer relevant. + + -- Thomas Bushnell, BSG Fri, 6 Aug 2004 21:26:01 -0700 + +malaga (4.3-8) unstable; urgency=low + + * Recommend tk8.4 | wish instead of tk8.0. Should have been done in + version 4.3-6 when we upgraded to using 8.4 to build. Closes: #262235. + + -- Thomas Bushnell, BSG Tue, 3 Aug 2004 17:45:17 -0700 + +malaga (4.3-7) unstable; urgency=low + + * Don't mention emacs20 in the Suggests for malaga-bin; merely + suggesting emacsen in sufficient. Closes: #232770. + + -- Thomas Bushnell, BSG Sat, 5 Jun 2004 14:20:31 -0700 + +malaga (4.3-6) unstable; urgency=low + + * Conform to override file: All packages should be priority optional, + not extra. libmalag-dev goes into libdevel, not devel. + + * Switch to tcl/tk version 8.4. Closes: #205923. + + -- Thomas Bushnell, BSG Sat, 5 Jun 2004 12:37:10 -0700 + +malaga (4.3-5) unstable; urgency=low + + * Use hevea instead of latex2html. Thanks to Ralf Treinen for the patch. + Closes: #229937. + + -- Thomas Bushnell, BSG Fri, 4 Jun 2004 23:34:00 -0700 + +malaga (4.3-4) unstable; urgency=low + + * Priority for libmalaga2 should be extra. + + -- Thomas Bushnell, BSG Thu, 3 Jan 2002 13:26:22 -0800 + +malaga (4.3-3) unstable; urgency=low + + * Set maintainer to Thomas Bushnell, BSG . Closes: #68290. + + -- Thomas Bushnell, BSG Thu, 3 Jan 2002 00:44:51 -0800 + +malaga (4.3-2) unstable; urgency=low + + * Acknowledge NMU, Closes: #53613. + * Fix changelog singature for 4.3-1.1. + * debian/control (Maintainer): Orphaned. + + -- Antti-Juhani Kaijanaho Tue, 30 May 2000 15:41:27 +0300 + +malaga (4.3-1.1) unstable; urgency=low + + * NMU with maintaintainer blessing to fix bug: #53613 + - wrong Build-Depends. + + -- Petr Cech Fri, 31 Dec 1999 17:07:55 +0100 + +malaga (4.3-1) unstable; urgency=low + + * New upstream release. Closes: #46887. + * debian/{rules,control}: Change library soname to 2. + * source/Makefile.in: + + Link .so explicitly with -lc. + + Add a VPATH definition. + * debian/rules: + + Forget about Makefile.gen + + Build the different pkgs in different directories, + using VPATH as your helper + * debian/{prerm,postinst}-libmalaga1: Renamed to -libmalaga2 + * debian/copyright: Updated. + * source/display.c: If no display_command_line, make one. + * tcl/display.tcl: Hardcode the libmatrix path... ugly ugly ugly... + * debian/control (Build-Depends-{,Indep}): Added. + * debian/control (Standards-Version): 3.1.1 + + -- Antti-Juhani Kaijanaho Mon, 20 Dec 1999 23:19:03 +0200 + +malaga (4.2.5p2-3) unstable; urgency=low + + * Implement the /usr/doc transition method (yuck!) + + debian/rules: Install a prerm and a postinst for all packages + in $(prebinary) + + debian/postinst.doc: Renamed to postinst-malaga-doc, added FHS stub + + debian/prerm.doc: Renamed to prerm-malaga-doc, added FHS stub + + debian/postinst.lib: Renamed to postinst-libmalaga1, added FHS stub + + debian/prerm-libmalaga1: Added FHS stub. + + debian/{postinst,prerm}.malaga-bin: Added FHS stubs. + + debian/{postinst,prerm}.libmalaga-dev: Added FHS stubs. + * debian/rules: Install libmalaga.h into /usr/include/malaga/ . + * debian/rules (libmalaga-dev): Install the so symlink under debian/tmp! + + -- Antti-Juhani Kaijanaho Fri, 8 Oct 1999 00:21:51 +0300 + +malaga (4.2.5p2-2) unstable; urgency=low + + * debian/rules: Did a complete rewrite (no changes to functionality). + * source/Makefile: Compile the library objects twice, once to .o and + once to .os. + * debian/rules: Install malaga.dvi compressed. + * debian/rules: Do not precompile examples. + * grammars/Makefile: Reverted to upstream version. + * debian/bin-conffiles, debian/rules: Make the Emacs startup file a + conffile for malaga-bin. + * debian/copyright: Correct the location of the upstream sources + and the date of fetching them. + + -- Antti-Juhani Kaijanaho Mon, 16 Aug 1999 02:47:24 +0300 + +malaga (4.2.5p2-1) unstable; urgency=low + + * New upstream release. + * source/libmatrix.c: Use upstream version, which now has Tk 8 support. + * source/transmit_process.c: Removed the index variable hack, it is no + longer needed as upstream has renamed that variable into "top". + * malaga.el: Upstream now has the C-c LETTER -> C-c C-LETTER fix. + Closes: bug#36885. + * debian/changelog: Fixed an annoying typo in the 4.2.5p1-3 entry + (dpkg-gencontrol was typoed). + * debian/copyright: Removed "functionality changes in this package", + as they no longer apply. + * source/malmake.c: Removed note about Debian-specific changes, + as there are none. This file is now pristine. + * debian/copyright: GPL is in /usr/share. + * bin-README.Debian: There are no longer any differences between + upstream and Debian Emacs keybindings, so removed that note. + + -- Antti-Juhani Kaijanaho Sun, 15 Aug 1999 13:16:54 +0300 + +malaga (4.2.5p1-3) unstable; urgency=low + + * malaga.el: Change keybindings for malaga-mode so that + C-c LETTER is changed into C-c C-LETTER. This fix is in the + unreleased upstream 4.3 tree. Fixes: 36885. + * source/libmatrix.c: merged in hangul guards and Tk 8 support from + the unreleased 4.3 tree. + * source/display_process.c: use wish8.0, not wish4.2. + * source/display_process.c: check the return value of strdup. + * debian/control: malaga-bin depends now on tk8.0, not tk4.2. + * debian/bin-README.Debian: Updated homepage URL. + * debian/bin-README.Debian: Mention the keybinding change in malaga-mode. + * debian/copyright: Mention Tk 8.0 and keybinding changes. + * debian/{control,rules,doc-control}, source/display_process.c, + tcl/display.tcl: + Policy 3.0.0.0 + - /usr/doc -> /usr/share/doc + - /usr/lib/malaga/*.tcl -> /usr/share/malaga + * debian/rules: Use -isp with dpkg-gencontrol. + * debian/control: Removed Suggests: libmalaga-dev from malaga-bin and + libmalaga1 + + -- Antti-Juhani Kaijanaho Sun, 25 Jul 1999 13:06:52 +0300 + +malaga (4.2.5p1-2) unstable; urgency=medium + + * Reinstated the library packages. The problem turned out to + be fixable after all. + * I feel stupid. + + -- Antti-Juhani Kaijanaho Tue, 8 Jun 1999 22:39:24 +0300 + +malaga (4.2.5p1-1) unstable; urgency=low + + * New upstream release + * Dropped the packages libmalaga1 and libmalaga-dev due + to unfixable libc conflicts. The packages may be reinstated + after a new upstream version. Fixes build problems on glibc2.1 + systems. + + -- Antti-Juhani Kaijanaho Wed, 26 May 1999 17:46:31 +0300 + +malaga (4.2.5-1) unstable; urgency=low + + * New upstream version. + * The header files basic.h, source/pools.h and values.h + are now installed into /usr/include/malaga. Together with + the libmalaga-dev README.Debian, this addresses bug #32533. + * libmalaga-dev: Added a README.Debian explaining the situation + with the header files. + * malaga-bin: Renamed README.debian to README.Debian. + * source/transmit_process.c: Kluged around the fact that GNU libc + version 2 defines index () in . I'm informing upstream + about this. + + -- Antti-Juhani Kaijanaho Sun, 31 Jan 1999 16:35:32 +0200 + +malaga (4.2.4-3) unstable; urgency=low + + * malaga-bin suggested libmalaga1-dev, which was renamed to + libmalaga-dev. Corrected this. + + -- Antti-Juhani Kaijanaho Mon, 18 Jan 1999 01:07:07 +0200 + +malaga (4.2.4-2) unstable; urgency=low + + * Updated maintainer address. + * Updated the short descriptions. "Automatic language analysis" is + much more succinct than "left-associative grammars", and it's much + more understandable to us Earthers (as opposed to linguists :-), too. + * The series of mistakes continue. Include libmalaga.h, not + malaga_lib.h in the -dev package. + * Added the home page URL to README.Debian. + * malaga-doc: Registered the HTML documentation to doc-base. + * malaga-doc: fixed the HTML docs build. Images were not generated + because of a typo in debian/rules. + + -- Antti-Juhani Kaijanaho Sun, 17 Jan 1999 14:08:21 +0200 + +malaga (4.2.4-1) unstable; urgency=low + + * New upstream source. + * Bumped standards version to 2.5.0.0. No changes were needed. + * Mmmh. I hadn't changed the suggests and recommend as I claim below + having done. Added emacsen to suggests of malaga-bin, and lyx & gv + to malaga-doc recommends. + * Renamed libmalaga1-dev to libmalaga-dev, made the new dev package + depend on the exact version of the lib package, and made the lib package + and the new dev package conflict with the old dev package. + * Updated debian/copyright. + * Removed the shlibs files in debian/ - the shlibs file that gets used is + created on the fly by debian/rules. + * Added an Emacs startup script. + * Upstream had adopted my manpages but moved them to a different location. + Updated debian/rules accordingly. + * De-bashismed the postinst. Thanks, lintian. + + -- Antti-Juhani Kaijanaho Sun, 20 Dec 1998 22:00:45 +0200 + +malaga (4.2.3-3) unstable; urgency=low + + * malaga.el /does/ work with xemacsen. Changed suggests appropriately. + * Added real packages to malaga-doc recommends; previously there were + only virtual packages. + * Made `debian/rules clean' clean /all/ backup files. My last try (-2) + was quite unsuccessful. + + -- Antti-Juhani Kaijanaho Tue, 3 Nov 1998 19:36:03 +0200 + +malaga (4.2.3-2) unstable; urgency=low + + * Backups of the new man pages weren't cleaned. Embarrassing. + + -- Antti-Juhani Kaijanaho Mon, 2 Nov 1998 05:32:10 +0200 + +malaga (4.2.3-1) unstable; urgency=low + + * New upstream source. + * 4.2-1 was never uploaded anywhere. + * libmatrix was not --strip-unneeded'ed. Thanks, lintian. + + -- Antti-Juhani Kaijanaho Tue, 27 Oct 1998 01:27:05 +0200 + +malaga (4.2-1) unstable; urgency=low + + * Initial revision. + * Wrote manpages for the binaries. + * When building, malmake is not in the path (grammars/Makefile). + * malmake.c needs for pid_t, contrary to what the + manpage for fork(2) says. + * Removed MALAGA_DISPLAY, since this is the simplest way to make + malaga conform to policy (no environment variables may be needed + for normal operation) without breaking anything. (display_process.c, + tcl/display.tcl). + * Numerous changes to the upstream source/Makefile to conform to + Debian policy. See the comments on the file. + * Gave libmalaga the soname libmalaga.so.1. + + -- Antti-Juhani Kaijanaho Sat, 24 Oct 1998 17:01:50 +0300 + + --- malaga-7.12.orig/debian/libmalaga7.install +++ malaga-7.12/debian/libmalaga7.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libmalaga.so.* --- malaga-7.12.orig/debian/control +++ malaga-7.12/debian/control @@ -0,0 +1,93 @@ +Source: malaga +Maintainer: Timo Jyrinki +Section: misc +Priority: optional +Build-Depends: libgtk2.0-dev, libglib2.0-dev, texinfo, texlive, libreadline5-dev, dpkg-dev ( >= 1.13.19 ), debhelper ( >= 4.0.0 ), autotools-dev, libcairo-dev +Standards-Version: 3.7.3 + +Package: malaga-bin +Architecture: any +Section: misc +Priority: optional +Depends: ${shlibs:Depends} +Recommends: malaga-doc, info | info-browser +Suggests: malaga-mode +Description: A system for automatic language analysis + Malaga is a system for implementing natural language analysers: + both grammars and morphologies can be created. + You will not be needing this package if you do not intend + to do research on computer linguistics or develop computer + programs that need to do advanced processing of natural + languages. + . + This package contains a set of standalone programs that can be + used in developing and playing with grammars and morphologies. + One of the programs uses a Tk/TCL module for displaying + graphical analysis trees. + +Package: libmalaga7 +Architecture: any +Section: libs +Priority: optional +Depends: ${shlibs:Depends} +Conflicts: libmalaga1-dev, libmalaga2-dev +Description: An automatic language analysis library + Malaga is a system for implementing natural language analysers: + both grammars and morphologies can be created. + . + This package contains the shared library supporting other + programs that use the Malaga engine. Malaga itself does + not use this library. + +Package: libmalaga-dev +Architecture: any +Section: libdevel +Priority: optional +Depends: libmalaga7 (=${binary:Version}), libglib2.0-dev +Conflicts: libmalaga1-dev, libmalaga2-dev +Suggests: malaga-bin +Description: Developer's library for automatic language analysis + Malaga is a system for implementing natural language analysers: + both grammars and morphologies can be created. + You will not be needing this package if you do not intend + to do research on computer linguistics or develop computer + programs that need to do advanced processing of natural + languages. + . + This package contains the static library and header file + for developing programs that use the Malaga engine. + +Package: malaga-doc +Architecture: all +Section: doc +Priority: optional +Suggests: malaga-bin, doc-base +Description: Documentation for an automatic language analysis system + Malaga is a system for implementing natural language analysers: + both grammars and morphologies can be created. + You will not be needing this package if you do not intend + to do research on computer linguistics or develop computer + programs that need to do advanced processing of natural + languages. + . + This package contains the Malaga documentation in HTML and + PostScript, DVI, and PDF. To read it you will need appropriate + viewers. The malaga-bin package contains documentation in + info format. + +Package: malaga-mode +Section: editors +Priority: optional +Architecture: all +Suggests: malaga-bin +Depends: emacs22 | emacsen +Description: A system for automatic language analysis - emacs mode + Malaga is a system for implementing natural language analysers: + both grammars and morphologies can be created. + You will not be needing this package if you do not intend + to do research on computer linguistics or develop computer + programs that need to do advanced processing of natural + languages. + . + This package contains the emacs malaga-mode. + --- malaga-7.12.orig/debian/libmalaga-dev.install +++ malaga-7.12/debian/libmalaga-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/libmalaga.la +debian/tmp/usr/lib/libmalaga.a +debian/tmp/usr/lib/libmalaga.so +debian/tmp/usr/include/* --- malaga-7.12.orig/debian/copyright +++ malaga-7.12/debian/copyright @@ -0,0 +1,36 @@ +This package was originally debianized by Antti-Juhani Kaijanaho + in 1999. +This package was further debianized by Timo Jyrinki +in September 2006. + +The current Debian maintainer is Timo Jyrinki + +It was downloaded from http://home.arcor.de/bjoern-beutel/malaga/malaga-7.12.tgz + +Upstream author: Björn Beutel + +License: The GNU General Public License (see /usr/share/common-licenses/GPL) + +Copyright (C) 1995-2006 Bjoern Beutel + +Malaga is free software; you may redistribute it and/or modify it under the +terms of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version, as published by the Free Software Foundation. + +Malaga 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. + +A copy of the GNU General Public License, version 2, should be in "GPL.txt"; +if not, you may download it from http://www.fsf.org. + +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. + +On Debian systems the complete text of GNU General Public License is +located in the file /usr/share/common-licenses/GPL-2. + +The Debian packaging is (C) 2006-2007, Timo Jyrinki and +is licensed under the GPL, see above. --- malaga-7.12.orig/debian/malaga-bin.install +++ malaga-7.12/debian/malaga-bin.install @@ -0,0 +1,4 @@ +debian/tmp/usr/bin/* +debian/tmp/usr/share/doc/malaga-bin/* +debian/tmp/usr/share/man/* +grammars/* usr/share/doc/malaga-bin/examples/ --- malaga-7.12.orig/debian/malaga-mode.install +++ malaga-7.12/debian/malaga-mode.install @@ -0,0 +1,3 @@ +debian/tmp/usr/share/emacs/* +debian/tmp/usr/share/malaga/malaga-mode.el usr/share/emacs/site-lisp/ +debian/tmp/usr/lib/emacsen-common/packages/* --- malaga-7.12.orig/debian/malaga-doc.install +++ malaga-7.12/debian/malaga-doc.install @@ -0,0 +1,5 @@ +debian/tmp/usr/share/doc/malaga-doc/* +build-doc/malaga.pdf usr/share/doc/malaga-doc +build-doc/malaga.dvi usr/share/doc/malaga-doc +build-doc/malaga.ps usr/share/doc/malaga-doc +build-doc/malaga.html usr/share/doc/malaga-doc --- malaga-7.12.orig/debian/malaga-mode.emacsen-remove +++ malaga-7.12/debian/malaga-mode.emacsen-remove @@ -0,0 +1,15 @@ +#!/bin/sh -eu +set -e + +FLAVOR="$1" +elc_dir=/usr/share/${FLAVOR}/site-lisp + +echo remove/malaga-mode: Handling removal of emacsen flavor ${FLAVOR} + +if [ ${FLAVOR} != emacs ] +then + echo emacsen-common: purging byte-compiled files for ${FLAVOR} + rm -f "${elc_dir}/malaga-mode.elc" +fi +exit 0 + --- malaga-7.12.orig/debian/malaga-mode.emacsen-startup +++ malaga-7.12/debian/malaga-mode.emacsen-startup @@ -0,0 +1,5 @@ +(autoload 'malaga-mode "malaga-mode" + "Major mode for editing Malaga code." + t) +(add-to-list 'auto-mode-alist + '("\\.\\(all\\|esym\\|lex\\|m\\(al\\|or\\)\\|pro\\|sy[mn]\\)\\'" . malaga-mode)) --- malaga-7.12.orig/debian/malaga-mode.emacsen-install +++ malaga-7.12/debian/malaga-mode.emacsen-install @@ -0,0 +1,31 @@ +#!/bin/sh +set -e + +FLAVOR="$1" +echo install/malaga-mode: Handling install of emacsen flavor ${FLAVOR} + +byte_compile_options="-batch -f batch-byte-compile" +el_files="malaga-mode.el" +el_dir="/usr/share/emacs/site-lisp" +elc_dir="/usr/share/${FLAVOR}/site-lisp" + +if [ ${FLAVOR} != emacs ] +then + echo install/malaga-mode: byte-compiling for ${FLAVOR} + + [ -d "${elc_dir}" ] || mkdir "${elc_dir}" + + # Copy the temp .el files + cd "${el_dir}" + cp -f "${el_files}" "${elc_dir}" + + # Byte compile them + cd "${elc_dir}" + ${FLAVOR} ${byte_compile_options} "${el_files}" 2> /dev/null + + # remove the redundant .el files + cd "${elc_dir}" + rm -f "$el_files" +fi +exit 0 +