debian/0000755000000000000000000000000012272333564007175 5ustar debian/gri.postinst0000644000000000000000000000175711310756313011566 0ustar #!/bin/bash set -e ### Historic cleanup code, delete files like: # /usr/share/emacs/20.7/site-lisp/gri-mode.CompilationLog.gz # /usr/share/xemacs21/site-lisp/gri-mode.CompilationLog.gz clean_old_emacs_cruft () { rm -f /usr/share/emacs/$1/site-lisp/gri-mode.CompilationLog.gz rmdir --ignore-fail-on-non-empty --parents /usr/share/emacs/$1/site-lisp/ } clean_old_xemacs_cruft () { rm -f /usr/share/xemacs$1/site-lisp/gri-mode.CompilationLog.gz rmdir --ignore-fail-on-non-empty --parents /usr/share/xemacs$1/site-lisp/ } shopt -s nullglob for i in /usr/share/emacs/*/site-lisp/gri-mode.CompilationLog.gz; do i=${i#/usr/share/emacs/} i=${i%/site-lisp/gri-mode.CompilationLog.gz} test -e /usr/bin/emacs-$i || clean_old_emacs_cruft $i done for i in /usr/share/xemacs*/site-lisp/gri-mode.CompilationLog.gz; do i=${i#/usr/share/xemacs} i=${i%/site-lisp/gri-mode.CompilationLog.gz} test -e /usr/bin/xemacs$i || clean_old_xemacs_cruft $i done ### All done #DEBHELPER# debian/patches/0000755000000000000000000000000012272333643010622 5ustar debian/patches/gri.texi.patch0000644000000000000000000000232112200314241013352 0ustar Description: gri infi file error; fixed upstream in git. . gri (2.12.23-2.3) unstable; urgency=low . * These are the same bug; fixed upstream in git. * Bug fix: "FTBFS: manuals build fails against textinfo5 because some incompatibles changes wrt 4.13 and below (some warnings have turned into errors)", thanks to David Suárez (Closes: #712326). * Bug fix: "build from source fails on makeinfo 5.1", thanks to Kevin Ryde (Closes: #718821). Author: Peter S Galbraith Bug-Debian: http://bugs.debian.org/712326 Bug-Debian: http://bugs.debian.org/718821 --- gri-2.12.23.orig/doc/gri.texi +++ gri-2.12.23/doc/gri.texi @@ -18486,7 +18486,7 @@ Versions exist for MSDOS, windows, and L (Actually, the windows version is just the MSDOS version, which can be run inside an msdos window within windows-95, windows-NT, etc.) -@subsubsection MSDOS Operating System +@subsection MSDOS Operating System @cindex compilation under MSDOS @cindex MSDOS compilation @@ -18543,7 +18543,7 @@ To view the output, use a PostScript vie -@subsubsection LINUX Operating System +@subsection LINUX Operating System @cindex compilation under Linux @cindex linux compilation @cindex LINUX compilation debian/patches/gri-2.12.23-40000644000000000000000000000763112227062051012271 0ustar Description: TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. . gri (2.12.23-4) unstable; urgency=low . * Bug fix: "FTBFS: Failed building docs", thanks to David Suárez (Closes: #724193). * Bug fix: "extra .gri$ auto-mode-alist entry", thanks to Kevin Ryde (Closes: #680701). * Undo bug #659422 Depends on libperl4-corelibs-perl and update scripts gri_unpage and gri_merge instead. Author: Peter S Galbraith Bug-Debian: http://bugs.debian.org/680701 Bug-Debian: http://bugs.debian.org/724193 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- gri-2.12.23.orig/src/gri_unpage +++ gri-2.12.23/src/gri_unpage @@ -10,11 +10,11 @@ BUGS: 1. Bounding box is always the s 2. Assumes that all Gri fonts are used even if they aren't. "; -eval { require 'getopts.pl' ; }; +eval { use Getopt::Std; ; }; my $use_getopts = $@ ? 0 : 1; if ($use_getopts) { - &Getopts('hl'); + &getopts('hl'); if ($opt_h) { print "$usage"; exit 0; --- gri-2.12.23.orig/src/gri_merge +++ gri-2.12.23/src/gri_merge @@ -38,7 +38,7 @@ EXAMPLE (style 2): -h -- Print this help message and quit. "; -eval { require 'getopts.pl' ; }; +eval { use Getopt::Std; ; }; my $use_getopts = $@ ? 0 : 1; $underlay_gray = 0.9; @@ -46,7 +46,7 @@ $opt_u = -1; # illegal value $background_gray = 1; $opt_b = -1; # illegal value if ($use_getopts) { - &Getopts('hu:b:'); + &getopts('hu:b:'); if ($opt_h) { print "$usage"; exit 0; --- gri-2.12.23.orig/src/gri-mode.el +++ gri-2.12.23/src/gri-mode.el @@ -4,7 +4,7 @@ ;; Author: Peter S. Galbraith ;; Created: 14 Jan 1994 -;; Version: 2.70 (05 Dec 2009) +;; Version: 2.71 (14 Oct 2013) ;; Keywords: gri, emacs, XEmacs, graphics. ;;; This file is not part of GNU Emacs. @@ -407,6 +407,8 @@ ;; V2.70 05dec2009 ;; gri-font-lock-system-commands is broken since Emacs v22. Use simple ;; regexp instead. +;; V2.71 14Oct2013 +;; http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680701 ;; ---------------------------------------------------------------------------- ;;; Code: ;; The following variable may be edited to suit your site: @@ -4990,9 +4992,9 @@ If FILENAME does not end in `.gri', retu ;; Setup auto-mode-alist (if (not (assoc '"\\.gri$" auto-mode-alist)) - (setq auto-mode-alist (cons '("\\.gri$" . gri-mode) auto-mode-alist))) + (setq auto-mode-alist (cons '("\\.gri\\'" . gri-mode) auto-mode-alist))) (if (not (assoc '"\\.grirc$" auto-mode-alist)) - (setq auto-mode-alist (cons '("\\.grirc$" . gri-mode) auto-mode-alist))) + (setq auto-mode-alist (cons '("\\.grirc\\'" . gri-mode) auto-mode-alist))) (provide 'gri-mode) ;;; gri-mode.el ends here --- gri-2.12.23.orig/doc/texinfo2HTML +++ gri-2.12.23/doc/texinfo2HTML @@ -54,7 +54,8 @@ BUGS: the end is here} and more blah will not get the \@code{} item converted correctly. "; -require "ctime.pl"; +#require "ctime.pl"; +use POSIX qw(ctime); require "getopts.pl"; $debug = 0; @@ -66,6 +67,7 @@ if ($print_help) { print "$usage"; exit 0; } +#$date = &ctime(time); $date = &ctime(time); chop($date); debian/patches/texinfo2HTML0000644000000000000000000000126712272334106012771 0ustar Description: doc/texinfo2HTML Bug fix: "FTBFS: Can't locate getopts.pl in @INC", thanks to Andreas Moog (Closes: #735914). Fixed doc/texinfo2HTML here and upstream. Author: Peter S Galbraith Bug-Debian: http://bugs.debian.org/735914 --- gri-2.12.23.orig/doc/texinfo2HTML +++ gri-2.12.23/doc/texinfo2HTML @@ -56,17 +56,14 @@ BUGS: "; #require "ctime.pl"; use POSIX qw(ctime); -require "getopts.pl"; - -$debug = 0; - -die if !&Getopts('h'); -$print_help = 0; -$print_help = $opt_h if $opt_h; -if ($print_help) { +use Getopt::Std; +&getopts('h'); +if ($opt_h) { print "$usage"; exit 0; } +$debug = 0; + #$date = &ctime(time); $date = &ctime(time); chop($date); debian/patches/gri-2.12.23-60000644000000000000000000012744112227520167012304 0ustar Description: Update config.guess and config.sub Author: Peter S Galbraith --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- gri-2.12.23.orig/config.sub +++ gri-2.12.23/config.sub @@ -1,38 +1,31 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 -# Free Software Foundation, Inc. - -timestamp='2010-01-22' - -# This file is (in principle) common to ALL GNU software. -# The presence of a machine in this file suggests that SOME GNU software -# can handle that machine. It does not imply ALL GNU software can. -# -# This file is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# Copyright 1992-2013 Free Software Foundation, Inc. + +timestamp='2013-08-10' + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# 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 Street - Fifth Floor, Boston, MA -# 02110-1301, USA. +# along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). -# Please send patches to . Submit a context -# diff and a properly formatted GNU ChangeLog entry. +# Please send patches with a ChangeLog entry to config-patches@gnu.org. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. @@ -75,9 +68,7 @@ Report bugs and patches to . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - - -# Originally written by Per Bothner. Please send patches (context -# diff format) to and include a ChangeLog -# entry. +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). # -# This script attempts to guess a canonical system name similar to -# config.sub. If it succeeds, it prints the system name on stdout, and -# exits with 0. Otherwise, it exits with 1. +# Originally written by Per Bothner. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD +# +# Please send patches with a ChangeLog entry to config-patches@gnu.org. + me=`echo "$0" | sed -e 's,.*/,,'` @@ -56,9 +50,7 @@ version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free -Software Foundation, Inc. +Copyright 1992-2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -140,12 +132,33 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown +case "${UNAME_SYSTEM}" in +Linux|GNU|GNU/*) + # If the system lacks a compiler, then just pick glibc. + # We could probably try harder. + LIBC=gnu + + eval $set_cc_for_build + cat <<-EOF > $dummy.c + #include + #if defined(__UCLIBC__) + LIBC=uclibc + #elif defined(__dietlibc__) + LIBC=dietlibc + #else + LIBC=gnu + #endif + EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + ;; +esac + # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or - # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, + # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward @@ -181,7 +194,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$ fi ;; *) - os=netbsd + os=netbsd ;; esac # The OS release @@ -202,6 +215,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$ # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; + *:Bitrig:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} + exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} @@ -224,7 +241,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on @@ -270,7 +287,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$ # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit ;; + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + exitcode=$? + trap '' 0 + exit $exitcode ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead @@ -296,12 +316,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$ echo s390-ibm-zvmoe exit ;; *:OS400:*:*) - echo powerpc-ibm-os400 + echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; - arm:riscos:*:*|arm:RISCOS:*:*) + arm*:riscos:*:*|arm*:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) @@ -395,23 +415,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$ # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} + echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} - exit ;; + exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} + echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint${UNAME_RELEASE} - exit ;; + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint${UNAME_RELEASE} - exit ;; + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-unknown-mint${UNAME_RELEASE} - exit ;; + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; @@ -481,8 +501,8 @@ EOF echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ @@ -495,7 +515,7 @@ EOF else echo i586-dg-dgux${UNAME_RELEASE} fi - exit ;; + exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; @@ -552,7 +572,7 @@ EOF echo rs6000-ibm-aix3.2 fi exit ;; - *:AIX:*:[456]) + *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 @@ -595,52 +615,52 @@ EOF 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` - case "${sc_cpu_version}" in - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 - 532) # CPU_PA_RISC2_0 - case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 - esac ;; - esac + esac ;; + esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include + #include - #define _HPUX_SOURCE - #include - #include - - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); - - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa @@ -731,22 +751,22 @@ EOF exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd - exit ;; + exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi - exit ;; + exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd - exit ;; + exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd - exit ;; + exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd - exit ;; + exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; @@ -770,14 +790,14 @@ EOF exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; 5000:UNIX_System_V:4.*:*) - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} @@ -789,30 +809,35 @@ EOF echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) - case ${UNAME_MACHINE} in - pc98) - echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + UNAME_PROCESSOR=`/usr/bin/uname -p` + case ${UNAME_PROCESSOR} in amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; + *:MINGW64*:*) + echo ${UNAME_MACHINE}-pc-mingw64 + exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; + i*:MSYS*:*) + echo ${UNAME_MACHINE}-pc-msys + exit ;; i*:windows32*:*) - # uname -m includes "-pc" on this system. - echo ${UNAME_MACHINE}-mingw32 + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:*) - case ${UNAME_MACHINE} in + case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; @@ -849,15 +874,22 @@ EOF exit ;; *:GNU:*:*) # the GNU system - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland - echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; + aarch64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + aarch64_be:Linux:*:*) + UNAME_MACHINE=aarch64_be + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; @@ -867,52 +899,56 @@ EOF EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; - esac + esac objdump --private-headers /bin/sh | grep -q ld.so.1 - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + if test "$?" = 0 ; then LIBC="gnulibc1" ; fi + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + arc:Linux:*:* | arceb:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} else - echo ${UNAME_MACHINE}-unknown-linux-gnueabi + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi + else + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf + fi fi exit ;; avr32*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; cris:Linux:*:*) - echo cris-axis-linux-gnu + echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; crisv32:Linux:*:*) - echo crisv32-axis-linux-gnu + echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; frv:Linux:*:*) - echo frv-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + hexagon:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:Linux:*:*) - LIBC=gnu - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #ifdef __dietlibc__ - LIBC=dietlibc - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` - echo "${UNAME_MACHINE}-pc-linux-${LIBC}" + echo ${UNAME_MACHINE}-pc-linux-${LIBC} exit ;; ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m32r*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m68*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build @@ -931,51 +967,63 @@ EOF #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } ;; + or1k:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; or32:Linux:*:*) - echo or32-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; padre:Linux:*:*) - echo sparc-unknown-linux-gnu + echo sparc-unknown-linux-${LIBC} exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu + echo hppa64-unknown-linux-${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-gnu ;; - PA8*) echo hppa2.0-unknown-linux-gnu ;; - *) echo hppa-unknown-linux-gnu ;; + PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; + PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; + *) echo hppa-unknown-linux-${LIBC} ;; esac exit ;; ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu + echo powerpc64-unknown-linux-${LIBC} exit ;; ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu + echo powerpc-unknown-linux-${LIBC} + exit ;; + ppc64le:Linux:*:*) + echo powerpc64le-unknown-linux-${LIBC} + exit ;; + ppcle:Linux:*:*) + echo powerpcle-unknown-linux-${LIBC} exit ;; s390:Linux:*:* | s390x:Linux:*:*) - echo ${UNAME_MACHINE}-ibm-linux + echo ${UNAME_MACHINE}-ibm-linux-${LIBC} exit ;; sh64*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sh*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + tile*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; vax:Linux:*:*) - echo ${UNAME_MACHINE}-dec-linux-gnu + echo ${UNAME_MACHINE}-dec-linux-${LIBC} exit ;; x86_64:Linux:*:*) - echo x86_64-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; xtensa*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. @@ -984,11 +1032,11 @@ EOF echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. + # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) @@ -1020,7 +1068,7 @@ EOF fi exit ;; i*86:*:5:[678]*) - # UnixWare 7.x, OpenUNIX and OpenServer 6. + # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; @@ -1048,13 +1096,13 @@ EOF exit ;; pc:*:*:*) # Left here for compatibility: - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i586. + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configury will decide that # this is a cross-build. echo i586-pc-msdosdjgpp - exit ;; + exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; @@ -1089,8 +1137,8 @@ EOF /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4; exit; } ;; + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ @@ -1133,10 +1181,10 @@ EOF echo ns32k-sni-sysv fi exit ;; - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says - echo i586-unisys-sysv4 - exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm @@ -1162,11 +1210,11 @@ EOF exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} + echo mips-nec-sysv${UNAME_RELEASE} else - echo mips-unknown-sysv${UNAME_RELEASE} + echo mips-unknown-sysv${UNAME_RELEASE} fi - exit ;; + exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; @@ -1179,6 +1227,9 @@ EOF BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; + x86_64:Haiku:*:*) + echo x86_64-unknown-haiku + exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; @@ -1205,19 +1256,21 @@ EOF exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown - case $UNAME_PROCESSOR in - i386) - eval $set_cc_for_build - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then - if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null - then - UNAME_PROCESSOR="x86_64" - fi - fi ;; - unknown) UNAME_PROCESSOR=powerpc ;; - esac + eval $set_cc_for_build + if test "$UNAME_PROCESSOR" = unknown ; then + UNAME_PROCESSOR=powerpc + fi + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + case $UNAME_PROCESSOR in + i386) UNAME_PROCESSOR=x86_64 ;; + powerpc) UNAME_PROCESSOR=powerpc64 ;; + esac + fi + fi echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) @@ -1231,7 +1284,10 @@ EOF *:QNX:*:4*) echo i386-pc-qnx exit ;; - NSE-?:NONSTOP_KERNEL:*:*) + NEO-?:NONSTOP_KERNEL:*:*) + echo neo-tandem-nsk${UNAME_RELEASE} + exit ;; + NSE-*:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) @@ -1276,13 +1332,13 @@ EOF echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) - echo mips-sei-seiux${UNAME_RELEASE} + echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) - UNAME_MACHINE=`(uname -p) 2>/dev/null` + UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; @@ -1300,11 +1356,11 @@ EOF i*86:AROS:*:*) echo ${UNAME_MACHINE}-pc-aros exit ;; + x86_64:VMkernel:*:*) + echo ${UNAME_MACHINE}-unknown-esx + exit ;; esac -#echo '(No uname command or uname output not recognized.)' 1>&2 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 - eval $set_cc_for_build cat >$dummy.c < printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 - "4" + "4" #else - "" + "" #endif - ); exit (0); + ); exit (0); #endif #endif debian/patches/gri-2.12.23-50000644000000000000000000000312712227245566012304 0ustar Description: TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. . gri (2.12.23-4) unstable; urgency=low . * Bug fix: "FTBFS: Failed building docs", thanks to David Suárez (Closes: #724193). * Bug fix: "extra .gri$ auto-mode-alist entry", thanks to Kevin Ryde (Closes: #680701). * Undo bug #659422 Depends on libperl4-corelibs-perl and update scripts gri_unpage and gri_merge instead. Author: Peter S Galbraith Bug-Debian: http://bugs.debian.org/680701 Bug-Debian: http://bugs.debian.org/724193 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- gri-2.12.23.orig/src/utility.cc +++ gri-2.12.23/src/utility.cc @@ -2213,6 +2213,9 @@ char* tmp_file_name() { #if defined(HAVE_MKSTEMP) +#ifndef PATH_MAX +#define PATH_MAX 8192 +#endif static char rval[PATH_MAX]; int fd; /* debian/patches/gri-2.12.23-6convert0000644000000000000000000000312512227523735013701 0ustar Description: Fix bug #719160 . gri (2.12.23-6) unstable; urgency=low . * Merge in updated config.guess and config.sub for arm64 on Ubuntu. * doc/examples/Makefile.am bug fix: "example png files black on transparent", thanks to Kevin Ryde. Added "-background white" to convert call (Closes: #719160). Author: Peter S Galbraith Bug-Debian: http://bugs.debian.org/719160 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- a/doc/examples/Makefile.in +++ b/doc/examples/Makefile.in @@ -377,9 +377,9 @@ cp $< $@ chmod +w $@ %.png : %.ps - -convert $< $@ + -convert -background white $< $@ %-tiny.png : %.png - -convert -geometry 90x999 $< $@ + -convert -background white -geometry 90x999 $< $@ %.pdf : %.ps convert $< $@ # ps2pdf $< $@ --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -74,9 +74,9 @@ cp $< $@ chmod +w $@ %.png : %.ps - -convert $< $@ + -convert -background white $< $@ %-tiny.png : %.png - -convert -geometry 90x999 $< $@ + -convert -background white -geometry 90x999 $< $@ %.pdf : %.ps convert $< $@ # ps2pdf $< $@ debian/patches/series0000644000000000000000000000013312272333643012034 0ustar gri.texi.patch gri-2.12.23-4 gri-2.12.23-5 gri-2.12.23-6 gri-2.12.23-6convert texinfo2HTML debian/gri-el.emacsen-startup0000644000000000000000000000065611310756313013411 0ustar (if (not (file-exists-p "/usr/share/emacs/site-lisp/gri-el/gri-mode.el")) (message "Package gri-el is not installed. Skipping setup.") (debian-pkg-add-load-path-item (concat "/usr/share/" (symbol-name debian-emacs-flavor) "/site-lisp/gri-el")) (setq gri*directory-tree "/usr/share/gri/") (autoload 'gri-mode "gri-mode" "Enter Gri-mode." t) (setq auto-mode-alist (cons '("\\.gri\\'" . gri-mode) auto-mode-alist))) debian/rules0000755000000000000000000001330211607441251010246 0ustar #!/usr/bin/make -f # Made with the aid of dh_make, by Craig Small # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. # Also some stuff taken from debmake scripts, by Cristopt Lameter. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 #version=$(shell expr `pwd` : '.*-\([0-9.]*\)') #version := $(shell grep ^VERSION Makefile | cut -d" " -f3) version := $(shell perl -ne 'if (/AC_INIT\(gri, ([0-9.]+)\)/){print $$1}' configure.ac) somefutureversion=2.14.0 CXXFLAGS = -O2 -Wall ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CXXFLAGS += -g endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) STRIPIT=1 endif ARCH := $(shell dpkg --print-architecture | perl -pe chop) build: build-indep build-arch # Build architecture-dependent files here (no need to be root). build-arch: debian/copyright gri cd doc; make info gri: Makefile dh_testdir ifeq ($(ARCH),m68k) cd src; make CXXFLAGS="-O0 -Wall" rpncalc.o endif cd src; make CXXFLAGS=${CXXFLAGS} clean: dh_testdir dh_testroot [ ! -f Makefile ] || $(MAKE) distclean mv doc/FAQ.html doc/FAQ.html.KEEP -rm -f config.log config.status debian/Makefile doc/*.html -rm -f doc/gri.info* doc/*.dvi doc/*.ps doc/*.pdf doc/*.log doc/html -rm src/gri.cmd src/startup.msg-tmp mv doc/FAQ.html.KEEP doc/FAQ.html dh_clean rm -fR debian/gri-$(version)static rm -f debian/README.Debian debian/gri.1 debian/copyright rm -f doc/gri_unpage.1 doc/gri_merge.1 chmod u+w debian/changelog install: gri dh_testdir dh_testroot dh_prep dh_installdirs cd src; make install_linux_debian debian=`pwd`/../debian/gri debian/copyright: sed -e 's/VSN/$(version)/g' \ debian/copyright.template > debian/copyright sed -e 's/LATERVSN/$(somefutureversion)/g;s/VSN/$(version)/g' \ debian/gri.man > debian/gri.1 sed -e 's/LATERVSN/$(somefutureversion)/g;s/VSN/$(version)/g' \ debian/README.Debian.template > debian/README.Debian cp doc/gri_unpage.1-skel doc/gri_unpage.1 cp doc/gri_merge.1-skel doc/gri_merge.1 Makefile: # To test on g++-3.0 : # CC=gcc-3.0 CXX=g++-3.0 ./configure --prefix=/usr ./configure --prefix=/usr --enable-linux_debian # Build architecture-independent files here (no need to be root). build-indep: debian/copyright Makefile cd doc; make refcard.ps cmdrefcard.ps gri.pdf html # Install (as root) architecture-independent files here. binary-indep: build-indep dh_testdir -i dh_testroot -i install -d debian/gri-el/usr/share/emacs/site-lisp/gri-el install -m 644 src/gri-mode.el debian/gri-el/usr/share/emacs/site-lisp/gri-el install -d debian/gri-pdf-doc/usr/share/doc/gri install -m 644 doc/gri.pdf debian/gri-pdf-doc/usr/share/doc/gri install -m 644 doc/refcard.ps debian/gri-pdf-doc/usr/share/doc/gri install -m 644 doc/cmdrefcard.ps debian/gri-pdf-doc/usr/share/doc/gri cd doc; make html-install DESTDIR=`pwd`/../debian/gri-html-doc/ rm -f debian/*debhelper dh_installdocs -i -A README debian/README.Debian dh_installexamples -i dh_installemacsen -i dh_installchangelogs -i dh_compress -i -X.jpg -Xlogo.gri dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i # Install (as root) architecture-dependent files here. binary-arch: build-arch install dh_testdir -a dh_testroot -a (cd debian/gri/usr/share/gri/$(version) ; ln -fs ../../common-licenses/GPL license.txt) rm -f debian/*debhelper dh_installdocs -a README dh_installexamples -a dh_installemacsen -a dh_installinfo doc/gri.info* dh_installman debian/gri.1 doc/gri_unpage.1 doc/gri_merge.1 (cd debian/gri/usr/share/man/man1 ; ln -fs gri.1.gz gri-$(version).1.gz) dh_installchangelogs -a ifdef STRIPIT dh_strip -a endif dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a # This is a target that developers won't use. I use it to create # non-Debian Gri packages that contain a specific version of Gri for use # alongside other (newer) versions of Gri. # See README.Debian.unofficial binary-arch-unofficial: debian/copyright build-arch rm -f debian/*debhelper rm -rf debian/gri-$(version) debian/gri-$(version)static -cp debian/control debian/control.real sed -e 's/VSN/$(version)/g' debian/control.unofficial > debian/control -cp debian/README.Debian debian/README.Debian.real -cp debian/README.Debian.unofficial debian/README.Debian cd src; make install_linux_debian_grionly debian=../debian/gri-$(version) (cd debian/gri-$(version)/usr/share/gri/$(version) ; ln -s ../../common-licenses/GPL license.txt) cd src; mv gri gri.real -rm debian/substvars make LIBS="-lm -L/usr/lib/netcdf -lnetcdf -static" cd src; make install_linux_debian_grionly debian=../debian/gri-$(version)static (cd debian/gri-$(version)static/usr/share/gri/$(version) ; ln -s ../../common-licenses/GPL license.txt) cd src; mv gri.real gri dh_testdir -a dh_testroot -a dh_installdocs -a -A README debian/README.Debian install -d debian/gri-$(version)/usr/share/man/man1 install debian/gri.1 debian/gri-$(version)/usr/share/man/man1/gri-$(version).1 install -d debian/gri-$(version)static/usr/share/man/man1 install debian/gri.1 debian/gri-$(version)static/usr/share/man/man1/gri-$(version).1 # dh_installmanpages -a doc/gri*.1 debian/gri.1 # -rm debian/gri-$(version).1 dh_installchangelogs -a ifdef STRIPIT dh_strip -a endif dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a -mv debian/control.real debian/control -mv debian/README.Debian.real debian/README.Debian source diff: @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary debian/gri-html-doc.preinst0000644000000000000000000000121511310756313013061 0ustar #!/bin/bash set -e ### Historic cleanup code, delete files like: # /usr/share/doc/gri-html-doc/html/.dhelp if [ -f "/usr/share/doc/gri-html-doc/html/.dhelp" ]; then rm -f /usr/share/doc/gri-html-doc/html/.dhelp rmdir --ignore-fail-on-non-empty --parents /usr/share/doc/gri-html-doc/html fi ### Delete unedited potato /etc/emacs file because it wasn't a conffile if [ x$1 = xupgrade ] then if [ `md5sum < /etc/emacs/site-start.d/50gri-html-doc.el | cut -f1 "-d "` = 4b1366ce9d1e5de4670aba73f37b212a ] then mv /etc/emacs/site-start.d/50gri-html-doc.el /etc/emacs/site-start.d/50gri-html-doc.el.dpkg-old fi fi #DEBHELPER# debian/gri-el.emacsen-remove0000644000000000000000000000132611310756313013177 0ustar #!/bin/sh # # emacsen remove script for the gri package # - # This script is installed by the Gri package `rules' file to # /usr/lib/emacsen-common/packages/remove/gri # It is run by Gri package `prerm' which calls # /usr/lib/emacsen-common/emacs-package-remove gri # The Gri package `prerm' is installed as /var/lib/dpkg/info/gri.prerm set -e flavour=$1 package=gri ELCDIR=/usr/share/${flavour}/site-lisp/gri-el if [ ${flavour} != emacs ] then echo remove/${package}: Purging byte-compiled files for flavour ${flavour} rm -f ${ELCDIR}/gri-mode.elc rm -f ${ELCDIR}/gri-mode.el rmdir --ignore-fail-on-non-empty ${ELCDIR} else echo remove/${package}: Ignoring emacsen flavour ${flavour} fi exit 0; debian/source/0000755000000000000000000000000011607310073010464 5ustar debian/source/format0000644000000000000000000000001411355126120011670 0ustar 3.0 (quilt) debian/copyright.template0000644000000000000000000000116511310756313012736 0ustar This package was first debianized by Peter S Galbraith on Wed, 31 Aug 1998. It was downloaded from http://ftp1.sourceforge.net/gri/gri-VSN.tgz The Gri web page is: http://gri.sourceforge.net Copyright and License: Gri: The Gri programming languages, and all manuals and online help-files, are (c) 1991-2001 Dan E. Kelley . Gri is distributed under the GPL Version 2. See /usr/share/common-licenses/GPL Emacs gri-mode: Copyright (C) 1994-2001 Peter S. Galbraith gri-mode.el is distributed under the GPL Version 2. See /usr/share/common-licenses/GPL debian/compat0000644000000000000000000000000211310756313010364 0ustar 7 debian/README.Debian.template0000644000000000000000000000411411403430371013035 0ustar gri for DEBIAN -------------- Here is how the packages are organized: gri: gri binary, manual in Info format, the Emacs mode (gri-mode.el), and one-page reference cards in PostScript format. For help about the software, see the Info manual: $ info gri gri-html-doc: HTML version of the manual (It's listed in dwww, dhelp and doc-central if you have the doc-base package installed). This manual is available on the web via: http://gri.sourceforge.net/gridoc/html/ Once you have installed this package, it's available at the URL http://localhost/doc/gri/html/ if you have a web server (like apache), or more simply at file:/usr/share/doc/gri/html/index.html gri-pdf-doc: PDF version of the manual suitable for printing or on-screen viewing. Once you have installed this package, it's available at /usr/share/doc/gri/gri.pdf.gz See also: The Gri cookbook (for real-world examples) on the web at: http://gri.sourceforge.net/gri-cookbook/ Packages available outside of Debian for older Gri versions: Some packages may be available outside the scope of Debian official packages that provide binaries for specific versions of Gri. This is useful if you write a complicated Gri command and find it no longer works after a Gri version upgrade. You may then want to install a version-specific package which contains only the binary and library of the Gri version you need. For example, if you currently use a package named gri_VSN-1.deb, and upgrade to gri_LATERVSN-1.deb, you could also install the package gri-VSN_VSN-1.deb (Note how the version number appears twice). The package name is thus `gri-VSN' instead of `gri'. This package would provide the version-specific command `gri-VSN', also accessible inside of Emacs' gri-mode (see the Emacs command `gri-set-local-version'). Statically compiled version are also available named like gri-VERSIONstatic. -- Peter S Galbraith , Wed, 31 Mar 2010 16:29:11 -0400 debian/changelog0000644000000000000000000010562512272332702011051 0ustar gri (2.12.23-7) unstable; urgency=medium * Bug fix: "FTBFS: Can't locate getopts.pl in @INC", thanks to Andreas Moog (Closes: #735914). Fixed doc/texinfo2HTML here and upstream. -- Peter S Galbraith Wed, 29 Jan 2014 21:15:30 -0500 gri (2.12.23-6) unstable; urgency=low * Merge in updated config.guess and config.sub for arm64 on Ubuntu. * doc/examples/Makefile.am bug fix: "example png files black on transparent", thanks to Kevin Ryde. Added "-background white" to convert call (Closes: #719160). -- Peter S Galbraith Wed, 16 Oct 2013 10:34:27 -0400 gri (2.12.23-5) unstable; urgency=low * src/utility.cc: Merge in upstream fix for hurd PATH_MAX -- Peter S Galbraith Tue, 15 Oct 2013 10:06:03 -0400 gri (2.12.23-4) unstable; urgency=low * Bug fix: "FTBFS: Failed building docs", thanks to David Suárez (Closes: #724193). * Bug fix: "extra .gri$ auto-mode-alist entry", thanks to Kevin Ryde (Closes: #680701). * Undo bug #659422 Depends on libperl4-corelibs-perl and update scripts gri_unpage and gri_merge instead. -- Peter S Galbraith Mon, 14 Oct 2013 17:35:26 -0400 gri (2.12.23-3) unstable; urgency=low * These are the same bug; fixed upstream in git. * Bug fix: "FTBFS: manuals build fails against textinfo5 because some incompatibles changes wrt 4.13 and below (some warnings have turned into errors)", thanks to David Suárez (Closes: #712326). * Bug fix: "build from source fails on makeinfo 5.1", thanks to Kevin Ryde (Closes: #718821). -- Peter S Galbraith Tue, 06 Aug 2013 20:31:42 -0400 gri (2.12.23-2.2) unstable; urgency=low * Non-maintainer upload. * Add missing Breaks+Replaces Closes: #694275 -- Andreas Tille Thu, 06 Dec 2012 13:42:17 +0100 gri (2.12.23-2.1) unstable; urgency=low * Non-maintainer upload. * Add Depends on libperl4-corelibs-perl (Closes: #659422) -- Dominic Hargreaves Mon, 23 Apr 2012 18:53:37 +0100 gri (2.12.23-2) unstable; urgency=low * Move refcard.ps to gri-pdf-doc package. -- Peter S Galbraith Wed, 13 Jul 2011 21:01:53 -0400 gri (2.12.23-1) unstable; urgency=low * New upstream release Bug fixes: - Fix SourceForge bug https://sourceforge.net/projects/gri/forums/forum/16975/topic/4596628/index/page/1 (pgm: images grayscale was wrong) -- Peter S Galbraith Tue, 12 Jul 2011 14:46:23 -0400 gri (2.12.22-1) unstable; urgency=low * New upstream release Bug Fixes: - Fix github bug http://github.com/dankelley/gri/issues#issue/5 (`draw image' failed on some black/white images). -- Peter S Galbraith Tue, 23 Nov 2010 19:11:02 -0500 gri (2.12.21-1) unstable; urgency=low * New upstream release Bug Fixes: - Fix github bug http://github.com/dankelley/gri/issues#issue/1 (`convert grid to image directly' misplaced image ``patches'' by one patch width and one patch height.) -- Peter S Galbraith Mon, 07 Jun 2010 09:47:21 -0400 gri (2.12.20-1) unstable; urgency=low * gri-pdf-doc: New binary package replaces "gri-ps-doc" package. * Switch to Debian source package format 3.0 (quilt) * New upstream release - add `starting' option to `set x axis' and `set y axis'. - add `directly' option to `convert grid to image'. - gri-mode.el font-locking was broken since Emacs-22 Bug Fixes: - Fix SourceForge bug #2913919 (SVG: all symbols are ".") - Fix SourceForge bug #2913893 (svg segfault on draw label) - Fix SourceForge bug #2913841 (svg draw box filled not filled) - Fix SourceForge bug #2913840 (svg images are upside-down) - Fix SourceForge bug #2913838 (image postscript clip problem) * Various lintian fixes in debian/control -- Peter S Galbraith Thu, 01 Apr 2010 10:14:27 -0400 gri (2.12.19-3) unstable; urgency=low * Bug fix: "replacing libreadline5-dev build dependency with libreadline-dev", thanks to Matthias Klose (Closes: #553777). -- Peter S Galbraith Mon, 02 Nov 2009 17:13:32 -0500 gri (2.12.19-2) unstable; urgency=low * Bug fix: "FTBFS: Nonexistent build-dependency: netcdfg-dev", thanks to Lucas Nussbaum (Closes: #549756). Switched to libnetcdf-dev. Also switch gs to ghostscript. -- Peter S Galbraith Mon, 05 Oct 2009 21:31:45 -0400 gri (2.12.19-1) unstable; urgency=low * New upstream release Bug Fixes: - Fix SourceForge bug #2977816 (Fedora packaging requires more precise license declarations. - Fix SourceForge bug #3266884 (error in docs for strlen). -- Peter S Galbraith Fri, 17 Jul 2009 15:08:08 -0400 gri (2.12.18-1) unstable; urgency=low * New upstream release Bug Fixes: - Improve security when creating temporary files. - Fix SourceForge bug #1985862 (output had axis linewidth equal to curve line width). -- Peter S Galbraith Mon, 08 Sep 2008 20:46:30 -0400 gri (2.12.17-1) unstable; urgency=low * New upstream release New Features Add GNU readline support so that interactive mode will have history, command editing, etc. Bug Fixes: - Fix SourceForge bug #1913577 (superscripts did not end correctly, if preceeded by an inline { block). - Fix SourceForge bug #1761562 (y axis name printed upside down, for log axes in which user specified a high values at the bottom end of the axis) * gri-mode.el: minor fix for emacs-22 and license update to GPL V2 or later. * control: Added libreadline5-dev to Build-Depends. -- Peter S Galbraith Wed, 28 May 2008 20:48:14 -0400 gri (2.12.16-3) unstable; urgency=low * Bug fix: "gri-el: bashism ("&>") in emacsen install script", thanks to Aaron M. Ucko (Closes: #467639). Modernize gri-el byte-compilation. * Bug fix: "gri-el: Relies on gv, but does not recommend it", thanks to Javier Kohen (Closes: #470504). -- Peter S Galbraith Thu, 27 Mar 2008 21:02:21 -0400 gri (2.12.16-2) unstable; urgency=low * gri-el: Prefer emacs22 instead of emacs21. * Bug fix: "gri: Uninstallable, can't be binNMU'ed.", thanks to Kurt Roeckx (Closes: #466434). Rebuild for libnetcdf4. * Bug fix: "Confused by filenames with newlines", thanks to Trent W\. Buck (Closes: #446173). Use "\\.gri\\'" instead of "\\.gri$" in auto-mode-alist. -- Peter S Galbraith Mon, 25 Feb 2008 20:24:45 -0500 gri (2.12.16-1) unstable; urgency=low * Bug fix: "gri: landscape produces interdependent pages", thanks to Bernhard R. Link for outlining the fix (Closes: #130802). * Bug fix: "gri: 'set page landscape' requires 'set page size' first, but it should really default to something reasonable instead (Closes: #434010). -- Peter S Galbraith Fri, 20 Jul 2007 18:52:34 -0400 gri (2.12.15-5) unstable; urgency=low * Bug fix: "gri: FTBFS if built twice in a row", thanks to Bernd Zeimetz (Closes: #424371). -- Peter S Galbraith Wed, 16 May 2007 20:35:23 -0400 gri (2.12.15-4) unstable; urgency=low * Added texlive-latex-base to build dependencies for missing lcircle10 font. -- Peter S Galbraith Thu, 19 Apr 2007 20:03:20 -0400 gri (2.12.15-3) unstable; urgency=low * Build-depend (as well as Build-Depends-Indep) on texlive-generic-recommended instead of tetex-bin. Thanks to Kurt Roeckx (Closes: #419602). -- Peter S Galbraith Wed, 18 Apr 2007 22:06:17 -0400 gri (2.12.15-2) unstable; urgency=low * Build-depend on texlive-generic-recommended instead of tetex-bin. Thanks to Kurt Roeckx (Closes: #419602). -- Peter S Galbraith Mon, 16 Apr 2007 21:13:05 -0400 gri (2.12.15-1) unstable; urgency=low * New upstream release Bug Fixes: - Fix SourceForge bug #1700978 (html concept index mostly broken) - Fix SourceForge bug #1698924 (box plots show missing data) - Fix Debian bug #417217 (will not compile in GCC 4.3) (Closes: #417217) - Fix SourceForge bug #1698116 (poorly-positioned name of RHS y-axis) -- Peter S Galbraith Sat, 14 Apr 2007 22:04:29 -0400 gri (2.12.14-1) unstable; urgency=low * New upstream release Bug Fixes: - Fix SourceForge bug #1630768 (Fix to segfault in clipped images (a bug that may have developed after version 2.13.3)) -- Peter S Galbraith Fri, 19 Jan 2007 23:11:54 -0500 gri (2.12.13-1) unstable; urgency=low * New upstream release Bug Fixes: - Fix SourceForge bug #1591475 (Fix to compile in Solaris CC) - Fix SourceForge bug #1591062 (Fix to compile in OpenBSD) * debian/control: Standards-Version 3.7.2 -- Peter S Galbraith Tue, 7 Nov 2006 18:45:30 -0500 gri (2.12.12-1) unstable; urgency=low * New upstream release Bug Fixes: - Fix SourceForge bug #1523033 (Malloc error) - Fix SourceForge bug #1523032 (`create columns from function' bug, if there is an existing directory called `tmp') Thanks to Steve Cayford (Closes: #378277). - Fix SourceForge bug #1491105 (`set x axis labels' had no affect for log axes (same for y) -- Peter S Galbraith Wed, 19 Jul 2006 02:19:36 -0400 gri (2.12.11-1) unstable; urgency=low * New upstream release Bug Fixes: - Debian Bug fix: "Please update config.* (again)", thanks to Martin Michlmayr (Closes: #357181). - Fix SourceForge bug #1449546 (x axis limits not correctly inferred from `set x grid'; same for y). -- Peter S Galbraith Fri, 24 Mar 2006 21:46:59 -0500 gri (2.12.10-6) unstable; urgency=high * Bug fix: "gri: Please rebuild with current netcdf.", thanks to Daniel Kobras (Closes: #352219). * Set permissions to user writable on debian/changelog for binary-only rebuilds. * Switch to debhelper 4. -- Peter S Galbraith Fri, 10 Feb 2006 11:02:42 -0500 gri (2.12.10-5) unstable; urgency=low * Fix compilation bugs on ia64 and alpha, fourth attempt tested on a Debian ia64 machine. Thanks to Dan Kelley for the patch. (Really closes: #350467, I hope). -- Peter S Galbraith Wed, 1 Feb 2006 19:13:46 -0500 gri (2.12.10-4) unstable; urgency=low * Fix compilation bugs on ia64 and alpha, third try is the charm. Thanks to Dan Kelley for the patch. (Bug also reported by Kurt Roeckx, really closes: #350467). -- Peter S Galbraith Tue, 31 Jan 2006 23:24:18 -0500 gri (2.12.10-3) unstable; urgency=low * Fix compilation bugs on ia64 and alpha, second try. Thanks to Dan Kelley for the patch! (Bug also reported by Kurt Roeckx, Closes: #350467). -- Peter S Galbraith Mon, 30 Jan 2006 20:48:31 -0500 gri (2.12.10-2) unstable; urgency=low * Fix compilation bugs on ia64 and alpha. Thanks to Dan Kelley for the patch! -- Peter S Galbraith Fri, 27 Jan 2006 22:15:08 -0500 gri (2.12.10-1) unstable; urgency=low * New upstream release Bug Fixes: - Fix Debian Bug #348351 (PostScript file contained private information. This was fixed by adding new commandline arguments `-private' and `-no_private', the former of which (the new default) means to not include the user's name, the invocation arguments, or the command-file contents. Thanks to Falk Hueffner for reporting it (Closes: #348351). - Fix SourceForge bug #1285180 (NaN was mishandled. The bug may have arisen in version 2.12.7 or thereabouts.) - Fix SourceForge bug #1217273 (missing some version numbers within docs) - Fix SourceForge bug #1196613 (user-supplied x-axis labels can run offscale) - Fix SourceForge bug #1198341 (x-axis labels incorrectly rotated) - Fix SourceForge bug #1199280 (warning about `malloc' for RPN assignments) - Fix SourceForge bug #1101172 (`gri -help' incorrectly stated meaning of last argument(s)) (Closes: #290101) - Fix SourceForge bug #835711 (`draw gri logo' fails) - Fix SourceForge bug #1098269 (problem compiling on AMD64 machine. Solution provided by Andreas Jochens, a Debian user. This moves a fix into the upstream source, rather than patching in diff.gz) - Fix SourceForge bug #867515 (problem with junk appearing in images.) - Fix SourceForge bug #875881 (problem compiling with gcc 2.95.3 compiler) * debian/control: Standards-Version 3.6.2 without changes. -- Peter S Galbraith Sun, 22 Jan 2006 10:04:07 -0500 gri (2.12.9-3) unstable; urgency=low * Bug fix: "gri(GNU/k*BSD): FTBFS: out of date config.sub/config.guess", thanks to Petr Salinger (Closes: #342414). -- Peter S Galbraith Sat, 14 Jan 2006 16:19:19 -0500 gri (2.12.9-2) unstable; urgency=low * Bug fix: "gri-el: incompatible with new version of gv", thanks to Scott Webster for reporting this (Closes: #296692). -- Peter S Galbraith Tue, 1 Mar 2005 22:38:36 -0500 gri (2.12.9-1) unstable; urgency=low * New upstream release Bug Fixes: - Fix SourceForge bug #1094087 (`set path to' incorrectly parsed colon-separated paths) - Fix SourceForge bug #1085788 (`image *=', `image /=', `image ^=', and `image _=' all gave incorrect results) - Fix SourceForge bug #1084123 (does not compile in fink) - Fix SourceForge bug #676767 (on fink systems, `help' does not work) -- Peter S Galbraith Tue, 4 Jan 2005 20:08:02 -0500 gri (2.12.8-3) unstable; urgency=low * Bug fix: "gri: FTBFS (amd64/gcc-4.0): cast from 'FILE*' to 'int' loses precision", thanks to Andreas Jochens (Closes: #286921). * Remove another DEBUG printout. -- Peter S Galbraith Wed, 22 Dec 2004 19:11:47 -0500 gri (2.12.8-2) unstable; urgency=low * Remove DEBUG printouts. * gri-el: Adapt to new texinfo's "Index of Commands" which includes a line offset number. This fixes Info lookup for gri commands. -- Peter S Galbraith Thu, 16 Dec 2004 20:58:18 -0500 gri (2.12.8-1) unstable; urgency=low * New upstream release Bug Fixes: - Fix SourceForge bug #1019141 (draw arc' ignores the present pen color) - Fix SourceForge bug #997741 (PostScript broken on images with y-axis decreasing, and enclosed by PostScript clipping) - Fix SourceForge bug #978822 (documentation wrong on `set path to') - Fix SourceForge bug #932203 (misplaced labels caused by `set x axis labels') - Fix SourceForge bug #928277 (`draw polygon' should take `cm' and `pt' units) - Fix SourceForge bug #930259 (fix `draw arc's drawing of an extra line; thanks for the fix, Wolfgang Voegeli) - Fix SourceForge bug #923719 (`draw curve overlying' ignored the effect of `set dash') - Fix SourceForge bug #914125 (offpage points in axes were reported as having been drawn by `draw curve') - Fix SourceForge bug #877613 (`help' and other commands using temporary files do not work in OSX/Fink version.) - Fix SourceForge bug #874483 (`state save' doesn't keep track of `dash' settings.) - Fix SourceForge bug #873245 (inaccurate times are given in the warnings about slow operations on OSX platform) - Fix SourceForge bug #871477 (the `missing value' feature should not be the default. The solution involved adding a new command `set missing value none', which is now the default. * debian/gri-el.emacsen-install: Log byte compilation in temporary file in /tmp instead of e.g. /usr/share/emacs21/site-lisp/gri-mode.CompilationLog.gz -- Peter S Galbraith Thu, 25 Nov 2004 11:22:34 -0500 gri (2.12.7-1) unstable; urgency=low * New upstream release Bug Fixes: - Fix Debian bug #208589 (did not build on some Debian platforms because it was based on an old version of `automake' (Closes: #208589). -- Peter S Galbraith Wed, 3 Sep 2003 20:12:25 -0400 gri (2.12.6-1) unstable; urgency=low * New upstream version New Features: - Add `age' RPN function, for testing file ages. Bug Fixes: - Fix SourceForge bug 773850 (bounding-box is increased by `draw symbol' even if (rectangular) postscript clipping is active.) - Fix SourceForge bug 760130 (Solaris cannot compile with `C-l' in Makefile. - Fix SourceForge bug 743134 (bounding box not limited by 'set clip postscript') - Fix SourceForge bug 750561 (during compilation, `make' rebuilds HTML docs even if up-to-date) * debian/control: Standards-Version 3.6.1 without changes. -- Peter S Galbraith Mon, 1 Sep 2003 19:51:32 -0400 gri (2.12.5-1) unstable; urgency=low * New upstream version New Features: - Add hexadecimal colornames (Pen Color) Bug Fixes: - Fix SourceForge bug #739761 (`draw time stamp' named the command-file incorrectly). - Fix SourceForge bug #720607 (the emacs mode looked for html documentation files in an incorrect location on linux/redhat systems) * gri-html-doc.emacsen-startup, gri-el.emacsen-startup: Make sure packages are installed before doing elisp setup. -- Peter S Galbraith Tue, 20 May 2003 10:28:24 -0400 gri (2.12.4-2) unstable; urgency=low * Really work around compilation bug on m68k architecture by compiling rpncalc without optimization on m68k(closes: #183912) -- Peter S Galbraith Fri, 11 Apr 2003 20:55:14 -0400 gri (2.12.4-1) unstable; urgency=low * New upstream release Bug Fixes: - Fix Sourceforge bug #696073 (incorrect handling of \$() syntax) - Fix Sourceforge bug #715884 (mixup on quoted strings) - Fix Sourceforge bug #706202 (page orientation Postscript hint missing) - Fix Sourceforge bug #711354 (program name missing in Postscript hint) - Fix compilation bug on m68k architecture (closes: #183912) -- Peter S Galbraith Sun, 6 Apr 2003 9:40:10 -0500 gri (2.12.3-1) unstable; urgency=low * New upstream release Bug Fixes: - Fix SourceForge bug #685919 (Cannot understand .eps file extension on startup.) -- Peter S Galbraith Sun, 2 Mar 2003 13:56:18 -0500 gri (2.12.2-1) unstable; urgency=low * New upstream version Bug Fixes: - Fix SourceForge bug #675304 (Segmentation fault can occur on `read image pgm' if an image already exists, e.g. created by `convert grid to image'.) - Fix SourceForge bug #647234 (Source file draw.cc will not compile on MAC OS X 10.1.5 at optimization level 2, so drop the level to no optimization, as a temporary measure.) - Fix SourceForge bug #671022 (`flip image x|y' did not flip images correctly, except in special circumstances.) - Fix SourceForge bug #669603 (`skip backward .n.' erroneously skipped forward) - Fix SourceForge bug #667754 (`read image pgm' segfaults on memory if an image has already been created by `convert grid to image') - Fix SourceForge bug #664388 (`read image pgm' fails if an image already exists) - Fix SourceForge bug #654129 (ignoring ~/.grirc file) - Fix SourceForge bug #654127 (configure scripts are broken) - Fix SourceForge bug #649132 (removed unused LDFLAGS phrase from Makefile) - Fix SourceForge bug #649134 (tweak gcc optimization) - Fix SourceForge bug #649136 (examples 8 and 9 broken) - Fix SourceForge bug #641406 (RPN too aggressive on missing values) -- Peter S Galbraith Mon, 27 Jan 2003 15:01:03 -0500 gri (2.12.1-2) unstable; urgency=low * Create new gri-el package for Emacs major-mode instead of bundling it with the main gri package. * debian/control: Standards-Version 3.5.7, but I haven't done the optimization depending on DEB_BUILD_OPTIONS yet. -- Peter S Galbraith Fri, 18 Oct 2002 13:36:48 -0400 gri (2.12.1-1) unstable; urgency=low * New upstream version New Features: - n/a Bug Fixes: - Fix SourceForge bug #613075 (sin, cos, tan problem in RPN). -- Peter S Galbraith Wed, 25 Sep 2002 11:04:30 -0400 gri (2.12.0-2) unstable; urgency=low * gri-html-doc.preinst: recent versions of md5sum add a hyphen in the output, which leads to an error in my preinst test for an old config file. Patch from russell@coker.com.au (closes: #161154). -- Peter S Galbraith Tue, 17 Sep 2002 09:32:52 -0400 gri (2.12.0-1) unstable; urgency=low * New upstream version New Features: - Add 'sed' RPN operator, to work on strings. - Add 'skewness and 'kurtosis' RPN operators, to work on columns. Bug Fixes: - Fix SourceForge bug #606303 (web pages were not valid html) - Fix SourceForge bug #593958 (missing-values should be ignored if they occur as intermediate results in RPN calculations) - Fix SourceForge bug #600395 (won't compile with recently released version (3.2) of GCC compiler.) - Fix SourceForge bug #600233 (segfaults if some RPN operators are used on stacks that do not contain enough entries). -- Peter S Galbraith Fri, 6 Sep 2002 20:08:21 -0400 gri (2.10.1-1) unstable; urgency=low * New upstream version Bug Fixes: - Fix Sourceforge bug #562911 (won't build with gcc-3.0; closes: #148572) - Fix SourceForge bug #558463 (in HTML docs, the ``press'' margin tag was misdirected; this was patched into the 2.10.0-1 Debian package) - Fix SourceForge bug #562014 (won't build if 'popt' library is unavailable; closes: #148493). - Fix SourceForge bug #562017 (parser fails with DOS end-of-line) - Fix SourceForge bug #562113 ('new page' postscript error in 'gv' viewer) -- Peter S Galbraith Sat, 1 Jun 2002 10:32:38 -0400 gri (2.10.0-1) unstable; urgency=low * New upstream version New Features: - In the documentation, change the names of some variables to be clearer: `ll_x' is now written `xleft', etc. - Add RPN binary operators 'and', 'or' for logical operations, along with negation operator 'not' - Add 'draw arc' command. - Add 'set x axis labels' and 'set y axis labels' commands. - Permit specification of 'pt' units for 'draw label', 'draw box', 'draw symbol at' and 'draw line from'. - Add 'set clip to curve' command. - Add 'group' and 'end group' commands, in preparation for SVG output. So far these commands do nothing, and are basically just a signal that users should not create commands with these names since Gri will need them soon. - Add ..xinc.. and ..yinc.. builtin variables. - Make the 'open' command accept URLs as filenames. Removed Features: - Remove 'gri -repair old.ps new.ps' - Make the '-chatty' commandline option require a value. Bug Fixes: - Fix SourceForge bug #552009 ('rpn' can segfault if '!=' operator is written as '=!') - Fix SourceForge bug #546109 (bounding box wrong if postscript clipping used) - Fix SourceForge bug #514495 in which 'set clip to curve' failed to handle missing values in the curve. - Fix SourceForge bug #450465 ('create columns from function' was broken). -- Peter S Galbraith Thu, 16 May 2002 11:24:12 -0400 gri (2.8.6-2) unstable; urgency=high * debian/control: added imagemagick, info, gs, gsfonts to Build-Depends. They were in Build-Depends-Indep, but apparently the arch-independent stuff is needlessly built by the autobuilders anyway (closes: #140982). -- Peter S Galbraith Wed, 3 Apr 2002 09:50:14 -0500 gri (2.8.6-1) unstable; urgency=low * New upstream version - Fix SourceForge bug #513002 (minor error in docs for set clip) - Fix SourceForge bug #506592 (HTML docs had misordered indices) - Fix SourceForge bug #506534 (map axes give wrong minutes in negative regions) - Fix SourceForge bug #508088 (gri-mode.el: gv should update, not be relaunched) - Fix SourceForge bug #506490 (-v commandline option returned wrong version number). Note that this was already fixed in Debian release 2.8.5-2. * Various debian directory tweaks merged-in from CVS: * Updated to Standards-Version 3.5.6 (debian/rules uses build-arch and build-indep targets). * debian/rules: Use DH_COMPAT=3 (so that Emacs startup file under /etc/emacs get tagged as conffiles automatically) (closes: #132834, #132840); substitute /debian/tmp by /debian/gri/; * debian/gri.emacsen-install: Edit $(flags) such that XEmacs byte-compilation doesn't load Debian startup files under /etc/emacs. * debian/gri-html-doc.preinst: delete /usr/share/doc/gri-html-doc/html/.dhelp and move potato version of /etc/emacs startup file to .dpkg-old * debian/control: Depends on emacsen-common because of gri-mode install. * debian/gri-html-doc.emacsen-startup: /usr/doc -> /usr/share/doc -- Peter S Galbraith Thu, 7 Feb 2002 16:00:55 -0500 gri (2.8.5-2) unstable; urgency=medium * Gri had a internal version number mismatch, thinking it was version 2.8.4 instead. This confused gri-mode.el, which looked for 2.8.4 and couldn't find it (closes: #130246). -- Peter S Galbraith Mon, 21 Jan 2002 10:12:41 -0500 gri (2.8.5-1) unstable; urgency=low * New upstream bug-fix release: - Fix SourceForge bug #492472 (`inf' rpn operator caused segfault) -- Peter S Galbraith Thu, 13 Dec 2001 10:34:47 -0500 gri (2.8.4-1) unstable; urgency=low * New upstream bug-fix release: - Fix SourceForge bug #467973 (`gri -version' gave wrong version number, breaking the Emacs Gri mode.) - Fix SourceForge bug #468014 (`draw grid' disobeyed pencolor) -- Peter S Galbraith Thu, 4 Oct 2001 14:11:47 -0400 gri (2.8.3-1) unstable; urgency=low * New upstream bug-fix release: - Fix SourceForge bug #462243 (endian problem in Rasterfile images, plus a reading problem in PGM images). -- Peter S Galbraith Mon, 1 Oct 2001 08:53:50 -0400 gri (2.8.2-1) unstable; urgency=low * New upstream bug-fix release: - Really Fix SourceForge bug #454557 when netcdfg-dev present (wouldn't compile with the pre-release version 3.0.1 of the GNU c++ compiler; closes: #111093) -- Peter S Galbraith Mon, 10 Sep 2001 13:10:37 -0400 gri (2.8.1-1) unstable; urgency=low * New upstream bug-fix release: - Fix SourceForge bug #450465 (`create columns from function' was broken). - Fix SourceForge bug #454557 (wouldn't compile with the pre-release version 3.0.1 of the GNU c++ compiler; closes: #111093) -- Peter S Galbraith Thu, 6 Sep 2001 22:26:10 -0400 gri (2.8.0-1) unstable; urgency=low * New upstream version. New command syntax: - Add `unlink' command as a unix-familiar way to delete files. - Add `set page size' command to clip to a given page size. - Add `substr' RPN operator to permit extraction of sub-strings. - Add `default' for the `set x name' and the `set y name' commands. - Add Perl-like ability to put underscores in numerical constants (`.v. = 1_000' and `.v. = 1000' are completely equivalent). Emacs mode: - completes builtin variables and synonyms as well as commands. - "idle-timer help" displays defaults for builtin variables under cursor. - fontification of builtin variables _only_ if spelled correctly. Developer changes: - Add `make source-arch-indep' target in sources. This will build a source tar file in which all the architecture-independent material (documentation in HTML, postscript and Info formats) is pre-made. This makes it easier to install gri on a host that doesn't have TeX and ImageMagick installed. * Move gri-html-doc and gri-ps-doc documentation files to /usr/share/doc/gri * Complies with Standards-Version: 3.5.5 without changes. -- Peter S Galbraith Mon, 23 Jul 2001 20:54:15 -0400 gri (2.6.4-1) unstable; urgency=low * New upstream bug-fix release: - Fix SourceForge bug #435603 (`set dash' produced broken PostScript) - Fix SourceForge bug #435688 (`polar' column type not supported) * Close bug I submitted to keep 2.6.3 from entering testing because of #435603 above (closes: #103366). -- Peter S Galbraith Tue, 3 Jul 2001 15:05:42 -0400 gri (2.6.3-1) unstable; urgency=low * New upstream bug-fix release: - Use gri-mode.el from the 2.7.x stream. - Fix SourceForge bug #433250 (`draw symbol' ignored dashing state sometimes) - Fix SourceForge bug #432549 (contours sometimes unlabelled) - Tweak internal coding for compilation on AIX compilers. -- Peter S Galbraith Fri, 22 Jun 2001 09:15:27 -0400 gri (2.6.2-1) unstable; urgency=low * New upstream version (bug fixes only). - Fix SourceForge bug #425174 (synonym interpolation broken on e.g. show "[\syn]", i.e. if ended with a closing square-brace) - Fix SourceForge bug #425175 (`while !..eof..' acted ignored end of file) -- Peter S Galbraith Sat, 19 May 2001 21:46:10 -0400 gri (2.6.1-1) unstable; urgency=low * New upstream version (bug fixes only). - Fix SourceForge bug #420499 (gri-mode.el compatibility issues with emacs-21; Mostly bad old code.) - Fix SourceForge bug #421076 (byte-compiled gri-mode.el has broken IMenu support; Affects Debian package.) - Fix SourceForge bug #419599 (wouldn't compile under GNU g++ 3.x compiler) - Fix SourceForge bug #418065 (documentation mentions back-tic notation, which is not available) - Fix SourceForge bug #417333 (vague error message `RPN string operator') - Fix SourceForge bug #415277 (make fails on MSDOS) - Fix SourceForge bug #415149 (`file.cc' parse error on MSDOS) - Fix SourceForge bug #414520 (`draw symbol ... at' should automatically produces axes unless the location is in `cm' coordinates) - Fix SourceForge bug #414010 (items in the html concept index were in an odd order) - Fix SourceForge bug #413986 (`~username' was broken in `open') - Fix SourceForge bug #411904 (`/' was ugly in math mode) -- Peter S Galbraith Fri, 11 May 2001 10:48:25 -0400 gri (2.6.0-1) unstable; urgency=low * New upstream version. - Permit `rewind' to take a filename. - Make `open' set `\.return_value.' to the full pathname of the file that was opened. - Add `set path' command. - Remove functioning of `GRIINPUTS' environment variable, since this is more cleanly handled with the newly added `set path to' command. - Remove `\.awk.' synonym, which was deemed to be unhelpful. - Change the format of images in the PostScript output file, as a workaround for a bug in the `ps2pdf' program. - Add ``ampersand'' (`\&' and `\&&') syntax to permit newcommands to look up the name and nesting level of changeable arguments. - Add ``at-sign'' (`@') syntax for aliases. - Add ability to embed newlines in `show' commands with the `\<<' sequence. - Add ability to embed TAB characters in `show' commands with the `\>>'sequence. - Make various `read' commands able to decode synonyms as well as variables and simple numbers. - Add `strlen' RPN operator. - Add `default' option to `set x format' and `set y format' commands. - Add `new postscript file' command. - No longer remove comments from data lines that are read. - Let newcommands have changeable arguments. - Remove `-s' as an abbreviation for the commandline option `-superuser'. - Add commandline option `-output PS_file_name'. - Add `assert' command. - Add `sleep' command. - Permit indexing of synonym words with variables, in addition to constants. - Add `set colorname' command. - Add `source' command. - Add RPN operators `wordc' and `wordv' for accessing the words in the present Gri command. - Add RPN operators `argc' and `argv' for accessing the command-line arguments. - Add automatic support for gzipped compressed data files. - Add two new RPN operators, `file_exists' and `directory_exists'. - Reorganize parts of manual (e.g. changing the section about the Emacs `gri-mode.el' into a chapter, with screenshots). - Improve the HTML form of the manual (e.g. color-code the Gri syntax in examples, provide access to all the indices, use PNG format, etc.). - Numerous gri-mode.el enhancements (including new pull-down menu listing all Gri commands). * Use debhelper. * Info files have .info suffix now. * gri-html-doc suggests doc-base (otherwise it's not registered). * gri.emacsen-remove: delete ${destination}/gri-mode.CompilationLog.gz * gri.postinst: delete obsolete gri-mode.CompilationLog.gz files from prior versions. * Updated to Standards-Version 3.5.2 with DEB_BUILD_OPTIONS variable (Default build no longer complies with debugging symbols, -g) -- Peter S Galbraith Fri, 30 Mar 2001 14:27:29 -0500 gri (2.4.2-1) frozen unstable; urgency=low * New upstream version. ** Bug Fixes Only; No new features ** - Remove bug in which `convert grid to image' produced incorrect images, visible as a patchy appearance with coarse grids. - Remove bug in which `convert image to grid' failed to take note of the gri minimum and maximum, so that contouring of the grid was not possible for grids created from images. -- Peter S Galbraith Mon, 27 Mar 2000 10:46:36 -0500 gri (2.4.0-1) unstable; urgency=low * New upstream version. Introduces "set input data separator" to use TABs as column separators. We can now mix numerical columns with character strings in read commands. * Make gri-html-doc package redefine gri*WWW-page Emacs variable. * Quiet the byte-compiler in /usr/lib/emacsen-common/packages/install/gri * Updated to Standards-Version 3.1.1 with Build-Depends. -- Peter S Galbraith Wed, 5 Jan 2000 15:17:53 -0500 gri (2.2.4-2) unstable; urgency=low * Upstream source tar file changed without new version number to fix small buglet in HTML docs. * Fixed bug in description of gri-ps-doc package -- Peter S Galbraith Sat, 6 Nov 1999 21:25:57 -0500 gri (2.2.4-1) unstable; urgency=low * New upstream release. Includes support for iso-latin characters * Split package into gri, gri-ps-doc and gri-html-doc * Update to policy 3.0.0 (FHS issue of /usr/share/doc, etc) -- Peter S Galbraith Wed, 20 Oct 1999 14:39:19 -0400 gri (2.2.1-2) unstable; urgency=low * i386 package recompiled against g++ version 2.91.66-0slink2 -- Peter S Galbraith Mon, 05 May 1999 12:05:00 -0500 gri (2.2.1-1) unstable; urgency=low * Edited upstream configure script to enable netCDF compilation * Small upstream tweak to doc/Makefile * new license: GPL! -- Peter S Galbraith Mon, 29 Jan 1999 14:23:00 -0500 gri (2.2.0-1) unstable; urgency=low * Initial Release. -- Peter S Galbraith Mon, 22 Jan 1999 18:45:05 -0500 debian/Makefile.am0000644000000000000000000000074211403430371011221 0ustar ## Process this file with automake to produce Makefile.in # gri: src/debian/Makefile.am #srcdir = @srcdir@ #VPATH = @srcdir@ EXTRA_DIST = rules compat changelog control control.unofficial\ copyright.template gri.doc-base\ gri-el.emacsen-install gri-el.emacsen-remove\ gri-el.emacsen-startup\ gri-html-doc.doc-base gri-html-doc.emacsen-startup\ gri-html-doc.preinst\ gri.man gri.postinst gri-pdf-doc.doc-base\ README.Debian.template\ README.Debian.unofficial source/format debian/README.Debian.unofficial0000644000000000000000000000060511310756313013346 0ustar gri --- Comments regarding the Package: THIS PACKAGE IS NOT PART OF DEBIAN, but it is created from the same source, .diff and .dsc files. This package exists to live alongside a newer release of the regular gri package, providing backwards compatibility for your old code that may depend on this version of Gri. Peter S Galbraith , Sun, 10 Jan 1999 12:45:05 -0500 debian/Makefile.in0000644000000000000000000002112011605066212011226 0ustar # Makefile.in generated by automake 1.10 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # gri: src/debian/Makefile.am #srcdir = @srcdir@ #VPATH = @srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = debian DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_CXXFLAGS = @AM_CXXFLAGS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ EXTRA_CFLAGS_TEMPLATE = @EXTRA_CFLAGS_TEMPLATE@ GREP = @GREP@ HAVE_CONVERT = @HAVE_CONVERT@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PROGS = @PROGS@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = rules compat changelog control control.unofficial\ copyright.template gri.doc-base\ gri-el.emacsen-install gri-el.emacsen-remove\ gri-el.emacsen-startup\ gri-html-doc.doc-base gri-html-doc.emacsen-startup\ gri-html-doc.preinst\ gri.man gri.postinst gri-pdf-doc.doc-base\ README.Debian.template\ README.Debian.unofficial source/format all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu debian/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu debian/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: debian/gri-pdf-doc.doc-base0000644000000000000000000000037211355100034012652 0ustar Document: gri-pdf-doc Title: Gri language for scientific graphics manual Author: Dan E. Kelley Abstract: Manual (PDF) for Gri, a language for scientific graphics Section: Science/Data Analysis Format: postscript Files: /usr/share/doc/gri/gri.pdf.gz debian/gri.man0000644000000000000000000001307411355100034010441 0ustar .TH GRI 1 .SH NAME gri \- scientific graphics language .SH SYNOPSIS .B gri [ .B OPTIONS ] [ .I CommandFile [ .I PostScriptFile ]] .SH DESCRIPTION Gri is a programming language for scientific graphics. It can make x-y graphs, contour-graphs, and image graphs. In addition, Gri has a full suite of low-level graphical elements and sufficient programming capabilities (loops, subroutines, etc) to permit complex customization. Gri is not point-click. In some ways it is analogous to TeX. Extensive power rewards tolerance of a modest learning curve. .SH OPTIONS If a command file (CommandFile) is named, commands are read from that file; otherwise they are read from the keyboard. If a command file is named, then a file in which to store the PostScript output may also be named; otherwise it is stored in a file named by substituting the .ps extension instead of .gri in CommandFile. If no command file is named, the output is named gri-00.ps (or gri-01.ps if gri-00.ps exists, etc). There are 3 special forms that do no graphing: `gri \fB\-creator\fR postscript_file' .IP Extracts the Gri commands that created the Gri PostScript file. .PP `gri \fB\-help\fR' or `gri \fB\-h\fR' .IP Prints this help message. .PP `gri \fB\-version\fR' or `gri \fB\-v\fR' .IP Prints the version number of Gri. .PP In normal usage, where drawing is expected, Gri takes these options: \fB\-batch\fR or \fB\-b\fR .IP Stops printing of prompts and hints. .HP \fB\-chatty[N]\fR or \fB\-c[N]\fR .IP Let gri print info messages .HP \fB\-debug\fR or \fB\-d\fR .IP Turns debugging on (sets variable ..debug.. to value 1). .HP \fB\-warn_offpage\fR .IP Warn if any item is drawn far off a 8.5x11 inch page. (This is the default.) .HP \fB\-nowarn_offpage\fR .IP Don't warn if any item is drawn far off a 8.5x11 inch page .HP \fB\-directory\fR pathname .IP Specifies the directory where Gri looks for startup files; otherwise it looks in /opt/gri/lib or at whatever directory is defined in configure shellscript, at compile time. .HP \fB\-directory_default\fR .IP Reports directory where gri.cmd should be found, if not supplied by \fB\-directory\fR. .HP \fB\-no_bounding_box\fR .IP Make bounding-box be full page. .HP \fB\-no_expecting\fR .IP Prevent warning message if `expecting version .n.' command is missing. .HP \fB\-no_startup_message\fR .IP Stops printing of startup message. .HP \fB\-publication\fR or \fB\-p\fR .IP Sets the builtin variable ..publication.. to 1; normally it is 0. One might use if statements (`if !..publication..' ...) on drafts. .HP \fB\-superuser\fR or \fB\-s\fR .IP Used only by Gri programmers (who can check the value with the C function `superuser()'.) An optional value can be supplied without spaces (e.g. `-s2') to set the debugging level. Flags are listed below; add flags to get several actions at once .IP 1: print cmdline before/after substituting synonyms 2: print cmdline before/after substituting rpn expressions 4: print new commands being defined 8: print system commands and `open "... | "' commands before .IP they are passed to the system .IP 128: for author's use only 256: for author's use only .IP Note that all flags are equal to 2 raised to an integer power. Since the flag values are detected by a bitwise OR, you can combine flags by adding; thus specifying a flag of 5 yields flags 1 and 4 together; specifying 15 yields flags 1, 2, 4 and 8. .HP \fB\-trace\fR or \fB\-t\fR .IP Makes Gri print out command lines as they are executed. .HP \fB\-true\fR or \fB\-y\fR .IP Makes Gri think the answer to all `query's is RETURN. .SH "SEE ALSO" For more information, please consult online .I info and .I html manuals. The .I info manual included in the main .B gri Debian package is normally accessed by typing .B info gri (or from within Emacs' own info). There are also .I reference cards in postscript format. See .B /usr/share/doc/gri/*refcard.ps The Debian package .B gri-html-doc provides the .I html manual, which when installed is then located at .IP .B /usr/share/doc/gri/html/index.html .PP or, if you have a web server installed, at .IP .B http://localhost/doc/gri/html/index.html .PP The HTML manual is accessible via .I dwww and .I dhelp Debian help interfaces. The .I html FAQ is located at .IP .B /usr/share/doc/gri/html/FAQ.html .PP The .B gri-html-doc package also includes .I examples in .B /usr/share/doc/gri/examples/ which are described in the manual, and are included as a quick start primer. The .B gri-ps-doc package is a .I PostScript version of the manual suitable for printing. .SH GRI_MERGE AND GRI_UNPAGE COMMANDS Two Perl scripts are provided with Gri to manipulate the PostScript output. .I gri_merge is used to merge multiple Gri output files into a single PostScript file. See .B gri_merge -h and its man page for usage information. .I gri_unpage is used is split a multi-page Gri output file (in which the .B new page command was used) into separate PostScript files, one for each page. See their respective man pages. .SH EMACS SUPPORT An .I emacs mode is provided with Gri. It is documented in the gri Info or HTML manual. The mode is installed automatically in Debian by the elisp file: .B /etc/emacs/site-start.d/50gri-el.el The emacs mode itself is .I gri-mode.el and is installed on Debian as .B /usr/share/emacs/site-lisp/gri-mode.el Byte-compiled versions of this file are produced for every flavour of Emacs that is installed, and are located in places like .B /usr/share/emacs/23.1/site-lisp/gri-el/gri-mode.elc .SH "SEE ALSO" .B gri_merge(1), gri_unpage(1) .SH AUTHOR Gri (c) 1991-2010 Dan Kelley This manual page by Peter S Galbraith . debian/gri.doc-base0000644000000000000000000000042311310756313011345 0ustar Document: gri Title: Gri language for scientific graphics manual Author: Dan E. Kelley Abstract: Manual (info format) for Gri, a language for scientific graphics Section: Science/Data Analysis Format: info Index: /usr/share/info/gri.info.gz Files: /usr/share/info/gri.info* debian/gri-html-doc.doc-base0000644000000000000000000000044411310756313013055 0ustar Document: gri-html-doc Title: Gri language for scientific graphics manual Author: Dan E. Kelley Abstract: Manual (in HTML) for Gri, a language for scientific graphics Section: Science/Data Analysis Format: HTML Index: /usr/share/doc/gri/html/index.html Files: /usr/share/doc/gri/html/*.html debian/control0000644000000000000000000000611212227061420010565 0ustar Source: gri Section: science Priority: optional Maintainer: Peter S Galbraith Build-Depends: debhelper (>= 7), libnetcdf-dev, libreadline-dev, texlive-latex-base, texlive-generic-recommended, texinfo, imagemagick, info, ghostscript, gsfonts Homepage: http://gri.sourceforge.net/ Standards-Version: 3.8.4 Package: gri Section: science Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, dpkg (>= 1.15.4) | install-info, perl Suggests: gri-html-doc, gri-pdf-doc, gri-el, gv Description: a language for scientific illustration Gri is an open-source language for scientific graphics programming. It is command-driven, as opposed to point/click. Some users consider Gri similar to LaTeX, since both provide extensive power as a reward for tolerating a learning curve. The output is industry-standard PostScript as output, suitable for inclusion in other documents. . Gri can make x-y graphs, contour graphs, and image graphs. Fine control is provided over all aspects of drawing, e.g. line widths, colors, fonts, etc. Greek letters and mathematical symbols are available in a TeX-like syntax. . Folks who write 1000-line Gri scripts usually start with something as simple as the following: . open file.dat # open a file read columns x * y # read the 1st column as x and the 3rd as y draw curve # draw the data and autoscale the axes . A full manual is also available in HTML (gri-html-doc package), in PDF suitable for printing (gri-pdf-doc package) and on-line by following links from the gri home page: http://gri.sourceforge.net/ Package: gri-el Section: lisp Architecture: all Depends: gri (>= 2.12.1-2), emacs23 | emacsen, ${misc:Depends} Recommends: gv Conflicts: gri (<= 2.12.1-1) Description: Emacs major-mode for gri, a language for scientific graphics Gri is an open-source language for scientific graphics programming. . This is the Emacs major-mode for gri. Package: gri-html-doc Section: doc Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: doc-base Description: HTML manual for gri, a language for scientific graphics Gri is a command-driven application for making x-y graphs, contour-graphs, and image graphs. . This is the Gri manual in HTML format and can be accessed directly via file:/usr/share/doc/gri/html/index.html or http://localhost/doc/gri/html/ or via doc-central, dwww or dhelp interfaces (if you have the doc-base package installed). Note that the manual in info format (without graphics) is included in the gri package itself. This manual is available on the web via: http://gri.sourceforge.net/gridoc/html/ Package: gri-pdf-doc Section: doc Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends} Breaks: gri (<< 2.12.23-2) Replaces: gri (<< 2.12.23-2), gri-ps-doc Description: PostScript manual for gri, a language for scientific graphics Gri is a command-driven application for making x-y graphs, contour-graphs, and image graphs. . This is the Gri manual in PDF format suitable for printing or viewing on-screen. The compressed file is located at /usr/share/doc/gri/gri.pdf.gz debian/control.unofficial0000644000000000000000000000505211310756313012711 0ustar Source: gri Section: science Priority: optional Maintainer: Peter S Galbraith Build-Depends: debhelper, tetex-bin, texinfo, netcdfg-dev Standards-Version: 3.5.6 Package: gri-VSN Architecture: any Depends: ${shlibs:Depends} Conflicts: gri (= VSN), gri-VSNstatic Description: a language for scientific illustration (without extras). This is not an official Debian package. . Gri is an open-source language for scientific graphics programming. It is command-driven, as opposed to point/click. Some users consider Gri similar to LaTeX, since both provide extensive power as a reward for tolerating a learning curve. The output is industry-standard PostScript as output, suitable for inclusion in other documents. . Gri can make x-y graphs, contour graphs, and image graphs. Fine control is provided over all aspects of drawing, e.g. line widths, colors, fonts, etc. Greek letters and mathematical symbols are available in a TeX-like syntax. . This version-specific package exists to live alongside a newer release of the regular gri package, thus providing backwards compatibility for your old code that may depend on this version of Gri. To distinguish this package from the regular `gri' package, it is named as `gri-VERSION', e.g. gri-VSN. . This package does not contain an Info manual. Install the regular gri package to get that. Package: gri-VSNstatic Architecture: any Depends: ${shlibs:Depends} Conflicts: gri (= VSN), gri-VSN Description: a language for scientific illustration (without extras). This is not an official Debian package. . Gri is an open-source language for scientific graphics programming. It is command-driven, as opposed to point/click. Some users consider Gri similar to LaTeX, since both provide extensive power as a reward for tolerating a learning curve. The output is industry-standard PostScript as output, suitable for inclusion in other documents. . Gri can make x-y graphs, contour graphs, and image graphs. Fine control is provided over all aspects of drawing, e.g. line widths, colors, fonts, etc. Greek letters and mathematical symbols are available in a TeX-like syntax. . This statically compiled version-specific package exists to live alongside a newer release of the regular gri package, thus providing backwards compatibility for your old code that may depend on this version of Gri. To distinguish this package from the regular `gri' package, it is named as `gri-VERSIONstatic', e.g. gri-VSNstatic. . This package does not contain an Info manual. Install the regular gri package to get that. debian/gri-html-doc.emacsen-startup0000644000000000000000000000031011310756313014503 0ustar (if (not (file-exists-p "/usr/share/doc/gri/html/index.html")) (message "Package gri-htnl-doc is not installed. Skipping setup.") (setq gri*WWW-page "file:/usr/share/doc/gri/html/index.html")) debian/gri-el.emacsen-install0000644000000000000000000000241411310756313013347 0ustar #!/bin/sh # # emacsen install script for the gri package # - # This script is installed by the Gri package `rules' file to # /usr/lib/emacsen-common/packages/install/gri # It is run by Gri package `postinst' which calls # /usr/lib/emacsen-common/emacs-package-install gri # The Gri package `postinst' is installed as /var/lib/dpkg/info/gri.postinst set -e flavour=$1 package=gri files="gri-mode.el" ELCDIR=/usr/share/${flavour}/site-lisp/gri-el flags="-q --no-site-file -no-site-file --batch -l path.el -f batch-byte-compile" LOG=`tempfile -pelc_ -s.log -m644` if [ ${flavour} != emacs ] then echo install/${package}: Handling ${flavour}, logged in ${LOG} # link the source .el files into the ELCDIR directory install -c -m 0755 -d ${ELCDIR} cd ${ELCDIR} for i in $files do ln -fs /usr/share/emacs/site-lisp/gri-el/$i done # Byte-compile cat << EOF > path.el (setq load-path (cons "." load-path) byte-compile-warnings nil) EOF echo ${flavour} ${flags} ${files} >> ${LOG} ${flavour} ${flags} ${files} >> ${LOG} 2>&1 rm -f path.el egrep -s -e "While compiling|\*\*" ${LOG} || /bin/true echo install/${package}: Deleting ${LOG} rm -f ${LOG} else echo install/${package}: Ignoring emacsen flavour ${flavour} fi exit 0;