diff --git a/xfig-3.2.6.tar.xz b/xfig-3.2.6.tar.xz deleted file mode 100644 index 404e1b9..0000000 --- a/xfig-3.2.6.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dfb7b746d2e8f09708c147667a6722cd05c0865abb65b87cb9cde4c719e6e2a2 -size 5063676 diff --git a/xfig-3.2.6a.tar.xz b/xfig-3.2.6a.tar.xz new file mode 100644 index 0000000..52f75dc --- /dev/null +++ b/xfig-3.2.6a.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:867ced1506537f1ef15f62f89d109bc3ecdcab466bd087f8d9205248a4ba2720 +size 5040284 diff --git a/xfig.3.2.5-urw-fonts.dif b/xfig.3.2.5-urw-fonts.dif index d097319..a655522 100644 --- a/xfig.3.2.5-urw-fonts.dif +++ b/xfig.3.2.5-urw-fonts.dif @@ -1,5 +1,11 @@ +--- + src/u_fonts.c | 42 +++++++++++++++++++++++++++++++++++++++++- + src/u_fonts.h | 2 ++ + src/w_drawprim.c | 16 ++++++++++++++++ + 3 files changed, 59 insertions(+), 1 deletion(-) + --- src/u_fonts.c -+++ src/u_fonts.c 2005-10-06 18:55:22.000000000 +0200 ++++ src/u_fonts.c 2017-02-02 13:38:18.519009382 +0000 @@ -21,7 +21,9 @@ /* X11 font names */ @@ -57,7 +63,7 @@ * These come with the Open Group X distribution so they should be a common set. * --- src/u_fonts.h -+++ src/u_fonts.h 2013-12-10 13:33:06.818235791 +0000 ++++ src/u_fonts.h 2017-02-02 13:38:18.519009382 +0000 @@ -60,6 +60,8 @@ extern int psfontnum(char *font); extern int latexfontnum(char *font); @@ -68,8 +74,8 @@ extern struct _fstruct latex_fontinfo[]; --- src/w_drawprim.c -+++ src/w_drawprim.c 2005-10-06 19:12:02.000000000 +0200 -@@ -117,6 +117,22 @@ void init_font(void) ++++ src/w_drawprim.c 2017-02-02 13:38:18.519009382 +0000 +@@ -118,6 +118,22 @@ void init_font(void) appres.buttonFont, appres.normalFont); button_font = XLoadQueryFont(tool_d, appres.normalFont); } diff --git a/xfig.3.2.5b-locale.dif b/xfig.3.2.5b-locale.dif index f05a46f..3990e06 100644 --- a/xfig.3.2.5b-locale.dif +++ b/xfig.3.2.5b-locale.dif @@ -4,7 +4,7 @@ 2 files changed, 13 insertions(+), 6 deletions(-) --- src/main.c -+++ src/main.c 2016-09-22 08:48:13.826999752 +0000 ++++ src/main.c 2017-02-02 13:38:50.542387406 +0000 @@ -59,11 +59,13 @@ /* input extensions for an input tablet */ @@ -20,7 +20,7 @@ #endif /* I18N */ #include -@@ -784,11 +786,6 @@ void main(int argc, char **argv) +@@ -781,11 +783,6 @@ void main(int argc, char **argv) } } @@ -56,7 +56,7 @@ tool_d = XtDisplay(tool); tool_s = XtScreen(tool); --- src/u_print.c -+++ src/u_print.c 2016-09-22 08:48:13.826999752 +0000 ++++ src/u_print.c 2017-02-02 13:38:50.542387406 +0000 @@ -15,6 +15,7 @@ * */ diff --git a/xfig.changes b/xfig.changes index 26cbdbf..bc7deca 100644 --- a/xfig.changes +++ b/xfig.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Feb 2 13:40:36 UTC 2017 - werner@suse.de + +- Update to xfig 3.2.6 Patchlevel 6a (January 2017) + CHANGES: + o Draw lines with the same width as in PostScript and other outputs. + BUGS FIXED: + o Add compile-switch --enable-tablet for using an input tablet. + o Eventually, sorted out the xpm switches. Only use --enable-xpm-splash. + o Improve ./configure and add diagnostic output. Looks now for headers + and libraries in unusal places, for compilation under mac darwin when + using fink or macports. + ------------------------------------------------------------------- Sat Jan 14 01:58:36 CET 2017 - oliver@getspam.de diff --git a/xfig.spec b/xfig.spec index 417ceb5..d01a819 100644 --- a/xfig.spec +++ b/xfig.spec @@ -47,12 +47,12 @@ Requires: netpbm Requires: transfig Requires: xorg-x11-fonts Requires: xorg-x11-fonts-core -Version: 3.2.6 +Version: 3.2.6a Release: 0 Summary: Facility for Interactive Generation of Figures under the X Window System -# www.xfig.org is dead License: MIT Group: Productivity/Graphics/Vector Editors +# www.xfig.org is dead Url: http://mcj.sourceforge.net/ # # Remove forbidden files: aircraft.fig @@ -64,7 +64,8 @@ Source: xfig-%{version}.tar.xz Source1: font-test.fig Source3: xfig.sh Source4: xfig.desktop -Patch0: xfig-%{version}.dif +#Patch0: xfig-%{version}.dif +Patch0: xfig-3.2.6.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 @@ -160,6 +161,7 @@ chmod 755 configure --docdir=%{_defaultdocdir}/%{name} \ --enable-cache-size=512 \ --enable-xpm-splash \ + --enable-tablet \ --with-x \ --with-xaw3d1_5e \ --with-xaw3d