diff --git a/.gitignore b/.gitignore index 26e4cf7..64810f4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,13 +1,2 @@ xfig.3.2.5b.full.tar.gz /xfig-icons.tar.gz -/xfig.3.2.5c.full.tar.gz -/xfig_3.2.5.c-8.debian.tar.xz -/xfig-full-3.2.6.tar.xz -/xfig-3.2.6.tar.xz -/xfig-3.2.6a.tar.xz -/xfig-3.2.7a.tar.xz -/xfig-3.2.7b.tar.xz -/xfig-3.2.8a.tar.xz -/xfig-3.2.8b.tar.xz -/xfig-3.2.9.tar.xz -/mcj-xfig-ce9782a404b6a527393839369aac13dcfb66ff16.zip diff --git a/31_spelling.patch b/31_spelling.patch new file mode 100644 index 0000000..fd35db5 --- /dev/null +++ b/31_spelling.patch @@ -0,0 +1,12 @@ +From: Roland Rosenfeld +Subject: Fix spelling errors in binary. + +--- a/f_load.c ++++ b/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 --git a/33_pdfimport_mediabox.patch b/33_pdfimport_mediabox.patch new file mode 100644 index 0000000..a12ee33 --- /dev/null +++ b/33_pdfimport_mediabox.patch @@ -0,0 +1,33 @@ +From: jsoula@univ-lille2.fr +Subject: Fix reading "/MediaBox" when importing PDF (Closes: #530898). +Bug-Debian: http://bugs.debian.org/530898 + +--- a/f_readeps.c ++++ b/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) */ diff --git a/38_formatstring.patch b/38_formatstring.patch new file mode 100644 index 0000000..985caa3 --- /dev/null +++ b/38_formatstring.patch @@ -0,0 +1,14 @@ +From: Roland Rosenfeld +Subject: Fix format string error with hardening. + +--- a/w_msgpanel.c ++++ b/w_msgpanel.c +@@ -588,7 +588,7 @@ + + strcat(tmpstr,"\n"); + if (update_figs) { +- fprintf(stderr,tmpstr); ++ fprintf(stderr, "%s", tmpstr); + } else { + /* append this message to the file message widget string */ + block.firstPos = 0; diff --git a/39_add_xfig_man_html.patch b/39_add_xfig_man_html.patch new file mode 100644 index 0000000..ecef0bb --- /dev/null +++ b/39_add_xfig_man_html.patch @@ -0,0 +1,2936 @@ +--- /dev/null 2013-11-23 20:48:05.582065962 +0100 ++++ b/Doc/xfig_man.html 2008-03-31 18:29:22.000000000 +0200 +@@ -0,0 +1,2933 @@ ++ ++Man page of XFIG ++ ++

XFIG

++Section: User Commands (1)
Updated: Xfig 3.2.4 (Dec 2002)
Index ++
++ ++  ++

NAME

++ ++xfig - Facility for Interactive Generation of figures under X11 ++
++ ++Version 3.2.4 ++  ++

SYNOPSIS

++ ++xfig ++ ++[options] ++ ++[file] ++ ++  ++

DESCRIPTION

++ ++Xfig ++ ++is a menu-driven tool that allows the user to draw and manipulate ++objects interactively under the X Window System. ++It runs under X version 11 ++ ++release 4 or higher ++ ++and requires a two- or three-button mouse. ++file ++ ++specifies the name of a file to be edited. ++The objects in the file will be read at the start of ++xfig. ++ ++

++ ++The bulk of the documentation fori ++xfig ++ ++is in an HTML-based reference guide. ++See the Help menu in ++xfig ++ ++or point your browser at ++Doc/html/index.html ++ ++(provided with the ++xfig ++ ++distribution, usually in the ++Doc/www ++ ++directory). ++There are both English and Japanese versions. ++

++ ++When using a two-button mouse use the ++<Meta> ++ ++key and the right button at the same time to effect ++the action of the middle button. ++

++ ++Xfig ++ ++is available from ++http://www.xfig.org . ++

++ ++The ++TransFig ++ ++package is used when printing or exporting the output from ++xfig. ++ ++The ++fig2dev ++ ++program from the ++TransFig ++ ++package is automatically called by ++xfig ++ ++as a back-end processor to produce various types of output: ++

++ ++LaTeX, Metafont, PostScript or Encapsulated PostScript, ++tk (tcl/tk tool command language/tool kit package), ++GIF, JPEG, PCX, PNG, PPM, TIFF, ++XBM, XPM, AutoCAD Slide, IBM-GL (HP/GL), Pic ++PiCTeX, box, epic, eepic and eepicemu. ++

++ ++See man fig2dev for all options. ++

++ ++The ++TransFig ++ ++package is available from ++http://www.xfig.org . ++  ++

OPTIONS

++ ++ ++ ++

++ ++ ++-help ++ ++ ++ ++

++
++ ++ ++Print all command-line options for xfig and quit. ++ ++ ++
++

++ ++ ++-a[llownegcoords] ++ ++ ++ ++

++
++ ++ ++Allow panning into the negative region of the canvas. ++This is the default ++ ++ ++
++

++ ++ ++-bal[loon_delay] ++ ++msec ++ ++ ++ ++

++
++ ++ ++Cause popup information balloons to be delayed by ++msec ++ ++milliseconds. The default is 500 milliseconds. ++ ++ ++
++

++ ++ ++-bol[d] ++ ++font ++ ++ ++ ++

++
++ ++ ++Cause the font used for displaying the file name and ++confirmation messages to be ++font ++ ++(default = 8x13bold). ++ ++ ++
++

++ ++ ++-butt[on] ++ ++font ++ ++ ++ ++

++
++ ++ ++Cause the font used for most buttons to be ++font ++ ++(default = 6x13). ++ ++ ++
++

++ ++ ++-but_[per_row] ++ ++number ++ ++ ++ ++

++
++ ++ ++Specify the number of buttons wide the mode panel should be. ++This is useful in conjunction with the ++-pheight ++ ++parameter to reduce the canvas height for small screens. ++ ++ ++
++

++ ++ ++-cbg color ++ ++ ++ ++

++
++ ++ ++Use ++color ++ ++as the background color for the canvas. ++If you want to set the background of everything in xfig ++(e.g. menus, etc.) use the general ++-bg ++ ++option. ++ ++ ++
++

++ ++ ++-center ++ ++ ++ ++

++
++ ++ ++Set the print option to print the figure centered on the page. ++This is the default. ++ ++ ++
++

++ ++ ++-centim[ers] ++ ++ ++ ++

++
++ ++ ++Make centimeters the unit of choice. See also ++-metric. ++ ++ ++ ++
++

++ ++ ++-cfg color ++ ++ ++ ++

++
++ ++ ++Use ++color ++ ++as the default color for objects. ++If you want to set the foreground of everything in xfig ++(e.g. menus, etc.) use the general ++-fg ++ ++option. ++ ++ ++
++

++ ++ ++-correct_font_size ++ ++ ++ ++

++
++ ++ ++Normally, ++fig2dev ++ ++uses 1/80 inch for font size increments (for historical reasons), ++instead of the more proper ``points'' (1/72 inch) that ++xfig ++ ++uses. This option makes xfig call fig2dev with the ++-F ++ ++option to make it use points (1/72 inch). ++ ++ ++
++

++ ++ ++-deb[ug] ++ ++ ++ ++

++
++ ++ ++Turn on debugging mode. ++Prints various debugging messages like font names etc. ++ ++ ++
++

++ ++ ++-dep[th] ++ ++ ++ ++

++
++ ++ ++Choose depth of visual desired. Your server must support the desired ++visual and depth chosen. ++Use ++xdpyinfo ++ ++to see what visuals and depths are supported. ++See also the ++-visual ++ ++option. ++ ++ ++
++

++ ++ ++-donta[llownegcoords] ++ ++ ++ ++

++
++ ++ ++Don't allow panning into the negative region of the canvas. ++The default is to allow panning in the negative region. ++ ++ ++
++

++ ++ ++-dontshowb[alloons] ++ ++ ++ ++

++
++ ++ ++Prevents xfig from popping up the information balloons. ++See also ++-showballoons. ++ ++ ++ ++
++

++ ++ ++-dontshowl[engths] ++ ++ ++ ++

++
++ ++ ++Don't show lengths of lines as they are being drawn. ++This is the default. ++ ++ ++
++

++ ++ ++-dontshowz[erolines] ++ ++ ++ ++

++
++ ++ ++Don't show axis zero lines on the canvas. ++The default is to show them. ++ ++ ++
++

++ ++ ++-dontsw[itchcmap] ++ ++ ++ ++

++
++ ++ ++Prevents xfig from switching to a private colormap if there aren't ++enough colors available in the default colormap. See also ++-max_image_colors. ++ ++ ++ ++
++

++ ++ ++-enc[oding] ++ ++encoding ++ ++ ++ ++

++
++ ++ ++Encode character set using ++encoding ++ ++when exporting LaTeX text. The default is 1. This is used ++for the ISO-8859 encoding of character sets. Allowed ++values are 0 (no encoding), 1 (ISO-8859-1) or 2 (ISO-8859-2). ++ ++ ++
++

++ ++ ++-exportL[anguage] ++ ++language ++ ++ ++ ++

++
++ ++ ++Specifies the default language to be used for when exporting a fig file. ++Choices are: ++ ++

++ ++ ++ ++ ++ ++

++
++Name              Language
++
Vector formats: ++box LaTeX box (figure boundary) ++latex LaTeX picture ++epic LaTeX picture + epic macros ++eepic LaTeX picture + eepic macros ++eepicemu LaTeX picture + eepicemu macros ++pictex PiCTeX macros ++hpl HPGL (IBMGL) ++eps Encapuslated PostScript ++eps_ascii Encapuslated PostScript with ASCII preview ++eps_mono_tiff Encapuslated PostScript with monochrome binary (TIFF) preview ++eps_color_tiff Encapuslated PostScript with color binary (TIFF) preview ++ps PostScript ++pdf PDF (Portable Document Format) ++pstex Combined PS/LaTeX (both PS and LaTeX parts) ++pdftex Combined PDF/LaTeX (both PDF and LaTeX parts) ++textyl Textyl special commands ++tpic TPIC ++pic PIC ++mf MF (MetaFont) ++mp MP (MetaPost) ++mmp MMP (Multi-MetaPost) ++cgm CGM (Computer Graphics Meta file) ++bcgm Binary CGM (Computer Graphics Meta file) ++emf Enhanced Meta file) ++tk Tk (of the tcl/tk fame) ++svg SVG (Scalable Vector Graphics (XML variant)) ++ ++Bitmap formats: ++gif GIF ++jpeg JPEG (JFIF) ++pcx PCX ++png PNG ++ppm PPM (portable pixmap package) ++sld (AutoCad slide) ++tiff TIFF ++xbm X11 Bitmap ++xpm X11 Pixmap (XPM3 package) ++ ++
++ ++ ++ ++ ++ ++

++ ++

++

++ ++ ++-export_m[argin] ++ ++width ++ ++ ++ ++

++
++ ++ ++Set the size of the border margin around the figure for exporting ++to bitmap, PostScript, Encapsulated PostScript, or HTML MAP formats. ++This is in units of pixels (1/80th inch). ++The default is 0. ++ ++ ++
++

++ ++ ++-fli[pvisualhints] ++ ++ ++ ++

++
++ ++ ++Flip left/right mouse indicator messages for mice whose buttons ++have been switched. ++The default is to NOT flip the messages. ++ ++ ++
++

++ ++ ++-flu[shleft] ++ ++ ++ ++

++
++ ++ ++Set the print option to print the figure flush left. ++The default is to center the figure on the page. ++ ++ ++
++

++ ++ ++-free[hand_resolution] ++ ++resolution ++ ++ ++ ++

++
++ ++ ++Set the resolution of the freehand drawing mode to ++resolution ++ ++pixels. This is the number of pixels the mouse must move before xfig ++adds another point to the object being drawn. ++ ++ ++
++

++ ++ ++-geom[etry] ++ ++[WxH][+X+Y] ++ ++ ++ ++

++
++ ++ ++You may use the -geometry option or resource to ++size and/or position the xfig window, ++ ++or you may use ++-pwidth ++ ++and/or ++-pheight ++ ++to specify the canvas size in inches or centimeters. ++If you use the ++-geom ++ ++option to make the xfig window smaller ++than the default, you may have to use the ++-but_per_row ++ ++option to ++tell xfig to put 3 or 4 buttons per row on the left mode panel. ++ ++ ++
++

++ ++ ++-gh[ostscript] ++ ++postscript-interpreter ++ ++ ++ ++

++
++ ++ ++Select the PostScript (tm) interpreter of your choice. The default is ghostscript (gs). ++This is needed when importing Encapsulated PostScript files. ++ ++ ++
++

++ ++ ++-grid_c[olor] ++ ++color ++ ++ ++ ++

++
++ ++ ++Draw the grid on the canvas in this color (default: red). ++ ++ ++
++

++ ++ ++-grid_u[nit] ++ ++unit ++ ++ ++ ++

++
++ ++ ++Only used when in inches mode to choose between showing fractions or decimal inches ++in the rulers and grid. Any of the following may be used to force decimal inches: ++"ten", "tenth", "10, "1/10". ++If any other value is used for this option, the rulers will show 1/16 inch divisions. ++ ++ ++
++

++ ++ ++-hidd[entext] ++ ++ ++ ++

++
++ ++ ++Start ++xfig ++ ++with the ++hidden text ++ ++mode for text objects. ++The ++Hidden ++ ++attribute is used for figures that will be used with ++LaTeX ++ ++and is applicable only to the display of the document in ++xfig. ++ ++It means that the text itself is not shown onscreen, but only the string ++``<text>''. This is to keep long sequences of ++LaTeX ++ ++formatting commands from making the screen messy and hard to read. ++The default for the ++Hidden ++ ++flag is ++off. ++ ++ ++ ++
++

++ ++ ++-dontshowd[epthmanager] ++ ++ ++ ++

++
++ ++ ++Hide the depth manager panel. ++The default is to show the panel. ++ ++ ++
++

++ ++ ++-icon_[view] ++ ++ ++ ++

++
++ ++ ++Show the library objects as icons. This is the default. The other ++mode is ++-list_view. ++ ++ ++ ++
++

++ ++ ++-iconG[eometry] ++ +++X+Y ++ ++ ++ ++

++
++ ++ ++Specifies the position for the icon. ++ ++ ++
++

++ ++ ++-im[age_editor] ++ ++editor ++ ++ ++ ++

++
++ ++ ++Specify bitmap editor to use when ``Edit Image'' button is pressed ++in Picture Object panel. ++ ++ ++
++

++ ++ ++-inc[hes] ++ ++(or-imperial) ++ ++ ++ ++

++
++ ++ ++Make inches the unit of choice. ++This is the default. ++ ++ ++
++

++ ++ ++-ins[tallowncmap] ++ ++ ++ ++

++
++ ++ ++Install own colormap. Normally, xfig uses the current colormap. ++ ++ ++
++

++ ++ ++-internalBW width ++ ++ ++ ++

++
++ ++ ++Use lines of width ++width ++ ++between all buttons and panels (default = 1). ++ ++ ++
++

++ ++ ++-international ++ ++ ++ ++

++
++ ++ ++Switch on international support (mainly Japanese and Korean), ++users of ISO Latin 1 (ISO-8859-1) probably should not use this, ++therefore the international support is switched off by default ++for locales using ISO-8859-1* codesets. For all other locales this ++option is already used by default. ++ ++ ++
++

++ ++ ++-jpeg[_quality] ++ ++quality ++ ++ ++ ++

++
++ ++ ++Set the quality factor for exporting to the jpeg format. ++The default is 75. ++ ++ ++
++

++ ++ ++-k[eyFile] ++ ++compose-key-file ++ ++ ++ ++

++
++ ++ ++Use ++compose-key-file ++ ++instead of ++CompKeyDB ++ ++for compose (meta) key database. ++If there are no ++``/''s ++ ++in the name, the file must reside in the ++xfig ++ ++library directory, ++$XFIGLIBDIR, ++ ++usually ++/usr/local/lib/X11/xfig. ++ ++If there are any ++``/''s ++ ++in the name it is taken as is (not relative to ++$XFIGLIBDIR). ++ ++If there is a leading ++``~/'' ++ ++in the string then the ++``~'' ++ ++is expanded to the user's home directory. ++ ++ ++
++

++ ++ ++-lan[dscape] ++ ++ ++ ++

++
++ ++ ++Make ++xfig ++ ++come up in landscape mode (10.5" x 8"). ++This is the default; however as the orientation is stored with Fig files, ++when you load a Fig file the orientation will change as required. ++This is only true for files of version 3.0 or higher. ++
++ ++See also -portrait. ++ ++ ++
++

++ ++ ++-lat[exfonts] ++ ++ ++ ++

++
++ ++ ++Start ++xfig ++ ++with ++LaTeX ++ ++font selection. ++Normally, the ++PostScript ++ ++fonts are available as the default. ++This flag selects the ++LaTeX ++ ++fonts to start. ++ ++ ++
++

++ ++ ++-le[ft] ++ ++ ++ ++

++
++ ++ ++Change the position of the side panel window to the left of the canvas window. ++This is the default. ++ ++ ++
++

++ ++ ++-library_d[ir] ++ ++directory ++ ++ ++ ++

++
++ ++ ++Specify directory where Fig object libraries are located. There may be sub-directories ++there and sub-sub-directories, etc. ++ ++ ++
++

++ ++ ++-library_i[con_size] ++ ++size ++ ++ ++ ++

++
++ ++ ++Specify the size of the icons shown for library objects. The default is 60 pixels, with the ++minimum being 40 and the maximum being 120. ++ ++ ++
++

++ ++ ++-lis[t_view] ++ ++ ++ ++

++
++ ++ ++Show the library objects as a list of names. The default ++mode is ++-icon_view. ++ ++ ++ ++
++

++ ++ ++-mag[nification] ++ ++mag ++ ++ ++ ++

++
++ ++ ++Set export and print magnification in %. ++ ++
++

++ ++ ++-max[_image_colors] ++ ++numcols ++ ++ ++ ++

++
++ ++ ++Limit the number of colors used for imported images to ++numcols (default 64). ++ ++ ++ ++
++

++ ++ ++-me[tric] ++ ++ ++ ++

++
++ ++ ++Make centimeters the unit of choice. ++The option ++-centimeters ++ ++may also be used. ++
++After ++xfig ++ ++is started you may change the units from metric to ++imperial or vice versa from a popup menu available by pressing mouse ++button 3 in the ++units ++ ++box where the two rulers meet. ++ ++ ++
++

++ ++ ++-mo[nochrome] ++ ++ ++ ++

++
++ ++ ++Use black and white only. ++ ++ ++
++

++ ++ ++-mu[ltiple] ++ ++ ++ ++

++
++ ++ ++Sets multiple page mode for print or export. See also ++-single. ++ ++ ++ ++
++

++ ++ ++-noo[verlap] ++ ++ ++ ++

++
++ ++ ++When exporting in multiple page mode, causes no overlap from page to page. ++This is the default. See also ++-overlap. ++ ++ ++ ++
++

++ ++ ++-nor[mal] ++ ++font ++ ++ ++ ++

++
++ ++ ++Cause the font used for the message window to be ++font. ++ ++This font is also used on the canvas when the selected font is not ++available in an X11 font (default = 6x13). ++ ++ ++
++

++ ++ ++-nosc[alablefonts] ++ ++ ++ ++

++
++ ++ ++Disables use of the X11R5 or OpenWindows scalable fonts. ++You might want to use this for debugging. ++ ++ ++
++

++ ++ ++-nosp[lash] ++ ++ ++ ++

++
++ ++ ++Don't show the startup splash screen. The default is to show it ( ++-splash ++ ++). ++ ++ ++
++

++ ++ ++-not[rack] ++ ++ ++ ++

++
++ ++ ++Turn off cursor (mouse) tracking arrows. ++ ++ ++
++

++ ++ ++-ov[erlap] ++ ++ ++ ++

++
++ ++ ++When exporting in multiple page mode, causes overlap from page to page of ++about 10%. ++See also ++-nooverlap. ++ ++ ++ ++
++

++ ++ ++-pag[eborder] ++ ++color ++ ++ ++ ++

++
++ ++ ++Draw the page border on the canvas in this color (default light blue). ++The page border is turned on by the ++-showpageborder ++ ++option ++(resource Fig.showpageborder), ++and shows the edges of the current ++export ++ ++paper size. ++ ++ ++
++

++ ++ ++-pap[er_size] ++ ++size ++ ++ ++ ++

++
++ ++ ++Set the initial paper size for Export and Print. Choices are ++ ++

++ ++ ++ ++ ++ ++

++
++Option     Paper      Size
++
letter Letter 8.5in x 11in ++legal Legal 8.5in x 14in ++tabloid Tabloid 17in x 11in ++a ANSI A 8.5in x 11in ++b ANSI B 11in x 17in ++c ANSI C 17in x 22in ++d ANSI D 22in x 34in ++e ANSI E 34in x 44in ++a9 ISO A9 37mm x 52mm ++a8 ISO A8 52mm x 74mm ++a7 ISO A7 74mm x 105mm ++a6 ISO A6 105mm x 148mm ++a5 ISO A5 148mm x 210mm ++a4 ISO A4 210mm x 297mm ++a3 ISO A3 297mm x 420mm ++a2 ISO A2 420mm x 594mm ++a1 ISO A1 594mm x 840mm ++a0 ISO A0 840mm x 1189mm ++b10 JIS B10 32mm x 45mm ++b9 JIS B9 45mm x 64mm ++b8 JIS B8 64mm x 91mm ++b7 JIS B7 91mm x 128mm ++b6 JIS B6 128mm x 182mm ++b5 JIS B5 182mm x 257mm ++b4 JIS B4 257mm x 364mm ++b3 JIS B3 364mm x 515mm ++b2 JIS B2 515mm x 728mm ++b1 JIS B1 728mm x 1030mm ++b0 JIS B0 1030mm x 1456mm ++
++ ++ ++ ++ ++ ++ ++

++ ++Note that this doesn't affect the size of the drawing canvas. ++Use the ++-pheight ++ ++and ++-pwidth ++ ++options for that. ++ ++ ++

++

++ ++ ++-ph[eight] ++ ++height ++ ++ ++ ++

++
++ ++ ++Make the ++xfig ++ ++canvas ++height ++ ++high (where ++height ++ ++is either cm or in, depending on the ++-metric ++ ++setting). ++ ++ ++
++

++ ++ ++-po[rtrait] ++ ++ ++ ++

++
++ ++ ++Make ++xfig ++ ++come up in portrait mode (8.5" x 9"). See note about landscape mode. ++ ++ ++
++

++ ++ ++-pw[idth] ++ ++width ++ ++ ++ ++

++
++ ++ ++Make the ++xfig ++ ++canvas ++width ++ ++wide (where ++width ++ ++is either cm or in, depending on the ++-metric ++ ++setting). ++ ++ ++
++

++ ++ ++-righ[t] ++ ++ ++ ++

++
++ ++ ++Change the position of the side panel window to the right of the canvas window ++(default: left). ++ ++ ++
++

++ ++ ++-rigi[d] ++ ++ ++ ++

++
++ ++ ++Start ++xfig ++ ++with the ++rigid text ++ ++mode for text objects. ++The ++Rigid ++ ++attribute forces text to remain the same size even if ++inside a compound object that is scaled up or down. ++The default is ++off. ++ ++ ++ ++
++

++ ++ ++-ru[lerthick] ++ ++ ++ ++

++
++ ++ ++Set the height(width) of the top(side) rulers in pixels. ++The default (and minimum) is 24. ++ ++ ++
++

++ ++ ++-scala[blefonts] ++ ++ ++ ++

++
++ ++ ++Allows use of the X11R5 or OpenWindows scalable fonts (this is the default). ++If the scalable fonts aren't available ++xfig ++ ++will automatically switch to non-scaling fonts. ++ ++ ++
++

++ ++ ++-scale_factor ++ ++scale ++ ++ ++ ++

++
++ ++ ++Scale every figure read in by this value. This is useful in conjunction with the ++-update ++ ++option to do batch scaling of figures. ++ ++ ++
++

++ ++ ++-showa[llbuttons] ++ ++ ++ ++

++
++ ++ ++Show all the ++xfig ++ ++indicator buttons instead of only those relevant ++to the current drawing mode. ++Normally, the buttons ++line width, ++ ++area-fill, ++ ++grid mode, ++ ++text size, ++ ++etc. are only visible when ++they are relevant to the current drawing mode. ++The ++-showallbuttons ++ ++option makes all ++of the indicator buttons visible at all times. ++This takes up more screen real estate, ++but allows the user to see all settable parameters. ++ ++ ++
++

++ ++ ++-showb[alloons] ++ ++ ++ ++

++
++ ++ ++Forces ++xfig ++ ++to pop up the information balloons when the mouse ++passws over a button. This is the default. See also ++-dontshowballoons . ++ ++ ++ ++
++

++ ++ ++-showd[epthmanager] ++ ++ ++ ++

++
++ ++ ++Show the depth manager panel. This panel lets one show or hide ++objects at various depths. ++This is the default. ++ ++ ++
++

++ ++ ++-showl[engths] ++ ++ ++ ++

++
++ ++ ++Makes ++xfig ++ ++show the lengths of lines being drawn, in red text near the ++line itself. Also, when points are moved or added. In addition, imagine ++a triangle formed with the line segment as the hypotenuse, ++and a vertical and horizontal line forming the other two sides. These ++lines and their lengths are also drawn in red as the point is moved or added. ++This mode is ignored when drawing in freehand mode. ++
++ ++This flag may be toggled by pressing <Meta>i (default). ++ ++ ++
++

++ ++ ++-shown[ums] ++ ++ ++ ++

++
++ ++ ++With this option, xfig will draw all objects with a red number next to each vertex. ++This is generally only useful for debugging. ++ ++ ++
++

++ ++ ++-showp[ageborder] ++ ++ ++ ++

++
++ ++ ++Makes ++xfig ++ ++show the border of the current paper size in the color specified ++by the ++-pageborder ++ ++option (default: light blue). ++ ++ ++
++

++ ++ ++-showz[erolines] ++ ++ ++ ++

++
++ ++ ++Show axis zero lines on the canvas. ++This is the default ++ ++ ++
++

++ ++ ++-si[ngle] ++ ++ ++ ++

++
++ ++ ++Sets single page mode for print or export. ++This is the default. See also ++-multiple. ++ ++ ++ ++
++

++ ++ ++-sm[ooth_factor] ++ ++factor ++ ++ ++ ++

++
++ ++ ++Enable smoothing when exporting to the bitmap formats (e.g. GIF, PNG, etc.). The allowed ++values are 0 (no smoothing), 2 or 4 (most smoothing). This parameter is passed ++to ghostscript in the -dTextAlphaBits -dGraphicsAlphaBits options to smooth the figure. ++ ++ ++
++

++ ++ ++-spec[ialtext] ++ ++ ++ ++

++
++ ++ ++Start ++xfig ++ ++with the ++special text ++ ++mode for text objects. ++Special text means that special characters in the string are not specially ++processed but are passed directly to ++LaTeX. ++ ++This is most useful for writing LaTeX equations. ++If this flag is not set, then the backslash character '\' is changed ++to the \backslash command, a brace '{' is turned into a brace command \{, etc. ++ ++ ++
++

++ ++ ++-spel[lcheckcommand] ++ ++command ++ ++ ++ ++

++
++ ++ ++Use ++command ++ ++for the external spell checking program when using the spell check/search/replace ++popup. ++The string ++command ++ ++should include the string ``%s'' which is replaced by a temporary filename. ++Default is ``spell %s''. ++ ++ ++
++

++ ++ ++-spinner_d[elay] ++ ++msec ++ ++ ++ ++

++
++ ++ ++The delay (in milliseconds) before the spinner will automatically count up ++or down when the button is pressed. ++Spinners are the (numeric) text widgets with an up- and down-arrow, which when ++clicked, cause the value to be incremented/decremented. ++The default is 500 milliseconds. ++ ++ ++
++

++ ++ ++-spinner_r[rate] ++ ++msec ++ ++ ++ ++

++
++ ++ ++The rate (in milliseconds) at which the spinner will count ++when the up- or down-arrow is pressed. ++ ++ ++
++

++ ++ ++-startfi[llstyle] ++ ++stylenumber ++ ++ ++ ++

++
++ ++ ++Set the starting fill style for area fill (-1 to 21). ++ ++ ++
++

++ ++ ++-startfo[ntsize] ++ ++pointsize ++ ++ ++ ++

++
++ ++ ++Set the default font size for text objects (default = 12pt). ++ ++ ++
++

++ ++ ++-startg[ridmode] ++ ++modenumber ++ ++ ++ ++

++
++ ++ ++Set the starting grid mode (0 to 3). Mode 0 is no grid. ++In imperial (inches) mode, grid mode 1 is 1/4 inch, ++mode 2 is 1/2 inch and mode 3 is 1 inch. ++In metric mode, grid mode 1 is 5mm, mode 2 is 1cm and mode 3 is 2cm. ++ ++ ++
++

++ ++ ++-startla[texFont] ++ ++font ++ ++ ++ ++

++
++ ++ ++Set the starting font name for ++LaTeX ++ ++fonts. ++ ++ ++
++

++ ++ ++-startli[newidth] ++ ++width ++ ++ ++ ++

++
++ ++ ++Set the starting line width. ++ ++ ++
++

++ ++ ++-startpo[snmode] ++ ++modenumber ++ ++ ++ ++

++
++ ++ ++Set the starting point positioning mode (0 to 4) ++In imperial (inches) mode, positioning mode 0 is ``any'', ++mode 1 is 1/16 inch, ++mode 2 is 1/4 inch, mode 3 is 1/2 inch and mode 4 is 1 inch. ++In metric mode, mode 0 is ``any'', ++mode 1 is 1mm, mode 2 is 5mm, mode 3 is 10mm and mode 4 is 20mm. ++ ++ ++
++

++ ++ ++-startp[sFont] ++ ++font ++ ++ ++ ++

++
++ ++ ++Set the starting font name for ++PostScript ++ ++fonts. ++ ++ ++
++

++ ++ ++-startt[extstep] ++ ++stepsize ++ ++ ++ ++

++
++ ++ ++Set the starting text step. ++ ++ ++
++

++ ++ ++-ta[blet] ++ ++ ++ ++

++
++ ++ ++Specifies that xfig should use the input tablet instead of the mouse ++for drawing. You must have the XInputExtension in your X server and ++an input tablet for this to work. Also, you must modify the Imakefile ++to include the ++USETAB ++ ++and ++TABLIB ++ ++variables. ++ ++ ++
++

++ ++ ++-track ++ ++ ++ ++

++
++ ++ ++Turn on cursor (mouse) tracking arrows (default). ++ ++ ++
++

++ ++ ++-tran[sparent_color] ++ ++color_number ++ ++ ++ ++

++
++ ++ ++Make the transparent color for GIF export ++color_number. ++ ++This number is the color number according to the ++xfig ++ ++color panel, starting at 0 (black) and ending at 31 (gold), ++or may be a user-defined color number, which is 32 or higher. ++ ++ ++
++

++ ++ ++-update ++ ++file [ file ... ] ++ ++ ++ ++

++
++ ++ ++Run xfig in an "update" mode, where it will read each Fig file specified ++on the command line and write it out to the original file, ++in the current file format for the version of xfig being run. ++The original Fig file will be preserved with ++the suffix .bak attached to the name. ++
++ ++In this mode, xfig doesn't connect the X server, so no window is opened, ++and it exits when finished. ++ ++ ++
++

++ ++ ++-users[cale] ++ ++scale ++ ++ ++ ++

++
++ ++ ++Set the multiplier for displayed line lengths etc. ++This factor is multiplied by the actual length, ++radius or diameter of the object currently ++being drawn on the canvas. ++It is useful for making scale drawings, where ++e.g. 1 inch = 1 foot (userscale = 12.0) or 1cm = 1m (userscale = 100.0). ++ ++ ++
++

++ ++ ++-useru[nit] ++ ++units ++ ++ ++ ++

++
++ ++ ++The ++units ++ ++string is printed with the length information when drawing objects. ++For example if the ++userscale ++ ++= 1.0 and the ++userunit ++ ++= ++ft ++ ++then a line which is 3 inches long on the canvas would be displayed as ++``length = 3 ft'' when it is being drawn. ++
++After ++xfig ++ ++is started you may change the ++userscale ++ ++and the ++userunit ++ ++from a popup menu available by pressing mouse button 3 in the ++units ++ ++box where the two rulers meet. ++ ++ ++
++

++ ++ ++-visual ++ ++visualname ++ ++ ++ ++

++
++ ++ ++Use ++visualname ++ ++as the visual for xfig. The names are TrueColor (case is not important), ++StaticColor, DirectColor, StaticGray, GrayScale and PseudoColor. ++xfig ++ ++uses the default visual unless this is specified. Your server must ++support the desired visual. ++Use ++xdpyinfo ++ ++to see what visuals and depths are supported. ++See also the ++-depth ++ ++option. ++ ++ ++
++

++ ++ ++-zoom ++ ++zoomscale ++ ++ ++ ++

++
++ ++ ++Set the starting zoom scale. ++

++

++

++

++ ++  ++

X RESOURCES and DEFAULTS

++ ++The overall widget name(Class) is xfig(Fig). ++These resources correspond to the command line arguments: ++

++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++

++Name                Type    Default         Command-line equivalent
++
allownegcoords boolean true -allownegcoords (true), ++ -dontallownegcoords (false) ++axislines string pink -axislines ++balloon_delay integer 500 (ms) -balloon_delay ++boldFont string 8x13bold -bold ++but_per_row integer 2 -but_per_row ++buttonFont string 6x13 -button ++canvasbackground string white -cbg ++canvasforeground string black -cfg ++correctfontsize boolean false -correctfontsize ++debug boolean false -debug ++depth integer * -depth ++dontswitchcmap boolean false -dontswitchcmap ++euc_encoding boolean false (n/a) ++encoding integer 1 -encoding ++exportLanguage string eps -exportLanguage ++export_margin integer 0 -export_margin ++flipvisualhints boolean false -flipvisualhints ++flushleft boolean false -flushleft (true), ++ -center (false) ++freehand_resolution integer 25 -freehand_resolution ++grid_color string black -grid_color ++grid_unit string 1/16 (inch) -grid_unit ++ 0.1 (metric) ++hiddentext boolean false -hiddentext ++icon_view boolean true -icon_view (true), ++ -list_view (false) ++image_editor string xv -image_editor ++inches boolean true -inches (true), ++ -imperial (true), ++ -centimeters (false), ++ -metric (false) ++installowncmap boolean false -installowncmap ++internalborderwidth integer 1 -internalBW ++international International booleanfalse-international ++jpeg_quality integer 75 -jpeg_quality ++justify boolean false -left (false), ++ -right (true) ++keyFile string CompKeyDB -keyFile ++landscape boolean true -Landscape (true), ++ -landscape (true), ++ -Portrait (false), ++ -portrait (false) ++latexfonts boolean false -latexfonts ++library_dir string ~/xfiglib -library_dir ++magnification float 100 -magnification ++max_image_colors integer 64 -max_image_colors ++monochrome boolean false -monochrome ++multiple boolean false -multiple ++normalFont string 6x13 -normal ++overlap boolean true -overlap (true), ++ -nooverlap (false) ++pageborder string lightblue -pageborder ++paper_size string Letter (inch) -paper_size ++ A4 (metric) ++pheight float 8.5 (landscape) -pheight ++ 9.5 (portrait) ++pwidth float 11 (landscape) -pwidth ++ 8.5 (portrait) ++rigidtext boolean false -rigid (true) ++rulerthick integer 24 -rulerthick ++scalablefonts boolean true -scalablefonts (true), ++ -noscalablefonts (false) ++scale_factor float 1.0 -scale_factor ++showallbuttons boolean false -showallbuttons ++showaxislines boolean true -showaxislines (true), ++ -dontshowaxislines (false) ++showballoons boolean true -showballoons (true), ++ -dontshowballoons (false) ++showdepthmanager boolean true -showdepthmanager (true), ++ -dontshowdepthmanager (false) ++showlengths boolean false -showlengths (true), ++ -dontshowlengths (false) ++shownums boolean false -shownums (true), ++ -dontshownums (false) ++showpageborder boolean true -showpageborder (true), ++ -dontshowpageborder (false) ++single boolean true -single ++smooth_factor integer 0 -smooth_factor ++specialtext boolean false -specialtext ++splash boolean true -splash (true), ++ -nosplash (false) ++spellcheckcommand string spell %s -spellcheckcommand ++spinner_delay integer 500 (ms) -spinner_delay ++spinner_rate integer 100 (ms) -spinner_rate ++startfillstyle integer 0 -startfillstyle ++startfontsize float 12 -startfontsize ++startgridmode integer 0 -startgridmode ++startlatexFont string Default -startlatexFont ++startlinewidth integer 1 -startlinewidth ++startposnmode integer 1 -startposnmode ++startpsFont string Times-Roman -startpsFont ++starttextstep float 1.2 -starttextstep ++tablet boolean false -track, ++trackCursor boolean true -track (true), ++ -notrack (false) ++transparent_color integer -2 (none) -transparent_color ++userscale float 1.0 -userscale ++userunit string in (inches) -userunit ++ cm (metric) ++visual string * -visual ++zoom float 1.0 -zoom ++ ++* Default visual and depth depend on the X server. Use xdpyinfo to see what visuals ++and depths are supported. ++
++ ++ ++ ++ ++ ++

++

++ ++  ++

BUGS and RESTRICTIONS

++ ++Please send bug reports, fixes, new features etc. to: ++
++ ++bvsmith@lbl.gov ++(Brian V. Smith) ++

++ ++When reporting a bug, please first check if the problem is mentioned in ++the FAQ section of the HTML files (xfig Help menu). ++

++ ++If it is not mentioned there, be sure to report the operating system you ++are using (e.g. SunOS 4.1.3), type of X server and version (OpenWindows 3, X11R6.4, ++XFree86 3.2.2, etc) and color depth (e.g. 8bpp, 16bpp), and most ++importantly the version of xfig or fig2dev that is having the problem. ++

++ ++It is also VERY useful to me if you can provide a stack trace from a debugger ++such as gdb, dbx, ups, etc, if the bug causes xfig to crash. ++

++ ++Because of the difference of some fonts in some X servers and the PostScript ++fonts on printers, text alignment can be problematic. ++

++ ++Not all operations employ smart redrawing of objects which are altered ++as a by product of the operation. ++You may need to use ++Redraw ++ ++in these cases. ++

++ ++Some servers do not allow bitmaps/pixmaps taller than the screen height ++or wider than the screen width. ++That is why there is a limit on the width ++of the top ruler and height of the side ruler. ++If you need wider/taller rulers AND your server allows bigger pixmaps, ++you may define ++MAX_TOPRULER_WD ++ ++and/or ++MAX_SIDERULER_HT ++ ++in your Imakefile in the ++DEFINES ++ ++line. ++For example, ++to have a maximum top ruler width of 1160 pixels, add ++-DMAX_TOPRULER_WD=1160 ++ ++to your ++DEFINES ++ ++line in the Imakefile. ++

++ ++If the image is panned or the ++xfig ++ ++window iconified and de-iconified ++during the middle of an operation (e.g. while drawing a line), the picture ++will be distorted. ++This can be corrected using ++Redraw ++ ++after the operation is complete. ++

++ ++When zoomed very large, the length of dashes in dashed lines will top out ++at 255 pixels long. This is due to a restriction in X ++that the dash list is defined by char (255 pixels maximum for a dash). ++The figure will print correctly, however. ++

++ ++When you do a copy/rotate with multiple copies, ++only the creation of the last object can be undone with the Undo button. ++

++ ++Modifications to text using the popup search/update/replace/spell check panel ++cannot be undone. ++

++ ++See the ++README ++ ++file for troubleshooting. ++  ++

SEE ALSO

++ ++

++ ++fig2dev(1) ++(TransFig ++ ++package) ++

++ ++gs(1) ++(Ghostscript ++ ++PostScript previewer) ++  ++

ACKNOWLEDGEMENT

++ ++(From the original author, Supoj Sutanthavibul): ++Many thanks goes to Professor Donald E. Fussell who inspired the ++creation of this tool. ++

++ ++(From current maintainer Brian Smith): ++Thanks to all the users who have contributed to xfig, especially ++Paul King who, besides adding many features, ++revamped the look and feel which became version 2.1. ++  ++

COPYRIGHT

++ ++
++Original Copyright (c) 1985 by Supoj Sutanthavibul
++Parts Copyright (c) 1994-1999 by Brian V. Smith
++Parts Copyright (c) 1991 by Paul King
++Other Copyrights may be found in various files
++
++
++
++ ++

++ ++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 and/or distribute 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. ++

++ ++Note that although I work at Lawrence Berkeley National Laboratory (LBNL) ++I don't speak for LBNL nor do I represent LBNL with respect to my work on ++TransFig and xfig, nor does LBL make any representations about the suitability ++of this software for any purpose. ++

++ ++Here is the legal part: ++

++ ++THE LAWRENCE BERKELEY NATIONAL LABORATORY DISCLAIMS ALL WARRANTIES WITH ++REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY ++AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, ++INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM ++LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE ++OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR ++PERFORMANCE OF THIS SOFTWARE. ++

++

++ ++PostScript ++ ++is a trademark of Adobe Systems Incorporated. ++ ++

++ ++

++Parts Copyright (C) 1989 by Jef Poskanzer.
++Copyright notice for pbmplus code:
++
++
++Permission to use, copy, modify, and distribute this
++software and its documentation for any purpose and without
++fee is hereby granted, provided that the above copyright
++notice appear in all copies and that both that copyright
++notice and this permission notice appear in supporting
++documentation.  This software is provided ``as is'' without
++express or implied warranty.
++
++ ++
++ ++  ++

FILES

++ ++ ++ ++
++
CompKeyDB ++ ++
++Data base of compose (meta) key sequences for 8-bit characters. ++Must be installed in ++$(XFIGLIBDIR) ++ ++with ``make install'', ++or may be specified with command line option ++-keyFile ++ ++or X toolkit resource keyFile. ++See the ++Imakefile. ++ ++
/usr/lib/X11/xfig
++This directory contains the html documentation, the above mentioned ++CompKeyDB file, and a directory of libraries containing Fig objects ++such as electrical symbols, logic symbols, etc. ++
Fig.ad and Fig-color.ad ++ ++
++Application defaults files which are automatically installed ++in the system app-defaults directory with the ++make install ++ ++command. ++
Doc/FORMAT3.2 ++ ++
++Description of Fig file format. ++
README ++ ++
++Installation instructions and troubleshooting. ++
CHANGES ++ ++
++Description of bug fixes/new features. ++

++

++  ++

AUTHORS

++ ++Many people have contributed to ++xfig. ++ ++Here is a list of the people who ++have contributed the most (in chronological order): ++

++Version 1: ++ ++

++ ++Original author: ++
++ ++Supoj Sutanthavibul, University of Texas at Austin ++

++The ++LaTeX ++ ++line drawing modes were contributed by: ++
++ ++Frank Schmuck, Cornell University ++

++Original X11 port by: ++
++ ++Ken Yap, Rochester ++

++Variable window sizes, cleanup of X11 port, right hand side panel: ++
++ ++Dana Chee, Bellcore ++

++Cleanup of color port to X11 by: ++
++ ++John T. Kohl, MIT ++

++ ++Version 2.0: ++ ++ ++

++Area fill, multiple line thicknesses, multiple fonts and font sizes, ++bottom panel, line style/thickness, ++(and anything else that wasn't written by the others) ++by: ++
++ ++Brian Smith ++
++ ++(standard disclaimer applies) ++
++ ++(bvsmith@lbl.gov) ++

++Popup change-object menu by: ++
++ ++Jon Tombs ++
++ ++Frank Schmuck ++

++Zooming and panning functions, shift key select mechanism by: ++
++ ++Dieter Pellkofer ++
++ ++Henning Spruth ++

++Depth feature by: ++
++ ++Mike Lutz ++

++Cut/Paste by: ++
++ ++Tom Tkacik ++

++ ++Version 2.1: ++ ++ ++

++Indicator panel, file menu popup, print menu popup, ++panning with rulers, mouse function window, regular polygon, ++rubberbanding of circles/ellipses, filled splines on canvas, ++dashed/dotted splines on canvas, update button, ++arbitrary angle rotation of objects, alignment in compound, ++object scaling, constrained copy/move, corner markers for compound, ++context sensitive corner markers, smarter redraw, undo for compound ++and point move for boxes, cancel object creation, point positioning ++to three resolutions, ++TransFig ++ ++scalable text, hidden text, ++special text, save of figure on crash by: ++

++Paul King (king@cs.uq.oz.au) ++
++ ++with help from: ++
++ ++Brian Smith ++and Micah Beck (beck@cs.utk.edu) ++

++Encapsulated ++PostScript ++ ++importing by: ++
++ ++Brian Boyter ++

++Pan/zoom with ctrl key/mouse by: ++
++ ++Henning Spruth ++

++International characters by: ++
++ ++Herve Soulard ++

++Directory Browser based on XDir by: ++
++ ++Win Treese, Digital Equipment Corporation ++

++Rotated ellipses by: ++
++ ++James Tough, Dept. of Computer Science, Heriot-Watt University, Scotland ++

++Rotated text from the ++xvertext ++ ++package by: ++
++ ++Alan Richardson, Space Science Centre, School of MAPS, ++University of Sussex ++

++Popup scale menu and dynamic switching between inches and cm by: ++
++ ++Paul King (king@cs.uq.oz.au) ++

++Extensive man page formatting revisions by: ++
++ ++David W. Sanderson ++

++Display Postscript code for IBM RS/6000 by: ++
++ ++Dave Hale (dhale@green.mines.colorado.edu) ++ ++

++Version 3.0: ++ ++ ++

++
++ ++New arrowhead types, separate pen/fill colors, new file protocol, ++more colors with extended color popup panel, new arc style, ++new fill patterns (bricks, etc), new line join and cap styles, ++export offset and file load offset, XPM import, XBM import and export ++(and anything else that wasn't written by the others) by: ++
++ ++Brian Smith ++
++ ++(Note: the color popup panel was based on ++xcoloredit ++ ++by Richard Hesketh) ++

++

++GIF header reading code by: ++
++ ++David Koblas from the giftoppm part of the pbmplus package ++

++XPM export code (using XPM3 libraries) by: ++
++ ++Karel van Houten (K.H.C.vanHouten@research.ptt.nl) ++

++Higher figure resolution (1200dpi) by: ++
++ ++Ross Martin (martin@trcsun3.eas.asu.edu) ++

++Color quantization using neural network by: ++
++ ++Anthony Dekker (dekker@ACM.org) ++
++ ++[NEUQUANT Neural-Net quantization algorithm by Anthony Dekker, 1994. ++See ``Kohonen neural networks for optimal colour quantization'' ++in ``Network: Computation in Neural Systems'' Vol. 5 (1994) pp 351-367. ++for a discussion of the algorithm.] ++

++Floyd-Steinberg algorithm for dithering color images on monochrome ++displays lifted from the Pbmplus package by Jef Poskanser. ++

++rotate/flip objects around/about selected anchor point and multiple ++copies of objects by: ++
++ ++Uwe Bonnes (bon@lte.e-technik.uni-erlangen.de) ++

++Input tablet extension by: ++
++ ++Greg LaCoste (greg@seismo.do.usbr.gov) ++ ++

++Version 3.1: ++ ++

++ ++
++ ++The only difference between protocol version 3.0 and version 3.1 is ++that the position of the ``magnet'' has been shifted by 14 fig units. ++In the 2.1 and older versions of xfig the grid was in multiples of 5 fig ++units, but they were on intervals 4, 9, 14, 19, etc. ++When version 3.0 was created, coordinates were simply multiplied by the ++ratio of the resolutions (1200/80 = 15) so values like 4 became 60 instead ++of 74 ((4+1)*15 - 1). ++

++The JPEG import/export code uses the Independent JPEG Group software ++(see jpeg/README for details) ++

++Image browser, editor and screen capture features by: ++
++ ++Jim Daley (jdaley@cix.compulink.co.uk) ++ ++

++Version 3.2: ++ ++

++ ++
++ ++The changes to the version 3.2 file protocol are the addition of the ++paper size, print/export magnification, single/multiple page indicator ++and a transparent color name used for GIF export to the header ++of the file. ++
++ ++The other difference in the version 3.2 protocol is the ++mathematical model used for splines. The new version ++uses X-splines which allows the user to mix interpolation and approximation ++points in a same curve. More precisely, it means that an X-spline curve ++is neither an interpolated spline nor an approximated one, it is BOTH ++(the behaviour of each point is controlled by one single parameter ++called ``shape factor''). For additional information about X-splines, see: ++

++
  "X-Splines: A Spline Model Designed for the End User" ++
  by C. Blanc and C. Schlick, Proceedings of SIGGRAPH'95 ++
  http://dept-info.labri.u-bordeaux.fr/~schlick/DOC/sig1.html ++

++Caveat: Because previous spline models (quadratic B-splines and Bezier ++with hidden points) are no longer supported, curves that are present ++in version 3.1 and older files are automatically converted to X-splines. ++This translation is only an approximation process. It means that the ++converted curves are not exactly the same as the original ones. Though ++they are usually very close, some hand-fitting may be needed in ++some pathological cases. ++

++Inclusion of X-splines by: ++
++ ++Carole Blanc (blanc@labri.u-bordeaux.fr) ++
++ ++Christophe Schlick (schlick@labri.u-bordeaux.fr) ++
++ ++Note: the initial implementation was done by C. Feuille, S. Grosbois, L. ++Maziere and L. Minihot as a student practice (Universite Bordeaux, France). ++

++Open/close compound feature written by ++
++ ++Bill Taylor (bill@mainstream.com) ++

++Library feature written by ++
++ ++Stephane Mancini (mancini@elecsrv.enst.fr) ++(object preview by Brian V. Smith) ++

++The library objects in the Electrical and Logic libraries were done by ++
++ ++Peter Hiscocks (phiscock@ee.ryerson.ca) ++

++The library objects in the Computer, Networks, and Hospital-Equipment ++libraries were extracted from the clipart example files by ++
++ ++Bill Chimiak (chim@bgsm.edu) ++

++ ++

++Version 3.2.3 and newer: ++ ++

++ ++Please see the CHANGES file for credits for newer releases. ++ ++  ++

NOTES

++ ++Many bug fixes/cleanups etc. by a host of faithful users ++

++See the ++CHANGES ++ ++file for all the credits ++

++The ++TransFig ++ ++package was written by Micah Beck and is maintained by Brian Smith ++

++ ++


++ 

Index

++
++
NAME
++
SYNOPSIS
++
DESCRIPTION
++
OPTIONS
++
X RESOURCES and DEFAULTS
++
BUGS and RESTRICTIONS
++
SEE ALSO
++
ACKNOWLEDGEMENT
++
COPYRIGHT
++
FILES
++
AUTHORS
++
NOTES
++
++
++This document was created by ++man2html, ++using the manual pages.
++Time: 16:26:41 GMT, March 22, 2008 ++ ++ diff --git a/40_fix_dash_list_for_different_styles.patch b/40_fix_dash_list_for_different_styles.patch new file mode 100644 index 0000000..7c5aaa9 --- /dev/null +++ b/40_fix_dash_list_for_different_styles.patch @@ -0,0 +1,34 @@ +--- xfig.3.2.5c/w_drawprim.c 2012-10-17 00:14:09.000000000 +0200 ++++ xfig.3.2.5c/w_drawprim.c 2013-11-29 02:45:36.950448714 +0100 +@@ -1292,14 +1292,23 @@ void set_fill_gc(int fill_style, int op, + } + + +-static unsigned char dash_list[16][2] = {{255, 255}, {255, 255}, +- {255, 255}, {255, 255}, +- {255, 255}, {255, 255}, +- {255, 255}, {255, 255}, +- {255, 255}, {255, 255}, +- {255, 255}, {255, 255}, +- {255, 255}, {255, 255}, +- {255, 255}, {255, 255}}; ++static unsigned char dash_list[16][8] = { ++ {255, 255, 255, 255, 255, 255, 255, 255}, ++ {255, 255, 255, 255, 255, 255, 255, 255}, ++ {255, 255, 255, 255, 255, 255, 255, 255}, ++ {255, 255, 255, 255, 255, 255, 255, 255}, ++ {255, 255, 255, 255, 255, 255, 255, 255}, ++ {255, 255, 255, 255, 255, 255, 255, 255}, ++ {255, 255, 255, 255, 255, 255, 255, 255}, ++ {255, 255, 255, 255, 255, 255, 255, 255}, ++ {255, 255, 255, 255, 255, 255, 255, 255}, ++ {255, 255, 255, 255, 255, 255, 255, 255}, ++ {255, 255, 255, 255, 255, 255, 255, 255}, ++ {255, 255, 255, 255, 255, 255, 255, 255}, ++ {255, 255, 255, 255, 255, 255, 255, 255}, ++ {255, 255, 255, 255, 255, 255, 255, 255}, ++ {255, 255, 255, 255, 255, 255, 255, 255}, ++ {255, 255, 255, 255, 255, 255, 255, 255}}; + + static int join_styles[3] = { JoinMiter, JoinRound, JoinBevel }; + static int cap_styles[3] = { CapButt, CapRound, CapProjecting }; diff --git a/sources b/sources index 221c443..db0a967 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (mcj-xfig-ce9782a404b6a527393839369aac13dcfb66ff16.zip) = a0d483d77edb16d869596a53f89783efd232832b4447089227f34ff552836209f595e5cc9f179242386e85f6f8378607433913720aab29b9d69a2a4007404b47 -SHA512 (xfig-icons.tar.gz) = f7d9b314d57994d479712740dcac4a2c924ddacea028db1c6cdeef36fb7d846885c45d21499f7453c750c265eeb5877e4b032454911ce91667ccc550cb2112e5 +210851330fa4bb3581bec1f8448a4db8 xfig.3.2.5c.full.tar.gz +f58e3bde288d623c826e1784ebb45de0 xfig-icons.tar.gz diff --git a/xfig-3.2.5-Imakefile.patch b/xfig-3.2.5-Imakefile.patch new file mode 100644 index 0000000..6451bff --- /dev/null +++ b/xfig-3.2.5-Imakefile.patch @@ -0,0 +1,31 @@ +diff -up xfig.3.2.5b/Imakefile.fed xfig.3.2.5b/Imakefile +--- xfig.3.2.5b/Imakefile.fed 2012-08-12 16:54:00.102765148 +0200 ++++ xfig.3.2.5b/Imakefile 2012-08-12 16:57:32.883846828 +0200 +@@ -45,7 +45,7 @@ XCOMM Don't set the DESTDIR variable unl + XCOMM different tree than the "correct" tree that your X system expects. The usual + XCOMM purpose of DESTDIR is to test an install process by installing in a benign area. + +-XCOMM XAPPLOADDIR = /home/user/xfig ++XAPPLOADDIR = /usr/share/X11/app-defaults + + XCOMM Comment out the following definition for XAW3D if you don't to want to use + XCOMM the 3d Athena Widget Set +@@ -169,15 +169,14 @@ XCOMM be sure to comment out the second + XCOMM XFIGLIBDIR = $(LIBDIR) + + XCOMM use this if you want the multi-key data base file in the standard X11 tree +-XFIGLIBDIR = $(LIBDIR)/xfig ++XFIGLIBDIR = /usr/share/xfig + + 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 +-MANDIR = $(MANSOURCEPATH)$(MANSUFFIX) ++MANDIR = /usr/share/man/man1 + XCOMM MANDIR = /usr/local/xfig/man + + XCOMM If your system doesn't have strstr undefine the following definition diff --git a/xfig-3.2.5-disable-Xaw3d.patch b/xfig-3.2.5-disable-Xaw3d.patch new file mode 100644 index 0000000..3b5b8fc --- /dev/null +++ b/xfig-3.2.5-disable-Xaw3d.patch @@ -0,0 +1,21 @@ +diff -up xfig.3.2.5a/Imakefile.with-Xaw3d xfig.3.2.5a/Imakefile +--- xfig.3.2.5c/Imakefile.with-Xaw3d 2013-11-27 22:24:46.000000000 +0100 ++++ xfig.3.2.5c/Imakefile 2013-11-27 22:24:06.000000000 +0100 +@@ -50,7 +50,7 @@ XAPPLOADDIR = /usr/share/X11/app-default + XCOMM Comment out the following definition for XAW3D if you don't to want to use + XCOMM the 3d Athena Widget Set + +-#define XAW3D ++XCOMM #define XAW3D + + #ifdef XAW3D + XAWLIB = -lXaw3d +@@ -60,7 +60,7 @@ XCOMM Uncomment the following if you hav + XCOMM some new features, including "Tips", which replace xfig's "help balloons" + XCOMM NOTE: This is the default for many X systems now. + +-#define XAW3D1_5E ++XCOMM #define XAW3D1_5E + + #ifdef XAW3D1_5E + DUSEXAW3D = -DXAW3D -DXAW3D1_5E diff --git a/xfig-3.2.5-libpng16.patch b/xfig-3.2.5-libpng16.patch new file mode 100644 index 0000000..1bb5eb5 --- /dev/null +++ b/xfig-3.2.5-libpng16.patch @@ -0,0 +1,13 @@ +--- a/f_readpng.c 2014-09-15 13:25:26.290813563 +0200 ++++ a/f_readpng.c 2014-09-15 14:04:10.241297027 +0200 +@@ -90,8 +90,8 @@ + png_get_IHDR(png_ptr, info_ptr, &w, &h, &bit_depth, &color_type, + &interlace_type, &compression_type, &filter_type); + +- png_fixed_point gamma = 0.45; +- png_get_gAMA_fixed(png_ptr,info_ptr,&gamma); ++ double gamma = 0.45455; ++ png_get_gAMA(png_ptr,info_ptr,&gamma); + png_set_gamma(png_ptr, 2.2, gamma); + + if (png_get_valid(png_ptr,info_ptr,PNG_INFO_bKGD)) { diff --git a/xfig-3.2.5-rhbz1046102.patch b/xfig-3.2.5-rhbz1046102.patch new file mode 100644 index 0000000..23e8a52 --- /dev/null +++ b/xfig-3.2.5-rhbz1046102.patch @@ -0,0 +1,12 @@ +diff -up xfig.3.2.5c/w_indpanel.c~ xfig.3.2.5c/w_indpanel.c +--- xfig.3.2.5c/w_indpanel.c~ 2011-09-30 21:27:36.000000000 +0200 ++++ xfig.3.2.5c/w_indpanel.c 2014-06-18 16:39:38.783389253 +0200 +@@ -1266,7 +1266,7 @@ static void + set_arrow_size_state(Widget w, XtPointer closure, XtPointer call_data) + { + Boolean state; +- int which; ++ intptr_t which; + Pixel bg1, bg2, fg1, fg2; + + /* check state of the toggle and set/remove checkmark */ diff --git a/xfig-3.2.5-urwfonts.patch b/xfig-3.2.5-urwfonts.patch new file mode 100644 index 0000000..7bc766b --- /dev/null +++ b/xfig-3.2.5-urwfonts.patch @@ -0,0 +1,79 @@ +--- xfig.3.2.4/u_fonts.c 2002-09-09 13:36:58.000000000 -0400 ++++ new-xfig-3.2.4/u_fonts.c 2006-10-11 00:29:07.000000000 -0400 +@@ -22,41 +22,41 @@ + /* X11 font names */ + + struct _xfstruct x_fontinfo[NUM_FONTS] = { +- {"-*-times-medium-r-normal--", (struct xfont*) NULL}, +- {"-*-times-medium-i-normal--", (struct xfont*) NULL}, +- {"-*-times-bold-r-normal--", (struct xfont*) NULL}, +- {"-*-times-bold-i-normal--", (struct xfont*) NULL}, +- {"-*-avantgarde-book-r-normal--", (struct xfont*) NULL}, +- {"-*-avantgarde-book-o-normal--", (struct xfont*) NULL}, +- {"-*-avantgarde-demi-r-normal--", (struct xfont*) NULL}, +- {"-*-avantgarde-demi-o-normal--", (struct xfont*) NULL}, +- {"-*-bookman-light-r-normal--", (struct xfont*) NULL}, +- {"-*-bookman-light-i-normal--", (struct xfont*) NULL}, +- {"-*-bookman-demi-r-normal--", (struct xfont*) NULL}, +- {"-*-bookman-demi-i-normal--", (struct xfont*) NULL}, +- {"-*-courier-medium-r-normal--", (struct xfont*) NULL}, +- {"-*-courier-medium-o-normal--", (struct xfont*) NULL}, +- {"-*-courier-bold-r-normal--", (struct xfont*) NULL}, +- {"-*-courier-bold-o-normal--", (struct xfont*) NULL}, +- {"-*-helvetica-medium-r-normal--", (struct xfont*) NULL}, +- {"-*-helvetica-medium-o-normal--", (struct xfont*) NULL}, +- {"-*-helvetica-bold-r-normal--", (struct xfont*) NULL}, +- {"-*-helvetica-bold-o-normal--", (struct xfont*) NULL}, +- {"-*-helvetica-medium-r-narrow--", (struct xfont*) NULL}, +- {"-*-helvetica-medium-o-narrow--", (struct xfont*) NULL}, +- {"-*-helvetica-bold-r-narrow--", (struct xfont*) NULL}, +- {"-*-helvetica-bold-o-narrow--", (struct xfont*) NULL}, +- {"-*-new century schoolbook-medium-r-normal--", (struct xfont*) NULL}, +- {"-*-new century schoolbook-medium-i-normal--", (struct xfont*) NULL}, +- {"-*-new century schoolbook-bold-r-normal--", (struct xfont*) NULL}, +- {"-*-new century schoolbook-bold-i-normal--", (struct xfont*) NULL}, +- {"-*-palatino-medium-r-normal--", (struct xfont*) NULL}, +- {"-*-palatino-medium-i-normal--", (struct xfont*) NULL}, +- {"-*-palatino-bold-r-normal--", (struct xfont*) NULL}, +- {"-*-palatino-bold-i-normal--", (struct xfont*) NULL}, +- {"-*-symbol-medium-r-normal--", (struct xfont*) NULL}, +- {"-*-itc zapf chancery-medium-i-normal--", (struct xfont*) NULL}, +- {"-*-itc zapf dingbats-*-*-*--", (struct xfont*) NULL}, ++ {"-urw-nimbus roman no9 l-medium-r-normal--", (struct xfont*) NULL}, ++ {"-urw-nimbus roman no9 l-medium-i-normal--", (struct xfont*) NULL}, ++ {"-urw-nimbus roman no9 l-bold-r-normal--", (struct xfont*) NULL}, ++ {"-urw-nimbus roman no9 l-bold-i-normal--", (struct xfont*) NULL}, ++ {"-urw-urw gothic l-medium-r-normal--", (struct xfont*) NULL}, ++ {"-urw-urw gothic l-medium-o-normal--", (struct xfont*) NULL}, ++ {"-urw-urw gothic l-semibold-r-normal--", (struct xfont*) NULL}, ++ {"-urw-urw gothic l-semibold-o-normal--", (struct xfont*) NULL}, ++ {"-urw-urw bookman l-medium-r-normal--", (struct xfont*) NULL}, ++ {"-urw-urw bookman l-medium-i-normal--", (struct xfont*) NULL}, ++ {"-urw-urw bookman l-bold-r-normal--", (struct xfont*) NULL}, ++ {"-urw-urw bookman l-bold-i-normal--", (struct xfont*) NULL}, ++ {"-urw-nimbus mono l-medium-r-normal--", (struct xfont*) NULL}, ++ {"-urw-nimbus mono l-medium-o-normal--", (struct xfont*) NULL}, ++ {"-urw-nimbus mono l-bold-r-normal--", (struct xfont*) NULL}, ++ {"-urw-nimbus mono l-bold-o-normal--", (struct xfont*) NULL}, ++ {"-urw-nimbus sans l-medium-r-normal--", (struct xfont*) NULL}, ++ {"-urw-nimbus sans l-medium-i-normal--", (struct xfont*) NULL}, ++ {"-urw-nimbus sans l-bold-r-normal--", (struct xfont*) NULL}, ++ {"-urw-nimbus sans l-bold-i-normal--", (struct xfont*) NULL}, ++ {"-urw-nimbus sans l condensed-medium-r-condensed--", (struct xfont*) NULL}, ++ {"-urw-nimbus sans l condensed-medium-i-condensed--", (struct xfont*) NULL}, ++ {"-urw-nimbus sans l condensed-bold-r-condensed--", (struct xfont*) NULL}, ++ {"-urw-nimbus sans l condensed-bold-i-condensed--", (struct xfont*) NULL}, ++ {"-urw-century schoolbook l-medium-r-normal--", (struct xfont*) NULL}, ++ {"-urw-century schoolbook l-medium-i-normal--", (struct xfont*) NULL}, ++ {"-urw-century schoolbook l-bold-r-normal--", (struct xfont*) NULL}, ++ {"-urw-century schoolbook l-bold-i-normal--", (struct xfont*) NULL}, ++ {"-urw-urw palladio l-medium-r-normal--", (struct xfont*) NULL}, ++ {"-urw-urw palladio l-medium-i-normal--", (struct xfont*) NULL}, ++ {"-urw-urw palladio l-bold-r-normal--", (struct xfont*) NULL}, ++ {"-urw-urw palladio l-bold-i-normal--", (struct xfont*) NULL}, ++ {"-urw-standard symbols l-medium-r-normal--", (struct xfont*) NULL}, ++ {"-urw-urw chancery l-medium-i-normal--", (struct xfont*) NULL}, ++ {"-urw-dingbats-medium-r-normal--", (struct xfont*) NULL}, + }; + + /* Use the following font names for any font that doesn't exist in the table above. diff --git a/xfig-3.2.5a-default-apps.patch b/xfig-3.2.5a-default-apps.patch new file mode 100644 index 0000000..9930866 --- /dev/null +++ b/xfig-3.2.5a-default-apps.patch @@ -0,0 +1,36 @@ +diff -up xfig.3.2.5a/Fig.ad~ xfig.3.2.5a/Fig.ad +--- xfig.3.2.5a/Fig.ad~ 2007-04-14 04:17:24.000000000 +0200 ++++ xfig.3.2.5a/Fig.ad 2009-03-27 15:15:27.000000000 +0100 +@@ -5,6 +5,10 @@ + + ! 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 + +@@ -23,18 +27,16 @@ + + ! Browser - put your favorite browser here. + ! 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: xdg-open %f + + ! 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: xdg-open %f + + ! Spell check program - put your favorite spelling check program here. + ! It must write the misspelled words to standard output. + +-Fig.spellcheckcommand: spell %f ++Fig.spellcheckcommand: enchant -l %f + + ! delay before spinner automatically counts when pressed (milliseconds) + Fig.spinner_delay: 1000 diff --git a/xfig.desktop b/xfig.desktop new file mode 100644 index 0000000..3fd49e7 --- /dev/null +++ b/xfig.desktop @@ -0,0 +1,47 @@ +[Desktop Entry] +Encoding=UTF-8 +Categories=Graphics; +MimeType=image/fig;image/x-xfig; +Exec=xfig +Icon=xfig +Type=Application +Name=Xfig +Name[eo]=XDesegno +Name[et]=Ffig +Name[ja]=xfig +Name[no]=X-figur +Comment=Xfig drawing application +Comment[bg]=Xfig ïðîãðàìà çà ðèñóâàíå +Comment[ca]=Aplicació de dibuix Xfig +Comment[cs]=Aplikace pro kreslení vektorových obrázků +Comment[da]=Xfig tegneprogram +Comment[de]=Xfig-Zeichenprogramm +Comment[el]=Xfig +Comment[eo]=Desegnilo "Xfig" +Comment[es]=Aplicación de diseño vectorial (objetos) +Comment[et]=XFig joonistusprogramm +Comment[fi]=Xfig vektoripiirto-ohjelma +Comment[fr]=Programme de dessin objet Xfig +Comment[gl]=Aplicación de debuxo (obxectos) +Comment[he]=Xfig רויצה םושיי +Comment[hr]=Program za crtanje +Comment[hu]=Rajzolóprogram +Comment[is]=Hlutbundið teikniforrit +Comment[it]=Applicazione di disegno Xfig +Comment[lt]=Xfig braižymo programa +Comment[mk]=Едноставна апликација за векторско цртање +Comment[nl]=Xfig-tekenprogramma +Comment[no]=Xfig-tegneprogram +Comment[no_NY]=Teikneprogrammet Xfig +Comment[pl]=Aplikacja do kreślenia +Comment[pt]=Aplicação de desenho +Comment[ro]=Program de desenare vectorială +Comment[ru]=Приложения для рисования векторной графики +Comment[sk]=Xfig aplikácia pre kreslenie vektorových obrázkov +Comment[sl]=Program za risanje Xfig +Comment[sr]=Xfig prgram za vektorsko crtanje +Comment[sv]=Xfig ritprogram +Comment[ta]=Xfig Ũþø ÀÂýÀ¡Î +Comment[tr]=Xfig çizim uygulaması +Comment[uk]=Xfig +Comment[zh_CN.GB2312]=Xfig 绘图应用程序 diff --git a/xfig.rpmlintrc b/xfig.rpmlintrc deleted file mode 100644 index e87b437..0000000 --- a/xfig.rpmlintrc +++ /dev/null @@ -1,5 +0,0 @@ -addFilter("W: invalid-url Source1") -addFilter("W: no-%check-section") -addFilter("W: files-duplicate /usr/share/") -addFilter("E: non-executable-script /usr/share/xfig/Libraries/Maps/") -addFilter("E: spelling-error") diff --git a/xfig.sh b/xfig.sh new file mode 100644 index 0000000..cc85396 --- /dev/null +++ b/xfig.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +if [ -x /usr/bin/xfig-Xaw3d ]; then + exec xfig-Xaw3d "$@" +else + exec xfig-plain "$@" +fi diff --git a/xfig.spec b/xfig.spec index 2443f40..bbfb5cc 100644 --- a/xfig.spec +++ b/xfig.spec @@ -1,27 +1,37 @@ -%global commit ce9782a404b6a527393839369aac13dcfb66ff16 -%global commitdate 20250317 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global app_defaults_dir %{_datadir}/X11/app-defaults Summary: An X Window System tool for drawing basic vector graphics Name: xfig -Version: 3.2.9a -Release: 3.%{commitdate}git%{shortcommit}%{?dist} +Version: 3.2.5 +Release: 45.c%{?dist} License: MIT -URL: https://en.wikipedia.org/wiki/Xfig -#Source0: http://downloads.sourceforge.net/mcj/xfig-%%{version}.tar.xz -Source0: https://sourceforge.net/code-snapshots/git/m/mc/mcj/xfig.git/mcj-xfig-%{commit}.zip +Group: Applications/Multimedia +URL: http://www.xfig.org/ +Source0: http://downloads.sourceforge.net/mcj/xfig.%{version}c.full.tar.gz Source1: xfig-icons.tar.gz +Source2: xfig.desktop +Source3: xfig.sh + +Patch0: xfig-3.2.5a-default-apps.patch +Patch1: xfig-3.2.5-Imakefile.patch +Patch2: xfig-3.2.5-disable-Xaw3d.patch +Patch3: xfig-3.2.5-urwfonts.patch +Patch4: 31_spelling.patch +Patch5: 33_pdfimport_mediabox.patch +# xfig_man.html is not in 3.2.5c tarball from some reason, +# but makefile still tries to install it +Patch6: 38_formatstring.patch +Patch7: 39_add_xfig_man_html.patch +Patch8: 40_fix_dash_list_for_different_styles.patch +Patch9: xfig-3.2.5-rhbz1046102.patch +patch10: xfig-3.2.5-libpng16.patch -BuildRequires: make -BuildRequires: gcc libtool -BuildRequires: transfig BuildRequires: libjpeg-devel BuildRequires: libpng-devel -BuildRequires: libtiff-devel +BuildRequires: imake BuildRequires: libICE-devel BuildRequires: libSM-devel BuildRequires: libX11-devel -BuildRequires: libXft-devel BuildRequires: libXaw-devel BuildRequires: libXext-devel BuildRequires: libXi-devel @@ -29,22 +39,13 @@ BuildRequires: libXmu-devel BuildRequires: libXpm-devel BuildRequires: libXt-devel BuildRequires: Xaw3d-devel -BuildRequires: man2html-core ImageMagick -# For eps preview generation -Requires: ghostscript -Requires: transfig -# Used in the UI -Requires: xorg-x11-fonts-misc -# For scalable fonts, inc. Bookman, New Century Schoolbook and Palatino -Requires: urw-base35-fonts-legacy +BuildRequires: desktop-file-utils -# We used to have seperate Xaw3d and non Xaw3d pkgs, now we only have Xaw3d -Obsoletes: %{name}-common < %{version}-%{release} -Provides: %{name}-common = %{version}-%{release} -Obsoletes: %{name}-plain < %{version}-%{release} -Provides: %{name}-plain = %{version}-%{release} -Obsoletes: %{name}-Xaw3d < %{version}-%{release} -Provides: %{name}-Xaw3d = %{version}-%{release} +Requires: %{name}-common = %{version}-%{release} +Provides: %{name}-executable = %{version}-%{release} +# Xaw3d used to be the one in a subpackage, now the plain Xaw version is +Obsoletes: %{name}-Xaw3d <= 3.2.5-7.fc8 +Provides: %{name}-Xaw3d = %{version}-%{release} %description Xfig is an X Window System tool for creating basic vector graphics, @@ -57,201 +58,516 @@ You should install xfig if you need a simple program to create vector graphics. +%package plain +Summary: Plain Xaw version of xfig +Group: Applications/Multimedia +Requires: %{name}-common = %{version}-%{release} +Provides: %{name}-executable = %{version}-%{release} + +%description plain +Plain Xaw version of xfig, an X Window System tool for creating basic vector +graphics, including bezier curves, lines, rulers and more. The normal xfig +package uses the more modern / prettier looking Xaw3d toolkit, whereas this +version uses the very basic Xaw toolkit. Unless you really know you want this +version you probably don't want this version. + + +%package common +Summary: Common xfig files +Group: Applications/Multimedia +Requires: transfig >= 1:3.2.5, xdg-utils, enchant, urw-fonts +Requires: hicolor-icon-theme +Requires: xorg-x11-fonts-base +# So that this will get uninstalled together with xfig / xfig-Xaw3d +Requires: %{name}-executable = %{version}-%{release} +Requires(post): desktop-file-utils +Requires(postun): desktop-file-utils + +%description common +Files common to both the plain Xaw and the Xaw3d version of xfig. + + %prep -%autosetup -p1 -a 1 -n mcj-xfig-%{commit} -for i in doc/html/japanese/button_frame.fig doc/html/japanese/japanese.ps \ - doc/html/animate.js; do - sed -i.orig 's/\r//' $i; touch -r $i.orig $i; rm $i.orig -done -autoreconf -i +%setup -q -n xfig.%{version}c -a 1 +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 -b .with-Xaw3d +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 + +iconv -f ISO-8859-1 -t UTF8 CHANGES > tmp; touch -r CHANGES tmp; mv tmp CHANGES +rm Doc/html/images/sav1a0.tmp +chmod -x `find -type f` %build -# Fedora's Xaw3d is built with -DXAW_ARROW_SCROLLBARS -export CFLAGS="-DXAW_ARROW_SCROLLBARS $RPM_OPT_FLAGS -fno-strength-reduce -fno-strict-aliasing" -%configure -%make_build +# First build the normal Xaw version +xmkmf +# make sure cmdline option parsing still works despite us renaming the binary +sed -i 's/"xfig"/"xfig-plain"/' main.c +make CDEBUGFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_DEFAULT_SOURCE -fno-strength-reduce -fno-strict-aliasing" +mv xfig xfig-plain +make distclean + +# And then build the Xaw3d version +mv Imakefile.with-Xaw3d Imakefile +xmkmf +# make sure cmdline option parsing still works despite us renaming the binary +sed -i 's/"xfig-plain"/"xfig-Xaw3d"/' main.c +make CDEBUGFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_DEFAULT_SOURCE -fno-strength-reduce -fno-strict-aliasing" %install -%make_install INSTALL="install -p" -cp -p README CHANGES FIGAPPS $RPM_BUILD_ROOT%{_docdir}/%{name} +make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install.all +install -p -m 644 CHANGES README LATEX.AND.XFIG* FIGAPPS \ + $RPM_BUILD_ROOT%{_docdir}/%{name} -rm -r $RPM_BUILD_ROOT%{_datadir}/pixmaps -mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/{16x16,32x32,64x64}/apps -convert %{name}16x16.xpm \ - $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/%{name}.png -convert %{name}32x32.xpm \ - $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png -convert %{name}64x64.xpm \ - $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps/%{name}.png +# remove the map generation scripts, these are for xfig developers only +rm $RPM_BUILD_ROOT%{_datadir}/%{name}/Libraries/Maps/{USA,Canada}/assemble +# remove app-defaults symlink which gets installed +rm $RPM_BUILD_ROOT%{_prefix}/lib*/X11/app-defaults + +# install both Xaw and Xaw3d versions and the wrapper for the .desktop file +mv $RPM_BUILD_ROOT%{_bindir}/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name}-Xaw3d +install -p -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/%{name} +install -m 755 %{name}-plain $RPM_BUILD_ROOT%{_bindir} + +install -D -p -m 644 %{name}16x16.xpm \ + $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/%{name}.xpm +install -D -p -m 644 %{name}32x32.xpm \ + $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.xpm +install -D -p -m 644 %{name}64x64.xpm \ + $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.xpm + +mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications +desktop-file-install \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE2} + + +%post common +update-desktop-database &> /dev/null || : +touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : + +%postun common +update-desktop-database &> /dev/null || : +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor &>/dev/null + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +fi + +%posttrans common +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files +%{_bindir}/%{name}-Xaw3d + +%files plain +%{_bindir}/%{name}-plain + +%files common %doc %{_docdir}/%{name} %{_bindir}/%{name} %{_datadir}/%{name} -%{_mandir}/man1/%{name}.1* -%{_datadir}/X11/app-defaults/Fig -%{_datadir}/metainfo/org.xfig.xfig.metainfo.xml -%{_datadir}/applications/org.xfig.xfig.desktop -%{_datadir}/icons/hicolor/??x??/apps/%{name}.png +%{_mandir}/*/* +%{app_defaults_dir}/* +%{_datadir}/applications/%{name}.desktop +%{_datadir}/icons/hicolor/??x??/apps/%{name}.xpm %changelog -* Fri Jul 17 2026 Fedora Release Engineering - 3.2.9a-3.20250317gitce9782a -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild +* Thu Oct 9 2014 Hans de Goede - 3.2.5-45.c +- Fix png reading (rhbz#1150330) -* Sat Jan 17 2026 Fedora Release Engineering - 3.2.9a-2.20250317gitce9782a -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild +* Mon Aug 18 2014 Fedora Release Engineering - 3.2.5-44.c +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild -* Wed Aug 6 2025 Hans de Goede - 3.2.9a-1.20250317gitce9782a -- Update to 3.2.9a + latest git changes to fix build with -std=c11 -- Switch to upstream appdata/metainfo and desktop file -- Drop all patches (all upstreamed) -- Resolves: rhbz#2341567 -- Resolves: rhbz#2385740 +* Wed Jun 18 2014 Hans de Goede - 3.2.5-43.c +- Fix crash when changing arrow size on x86_64 (rhbz#1046102) -* Fri Jul 25 2025 Fedora Release Engineering - 3.2.9-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild +* Sun Jun 08 2014 Fedora Release Engineering - 3.2.5-42.c +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild -* Sun Jan 19 2025 Fedora Release Engineering - 3.2.9-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild +* Mon Jan 06 2014 Michal Srb - 3.2.5-41.c +- Name binaries correctly -* Sat Jul 20 2024 Fedora Release Engineering - 3.2.9-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild +* Mon Jan 06 2014 Michal Srb - 3.2.5-40.c +- Use fprintf in safe manner -* Mon Feb 26 2024 Hans de Goede - 3.2.9-4 -- Fix missing Dingbats and Symbol glyphs -- Resolves: rhbz#2260359 +* Fri Jan 03 2014 David Kaufmann - 3.2.5-39.c +- Version bump to 3.2.5-39c -* Sat Jan 27 2024 Fedora Release Engineering - 3.2.9-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild +* Fri Jan 03 2014 Michal Srb - 3.2.5-38.b +- Fix crash when creating lines with linestyle 3 +- Resolves: rhbz#1023744 (Thanks to Maurizio Paolini and David Kaufmann) -* Thu Jan 18 2024 Mamoru TASAKA - 3.2.9-2 -- Backport upstream patches for upstream 2 issues - - Fix exporting only active layers - - Sanitize a call to realloc (redhat #2252679) +* Sun Aug 04 2013 Fedora Release Engineering - 3.2.5-37.b +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild -* Sat Aug 26 2023 Ranjan Maitra - 3.2.9-1 -- New upstream release 3.2.9 +* Sun Feb 10 2013 Parag Nemade - 3.2.5-36.b +- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077 -* Sat Jan 21 2023 Fedora Release Engineering - 3.2.8b-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild +* Mon Jan 21 2013 Adam Tkac - 3.2.5-35.b +- rebuild due to "jpeg8-ABI" feature drop -* Sat Jul 23 2022 Fedora Release Engineering - 3.2.8b-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild +* Fri Dec 21 2012 Adam Tkac - 3.2.5-34.b +- rebuild against new libjpeg -* Sat Jan 22 2022 Fedora Release Engineering - 3.2.8b-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild +* Sun Aug 12 2012 Hans de Goede - 3.2.5-33.b +- Re-organize / consolidate patches +- Add a bunch of patches (minor bug-fixes) from the Debian package +- Add better icons from the Debian package -* Mon Oct 11 2021 Hans de Goede - 3.2.8b-1 -- New upstream release 3.2.8b +* Sun Aug 12 2012 Hans de Goede - 3.2.5-32.b +- Fix a stack overflow when importing 1.3 files (CVE-2009-4227) (rhbz#543905) -* Fri Jul 23 2021 Fedora Release Engineering - 3.2.8a-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild +* Sun Jul 22 2012 Fedora Release Engineering - 3.2.5-31.b +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild -* Sat May 29 2021 Hans de Goede - 3.2.8a-1 -- New upstream release 3.2.8a +* Sun Feb 26 2012 Orion Poplawski - 3.2.5-30.b +- Rebuild with Xaw3d 1.6.1 -* Thu Jan 28 2021 Fedora Release Engineering - 3.2.7b-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild +* Tue Feb 14 2012 Peter Robinson - 3.2.5-29.b +- Add patch from Debian for libpng 1.5 -* Sat Aug 01 2020 Fedora Release Engineering - 3.2.7b-4 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild +* Sat Jan 14 2012 Fedora Release Engineering - 3.2.5-28.b +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild -* Wed Jul 29 2020 Fedora Release Engineering - 3.2.7b-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild +* Tue Dec 06 2011 Adam Jackson - 3.2.5-27.b +- Rebuild for new libpng -* Fri Jan 31 2020 Fedora Release Engineering - 3.2.7b-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild +* Mon Feb 07 2011 Fedora Release Engineering - 3.2.5-26.b +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild -* Thu Jan 16 2020 Hans de Goede - 3.2.7b-1 -- New upstream release 3.2.7b +* Mon Dec 6 2010 Stanislav Ochotnicky - 3.2.5-25.b +- Fix buffer overflow when opening malicious fig files -* Sat Jul 27 2019 Fedora Release Engineering - 3.2.7a-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild +* Thu Nov 25 2010 Hans de Goede 3.2.5-24.b +- Fix importing of eps files (#657290) -* Sun Feb 03 2019 Fedora Release Engineering - 3.2.7a-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild +* Wed Sep 30 2009 Hans de Goede 3.2.5-23.b +- New upstream 3.2.5b release +- Drop many merged patches -* Fri Jan 11 2019 Hans de Goede - 3.2.7a-2 -- Fix spline drawing (rhbz#1665237) +* Mon Jul 27 2009 Fedora Release Engineering - 3.2.5-22.a +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild -* Mon Oct 29 2018 Hans de Goede - 3.2.7a-1 -- New upstream release 3.2.7a -- Add Requires: transfig to make sure esp export works (rhbz#1642033) -- Switch back to URW fonts so that Bookman, New Century Schoolbook and - Palatino work again. This uses the old version of the URW fonts which are - now packaged as urw-base35-fonts-legacy (rhbz#1523624, rhbz#1551219) -- Trim the changelog +* Sun Jun 28 2009 Caolán McNamara 3.2.5-21.a +- Resolves: rhbz#506791 make xfig spellchecking work -* Sat Jul 14 2018 Fedora Release Engineering - 3.2.6a-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild +* Wed Jun 3 2009 Hans de Goede 3.2.5-20.a +- Fix eps preview (#503911) -* Sat Mar 03 2018 Hans de Goede - 3.2.6a-7 -- Fix font issues take 2 (rhbz#1523624) : - - It turns out the new urw fonts are completely unusuable as X11 core fonts, - stop using them for now (see bug rhbz#1551219) - - Add a patch to use the fallback fonts for non-scalable fonts too, so that - we at least show something somewhat reasonable for Bookman, New Century - Schoolbook and Palatino - - This means that display of Zapf Chancery and Zapf Dingbats currently - falls back to the "fixed" font, which is completely wrong for Dingbats +* Wed Apr 8 2009 Hans de Goede 3.2.5-19.a +- Fix crash when printing (#494193), thanks to Ian Dall for the patch -* Thu Mar 01 2018 Hans de Goede - 3.2.6a-6 -- Fix font issues (rhbz#1523624) : - - Adjust xfig-3.2.5-urwfonts.patch for new font names in urw-base35-fonts - - Except for the symbols font, use the old un-scalable Adobe PCF Symbol font - for now as StandardSymbolsPS.otf from urw-base35-fonts is currently broken - - Add a patch to deal with some fonts being scalable, while Symbol is not - - Note the dingbats font is also broken in urw-base35-fonts, but there is no - replacement for it, so that font is still broken, see rhbz#1534206 -- ghostscript-core no longer exists, instead require ghostscript (rhbz#1536581) -- Remove obsolete icon-cache and desktop-database scriptlets -- Add a patch from Debian fixing some issues with arrows +* Fri Mar 27 2009 Hans de Goede 3.2.5-18.a +- Rebase to new upstream 3.2.5a release, this was made available to me by + the Debian maintainer who is in contact with upstream, which appearantly + is still somewhat alive (but not alive enough to put the tarbal on the + homepage ??) -* Fri Feb 09 2018 Fedora Release Engineering - 3.2.6a-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild +* Sun Mar 15 2009 Hans de Goede 3.2.5-17 +- Add various patches from Debian (doc updates, new figures in the lib, + better fix for modepanel resizing) +- Do not crash when inserting a character from the charmap into a text string -* Tue Nov 07 2017 Adam Jackson - 3.2.6a-4 -- Drop unneeded BuildRequires: imake +* Sun Mar 15 2009 Hans de Goede 3.2.5-16 +- Fix Text size field inserts characters on left instead of right (#490257) +- Fix xfig-Xaw3d does not display messages in message panel (#490259) -* Thu Aug 03 2017 Fedora Release Engineering - 3.2.6a-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild +* Thu Feb 26 2009 Fedora Release Engineering - 3.2.5-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild -* Thu Jul 27 2017 Fedora Release Engineering - 3.2.6a-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild +* Sun Feb 22 2009 Hans de Goede 3.2.5-14 +- Add missing Requires: xorg-x11-fonts-base (#486701) -* Mon Feb 13 2017 Hans de Goede - 3.2.6a-1 -- New upstream release 3.2.6a +* Mon Nov 10 2008 Stepan Kasal - 3.2.5-13 +- fix the Obsoletes tag to <= 3.2.5-7.fc8, which is the last + release with Xaw3d subpackage -* Sun Feb 12 2017 Hans de Goede - 3.2.6-5 -- Build with -DGSBIT to fix eps file preview generation (rhbz#1418560) -- Fix broken screenshot links in appdata +* Tue Nov 4 2008 Hans de Goede 3.2.5-12 +- Various small specfile cleanups from merge review -* Sat Feb 11 2017 Fedora Release Engineering - 3.2.6-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild +* Mon Jul 14 2008 Ian Hutchinson 3.2.5-11 +- Fix incorrect height of modepanel. -* Fri Aug 12 2016 Hans de Goede - 3.2.6-3 -- Switch to non -full (smaller) version of upstream sources, - we package transfig seperately so we do not need the -full version +* Thu Apr 3 2008 Hans de Goede 3.2.5-10 +- Fix missing prototype compiler warnings -* Thu Aug 11 2016 Hans de Goede - 3.2.6-2 -- Make using metric units the default again +* Thu Feb 28 2008 Hans de Goede 3.2.5-9 +- Fix cmdline parsing (broken by renaming the binary) (bz 435097) -* Thu Aug 11 2016 Hans de Goede - 3.2.6-1 -- New upstream release 3.2.6 -- Drop all patches, all fixes are upstream now -- Drop -plain subpackage, only build Xaw3d version -- Update appdata screenshots for xfig.org being gone - (point to http://epb.lbl.gov/xfig/ for now) +* Tue Feb 19 2008 Fedora Release Engineering - 3.2.5-8 +- Autorebuild for GCC 4.3 -* Sun Feb 28 2016 Hans de Goede - 3.2.5-48.c -- Bring in various bugfixes from Debian -- Convert icons to png -- Add appdata +* Wed Dec 12 2007 Hans de Goede 3.2.5-7 +- Fix xfig crashing when zooming in a lot (bz 420411) -* Fri Feb 05 2016 Fedora Release Engineering - 3.2.5-47.c -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild +* Sat Nov 17 2007 Hans de Goede 3.2.5-6 +- Put the Xaw3d version in the main xfig package, put the plain Xaw version + in a -plain subpackage + +* Fri Nov 16 2007 Hans de Goede 3.2.5-5 +- Also compile a version against Xaw3d instead of plain Xaw, available in the + new xfig-Xaw3d package +- Various specfile cleanups for packaging guidelines compliance +- Remove spurious executable permissions on various files (bz 247424) +- Apply patch fixing problems with xfig not finding fonts (bz 210278) + +* Thu Nov 15 2007 Than Ngo 3.2.5-4 +- fix #201992, xfig crashes in the edit function + +* Thu Nov 15 2007 Than Ngo 3.2.5-3 +- fix #201992, xfig crashes in the edit function + +* Fri Oct 05 2007 Than Ngo - 3.2.5-2 +- rh#313321, use xdg-open + +* Mon Apr 16 2007 Than Ngo - 3.2.5-1.fc7 +- 3.2.5 + +* Wed Jul 12 2006 Jesse Keating - 3.2.4-21.1 +- rebuild + +* Tue May 16 2006 Than Ngo 3.2.4-21 +- fix #191816, Xaw3d build problem + +* Fri May 05 2006 Than Ngo 3.2.4-20 +- fix #169330, wrong docdir +- fix #187902, no parameter negotiation for xfig +- fix #182451, switch xfig's pdf viewer to evince + +* Tue Apr 25 2006 Adam Jackson 3.2.4-19 +- Rebuild for updated imake build rules + +* Tue Apr 04 2006 Than Ngo 3.2.4-18 +- no parameter negotiation for xfig, fix #187902 + +* Fri Feb 10 2006 Jesse Keating - 3.2.4-17.2 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 3.2.4-17.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Wed Dec 21 2005 Than Ngo 3.2.4-17 +- workaround for utf8 + +* Sun Dec 18 2005 Than Ngo 3.2.4-16 +- add correct app-defaults directory + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Tue Nov 15 2005 Than Ngo 3.2.4-15 +- fix for modular X + +* Mon Oct 24 2005 Than Ngo 3.2.4-14 +- enable xpm support #158422 + +* Tue Jul 19 2005 Than Ngo 3.2.4-13 +- buildrequires on xorg-x11-devel + +* Mon Jul 18 2005 Than Ngo 3.2.4-12 +- fix another buffer overflow #163413 + +* Thu May 19 2005 Than Ngo 3.2.4-11 +- apply patch to fix buffer overflow #158088 + +* Mon Mar 21 2005 Than Ngo 3.2.4-10 +- fix font warning #116542 + +* Mon Mar 07 2005 Than Ngo 3.2.4-9 +- cleanup + +* Sat Mar 05 2005 Than Ngo 3.2.4-8 +- rebuilt + +* Wed Feb 09 2005 Than Ngo 3.2.4-7 +- rebuilt + +* Sat Sep 25 2004 Than Ngo 3.2.4-6 +- add mimetype spec #131629 + +* Mon Sep 13 2004 Than Ngo 3.2.4-5 +- fix desktop file #131983 + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Tue Jun 3 2003 Jeff Johnson +- add explicit epoch's where needed. + +* Tue May 6 2003 Than Ngo 3.2.4-1 +- 3.2.4 + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Thu Nov 7 2002 Than Ngo 3.2.3d-11 +- rebuild in new enviroment + +* Thu Aug 22 2002 Than Ngo 3.2.3d-10 +- close should get fd, not filename + +* Wed Jul 31 2002 Than Ngo 3.2.3d-9 +- Fixed typo bug (bug #70347) + +* Wed Jul 24 2002 Than Ngo 3.2.3d-8 +- desktop file issue (bug #69543) + +* Tue Jun 25 2002 Than Ngo 3.2.3d-7 +- add patch file using mkstemp (bug #67351) + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Thu May 23 2002 Tim Powers +- automated rebuild + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Fri Jul 13 2001 Than Ngo 3.2.3d-3 +- fix build dependencies (bug #48910) + +* Tue Jul 03 2001 Than Ngo +- fix export to eps when i18n set (bug #45114) +- requires transfig-3.2.3d + +* Fri Jun 15 2001 Than Ngo +- update to 3.2.3d release + +* Tue Jun 12 2001 Than Ngo +- fix to build against XFree86-4.1.0 + +* Tue May 29 2001 Than Ngo +- update to 3.2.3d beta2 fixes (Bug #42597, #42556) +- fix bug when LANG is set, launching help gives a spurious error (Bug #42596) +- fix bug in resource setting (Bug #42595) +- remove some patches, which are included in 3.2.3d beta2 +- fix wrong version number +- use make install.all +- fix fhs problem + +* Wed May 9 2001 Bernhard Rosenkraenzer +- Don't require Netscape at all - use htmlview (which automatically launches + Netscape, Mozilla or Konqueror depending on what is installed/running). + No need to depend on proprietary stuff... + +* Thu Apr 26 2001 Florian La Roche +- do the same for s390x + +* Sat Jan 06 2001 Florian La Roche +- only require /usr/bin/netscape if not on S390 + +* Wed Dec 20 2000 Yukihiro Nakai +- Delete enable_japanese macro and set i18n default. +- Fix Japanese translation in .desktop file + +* Mon Nov 20 2000 Than Ngo +- rebuilt to fix bad dir perms + +* Thu Nov 9 2000 Than Ngo +- fixed f_read, which made xfig stop reading the file after + removing such bad objects. + +* Fri Oct 13 2000 Preston Brown +- improved .desktop entry + +* Thu Aug 24 2000 Yukihiro Nakai +- Add Japanese patch + +* Tue Aug 08 2000 Than Ngo +- fixed dependency problem +- fixed starting xpdf + +* Mon Aug 07 2000 Than Ngo +- fixed for using xpdf instead acroreader (Bug #15621) +- add requires: netscape, display + +* Sat Aug 05 2000 Than Ngo +- update to 3.2.3c (bugs fixed released) +- fix parse_printcap broken (Bug #11147) + +* Thu Jul 13 2000 Prospector +- automatic rebuild + +* Fri Jun 23 2000 Than Ngo +- xfig crash, if a menu item was clicked (Bug #12855) + +* Sun Jun 18 2000 Than Ngo +- rebuilt in the new build environment +- enable optimization + +* Sat Jun 03 2000 Than Ngo +- fix requires, xfig-3.2.3a requires transfig-2.2.3 or newer +- disable optimization -O2 (gcc-2.96 Bug) on i386 + +* Thu May 18 2000 Preston Brown +- fix buildroot issue in Imakefile + +* Mon May 8 2000 Bernhard Rosenkraenzer +- rebuild with current libXaw3d +- update to 3.2.3a + +* Mon Feb 07 2000 Preston Brown +- rebuild to gzip man pages + +* Fri Jan 14 2000 Preston Brown +- upgrade to beta1 of 2.2.3. Hopefully this fixes outstanding issues. +- no need for vararg fix, commented out + +* Thu Sep 23 1999 Preston Brown +- add icon +- don't compile with optimization on alpha + +* Mon Aug 30 1999 Preston Brown +- converted to use a .desktop file + +* Fri Mar 26 1999 Michael Maher +- added files that were missing. + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 4) +- varargs fix + +* Thu Feb 18 1999 Jeff Johnson +- correct DESTDIRR typo (#962) + +* Wed Dec 30 1998 Cristian Gafton +- build for glibc 2.1 + +* Tue Jul 7 1998 Jeff Johnson +- updated to 3.2.2. + +* Wed Jun 10 1998 Prospector System +- translations modified for de + +* Fri May 08 1998 Prospector System +- translations modified for de, fr, tr + +* Sat Apr 11 1998 Cristian Gafton +- updated for manhattan +- buildroot + +* Thu Oct 23 1997 Marc Ewing +- new version +- messed with config for 5.0 +- updated Requires and Copyright +- added wmconfig + +* Mon Jul 21 1997 Erik Troan +- built against glibc