From ed4f3c9bb0766cffe6a61067861e1ed2864aefd49c20f0d6c2ba0ec5cb8f99ef Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 29 Oct 2019 11:15:09 +0000 Subject: [PATCH] Update to xfig-3.2.7b OBS-URL: https://build.opensuse.org/package/show/graphics/xfig?expand=0&rev=69 --- xfig-3.2.7a.tar.xz | 3 --- xfig-3.2.7b.tar.xz | 3 +++ xfig.3.2.3d-international-std-fonts.dif | 2 +- xfig.3.2.5-xim.dif | 2 +- xfig.3.2.5b-locale.dif | 8 ++++---- xfig.3.2.5b-null.dif | 4 ++-- xfig.3.2.5b-pspdftex.dif | 2 +- xfig.changes | 19 +++++++++++++++++++ xfig.spec | 6 +++--- 9 files changed, 34 insertions(+), 15 deletions(-) delete mode 100644 xfig-3.2.7a.tar.xz create mode 100644 xfig-3.2.7b.tar.xz diff --git a/xfig-3.2.7a.tar.xz b/xfig-3.2.7a.tar.xz deleted file mode 100644 index 8aef1b4..0000000 --- a/xfig-3.2.7a.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:32831801fdfe54b32f1e222db12676312ee98acac76c79be91bd424ec9512507 -size 5067004 diff --git a/xfig-3.2.7b.tar.xz b/xfig-3.2.7b.tar.xz new file mode 100644 index 0000000..7cb03ab --- /dev/null +++ b/xfig-3.2.7b.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e25b7d2c2750bbcb1a0882130dc9f4a407d69873e07f8832de7965c5fdad0e65 +size 5073716 diff --git a/xfig.3.2.3d-international-std-fonts.dif b/xfig.3.2.3d-international-std-fonts.dif index dc79b10..a85fe2b 100644 --- a/xfig.3.2.3d-international-std-fonts.dif +++ b/xfig.3.2.3d-international-std-fonts.dif @@ -1,6 +1,6 @@ --- src/main.c +++ src/main.c 2013-12-10 13:40:27.062735528 +0000 -@@ -328,8 +328,36 @@ static XtResource application_resources[ +@@ -329,8 +329,36 @@ static XtResource application_resources[ XtOffset(appresPtr, always_use_fontset), XtRBoolean, (caddr_t) & false}, {"fixedFontSet", "FontSet", XtRFontSet, sizeof(XFontSet), XtOffset(appresPtr, fixed_fontset), XtRString, diff --git a/xfig.3.2.5-xim.dif b/xfig.3.2.5-xim.dif index 3460044..fd492ef 100644 --- a/xfig.3.2.5-xim.dif +++ b/xfig.3.2.5-xim.dif @@ -4,7 +4,7 @@ --- src/d_text.c +++ src/d_text.c 2016-09-22 08:46:29.848945840 +0000 -@@ -1968,7 +1968,10 @@ xim_initialize(Widget w) +@@ -1971,7 +1971,10 @@ xim_initialize(Widget w) if (xim_style == 0) xim_style = style_root; } } diff --git a/xfig.3.2.5b-locale.dif b/xfig.3.2.5b-locale.dif index a47bb68..08cec2e 100644 --- a/xfig.3.2.5b-locale.dif +++ b/xfig.3.2.5b-locale.dif @@ -5,7 +5,7 @@ --- src/main.c +++ src/main.c 2018-09-06 11:16:21.842867881 +0000 -@@ -59,11 +59,13 @@ +@@ -60,11 +60,13 @@ /* input extensions for an input tablet */ #ifdef USE_TAB @@ -20,7 +20,7 @@ #endif /* I18N */ #include -@@ -781,11 +783,6 @@ void main(int argc, char **argv) +@@ -782,11 +784,6 @@ void main(int argc, char **argv) } } @@ -32,7 +32,7 @@ /* * save the command line arguments */ -@@ -890,6 +887,10 @@ void main(int argc, char **argv) +@@ -891,6 +888,10 @@ void main(int argc, char **argv) setup_icons_big(); #ifdef I18N @@ -43,7 +43,7 @@ /************************************************************/ /* if the international option has been set, set the locale */ /************************************************************/ -@@ -1612,6 +1613,11 @@ setup_visual(int *argc_p, char **argv, A +@@ -1611,6 +1612,11 @@ setup_visual(int *argc_p, char **argv, A */ tool = XtAppInitialize (&tool_app, "Fig", options, XtNumber (options), argc_p, argv, (String *) NULL, args, 0); diff --git a/xfig.3.2.5b-null.dif b/xfig.3.2.5b-null.dif index 547b953..01bfe7e 100644 --- a/xfig.3.2.5b-null.dif +++ b/xfig.3.2.5b-null.dif @@ -6,7 +6,7 @@ --- src/w_dir.c +++ src/w_dir.c 2016-09-22 08:47:20.164004194 +0000 -@@ -127,6 +127,8 @@ FileSelected(Widget w, XtPointer client_ +@@ -130,6 +130,8 @@ FileSelected(Widget w, XtPointer client_ { XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data; @@ -15,7 +15,7 @@ strcpy(CurrentSelectionName, ret_struct->string); FirstArg(XtNstring, CurrentSelectionName); if (browse_up) { -@@ -158,6 +160,8 @@ DirSelected(Widget w, XtPointer client_d +@@ -161,6 +163,8 @@ DirSelected(Widget w, XtPointer client_d { XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data; diff --git a/xfig.3.2.5b-pspdftex.dif b/xfig.3.2.5b-pspdftex.dif index aec5ea4..eb26269 100644 --- a/xfig.3.2.5b-pspdftex.dif +++ b/xfig.3.2.5b-pspdftex.dif @@ -13,7 +13,7 @@ /* make it suitable for pdftex. */ strsub(prcmd, "ps", "pdf", tmpcmd, 0); -@@ -694,7 +694,7 @@ build_layer_list(char *layers) +@@ -697,7 +697,7 @@ build_layer_list(char *layers) { char list[PATH_MAX], notlist[PATH_MAX], num[10]; int layer, len, notlen; diff --git a/xfig.changes b/xfig.changes index 36bf7f3..33a7ad9 100644 --- a/xfig.changes +++ b/xfig.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Oct 29 08:56:06 UTC 2019 - Dr. Werner Fink + +- Update to xfig 3.2.7 Patchlevel 7b (Oct 2019) + o New drawings in Electronic/Schematic library. Thanks to Niko Sauer. + Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#. + o When exiting, cleanly pull down all windows. Ticket #54. + o Adding and deleting arrows to arcs works, ticket #46. + o Allow more than 100 comment lines, ticket #47. + o Make `xfig -update' work again, would segfault. + o Correctly draw interpolated splines, ticket #35. + o Position points on grid, if appres.userspacing unequal 1. Ticket #31. +- Correct hunk offsets of the patches + * xfig.3.2.3d-international-std-fonts.dif + * xfig.3.2.5-xim.dif + * xfig.3.2.5b-locale.dif + * xfig.3.2.5b-null.dif + * xfig.3.2.5b-pspdftex.dif + ------------------------------------------------------------------- Mon Sep 10 10:31:03 UTC 2018 - sndirsch@suse.com diff --git a/xfig.spec b/xfig.spec index a39a878..7627455 100644 --- a/xfig.spec +++ b/xfig.spec @@ -1,7 +1,7 @@ # # spec file for package xfig # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -44,7 +44,7 @@ Requires: netpbm Requires: transfig Requires: xorg-x11-fonts Requires: xorg-x11-fonts-core -Version: 3.2.7a +Version: 3.2.7b Release: 0 Summary: Facility for Interactive Generation of Figures under the X Window System # www.xfig.org is dead