Accepting request 24629 from graphics

Copy from graphics/xfig based on submit request 24629 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/24629
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xfig?expand=0&rev=12
This commit is contained in:
OBS User autobuild 2009-11-18 10:36:05 +00:00 committed by Git OBS Bridge
parent 8156d07cdb
commit 31a4b947ef
6 changed files with 112 additions and 521 deletions

View File

@ -1,5 +1,7 @@
--- f_readeps.c
+++ f_readeps.c 2007-05-07 15:27:12.135432181 +0200
Index: f_readeps.c
===================================================================
--- f_readeps.c.orig
+++ f_readeps.c
@@ -250,11 +250,10 @@ bitmap_from_gs(file, filetype, pic, urx,
int urx, llx, ury, lly;
int pdf_flag;
@ -52,8 +54,10 @@
/* generate gs command line */
/* for monochrome, use pbm */
--- f_readgif.c
+++ f_readgif.c 2003-05-06 11:56:53.000000000 +0200
Index: f_readgif.c
===================================================================
--- f_readgif.c.orig
+++ f_readgif.c
@@ -76,7 +76,7 @@ read_gif(FILE *file, int filetype, F_pic
char buf[BUFLEN],pcxname[PATH_MAX];
FILE *giftopcx;
@ -78,8 +82,10 @@
/* make command to convert gif to pcx into temp file */
sprintf(buf, "giftopnm | ppmtopcx > %s 2> /dev/null", pcxname);
if ((giftopcx = popen(buf,"w" )) == 0) {
--- f_readppm.c
+++ f_readppm.c 2003-05-06 11:56:53.000000000 +0200
Index: f_readppm.c
===================================================================
--- f_readppm.c.orig
+++ f_readppm.c
@@ -34,10 +34,16 @@ read_ppm(FILE *file, int filetype, F_pic
{
char buf[BUFLEN],pcxname[PATH_MAX];
@ -99,8 +105,10 @@
/* make command to convert gif to pcx into temp file */
sprintf(buf, "ppmtopcx > %s 2> /dev/null", pcxname);
if ((giftopcx = popen(buf,"w" )) == 0) {
--- f_readtif.c
+++ f_readtif.c 2003-05-06 11:56:53.000000000 +0200
Index: f_readtif.c
===================================================================
--- f_readtif.c.orig
+++ f_readtif.c
@@ -33,11 +33,16 @@ read_tif(char *filename, int filetype, F
{
char buf[2*PATH_MAX+40],pcxname[PATH_MAX];
@ -121,8 +129,10 @@
/* make command to convert tif to pnm then to pcx into temp file */
/* for some reason, tifftopnm requires a file and can't work in a pipe */
sprintf(buf, "tifftopnm %s 2> /dev/null | ppmtopcx > %s 2> /dev/null",
--- f_util.c
+++ f_util.c 2003-05-06 12:13:22.000000000 +0200
Index: f_util.c
===================================================================
--- f_util.c.orig
+++ f_util.c
@@ -906,14 +906,20 @@ void update_xfigrc(char *name, char *str
int strain_out(char *name)
{
@ -149,8 +159,10 @@
}
/* read the .xfigrc file and write all to temp file except file names */
xfigrc = fopen(xfigrc_name,"r");
--- main.c
+++ main.c 2003-05-06 11:56:53.000000000 +0200
Index: main.c
===================================================================
--- main.c.orig
+++ main.c
@@ -671,8 +671,10 @@ void main(int argc, char **argv)
update_figs = False;
@ -180,8 +192,10 @@
}
}
--- mode.c
+++ mode.c 2003-05-06 11:56:53.000000000 +0200
Index: mode.c
===================================================================
--- mode.c.orig
+++ mode.c
@@ -86,7 +86,7 @@ int min_num_points;
int cur_exp_lang; /* gets initialized in main.c */
@ -191,8 +205,10 @@
/*******************************************************************/
/* If you change the order of the lang_items[] you must change the */
--- u_print.c
+++ u_print.c 2007-05-07 15:29:17.948727463 +0200
Index: u_print.c
===================================================================
--- u_print.c.orig
+++ u_print.c
@@ -92,9 +92,16 @@ void print_to_printer(char *printer, cha
char syspr[2*PATH_MAX+200];
char tmpfile[PATH_MAX];
@ -253,8 +269,10 @@
/* direct any output from fig2dev to this file */
strcat(command, " 2> ");
strcat(command, errfname);
--- w_print.c
+++ w_print.c 2003-05-06 12:20:46.000000000 +0200
Index: w_print.c
===================================================================
--- w_print.c.orig
+++ w_print.c
@@ -294,9 +294,10 @@ void
do_print_batch(Widget w)
{
@ -305,9 +323,11 @@
/* get grid params and assemble into fig2dev parm */
get_grid_spec(grid, print_grid_minor_text, print_grid_major_text);
--- w_srchrepl.c
+++ w_srchrepl.c 2003-05-06 11:56:53.000000000 +0200
@@ -787,7 +787,7 @@ spell_check(void)
Index: w_srchrepl.c
===================================================================
--- w_srchrepl.c.orig
+++ w_srchrepl.c
@@ -788,7 +788,7 @@ spell_check(void)
char *cmd;
char str[300];
FILE *fp;
@ -316,7 +336,7 @@
Boolean done = FALSE;
static int lines = 0;
@@ -803,9 +803,12 @@ spell_check(void)
@@ -804,9 +804,12 @@ spell_check(void)
}
lines = 0;

View File

@ -1,7 +1,8 @@
diff -ru xfig.3.2.3d.orig/main.c xfig.3.2.3d/main.c
--- xfig.3.2.3d.orig/main.c 2001-01-25 22:49:19.000000000 +0100
+++ xfig.3.2.3d/main.c 2003-05-09 11:58:41.000000000 +0200
@@ -259,18 +259,36 @@
Index: xfig.3.2.5/main.c
===================================================================
--- xfig.3.2.5.orig/main.c
+++ xfig.3.2.5/main.c
@@ -318,18 +318,36 @@ static XtResource application_resources[
XtOffset(appresPtr, always_use_fontset), XtRBoolean, (caddr_t) & false},
{"fixedFontSet", "FontSet", XtRFontSet, sizeof(XFontSet),
XtOffset(appresPtr, fixed_fontset), XtRString,
@ -46,4 +47,3 @@ diff -ru xfig.3.2.3d.orig/main.c xfig.3.2.3d/main.c
{"fontSetSize", "FontSetSize", XtRInt, sizeof(int),
XtOffset(appresPtr, fontset_size), XtRImmediate, (caddr_t)0 },
{"inputStyle", "InputStyle", XtRString, sizeof(char *),

View File

@ -1,6 +1,8 @@
--- w_dir.c
+++ w_dir.c 2004-03-22 12:17:21.000000000 +0000
@@ -126,6 +126,8 @@
Index: w_dir.c
===================================================================
--- w_dir.c.orig
+++ w_dir.c
@@ -132,6 +132,8 @@ FileSelected(Widget w, XtPointer client_
{
XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data;
@ -9,7 +11,7 @@
strcpy(CurrentSelectionName, ret_struct->string);
FirstArg(XtNstring, CurrentSelectionName);
if (browse_up) {
@@ -160,6 +162,8 @@
@@ -163,6 +165,8 @@ DirSelected(Widget w, XtPointer client_d
{
XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data;
@ -18,9 +20,11 @@
strcpy(CurrentSelectionName, ret_struct->string);
DoChangeDir(CurrentSelectionName);
}
--- w_library.c
+++ w_library.c 2004-03-22 12:19:10.000000000 +0000
@@ -461,6 +461,8 @@
Index: w_library.c
===================================================================
--- w_library.c.orig
+++ w_library.c
@@ -481,6 +481,8 @@ NewObjectSel(Widget w, XtPointer closure
int new_obj;
XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data;
@ -29,20 +33,24 @@
new_obj = ret_struct->list_index;
if (icons_made) {
/* unhighlight the current view icon */
--- w_srchrepl.c
+++ w_srchrepl.c 2004-03-22 12:20:38.000000000 +0000
@@ -894,6 +894,8 @@
{
XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data;
Index: w_srchrepl.c
===================================================================
--- w_srchrepl.c.orig
+++ w_srchrepl.c
@@ -887,6 +887,8 @@ spell_select_word(Widget widget, XtPoint
XtSetSensitive(correct_button, True);
XtSetSensitive(correct_word, True);
+ if (!ret_struct)
+ return;
/* save the selected word */
strcpy(selected_word, ret_struct->string);
/* copy the word to the correct_word ascii widget */
--- w_style.c
+++ w_style.c 2004-03-22 12:13:00.000000000 +0000
@@ -585,7 +585,8 @@
Index: w_style.c
===================================================================
--- w_style.c.orig
+++ w_style.c
@@ -589,7 +589,8 @@ family_select (Widget w, XtPointer closu
XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data;
@ -52,7 +60,7 @@
current_style = -1;
style_update ();
}
@@ -598,7 +599,8 @@
@@ -599,7 +600,8 @@ style_select (Widget w, XtPointer closur
{
XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data;

View File

@ -1,6 +1,8 @@
--- w_drawprim.c
+++ w_drawprim.c 2007-05-07 17:11:31.189166000 +0200
@@ -512,7 +512,9 @@ void init_gc(void)
Index: w_drawprim.c
===================================================================
--- w_drawprim.c.orig
+++ w_drawprim.c
@@ -528,7 +528,9 @@ void init_gc(void)
gccache[ERASE] = makegc(ERASE, x_fg_color.pixel, x_bg_color.pixel);
gccache[INV_PAINT] = makegc(INV_PAINT, x_fg_color.pixel, x_bg_color.pixel);
/* parse any grid color spec */
@ -10,8 +12,10 @@
XParseColor(tool_d, tool_cm, appres.grid_color, &tmp_color);
if (XAllocColor(tool_d, tool_cm, &tmp_color)==0) {
fprintf(stderr,"Can't allocate color for grid \n");
--- w_layers.c
+++ w_layers.c 2007-05-11 16:19:02.691772247 +0200
Index: w_layers.c
===================================================================
--- w_layers.c.orig
+++ w_layers.c
@@ -118,9 +118,27 @@ init_depth_panel(Widget parent)
{
Widget label, below;
@ -69,9 +73,11 @@
/* now that the bitmaps have been created, put the checkmark in the proper toggle */
FirstArg(XtNbitmap, (gray_layers? sm_check_pm : sm_null_check_pm));
--- w_library.c
+++ w_library.c 2007-05-07 16:06:15.423107000 +0200
@@ -1029,9 +1029,9 @@ make_library_menu(Widget parent, char *n
Index: w_library.c
===================================================================
--- w_library.c.orig
+++ w_library.c
@@ -1031,9 +1031,9 @@ make_library_menu(Widget parent, char *n
Widget menu, entry;
#ifndef XAW3D1_5E
Widget submenu;
@ -82,8 +88,10 @@
int i;
menu = XtCreatePopupShell(name, simpleMenuWidgetClass,
--- w_icons.c
+++ w_icons.c 2007-07-25 11:53:51.693851855 +0200
Index: w_icons.c
===================================================================
--- w_icons.c.orig
+++ w_icons.c
@@ -3013,237 +3013,156 @@ char * fig_reduced_c_icon_X[] = {
/* bitmap of letters for splash screen ("3.2.X") */
@ -466,8 +474,10 @@
/* splash background in XPM */
--- w_setup.c
+++ w_setup.c 2007-05-11 13:44:57.656325000 +0200
Index: w_setup.c
===================================================================
--- w_setup.c.orig
+++ w_setup.c
@@ -44,7 +44,7 @@ int SW_PER_ROW, SW_PER_COL;
void setup_sizes(int new_canv_wd, int new_canv_ht)
@ -491,8 +501,10 @@
if (MODEPANEL_SPACE < 2)
MODEPANEL_SPACE = 2;
}
--- w_setup.h
+++ w_setup.h 2007-05-11 13:44:57.680328000 +0200
Index: w_setup.h
===================================================================
--- w_setup.h.orig
+++ w_setup.h
@@ -29,12 +29,12 @@
#define DISPLAY_PIX_PER_INCH 80
@ -510,8 +522,10 @@
#define DEF_RULER_WD 24
#define UNITBOX_WD 95
--- w_snap.c
+++ w_snap.c 2007-05-11 16:15:09.419022454 +0200
Index: w_snap.c
===================================================================
--- w_snap.c.orig
+++ w_snap.c
@@ -1373,9 +1373,8 @@ init_snap_panel(parent)
Widget dlabel;
DeclareArgs(10);
@ -524,8 +538,10 @@
/* main form to hold all the layer stuff */
--- w_util.c
+++ w_util.c 2007-05-11 16:24:36.343207872 +0200
Index: w_util.c
===================================================================
--- w_util.c.orig
+++ w_util.c
@@ -34,6 +34,7 @@
#include "w_print.h"
#include "w_util.h"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Nov 15 14:48:07 CET 2009 - meissner@suse.de
- refresh patches to apply with fuzz=0
-------------------------------------------------------------------
Mon Apr 6 11:23:08 CEST 2009 - werner@suse.de

462
xfig.spec
View File

@ -20,13 +20,13 @@
Name: xfig
BuildRequires: flex freetype2-devel libjpeg-devel libpng-devel netpbm update-desktop-files xaw3d-devel xorg-x11 xorg-x11-devel
License: Any permissive
License: PERMISSIVE-OSI-COMPLIANT
Group: Productivity/Graphics/Vector Editors
Provides: xfig.3.2.3d
Requires: transfig netpbm ghostscript-fonts-std
AutoReqProv: on
Version: 3.2.5
Release: 134
Release: 135
Summary: Facility for Interactive Generation of Figures under the X Window System
Url: http://www.xfig.org/
Source: xfig.%{version}.tar.bz2
@ -148,461 +148,3 @@ find %{buildroot}/%{_docdir}/%{name} -name '*.orig' | xargs -r rm -f
%doc %{_mandir}/man1/xfig.1x.gz
%changelog
* Mon Apr 06 2009 werner@suse.de
- Add fix to avoid FPE aftger zoom in (bnc#492295)
* Wed May 14 2008 werner@suse.de
- Fix buffer overflow in zoom handling (bnc#390283)
* Fri Apr 25 2008 werner@suse.de
- Make PS/PDF/LaTeX work similar to PS/LaTeX and PDF/LaTeX (bnc#383669)
* Tue Dec 18 2007 werner@suse.de
- Close comment in patch xfig.3.2.5-fixes.dif (bug #349439)
* Fri Nov 23 2007 werner@suse.de
- Make browser script know about firefox
* Fri Jun 01 2007 dmueller@suse.de
- fix buildrequires
* Mon May 07 2007 werner@suse.de
- Make it work as it should:
* Be sure that horizontal sidebar ruler and other elements are
visible all the time. This requires small modifications in the
calculations of the positions of a lot of elements/classes.
* Make splash screen show `3.2.5' instead of `3.2.5 - alpha5'
* Supress not wanted debug message
- Update to xfig 3.2.5 including various bug fixes, from the
CHANGES file (bug #267840):
* Shift-U accelerator added to popup units panel
* The library menu button sizes with the library panel, to show longer
path names if the user wants.
* The cursor for drawing lines, splines, etc. is a crosshair now instead
of an arrow.
* Snap features to allow snapping points to endpoints, midpoints and
intersections of other objects.
From Chris Moller.
* Keyboard input of object coordinates for precise positioning.
From Chris Moller.
* Can grab arc anywhere along the curve instead of just at grab points
From Chris Moller.
* Added -noflipvisualhints for cases where, due to "different" pointer
devices, they aren't really flipped, but the mapping indicates they are.
* Export to all of PS, PDF and LaTeX in one operation
From Alistair Ramsey
* Reorganized Networks library and new devices: ASX-200, 1000, and 4000
by Bill Chimiak
* New figures "betty.fig" (Betty Boop) and "nikke.fig" (German detective
Nick Knatter) in Libraries/Examples drawn by Markku Reunanen
* Can finish text input by pressing Escape. This removes the cancellation
of a compose sequence (e.g. a-umlaut)
* Actually a bug fix, import of PDF files is now possible. The code was
there since version 3.2.3, but the user interface was not.
* Nearly-full ANSI protoization of code by Harald Koenig
* Installation of Libraries and doc files faster with tar instead of shell loop
* New Gregorian chant music symbols from Bill Chimiak. Also, Music library
divided into "chant" and "modern"
* Popup edit panel slightly more compact vertically
* New library "Fasteners" containing various bolts and screws
From Jim Yuzwalk
* Increased size of numeric entry fields in indicator panels
* N-channel IGBT in Electronic/Schematics Library from Art Blair
* starting values for arrow type, width, length, thickness may be specified
on command-line or in X resources:
-startarrowtype, -startarrowwidth, -startarrowlength, -startarrowthick
* xfig would crash on 64-bit processors because of a missing include, which
causes new_string() to be declared implicitly as returning an integer.
This may cause the top 32 bits to get lost and hence the crash.
* Blanks not preserved in imported picture filename when reading Fig file
* When in metric mode, decimal precision was ignored for dimension lines
* When showing vertex numbers on objects, first vertex is now 0 to match
edit window vertex numbers
* Also, vertex numbers are not shown on inactive (grayed) layers
* Widget shadow resources moved from Fig-color to Fig because they don't
really have anything to do with color. There was a problem when running
KDE because it set a global resource *Scrollbar*height: which made xfig
freeze when *customization: -color was NOT used.
* The point positioning indicator is turned on when editing a compound
object to show the user that it is used
* Increased the maximum size of images that can be imported. There was
a limit in the PostScript image encoder of 4096x4096 pixels. This was
increased to 8192x8192.
* Centered text was changed to left-justified when flipped horizontally
inside a compound object.
* With -v option, after reporting the version, xfig would say that -v
was an unknown option
* Local locale was being used when writing the xfig cut buffer file
instead of switching to "C" locale. This created commas instead of
decimal (.) for numbers in those particular locales.
From Dirk Osswald
* Local locale was used when forming command for calling fig2dev,
resulting in commas instead of decimals for floating point numbers.
* count_user_colors buffer overflow fixed
* Under Cygwin, temporary file stayed around after unlink(), causing
error when importing more than one ps/eps/pdf file
* Segfault when using -update because appres resources were NULL
* -update option failed when not first option passed to xfig
* Clicking window manager "close window" button in library titlebar
didn't close the window
* Wasn't distributing objects in compounds when there were only 2 objects
* Some compilers complain about the order of declaration in u_fonts.h - fixed
* Northern part of map of India was incorrect (Libraries/Maps/Asia/india.fig)
* Map of Serbia was misnamed "yugoslavia.fig" (Libraries/Maps/Europe/yugoslavia.fig)
* Map of Central Europe had old Yugoslavia instead of Croatia, Serbia, Bosnia-
Herzegovina, and Macedonia (also, Slovenia was mistakenly inside the border)
* Editing a compound object with more than 200 texts would crash xfig
* Added note to README and FAQ html file:
If the Xaw or Xaw3d Athena widget sets are compiled with the
ARROW_SCROLLBAR style of scrollbars, there is no StartScroll action
and you won't be able to scroll using the wheel on the mouse.
If you want to be able to scroll using the wheel, you must recompile
the Xaw library from sources, disabling the ARROW_SCROLLBAR option.
* Astrological symbols for planets in Miscellaneous/Astrology by Andrew Collier
* Added key bindings to text dialogs to be more like modern systems (the
Athena Widget Set that xfig uses is very old):
Home: beginning-of-line
End: end-of-line
Del: delete-character-right
* Added *.jpeg* to picture browse options
* New libraries for electronics from Fabio González in
Libraries/Electronics/Schematic/More
* typo in latex_and_xfig.html and LATEX_AND_XFIG files. Text should be:
\convertMPtoPDF{foo.0}{1}{1}
It was missing parameters {1}{1}
* -correct_font_size missing from -help option list and man pages
* -help and -version didn't work unless they were first in the options
* -O option wasn't passed to fig2dev for overlapping pages in multiple
page mode for PostScript export
* Introduction.html and installation.html updated to include Macintosh
port of xfig
* Button to collapse depths of a compound object (make all same depth)
in popup object editor
* Grid changed from dotted line to light red solid line
* Candle in Libraries/Miscellaneous by Dr. Lyman Hazelton
* Right-click on depth checkbox sets current depth in indicator panel
to that depth
* Library of symbols used when diagramming folding instructions to make
origami models and example contributed by Marc Vigo
* Can adjust width and height directly in popup editor for picture
objects
* Support for David Hawkey's Xaw3D version 1.5E
(http://www.visi.com/~hawkeyd/xaw3d.html)
* When loading a library object, if it contained only a compound and
nothing else, when xfig promoted that compound to the toplevel the
main comment was lost
* Incorrect header files used for SmeBSB resulted in either segfault or
none of the command panel entries being underlined
* Drawing very large splines (e.g. at zoom = 0.01) caused integer
roundoff errors, making xfig loop indefinitely
* Bug where a line that had a zero width or length arrowhead was not
redrawn after being moved, copied, canvas redraw, etc.
* The page border and axis lines would obscure Fig objects when moving,
copying etc. other objects on the canvas.
* In the popup picture editor, if the relative position of the corners
of the picture were changed, the rotation field was not updated
(this bug was in 3.2.5-alpha3 only)
* line, arc, ellipse length tool was reporting 0 length
* URL for information about the color optimization code (written by
Anthony Dekker) has changed to:
http://members.ozemail.com.au/~dekker/NEUQUANT.HTML
* -autorefresh command-line option (resource: Fig.autorefresh) which
will make xfig look at the timestamp on the .fig file and
automatically load it and display it everytime it changes.
* Removed requirement to compile with WHEELMOUSE when using wheelmouse
* New tower computers (Libraries/Computers/AOpenKF45E.fig and
AOpenKF45E.fig from Dirko van Schalkwyk)
* New 10/100 8port hub (Libraries/Networks/3Com3C16750.fig also from
Dirko van Schalkwyk)
* When placing library objects, the name and comments are displayed in
message window
* New flags (Libraries/Flags): Africa/Eritrea, Africa/Zimbabwe,
Asia/Myanmar, Asia/Tajikstan, Asia/Kyrgystan, Europe/Croatia
* non-polar capacitor added to Libraries/Electronic/Schematic
* Mouse wheel can be used to scroll through filename lists in File and
Export panels and icons or object lists in Library panel
* Thickness of ticks in dimension lines are user-adjustable now
* For attribute popup dialogs with only one text entry, keyboard now
focuses on the entry as long as the pointer is anywhere in the dialog
* When using the "Open compound, keep rest visible", the other objects
are drawn in shades of gray similar to the inactive layers feature.
* New library objects: adder, multiplier, sine-source and voltage-source
in Electronic/Schematic by Hubert Lam
* Zooming in or out with the Z or z key respectively will keep the canvas
centered on the mouse pointer
* Full version and patchlevel is included in Fig file header for
diagnostics
* Can explicitly set the rotation of imported pictures in edit panel
after importing
* Export option to produce both EPS and PDF (in two files) in one step.
Useful for those who both use LaTeX and PDFLaTeX
* "Epoch" added to rpm spec
* New HP/GL2 (fig2dev) driver from Glenn Burkhardt with paper size
selection, offset, centering and orientation options
* New library object "atom" in Libraries/Miscellaneous is the classic
drawing of an atom with electrons circling
From Andrew B. Collier
* Missing #ifdef XAW3D in SimpleMenu.c
* Bug when breaking a compound object - depths were added twice to the
counts
* When implicitly cancelling the placement of a library object by
choosing another mode, xfig would do one of two things:
1. tell user to cancel or finish the current operation, but there
was no way to do that
2. create the object that was being cancelled with extremely large,
negative coordinates
* Picture Reread button was active before file was read the first time
* Rereading picture in edit popup produced bad colors
* When using multiple copies of an imported picture, h/w ratio was not
computed for copies
* Importing PCX images were incorrect when bytes per line different from
width*bpp
* When passed a filename containing a directory name for a Fig object
library using -library_dir, and that directory only contains Fig files
and no subdirectories with Fig files, xfig segfaulted
* Several checks for memory allocation failure added to the library
loading procs
* Forgot to free allocated memory when return abnormally from loading
libraries
* Path length check in loading libraries fixed
* Missing include for put_msg prototype in e_measeure.c
* Needed #ifdef for XtVersion in SmeBSB.c (X11R5 doesn't have
international fontset)
* Added SIGPIPE signal to ignore in case an external program dies when we're
using pipes
* Screen capture on an MSBFirst X server with 24/32 bits per pixel was
incorrect.
* Importing any image file on such a server was incorrect (bytes/bits
reversed).
* Reading GIF or PCX files on 24-bit server *and* on big-endian machine
(e.g. Sparcstation) resulted in bytes being swapped and funny colors
* Could popup unit dialog when drawing/editing objects
* Embedded whitespace in filenames in recently loaded files weren't
parsed properly (.xfigrc)
* When pasting an object on the canvas, point positioning grid wasn't used
* Bug when reading a compressed eps file (file handle was passed to open
proc instead of name)
* Minor grid spec used twice instead of minor/major when passed to fig2dev
* Fixed conversions of export/print grid values when switching to/from
metric, decimal or fraction
* When loading or merging a file, xfig appended ".fig" to the name if
there wasn't ".fig" in the name. Now it only appends ".fig" if there
is no suffix (no ".").
* When appending the ".fig" before the previous change, xfig would segfault
* Libraries/Electronic/Schematic/transformer and transformer_ironcore
aligned to 1/16" grid
* Bugs in indicator panel display of text flags, dimension line params
and arrow size params when cycling through settings with middle or
right mouse button
* Bug in callbacks for dimension line checkboxes that select actual
length or user text
* When exporting to Combined PDF/LaTeX it uses ".pdf" and ".pdf_t"
suffixes because LaTeX doesn't recognize ".pdftex" as a PDF file
* Better clipping around arrowheads on thick lines (lines that are
thicker than the arrowhead is wide)
* Checks for open splines of < 2 points when reading figure file and
removes them
* Clicking middle mouse button after creating first point of closed
spline switched to freehand mode
* Export panel sections would get messed up when changing export
languages
* Now checks whether scrollbars support StartScroll before trying to use
it for the wheel scrolling. When the Xaw widgets are compiled with
ARROW_SCROLLBAR, there is no such action.
* pstex_t export lacked border option (-b) to align LaTeX text when
pstex figure specified border (also fixed in fig2dev)
* Create one picture object with no filename, then create another and
xfig crashed
* Some bugs when freeing dimension line components
* Bad choices for grid dot spacing in metric mode in the 5mm grid, and
decimal inch mode in the 0.5 and 1.0 inch grids
* -international flag missing from xfig.html and xfig.man docs
* Added call to XsetLocaleModifiers() when initializing input method
(-international mode only)
* xfig was limiting arrowhead lengths to 50 pixels instead of 50 inches,
and the width to 10 pixels instead of 10 inches.
* edit panel for circles shouldn't have "angle" entry
* edit panel wasn't allowing typing in of negative angles for text and
ellipses
* Objects were sometimes drawn with a wild point when zooming
* Full path was being added to default export filename and wasn't
changing when user changed directories
* When drawing a box or rounded box with the "show line lengths" on, the
sizes were in Fig units (1200ppi) instead of user units.
* Spacing cedilla (ISO 0xB8 / octal 270) was missing from CompKeyDB file
* Changing the units in the popup edit panel for a text object caused a
segfault.
* Rulers and grid didn't change scale when user scale was != 1.0. Even
though the message window showed the correct user scale when drawing
objects, the rulers and grid still showed the unscaled values.
* Axis lines through 0,0 now drawn after page border so it remains
visible when there is a grid
* Segfault if current directory was deleted after starting xfig
* Positioning grid was set to "ANY" when editing a compound object,
causing the original bounding box to be lost
* Bug in arc drawing caused arcs to be drawn as circles at high zoom
* Computing the area of a polygon larger than 38x38 inches overflowed
calculation
* Bug in bounds calculation for ellipses and circles that increased
bounding box even with line width = 1
* Limit on number of styles in a family wasn't checked
* If all depths were turned off and any edit operation was attempted on
the canvas such as move object, delete object, xfig would hang,
searching for objects indefinitely.
* Thu Nov 16 2006 werner@suse.de
- Set LC_NUMERIC to POSIX before print or export data (bug #213942)
* Tue Nov 07 2006 ro@suse.de
- fix docu permissions
* Mon Jul 31 2006 werner@suse.de
- Use Imake defines for LIBDIR/SHAREDIR switch
* Fri Jul 28 2006 werner@suse.de
- Make it build with X11R7
* Wed Feb 15 2006 stbinner@suse.de
- add GenericName to .desktop file
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Oct 06 2005 werner@suse.de
- Make URW fonts an option, use Adobe as fallback
* Wed Aug 31 2005 werner@suse.de
- Fix single byte buffer overflow due pedantic gcc4 (bug #114344)
* Mon Aug 29 2005 ro@suse.de
- use own desktop file with icon (#113672)
* Tue Mar 01 2005 meissner@suse.de
- fixed font struct definitions to be after struct
definition for gcc4.
- -Wno-all is actually -w.
* Thu Aug 26 2004 werner@suse.de
- Allow arguments in the wrapper script for xfig
* Wed Aug 25 2004 werner@suse.de
- Avoid nasty warnings about not found actions
- Use wrapper script to avoid UTF-8 for the program its self
* Fri Aug 13 2004 werner@suse.de
- Filelist: Add pixmap of xfig (#43698)
- Package docu: correct dir name in PDB (#43698)
* Fri May 28 2004 adrian@suse.de
- fix invalid Categories (#41338)
* Tue Apr 06 2004 werner@suse.de
- Add application desktop file for xfig (bug #38507 ???)
* Mon Mar 22 2004 werner@suse.de
- Fix NULL pointer access (bug #36650)
* Thu Mar 18 2004 werner@suse.de
- Remove .bak's from file list (bug #36311)
* Thu Mar 11 2004 werner@suse.de
- Add browser script for detection of varisou web browsers (#35669)
- Add security fix for temporary files
- Fix doc location
- Avoid extrem long build logs
* Tue Feb 03 2004 werner@suse.de
- Update to 3.2.4
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Tue Jul 22 2003 hare@suse.de
- Fixed function declaration.
* Fri Jun 13 2003 kukuk@suse.de
- Add workaround for brp-symlink script
* Thu Jun 12 2003 kukuk@suse.de
- Use BuildRoot
- Fix filelist
* Fri May 09 2003 mfabian@suse.de
- fix Bugzilla #26734: extend the fontsets in
xfig-international-std-fonts.dif to always match something to
avoid warnings "Missing charsets in String to FontSet conversion"
even if only few fonts are installed.
* Thu May 08 2003 mfabian@suse.de
- adapt font names in xfig.3.2.3d-urw-fonts.dif to the names
as they are auto generated by mkfontscale since SuSE Linux 8.2.
- don't print warnings concerning input styles when compose is
used, input styles don't matter for compose.
* Mon Mar 18 2002 mfabian@suse.de
- fix bug #15077, don't exit when XSetLocaleModifiers("") fails,
this would make it impossible to use the '-international' option
unless some input server is running, which is nonsense for most
non-Asian languages e.g. for Czech.
- enable '-international' automatically when
NULL == strcasestr(nl_langinfo(CODESET),"ISO-8859-1")
(i.e. enable it automatically for Czech as well).
- use better fonts for on screen display of Times-Roman and
Times-Bold when '-international' is used.
* Mon Mar 18 2002 werner@suse.de
- Fix bug # 15076: add link /usr/X11R6/lib/X11/xfig/html/
pointing to /usr/share/doc/packages/xfig/html/,
add link /usr/X11R6/lib/X11/xfig/xfig.html pointing to
/usr/share/doc/packages/xfig/xfig.html, add link
/usr/X11R6/lib/X11/xfig/xfig-howto.pdf pointing to
/usr/share/doc/packages/xfig/xfig-howto.pdf
* Thu Mar 07 2002 werner@suse.de
- Fix bug # 14588: add link /usr/X11R6/lib/X11/xfig/Libraries
pointing to /usr/share/doc/packages/xfig/Examples/Libraries
* Fri Feb 22 2002 mfabian@suse.de
- use the URW fonts for display on X11 instead of bitmap fonts.
Using the URW fonts for display on X11 *and* for printing with
Ghostscript has the advantage that printout looks much more
similar to the preview on X11. Much more WYSIWYG now.
On top of that, the bitmap fonts could not be scaled anymore
because we now have ":unscaled" added to every directory in
the font path which contains only bitmap fonts. Therefore
changing the font size in xfig ceased to work on X11, it worked
only in the PostScript output. Because of this the X11 display
was very different from the PostScript output.
- add font-test.fig as a sample file to test the correct display
of the URW fonts.
- add xfig.3.2.3d-xim.dif to fix XIM for Japanese and Korean.
(didn't work at all previously because a call to
XSetLocaleModifiers() was missing)
- switch on the '-international' option for all locales using
codesets different from 'ISO-8859-*' on by default.
- remove Korean app-defaults. The only reason for it's existence
was to set 'Fig.international: true' apart from that it was
identical to the standard app-defaults file. And because of
some bug (which I still don't understand) it wasn't read anyway
and therefore achieved nothing.
* Fri Feb 01 2002 ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Tue Dec 11 2001 werner@suse.de
- Add forgotten examples
- Add forgotten docs
* Mon Dec 10 2001 werner@suse.de
- Update to version 3.2.3d
* Tue May 08 2001 mfabian@suse.de
- bzip2 sources
* Thu Jan 25 2001 violiet@suse.de
- added Korean resource.
* Thu Dec 14 2000 werner@suse.de
- Fixed the improve of the object searching at higher zooms (bug#4672)
* Tue Oct 10 2000 werner@suse.de
- Move XtSetLanguageProc after XtAppInitialize because otherwise
LC_NUMERIC will be overwritten by LANG.
* Fri Sep 15 2000 werner@suse.de
- Update to 3.2.3c
* include bug fix for f_read.c
* Enable international support at compile time but disable
it at run time (works only for Japanese and Korean).
User could use -international
* Mention -international in the manual and html page
* Fri Jun 30 2000 werner@suse.de
- Workaround for un-initialized label in sme_bsb class
* Wed May 31 2000 werner@suse.de
- use %%{_defaultdocdir}
* Mon Mar 27 2000 werner@suse.de
- Avoid sparc nasties
* Fri Mar 24 2000 werner@suse.de
- Update to new version 3.2.3a
- Add patch for special jpeg version
- Change some minor shadow colorings
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Wed Apr 07 1999 werner@suse.de
- Use the macro __need___va_list instead of moving varargs.h
- Integrate the cut+paste patch
- Use colored XPM icon
* Fri Mar 05 1999 ro@suse.de
- move varargs topward to make it compile
* Wed Dec 09 1998 max@suse.de
- added whole /usr/X11R6/lib/X11/xfig path to the file list, to get
online documentation and cliparts into the rpm package.
* Fri Oct 30 1998 ro@suse.de
- update to 3.2.2
* Thu Sep 17 1998 ro@suse.de
- don't redeclare sys_errlist for glibc
* Mon Oct 20 1997 ro@suse.de
- ready for autobuild
* Tue May 27 1997 florian@suse.de
- update to version 3.2
- update to version 3.2.0-beta3
- add more docu and examples
* Thu Jan 02 1997 florian@suse.de
- changed to use cm as default metric and not inches