Hello community,
here is the log from the commit of package xfig for openSUSE:Factory
checked in at Wed Dec 16 10:58:00 CET 2009.
--------
--- xfig/xfig.changes 2009-11-15 14:48:18.000000000 +0100
+++ /mounts/work_src_done/STABLE/xfig/xfig.changes 2009-12-14 14:17:55.000000000 +0100
@@ -1,0 +2,70 @@
+Mon Dec 14 14:08:05 CET 2009 - werner@suse.de
+
+- Update to xfig 3.2.5b including various bug fixes (including the
+ bug fix for bnc#560351):
+ * Dimension line indicator incorrectly showed arrow length/width
+ * Several patches from Fedora xfig maintainer
+ * divide by 0 under certain circumstances in ruler code
+ From Libor Pechacek
+ * Segfault if PRINTER env variable was not defined
+ * Fig-color merged into Fig app-defaults file because almost no one knows about
+ the "*customization: -color" option to make X programs read the color def file.
+ * dimension line arrowhead width and length used %d instead of %f in
+ dialog, always displaying 0
+ * leftover debugging printf(...color = ) in startup
+ * finally fixed size of mode panel so it doesn't cover indicator panel
+ under certain circumstances
+ * removed "Alpha" from splash
+ * updated copyright date in Help/About
+ * problem with depth panel height due to snap mode indicator
+ * snap indicator indicated "Focus" when "Diameter" was selected
+ * w_keyboard.c had pointer assignment reversed
+ * extraneous "done" in Imakefile in "install.jhtml" section
+ From Eric Scott
+ * many protoytpe cleanups from Eric Scott
+ * #ifndef __FreeBSD__ added around #include from Eric Scott
+ * uses rint() instead of lrint() for those with non-C99 compilers
+ * Solaris doesn't have REG_NOERROR for regex, so have new #define for that
+ * added dependency on version.h and patchlevel.h for f_util.c and f_save.c to
+ Imakefile
+ * In imperial fractional scale mode, if the user scale factor wasn't 1.0, xfig
+ would switch to decimal mode. This has been fixed to remain in fractional mode.
+ * Added condition for GLIBC to not declare srandom(int)
+ * Better resizing of message popup panel
+ * Map of Spain included Portugal. From Eugen Dedu.
+ * Double-clicking on either style or family would crash xfig
+ * Export/Print grid units were not reset when loading Fig file of different units
+ * When converting empty export/print grid units to fractional inches would make 0/2
+ * Escaped hyphens in man page
+ From Roland Rosendfeld
+ * When exporting to all three: PostScript, PDF and TeX, incorrectly generated
+ PostScript and PDF that included LaTeX-only (special) text
+ * Bug when doing Save As to a shorter filename - would corrupt name sometimes
+ * Note about 450 pixels/cm didn't make it from the FORMAT3.1 file to FORMAT3.2
+ * Print command was using -P instead of -d for lp
+ * On Cygwin, needed to double-escape PRINTER environment when backslashes in name
+ * w_library.c had incompatible poiner type in call to ScanLibraryDirectory
+ * Not enough characters allocated for ruler inch/cm indicators. Would cause segfault
+ on zooming out because of longer ruler text, e.g. -10210cm
+ * 22 new arrowhead types
+ * changed default browser to firefox and default pdf viewer to xpdf
+ * HTML MAP export (fig2dev) produces reference to .png file instead of .gif now
+ * A note added to i18n.html that says if you run fig2dev standalone, you must
+ pass the -j option to it
+ * No need to have the C99 complex functions in the math library.
+ * New computers from Andre Esser (Libraries/Computers)
+ * Some network icons colored and/or combined by Roland Rosenfeld.
+ * When exporting only active layers have choice of bounding area of whole
+ figure or only the active layers
+ * Two new library figures - piano_keyboard.fig, top view of a piano keyboard
+ by Reinaert Albrecht, and piano_keyboard_perspect.fig, a perspective
+ view of a piano keyboard by Brian Smith, both in the Libraries/Music
+ directory.
+ * New library figure - scissors.fig in Libraries/OfficeEquip from Kasie
+ Breezer Talbot
+ * Search tolerance increased from 4 pixels to 10 for zoom < 20
+ * Isometric grid to ease making isometric drawings
+ From Jasper Wesselingh
+ * New 37-pin D connector and 50-pin ribbon connector in Libraries/Electronic/Physical
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
xfig.3.2.4-null.dif
xfig.3.2.5.dif
xfig.3.2.5-fixes.dif
xfig.3.2.5-locale.dif
xfig-3.2.5-mkstemp.dif
xfig.3.2.5-pspdftex.dif
xfig.3.2.5.tar.bz2
xfig.3.2.5-zoom.dif
xfig.3.2.5-zoom_fpe.dif
New:
----
xfig.3.2.5b.dif
xfig.3.2.5b-fixes.dif
xfig.3.2.5b-locale.dif
xfig.3.2.5b-null.dif
xfig.3.2.5b-pspdftex.dif
xfig.3.2.5b.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xfig.spec ++++++
--- /var/tmp/diff_new_pack.ps9qAl/_old 2009-12-16 10:56:31.000000000 +0100
+++ /var/tmp/diff_new_pack.ps9qAl/_new 2009-12-16 10:56:31.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package xfig (Version 3.2.5)
+# spec file for package xfig (Version 3.2.5b)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -25,8 +25,8 @@
Provides: xfig.3.2.3d
Requires: transfig netpbm ghostscript-fonts-std
AutoReqProv: on
-Version: 3.2.5
-Release: 135
+Version: 3.2.5b
+Release: 1
Summary: Facility for Interactive Generation of Figures under the X Window System
Url: http://www.xfig.org/
Source: xfig.%{version}.tar.bz2
@@ -35,16 +35,13 @@
Source3: xfig.sh
Source4: xfig.desktop
Patch0: xfig.%{version}.dif
-Patch1: xfig.%{version}-urw-fonts.dif
-Patch2: xfig.%{version}-xim.dif
+Patch1: xfig.3.2.5-urw-fonts.dif
+Patch2: xfig.3.2.5-xim.dif
Patch3: xfig.3.2.3d-international-std-fonts.dif
-Patch4: xfig-%{version}-mkstemp.dif
-Patch5: xfig.3.2.4-null.dif
-Patch6: xfig.%{version}-locale.dif
-Patch7: xfig.%{version}-fixes.dif
-Patch8: xfig.%{version}-pspdftex.dif
-Patch9: xfig.%{version}-zoom.dif
-Patch10: xfig.%{version}-zoom_fpe.dif
+Patch5: xfig.3.2.5b-null.dif
+Patch6: xfig.3.2.5b-locale.dif
+Patch7: xfig.3.2.5b-fixes.dif
+Patch8: xfig.3.2.5b-pspdftex.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
%if "%_exec_prefix" == "/usr/X11R6"
@@ -86,13 +83,10 @@
%patch1 -p0 -b .urw-fonts
%patch2 -p0 -b .xim
%patch3 -p1 -b .international-std-fonts
-%patch4 -p0 -b .security
%patch5 -p0 -b .null
%patch6 -p0 -b .locale
%patch7 -p0 -b .fixes
%patch8 -p0 -b .pspdftex
-%patch9 -p0 -b .zoom
-%patch10 -p0 -b .fpe
cp %{S:1} .
%build
@@ -144,7 +138,6 @@
%{_x11data}/xfig
%{_bindir}/xfig*
%config %{_appdefdir}/Fig
-%config %{_appdefdir}/Fig-color
%doc %{_mandir}/man1/xfig.1x.gz
%changelog
++++++ xfig.3.2.3d-international-std-fonts.dif ++++++
--- /var/tmp/diff_new_pack.ps9qAl/_old 2009-12-16 10:56:31.000000000 +0100
+++ /var/tmp/diff_new_pack.ps9qAl/_new 2009-12-16 10:56:31.000000000 +0100
@@ -1,8 +1,7 @@
-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[
+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 @@
XtOffset(appresPtr, always_use_fontset), XtRBoolean, (caddr_t) & false},
{"fixedFontSet", "FontSet", XtRFontSet, sizeof(XFontSet),
XtOffset(appresPtr, fixed_fontset), XtRString,
@@ -47,3 +46,4 @@
{"fontSetSize", "FontSetSize", XtRInt, sizeof(int),
XtOffset(appresPtr, fontset_size), XtRImmediate, (caddr_t)0 },
{"inputStyle", "InputStyle", XtRString, sizeof(char *),
+
++++++ xfig.3.2.5b.dif ++++++
--- Fig.ad
+++ Fig.ad 2009-12-14 11:42:24.307429001 +0000
@@ -15,6 +15,8 @@ Fig.version: 3.2.5b
Fig*AllowShellResize: false
+Fig.inches: false
+
! Image editor - can edit imported image
Fig.image_editor: xv
@@ -25,7 +27,7 @@ Fig.ghostscript: gs
! 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: /usr/X11R6/lib/X11/xfig/browser %f
! pdfviewer - put your favorite pdf viewer here.
! This is for viewing the xfig how-to guide and man pages
@@ -643,6 +645,12 @@ Fig*MenuButton*background: gray83
! in the color editor popup
Fig*mixedEdit.background: gray83
+Fig*mode_panel.background: gray67
+Fig*mode_panel*topShadow:: white
+Fig*mode_panel*bottomShadow: gray17
+Fig*mode_panel*topShadowPixel: white
+Fig*mode_panel*bottomShadowPixel: gray17
+
Fig*cancel.background: gray88
Fig*dismiss.background: gray88
Fig*commands*background: gray88
@@ -650,14 +658,36 @@ Fig*horizontal.background: gray88
! ruler colors
-Fig*topruler.background: gray95
-Fig*sideruler.background: gray95
+Fig*topruler.background: gray95
+Fig*sideruler.background: gray95
! file panel and scrollbar
Fig*FigList*background: gray95
Fig*List*background: gray95
-Fig*Scrollbar.background: gray80
+Fig*Scrollbar.background: gray77
+
+Fig*Scrollbar.foreground: gray37
+Fig*ScrollbarBackground: gray67
+Fig*ScrollbarForeground: gray37
+
+Fig*horizontal.shadowWidth: 2
+Fig*horizontal.topShadowPixel: gray95
+Fig*horizontal.bottomShadowPixel: gray37
+Fig*horizontal.topShadow: gray95
+Fig*horizontal.bottomShadow: gray37
+
+Fig*Scrollbar.shadowWidth: 2
+Fig*Scrollbar.topShadow: gray95
+Fig*Scrollbar.bottomShadow: gray37
+Fig*Scrollbar.topShadowPixel: gray95
+Fig*Scrollbar.bottomShadowPixel: gray37
+
+Fig*stdColor.shadowWidth: 2
+Fig*stdColor.topShadow: gray95
+Fig*stdColor.bottomShadow: gray37
+Fig*stdColor.topShadowPixel: gray95
+Fig*stdColor.bottomShadowPixel: gray37
Fig*Label.background: gray80
Fig*ind_box.background: gray80
--- Imakefile
+++ Imakefile 2009-12-14 11:46:44.459929609 +0000
@@ -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.
-XCOMM #define XAW3D1_5E
+#define XAW3D1_5E
#ifdef XAW3D1_5E
DUSEXAW3D = -DXAW3D -DXAW3D1_5E
@@ -76,7 +76,7 @@ XCOMM Redefine the following if your PNG
XCOMM are in different places
PNGLIBDIR = $(USRLIBDIR)
-PNGINC = -I/usr/local/include
+PNGINC = -I/usr/include
ZLIBDIR = $(USRLIBDIR)
XCOMM If don't want JPEG support, comment out the #define USEJPEG line
@@ -96,8 +96,8 @@ XCOMM You must have version 5b or newer
#ifdef USEJPEG
#ifdef USEINSTALLEDJPEG
- JPEGLIBDIR = /usr/local/lib
- JPEGINC = -I/usr/include/X11
+ JPEGLIBDIR = /usr/lib
+ JPEGINC = -I/usr/include
#else
JPEGLIBDIR = ../jpeg
JPEGINC = -I$(JPEGLIBDIR)
@@ -119,8 +119,8 @@ XCOMM Change XPMINC if necessary to poin
#define USEXPM_ICON
#ifdef USEXPM
-XPMLIBDIR = /usr/local/lib
-XPMINC = -I/usr/local/include/X11
+XPMLIBDIR = $(USRLIBDIR)
+XPMINC = -I$(USRLIBDIR)
#endif
XCOMM Uncomment the following definiton if you want to use the small icons
@@ -161,7 +161,7 @@ XCOMM uncomment the following line if yo
XCOMM inline functions. With the "INLINE" keyword, you should notice that
XCOMM the display will be a bit faster in complex figures
-XCOMM USEINLINE = -DUSE_INLINE
+USEINLINE = -DUSE_INLINE
XCOMM use (and change) the following if you want the multi-key data base file
XCOMM somewhere other than the standard X11 library directory
@@ -169,16 +169,19 @@ 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
+XCOMM XFIGLIBDIR = $(LIBDIR)/xfig
+XFIGLIBDIR = _DATA/xfig
XCOMM XFIGDOCDIR tells where the html and pdf documentation should go
XCOMM XFIGDOCDIR = $(DOCDIR)/xfig
-XFIGDOCDIR = /usr/local/xfig/doc
+XCOMM XFIGDOCDIR = /usr/local/xfig/doc
+XFIGDOCDIR = /usr/share/doc/packages/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)
+XCOMM MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
XCOMM MANDIR = /usr/local/xfig/man
+MANDIR = /usr/share/man/man1
XCOMM If your system doesn't have strstr undefine the following definition
XCOMM HAVE_NO_NOSTRSTR = -DNOSTRSTR
@@ -208,7 +211,7 @@ XCOMM instead.
XCOMM Add `-DCACHE_SIZE_LIMIT=xxxx' where xxxx is the cache size in kilobytes.
XCOMM A cache size of zero turns caching off.
-CACHE = -DCACHE_BITMAPS -DCACHE_SIZE_LIMIT=300
+CACHE = -DCACHE_BITMAPS -DCACHE_SIZE_LIMIT=512 -DMAXNUMPTS=50000 -DBSDLPR
XCOMM For SYSV systems with BSD-style printer command which use lpr instead of
XCOMM lp (SGI is one such machine), add -DBSDLPR to the DEFINES variable
@@ -222,6 +225,7 @@ XCOMM number of vertices.
XCOMM If you want a compiler other than "cc", define it here
XCOMM CC = /opt/SUNWspro/bin/cc
+CC = gcc
XCOMM Shorten unnecessary dependencies:
XCOMM #define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB)
@@ -251,7 +255,7 @@ DEPLIBJPEG = $(JPEGLIBDIR)/libjpeg.a
#endif /* USEJPEG */
#ifdef I18N
-I18N_DEFS = -DI18N -DSETLOCALE
+I18N_DEFS = -DI18N
I18N_SRC = w_i18n.c
I18N_OBJ = w_i18n.o
#endif
--- fig.h
+++ fig.h 2006-07-31 15:56:25.000000000 +0000
@@ -29,6 +29,7 @@ extern char *my_strdup(char *str);
#endif
#include