diff -u xfig-3.2.5-rel/debian/changelog xfig-3.2.5-rel/debian/changelog --- xfig-3.2.5-rel/debian/changelog +++ xfig-3.2.5-rel/debian/changelog @@ -1,3 +1,32 @@ +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 @@ -982,87 +1011,50 @@ -Wed May 3 16:38:07 EDT 1995 D.J. Gregor +Wed May 3 16:38:07 EDT 1995 D.J. Gregor 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 - 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 - 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 - 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 - 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 - * xfig 3.1.3-6 - * ELF release. - Fri May 17 13:18:44 1996 joost witteveen - * xfig-3.1.4-1 - * upgreaded upstream source. - * changed maintainers - * changed Imakefile as described in README for libjpeg - * added libjpeg dependancy to debian.control + diff -u xfig-3.2.5-rel/debian/control xfig-3.2.5-rel/debian/control --- xfig-3.2.5-rel/debian/control +++ xfig-3.2.5-rel/debian/control @@ -3,14 +3,15 @@ Priority: optional Maintainer: Ubuntu MOTU Developers XSBC-Original-Maintainer: Roland Rosenfeld -Standards-Version: 3.7.2 -Build-Depends: dpatch, dpkg (>= 1.7.2), debhelper (>= 5), libxt-dev, libxpm-dev, libx11-dev, libxi-dev, xutils, xaw3dg-dev (>= 1.5+E-2), libjpeg62-dev, libpng12-dev | libpng-dev +Standards-Version: 3.8.0 +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), gs, gsfonts-x11 (>= 0.7), netpbm, spell, cupsys-client | lpr +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 @@ -24,8 +25,6 @@ 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. - . - Homepage: http://www-epb.lbl.gov/xfig/ Package: xfig-doc Section: doc @@ -39,8 +38,6 @@ . This package contains on-line documentation in HTML and PDF formats as well as the graphics examples distributed with XFig. - . - Homepage: http://www-epb.lbl.gov/xfig/ Package: xfig-libs Section: graphics @@ -62,2 +58,0 @@ - . - Homepage: http://www-epb.lbl.gov/xfig/ diff -u xfig-3.2.5-rel/debian/menu xfig-3.2.5-rel/debian/menu --- xfig-3.2.5-rel/debian/menu +++ xfig-3.2.5-rel/debian/menu @@ -4,7 +4,7 @@ icon32x32="/usr/share/pixmaps/xfig32x32.xpm" \ icon16x16="/usr/share/pixmaps/xfig16x16.xpm" \ icon="/usr/share/pixmaps/xfig32x32cmap.xpm" \ - section="Apps/Graphics" \ + section="Applications/Graphics" \ hints="Drawing,Draw,Vector" \ title="xfig" \ longtitle="Facility for Interactive Generation of figures" \ diff -u xfig-3.2.5-rel/debian/rules xfig-3.2.5-rel/debian/rules --- xfig-3.2.5-rel/debian/rules +++ xfig-3.2.5-rel/debian/rules @@ -1,6 +1,6 @@ #!/usr/bin/make -f # -# (C) 1999-2006 Roland Rosenfeld , based on +# (C) 1999-2008 Roland Rosenfeld , based on # Sample debian/rules that uses debhelper. # This file is public domain software, originally written by Joey Hess. @@ -33,7 +33,7 @@ dh_testroot rm -f build-stamp - -$(MAKE) clean + [ ! -f Makefile ] || $(MAKE) clean rm -f Makefile* xfig.man dh_clean diff -u xfig-3.2.5-rel/debian/xfig-doc.doc-base xfig-3.2.5-rel/debian/xfig-doc.doc-base --- xfig-3.2.5-rel/debian/xfig-doc.doc-base +++ xfig-3.2.5-rel/debian/xfig-doc.doc-base @@ -5,7 +5,7 @@ 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: Apps/Graphics +Section: Graphics Format: html Index: /usr/share/doc/xfig/html/index.html diff -u xfig-3.2.5-rel/debian/patches/00list xfig-3.2.5-rel/debian/patches/00list --- xfig-3.2.5-rel/debian/patches/00list +++ xfig-3.2.5-rel/debian/patches/00list @@ -14,7 +14,9 @@ -14_manpage_fixsyntax.dpatch +14_manpage_fixsyntax.dpatch 15_lp_or_lpr.dpatch 16_man_rigidtext.dpatch 19_xaw3d1_5e_fix.dpatch 20_nodebugout.dpatch 21_Imake_jhtml_fix.dpatch 22_kfreebsd.dpatch +23_modepanel_width.dpatch +24_lp_printer_fixup.dpatch only in patch2: unchanged: --- xfig-3.2.5-rel.orig/debian/patches/23_modepanel_width.dpatch +++ xfig-3.2.5-rel/debian/patches/23_modepanel_width.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 23_modepanel_width.dpatch by Brian V. Smith +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: finally fixed size of mode panel so it doesn't cover indicator +## DP: panel under certain circumstances (backported from unreleased +## DP: 3.2.5a). + +@DPATCH@ +diff -urNad xfig~/w_setup.c xfig/w_setup.c +--- xfig~/w_setup.c ++++ xfig/w_setup.c +@@ -23,8 +23,6 @@ + #include "w_setup.h" + #include "w_util.h" + +-#define NUM_DRAW_SW 17 /* kludge - shouldn't have to edit this by hand */ +- + int TOOL_WD, TOOL_HT; + int CMDFORM_WD, CMDFORM_HT = CMD_BUT_HT; + int NAMEPANEL_WD; +@@ -94,8 +92,7 @@ + + /* space for both modepanel titles (Drawing modes and Editing modes) */ + MODEPANEL_SPACE = 1 + CANVAS_HT + RULER_WD - +- (MODE_SW_HT + INTERNAL_BW) * (ceil((double)NUM_DRAW_SW/SW_PER_ROW) + +- ceil((double)(NUM_MODE_SW-NUM_DRAW_SW)/SW_PER_ROW)); ++ (MODE_SW_HT + INTERNAL_BW) * (ceil((double)NUM_MODE_SW/SW_PER_ROW) + 1); + if (MODEPANEL_SPACE < 2) + MODEPANEL_SPACE = 2; + } only in patch2: unchanged: --- xfig-3.2.5-rel.orig/debian/patches/24_lp_printer_fixup.dpatch +++ xfig-3.2.5-rel/debian/patches/24_lp_printer_fixup.dpatch @@ -0,0 +1,22 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 24_lp_printer_fixup.dpatch by Roland Rosenfeld +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix printer selection option if lp is used (instead of lpr) + +@DPATCH@ +diff -urNad xfig~/u_print.c xfig/u_print.c +--- xfig~/u_print.c ++++ xfig/u_print.c +@@ -631,9 +631,10 @@ + printer, + shell_protect_string(file)); + #else +- sprintf(cmd, "%s %s -P%s %s", ++ sprintf(cmd, "%s %s %s%s %s", + access("/usr/bin/lp", X_OK)?"lpr":"lp", + pr_params, ++ access("/usr/bin/lp", X_OK)?"-P":"-d", + printer, + shell_protect_string(file)); + #endif /* (defined(SYSV) || defined(SVR4)) && !defined(BSDLPR) */