--- xfig-3.2.5.b.orig/debian/xfig66x62cmap.xpm +++ xfig-3.2.5.b/debian/xfig66x62cmap.xpm @@ -0,0 +1,75 @@ +/* XPM */ +static char *xfig2[] = { +/* width height num_colors chars_per_pixel */ +" 66 62 6 1", +/* colors */ +". c none s mask", +"# c #000000", +"a c #ffffff", +"b c #99cc33", +"c c #996633", +"d c #009900", +/* pixels */ +"..................................................................", +".......############...........................##..................", +".......#aaaaaaa##a#.........................##b##.................", +".......##a####a##a#....####................#bbbbb#................", +"........#a####a####.####aa#...............##bbbbbb#...............", +"........#a##a###aa###aaa###..............#bbbbbbbb#...............", +"........#aaaa#.##a##a###a#...............#bbbbbbbbb#..............", +"........#a##a#..#a##a###a#.............##bbbbbbbbbb#..............", +"........#a####..#a###aaa##.............#bbbbbbbbbbb#..............", +".......##a##...##a###a####............#bbbbbbbbbbbb#..............", +".......#aaa#...#aaa##aaaa##...........#bbbbbbbbbbb#....##.........", +"...###.#####...#####a####a#..........#bbbbbbbbbbbb#...#bb##.......", +"...#cc###..........#a####a#..........#bbbbbbbbbbbb#..#bbbbb###....", +"...#cccc##.........##aaaa##..........#bbbbbbb#bbbb###bbbbbbbb#....", +"...#cccccc####......######........###bbbbbbb#bbbbbbbbbbbbbbbbb##..", +"...##ccccccccc####.......#########ccc#bbbbbb#bbbbbbbbbbbbbbbbbb##.", +"....###ccccccccccc#######ccccccccccc##bbbbb#bbbbbbbbbbb#bbbbbbbb##", +".......####ccccccccccccccccccccc####bbbbb##bbbbbbbb#b##bbbbbbbbbb#", +"...........####ccccc###ccccc######bbbb#bbbbbbbbb##bbbbbbbbbbbbbbb#", +"...............######d#########bbbbbb#d#bbb####bbbbbbbbbbbbbbbbbb#", +"...................#dd#...###bbbbbbb#b#b##bbbbbbbbbbbbbbbbbbbbbbb#", +"..................##d#....#bbbbbbbbbbb#bbb#bbbbbbbbbbbbbbbbbbbbbb#", +"..................#dd#....#bbbbbbb##bbb#bbb#bbbbbbbbbbbbbbbbbbbb#.", +".................##dd#....#bbbbbb#bbbbb#bbbb#bbbbbbb#####bbbbbb#..", +"................#ddd#....#bbbbb##bbbbbb#bbbbb#bbbbb#....#bbbbb##..", +"...............#dddd#...#bbbbbbbbbbbbbb#bbbbbbbbbbb#.....#bbbb#...", +"...............#ddd#...#bbbbbbbbbbbbbbb#bbbbbb##bbbb###..#bb###...", +"..............#dddd#..#bbbbbbbbbb###bbbbbbbbbbb#bbbbbbb#..##......", +"..............#dddd#..#bbbbbbb###...#bb#bbbbbbbb#bbbbbbb#.........", +".............#ddddd#..##bbbbbb#...###bb#bbbbbbbb#bbbbbbb#.........", +"............#dddddd#...#######...#bbbbb#bbbbbbbbb#bbbbbbb#........", +"...........#dddddddd#...........#bbbbb#bbbbbbbbbb#bbbbbbb#........", +"..........#ddddddddd#.........##bbbbbb#bbbbbbbbbbbbbbbbbbb#.......", +"..........#dddddddddd#.......#bbbbbbbb#bbbbbbbbbbb#bbbbbbbb#......", +".........#ddddddddddd#.......#bbbbbbb#bbbbbbbbbbbbbbbbbbbbb#......", +"........#ddddddddddddd#......#bbbbbb#bbbb##bbbbbbbb#bbbbbbb#......", +".......#dddddddddddddd#.....#bbbbbb#bbbb#..#bbbbbbb#bbbbbbbb#.....", +".......#ddddddddddddddd#....#bbbbbbbbbb#...#bbbbbbb#bbbbbbbb#.....", +"......#ddddd#dddddddddd#...##bbbbbbbbbb#..#bbbbbbbb#bbbbbbbb#.....", +"......#dddd#dddddddddddd#..#bbbbbbbbbbb#..#bbbbbbbbbbbbbbbbb#.....", +".....#dddddddddddddddddd#..#bbbbbbbbbbb#.#bbbbbbbbbb#bbbbbbb#.....", +".....#dddd#ddddddddddddd#..#bbbbbbbbbb#..#bbbbbbbbbbbbbbbbbb#.....", +"....#ddddddddddddddddddd#..#bbbbbbbbb#...#bbbbbbbbbb#bbbbbbb#.....", +"....#dddd#ddddddddddddddd#.#bbbbbbbb#....#bbbbbbbbbb#bbbbbbb#.....", +"...#ddddddddddddddddddddd#..#bbbbb##.....#bbbbbbbbbbbbbbbbbb#.....", +"...#ddddd#ddddddddddddddd#...#####.......#bbbbbbbbbbbbbbbbbb#.....", +"...#ddddddddddddddddddddd#...............#bbbbbbbbbbbbbbbbb#......", +"..#dddddd#dddddddddddddddd#..............#bbbbbbbbbbbbbbbbb#......", +"..#ddddddddddddddddddddddd#..............#bbbbbbbbbbbbbbbb##......", +"..#ddddddd#ddddddddddddddd#...............#bbbbbbbbbbbbbbb#.......", +"...#dddddddddddddddddddddd#...............##bbbbbbbbbbbbbb#.......", +"...#dddddddddddddddddddddd#................#bbbbbbbbbbbbb#........", +"...#ddddddddd##dddddddddd#..................#bbbbbbbbbbb##........", +"...#dddddddd#dd#ddddddddd#..................##bbbbbbbbb#..........", +"....#ddddddd#dd#dddddddd#.....................##bbbbbb#...........", +"....#dddddddd##dddddddd#.......................#bbbbb##...........", +".....#dddddddddddddddd#.........................#bbb##............", +"......#dddddddddddddd##..........................###..............", +".......#ddddddddddd###............................................", +"........###dddd####...............................................", +"..........######..................................................", +".................................................................." +}; --- xfig-3.2.5.b.orig/debian/xfig32x32cmap.xpm +++ xfig-3.2.5.b/debian/xfig32x32cmap.xpm @@ -0,0 +1,51 @@ +/* XPM */ +static char *xfig2[] = { +/* width height num_colors chars_per_pixel */ +" 32 32 12 1", +/* colors */ +". c none", +"# c #000000", +"a c #00ff00", +"b c #ffff00", +"c c #7f7f00", +"d c #999999", +"e c #4c4c4c", +"f c #666667", +"g c #333333", +"h c #191919", +"i c #007f00", +"j c #7f0000", +/* pixels */ +"................................", +".....................#..........", +".....................####.......", +"....................#aab#.......", +"...................#cbada#......", +"..................#cbaabce##....", +".##...............#aaddac#fcef..", +"#ggh##...........#cbba#biecaaig.", +"#hjjjjgg#..#ggeeghcabiabbadabbcg", +".#g#hjjjjhjgjjjhheadccbaadcababc", +"....###ggh#jhhhecbicaafcca#aadba", +".....#..#hg#eeabaccifaabbbabbada", +"........hiedfab#caafbcdadafcdbaf", +".......gii#eacacbbafadcbaefeabi#", +"......#iiefcbdbafaacbdacbcefec#.", +"......giieecaaceegdcbadcabbi#...", +".....giiigfeeeffabcaabacfada#...", +"....giiiiifd#dfcdbiabaddabadc#..", +"...#hiiiiig###caac#bcabaacbaa#..", +"...hiiiiiiifdecbaaaffcdbdcbbbi#.", +"..giihiiiiig#iadbbcf#caaacadac#.", +".#iiiiiiiiihfeabdaaeebabbaadbf..", +".giiiiiiiiiiecbabc##eabaacbaaf#.", +"#hiiiiiiiiiie##c##.#cadddadbac..", +"giiiiiiiiiii#..#...#ibbaababc#..", +"#iiiiiiiiiii#.......#ababdabi#..", +"#giiiiiiiiiih.......#idbbaba#...", +".hiiiihiiiiie........#caaab#....", +".eiiiihiiiig..........#ibd#.....", +"..giiiiiiihf...........###......", +"...ghiihgef.....................", +"................................" +}; --- xfig-3.2.5.b.orig/debian/dirs +++ xfig-3.2.5.b/debian/dirs @@ -0,0 +1,6 @@ +usr/lib +usr/share/doc +etc/X11/ja_JP.eucJP/app-defaults +etc/X11/ko_KR.eucKR/app-defaults +usr/share/pixmaps +usr/share/applications --- xfig-3.2.5.b.orig/debian/xfig-doc.preinst +++ xfig-3.2.5.b/debian/xfig-doc.preinst @@ -0,0 +1,52 @@ +#! /bin/sh +# preinst script for xfig-doc +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + # + # Remove left over doc-base file with old ID xfig before the + # new one is installed: + # + for a in /usr/lib/menu/doc-base-xfig \ + /usr/share/doc-base/xfig \ + /var/lib/doc-base/info/xfig.list \ + /var/lib/doc-base/info/xfig.status \ + /usr/doc/xfig-doc/html/.dhelp \ + /usr/share/doc/xfig-doc/html/.dhelp + do + if [ -f $a ] + then + rm -f $a + fi + done + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- xfig-3.2.5.b.orig/debian/xfig-www-browser.1 +++ xfig-3.2.5.b/debian/xfig-www-browser.1 @@ -0,0 +1,133 @@ +.\" Copyright (c) 1999-2003 Roland Rosenfeld +.\" +.\" $Id: xfig-www-browser.1,v 1.9 2004-02-20 18:55:09 roland Exp $ +.\" +.\" This program is free software; you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation; either version 2 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. +.\" +.\" 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.,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +.\" +.TH XFIG-WWW-BROWSER 1 "DECEMBER 2003" "Debian Project" "Debian Users Manual" +.SH NAME +xfig-www-browser \- display a HTML page using a web browser under X11 +.SH SYNOPSIS +.B xfig-www-browser +.I file.html +.SH DESCRIPTION +.B xfig-www-browser +is a little shell script, which tries to find out which web browsers +you have installed on your system and then starts them. +.B xfig-www-browser +tries the following browsers with descending priority: +.IP - 3 +.BR mozilla (1) +.IP - 3 +.BR mozilla-firebird (1) +.IP - 3 +.BR epiphany +.IP - 3 +.BR galeon (1) +.IP - 3 +.B netscape +.IP - 3 +.B light (1) +.IP - 3 +.B skipstone (1) +.IP - 3 +.B opera (1) +.IP - 3 +.BR konqueror (1) +.IP - 3 +.BR dillo (1x) +.IP - 3 +.BR chimera (1x) +.IP - 3 +.B kdehelp +.IP - 3 +.BR gzilla (1) +.IP - 3 +.BR arena (1) +.IP - 3 +.BR gnome-help-browser (1) +.IP - 3 +.BR chimera2 (1x) +.IP - 3 +.BR amaya (1) +.IP - 3 +.BR links (1) +.IP - 3 +.BR w3m (1) +.IP - 3 +.BR lynx (1) +.PP +If the environment variable +.B BROWSER +is set, this is used with highest priority. If your browser needs the +string +.B file: +or something like this in front of the file name, you can define this +in the environment variable +.B FILEPREFIX +like +.RB `` FILEPREFIX=file: ''. +.PP +If a ASCII browser +.RB ( links (1), +.BR lynx (1), +.BR w3m (1), +.BR mmm ) +is chosen, this browser is started in an +.BR x-terminal-emulator (1), +.BR kterm (1x) +or +.BR hanterm (1x) +depending on your +.B LANG +environment variable setting, where `ja*' implies +.BR kterm (1x), +`ko*' implies +.BR hanterm (1x) +and all other settings imply +.BR x-terminal-emulator (1). +.SH ENVIRONMENT +.IP BROWSER +you can define your favorite browser with this variable, it overrides +the priority of the above mentioned browsers. +.IP FILEPREFIX +you can define that your browser needs something like +.RI `` file: '' +as a prefix of the filename. +.IP LANG +This variable decides what X11 terminal emulator should be used. +.SH AUTHOR +Roland Rosenfeld +.SH "SEE ALSO" +.BR amaya (1), +.BR arena (1), +.BR chimera (1x), +.BR chimera2 (1x), +.BR dillo (1x), +.BR gnome-help-browser (1), +.BR gzilla (1), +.BR konqueror (1), +.BR mozilla (1), +.BR mozilla-firebird (1), +.BR opera (1), +.BR skipstone (1), +.BR light (1), +.BR links (1), +.BR lynx (1), +.BR w3m (1), +.BR x-terminal-emulator (1), +.BR kterm (1x), +.BR hanterm (1x), +.BR xfig (1x) --- xfig-3.2.5.b.orig/debian/copyright +++ xfig-3.2.5.b/debian/copyright @@ -0,0 +1,45 @@ +This Debian package was maintained by many different Debian maintainers: +joost witteveen , +D.J. Gregor , +Enrique Zanardi , +Edward Betts +and actually by Roland Rosenfeld . + +Upstream Maintainer: Brian V. Smith + +The upstream source package is available from +http://www.xfig.org/art17.html as +http://downloads.sourceforge.net/mcj/xfig.3.2.5b.full.tar.gz + +Copyright: + + FIG : Facility for Interactive Generation of figures + Copyright (c) 1985-1988 by Supoj Sutanthavibul + Parts Copyright (c) 1989-2007 by Brian V. Smith + Parts Copyright (c) 1991 by Paul King + Parts Copyright (c) 1999-2002 Alexander Durner + Parts Copyright (c) 1989, 1994 X Consortium + Parts Copyright (c) 1995 Jim Daley + Parts Copyright (c) 1990, 1992 Richard Hesketh + Parts Copyright (c) 1987 Christopher A. Kent + Parts Copyright (c) 1993 Alan Richardson + Parts Copyright (c) 1998, 2002 Stephane Mancini + Parts Copyright (c) 1994 Anthony Dekker + Parts Copyright (c) 1990, 1993 David Koblas + Parts Copyright (c) 1992 by Brian Boyter + Parts Copyright (c) 1992 by Dave Hale + Parts Copyright (c) 1992 by James Tough + Parts Copyright (c) 1995 by C. Blanc and C. Schlick + Parts Copyright (c) 1995, 1996 Torsten Martinsen + Parts Copyright (c) 1994 by Bill Taylor + Parts Copyright (c) 1995-2002 by T. Sato + Parts Copyright (c) 2004 by Chris Moller + + Any party obtaining a copy of these files is granted, free of charge, a + full and unrestricted irrevocable, world-wide, paid up, royalty-free, + nonexclusive right and license to deal in this software and documentation + files (the "Software"), including without limitation the rights to use, + copy, modify, merge, publish distribute, sublicense and/or sell copies of + the Software, and to permit persons who receive copies from any such + party to do so, with the only requirement being that the above copyright + and this permission notice remain intact. --- xfig-3.2.5.b.orig/debian/xfig-doc.doc-base +++ xfig-3.2.5.b/debian/xfig-doc.doc-base @@ -0,0 +1,12 @@ +Document: xfig-doc +Title: XFIG Users Manual +Author: T.Sato and Brian V. Smith +Abstract: This manual explains the interactive drawing tool xfig, + which runs under the X Window System. It explains how to start and + use xfig, helps you with some examples and informs you about the + technical issues of this program. +Section: Graphics + +Format: html +Index: /usr/share/doc/xfig/html/index.html +Files: /usr/share/doc/xfig/html/*.html --- xfig-3.2.5.b.orig/debian/control +++ xfig-3.2.5.b/debian/control @@ -0,0 +1,57 @@ +Source: xfig +Section: graphics +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Roland Rosenfeld +Standards-Version: 3.8.3 +Build-Depends: dpatch, dpkg (>= 1.7.2), debhelper (>= 5), libxt-dev, libxpm-dev, libx11-dev, libxi-dev, xutils-dev, xaw3dg-dev (>= 1.5+E-2), libjpeg62-dev, libpng12-dev | libpng-dev +Homepage: http://www-epb.lbl.gov/xfig/ + +Package: xfig +Architecture: any +Depends: ${shlibs:Depends} +Recommends: transfig (>= 1:3.2.5-alpha4-1), xfig-libs +Suggests: gimp, xfig-doc (>= 1:3.2.5-alpha4-1), ghostscript, gsfonts-x11 (>= 0.7), netpbm, spell, cups-client | lpr +Conflicts: xfig-doc (<< 1:3.2.5-alpha4-1), transfig (<< 1:3.2.5-alpha4-1) +Description: Facility for Interactive Generation of figures under X11 + XFig is a menu-driven tool that allows the user to draw and manipulate objects + interactively in an X window. The resulting pictures can be saved, printed + on postscript printers, or converted to a variety of other formats (e.g. to + allow inclusion in LaTeX documents or web pages) using the transfig program. + . + This package contains the xfig program itself. + . + You should think about installing the transfig package to export the graphics + to several common formats. You should also think about installing xfig-doc, + which contains the documentation and xfig-libs, which contains several clip + art libraries. + +Package: xfig-doc +Section: doc +Architecture: all +Suggests: xfig, firefox | abrowser | www-browser, xpdf-reader | pdf-viewer +Description: XFig on-line documentation and examples + XFig is a menu-driven tool that allows the user to draw and manipulate objects + interactively in an X window. The resulting pictures can be saved, printed + on postscript printers, or converted to a variety of other formats (e.g. to + allow inclusion in LaTeX documents or web pages) using the transfig program. + . + This package contains on-line documentation in HTML and PDF formats as well as + the graphics examples distributed with XFig. + +Package: xfig-libs +Architecture: all +Suggests: xfig (>= 1:3.2.5-alpha4-1) +Conflicts: xfig (<< 1:3.2.5-alpha4-1) +Description: XFig image libraries and examples + XFig is a menu-driven tool that allows the user to draw and manipulate objects + interactively in an X window. The resulting pictures can be saved, printed + on postscript printers, or converted to a variety of other formats (e.g. to + allow inclusion in LaTeX documents or web pages) using the transfig program. + . + This package contains several clip art libraries including arrows, flowcharts, + charts, labels, knitting, GUI, chemical process flowsheets, logic, digital + signal processing, Entity Relationship diagrams, UML, electronic, electrical, + hospital equipment, structural analysis, optics, audiovisual objects, + computers, networks, mechanical (DIN), music, welding, office equipment, + furniture, buildings, flags, maps and several examples. --- xfig-3.2.5.b.orig/debian/mime +++ xfig-3.2.5.b/debian/mime @@ -0,0 +1 @@ +application/x-xfig; xfig %s; test=test -n "$DISPLAY" --- xfig-3.2.5.b.orig/debian/xfig32x32.xpm +++ xfig-3.2.5.b/debian/xfig32x32.xpm @@ -0,0 +1,294 @@ +/* XPM */ +static char *xfig32x32[] = { +/* columns rows colors chars-per-pixel */ +"32 32 256 2", +" c #030C03", +". c #020701", +"X c #0B1306", +"o c #041903", +"O c #150A05", +"+ c #19150E", +"@ c #151714", +"# c #052303", +"$ c #072C04", +"% c #0A2904", +"& c #0E2708", +"* c #073306", +"= c #063A06", +"- c #0C3506", +"; c #0C3E08", +": c #0A3B07", +"> c #162A0C", +", c #132511", +"< c #14390C", +"1 c #1A3514", +"2 c #2B180F", +"3 c #221912", +"4 c #34170B", +"5 c #391E13", +"6 c #222018", +"7 c #3B2215", +"8 c #243A1C", +"9 c #2F3327", +"0 c #3D3836", +"q c #3B3423", +"w c #074409", +"e c #064D0A", +"r c #0B4A0B", +"t c #0C450B", +"y c #0B550E", +"u c #095B10", +"i c #124C0E", +"p c #12440B", +"a c #1C4711", +"s c #165612", +"d c #135C13", +"f c #0D6C15", +"g c #086412", +"h c #0C7619", +"j c #136214", +"k c #196918", +"l c #1A731A", +"z c #1A771C", +"x c #264F14", +"c c #34551B", +"v c #2D611A", +"b c #23781E", +"n c #31601D", +"m c #45241A", +"M c #4F291E", +"N c #48261A", +"B c #403A1C", +"V c #5A301B", +"C c #4D2A20", +"Z c #492721", +"A c #4B3726", +"S c #403D35", +"D c #522A22", +"F c #573526", +"G c #5C3B2B", +"H c #583428", +"J c #5F3432", +"K c #62341F", +"L c #653A27", +"P c #66363E", +"I c #6E3B34", +"U c #673838", +"Y c #703B28", +"T c #743F37", +"R c #5F3144", +"E c #633544", +"W c #6B3844", +"Q c #753E48", +"! c #723C44", +"~ c #4F5128", +"^ c #5E4B24", +"/ c #575C2B", +"( c #416323", +") c #6E442D", +"_ c #6B4737", +"` c #6B5D2E", +"' c #7C492E", +"] c #75442A", +"[ c #77453B", +"{ c #7A5930", +"} c #7B6A33", +"| c #6D4748", +" . c #635F53", +".. c #764046", +"X. c #7B4245", +"o. c #7B4946", +"O. c #784B50", +"+. c #7D5643", +"@. c #12821F", +"#. c #188A23", +"$. c #1A9629", +"%. c #199929", +"&. c #1EA32D", +"*. c #218421", +"=. c #258D22", +"-. c #249C2A", +";. c #249526", +":. c #24A22E", +">. c #81452B", +",. c #8D4D34", +"<. c #864B3B", +"1. c #885439", +"2. c #904F32", +"3. c #99522F", +"4. c #97512F", +"5. c #945232", +"6. c #955837", +"7. c #9B5633", +"8. c #9E5935", +"9. c #985739", +"0. c #916238", +"q. c #A25B36", +"w. c #A55E39", +"e. c #A95E39", +"r. c #A4623E", +"t. c #AD633D", +"y. c #B0663F", +"u. c #854749", +"i. c #8A494D", +"p. c #824B46", +"a. c #8F4A51", +"s. c #834F50", +"d. c #895447", +"f. c #875A56", +"g. c #914E4D", +"h. c #924C51", +"j. c #984F50", +"k. c #94524D", +"l. c #935849", +"z. c #9C534E", +"x. c #995B48", +"c. c #945252", +"v. c #9D5451", +"b. c #975953", +"n. c #976749", +"m. c #90605E", +"M. c #996657", +"N. c #957454", +"B. c #906F47", +"V. c #986B65", +"C. c #9B716C", +"Z. c #977574", +"A. c #A35B4C", +"S. c #A15A52", +"D. c #A26543", +"F. c #AC6742", +"G. c #AC6D4A", +"H. c #A86A46", +"J. c #A46B53", +"K. c #AA6453", +"L. c #AC6B54", +"P. c #AA6D5B", +"I. c #A56758", +"U. c #A6714F", +"Y. c #AE7255", +"T. c #AD735A", +"R. c #A6795A", +"E. c #B56943", +"W. c #B46E4D", +"Q. c #B96C46", +"!. c #BB6F49", +"~. c #B26640", +"^. c #B16F52", +"/. c #B4714B", +"(. c #BC724C", +"). c #B47453", +"_. c #B0765B", +"`. c #B57D57", +"'. c #B27B5C", +"]. c #BC7651", +"[. c #BD7B55", +"{. c #BC7F58", +"}. c #A46B67", +"|. c #A2776D", +" X c #B97A66", +".X c #A27879", +"XX c #C0754E", +"oX c #C17C53", +"OX c #868179", +"+X c #BB825C", +"@X c #B9835C", +"#X c #AB857D", +"$X c #BA8762", +"%X c #B88862", +"&X c #B88478", +"*X c #C48257", +"=X c #D78F5E", +"-X c #C08960", +";X c #CF8B78", +":X c #C89568", +">X c #DE9663", +",X c #DD9865", +" p k #.;.-.:.-.#.@.h e p ) ,.", +"^.).).)._.n.7 ' bXGXSX%X@X@X:XG % e f l #.;.-.;.;.#.@.f e = q ,.", +"^.^.).T.'. X_ N ' ", +"L.^.).Y._.'.N.7 D.SXDXnX:XL @ # = r d j l b #.b l k j u w = & L ", +"L.^.L.T._.'.R.F L 5XDXSXG._ q # * = i s d v b k k d y w - * & H ", +"L.^.).T.Y._. X+.N X1.2 6.9X0X,X1.6 o o , 8 1 $ > - # o o o . Z T ", +"K.K.K.J.K.W.>Xr.G m V =X0X9XH._ X 9 eXPXiX .rXOX> o o . 3 I X.", +"K.K.K.K.W.5XG.F n.[ 5 y.9X9X*Xx.H wXCXVXzXtXJXNX0 + J T Q ", +"A.K.z.E.5X].L d.I.b.5 ' ,X9X,Xr.P.mXfXM.+._ &XC.6 . @ S | s.s.X.", +"A.G.XX8X8XF.1.A.K.x.>.7.5X9X6X[. XgXBXjXiXlXIXqX@ 0 hXIXIXZXZXZ.", +">.8.r.D.F.r.8.9.l.] 6.r.H.H.G.G.D.P.aXpXtXgXNXV.U uXUXpXsXNXaXf.", +"L M D D D D D i.g.M N N m m m M M.sXM.I _ sXfXm.o.fXcXC.fXmXf.J ", +"z.z.z.z.z.A.A.A.S.c.k.k.k.k.k.g.pXmXV.u.b.fXfXO.U XvXlXIX&X| W ", +"z.z.z.v.v.S.v.v.S.S.b.v.c.c.k.b.sXdXV.u.V.vXaXV.O.[ vXfX&Xo.P W ", +"z.z.v.v.z.v.z.v.v.c.c.c.h.k.g.b.dXsXs.X.M.vXNXPXwXhXBXcXkXwX| P ", +"v.j.v.j.j.z.j.j.c.k.h.c.a.a.c.}.vX&XO.u.p. X XV.yXHX&XI.sXmX.XE ", +"j.j.j.j.j.j.j.j.h.h.h.h.a.}.lXkXdXb.X.Q ! I T P XxX#XZ.aXmXC.E ", +"j.h.h.h.h.h.h.a.a.a.a.i.u.}.MXcXM.X.X.Q Q Q ! P p.;XfXIXBX#X| R ", +"h.h.a.h.h.h.a.a.i.i.i.i.u.<.x.d.T Q Q Q Q ! W W U [ l.n.p.P R E " +}; --- xfig-3.2.5.b.orig/debian/xfig-doc.manpages +++ xfig-3.2.5.b/debian/xfig-doc.manpages @@ -0,0 +1 @@ +debian/xfig-pdf-viewer.1 --- xfig-3.2.5.b.orig/debian/xfig.desktop +++ xfig-3.2.5.b/debian/xfig.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Xfig +Comment=Diagram editor +Exec=xfig +Icon=xfig +Terminal=false +Type=Application +Categories=Graphics; +MimeType=image/x-fig; --- xfig-3.2.5.b.orig/debian/README.source +++ xfig-3.2.5.b/debian/README.source @@ -0,0 +1,31 @@ +This package uses dpatch to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To get the fully patched source after unpacking the source package, cd +to the root level of the source package and run: + + debian/rules patch + +Removing a patch is as simple as removing its entry from the +debian/patches/00list file, and please also remove the patch file +itself. + +Creating a new patch is done with "dpatch-edit-patch patch XX_patchname" +where you should replace XX with a new number and patchname with a +descriptive shortname of the patch. You can then simply edit all the +files your patch wants to edit, and then simply "exit 0" from the shell +to actually create the patch file. + +To tweak an already existing patch, call "dpatch-edit-patch XX_patchname" +and replace XX_patchname with the actual filename from debian/patches +you want to use. + +To clean up afterwards again, "debian/rules unpatch" will do the +work for you - or you can of course choose to call +"fakeroot debian/rules clean" all together. + +--- + +original text by Gerfried Fuchs, edited by Junichi Uekawa +10 Aug 2008. --- xfig-3.2.5.b.orig/debian/TODO +++ xfig-3.2.5.b/debian/TODO @@ -0,0 +1,9 @@ +TODO +==== + +- Think about splitting xfig into xfig and xfig-libs. +- Remove "icon" entry from menu (replaced by icon16x16 and + icon32x32). Currently it stays there for compatibility reasons. + +Roland Rosenfeld +$Id: TODO,v 1.5 2003-08-28 20:36:42 roland Exp $ --- xfig-3.2.5.b.orig/debian/xfig16x16cmap.xpm +++ xfig-3.2.5.b/debian/xfig16x16cmap.xpm @@ -0,0 +1,29 @@ +/* XPM */ +static char *magick[] = { +/* columns rows colors chars-per-pixel */ +"16 16 7 1", +" c Gray0", +". c #191919", +"X c #007f00", +"o c #7f7f00", +"O c Green", +"+ c Yellow", +"@ c None", +/* pixels */ +"@@@@@@@@@@ @@@@", +"@@@@@@@@@ ++ @@@", +"@@@@@@@@@ ++o @", +" @@ ++o+++ ", +"@@ ooo+o+o ", +"@@@@.@ +o+o+oo+ ", +"@@@ +o+o+o+o @", +"@@ O @ o+o+oo.@@", +"@ XX @@ oo+o++ @", +"@ OXX oo +oo @", +" XXXX o @ oo+ @", +" OXXX @ @@ +oo @", +" XXXX @@@@ o++ @", +" X.XX @@@@@.o @@", +"@ X. @@@@@@@.@@@", +"@@ @@@@@@@@@@@@" +}; --- xfig-3.2.5.b.orig/debian/xfig-www-browser +++ xfig-3.2.5.b/debian/xfig-www-browser @@ -0,0 +1,134 @@ +#! /bin/sh +# +# $Id: xfig-www-browser,v 1.12 2004-02-20 18:55:09 roland Exp $ +# +########################################################################## +# +# xfig-www-browser is a little shell script, which tries to find out +# which web browsers you have installed on your system and then starts +# them. The environment variable BROWSER has priority over all other +# browsers. +# See xfig-www-browser(1) man page for more information. +# +########################################################################## +# +# Copyright (C) 1999-2003 Roland Rosenfeld +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 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. +# +# 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., 675 Mass Ave, Cambridge, MA 02139, USA. +# +########################################################################## + +if [ "$1" = "-n" ]; then + echo "No browser found in xfig-www-browser(1), please set BROWSER" + echo "environment variable or install a web browser" + read dummy + exit 0 +fi + +if [ $# -ne 1 ]; then + echo "Usage: $0 file.html" + exit 0 +fi + +if [ "$BROWSER" != "" ]; then + case "$BROWSER" in + *lynx*) ASCII=true + break;; + *w3m) ASCII=true + break;; + *links) ASCII=true + break;; + *mmm) ASCII=true + break;; + esac +elif type mozilla >/dev/null 2>&1; then + BROWSER=mozilla +elif type mozilla-firebird >/dev/null 2>&1; then + BROWSER=mozilla-firebird +elif type epiphany >/dev/null 2>&1; then + BROWSER=epiphany +elif type galeon >/dev/null 2>&1; then + BROWSER=galeon +elif type netscape >/dev/null 2>&1; then + BROWSER=netscape +elif type light >/dev/null 2>&1; then + BROWSER=light +elif type skipstone >/dev/null 2>&1; then + BROWSER=skipstone +elif type opera >/dev/null 2>&1; then + BROWSER=opera +elif type konqueror >/dev/null 2>&1; then + BROWSER=konqueror +elif type dillo >/dev/null 2>&1; then + BROWSER=dillo +elif type chimera >/dev/null 2>&1; then + BROWSER=chimera +elif type kdehelp >/dev/null 2>&1; then + BROWSER=kdehelp +elif type gzilla >/dev/null 2>&1; then + BROWSER=gzilla +elif type arena >/dev/null 2>&1; then + BROWSER=arena +elif type gnome-help-browser >/dev/null 2>&1; then + BROWSER=gnome-help-browser +elif type chimera2 >/dev/null 2>&1; then + BROWSER=chimera2 +elif type amaya >/dev/null 2>&1l; then + BROWSER=amaya +elif type links >/dev/null 2>&1; then + BROWSER=links + ASCII=true +elif type w3m >/dev/null 2>&1; then + BROWSER=w3m + ASCII=true +elif type lynx >/dev/null 2>&1; then + BROWSER=lynx + ASCII=true +else + BROWSER='xfig-www-browser -n' + ASCII=true +fi + + +if [ "$ASCII" = "true" ]; then + if type x-terminal-emulator >/dev/null 2>&1; then + XTERM=x-terminal-emulator + elif type xterm >/dev/null 2>&1; then + XTERM=xterm + elif type rxvt >/dev/null 2>&1; then + XTERM=rxvt + elif type Eterm >/dev/null 2>&1; then + XTERM=Eterm + fi + case "$LANG" in + ja*) if type kterm >/dev/null 2>&1; then + XTERM=kterm + fi + break;; + ko*) if type hanterm >/dev/null 2>&1; then + XTERM=hanterm + fi + break;; + esac + if [ -z "$XTERM" ]; then + echo "No x terminal emulator found, please install one" 1>&2 + exit 1 + fi + + + exec $XTERM -e $BROWSER "$1" +else + exec $BROWSER "$1" +fi --- xfig-3.2.5.b.orig/debian/compat +++ xfig-3.2.5.b/debian/compat @@ -0,0 +1 @@ +5 --- xfig-3.2.5.b.orig/debian/xfig-libs.copyright +++ xfig-3.2.5.b/debian/xfig-libs.copyright @@ -0,0 +1,41 @@ +This Debian package was maintained by many different Debian maintainers: +joost witteveen , D.J. Gregor , +Enrique Zanardi , Edward Betts + and actually by Roland Rosenfeld . + +Upstream Maintainer: Brian V. Smith + +The upstream source package is available at +http://www.xfig.org/xfigdist/xfig.3.2.4.full.tar.gz +ftp://epb.lbl.gov/xfig/alpha/xfig.3.2.5-alpha5.full.tar.gz + +Copyright: + + FIG : Facility for Interactive Generation of figures + Copyright (c) 1985-1988 by Supoj Sutanthavibul + Parts Copyright (c) 1989-2002 by Brian V. Smith + Parts Copyright (c) 1991 by Paul King + + Any party obtaining a copy of these files is granted, free of charge, a + full and unrestricted irrevocable, world-wide, paid up, royalty-free, + nonexclusive right and license to deal in this software and documentation + files (the "Software"), including without limitation the rights to use, + copy, modify, merge, publish distribute, sublicense and/or sell copies of + the Software, and to permit persons who receive copies from any such + party to do so, with the only requirement being that the above copyright + and this permission notice remain intact. + + +The ERD and GUI image libararies have the following copyright: + + FIG : Facility for Interactive Generation of figures + These Fig object files are Copyright 2000 Antonio Luis Delgado Gonzalez + + Any party obtaining a copy of these files is granted, free of charge, a + full and unrestricted irrevocable, world-wide, paid up, royalty-free, + nonexclusive right and license to deal in this software and + documentation files (the "Software"), including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons who receive + copies from any such party to do so, with the only requirement being + that this copyright notice remain intact. --- xfig-3.2.5.b.orig/debian/changelog +++ xfig-3.2.5.b/debian/changelog @@ -0,0 +1,1175 @@ +xfig (1:3.2.5.b-1ubuntu1) lucid; urgency=low + + * Merge from debian testing. Remaining changes: LP: #513126 + - xfig-doc: alternatively depend on abrowser + - Add .desktop file, install in debian/rules and modify it to validate + with desktop-file-validate (Debian bug: #494790) + - Added usr/share/applications in debian/dirs + + -- Bhavani Shankar Wed, 27 Jan 2010 12:26:49 +0530 + +xfig (1:3.2.5.b-1) unstable; urgency=low + + * New upstream version 3.2.5b. + * Remove patches that are incorporated upstream: 25_mkstemp, + 26_missingprotos, 27_zoom-crash, 28_text-size-input, 29_print_segfault. + * 30_figparserstack: Fix Stack-based buffer overflow by loading + malformed .FIG files + (https://bugzilla.redhat.com/show_bug.cgi?id=543905) (Closes: #559274). + * Upgrade to Standards-Version 3.8.3 (no changes). + * Added debian/README.source (from dpatch package) to explain how dpatch + works. + * Remove path from update-xaw-wrappers script in preinst. + * 31_spelling: Fix spelling errors in binary. + * 13_remove_extra_libs: s/XTOOLONLYLIIB/XTOOLONLYLIB/, so Xt is linked + into the binary to make binutils-gold happy (Closes: #556705). + * 32_papersize_b1: xfig -papersize b1 now really uses B1 instead of B10 + (Closes: #535181). + * 33_pdfimport_mediabox: Fix reading "/MediaBox" when importing PDF. + Thanks t jsoula@univ-lille2.fr for providing a patch (Closes: #530898). + * 34_old_shadows: Restore old shadow behavior. Reduce shadow width to 1 + pixel and fix a green scrollbar shadow. + + -- Roland Rosenfeld Sun, 06 Dec 2009 12:56:18 +0100 + +xfig (1:3.2.5.a-2ubuntu1) karmic; urgency=low + + [ Nick Ellery ] + * Merge from debian unstable, remaining changes (LP: #369655): + - xfig-doc: alternatively depend on abrowser + - Add .desktop file, install in debian/rules (Debian bug: #494790) + - Added usr/share/applications in debian/dirs + [ Nathan Handler ] + * Modify .desktop file to validate with desktop-file-validate + + -- Nick Ellery Wed, 29 Apr 2009 21:52:11 -0700 + +xfig (1:3.2.5.a-2) unstable; urgency=low + + * 29_print_segfault: Avoid segmentation fault on print panel. + + -- Roland Rosenfeld Sat, 18 Apr 2009 10:49:24 +0200 + +xfig (1:3.2.5.a-1) unstable; urgency=medium + + * New upstream version 3.2.5a (as of 2009-03-17). + * The following patches are incorporated upstream, so they were + removed here: 01_fix_warnings, 06_manual_version, 07_maps_europe, + 08_maps_spain, 09_andre_images.dpatch, 10_manpage_hyphen, + 11_shadow_app_defaults, 14_manpage_fixsyntax, 15_lp_or_lpr, + 16_man_rigidtext, 19_xaw3d1_5e_fix, 20_nodebugout, + 21_Imake_jhtml_fix, 22_kfreebsd, 23_modepanel_width, + 24_lp_printer_fixup. + * Updated the other patches to the new version. + * Updated debian/copyright. + * Several patches from Hans de Goede, the Fedora maintainer (many thanks + for this): + - 25_mkstemp: Temp file vulnerability Security fix! + - 26_missingprotos: Add various missing #includes, fixing compiler + warnings (and potential 64 bit bugs) + - 27_zoom-crash: Crasher fix, see + https://bugzilla.redhat.com/show_bug.cgi?id=420411 + - 28_text-size-input: Text size field inserts characters on left + instead of right, https://bugzilla.redhat.com/show_bug.cgi?id=490257 + * Upgrade to Standards-Version 3.8.1 (no changes). + * Remove duplicate section for xfig-libs from debian/control + + -- Roland Rosenfeld Wed, 25 Mar 2009 17:17:09 +0100 + +xfig (1:3.2.5-rel-3ubuntu1) jaunty; urgency=low + + * Merge from debian unstable, remaining changes (LP: #300210): + - Alternatively depend on abrowser for xfig-doc. + - .desktop added. + - Install .desktop in debian/rules + - Added usr/share/applications in debian/dirs + + -- Nick Ellery Wed, 19 Nov 2008 23:08:23 -0800 + +xfig (1:3.2.5-rel-3) unstable; urgency=low + + * Remove trailing space from debian/patches/00list to make lintian happy. + * Stop ignoring "make clean" errors in debian/rules. + * xfig-doc.doc-base: Change section from Apps/Graphics to Graphics. + * menu: Change section Apps/Graphics to Applications/Graphics. + * Upgrade to Standards-Version 3.8.0: + - Fix Homepage header in control file. + * Build-Depend on xutils-dev instead of xutils (Closes: #485545). + * Suggest ghostscript instead of gs now. + * Suggest cups-client instead of cupsys-client now. + * 23_modepanel_width: finally fixed size of mode panel so it doesn't + cover indicator panel under certain circumstances (backported from + unreleased 3.2.5a by Brian V. Smith) (Closes: #427960). + * 24_lp_printer_fixup: Fix printer selection option if lp is used + (instead of lpr) (Closes: #443832). + + -- Roland Rosenfeld Sun, 05 Oct 2008 15:49:56 +0200 + +xfig (1:3.2.5-rel-2ubuntu2) intrepid; urgency=low + + * fix LP: #272772: packages that Depend/Recommend/Suggest firefox + (meta-package) must alternatively Depend/Recommend/Suggest abrowser + - update debian/control + + -- Fabien Tassin Sun, 21 Sep 2008 21:04:28 +0200 + +xfig (1:3.2.5-rel-2ubuntu1) gutsy; urgency=low + + * Merge from Debian unstable, remaining changes: + - .desktop added. + - Added usr/share/applications in debian/dirs. + - Install .desktop in debian/rules. + - Update maintainer in field debian/control. + + -- Michele Angrisano Sun, 01 Jul 2007 11:43:40 +0200 + +xfig (1:3.2.5-rel-2) unstable; urgency=low + + * 22_kfreebsd: tweak to build on GNU/kFreeBSD (Closes: #430358). + Thanks to Petr Salinger for providing a patch. + + -- Roland Rosenfeld Mon, 25 Jun 2007 19:38:11 +0200 + +xfig (1:3.2.5-rel-1ubuntu1) gutsy; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu change: + - .desktop added. + * Modify Maintainer value to match Debian-Maintainer-Field Spec + + -- Daniel T Chen Sun, 20 May 2007 23:33:59 +0200 + +xfig (1:3.2.5-rel-1) unstable; urgency=low + + * New upstream version 3.2.5. + - Most of 01_fix_warnings is incorporated upstream. + - 17_numfracts and 18_edit_compounds are completely incorporated + upstream. + - Adapted all other patches to new version. + - It isn't mentioned in upstream changelog, but drawing arcs from + center point no longer segfaults with this release (Closes: #345674). + * 19_xaw3d1_5e_fix: Fix a typo (#ifndef instead of #ifdef) in + w_library.c. + * chmod -x to all libraries. + * 20_nodebugout: get rid of annoying debug output on stderr. + * Remove xfig.man in clean target, because otherwise it isn't possible + to build the package twice (Closes: #424116) + * 02_Imakefile_Debian: #define I18N which isn't defined upstream now. + * 21_Imake_jhtml_fix: fix syntax error in Imakefile install.jhtml + + -- Roland Rosenfeld Sun, 20 May 2007 12:23:51 +0200 + +xfig (1:3.2.5-alpha5-9ubuntu1) feisty; urgency=low + + * Merge from Debian unstable. Remaining changes: + - .desktop added. + + -- William Alexander Grant Thu, 9 Nov 2006 23:14:40 +1100 + +xfig (1:3.2.5-alpha5-9) unstable; urgency=low + + * 18_edit_compunds.dpatch by "Brian V. Smith" fixes + the bug where editing a compound with more than 200 texts crashes + xfig (Closes: #292336). + + -- Roland Rosenfeld Wed, 11 Oct 2006 18:58:10 +0200 + +xfig (1:3.2.5-alpha5-8) unstable; urgency=low + + * 13_remove_extra_libs.dpatch: Remove unnecessary dependencies on libz, + libXmu, libSM, libICE, and libXext. + * 14_manpage_fixsyntax.dpatch: Fix a nroff syntax error in man page. + * 15_lp_or_lpr.dpatch: Use lp if available or fall back to lpr + (Closes: #384330). + * 16_man_rigidtext.dpatch: document X resource .rigidtext in man page + (Closes: #338544). + * 17_numfracts.dpatch: Fix NUM_FRACTS otherwise the for loop will + overrun. Thanks to Eric Sharkey for mentioning + this and providing a fix (Closes: #308527). + + -- Roland Rosenfeld Sun, 1 Oct 2006 15:32:32 +0200 + +xfig (1:3.2.5-alpha5-7ubuntu1) edgy; urgency=low + + * Merge from Debian unstable. Remaining changes: + - .desktop added. + + -- William Alexander Grant Sun, 3 Sep 2006 09:46:06 +1000 + +xfig (1:3.2.5-alpha5-7) unstable; urgency=low + + * Run gzip -d using find/xargs instead of using shell wildcard + expansion, hopefully this builds on m68k with less problems. + * Add debian/watch file. + + -- Roland Rosenfeld Wed, 9 Aug 2006 20:40:11 +0200 + +xfig (1:3.2.5-alpha5-6) unstable; urgency=low + + * Add a notice about changing the x-cursor-theme to README.Debian + (Closes: #358748). + * Migrate to dpatch. + * Add parameter types to CreateCheckbutton() prototype in w_util.h. This + should aviod some segfaults on 64bit archs (Closes: #315096). + * Add some network images (colored switch, router, pair of (routers, + switches, firewalls), internet cloud). + * Remove unused user colors from Andre's images. + + -- Roland Rosenfeld Sun, 23 Jul 2006 23:49:22 +0200 + +xfig (1:3.2.5-alpha5-5) unstable; urgency=low + + * Add libxi-dev to Build-Deps (Closes: #379248). + * Remove non-POSIX code from preinst. + * Update to Standards-Version 3.7.2 (no changes). + * Upgrade to debhelper >= 5. + * Suggest firefox|www-browser in xfig-docs now. + * Add kpdf, evince and gpdf to xfig-pdf-viewer. + + -- Roland Rosenfeld Sat, 22 Jul 2006 18:13:48 +0200 + +xfig (1:3.2.5-alpha5-4ubuntu2) dapper; urgency=low + + * debian/xfig.deskto + + Added MimeType (Closes: Malone #44703) + + -- Chuck Short Sun, 14 May 2006 19:20:19 -0400 + +xfig (1:3.2.5-alpha5-4ubuntu1) dapper; urgency=low + + * Adding makedepend to build-depends to fix FTBFS (Closes: Malone #38254) + * Adding desktop file provided by Guillaume Desmottes + (Closes: Malone #37737) + + -- Loic Pefferkorn Wed, 5 Apr 2006 19:42:05 +0000 + +xfig (1:3.2.5-alpha5-4) unstable; urgency=low + + * Replace mozilla-firebird by mozilla-firefox in xfig-doc suggests + (Closes: #299695). + * u_fonts.h: declare structs before using them to make gcc-4.0 happy + (Closes: #300366). + * Rename Flags/Carribean to Flags/Caribbean (Closes: #307692). + * Run "install --" on installing Libraries to avoid trouble with file + names that start with a dash. + + -- Roland Rosenfeld Sun, 17 Jul 2005 21:35:56 +0200 + +xfig (1:3.2.5-alpha5-3) unstable; urgency=low + + * Move shadow X resources from Fig-color.ad to Fig.ad. This should + avoid the problems with XFig freezing when KDE tries to adapt its + colors to XFig (especially *Scrollbar*height: 15 causes much trouble + otherwise (Closes: #234575). + + -- Roland Rosenfeld Tue, 24 Aug 2004 21:24:01 +0200 + +xfig (1:3.2.5-alpha5-2) unstable; urgency=low + + * Added some rack mounted components to the computers library. Thanks to + Andre Esser for drawing and providing them. + * Remove Portugal from Maps/Europe/spain.fig, otherwise this should be + named iberia.fig (Closes: #258224). + * Replace xfig-www-browser by sensible-browser, which internally handles + the BROWSER environ(7) variable (including colon separated + alternatives) and uses x-www-browser and www-browser alternatives, so + xfig-www-browser is no longer needed (Closes: #257976). + + -- Roland Rosenfeld Sat, 7 Aug 2004 19:12:04 +0200 + +xfig (1:3.2.5-alpha5-1) unstable; urgency=low + + * New upstream version 3.2.5-alpha5. + * Build-depends on libxt-dev, libsm-dev, libxpm-dev, libxmu-dev, + libice-dev, libx11-dev, libxext-dev instead of xlibs-dev. + * Increase priority of xpdf over acroread in xfig-pdf-viewer. + * Add xpdf as the real package alternative to pdf-viewer. + * Escape some '-' chars in xfig.man. + * #include u_create.h in w_drawprim.c to avoid crashes on ia64. Thanks + to avid Mosberger for finding and fixing this + problem (Closes: #248380). + * Add \usepackage{graphics,color} to TeXfig2eps script (Closes: #240190). + + -- Roland Rosenfeld Tue, 11 May 2004 21:36:42 +0200 + +xfig (1:3.2.5-alpha4-1) unstable; urgency=low + + * New upstream version 3.2.5-alpha4. + - Better clipping around arrowheads on thick lines (lines that are + thicker than the arrowhead is wide) (Closes: #232674). + - Fixed annoying warning about StartScroll action not found on Linux + systems that use the "modified" Xaw3d widget set (ARROW_SCROLLBAR + defined, which makes the scrollbars look like the Windows + scrollbars) (Closes: #173925). + * Add support for mozilla-firebird and epiphany to xfig-www-browser. + * Add homepage URL to package descriptions. + * Split clipart libraries into separate package xfig-libs (Closes: #233458). + * Add version and date to ALT-tag of the title logo in introduction.html + (Closes: #230578). + + -- Roland Rosenfeld Fri, 20 Feb 2004 22:49:14 +0100 + +xfig (1:3.2.4-rel-9) unstable; urgency=low + + * Build-Depend on xaw3dg-dev (>= 1.5+E-2), which contains a shlibs file + with a versioned dependency on a new xaw3dg version, because otherwise + we run into unresolved symbols on a system with older xaw3dg + (Closes: #206638). + * Upgrade to Standards-Version 3.6.1 (no changes). + * Add new xpm icons with full colors (new menu policy allows this) and + rename the old icons to xfigcmap.xpm. Add symlinks to the old + file names of the icons to keep backward compatible. + * Update debian/menu (add longtitle, description, icon16x16, icon32x32 + and more hints). + + -- Roland Rosenfeld Thu, 28 Aug 2003 17:58:17 +0200 + +xfig (1:3.2.4-rel-8) unstable; urgency=low + + * Apply patch from http://www.visi.com/~hawkeyd/xaw3d.html to cope with + new Xaw3D 1.5E (Closes: #206638). + * Build-Depends on xaw3dg-dev 1.5+E-1. + + -- Roland Rosenfeld Fri, 22 Aug 2003 09:11:40 +0200 + +xfig (1:3.2.4-rel-7) unstable; urgency=low + + * Correct description of Maps/Europe/central_europe and add description + to eastern_europe (Closes: #197592). + * Apply patch.pipe from upstream author, which fixes problems where + pipes can't be opened (e.g. if external package is not installed) + (Closes: #197633). + + -- Roland Rosenfeld Wed, 2 Jul 2003 19:00:49 +0200 + +xfig (1:3.2.4-rel-6) unstable; urgency=low + + * Undo parts of the previous patch, because they implies a segmentation + fault on moving or copying objects (Closes: #191180). + + -- Roland Rosenfeld Tue, 29 Apr 2003 22:06:07 +0200 + +xfig (1:3.2.4-rel-5) unstable; urgency=low + + * Fix warnings in u_smartsearch.c and w_zoom.c to work around problems + with gcc on hppa. + + -- Roland Rosenfeld Sat, 26 Apr 2003 21:49:28 +0200 + +xfig (1:3.2.4-rel-4) unstable; urgency=low + + * Build-Depend on libpng12-dev instead of libpng12-0-dev (the name of + this package was changed). + * Fix warnings in u_free.c (and add a new file u_free.h) to solve + compiler problem on hppa. + + -- Roland Rosenfeld Sat, 26 Apr 2003 15:58:02 +0200 + +xfig (1:3.2.4-rel-3) unstable; urgency=low + + * Apply patch.dimline from upstream maintainer, which removes the + erroneous keyboard accelerator text about Shift-L initiating a + dimension line (Closes: #173181). + * Fix path to xfig documentation, CompKeyDB and Fig objects in xfig.man, + xfig_man.html and xfig.html (Closes: #181911). + * Upgrade Standards-Version to 3.5.9 (no changes). + * Upgrade to debhelper >= 4.0.0 + - Use compat instead of DH_COMPAT + - Update debian/rules based on debhelper example. + * Build-Depends on "libpng12-0-dev | libpng-dev" instead of + "libpng2-dev" now. + * Upgrade preinst scripts (use "set -e" instead of "#!/bin/sh -e"). + * Remove empty /usr/share/doc/xfig/examples. + + -- Roland Rosenfeld Mon, 21 Apr 2003 18:22:15 +0200 + +xfig (1:3.2.4-rel-2) unstable; urgency=low + + * Apply patch.action from upstream maintainer, which fixes three bugs: + - selecting an editing mode while placing a library object caused xfig + to tell the user to finish the operation, but was stuck in limbo + (Closes: #173924) + - cancelling the placement of a library object by changing modes + didn't erase the library object being dragged around the canvas + (Closes: #177106, #174014) + - breaking a compound object resulted in incorrect depth count of the + objects. + * Change section of xfig-doc package from graphics to doc. + + -- Roland Rosenfeld Tue, 7 Jan 2003 19:56:33 +0100 + +xfig (1:3.2.4-rel-1) unstable; urgency=low + + * New upstream release 3.2.4. + - No longer segfaults when ~/.xfigrc includes only 0 (Closes: #170290). + - No longer xfig gets confused when first displaying units on the metric + ruler (Closes: #171529). + * Upgrade to Standards-Version 3.5.8 (no changes). + * Re-add C-33A-USAF-1.fig KC-33A-USAF-1.fig KC-33-RORO-M113A4.fig + KC-33-RORO-M8AGS.fig KC-747+KMD-11.fig M113A1-Camo.fig M8-AGS-Camo.fig + because they now have a DFSG free copyright. + * Upgrade to DH_COMPAT=3 (and remove debian/conffiles). + * Modified debian/xpm.xpm to follow menu policy about colors. + + -- Roland Rosenfeld Sat, 21 Dec 2002 16:00:45 +0100 + +xfig (1:3.2.4-beta6-1) unstable; urgency=low + + * New upstream version 3.2.4-beta6. + - fixes the problem that having the NumLock key on prevents the + accelerators from working (Closes: #148286). + - The problem toolbar overlapping other buttons seems to be fixed now + (Closes: #150019). + - The "UPDATE object" function allows to update the depth of a compund + now, where the smallest depth of the compound is set to the new + value while all other depths are kept relatively to this smallest + depth (Closes: #123413). + - 3D look can be disabled now using "Fig*shadowWidth: 0" in + $HOME/.Xresources (Closes: #132071). + - Resizing the XFig window or using the -geometry option now works and + adapts the buttons per row correctly (Closes: #53295). + - Parsing a FIG file does not longer SEGV, when a spline consists of + less then 3 points but prints out a warning and ignores that spline + (Closes: #161657). + * Apply upstream patch.colortiff, which calls "fig2dev -L tiff -C" with + a dummy argument on -C, otherwise creating color previews in TIFF + doesn't work. + * Apply upstream patch.gridunits, which fixes the bug where xfig may + change the Major/Minor grid tick values to "None" to 0.0. + * Upgrade to Standards-Version 3.5.7: + - New handling of DEB_BUILD_OPTIONS. + * Increase priority of xpdf over gv in xfig-pdf-viewer. + * Add kghostview as a 5th alternative to xfig-pdf-viewer. + * Add light(1) to xfig-www-browser and optimize priority of browsers. + * Move the documentation (in package xfig-doc) from + /usr/share/doc/xfig-doc to /usr/share/doc/xfig. + * Moved xpm icons from /usr/X11R6/include/X11/pixmaps to + /usr/share/pixmaps. + + -- Roland Rosenfeld Tue, 19 Nov 2002 20:57:47 +0100 + +xfig (1:3.2.3.d-rel-6) unstable; urgency=low + + * Suggests: netpbm, which is used to read GIF images (Closes: #146302). + + -- Roland Rosenfeld Thu, 9 May 2002 01:15:59 +0200 + +xfig (1:3.2.3.d-rel-5) unstable; urgency=low + + * xfig-www-browser: add opera, increase priority of mozilla and galeon, + which are now very usable browsers. + * Apply patch by Daniel Robert Franklin , which + fixes segfaults on load/save when ~/.xfigrc has wrong permissions. + + -- Roland Rosenfeld Fri, 22 Mar 2002 10:39:49 +0100 + +xfig (1:3.2.3.d-rel-4) unstable; urgency=low + + * Add debian/mime to handle application/x-xfig MIME type. + * Remove dh_installxaw, which is no longer used or supported + (Closes: #120231). + * Install new version of xfig-howto.pdf from + http://www.ee.ryerson.ca/~phiscock/papers/xfig-howto.pdf, which uses + Type1 fonts now (Closes: #102783). + * XFIG.AND.LATEX, README.Debian: Add a comment that the transfig pstex + driver needs \usepackage{color} (Closes: #77516). + + -- Roland Rosenfeld Sun, 10 Feb 2002 17:05:11 +0100 + +xfig (1:3.2.3.d-rel-3) unstable; urgency=low + + * Apply upstream patch cluster against 3.2.3d: + - patch.deletedepth: Do no longer erase depth counts when deleting a + region of a figure. Correctly handle depths of temporary objects + when using library objects. + - patch.editcompound: If you have >64 text objects in a compound, + editing the compound no longer causes a segfault. + - patch.imakefile: fixes the problem that several vendors' "make" + don't like the blank line produced when I18N is not defined. + - patch.joinsplit: If the user mistakenly clicked the *left* mouse + button on a point where he wanted to *split* a line, the ability to + split was turned off. + - patch.libsubs: fixes the bug where subdirectories without any .fig + files appeared in the library menu. + - patch.pdftex: adds the "Combinded PDF/LaTeX" export option to xfig + (Recommends transfig >= 1:3.2.3.d-rel-2, which is needed to use this + new feature). + - patch.pointermapping: make xfig automatically flip the mouse hints + messages when pointer button 1 is not logical button 1. This + overrides the -flipvisualhints command-line argument to xfig. + - patch.readcompound2: makes xfig only recalculate the bounds of + compound objects being read if there are no bounds following the "6" + or they are all 0. This fixes the problem introduced in 3.2.3d + where objects that were bound at a certain point positioning are + rebound at the current positioning. + - patch.showlengths: fixes the final problems with the "showlengths" + lines and texts erasing parts of the objects below them. + - patch.textattrib: If the user clicks on or modifies an existing + text, and presses return, the new text on the next like will use the + attributes of the first text instead of the attributes from the + indicator panel. + * Stop calling "make install.man", which is broken with the given + Imakefile (Closes: #115419). + * Replace dh_installmanpages by dh_installman and install various man + pages using it. + * Remove C-33A-USAF-1.fig KC-33A-USAF-1.fig KC-33-RORO-M113A4.fig + KC-33-RORO-M8AGS.fig KC-747+KMD-11.fig M113A1-Camo.fig M8-AGS-Camo.fig + from examples directory, because they are not DFSG free (only for + educational and non-commercial use) (Closes: #115658) + + -- Roland Rosenfeld Tue, 16 Oct 2001 12:13:24 +0200 + +xfig (1:3.2.3.d-rel-2) unstable; urgency=low + + * Add mozilla as another alternative in xfig-www-browser (Closes: #104205). + * Add "Fig*AllowShellResize: false" to Fig.ad to avoid problems with + XFig window constantly resizing itself (Closes: #107209). + * Added a new documentation PDFLATEX.AND.XFIG written by Josselin + Mouette to the documentation (Closes: #100656). + + -- Roland Rosenfeld Fri, 5 Oct 2001 15:13:56 +0200 + +xfig (1:3.2.3.d-rel-1) unstable; urgency=low + + * New upstream release 3.2.3d: + - Adds cascade menu to support hierarchical libraries (Closes: #95648). + * Remove dh_testversion from debian/rules (use Build-Dependencies + instead). + * Make /etc/X11/*app-defaults/Fig* conffiles. + + -- Roland Rosenfeld Sun, 3 Jun 2001 11:10:45 +0200 + +xfig (1:3.2.3.d-beta2-3) unstable; urgency=low + + * Apply patch.globalpopup, which fixes the problem where popping up the + global settings panel, cancelling it then popping it up again + segfaults (Closes: #96138). + + -- Roland Rosenfeld Thu, 3 May 2001 19:03:08 +0200 + +xfig (1:3.2.3.d-beta2-2) unstable; urgency=low + + * Add Build-Depends: libpng2-dev (Closes: #94800, #95004). + + -- Roland Rosenfeld Tue, 24 Apr 2001 18:07:05 +0200 + +xfig (1:3.2.3.d-beta2-1) unstable; urgency=low + + * New upstream beta(!) version 3.2.3d-beta2. + * Some minor adjustments to make lintian happy. + * Upgrade to policy 3.5.2. + * Remove dh_suidregister from debian/rules. + * Depend on debhelper >=2.1.6 and remove nostrip handling, which is done + by dh_strip now. + * Correct version in Fig.ad. + + -- Roland Rosenfeld Wed, 18 Apr 2001 21:03:13 +0200 + +xfig (1:3.2.3.c-5) unstable; urgency=low + + * Undo app-defaults symlink removal hack, which is no longer needed with + xlibs-dev (>= 4.0.1-11). Change Build-Depends accordingly. + * Apply several patches from upstream author: + - patch.arccenter: a more robust algorithm for finding the center of + an arc given three points on the radius. + (And change variable names to make this patch usable). + - patch.scalelinethick: Fixes the bug where scaling a compound object + by dragging a corner to the other side of another corner would make + a negative line thickness and arrow width & height. + - patch.zoom: This fixes two bugs: + 1. If the figure is large enough, zoom-to-fit-canvas calculates a + zoom of 0.0 and an incorrect centering. + 2. If the figure is panned and a zoom to fit canvas is done, the + rulers aren't updated. + - patch.search: improves the searching of objects at higher zooms. + - patch.editdepths: fixes the problem where the depth manager doesn't + always update correctly when the depth of an object is changed in + the popup edit panel. + * Add xutils to Build-Depends, because we need xmkmf (Closes: #89837). + * xaw3dg >=1.5-5 is no more a libXaw replacement but a separate + library. I (the Debian maintainer) decided to link against Xaw3d + instead of Xaw, which means that this (Closes: #54923). + + -- Roland Rosenfeld Mon, 19 Mar 2001 18:39:49 +0100 + +xfig (1:3.2.3.c-4) unstable; urgency=low + + * Recompile with dpkg 1.7.2, because 1.7.1.1 erroneously created a + dependency to xlib6 (the libc5 version of the X11 libraries) + (Closes: #77941). + + -- Roland Rosenfeld Sat, 25 Nov 2000 09:39:24 +0100 + +xfig (1:3.2.3.c-3) unstable; urgency=low + + * Upgrade to XFree86 4.0.1: + - Build-Depends: xlib6g-dev, xpm4g-dev => xlibs-dev + - Move app-defaults files from + /usr/X11R6/lib/X11/[locale/]app-defaults to + /etc/X11/[locale/]app-defaults. + - Remove symlink /usr/share/app-defaults -> ../../etc/X11/app-defaults + (don't ask me, why imake creates it...) + * Rename Japanese locale files from ja_JP.ujis to ja_JP.eucJP + (Closes: #77690). + + -- Roland Rosenfeld Fri, 24 Nov 2000 18:42:06 +0100 + +xfig (1:3.2.3.c-2) unstable; urgency=low + + * Apply two patches by upstream author: + - If the user attempts to load a compress .fig file from a read-only + filesystem (e.g. CD), xfig will now uncompress the file to the + TMPDIR directory. + - Empty lines in the ~/.xfigrc file were causing xfig to segfault + (Closes: #75534). + * Comment my_strdup() from f_util.c (it's already in w_rottext.c). + + -- Roland Rosenfeld Wed, 25 Oct 2000 21:40:04 +0200 + +xfig (1:3.2.3.c-1) unstable; urgency=low + + * New upstream version 3.2.3c: + - fixes problem with absolute path names in command line arguments + (Closes: #75257). + * s/canvasBackground/canvasbackground/ and + s/canvasForeground/canvasforeground/ in all documentation, so it fits + the program behavior (Closes: #69727). + * Upgrade to new debhepler: + - Change to DH_COMPAT=2. + * Upgrade to Standards-Version 3.2.1: + - Evaluate DEB_BUILD_OPTIONS for -g and strip. + - Move binary and manpage from /usr/X11R6/* to /usr/*. + * Add skipstone, galeon, dillo, konqueror, and links to xfig-www-browser + and xfig-www-browser.1. + * Apply several bugfix patches from upstream author: + - patch.popups: Fixes the problem where, if you popup a dialog such as + the export dialog, then you move xfig to another virtual desktop or + workspace, the export dialog will popup in the previous space. This + patch will make them reposition relative to the current xfig + position (but the problem with WMaker in #73651 still remains). + - patch.create: Fixes the bug that when creating Fig objects, if + malloc() fails, xfig attempts to reference memory using the + resulting null pointer. + - patch.maxdepth: Fixes the problem that objects at MAX_DEPTH (999) + were sometimes unaccounted for, meaning they wouldn't be refreshed + in some cases. + - patch.pictures: Fixes the bug in sizing of imported pictures. They + were too small by the equivalent of one pixel in width and height. + Also, calls to strdup() are replaced with calls to my_strdup(). + - patch.read: fixes two bugs: + 1. While reading a Fig file, if there is a bad object inside a + compound, xfig would discard the entire compound. + 2. If any object is incomplete, its storage wasn't freed in all + cases before returning to the caller. + 3. Comments longer than 200 characters caused problems. They may be + unlimited in length now. + - patch.showlength: cleans up the "show lengths" feature by making it + draw the lines and text using the xor operator to draw/erase these + temporary indicators. + - patch.update: Updating objects didn't refresh the updated object + correctly if the bounds changed. + * s/userscale/user_scale/ and s/ulen/len/ in w_msgpanel.c, which seem to + be a typos in patch.showlength. + * w_rottext.c: export my_strdup, because it is also used by e_edit.c. + + -- Roland Rosenfeld Tue, 10 Oct 2000 14:07:49 +0200 + +xfig (1:3.2.3.b-1) unstable; urgency=low + + * New upstream version 3.2.3b. + * s/allownegcoords/allow_neg_coords/ in w_rules.c (upstream typo?) + + -- Roland Rosenfeld Wed, 19 Jul 2000 00:58:05 +0200 + +xfig (1:3.2.3.a-6) frozen unstable; urgency=low + + * Add pmos.fig and nmos.fig by Min Xu to + Libraries/Electrical/Schematic. + * Apply patch from Joseph Maher to reset copied + pointer subspline->comments to NULL. + * Apply patch.colors from upstream author, which fixes the following + bugs: + - This fixes the bug that user colors defined in the current session + aren't saved with the figure. + - Also the background color for the "locked" buttons weren't restored + properly when the lock was turned off. + - User colors in current figure would be lost if user previewed more + than one file before cancelling file popup. + * There are only some small bug fixes in this release, so it should go + into frozen, too. It doesn't close any bug reports, because the fixed + bugs were reported to me personally instead of using the BTS. + + -- Roland Rosenfeld Wed, 26 Apr 2000 21:32:06 +0200 + +xfig (1:3.2.3.a-5) frozen unstable; urgency=low + + * Apply Brian's second patch.updatelayers, which avoids more memory + problems with many different layers and creating compounds from this. + + -- Roland Rosenfeld Thu, 6 Apr 2000 00:48:11 +0200 + +xfig (1:3.2.3.a-4) frozen unstable; urgency=low + + * Correct typo in xfig-www-browser: s|/dev/nul|/dev/null| + * Apply Brian's patch.badobjects, which allows to read FIG files which + contain "bad" objects (under special circumstances xfig writes those + "bad" objects to the FIG file itself) (Closes: #61364). + + -- Roland Rosenfeld Mon, 3 Apr 2000 20:27:30 +0200 + +xfig (1:3.2.3.a-3) unstable; urgency=low + + * Fixes the problem where the depth buttons are updated after each + object is added to the list when pasting or loading a Fig file (patch + submitted by upstream maintainer). + + -- Roland Rosenfeld Tue, 28 Mar 2000 00:34:12 +0200 + +xfig (1:3.2.3.a-2) frozen unstable; urgency=low + + * Conflicts with old transfig versions, so transfig should automatically + be upgraded (Closes: #60163). + + -- Roland Rosenfeld Mon, 13 Mar 2000 13:58:20 +0100 + +xfig (1:3.2.3.a-1) frozen unstable; urgency=low + + * New upstream version. This is a bugfix only release, so it should go + into frozen. + + -- Roland Rosenfeld Wed, 19 Jan 2000 22:38:21 +0100 + +xfig (1:3.2.3-rel-0-2) frozen unstable; urgency=low + + * Fixed prototype of curve() in u_draw.c, which caused xfig to always + segfault on PowerPC at startup. Thanks to Alex Romosan + for debugging and patching this problem + (Closes: #48113). + + -- Roland Rosenfeld Mon, 17 Jan 2000 10:38:08 +0100 + +xfig (1:3.2.3-rel-0-1) unstable; urgency=low + + * New upstream version (munged the official 3.2.3 according to packaging + manual section 5 to make it bigger than the betas) (Closes: #48028). + * Explain the decision to always use Xaw3D in README.Debian (compare + this with #54923). + * Fix version number in main.c, otherwise xfig will complain about an + outdated app-defaults file. + + -- Roland Rosenfeld Fri, 14 Jan 2000 11:52:39 +0100 + +xfig (1:3.2.3-beta-3-1) unstable; urgency=low + + * New upstream version. This makes "none" the default background color + (Closes: #53699, #53331). + * Update xfig.html according to xfig.man. + * Correct order of fig2dev arguments when i18n support is activated. + + -- Roland Rosenfeld Wed, 12 Jan 2000 22:40:09 +0100 + +xfig (1:3.2.3-beta-2-2) unstable; urgency=low + + * Extend white background export hack to work on PS, PDF and pstex, too + (Fixes part 2 of #54540). + + -- Roland Rosenfeld Sun, 9 Jan 2000 14:09:26 +0100 + +xfig (1:3.2.3-beta-2-1) unstable; urgency=low + + * New upstream version. + * Rebuild xfig.html from new man page. + * Add another work around for filling white background (-g\#ffffff) to + the eps export function. Now you can export with background "none" + (this works in the upstream source) without problems as well as with + background "white" (this works with my patch). Maybe we should simply + make "none" the default background for EPS export, this would solve + all problems. + * Remove xfig-howto LaTeX sources from debian directory, because the new + upstream package now comes with a good looking PS- and PDF version. + Remove Build-Depends to tetex and transfig accordingly. + * Change default export_margin (the border around figures on export) + from 10 to 0 (this was the default in former versions). + + -- Roland Rosenfeld Thu, 6 Jan 2000 14:59:52 +0100 + +xfig (1:3.2.3-beta-1-3) unstable; urgency=low + + * Recommend transfig >=1:3.2.3-beta-1, because xfig calls fig2dev with + options, which weren't available in older versions. + * When exporting to EPS with white background, don't use -g#ffffff + option for fig2dev, because this creates EPS files, which fill + everything before the figure with white color, when they are included + in a (La)TeX file. This is reported in #53331, #53699, which was + forwarded to the upstream author. The applied patch is an ugly hack, + so I won't close this bug now, but it should work around the biggest + problems. + + -- Roland Rosenfeld Wed, 29 Dec 1999 21:17:53 +0100 + +xfig (1:3.2.3-beta-1-2) unstable; urgency=low + + * s/xpm6g-dev/xpm4g-dev/ in build-depends (Closes: #53196). + * Add LaTeX sources of xfig-howto and create a new (smaller and much + more readable) xfig-howto.pdf. + * Add xfig-pdf-viewer and man page and use it to view PDF documentation + instead of always calling gv. + + -- Roland Rosenfeld Tue, 21 Dec 1999 19:11:11 +0100 + +xfig (1:3.2.3-beta-1-1) unstable; urgency=low + + * New upstream version (most of the former patches are incorporated now + upstream). + * Disable input tablet support, it is broken in 3.2.3-beta-1. + * Depend on Xaw3d, this doesn't work with other Xaw replacements. + * Remove xaw-wrapper support (no longer needed, because of Xaw3d + dependency). Remove symlink to/from /etc/alternatives/xfig in preinst. + * Suggest gsfonts-x11 (>= 0.7), which supports avantgarde aliases as + used in u_fonts.c. + * Add menu list to tag of Doc/html/index.html, so the + documentation can be read with browsers that doesn't support frames. + * Create new xfig-howto.pdf from xfig-howto.ps by using ghostscript, + because the xfig-howto.pdf from the source package cannot be displayed + with gv. Add source dependency to gs. + * Added hints to menu file. + * Added 32x32 pixel icon and use it in menu file. + * xfig-www-browser: + - Use type instead of test -x to find out what programs are available. + - Use x-terminal-emulator instead of xterm (with xterm, rxvt, eterm as + fallback) + * Upgrade to Standards version 3.1.1: Add Build-Depends. + + -- Roland Rosenfeld <roland@debian.org> Wed, 15 Dec 1999 01:13:48 +0100 + +xfig (1:3.2.2-13) unstable; urgency=low + + * Remove images which are not referenced in HTML files from + /usr/share/doc/xfig-doc/html/images. + * Add a shell script xfig-www-browser, which automatically selects the + best available HTML browser, to xfig-doc package. + * Change control and Fig.ad accordingly. + * Remove left over doc-base files with old xfig ID in xfig-doc.preinst. + * Fix segfault in free_subspline(), which was introduced with the free + spline patch. Thanks to Brian V. Smith for this bug fix. + + -- Roland Rosenfeld <roland@debian.org> Tue, 12 Oct 1999 12:06:48 +0200 + +xfig (1:3.2.2-12) unstable; urgency=low + + * Upgrade to Debian Standards version 3.0.1 + - /usr/doc -> /usr/share/doc + * remove debian/compress and debian/xfig-doc.compress (not needed) + * Applied Korean support patch provided by Changwoo Ryu + <cwryu@debian.org> (Closes: #45369). + * Smart-links were lost when copying linked compounds. Thanks to + Olivier Delemar <delemar@mimosa.ceng.cea.fr> for reporting and + providing the patch written by Brian Smith (Closes: #45822). + + -- Roland Rosenfeld <roland@debian.org> Thu, 23 Sep 1999 15:41:22 +0200 + +xfig (1:3.2.2-11) unstable; urgency=low + + * Corrected control file (the object library files are moved from + xfig-doc to xfig since 1:3.2.2-2.1). + * Changed copyright of HTML documentation with permission of the + copyright holders (T.Sato and Brian V. Smith). Now the documentation + is DFSG-free (Closes #39824). + * Replaced all ``VEF00200@niftyserve.or.jp'' in the English version of + the documentation to ``VEF00200@nifty.ne.jp'' on behalf of T.Sato. + * Get rid of "incompatible pointer type" warnings in d_text.c. + + -- Roland Rosenfeld <roland@debian.org> Tue, 22 Jun 1999 16:30:18 +0200 + +xfig (1:3.2.2-10) unstable; urgency=low + + * Added icons xfig.xpm and mini-xfig.xpm, where the latter one is used + in the menu. + * Converted from varargs.h to stdarg.h to be ANSI-C compliant. This + allows us to recompile xfig on an Alpha Linux system. This recompiled + version will close #32735. + + -- Roland Rosenfeld <roland@debian.org> Tue, 8 Jun 1999 21:16:15 +0200 + +xfig (1:3.2.2-9) unstable; urgency=low + + * Use kterm lynx instead of xterm lynx for viewing documentation in + Japanese locale. xfig-doc now suggests xterm | kterm for this. + Thanks to Taketoshi Sano <xlj06203@nifty.ne.jp>. + * Merged T.Sato's <VEF00200@nifty.ne.jp> small screen patch and use + large icons again (Closes #31148, #34798, #37520) + * Fixed problem with inputStyle OverTheSpot (Patch from Sato Tomonori). + + -- Roland Rosenfeld <roland@debian.org> Fri, 21 May 1999 16:40:46 +0200 + +xfig (1:3.2.2-8) unstable; urgency=low + + * Suggest gs (>= 5.10-1) | gs-aladdin (>= 5.10-1), needed for eps + import (Closes #12185). + * Changed u_fonts.c to use original Adobe Postscript fonts. Suggest + gsfonts-x11 to make ghostscript fonts available as X11 fonts (Closes + #19073, #31380). + * Merged patch for creating arcs with specific center point, diameter or + angle written by T.Sato <VEF00200@nifty.ne.jp>. + * Merged in patch collection from upstream author Brian V. Smith + <xfigmail@epb1.lbl.gov>, which results in an unofficial xfig 3.2.2a, + with the following patches: + - Fixes arrowheads on arcs + - Fix BadWindow error for the X_ClearArea when previewing a file and + the canvas is redrawn + - Fixes problem where some servers won't draw dashed lines of 0 width + - Add delete window catching. Some window managers use destroy window + if delete window isn't honored. + - Fixes bug where file name is clobbered because it writes + uncompressed filename over original name, but the string space is in + the Xt library. + - make xfig flip left/right text justification when flipping a + compound object with text horizontally. + - Solaris and DEC Unix don't like "inline" so we'll use "__inline" + - fix the problem of zooming in on a figure that has *large* + coordinates (140000 Fig units or > 16000 screen units). + It also makes the point allocation for zXDrawLines and zXFillPolygon + more efficient by not allocing/freeing every time a polyline/gon is + drawn. + - Added minimal changes from paste/redraw bugfix (most of it was done + in 1:3.2.2-7) + - Fixes problem where the edit- and/or pen colors didn't show the + color in the popup color panel for any non-PseudoColor visual. + - fixes the potential problem of segfaults when freeing splines. + A F_Spline ** should be passed, not F_spline *. + - fixes the problem that xfig segfaults when it tries to display a + string with only blanks at 90 degrees using the adobe-courier font. + The lbearing and rbearing are both zero in that case. + The second part of the patch fixes the "markers" so that it only + draws one for this case of zero-dimension string so that one marker + doesn't undo the other. + - fixes the problem when allocating too many user colors + - fixes the bug when updating text to/from PostScript and LaTeX fonts + using the update feature. + - Merged Imakefile patch. + * Did some Imakefile rewriting. + + -- Roland Rosenfeld <roland@debian.org> Wed, 19 May 1999 14:16:28 +0200 + +xfig (1:3.2.2-7) unstable; urgency=low + + * New Debian maintainer. + * Added ja_JP.ujis app-defaults which enable -international (Closes #34799). + * Made documentation also available with LANG=ja_JP.ujis. + * Disable GIF writing routines in f_wrgif.c which are non-free. This is + only used for screen capturing and PCX does this job as good as GIF + did. No problem with exporting to GIF which is realized by calling + ppmtogif. See README.Debian for more information. + * No longer "hang" when pasting. Merged in patch from the upstream + authors, thanks to Manfred Pflueger, who send me this patch. + (Closes #29346) + * Merged in inofficial patch from bug report #34799. + * Updated copyright file according to the upstream README. + * Added xaw-wrapper entry for neXtaw, because some (not all) people have + problems with xfig in combination with neXtaw (Closes #31811, #32472, + #37536). + + -- Roland Rosenfeld <roland@debian.org> Sat, 15 May 1999 00:57:08 +0200 + +xfig (1:3.2.2-6) unstable; urgency=low + + * Complied against glibc 2.1 + * Update xaw-wrapper config file to version 0.92 format. + * Modified w_library.c, because glibc 2.1 stdio.h #includes <stdarg.h> + + -- Edward Betts <edward@debian.org> Wed, 12 May 1999 14:52:36 +0100 + +xfig (1:3.2.2-5) unstable; urgency=low + + * Changed doc-base id of xfig to xfig-doc fixes Bug#35335 reported by + Ulf Jaenicke-Roessler <ujr@physik.phy.tu-dresden.de> + + -- Edward Betts <edward@hairnet.demon.co.uk> Wed, 31 Mar 1999 20:52:36 +0100 + +xfig (1:3.2.2-4) unstable; urgency=low + + * Change xfig so it uses the smaller icons, should work better on 800x600 + and friends. (suggested by Matthew W. Lee <lee@physics.ucla.edu>). + If this really bugs any one with larger screen drop me a line. It would be + interesting to see if I can write some code to make it a X resource option. + * Change doc_base so that dh_installdocs handles it. + * Add xaw-wrappers support. xfig is now configured so that it will not use + Xaw95. Strangly Xaw95 was already configured that way. + + -- Edward Betts <edward@debian.org> Sat, 20 Feb 1999 14:03:57 +0000 + +xfig (1:3.2.2-3) frozen unstable; urgency=low + + * Acknowledge Roland's NMU. + * Correct spelling of maintainer name (how did that happen?) + * Correct problem of slink dh_installdocs and doc_base + + -- Edward Betts <edward@debian.org> Tue, 19 Jan 1999 18:07:50 +0000 + +xfig (1:3.2.2-2.1) frozen unstable; urgency=low + + * NMU (with permission of maintainer): closes #31492, #27430 + * Moved picture library from xfig-doc to xfig package. + * Suggest xfig-doc (instead of Recommend it). + * Changed w_help.c to tell you that you have to install xfig-doc, when + the documentation is missing. + * Moved documentation from /usr/X11R6/lib/X11/xfig to /usr/doc/xfig-doc. + * Registered documentation using doc-base. + + -- Roland Rosenfeld <roland@debian.org> Wed, 13 Jan 1999 12:27:37 +0100 + +xfig (1:3.2.2-2) frozen unstable; urgency=low + + * New maintainer + - Please include in slink so that the maintainer field is correct. + * Converted to debhelper + * Updated standards version to 2.5.0.0 + * Passes Lintian v0.9.4 + * Added suggests: xfig to xfig-doc + + -- Edward Betts <edward@debian.org> Thu, 3 Dec 1998 16:53:38 +0000 + +xfig (1:3.2.2-1) unstable; urgency=low + + * New upstream release. + + -- Enrique Zanardi <ezanard@debian.org> Mon, 13 Jul 1998 16:09:07 +0100 + +xfig (1:3.2.0-2) unstable; urgency=low + + * Use double constants for M_PI and M_PI_2, instead of long double + constants as defined in /usr/include/math.h. + + -- Enrique Zanardi <ezanardi@molec1.dfis.ull.es> Mon, 20 Oct 1997 18:11:06 +0100 + +xfig (1:3.2.0-1) unstable; urgency=low + + * New upstream version (Bug#12429) + * New maintainer + * Pristine sources + * Allows choosing metric units as default in postinst (Bug#7931) + * postinst doesn't prompt if called with abort-* (Bug#12606) + * Does not depends on elf-x11r6lib (Bugs#11379, 12893, 13072) + + -- Enrique Zanardi <ezanardi@molec1.dfis.ull.es> Sat, 27 Sep 1997 19:37:56 +0100 + +xfig (3.2.0-beta3-3) unstable; urgency=low + + * Fixed the link to "Fig-default" in postinst, solving bug#6719 + + -- joost witteveen <joost@rulcmc.leidenuniv.nl> Mon, 20 Jan 1997 17:35:38 +0100 + +xfig (3.2.0-beta3-2) unstable; urgency=low + + * changed '#include "Fig"' to '#include "Fig-mono" in Fig-color, + fixing Bug#6687 + + -- joost witteveen <joost@rulcmc.leidenuniv.nl> Mon, 20 Jan 1997 10:01:55 +0100 + +xfig (3.2.0-beta3-1) unstable; urgency=low + + * new upstream version + + -- joost witteveen <joost@rulcmc.leidenuniv.nl> Sun, 19 Jan 1997 14:06:00 +0100 + +xfig (3.1.4b-6) stable unstable; urgency=low + + * recompiled to remove the libc5_5.4.17-1 dependancy. + (now only depends on libc5_5.4.13-1). + + -- joost witteveen <joost@rulcmc.leidenuniv.nl> Tue, 14 Jan 1997 20:29:30 +0100 + +xfig (3.1.4b-5) stable unstable; urgency=low + + * changed application name back to Fig (upstream maintainer request) + * converted to new source format + * added menu file to package + * added a few doc's. + + -- joost witteveen <joost@rulcmc.leidenuniv.nl> Sat, 4 Jan 1997 21:46:56 +0100 +Wed May 3 16:38:07 EDT 1995 D.J. Gregor <dgregor@coil.com> + + xfig-3.1.3-0: (unreleased) + + * First version, unreleased because of too many bugs + + * Made postinst script to install either color or mono + app-defaults. + + + xfig-3.1.3-1: + + * Fixed problems in postinst script, and added postrm + script to remove link made by postinst. + + * Added DEPENDS line to control file + + * Fixed problem that caused postinst and postrm to not + be put in the .deb file. + + +Fri May 19 18:10:30 EDT 1995 D.J. Gregor <dgregor@coil.com> + + xfig-3.1.3-2: + + * Added transfig to Recommended: line. + + * Removed a few lines in Makefile that placed files in + /usr/X11R6/lib/X11/app-defaults on the build machine + when being built. + + * Modified Postinst to use c/m instead of color/mono to + select app-defaults file. + + +Mon Jun 12 18:42:51 EDT 1995 D.J. Gregor <dgregor@coil.com> + + xfig-3.1.3-3: + + * Changed postinst to not ask about installing the Xfig + link if it is already in place. If xfig is already + installed, it won't ask about using a color/mono app- + defaults file. + + +Sun Aug 20 12:54:10 EDT 1995 D.J. Gregor <dgregor@coil.com> + + xfig-3.1.3-4: + + * Fixed Depends: line in debian.control for new X11 packages + + +Mon Oct 30 21:45:16 EST 1995 D.J. Gregor <dgregor@gregor.com> + + xfig-3.1.3-5: + + * Edited Depends: line again - replaced xbase with X11R6 + + # Updated maintainer's e-mail address in debian.control + + * Modified debian.postrm script to only remove the Xfig + app-defaults file when it is purged. + + * Thinking about possibly moving Xfig app-default link to + somewhere in /etc/X11 ??? Ideas that can be standardized + anyone? + + * Added debian.ChangeLog file to archive - was previously + outside of the archive. + +somewhere early may/late april 1996 Michael Meskes <meskes@debian.org> + + * xfig 3.1.3-6 + + * ELF release. + +Fri May 17 13:18:44 1996 joost witteveen <joostje@debian.org> + + * xfig-3.1.4-1 + + * upgreaded upstream source. + + * changed maintainers + + * changed Imakefile as described in README for libjpeg + + * added libjpeg dependancy to debian.control --- xfig-3.2.5.b.orig/debian/xfig64x64.xpm +++ xfig-3.2.5.b/debian/xfig64x64.xpm @@ -0,0 +1,323 @@ +/* XPM */ +static char *xfig64x64[] = { +/* columns rows colors chars-per-pixel */ +"64 64 253 2", +" c #050804", +". c #041004", +"X c #041804", +"o c #1A0A04", +"O c #141A04", +"+ c #052004", +"@ c #072804", +"# c #082F05", +"$ c #073707", +"% c #143204", +"& c #14380A", +"* c #260F05", +"= c #2F1C15", +"- c #341404", +"; c #3F180A", +": c #2C3614", +"> c #342214", +", c #342818", +"< c #343234", +"1 c #074008", +"2 c #084808", +"3 c #07580D", +"4 c #0A500F", +"5 c #14400A", +"6 c #14480E", +"7 c #14500E", +"8 c #145812", +"9 c #1F5717", +"0 c #066813", +"q c #086011", +"w c #0A7015", +"e c #0F781D", +"r c #146016", +"t c #146818", +"y c #1D6012", +"u c #1E6F16", +"i c #1E6818", +"p c #117611", +"a c #147019", +"s c #1C7720", +"d c #1C7228", +"f c #1C7F21", +"g c #24791F", +"h c #401E13", +"j c #43251E", +"k c #4C2413", +"l c #4F2A1E", +"z c #422A20", +"x c #412F27", +"c c #443A24", +"v c #522F28", +"b c #522A32", +"n c #51372F", +"m c #5C3231", +"M c #60301F", +"N c #603629", +"B c #6C3521", +"V c #6C3C2F", +"C c #603B30", +"Z c #623C3F", +"A c #793D26", +"S c #613247", +"D c #633642", +"F c #6C3644", +"G c #6C3B46", +"H c #753E49", +"J c #47511C", +"K c #5C4234", +"L c #5E4732", +"P c #6C4834", +"I c #605E24", +"U c #78422E", +"Y c #7A4730", +"T c #7C4F3F", +"R c #785030", +"E c #78563F", +"W c #74622C", +"Q c #4F4947", +"! c #6C4846", +"~ c #685048", +"^ c #7B4246", +"/ c #7C4745", +"( c #74514F", +") c #795651", +"_ c #766667", +"` c #746E6C", +"' c #10801E", +"] c #138820", +"[ c #148E25", +"{ c #1C8E24", +"} c #1C892A", +"| c #1C9428", +" . c #1B9C2C", +".. c #1CA22C", +"X. c #25811F", +"o. c #248822", +"O. c #278E20", +"+. c #259425", +"@. c #279B29", +"#. c #25A430", +"$. c #748634", +"%. c #844225", +"&. c #844830", +"*. c #8C4930", +"=. c #84503C", +"-. c #805C3E", +";. c #8E5B3D", +":. c #9C522E", +">. c #925132", +",. c #945638", +"<. c #9E5834", +"1. c #A45E39", +"2. c #AE5E39", +"3. c #AE643E", +"4. c #844847", +"5. c #84534C", +"6. c #8F5B4E", +"7. c #805E54", +"8. c #904A52", +"9. c #924F52", +"0. c #945651", +"q. c #9C5150", +"w. c #846A4C", +"e. c #896240", +"r. c #87645E", +"t. c #9B6F4F", +"y. c #9A6350", +"u. c #9C6A52", +"i. c #8A6A69", +"p. c #84767C", +"a. c #8C7274", +"s. c #996960", +"d. c #94766C", +"f. c #997169", +"g. c #A05E4F", +"h. c #A05853", +"j. c #AC5E54", +"k. c #A4634B", +"l. c #A46F4E", +"z. c #A46A51", +"x. c #A46A5C", +"c. c #AC6554", +"v. c #AC6A54", +"b. c #A27759", +"n. c #AC715C", +"m. c #B36A43", +"M. c #BC6843", +"N. c #BD704A", +"B. c #B27052", +"V. c #B17859", +"C. c #B27E5B", +"Z. c #BC7852", +"A. c #A47264", +"S. c #AE786A", +"D. c #A07972", +"F. c #A17F79", +"G. c #BC7A64", +"H. c #C5774E", +"J. c #BC8059", +"K. c #A48264", +"L. c #AC8664", +"P. c #AE8069", +"I. c #B68E6A", +"U. c #BC806F", +"Y. c #BB8863", +"T. c #B9877C", +"R. c #CA8055", +"E. c #D4825A", +"W. c #D0895B", +"Q. c #DC885F", +"!. c #DC915F", +"~. c #C48A60", +"^. c #C48879", +"/. c #CD8D7F", +"(. c #C4966C", +"). c #CC986C", +"_. c #CF9F6F", +"`. c #D29062", +"'. c #DE9966", +"]. c #CCAA74", +"[. c #ED9967", +"{. c #EF9F69", +"}. c #FC9A74", +"|. c #E2A06E", +" X c #E3A774", +".X c #EDA870", +"XX c #E4B078", +"oX c #EFB97F", +"OX c #F3AF77", +"+X c #FCAA74", +"@X c #FCB076", +"#X c #FCB87E", +"$X c #888084", +"%X c #94868C", +"&X c #A7888F", +"*X c #AA8784", +"=X c #B98B84", +"-X c #B99391", +";X c #BC9A99", +":X c #AC9AA0", +">X c #B09EA8", +",X c #BFADB4", +"<X c #C48E84", +"1X c #C4948E", +"2X c #CF9285", +"3X c #D1998E", +"4X c #D49F96", +"5X c #DD9D90", +"6X c #C4A4A8", +"7X c #CEAEAE", +"8X c #C4B2B4", +"9X c #D4A6A0", +"0X c #D5BABE", +"qX c #E0A297", +"wX c #E4A694", +"eX c #E3A89E", +"rX c #ECA99D", +"tX c #E2B982", +"yX c #FCA284", +"uX c #F0A290", +"iX c #FCAA94", +"pX c #F1BF87", +"aX c #FCB29C", +"sX c #E4AEA6", +"dX c #E4B6B0", +"fX c #F0B0A5", +"gX c #F1B7AD", +"hX c #F0BFBA", +"jX c #FCBAB1", +"kX c #DCD294", +"lX c #E0C68C", +"zX c #ECC68C", +"xX c #ECD094", +"cX c #E9DD9C", +"vX c #FCC084", +"bX c #FBC88B", +"nX c #FBD092", +"mX c #FCD898", +"MX c #FCC1B5", +"NX c #FCE09C", +"BX c #F9E6A4", +"VX c #FBF7B0", +"CX c #D9C1C4", +"ZX c #EAC8C4", +"AX c #E4CED4", +"SX c #E9D9DF", +"DX c #F8C9C3", +"FX c #F7D0CB", +"GX c #F8D7D3", +"HX c #FBE1E0", +"JX c #FAE8E6", +"KX c #FCEFF0", +"LX c #FCFAFA", +/* pixels */ +"m.3.M.m.m.M.N.M.N.N.N.N.N.N.N.N.H.N.H.H.Z.H.H.Z.H.H.Z.H.H.Z.N.H.N.N.N.N.N.N.M.m.m.m.3.3.3.3.3.3.1.2.1.<.<.<.<.<.<.:.<.>.:.>.:.>.", +"m.M.m.m.N.m.N.m.N.N.N.N.N.H.N.H.N.H.Z.N.H.N.Z.H.Z.Z.H.Z.Z.H.H.N.H.H.N.N.N.N.t.m.M.m.M.m.3.3.3.2.2.1.1.1.2.<.<.<.:.:.:.:.:.:.>.>.", +"m.m.m.M.m.N.N.N.N.N.N.N.N.H.N.H.Z.H.Z.H.Z.H.Z.H.Z.H.Z.H.Z.H.Z.H.Z.N.H.H.N.$.[ w 3.m.m.m.3.3.3.2.1.2.1.<.1.<.<.<.<.<.:.:.:.>.>.:.", +"3.m.N.m.M.N.M.N.N.N.N.H.N.H.Z.H.Z.Z.H.Z.Z.R.Z.J.H.Z.J.Z.R.Z.Z.Z.Z.H.Z.Z.3.3 p ' q m.m.M.m.3.3.3.3.1.1.2.<.1.<.<.<.:.,.:.:.>.>.>.", +"M.M.m.N.N.m.N.N.N.N.H.N.Z.Z.Z.Z.Z.H.J.Z.J.Z.J.Z.J.J.H.J.Z.J.H.J.Z.Z.Z.Z.1.@ q f q I m.m.m.m.3.3.2.1.2.1.1.<.<.<.<.:.,.:.:.:.>.>.", +"m.m.N.m.N.N.N.N.N.Z.N.Z.Z.H.Z.H.Z.J.Z.J.H.J.J.J.R.J.J.J.J.J.J.Z.J.H.Z.Z.Z.k.1 p i 3 R N.m.3.m.3.3.3.1.1.1.1.<.<.<.<.,.>.:.>.>.>.", +"m.N.m.N.N.N.N.N.Z.N.Z.Z.Z.Z.Z.J.Z.J.Z.J.J.J.J.J.J.J.J.J.J.J.H.J.J.Z.J.Z.Z.l.$ 6 8 3 $ ,.m.m.m.3.3.1.3.1.1.<.1.<.:.<.:.:.>.:.>.>.", +"N.m.M.N.N.N.N.Z.N.Z.Z.Z.Z.Z.Z.Z.J.R.J.J.J.J.R.J.J.J.J.J.R.J.J.J.J.J.J.Z.R.B.@ 2 4 3 q 4 J m.m.3.m.1.2.1.1.1.<.<.<.,.,.,.:.>.>.>.", +"m.N.N.N.N.N.N.Z.Z.Z.Z.Z.Z.J.J.J.J.J.J.J.J.J.J.Y.J.J.J.Y.J.J.J.J.J.J.Z.J.Z.u.$ 3 q w w r 0 q -.3.3.3.3.1.1.1.<.<.<.<.:.,.>.>.>.>.", +"m.N.m.N.m.Z.N.Z.N.Z.Z.Z.J.Z.J.Z.J.J.J.J.J.Y.J.Y.J.Y.Y.J.Y.J.Y.J.J.J.J.J.C.L 1 3 q q 9 ] ' w 4 -.m.3.1.1.1.1.1.<.<.:.,.:.>.>.>.>.", +"N.N.N.N.Z.B.Z.B.Z.Z.Z.Z.J.Z.J.C.J.C.Y.Y.Y.J.Y.Y.Y.Y.J.Y.Y.Y.J.Y.J.J.J.J.z.$ 4 2 6 t ' ' ' ' 0 2 -.3.3.1.1.1.<.<.<.,.<.,.>.>.>.>.", +"M.B.N.B.N.N.Z.Z.Z.Z.V.Z.J.C.J.J.J.Y.J.C.Y.Y.Y.Y.Y.Y.Y.Y.Y.Y.Y.J.Y.Y.J.C.R 1 2 $ 3 0 0 w w 0 0 q 4 1.k.1.1.1.<.1.<.,.:.>.:.>.>.>.", +"N.B.N.N.V.N.V.Z.V.Z.J.J.C.J.J.C.Y.J.Y.Y.Y.Y.Y.Y.Y.Y.Y.Y.Y.Y.Y.Y.C.Y.C.b.: $ $ 6 q q 0 0 0 3 q q q 3 -.3.1.1.1.;.<.<.,.>.>.>.>.*.", +"B.N.B.N.Z.B.Z.Z.Z.Z.V.Z.J.C.J.J.Y.Y.C.Y.Y.Y.Y.Y.Y.Y.Y.Y.Y.Y.Y.Y.Y.J.Y.E @ $ 4 3 q q 0 0 q q 0 w 0 q 3 J 1.g.<.<.<.<.>.<.>.>.>.>.", +"N.N.B.N.B.Z.V.Z.V.,.C.J.J.m.B.l.B.b.V.t.t.b.C.K.C.L.I.Y.L.Y.L.Y.Y.Y.b.c $ 2 4 q q 0 e ' w w ' ' ' ' w 0 3 R 1.<.<.,.,.>.>.>.>.*.", +"B.N.B.N.V.N.V.Z.l.N.I.].lXNXNXNXNXmXmXmXmXnXxX|.-.I.I.b.Z.).(.).(.(.B.;.-.-.W I q ' ] ' ' [ [ [ [ [ ' w w q J ,.,.<.>.:.>.>.*.>.", +"B.N.B.Z.B.Z.V.Z.,.B >.3.E.tXNXNXNXBXBXnX~.~.R.R.e.Y.I.e.W._.lXcXVXVXVXVXkXkXbXV.u ] [ ] ] .[ . .[ ] ' ' w 3 2 R <.,.,.>.>.>.>.", +"B.N.B.B.N.V.Z.V.P o * - %.`.mXNXNXNXNXnXR.l l - b.Y.Y.n M *.Z..XBXVXzX!.W.H.Z.-.] [ [ | | ..... . .' ] ' ' 0 3 2 Y >.9.>.>.=.*.", +"B.B.N.V.B.Z.V.V.Y o o o - m.tXNXNXNXNXBXR.h o > K.I.w.o o - m.mXVXXXQ.k.l * * y ] | | | ......... .[ ] ' ' w q 2 2 R >.>.>.*.>.", +"N.B.B.N.V.B.Z.V.E o o o o A ~.mXmXmXNXNXoX=. K I.I.L - >.zXcXXXQ.Y * o & p [ | . .@.#.#..... .{ | ' ] ' 0 3 1 1 *.>.>.=.*.", +"B.B.B.B.V.Z.V.V.=.o o o o - H.bXmXNXmXNXnXm.o t.L.K.o o U XXcX XE.V o O & t s } | | O.+.#.#.#...@.{ { s ' e w 3 1 1 $ =.*.>.*.", +"B.B.N.B.N.V.V.V.y.c j o o * ,. XmXmXmXmXmX'.n K.I.w.o A _.xX XN.N o # 4 q a e a ] | @.@.@.#.#.#.@. .O.{ f ] e 0 3 2 1 $ n >.9.*.", +"B.B.B.V.B.V.V.Z.V.V.C.t.o o ; N.mXmXmXmXmXoX1.I.I.L.V ~.zX XB.M # 2 3 q a p s } | O.@.#.@.@.@.+.@.| f ] ' ' 0 3 2 1 1 # *.=.*.", +"B.B.B.B.V.B.V.V.V.C.C.C.E o - 3. XnXmXmXmXmXH.d.Y.t.Z.nX|.N.j # 1 4 3 t a u u f { O.+.@.@.@.@.O.+.{ } f f p q 2 1 1 $ # n >.4.", +"B.B.B.B.B.V.V.V.V.V.C.C.V.o o A W.nXnXnXmXnX|.e.b.V.bX|.m.j @ # 1 4 2 q t a e X.f o.O.+.+.O.+.+.o.f s a p a q 4 2 1 1 @ , &.*.", +"v.B.B.B.V.B.Z.V.V.G.S.V.C.L o ; H.tXnXnXnXnXbX1.m.pX Xm.j X $ # 1 2 2 r t a u s u X.o.o.O.X.o.} X.s s t a t q 1 1 1 $ # + &.4.", +"B.v.B.B.n.B.V.V.V.V.C.C.P.u.o * <.'.nXnXnXnXnXQ.tX X1.l . @ # # $ 4 4 q r i y s u X.f o.o.X.X.f i u s r a q 4 2 2 1 # @ + C >.", +"v.B.B.n.B.V.n.n.V.V.V.V.C.C.o o M H.bXbXnXbXnXbXoXz.M x . + # $ # 2 6 4 8 r r d i u g f f f i f u i t 7 t q 4 $ $ 1 $ @ + v &.", +"B.v.B.B.B.n.B.V.V.V.S.V.P.V.-.o - 2._.bXbXbXnXbX`.N o -.E . + @ # # 1 1 7 8 8 9 i y i g s s g 9 d t t r 2 r 3 1 $ 1 $ $ @ X l 4.", +"v.B.v.B.n.B.V.n.V.S.V.S.V.S.t.o o *.H.bXbXbXbXbX'.V E L.~ . X @ # # 1 1 2 7 8 7 r y y u u u i y d 8 r 8 6 3 2 1 # $ # @ + X x &.", +"v.v.B.v.B.n.B.n.V.B.V.V.V.P.V.K o k N.vXbXbXbXbXoX1.K.P.E . X @ @ # $ $ 5 7 7 6 9 r y r t i t 7 r 8 r 6 2 4 2 1 $ $ # + X . > 4.", +"v.v.v.B.B.B.n.B.n.n.V.S.V.V.S.-.o k N.#XvXvXvXvXbXR.;.P.-.. X + @ @ # 1 $ 2 6 6 7 8 7 y r 8 9 5 r 7 7 $ 1 6 1 $ @ @ @ @ X . l &.", +"v.v.v.v.n.n.B.n.n.V.n.V.V.V.V.S.h <. XoXvXvXbXvXvX{.,.C.e.. X X + @ + $ % $ 6 5 6 7 7 8 8 8 5 7 7 2 5 # 2 1 $ # @ @ @ + X v / ", +"c.v.v.v.v.v.n.n.n.n.n.A.V.A.V.y.1.|.oXW.W.vXvXvXvXvX3.s.f.. . X + + + # # $ 5 2 & 6 5 6 7 6 5 2 6 6 1 @ 1 $ # @ @ + + . . B / ", +"v.v.v.v.v.v.n.v.n.n.n.V.A.V.u.<.'.#XW.:.1.vX#XvXvX#XW.,.V.= . X X + X @ @ % # & & 5 & 6 5 6 # 6 1 $ # @ $ # @ @ + + X . U ^ ", +"m.c.c.v.v.n.v.v.n.n.n.v.n.l.<.`.#X`.A ; M.|.vX#X#X#XOX,.l.K X X X X + @ + % $ # & $ & 1 & # 5 # % # @ # # + X X X . j U / ", +"c.c.c.v.c.v.v.v.n.v.n.n.l.>.W.#X`.U * * >.N.#X#X#X#X#XN.-.y. . X + X + + + @ % @ % @ % # % # # @ @ @ + @ + X X X . m ^ U ", +"c.c.c.c.v.v.v.v.v.v.v.z.>.W.#X{.<.* o o B 3.{.#X#X#X#X'.>.n.x X X X X + + O + @ + @ @ @ + % @ + + + X X X X . . = U ^ ^ ", +"c.c.c.c.c.v.v.v.n.v.z.>.R.@X'.<.h , v o - <.W.#X@X@XOXOX<.y.y. . X X Q 6XSXKXAX$XO @ Q %X` O + + X X X . . . . F U ^ U ", +"c.k.c.c.c.c.c.c.x.k.,.R.@X.X3.l z y.y.o * %.<.@X@XoX@XOXR.=.v.T . . _ hXGXHXHXKXHX$Xa.FXLXKX,XX X . . X . . l Y ^ ^ ^ ", +"c.j.c.k.c.z.c.v.k.,.R.@X+XB.M ;.x.n.= * ; 2.'.OX@XOXOX|.>.k.x.v Q sXFXDXMXMXMXgX;X3XFXFXDXhX` . . . . . . * H ^ U ^ U ", +"j.g.c.g.c.c.x.g.>.R.@X{.R.A o T v.v.l./ o - :.m.OXOXOXOX.X1.=.v.y.- *XMXDXrX[.aXjX4Xi.U.aXjXjX4X_ . . . = G U ^ ^ H H ", +"j.c.j.c.j.k.g.:.R.@X@XR.%.* P c.v.x.v.y.o o M 2.'.OX.XOX.X`.%.c.x.x.qXMXMX3X5.m.J.5.z 4.[.uX3XA.x . * G / ^ U U H U ", +"j.1.j.g.c.0.:.E.+X@XE.>.h m k.x.x.c.x.c.C o ; <.R.OX.X.X.X.X<.=.c.A.rXMXjX=Xn M l = o k A 5.T r.. < _ i.T ^ ^ H H H H ", +"h.h.<.,.>.:.Q.+X@X{.2.M z 6.c.c.k.c.x.c.=.o k :.H..X.X.X.X.XW.&.S.<XgXjXfX-X,X,X;X:X8XAXKXKXHX&X p.0XJXLXKXHX0X0X0X8X6XH ", +"&.2.m.H.E.{.@X@X+X+XM.M.2.1.,.h.c.k.0.>.<.<.<.3.'..X.X.X.X|..XZ.>.U./.5XZXKXLXLX,XHXLXKXHXFX7X~ %XFXLXJXFXDXDXHXLXLXLX8XC ", +"&.2.!.!.Q.[.[.[.[.'.'.{.[.N.*.g.k.c.m :.R.!.'.|..X.X.X{. X.X|.|.'.W.<.6.jXgXjXfX1X5XfXfXfXfX-XK v N i.hXHXDXeX<X/.fXrXeXeXwX*XD ", +"M %.A %.A A A A %.%.%.%.%.%.%.g.g.0.; A %.*.%.%.%.%.%.%.%.*.*.>.=.&.>.D.^.n.z.v.=Xy.v.qXfXsXT.! 4./ =XDXGXfX<XT G.aXfXeXA.g.f.Z ", +"m o o o o o o o o o o o o o V j.j.=.o o o * o * o * * o * * * h C s.S.2X1XC M M l n ^.fXfXeXD.H 4.! 4XMXfXeXf.n <XjXeXeXF.l k C ", +"q.H N B N F N V F V V F N C 9.g.g.4.v v v l v j l j j z j j > j y.qXgXfX=X! G V V P 5XgXfXqXi./ 4.n 2XfXsXeXf._ fXFXfXqXf.D m G ", +"h.h.h.h.j.h.h.h.1.h.h.h.j.h.h.g.j.h.h.h.h.h.h.h.h.h.h.h.h.h.0.0.S.qXfXfX*XT 9.8.9.) qXfXfX3X7./ / z G.iXsXeX*XCXGXFXeX1X) D G F ", +"q.2.q.j.q.h.h.j.h.h.j.h.h.h.j.h.h.h.h.g.h.h.g.h.6.h.0.h.0.0.0.9.P.rXfXeXF./ 9.5./ y.eXfXfX1X~ / ^ j / }.rXeXhXLXHXdX5Xf.v F G G ", +"h.q.h.q.2.q.h.q.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.0.0.0.9.h.9.5.^.rXfXqXf.4.4.8./ S.rXfXeXT.! ^ ^ m k >.}.eXrXfXsX<Xy.C D G F D ", +"q.q.q.q.q.q.h.q.2.q.h.q.h.h.q.h.h.h.h.h.0.h.9.0.9.q.0.q.0.9.9.5.2XuXfX4X_ 8.5.4.G =XrXrXeXF.( &X-XH l r.eXGXqXs.6.Y v m F Z F F ", +"q.h.h.h.h.q.h.q.q.q.h.q.q.h.h.q.q.9.q.9.h.9.h.9.h.9.9.9.9.9.,.0.3XrXfX2X7.4.4.4.C /.rXrXqX;XSXKX:XH r.;XfXgXeXDXhX0X%XH G F D F ", +"q.q.q.q.q.h.q.q.q.q.q.h.q.q.q.h.9.h.h.9.q.0.9.9.9.9.9.,.9.9.9.6.5XfXrX=X( 4.4.4.C ^.rXeXrXHXKXZXd.&XZXKXHXeXeXeXfXMXFXCX) D F D ", +"q.q.q.q.q.q.q.q.h.q.q.q.q.q.9.q.9.q.9.9.q.9.9.9.9.9.9.9.9.5.8.A.qXiXeXP.! 4.4.4.m g.yXrXeXeX3XU.D.dXJXGXeXU.^.5XeXqXsXhX7XG D D ", +"q.q.q.q.q.q.q.q.q.q.q.q.q.9.<.9.q.9.q.9.9.9.9.9.9.9.8.9.4.8.4.U.eXrX3Xi.H 4.4.^ H M <.c.z.g.=.N r.gXDXqXP.T &.g.U.5XqXqX9Xi.D S ", +"q.q.q.q.q.q.q.q.q.q.9.q.9.q.9.9.9.9.,.9.9.9.9.9.9.4.9.s.0X0X*X5XrXrXP.! 4.^ ^ ^ ^ D l M M m m l S.rXrXqXT.n h M U H.rXqX3Xi.S D ", +"q.8.q.8.q.8.8.q.8.q.9.q.9.8.q.8.q.9.8.8.9.8.9.8.8.8.5.4XGXLXLXfXrX/.y.G ^ 4.^ ^ H ^ ^ H H H H b 6.yXeXqX9X7X>X,X0XFXhXqXT.! D S ", +"q.8.q.8.q.8.q.8.q.8.q.8.8.q.8.8.8.8.8.9.8.8.4.8.4.8./ 2XfXgXDXhX5Xs.D H ^ ^ ^ ^ H H H H H G H m N E.iXqXeXhXHXLXLXJXdX2X7.b D S ", +"q.8.8.8.8.q.8.q.8.8.8.q.8.8.8.8.8.8.8.8.8.8.4.8.4.8.^ B.uXrXiX2Xy.C G 4.H 4.H H H H H H H G H F h ^ H.2XqXqXsXfXdXqXU.5.n S S S ", +"8.8.q.8.8.8.8.8.q.8.8.8.8.8.8.8.8.8.8.4.8.4.8.4.4.4.4.%.c.G.n.5.M G ^ H ^ H H ^ H H H G H F G F F h A 9.g.n.U.S.x.=.C m S S S S ", +"8.8.8.8.q.8.8.8.8.8.8.8.8.8.8.8.8.4.8.4.8.4.8.4.8.^ 4.H B B M m H H ^ ^ H H H H H H H F H F G F G F b l M V N M M b b S S S S S " +}; --- xfig-3.2.5.b.orig/debian/xfig-pdf-viewer +++ xfig-3.2.5.b/debian/xfig-pdf-viewer @@ -0,0 +1,69 @@ +#! /bin/sh +# +# $Id: xfig-pdf-viewer,v 1.4 2006-07-22 16:14:39 roland Exp $ +# +########################################################################## +# +# xfig-pdf-viewer is a little shell script, which tries to find out +# which PDF viewer you have installed on your system and then starts +# them. The environment variable PDFVIEWER has priority over all other +# viewers. +# See xfig-pdf-viewer(1) man page for more information. +# +########################################################################## +# +# Copyright (C) 1999-2006 Roland Rosenfeld <roland@spinnaker.de> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 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. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# +########################################################################## + +if [ "$1" = "-n" ]; then + echo "No viewer found in xfig-pdf-viewer(1), please set PDFVIEWER" + echo "environment variable or install a PDF viewer" + read dummy + exit 0 +fi + +if [ $# -ne 1 ]; then + echo "Usage: $0 file.pdf" + exit 0 +fi + +if [ "$PDFVIEWER" != "" ]; then + : +elif type xpdf >/dev/null 2>&1; then + PDFVIEWER=xpdf +elif type kpdf >/dev/null 2>&1; then + PDFVIEWER=kpdf +elif type evince >/dev/null 2>&1; then + PDFVIEWER=evince +elif type acroread >/dev/null 2>&1; then + PDFVIEWER=acroread +elif type gpdf >/dev/null 2>&1; then + PDFVIEWER=gpdf +elif type gv >/dev/null 2>&1; then + PDFVIEWER=gv +elif type gnome-gv >/dev/null 2>&1; then + PDFVIEWER=gnome-gv +elif type kghostview >/dev/null 2>&1; then + PDFVIEWER=kghostview +elif type ghostview >/dev/null 2>&1; then + PDFVIEWER=ghostview +else + exec x-terminal-emulator -e $0 -n +fi + +exec $PDFVIEWER "$1" --- xfig-3.2.5.b.orig/debian/xfig-doc.dirs +++ xfig-3.2.5.b/debian/xfig-doc.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/doc/xfig --- xfig-3.2.5.b.orig/debian/preinst +++ xfig-3.2.5.b/debian/preinst @@ -0,0 +1,52 @@ +#! /bin/sh +# preinst script for xfig +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <new-preinst> `install' +# * <new-preinst> `install' <old-version> +# * <new-preinst> `upgrade' <old-version> +# * <old-preinst> `abort-upgrade' <new-version> +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + # + # Remove xaw-wrapper from older versions: + # + if [ -x /usr/sbin/update-xaw-wrappers ] && [ -L /usr/X11R6/bin/xfig ] + then + update-xaw-wrappers --off xfig + rm -f /usr/X11R6/bin/xfig + fi + for dir in /usr/lib/xaw-wrappers/conf /usr/lib/xaw-wrappers/config \ + /usr/share/xaw-wrappers/config + do + if [ -f $dir/xfig ] + then + rm -f $dir/xfig + fi + done + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- xfig-3.2.5.b.orig/debian/xfig16x16.xpm +++ xfig-3.2.5.b/debian/xfig16x16.xpm @@ -0,0 +1,276 @@ +/* XPM */ +static char *xfig16x16[] = { +/* columns rows colors chars-per-pixel */ +"16 16 254 2", +" c #011301", +". c #011F02", +"X c #041A03", +"o c #111008", +"O c #052F05", +"+ c #072D05", +"@ c #063205", +"# c #053F07", +"$ c #063E07", +"% c #083104", +"& c #0A3907", +"* c #0E3F08", +"= c #10260D", +"- c #1D2516", +"; c #22241F", +": c #24241D", +"> c #232B14", +", c #2C2715", +"< c #2D2F15", +"1 c #38241B", +"2 c #37301D", +"3 c #3C351A", +"4 c #0A470B", +"5 c #0D4108", +"6 c #11470D", +"7 c #114D0E", +"8 c #145813", +"9 c #195F14", +"0 c #086211", +"q c #0F6214", +"w c #0E6C16", +"e c #0A7519", +"r c #0F7619", +"t c #116014", +"y c #146415", +"u c #146E18", +"i c #1A6517", +"p c #1D781D", +"a c #1F7A1D", +"s c #33431A", +"d c #3E5A24", +"f c #31661F", +"g c #2A6E20", +"h c #5F342F", +"j c #5E3824", +"k c #683E29", +"l c #733F36", +"z c #6B3740", +"x c #693C48", +"c c #723C46", +"v c #773F47", +"b c #415422", +"n c #435D20", +"m c #574F23", +"M c #5F413F", +"N c #55602A", +"B c #68442A", +"V c #7A472E", +"C c #774137", +"Z c #704832", +"A c #714B36", +"S c #714C35", +"D c #744E33", +"F c #78453B", +"G c #7C4339", +"H c #7D443A", +"J c #725C2D", +"K c #616332", +"L c #7D6E36", +"P c #505B43", +"I c #5D634D", +"U c #6A514D", +"Y c #70414A", +"T c #7D4748", +"R c #7A4C4C", +"E c #6E6D5B", +"W c #1E8925", +"Q c #1F8E24", +"! c #159125", +"~ c #1F9126", +"^ c #1B9B2A", +"/ c #238521", +"( c #259D2A", +") c #80443A", +"_ c #8D4E33", +"` c #885033", +"' c #8F573F", +"] c #8F5E36", +"[ c #925131", +"{ c #925032", +"} c #945131", +"| c #965130", +" . c #965434", +".. c #92543D", +"X. c #96553A", +"o. c #995533", +"O. c #9B5430", +"+. c #9A5432", +"@. c #9F5934", +"#. c #9F643B", +"$. c #9B683B", +"%. c #A05A36", +"&. c #A35B38", +"*. c #A75D38", +"=. c #AA603B", +"-. c #B1643E", +";. c #874B42", +":. c #814D4D", +">. c #8C4D44", +",. c #8A484D", +"<. c #8E4A50", +"1. c #845141", +"2. c #815C42", +"3. c #8F5342", +"4. c #8A514C", +"5. c #885B46", +"6. c #875251", +"7. c #8C5754", +"8. c #964F4F", +"9. c #914A51", +"0. c #934B51", +"q. c #914D50", +"w. c #934C51", +"e. c #944F50", +"r. c #935553", +"t. c #955251", +"y. c #915850", +"u. c #935F58", +"i. c #975859", +"p. c #995050", +"a. c #9A5050", +"s. c #9A5553", +"d. c #9D5552", +"f. c #9F5450", +"g. c #9E5552", +"h. c #9A5A56", +"j. c #885B60", +"k. c #946B4D", +"l. c #986F4B", +"z. c #986F4D", +"x. c #94625C", +"c. c #9D6860", +"v. c #A05550", +"b. c #A05551", +"n. c #A26F4A", +"m. c #AB6F48", +"M. c #A96150", +"N. c #AB6553", +"B. c #AA6854", +"V. c #AC6953", +"C. c #AE6C53", +"Z. c #AF6E53", +"A. c #AC6D56", +"S. c #A37452", +"D. c #A87552", +"F. c #AD7050", +"G. c #AC7355", +"H. c #AF7157", +"J. c #AC715A", +"K. c #B06D47", +"L. c #B56943", +"P. c #B36E4A", +"I. c #B86C45", +"U. c #BA6C46", +"Y. c #B96E49", +"T. c #BC6F49", +"R. c #B06A51", +"E. c #B06F53", +"W. c #B1754E", +"Q. c #B8704E", +"!. c #BA734E", +"~. c #BD704A", +"^. c #BD734C", +"/. c #BF734C", +"(. c #BD744E", +"). c #B37151", +"_. c #B37652", +"`. c #B07454", +"'. c #B17457", +"]. c #B67150", +"[. c #B67351", +"{. c #B77750", +"}. c #B67753", +"|. c #B57850", +" X c #B47B56", +".X c #B0795B", +"XX c #B1785D", +"oX c #BF7750", +"OX c #BB7852", +"+X c #B97B56", +"@X c #BB7C51", +"#X c #BD7851", +"$X c #BD7953", +"%X c #BF7850", +"&X c #BF7851", +"*X c #BD7C55", +"=X c #BD7D56", +"-X c #BD7E57", +";X c #BD7F57", +":X c #A3756A", +">X c #A27671", +",X c #A57B76", +"<X c #AF7B75", +"1X c #B37B71", +"2X c #C0764F", +"3X c #C77F56", +"4X c #AB855D", +"5X c #AD825A", +"6X c #B9805A", +"7X c #BB835D", +"8X c #BB845E", +"9X c #BB855F", +"0X c #AF857C", +"qX c #B58460", +"wX c #B78F61", +"eX c #BC806B", +"rX c #BD8C65", +"tX c #BE8D66", +"yX c #B2847F", +"uX c #BA8376", +"iX c #BB8377", +"pX c #BC8177", +"aX c #BA8178", +"sX c #B9887E", +"dX c #BB9167", +"fX c #C69266", +"gX c #C09A6C", +"hX c #C7986D", +"jX c #CC9C6B", +"kX c #D39568", +"lX c #E9A36C", +"zX c #EDA772", +"xX c #E8A973", +"cX c #AB8481", +"vX c #B38C85", +"bX c #BE8A85", +"nX c #BD8E84", +"mX c #B99087", +"MX c #C4988F", +"NX c #CC9187", +"BX c #C8968C", +"VX c #C29691", +"CX c #C29A92", +"ZX c #C99890", +"AX c #D09C92", +"SX c #C1A09B", +"DX c #D5A299", +"FX c #D7A59A", +"GX c #DCA69B", +"HX c #D8AAA4", +"JX c #EDBB83", +"KX c #F3CA8D", +"LX c #FAC386", +"PX c #F6D394", +/* pixels */ +"L.I.T.2X2X2X2X2X2XL $.-.*.%.O.| ", +"I.T.(.oX@X6X6X*X@XN n #.=.%.+.| ", +"Y.!.oX X6X8X9X9X Xb 0 f ] %.+.[ ", +"!.[._.fXjXdX9XdX5Xd w e g J .[ ", +").Z.j wXPXz.R 5XdXK W ^ ! u m _ ", +").G.A D KXtXk.l.s 8 Q ( ~ r 6 B ", +"E._.XXZ jXJXD.< 4 y a / p q # 3 ", +"C.`.XX5.n.LXS.> @ 7 9 i 8 4 @ , ", +"V.A.J.G.W.xXkX2 + O * 5 & O X 1 ", +"N.B.F.OXk m.zXS - E I P = o k ", +"M.R.6XX.1.V lX[.:XFX0XmX; ; M R ", +"X.P.P...3.` @X_.1XBXCXvXU CXHXcX", +") G G >.;.C C F aXu.1X<Xc.AXAXR ", +"v.v.v.v.d.s.t.h.NX7.aXVX,XHXcXc ", +"a.a.p.t.e.q.i.bXaXT <.x.BXbXAXj.", +"0.0.e.9.9.,.r.1X6.T x l r.sX,Xx " +}; --- xfig-3.2.5.b.orig/debian/xfig-libs.install +++ xfig-3.2.5.b/debian/xfig-libs.install @@ -0,0 +1 @@ +usr/share/xfig/Libraries --- xfig-3.2.5.b.orig/debian/watch +++ xfig-3.2.5.b/debian/watch @@ -0,0 +1,11 @@ +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Alpha directory: +opts="uversionmangle=s/[._]([a-z])/-$1/" \ + ftp://epb.lbl.gov/xfig/alpha/xfig.(.*).full.tar.gz + +# Release directory: +ftp://epb.lbl.gov/xfig/xfig.(.*).full.tar.gz --- xfig-3.2.5.b.orig/debian/manpages +++ xfig-3.2.5.b/debian/manpages @@ -0,0 +1 @@ +Doc/xfig.man --- xfig-3.2.5.b.orig/debian/xfig-pdf-viewer.1 +++ xfig-3.2.5.b/debian/xfig-pdf-viewer.1 @@ -0,0 +1,69 @@ +.\" Copyright (c) 1999-2004 Roland Rosenfeld <roland@spinnaker.de> +.\" +.\" $Id: xfig-pdf-viewer.1,v 1.4 2006-07-22 16:14:39 roland Exp $ +.\" +.\" This program is free software; you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation; either version 2 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. +.\" +.\" 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., 675 Mass Ave, Cambridge, MA 02139, USA. +.\" +.TH XFIG-PDF-VIEWER 1 "JULY 2006" "Debian Project" "Debian Users Manual" +.SH NAME +xfig-pdf-viewer \- view a PDF document using a PDF browser under X11 +.SH SYNOPSIS +.B xfig-pdf-viewer +.I file.pdf +.SH DESCRIPTION +.B xfig-pdf-viewer +is a little shell script, which tries to find out which PDF viewers +you have installed on your system and then starts them. +.B xfig-pdf-viewer +tries the following PDF viewers with descending priority: +.IP - 3 +.BR xpdf (1) +.IP - 3 +.BR kpdf (1) +.IP - 3 +.BR evince (1) +.IP - 3 +.BR acroread (1) +.IP - 3 +.BR gpdf (1) +.IP - 3 +.BR gv (1) +.IP - 3 +.BR gnome-gv (1) +.IP - 3 +.BR kghostview (1) +.IP - 3 +.BR ghostview (1) +.PP +If the environment variable +.B PDFVIEWER +is set, this is used with highest priority. +.PP +.SH ENVIRONMENT +.IP PDFVIEWER +you can define your favorite browser with this variable, it overrides +the priority of the above mentioned viewers. +.SH AUTHOR +Roland Rosenfeld <roland@spinnaker.de> +.SH "SEE ALSO" +.BR xpdf (1), +.BR kpdf (1), +.BR evince (1), +.BR acroread (1), +.BR gpdf (1), +.BR gv (1), +.BR gnome-gv (1), +.BR kghostview (1), +.BR ghostview (1) --- xfig-3.2.5.b.orig/debian/TeXfig2eps +++ xfig-3.2.5.b/debian/TeXfig2eps @@ -0,0 +1,25 @@ +# With Xfig, it's possible to let TeX do the formatting of text in +# the figure. To switch this on, select "Special flag = ON" in the +# "Text Flags" section down in the middle when in "text-insert-mode" +# (Or specify this flag in the "Edit" window), and then, to turn the +# .fig file into an .eps file, you can use this file TeXfig2eps: +# +# make -f fig2eps myfile.eps +# + +%.eps: %.fig + fig2dev -L pstex $< $*.pstex + fig2dev -L pstex_t -p $*.pstex $< $*.pstex_t + (echo '\documentclass{article}\pagestyle{empty} ';\ + echo '\usepackage{graphics,color}\begin{document} ';\ + cat $*.pstex_t;\ + echo ' \end{document}')>$*.tex + latex $*.tex + dvips -E -o $@ $*.dvi + # + #Now I use a simple programme that tries to get the + #bounding box right, as dvips ajusts it to the TeX text only. + #(see dvips(1)). the bbtest below simply takes the "bb.ps" + #file available elsewhere, and feeds it through gs. + #bbtest $@ + --- xfig-3.2.5.b.orig/debian/xfig-doc.copyright +++ xfig-3.2.5.b/debian/xfig-doc.copyright @@ -0,0 +1,43 @@ +This Debian package was maintained by many different Debian maintainers: +joost witteveen <joostje@debian.org>, D.J. Gregor <dgregor@gregor.com>, +Enrique Zanardi <ezanardi@molec1.dfis.ull.es>, Edward Betts +<edward@debian.org> and actually by Roland Rosenfeld <roland@debian.org>. + +Upstream Maintainer: Brian V. Smith <bvsmith@lbl.gov> + +The upstream source package is available at +http://www.xfig.org/xfigdist/xfig.3.2.4.full.tar.gz +ftp://epb.lbl.gov/xfig/alpha/xfig.3.2.5-alpha5.full.tar.gz + +Copyright: + + FIG : Facility for Interactive Generation of figures + Copyright (c) 1985-1988 by Supoj Sutanthavibul + Parts Copyright (c) 1989-2002 by Brian V. Smith + Parts Copyright (c) 1991 by Paul King + + Any party obtaining a copy of these files is granted, free of charge, a + full and unrestricted irrevocable, world-wide, paid up, royalty-free, + nonexclusive right and license to deal in this software and documentation + files (the "Software"), including without limitation the rights to use, + copy, modify, merge, publish distribute, sublicense and/or sell copies of + the Software, and to permit persons who receive copies from any such + party to do so, with the only requirement being that the above copyright + and this permission notice remain intact. + + +The HTML documentation is under a different copyright: + + Copyright (c) 1999-2002 by T.Sato and Brian V. Smith + + Permission to use, copy, and distribute this documentation for any + purpose and without fee is hereby granted. Modification of this + documentation is also granted as long as this copyright notice remain + intact and name of the person who made the modification is explicitly + written in the documentation. However, contact to T.Sato and/or Brian + V. Smith is strongly recommended if you want to distribute modified + version of this documentation. + + You may also put these documentation files on your `public' WWW + server. In such case, please send its URL to Brian V. Smith or T.Sato + so that we can hold the list of such WWW servers. --- xfig-3.2.5.b.orig/debian/menu +++ xfig-3.2.5.b/debian/menu @@ -0,0 +1,17 @@ +?package(xfig): \ + command="/usr/bin/xfig" \ + needs="X11" \ + icon32x32="/usr/share/pixmaps/xfig32x32.xpm" \ + icon16x16="/usr/share/pixmaps/xfig16x16.xpm" \ + icon="/usr/share/pixmaps/xfig32x32cmap.xpm" \ + section="Applications/Graphics" \ + hints="Drawing,Draw,Vector" \ + title="xfig" \ + longtitle="Facility for Interactive Generation of figures" \ + description="XFig is a menu-driven tool that allows the user \ + to draw and manipulate objects interactively in \ + an X window. The resulting pictures can be saved, \ + printed on postscript printers, or converted to a \ + variety of other formats (e.g. to allow inclusion \ + in LaTeX documents or web pages) using the \ + transfig program." --- xfig-3.2.5.b.orig/debian/PDFLATEX.AND.XFIG +++ xfig-3.2.5.b/debian/PDFLATEX.AND.XFIG @@ -0,0 +1,114 @@ +xfig and PDFLaTeX +================= +(written by Josselin Mouette <jmouette@ens-lyon.fr>) + +1. A STANDARD PDF FILE + In xfig, select the "PDF" export filter, which will generate a + foo.pdf file. In your document, put in the preamble : + \usepackage[pdftex]{graphicx} + and insert your picture with \includegraphics{foo.pdf} + You may use all the includegraphics options as well. + Pros: Very easy to use. + Cons: The text in your figure will appear as is on your document, + using postscript fonts; you cannot put some TeX code in it. + +2. A COMBINED PDF/LaTeX FILE + This is the method I would recommend in most cases. It may be + difficult for the beginner at the first time, but it is really + powerful. If you choose this method, you'll have to set the xfig + fonts to LaTeX ones, and to set the "special" attribute of your + text boxes. To do this automatically, you can add these 2 lines in + your .Xresources or .Xdefaults (depends on your system): + Fig.latexfonts: true + Fig.specialtext: true + Then, when exporting, select the "Combined PS/LaTeX" format. Until + there is a "Combined PDF/LaTeX" export filter, you'll have to do an + extra manipulation: just launch the script "pstex2pdf" following + here (requires epstopdf to work), it will convert the foo.pstex to + foo.pdf, and foo.pstex_t to foo.pdftex: + +--- CUT HERE --- +#! /bin/sh +for i in `ls *.pstex`; do + AZE=`basename "$i" .pstex` + if [ -r "$AZE".pdf ] && [ "$AZE".pdf -nt "$AZE".pstex ]; then + echo Nothing to do for "$i". + else + echo -n Converting "$i". + epstopdf "$AZE".pstex > "$AZE".pdf + echo -n . + sed "s/$AZE.pstex/$AZE.pdf/" "$AZE".pstex_t > "$AZE".pdftex + echo . + fi +done +--- CUT HERE --- + + Then, in your LaTeX file, put in the preamble: + \usepackage[pdftex]{graphicx,color} + The color package is required whenever you put some text in colors. + Then include the picture with_ + \input foo.pdftex + You can also resize it: + \resizebox{3cm}{!}{\input foo.pdftex} % sets the width to 3cm + Pros: Whatever is put in your text boxes is treated just as your + document's code; that means you can use your own macros, + which is really cool. + Cons: When putting big formulas on your figure, it is sometimes + difficult to predict what place they will take. + +3. METAPOST + There is nothing special to do in xfig to use MetaPost. All the + text you type will be treated as plain TeX code - note, this will + be not compiled within your document, so you don't have acess to + packages like AMS-TeX, neither have you to your macros. + In xfig, export your file with the MetaPost filter, it creates + foo.mp. Then, type mpost foo.mp, it will generate foo.0 (or foo.1, + sometimes). In your document, put this in the preamble: + \input supp-pdf.tex + \usepackage[pdftex]{graphicx} + And to include your figure : + \convertMPtoPDF{foo.0} + That's it. Quite simple, and you can put a bit TeX inside. + Pros: Can be easily included in a dual-output (pdf/dvi) file: for + including it as PS, just put a \includegraphics{foo.0} in the + document. + Cons: Not adapted to big formulas, as AMS-LaTeX is not + accessible. Long phrases may look bad as well, if your + document is not in English (babel cannot be used). + +4. MULTI-METAPOST + This method is designed to be used in PDF presentations. Using the + \pause command, it will display step by step the layers of your + figure as you click on the button, which can look very nice (and + can even be useful sometimes). All that have been told about + MetaPost inclusions is true, but there are a few extra things to + know: + When creating your figure, be careful with the depth of your + objects. When exporting your figure in the MultiMetaPost format, + transfig will treat the consecutive depth levels where is an object + as a single layer, for example: + Circle at depth 51 \__first displayed layer + Text at depth 50 / + *** Nothing at depth 49 + Square at depth 48 \ + Text at depth 48 > Second displayed layer + Curve at depth 47 / + ... and so on. + + After exporting, mpost foo.mmp will create a set of files named + foo.0, foo.1... + To include them in the document, you will need the mpmulti.sty + provided with the latest version of PPower4 (still in Beta stage at + the time of writing). + The preamble of your document should look like this: + \input supp-pdf.tex + \usepackage[pdftex]{graphicx} + \usepackage{pause,mpmulti} + And to include your animation, just put: + \multiinclude{foo} + You can adjust it to a defined size by using: + \multiinclude[graphics={width=5cm}]{foo} + Compile your document, then ppower4 it. Nifty, isn't it? + Pros: The only way to insert automatically animations. Benefit of + the existing xfig's depth system. + Cons: Are there some ? --- xfig-3.2.5.b.orig/debian/README.Debian +++ xfig-3.2.5.b/debian/README.Debian @@ -0,0 +1,71 @@ +xfig for DEBIAN +=============== + +For additional information about xfig have a look at the xfig web page at + http://www.xfig.org + http://www-epb.lbl.gov/xfig/ + + +Japanese Support +================ + +Simply set the environment variable LANG to ja_JP.ujis and xfig should +be hopefully adapted to your needs. I cannot test this out here, +because I don't understand any Japanese nor am I able to understand +the fonts, so if the Japanese adaptions don't work as they should, +please let me know. + + +Korean Support +============== + +Should work in the same way like Japanese support does but with LANG +set to ko_KR.eucKR. + + +Xaw vs. Xaw3D +============= + +xfig can be compiled with Xaw (2D look) as well as with Xaw3D (3D +look). Xaw3D is designed as a plug-in-replacement for Xaw, so every +program compiled with Xaw should be able to run with Xaw3D. That's +the theory, while in reality the compatibility isn't perfect. That +means, that xfig (since version 3.2.3) compiled with Xaw does not run +with Xaw3D ("xfig: Symbol `smeBSBClassRec' has different size in +shared object, consider re-linking"). So I had to decide between +generally using 2D look (also for users who have Xaw3D installed) by +using xaw-wrappers and denying Xaw3D or alternatively to generally use +Xaw3D (and depend on xaw3dg) as recommended by the upstream author. I +choose the latter option, so xfig is now linked against xaw3dg. + + +pstex +===== + +It's not a xfig but a transfig issue, but there are many people +heaving problems with the pstex driver. The problem is, that newer +versions of transfig need \usepackage{color} to work with pstex. So +simply add \usepackage{graphicx} and \usepackage{color} to your LaTeX +file before using pstex and everything should work correct. + + +Cursor theme +============ + +You may notice some problems with ugly cursors which don't allow you +to do precise drawings. This usually depends on the configured cursor +theme. If you don't like the configure cursor font, have a look at +the output of + update-alternatives --display x-cursor-theme +This lists all installed cursor theme with their priorities and shows +which of these alternatives is currently linked. There were problems +with the gtk2-engines-industrial theme reported, which replaces the +cross hair cursor by a big white cross. To change the cursor theme +run + update-alternatives --config x-cursor-theme +and select the core.theme. After this you may have to restart you X +server. + + +Roland Rosenfeld <roland@debian.org> +$Id: README.Debian,v 1.13 2006-07-23 09:05:55 roland Exp $ --- xfig-3.2.5.b.orig/debian/docs +++ xfig-3.2.5.b/debian/docs @@ -0,0 +1,15 @@ +README +debian/TeXfig2eps +LATEX.AND.XFIG +LATEX.AND.XFIG.zh_CN +LATEX.AND.XFIG.zh_TW +FIGAPPS +Doc/FORMAT1.3 +Doc/FORMAT1.4 +Doc/FORMAT2.0 +Doc/FORMAT2.1 +Doc/FORMAT3.0 +Doc/FORMAT3.1 +Doc/FORMAT3.2 +Doc/TODO +debian/PDFLATEX.AND.XFIG --- xfig-3.2.5.b.orig/debian/rules +++ xfig-3.2.5.b/debian/rules @@ -0,0 +1,193 @@ +#!/usr/bin/make -f +# +# (C) 1999-2008 Roland Rosenfeld <roland@debian.org>, based on +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +INSTDIR=`pwd`/debian/xfig +DOCINSTDIR=`pwd`/debian/xfig-doc +LIBINSTDIR=`pwd`/debian/xfig-libs + +OPTIMIZE= +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + OPTIMIZE=-O0 +else + OPTIMIZE=-O2 +endif + +build: build-stamp +build-stamp: patch + dh_testdir + + xmkmf -a + $(MAKE) CDEBUGFLAGS='$(OPTIMIZE) -g' LIBDIR=/usr/share + + touch build-stamp + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp + + [ ! -f Makefile ] || $(MAKE) clean + rm -f Makefile* xfig.man + + dh_clean + +install: +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install.html DESTDIR=$(DOCINSTDIR) +# Remove superflous files from documentation: + rm -f $(DOCINSTDIR)/usr/share/doc/xfig/html/images/sav1a0.tmp + + (cd $(DOCINSTDIR)/usr/share/doc/xfig/html; \ + ln -sf japanese ja_JP.ujis) + +# install -m755 debian/xfig-www-browser $(DOCINSTDIR)/usr/bin/ + install -m755 debian/xfig-pdf-viewer $(DOCINSTDIR)/usr/bin/ + + $(MAKE) install DESTDIR=$(INSTDIR) \ + LIBDIR=/usr/share BINDIR=/usr/bin \ + XAPPLOADDIR=/etc/X11/app-defaults + + $(MAKE) install.libs DESTDIR=$(LIBINSTDIR) LIBDIR=/usr/share + +# remove the just installed ERD/GUI license files, because they are +# already in debian/copyright included: + rm -f $(LIBINSTDIR)/usr/share/xfig/Libraries/ERD/LICENSE + rm -f $(LIBINSTDIR)/usr/share/xfig/Libraries/GUI/LICENSE + +# remove csh scripts + rm -f $(LIBINSTDIR)/usr/share/xfig/Libraries/Maps/USA/assemble + rm -f $(LIBINSTDIR)/usr/share/xfig/Libraries/Maps/Canada/assemble + rm -f $(LIBINSTDIR)/usr/share/xfig/Libraries/Flags/MAKEPNG + +# fix typo in directory name + mv $(LIBINSTDIR)/usr/share/xfig/Libraries/Flags/Carribean \ + $(LIBINSTDIR)/usr/share/xfig/Libraries/Flags/Caribbean + +# unzip gzipped fig files: +# find $(LIBINSTDIR)/usr/share/xfig/Libraries/ -name \*.fig.gz \ +# | xargs gzip -d + +# Fix permissions of Libraries: + find $(LIBINSTDIR)/usr/share/xfig/Libraries -type f \ + | xargs chmod -x + +# install japanese app-defaults: + install -m644 Fig.ad \ + $(INSTDIR)/etc/X11/ja_JP.eucJP/app-defaults/Fig + echo 'Fig.international: true' >> \ + $(INSTDIR)/etc/X11/ja_JP.eucJP/app-defaults/Fig + echo 'Fig*international: false' >> \ + $(INSTDIR)/etc/X11/ja_JP.eucJP/app-defaults/Fig + echo 'Fig.japanese: true' >> \ + $(INSTDIR)/etc/X11/ja_JP.eucJP/app-defaults/Fig + echo 'Fig.inputStyle: OffTheSpot' >> \ + $(INSTDIR)/etc/X11/ja_JP.eucJP/app-defaults/Fig + + install -m644 Fig.ad \ + $(INSTDIR)/etc/X11/ko_KR.eucKR/app-defaults/Fig + echo 'Fig.international: true' >> \ + $(INSTDIR)/etc/X11/ko_KR.eucKR/app-defaults/Fig + echo 'Fig*international: false' >> \ + $(INSTDIR)/etc/X11/ko_KR.eucKR/app-defaults/Fig + echo 'Fig.korean: true' >> \ + $(INSTDIR)/etc/X11/ko_KR.eucKR/app-defaults/Fig + echo 'Fig.inputStyle: OverTheSpot' >> \ + $(INSTDIR)/etc/X11/ko_KR.eucKR/app-defaults/Fig + +# Install xpm icons and backward compatibility links + for i in xfig16x16.xpm xfig32x32.xpm xfig64x64.xpm \ + xfig16x16cmap.xpm xfig32x32cmap.xpm xfig66x62cmap.xpm; do \ + install -m644 debian/$$i \ + $(INSTDIR)/usr/share/pixmaps/$$i; \ + done + (cd $(INSTDIR)/usr/share/pixmaps; \ + ln -s xfig64x64.xpm big-xfig.xpm; \ + ln -s xfig32x32.xpm xfig.xpm; \ + ln -s xfig16x16.xpm mini-xfig.xpm) + install -m644 debian/xfig.desktop $(INSTDIR)/usr/share/applications + +# dh_install + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installchangelogs -i -k CHANGES + dh_installdocs -i + dh_installexamples -i +# dh_installmenu -i +# dh_installdebconf -i +# dh_installlogrotate -i +# dh_installemacsen -i +# dh_installpam -i +# dh_installmime -i +# dh_installinit -i +# dh_installcron -i +# dh_installinfo -i +# dh_undocumented -i + dh_installman -i + dh_link -i + dh_compress -i -X.pdf + dh_fixperms -i +# dh_perl -i +# dh_python -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installchangelogs -a -k CHANGES + dh_installdocs -a + dh_installexamples -a + dh_installmenu -a +# dh_installdebconf -a +# dh_installlogrotate -a +# dh_installemacsen -a +# dh_installpam -a + dh_installmime -a +# dh_installinit -a +# dh_installcron -a +# dh_installinfo -a +# dh_undocumented -a + dh_installman -a + dh_strip -a + dh_link -a + dh_compress -a -X.pdf + dh_fixperms -a +# dh_perl -a +# dh_python -a +# dh_makeshlibs -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +patch: patch-stamp +patch-stamp: + dpatch apply-all +# dpatch call-all -a=pkg-info >patch-stamp + touch patch-stamp + +unpatch: + dpatch deapply-all + rm -rf patch-stamp debian/patched + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- xfig-3.2.5.b.orig/debian/patches/12_network_images.dpatch +++ xfig-3.2.5.b/debian/patches/12_network_images.dpatch @@ -0,0 +1,371 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 12_network_images.dpatch by Roland Rosenfeld <roland@debian.org> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Some network icons colored and/or combined by Roland Rosenfeld. + +@DPATCH@ +diff -urNad xfig~/Libraries/Networks/Devices/firewall-pair.fig xfig/Libraries/Networks/Devices/firewall-pair.fig +--- xfig~/Libraries/Networks/Devices/firewall-pair.fig ++++ xfig/Libraries/Networks/Devices/firewall-pair.fig +@@ -0,0 +1,75 @@ ++#FIG 3.2 Produced by xfig version 3.2.5-alpha5 ++Portrait ++Center ++Inches ++A4 ++100.00 ++Single ++-2 ++# A pair of firewalls ++# Combined by Roland Rosenfeld ++1200 2 ++0 32 #aeaaae ++# A pair of firewalls ++6 3375 2175 4050 3075 ++6 3600 2250 4050 3075 ++# Firewall ++# (from TomiOllila <Tomi.Ollila@tfi.net> ) ++6 3600 2250 4050 3075 ++2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2 ++ 3825 3075 3825 2475 ++2 1 0 1 0 20 2 0 20 0.000 0 0 -1 0 0 5 ++ 3675 2475 3675 3075 3825 3075 3975 2925 3975 2400 ++2 1 0 1 0 32 1 0 20 0.000 0 0 -1 0 0 7 ++ 3600 2400 3600 2475 3900 2475 4050 2325 4050 2250 3750 2250 ++ 3600 2400 ++2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 3 ++ 3900 2475 3900 2400 3600 2400 ++2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2 ++ 3900 2400 4050 2250 ++2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 3 ++ 3675 2625 3825 2625 3975 2475 ++2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 3 ++ 3675 2775 3825 2775 3975 2625 ++2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 3 ++ 3675 2925 3825 2925 3975 2775 ++2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2 ++ 3900 3000 3900 2850 ++2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2 ++ 3900 2700 3900 2550 ++2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2 ++ 3750 2475 3750 2625 ++2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2 ++ 3750 2775 3750 2925 ++-6 ++-6 ++6 3375 2175 3825 3000 ++6 3450 2175 3825 3000 ++2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2 ++ 3600 3000 3600 2400 ++2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2 ++ 3675 2325 3825 2175 ++2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 3 ++ 3450 2550 3600 2550 3750 2400 ++2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 3 ++ 3450 2700 3600 2700 3750 2550 ++2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 3 ++ 3450 2850 3600 2850 3750 2700 ++2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2 ++ 3675 2925 3675 2775 ++2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2 ++ 3675 2625 3675 2475 ++2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2 ++ 3525 2400 3525 2550 ++2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2 ++ 3525 2700 3525 2850 ++-6 ++2 1 0 1 0 20 22 0 20 0.000 0 0 -1 0 0 5 ++ 3450 2400 3450 3000 3600 3000 3750 2850 3750 2325 ++2 1 0 1 0 32 21 0 20 0.000 0 0 -1 0 0 7 ++ 3375 2325 3375 2400 3675 2400 3825 2250 3825 2175 3525 2175 ++ 3375 2325 ++2 1 0 1 0 7 20 0 -1 0.000 0 0 -1 0 0 3 ++ 3675 2400 3675 2325 3375 2325 ++-6 ++-6 +diff -urNad xfig~/Libraries/Networks/Devices/internet.fig xfig/Libraries/Networks/Devices/internet.fig +--- xfig~/Libraries/Networks/Devices/internet.fig ++++ xfig/Libraries/Networks/Devices/internet.fig +@@ -0,0 +1,39 @@ ++#FIG 3.2 Produced by xfig version 3.2.5-alpha5 ++Portrait ++Center ++Inches ++A4 ++100.00 ++Single ++-2 ++# Internet cloud ++# By Roland Rosenfeld ++1200 2 ++# An Internet cloud ++6 4275 5700 7200 7650 ++2 1 0 0 7 7 970 0 20 4.000 0 0 0 0 0 65 ++ 4719 7111 4633 7121 4548 7105 4469 7057 4394 6983 4346 6888 ++ 4309 6776 4298 6654 4309 6526 4346 6415 4394 6325 4469 6244 ++ 4548 6197 4633 6181 4719 6197 4798 6048 4893 5915 4994 5825 ++ 5122 5746 5244 5719 5377 5719 5505 5746 5627 5825 5733 5915 ++ 5850 5825 5961 5746 6094 5719 6222 5719 6355 5746 6472 5825 ++ 6583 5915 6668 6048 6748 6197 6833 6181 6918 6197 7003 6244 ++ 7072 6325 7130 6415 7157 6526 7168 6654 7157 6776 7130 6888 ++ 7072 6983 7003 7057 6918 7105 6833 7121 6748 7111 6668 7265 ++ 6583 7387 6472 7488 6355 7557 6222 7594 6094 7594 5961 7557 ++ 5850 7488 5733 7387 5627 7488 5505 7557 5377 7594 5244 7594 ++ 5122 7557 4994 7488 4893 7387 4798 7265 4719 7111 ++2 1 0 2 1 0 969 0 -1 0.000 0 0 0 0 0 65 ++ 4719 7111 4633 7121 4548 7105 4469 7057 4394 6983 4346 6888 ++ 4309 6776 4298 6654 4309 6526 4346 6415 4394 6325 4469 6244 ++ 4548 6197 4633 6181 4719 6197 4798 6048 4893 5915 4994 5825 ++ 5122 5746 5244 5719 5377 5719 5505 5746 5627 5825 5733 5915 ++ 5850 5825 5961 5746 6094 5719 6222 5719 6355 5746 6472 5825 ++ 6583 5915 6668 6048 6748 6197 6833 6181 6918 6197 7003 6244 ++ 7072 6325 7130 6415 7157 6526 7168 6654 7157 6776 7130 6888 ++ 7072 6983 7003 7057 6918 7105 6833 7121 6748 7111 6668 7265 ++ 6583 7387 6472 7488 6355 7557 6222 7594 6094 7594 5961 7557 ++ 5850 7488 5733 7387 5627 7488 5505 7557 5377 7594 5244 7594 ++ 5122 7557 4994 7488 4893 7387 4798 7265 4719 7111 ++4 0 0 100 0 18 33 0.0000 4 405 2040 4744 6853 Internet\001 ++-6 +diff -urNad xfig~/Libraries/Networks/Routers/router-pair.fig xfig/Libraries/Networks/Routers/router-pair.fig +--- xfig~/Libraries/Networks/Routers/router-pair.fig ++++ xfig/Libraries/Networks/Routers/router-pair.fig +@@ -0,0 +1,78 @@ ++#FIG 3.2 Produced by xfig version 3.2.5-alpha5 ++Portrait ++Center ++Inches ++A4 ++100.00 ++Single ++-2 ++# A pair of routers ++# Colored and combined by Roland Rosenfeld ++1200 2 ++# A pair of routers ++6 3150 3300 4275 3975 ++6 3346 3450 4269 3975 ++6 3844 3615 4173 3718 ++# polyline ++2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 ++ 3879 3701 3854 3647 3976 3624 3955 3642 4159 3676 4111 3713 ++ 3908 3676 3879 3701 ++-6 ++6 3617 3636 3803 3759 ++# polyline ++2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 ++ 3764 3731 3638 3754 3634 3694 3671 3703 3738 3646 3800 3657 ++ 3727 3719 3764 3731 ++-6 ++6 3803 3470 3988 3594 ++# polyline ++2 1 0 1 0 7 50 0 20 0.000 0 0 7 0 0 8 ++ 3837 3518 3982 3481 3983 3541 3947 3535 3876 3591 3809 3581 ++ 3882 3526 3837 3518 ++-6 ++1 2 0 1 0 15 51 0 20 0.000 1 0.0000 3807 3619 457 169 3349 3619 4264 3619 ++1 2 0 1 0 15 53 0 20 0.000 1 0.0000 3803 3806 457 169 3346 3806 4261 3806 ++# polyline ++2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 ++ 3705 3557 3738 3608 3609 3637 3638 3615 3439 3581 3488 3545 ++ 3681 3576 3705 3557 ++2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 ++ 3350 3613 3347 3812 ++2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 ++ 4263 3626 4263 3815 ++2 2 0 0 0 15 52 -1 20 0.000 0 0 -1 0 0 5 ++ 3349 3626 4269 3626 4269 3800 3349 3800 3349 3626 ++-6 ++6 3150 3300 4125 3825 ++6 3600 3450 3975 3600 ++# polyline ++2 1 0 1 0 7 60 0 20 0.000 0 0 0 0 0 8 ++ 3683 3551 3658 3497 3780 3474 3759 3492 3963 3526 3915 3563 ++ 3712 3526 3683 3551 ++-6 ++6 3600 3300 3825 3450 ++# polyline ++2 1 0 1 0 7 60 0 20 0.000 0 0 7 0 0 8 ++ 3641 3368 3786 3331 3787 3391 3751 3385 3680 3441 3613 3431 ++ 3686 3376 3641 3368 ++-6 ++6 3375 3450 3675 3675 ++# polyline ++2 1 0 1 0 7 60 0 20 0.000 0 0 0 0 0 8 ++ 3568 3581 3442 3604 3438 3544 3475 3553 3542 3496 3604 3507 ++ 3531 3569 3568 3581 ++-6 ++1 2 0 1 0 15 61 0 20 0.000 1 0.0000 3611 3469 457 169 3153 3469 4068 3469 ++1 2 0 1 0 15 63 0 20 0.000 1 0.0000 3607 3656 457 169 3150 3656 4065 3656 ++2 1 0 1 0 7 60 -1 -1 0.000 0 0 -1 0 0 2 ++ 4067 3476 4067 3665 ++# polyline ++2 1 0 1 0 7 60 0 20 0.000 0 0 0 0 0 8 ++ 3509 3407 3542 3458 3413 3487 3442 3465 3243 3431 3292 3395 ++ 3485 3426 3509 3407 ++2 1 0 1 0 7 60 -1 -1 0.000 0 0 -1 0 0 2 ++ 3154 3463 3151 3662 ++2 2 0 0 0 15 62 -1 20 0.000 0 0 -1 0 0 5 ++ 3153 3476 4073 3476 4073 3650 3153 3650 3153 3476 ++-6 ++-6 +diff -urNad xfig~/Libraries/Networks/Routers/router4.fig xfig/Libraries/Networks/Routers/router4.fig +--- xfig~/Libraries/Networks/Routers/router4.fig ++++ xfig/Libraries/Networks/Routers/router4.fig +@@ -0,0 +1,44 @@ ++#FIG 3.2 Produced by xfig version 3.2.5-alpha5 ++Portrait ++Center ++Metric ++A4 ++100.00 ++Single ++-2 ++# Router ++# Colored by Roland Rosenfeld ++1200 2 ++# Router ++6 3870 4455 5940 5625 ++6 4995 4815 5715 5040 ++# polyline ++2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 ++ 5072 5002 5018 4886 5284 4834 5238 4873 5683 4948 5578 5030 ++ 5136 4948 5072 5002 ++-6 ++6 4500 4860 4905 5130 ++# polyline ++2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 ++ 4822 5067 4545 5117 4537 4989 4618 5007 4766 4883 4900 4905 ++ 4741 5041 4822 5067 ++-6 ++6 4905 4500 5310 4770 ++# polyline ++2 1 0 1 0 7 50 0 20 0.000 0 0 7 0 0 8 ++ 4981 4603 5296 4523 5300 4653 5222 4640 5066 4762 4919 4741 ++ 5079 4622 4981 4603 ++-6 ++1 2 0 1 0 15 51 0 20 0.000 1 0.0000 4914 4824 999 369 3915 4824 5913 4824 ++1 2 0 1 0 15 53 0 20 0.000 1 0.0000 4908 5231 999 369 3909 5231 5907 5231 ++# polyline ++2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 ++ 4693 4690 4766 4800 4483 4863 4545 4814 4111 4740 4219 4661 ++ 4640 4731 4693 4690 ++2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 ++ 3917 4811 3910 5244 ++2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 ++ 5910 4838 5910 5251 ++2 2 0 0 0 15 52 -1 20 0.000 0 0 -1 0 0 5 ++ 3915 4838 5924 4838 5924 5218 3915 5218 3915 4838 ++-6 +diff -urNad xfig~/Libraries/Networks/Switches/switch-pair.fig xfig/Libraries/Networks/Switches/switch-pair.fig +--- xfig~/Libraries/Networks/Switches/switch-pair.fig ++++ xfig/Libraries/Networks/Switches/switch-pair.fig +@@ -0,0 +1,66 @@ ++#FIG 3.2 Produced by xfig version 3.2.5-alpha5 ++Portrait ++Center ++Inches ++A4 ++100.00 ++Single ++-2 ++# A pair of switches ++# Colored and combined by Roland Rosenfeld ++1200 2 ++# A pair of switches ++6 2550 2625 4725 3750 ++6 2625 2850 4725 3750 ++6 3000 2850 4425 3300 ++# polyline ++2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 ++ 3603 3180 3581 3210 3194 3210 3161 3240 3028 3195 3268 3126 ++ 3214 3184 3608 3184 ++# polyline ++2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 ++ 3651 3128 3673 3098 4060 3098 4093 3068 4226 3113 3986 3182 ++ 4040 3124 3646 3124 ++# polyline ++2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 ++ 3760 3008 3738 3038 3351 3038 3318 3068 3185 3023 3425 2954 ++ 3371 3012 3765 3012 ++# polyline ++2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 ++ 3827 2963 3849 2933 4236 2933 4269 2903 4402 2948 4162 3017 ++ 4216 2959 3822 2959 ++-6 ++2 1 0 1 0 15 51 0 20 0.000 0 0 -1 0 0 4 ++ 4125 3300 4725 2850 4725 3300 4125 3750 ++2 2 0 1 0 15 51 0 20 0.000 0 0 -1 0 0 5 ++ 2625 3300 4125 3300 4125 3750 2625 3750 2625 3300 ++2 3 0 1 0 15 51 -1 20 0.000 0 0 -1 0 0 5 ++ 2625 3300 3225 2850 4725 2850 4125 3300 2625 3300 ++-6 ++6 2550 2625 4650 3525 ++6 2925 2625 4350 3075 ++# polyline ++2 1 0 1 0 7 61 0 20 0.000 0 0 0 0 0 8 ++ 3528 2955 3506 2985 3119 2985 3086 3015 2953 2970 3193 2901 ++ 3139 2959 3533 2959 ++# polyline ++2 1 0 1 0 7 61 0 20 0.000 0 0 0 0 0 8 ++ 3576 2903 3598 2873 3985 2873 4018 2843 4151 2888 3911 2957 ++ 3965 2899 3571 2899 ++# polyline ++2 1 0 1 0 7 61 0 20 0.000 0 0 0 0 0 8 ++ 3685 2783 3663 2813 3276 2813 3243 2843 3110 2798 3350 2729 ++ 3296 2787 3690 2787 ++# polyline ++2 1 0 1 0 7 61 0 20 0.000 0 0 0 0 0 8 ++ 3752 2738 3774 2708 4161 2708 4194 2678 4327 2723 4087 2792 ++ 4141 2734 3747 2734 ++-6 ++2 1 0 1 0 15 62 0 20 0.000 0 0 -1 0 0 4 ++ 4050 3075 4650 2625 4650 3075 4050 3525 ++2 2 0 1 0 15 62 0 20 0.000 0 0 -1 0 0 5 ++ 2550 3075 4050 3075 4050 3525 2550 3525 2550 3075 ++2 3 0 1 0 15 62 -1 20 0.000 0 0 -1 0 0 5 ++ 2550 3075 3150 2625 4650 2625 4050 3075 2550 3075 ++-6 ++-6 +diff -urNad xfig~/Libraries/Networks/Switches/switch2.fig xfig/Libraries/Networks/Switches/switch2.fig +--- xfig~/Libraries/Networks/Switches/switch2.fig ++++ xfig/Libraries/Networks/Switches/switch2.fig +@@ -0,0 +1,38 @@ ++#FIG 3.2 Produced by xfig version 3.2.5-alpha5 ++Portrait ++Center ++Inches ++A4 ++100.00 ++Single ++-2 ++# Switch ++# colored by Roland Rosenfeld ++1200 2 ++# Switch ++6 2625 2850 4725 3750 ++6 3000 2850 4425 3300 ++# polyline ++2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 ++ 3603 3180 3581 3210 3194 3210 3161 3240 3028 3195 3268 3126 ++ 3214 3184 3608 3184 ++# polyline ++2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 ++ 3651 3128 3673 3098 4060 3098 4093 3068 4226 3113 3986 3182 ++ 4040 3124 3646 3124 ++# polyline ++2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 ++ 3760 3008 3738 3038 3351 3038 3318 3068 3185 3023 3425 2954 ++ 3371 3012 3765 3012 ++# polyline ++2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 ++ 3827 2963 3849 2933 4236 2933 4269 2903 4402 2948 4162 3017 ++ 4216 2959 3822 2959 ++-6 ++2 1 0 1 0 15 51 0 20 0.000 0 0 -1 0 0 4 ++ 4125 3300 4725 2850 4725 3300 4125 3750 ++2 2 0 1 0 15 51 0 20 0.000 0 0 -1 0 0 5 ++ 2625 3300 4125 3300 4125 3750 2625 3750 2625 3300 ++2 3 0 1 0 15 51 -1 20 0.000 0 0 -1 0 0 5 ++ 2625 3300 3225 2850 4725 2850 4125 3300 2625 3300 ++-6 --- xfig-3.2.5.b.orig/debian/patches/00list +++ xfig-3.2.5.b/debian/patches/00list @@ -0,0 +1,11 @@ +02_Imakefile_Debian.dpatch +03_usr_share.dpatch +04_app-defaults.dpatch +05_xfig-libs.dpatch +12_network_images.dpatch +13_remove_extra_libs.dpatch +30_figparserstack.dpatch +31_spelling.dpatch +32_papersize_b1.dpatch +33_pdfimport_mediabox.dpatch +34_old_shadows.dpatch --- xfig-3.2.5.b.orig/debian/patches/04_app-defaults.dpatch +++ xfig-3.2.5.b/debian/patches/04_app-defaults.dpatch @@ -0,0 +1,43 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_app-defaults.dpatch by Roland Rosenfeld <roland@debian.org> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Adusts app-defaults file to Debian requirements. + +@DPATCH@ +diff -urNad xfig~/Fig.ad xfig/Fig.ad +--- xfig~/Fig.ad ++++ xfig/Fig.ad +@@ -10,13 +10,17 @@ + + ! some sample settings you may want to change + ++! If the following resource is set to false, xfig will use metric units ++! by default. ++Fig.inches: false ++ + ! The following fixes a problem that some window managers have + ! with xfig continually resizing itself + + Fig*AllowShellResize: false + + ! Image editor - can edit imported image +-Fig.image_editor: xv ++Fig.image_editor: gimp + + ! name of ghostscript (not ghostview) + Fig.ghostscript: gs +@@ -25,11 +29,11 @@ + ! This is for viewing the xfig html reference. + ! For firefox, this command will open the help pages in a running firefox, + ! or start a new netscape if one isn't already running +-Fig.browser: firefox -remote 'openFile(%f)' || firefox %f ++Fig.browser: sensible-browser + + ! pdfviewer - put your favorite pdf viewer here. + ! This is for viewing the xfig how-to guide and man pages +-Fig.pdfviewer: xpdf %f ++Fig.pdfviewer: xfig-pdf-viewer + + ! Spell check program - put your favorite spelling check program here. + ! It must write the misspelled words to standard output. --- xfig-3.2.5.b.orig/debian/patches/32_papersize_b1.dpatch +++ xfig-3.2.5.b/debian/patches/32_papersize_b1.dpatch @@ -0,0 +1,27 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 32_papersize_b1.dpatch by Roland Rosenfeld <roland@debian.org> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: xfig -papersize b1 now really uses B1 instead of B10 +## DP: Closes: #535181 + +@DPATCH@ +diff -urNad xfig~/resources.c xfig/resources.c +--- xfig~/resources.c ++++ xfig/resources.c +@@ -228,7 +228,6 @@ + {"A2 ", "ISO A2 ( 420mm x 594mm)", 19843, 28063}, + {"A1 ", "ISO A1 ( 594mm x 841mm)", 28063, 39732}, + {"A0 ", "ISO A0 ( 841mm x 1189mm)", 39732, 56173}, +- {"B10 ", "JIS B10 ( 32mm x 45mm)", 1516, 2117}, + {"B9 ", "JIS B9 ( 45mm x 64mm)", 2117, 3017}, + {"B8 ", "JIS B8 ( 64mm x 91mm)", 3017, 4300}, + {"B7 ", "JIS B7 ( 91mm x 128mm)", 4300, 6050}, +@@ -239,6 +238,7 @@ + {"B2 ", "JIS B2 ( 515mm x 728mm)", 24333, 34400}, + {"B1 ", "JIS B1 ( 728mm x 1030mm)", 34400, 48666}, + {"B0 ", "JIS B0 (1030mm x 1456mm)", 48666, 68783}, ++ {"B10 ", "JIS B10 ( 32mm x 45mm)", 1516, 2117}, + }; + + char *multiple_pages[] = { --- xfig-3.2.5.b.orig/debian/patches/03_usr_share.dpatch +++ xfig-3.2.5.b/debian/patches/03_usr_share.dpatch @@ -0,0 +1,42 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 03_usr_share.dpatch by Roland Rosenfeld <roland@debian.org> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Change documentation, that image libraries are in +## /usr/share/xfig and documentation is in /usr/share/doc/xfig. + +@DPATCH@ +diff -urNad xfig~/Doc/xfig.man xfig/Doc/xfig.man +--- xfig~/Doc/xfig.man ++++ xfig/Doc/xfig.man +@@ -1475,8 +1475,11 @@ + See the + .IR Imakefile . + .TP +-/usr/lib/X11/xfig +-This directory contains the html documentation, the above mentioned ++/usr/share/doc/xfig ++This directory contains the documentation. ++.TP ++/usr/share/xfig ++This directory contains the above mentioned + CompKeyDB file, and a directory of libraries containing Fig objects + such as electrical symbols, logic symbols, etc. + .TP +diff -urNad xfig~/Doc/xfig_man.html xfig/Doc/xfig_man.html +--- xfig~/Doc/xfig_man.html ++++ xfig/Doc/xfig_man.html +@@ -2539,8 +2539,11 @@ + See the + <I>Imakefile</I>. + +-<DT>/usr/lib/X11/xfig<DD> +-This directory contains the html documentation, the above mentioned ++<DT>/usr/share/doc/xfig<DD> ++This directory contains the documentation. ++ ++<DT>/usr/share/xfig<DD> ++This directory contains the above mentioned + CompKeyDB file, and a directory of libraries containing Fig objects + such as electrical symbols, logic symbols, etc. + <DT><B>Fig.ad and Fig-color.ad</B> --- xfig-3.2.5.b.orig/debian/patches/34_old_shadows.dpatch +++ xfig-3.2.5.b/debian/patches/34_old_shadows.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 34_old_shadows.dpatch by Roland Rosenfeld <roland@debian.org> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Restore old shadow behavior. Reduce shadow width to 1 pixel and fix +## DP: a green scrollbar shadow. + +@DPATCH@ +diff -urNad xfig~/Fig.ad xfig/Fig.ad +--- xfig~/Fig.ad ++++ xfig/Fig.ad +@@ -131,7 +131,7 @@ + ! Fig*Scrollbar.topShadow: black + ! Fig*Scrollbar.bottomShadow: white + ! Fig*Scrollbar.topShadowPixel: black +-! Fig*Scrollbar.bottomShadowPixel: white ++ Fig*Scrollbar.bottomShadowPixel: white + + ! this is for the standard color buttons in the color panel + Fig*stdColor.shadowWidth: 2 +@@ -672,8 +672,8 @@ + Fig*upd_ctrl_form.upd_ctrl_btns*shadowWidth: 2 + + !##### Shadows +-!Fig*shadowWidth: 1 +-!Fig*Label.shadowWidth: 1 ++Fig*shadowWidth: 1 ++Fig*Label.shadowWidth: 1 + Fig*horizontal.shadowWidth: 2 + Fig*Scrollbar.shadowWidth: 2 + ! no shadows for update indicators --- xfig-3.2.5.b.orig/debian/patches/30_figparserstack.dpatch +++ xfig-3.2.5.b/debian/patches/30_figparserstack.dpatch @@ -0,0 +1,61 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 30_figparserstack.dpatch by Hans de Goede <j.w.r.degoede@hhs.nl> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix Stack-based buffer overflow by loading malformed .FIG files +## DP: https://bugzilla.redhat.com/show_bug.cgi?id=543905 +## DP: Closes: #559274 + +@DPATCH@ +diff -urNad xfig~/f_readold.c xfig/f_readold.c +--- xfig~/f_readold.c ++++ xfig/f_readold.c +@@ -471,7 +471,7 @@ + F_text *t; + int n; + int dum; +- char buf[128]; ++ char buf[512]; + PR_SIZE tx_dim; + + if ((t = create_text()) == NULL) +@@ -485,22 +485,34 @@ + t->pen_style = -1; + t->angle = 0.0; + t->next = NULL; ++ if (!fgets(buf, sizeof(buf), fp)) { ++ file_msg("Incomplete text data"); ++ free((char *) t); ++ return (NULL); ++ } ++ ++ /* Note using strlen(buf) here will waste a few bytes, as the ++ various text attributes are counted into this length too. */ ++ if ((t->cstring = new_string(strlen(buf))) == NULL) ++ return (NULL); ++ + /* ascent and length will be recalculated later */ +- n = fscanf(fp, " %d %d %d %d %d %d %d %[^\n]", ++ n = sscanf(buf, " %d %d %d %d %d %d %d %[^\n]", + &t->font, &dum, &dum, &t->ascent, &t->length, +- &t->base_x, &t->base_y, buf); ++ &t->base_x, &t->base_y, t->cstring); + if (n != 8) { + file_msg("Incomplete text data"); ++ free(t->cstring); + free((char *) t); + return (NULL); + } +- if ((t->cstring = new_string(strlen(buf))) == NULL) { ++ ++ if (!strlen(t->cstring)) { ++ free(t->cstring); + free((char *) t); + file_msg("Empty text string at line %d.", line_no); + return (NULL); + } +- /* put string in structure */ +- strcpy(t->cstring, buf); + + /* get the font struct */ + t->zoom = zoomscale; --- xfig-3.2.5.b.orig/debian/patches/31_spelling.dpatch +++ xfig-3.2.5.b/debian/patches/31_spelling.dpatch @@ -0,0 +1,29 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 31_spelling.dpatch by Roland Rosenfeld <roland@debian.org> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix spelling errors in binary. + +@DPATCH@ +diff -urNad xfig~/f_load.c xfig/f_load.c +--- xfig~/f_load.c ++++ xfig/f_load.c +@@ -373,5 +373,5 @@ + /* Format error; relevant error message is already delivered */ + ; + else +- file_msg("File \"%s\" is not accessable; %s.", file, strerror(err)); ++ file_msg("File \"%s\" is not accessible; %s.", file, strerror(err)); + } +diff -urNad xfig~/f_readgif.c xfig/f_readgif.c +--- xfig~/f_readgif.c ++++ xfig/f_readgif.c +@@ -137,7 +137,7 @@ + + if (c == '!') { /* Extension */ + if (! ReadOK(file,&c,1)) +- file_msg("GIF read error on extention function code"); ++ file_msg("GIF read error on extension function code"); + (void) DoGIFextension(file, c); + continue; + } --- xfig-3.2.5.b.orig/debian/patches/02_Imakefile_Debian.dpatch +++ xfig-3.2.5.b/debian/patches/02_Imakefile_Debian.dpatch @@ -0,0 +1,57 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_Imakefile_Debian.dpatch by Roland Rosenfeld <roland@debian.org> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Adapt Imakefile to Debian's needs. + +@DPATCH@ +diff -urNad xfig~/Imakefile xfig/Imakefile +--- xfig~/Imakefile ++++ xfig/Imakefile +@@ -60,7 +60,7 @@ + XCOMM some new features, including "Tips", which replace xfig's "help balloons" + XCOMM NOTE: This is the default for many X systems now. + +-XCOMM #define XAW3D1_5E ++#define XAW3D1_5E + + #ifdef XAW3D1_5E + DUSEXAW3D = -DXAW3D -DXAW3D1_5E +@@ -96,8 +96,8 @@ + + #ifdef USEJPEG + #ifdef USEINSTALLEDJPEG +- JPEGLIBDIR = /usr/local/lib +- JPEGINC = -I/usr/include/X11 ++ JPEGLIBDIR = /usr/lib ++ JPEGINC = -I/usr/include + #else + JPEGLIBDIR = ../jpeg + JPEGINC = -I$(JPEGLIBDIR) +@@ -150,7 +150,7 @@ + XCOMM If your setlocale() doesn't support the locale, you should + XCOMM add -DSETLOCALE to I18N_DEFS. + +-XCOMM #define I18N ++#define I18N + + XCOMM If using an input tablet uncomment the following + +@@ -161,7 +161,7 @@ + XCOMM inline functions. With the "INLINE" keyword, you should notice that + XCOMM the display will be a bit faster in complex figures + +-XCOMM USEINLINE = -DUSE_INLINE ++USEINLINE = -DUSE_INLINE + + XCOMM use (and change) the following if you want the multi-key data base file + XCOMM somewhere other than the standard X11 library directory +@@ -173,7 +173,7 @@ + + XCOMM XFIGDOCDIR tells where the html and pdf documentation should go + XCOMM XFIGDOCDIR = $(DOCDIR)/xfig +-XFIGDOCDIR = /usr/local/xfig/doc ++XFIGDOCDIR = /usr/share/doc/xfig + + XCOMM MANDIR tells where the standard man pages should go (no need to change it + XCOMM if you want the man pages installed in the standard place on your system --- xfig-3.2.5.b.orig/debian/patches/05_xfig-libs.dpatch +++ xfig-3.2.5.b/debian/patches/05_xfig-libs.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_xfig-libs.dpatch by Roland Rosenfeld <roland@debian.org> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: mention xfig-libs package, if no libraries are available. + +@DPATCH@ +diff -urNad xfig~/w_library.c xfig/w_library.c +--- xfig~/w_library.c ++++ xfig/w_library.c +@@ -1365,7 +1365,7 @@ + path = appres.library_dir; + + if (stat(path, &st) != 0) { /* no such file */ +- file_msg("Can't find %s, no libraries available", path); ++ file_msg("Can't find %s, no libraries available, please install package xfig-libs", path); + return 0; + } else if (S_ISDIR(st.st_mode)) { + /* if it is directory, scan the sub-directories and search libraries */ --- xfig-3.2.5.b.orig/debian/patches/33_pdfimport_mediabox.dpatch +++ xfig-3.2.5.b/debian/patches/33_pdfimport_mediabox.dpatch @@ -0,0 +1,37 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 33_pdfimport_mediabox.dpatch by jsoula@univ-lille2.fr +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix reading "/MediaBox" when importing PDF (Closes: #530898). + +@DPATCH@ +diff -urNad xfig~/f_readeps.c xfig/f_readeps.c +--- xfig~/f_readeps.c ++++ xfig/f_readeps.c +@@ -77,11 +77,13 @@ + + /* look for /MediaBox for pdf file */ + if (pdf_flag) { +- if (!strncmp(buf, "/MediaBox", 8)) { /* look for the MediaBox spec */ ++ char *s; ++ for(s=buf; (s=strchr(s,'/')); s++) { ++ if (!strncmp(s, "/MediaBox", 8)) { /* look for the MediaBox spec */ + char *c; + +- c = strchr(buf, '[') + 1; +- if (c && sscanf(c, "%d %d %d %d", &llx, &lly, &urx, &ury) < 4) { ++ c = strchr(s, '['); ++ if (c && sscanf(c+1, "%d %d %d %d", &llx, &lly, &urx, &ury) < 4) { + llx = lly = 0; + urx = paper_sizes[0].width * 72 / PIX_PER_INCH; + ury = paper_sizes[0].height * 72 / PIX_PER_INCH; +@@ -89,7 +91,9 @@ + appres.INCHES ? "Letter" : "A4"); + app_flush(); + } ++ break; + } ++ } + /* look for bounding box */ + } else if (!nested && !strncmp(buf, "%%BoundingBox:", 14)) { + if (!strstr(buf, "(atend)")) { /* make sure doesn't say (atend) */ --- xfig-3.2.5.b.orig/debian/patches/13_remove_extra_libs.dpatch +++ xfig-3.2.5.b/debian/patches/13_remove_extra_libs.dpatch @@ -0,0 +1,26 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 13_remove_extra_libs.dpatch by Roland Rosenfeld <roland@debian.org> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Remove unnecessary dependencies on libz, libXmu, libSM, libICE, libXext + +@DPATCH@ +diff -urNad xfig~/Imakefile xfig/Imakefile +--- xfig~/Imakefile ++++ xfig/Imakefile +@@ -227,7 +227,14 @@ + XCOMM #define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB) + #ifdef XawClientLibs + # undef XawClientLibs +-# define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XTOOLONLYLIIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XONLYLIB) ++# define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XTOOLONLYLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XONLYLIB) ++#endif ++ ++XCOMM Shorten unnecessary dependencies: ++XCOMM #define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB) ++#ifdef XawClientLibs ++# undef XawClientLibs ++# define XawClientLibs $(XAWLIB) $(XTOOLONLYLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XONLYLIB) + #endif + + XCOMM *****************************************************