Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xfig for openSUSE:Factory checked in at 2023-09-20 13:30:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xfig (Old) and /work/SRC/openSUSE:Factory/.xfig.new.16627 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xfig" Wed Sep 20 13:30:20 2023 rev:54 rq:1112310 version:3.2.9 Changes: -------- --- /work/SRC/openSUSE:Factory/xfig/xfig.changes 2021-09-27 20:09:23.806494392 +0200 +++ /work/SRC/openSUSE:Factory/.xfig.new.16627/xfig.changes 2023-09-20 13:33:52.156704531 +0200 @@ -1,0 +2,29 @@ +Thu Sep 14 07:30:23 UTC 2023 - Dr. Werner Fink <wer...@suse.de> + +- Update to xfig 3.2.9 + o Text objects are rendered using the xft library, querying fontconfig. + o Relative, not absolute paths to embedded picture files are written + to .fig files. This makes it easier to move and share .fig files. + o Fig files are saved as utf-8 encoded unicode and all bytes, except + backslash, are printed as is. Backslashes are escaped by a second + backslash. The second line of generated fig files is exactly + "#encoding: UTF-8". + Previously, bytes with a value larger than expressable with 7 bits + were printed as backslash-escaped three-digit octal value. + o Remove application resources save8bit, latinKeyboard, scaleablefonts, + fig2devLocalizeOption, encoding, eucEncoding, localeEncoding. + Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#. + o Compounds keep their their size after editing or updating, ticket #51. + o Avoid crashing for large scaling, e.g., xfig -userscale 100, #144. + o Fix crashing when embedding a pdf as the first picture, ticket #143. +- Remove obsolete patch xfig.3.2.5-urw-fonts.dif +- Add patch xfig-3.2.9-dingbats.dif to better support Symbol and Dingbats + fonts as otherwise no glyphs will be seen +- Port the patches + * xfig-3.2.6.dif + * xfig.3.2.3d-international-std-fonts.dif + * xfig.3.2.5b-fixes.dif + * xfig.3.2.5b-locale.dif + * xfig.3.2.5b-null.dif + +------------------------------------------------------------------- Old: ---- xfig-3.2.8a.tar.xz xfig.3.2.5-urw-fonts.dif New: ---- xfig-3.2.9-dingbats.dif xfig-3.2.9.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xfig.spec ++++++ --- /var/tmp/diff_new_pack.kAfCy4/_old 2023-09-20 13:33:53.652758128 +0200 +++ /var/tmp/diff_new_pack.kAfCy4/_new 2023-09-20 13:33:53.652758128 +0200 @@ -1,7 +1,7 @@ # # spec file for package xfig # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: xfig -Version: 3.2.8a +Version: 3.2.9 Release: 0 Summary: Facility for Interactive Generation of Figures under the X Window System License: MIT @@ -29,13 +29,13 @@ # tar -f xfig-3.2.8a.tar --delete xfig-3.2.8a/Libraries/Examples/aircraft.fig # <compress> xfig-3.2.8a.tar # -#Source: http://sourceforge.net/projects/mcj/files/xfig-%{version}.tar.xz/download#/xfig-%{version}.tar.xz +#Source: https://sourceforge.net/projects/mcj/files/xfig-%{version}.tar.xz/download#/xfig-%{version}.tar.xz Source: xfig-%{version}.tar.xz Source1: font-test.fig Source3: xfig.sh Source4: xfig.desktop Patch0: xfig-3.2.6.dif -Patch1: xfig.3.2.5-urw-fonts.dif +Patch1: xfig-3.2.9-dingbats.dif Patch3: xfig.3.2.3d-international-std-fonts.dif # PATCH-FIX-UPSTREAM xfig.3.2.5b-mediaboxrealnb.dif [debian#530898] Patch5: xfig.3.2.5b-null.dif @@ -50,24 +50,21 @@ BuildRequires: netpbm BuildRequires: pkgconfig BuildRequires: update-desktop-files -%if 0%{?suse_version} > 1310 +BuildRequires: pkgconfig(fontconfig) +BuildRequires: pkgconfig(ijs) +BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xaw3d) BuildRequires: pkgconfig(xaw6) +BuildRequires: pkgconfig(xft) +BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xmu) BuildRequires: pkgconfig(xpm) BuildRequires: pkgconfig(xt) -%else -BuildRequires: xaw3d-devel -BuildRequires: xorg-x11-devel -BuildRequires: xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%endif Requires: efont-unicode +Requires: fontconfig Requires: ghostscript-fonts-std Requires: ifnteuro -Requires: mkfontdir -Requires: mkfontscale Requires: netpbm Requires: transfig Requires: xorg-x11-fonts @@ -98,7 +95,7 @@ done set -x %patch0 -%patch1 -b .urw-fonts +%patch1 -b .dingbats %patch3 -b .international-std-fonts %patch5 -b .null %patch6 -b .locale @@ -107,34 +104,15 @@ test ! -e Libraries/Examples/aircraft.fig || { echo forbidden file found 1>&2; exit 1; } %build -%if 0%{?suse_version} <= 1310 -cat > xaw3d.pc <<-'EOF' - prefix=%{_prefix} - exec_prefix=%{_prefix} - libdir=%{_prefix}/lib - includedir=%{_includedir} -Name: Xaw3d - Description: X 3D Athena Widgets Library -Version: 1.5E -Requires: xmu -Requires: xproto -Requires: xt - Requires.private: x11 xext - Cflags: -I${includedir} -DXAW_INTERNATIONALIZATION -DXAW_MULTIPLANE_PIXMAPS -DXAW_GRAY_BLKWHT_STIPPLES -DXAW_ARROW_SCROLLBARS - Libs: -L${libdir} -lXaw3d -EOF -PKG_CONFIG_PATH=%{_datadir}/pkgconfig:%{_prefix}/lib/pkgconfig:${PWD} -export PKG_CONFIG_PATH -%endif CC=gcc -CFLAGS="%{optflags} -fno-strict-aliasing -w -D_GNU_SOURCE -std=gnu99 -DUSE_XPM -DUSE_SPLASH" -CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DMAXNUMPTS=50000 -DBSDLPR -DGSBIT" +CFLAGS="%{optflags} -w -D_GNU_SOURCE -std=gnu99 -DUSE_XPM -DUSE_SPLASH" +CFLAGS="$CFLAGS $(getconf LFS_CFLAGS) -DMAXNUMPTS=50000" export CC CFLAGS chmod +x configure %configure \ --docdir=%{_defaultdocdir}/%{name} \ - --enable-cache-size=512 \ --enable-tablet \ + --enable-splash \ --with-x \ --with-xaw3d1_5e \ --with-xaw3d ++++++ xfig-3.2.6.dif ++++++ --- /var/tmp/diff_new_pack.kAfCy4/_old 2023-09-20 13:33:53.680759131 +0200 +++ /var/tmp/diff_new_pack.kAfCy4/_new 2023-09-20 13:33:53.680759131 +0200 @@ -1,37 +1,32 @@ --- - app-defaults/Fig | 32 ++++++++++++++++++++++++++++++-- - src/w_menuentry.c | 2 +- - 2 files changed, 31 insertions(+), 3 deletions(-) + app-defaults/Fig | 30 ++++++++++++++++++++++++++++-- + 1 file changed, 28 insertions(+), 2 deletions(-) -Index: app-defaults/Fig.in -=================================================================== ---- app-defaults/Fig.in.orig -+++ app-defaults/Fig.in -@@ -14,6 +14,7 @@ Fig.version: @VERSION@ +--- app-defaults/Fig ++++ app-defaults/Fig 2023-09-13 09:21:18.377983211 +0000 +@@ -15,6 +15,7 @@ + ! The following fixes a problem that some window managers have ! with xfig continually resizing itself - - Fig*AllowShellResize: false -+Fig.inches: false + Fig*AllowShellResize: False ++Fig.inches: False ! Image editor - can edit imported image Fig.image_editor: xdg-open -@@ -167,8 +168,13 @@ Fig.internalborderwidth: 1 +@@ -166,8 +167,11 @@ Fig*canvas.shadowWidth: 0 - !if on monochrome server, or no Fig-color app-defaults file - ! This background resource shows between the buttons like a border -- Fig*mode_panel.background: black -+ Fig*mode_panel.background: gray67 - Fig*mode_panel.foreground: black -+ Fig*mode_panel*topShadow: white -+ Fig*mode_panel*bottomShadow: gray17 -+ Fig*mode_panel*topShadowPixel: white -+ Fig*mode_panel*bottomShadowPixel: gray17 -+ + ! If on monochrome server, or no Fig-color app-defaults file + ! This background resource shows between the buttons like a border +-Fig*mode_panel.background: black ++Fig*mode_panel.background: gray67 + Fig*mode_panel.foreground: black ++Fig*mode_panel*topShadow: white ++Fig*mode_panel*topShadowPixel: white ++Fig*mode_panel*bottomShadowPixel: gray17 ! Specify a private Compose key database file. If this resource contains a "/" - ! then the wired-in name of the xfig global directory won't be prefixed to it. -@@ -663,7 +669,29 @@ Fig*sideruler.background: gray95 - + ! then the wired-in name of the xfig global directory will not be prefixed +@@ -638,7 +642,29 @@ Fig*sideruler.background: gray95 + ! file panel and scrollbar Fig*FigList*background: gray95 Fig*List*background: gray95 -Fig*Scrollbar.background: gray80 ++++++ xfig-3.2.9-dingbats.dif ++++++ ++++ 620 lines (skipped) ++++++ xfig-3.2.8a.tar.xz -> xfig-3.2.9.tar.xz ++++++ ++++ 64208 lines of diff (skipped) ++++++ xfig.3.2.3d-international-std-fonts.dif ++++++ --- /var/tmp/diff_new_pack.kAfCy4/_old 2023-09-20 13:33:55.184813015 +0200 +++ /var/tmp/diff_new_pack.kAfCy4/_new 2023-09-20 13:33:55.188813158 +0200 @@ -1,7 +1,11 @@ +--- + src/main.c | 32 ++++++++++++++++++++++++++++++-- + 1 file changed, 30 insertions(+), 2 deletions(-) + --- src/main.c -+++ src/main.c 2013-12-10 13:40:27.062735528 +0000 -@@ -378,8 +378,36 @@ static XtResource application_resources[ - XtOffset(appresPtr, always_use_fontset), XtRBoolean, (caddr_t) & false}, ++++ src/main.c 2023-09-13 09:37:09.600980464 +0000 +@@ -366,8 +366,36 @@ static XtResource application_resources[ + XtOffset(appresPtr, font_menu_language), XtRString, (caddr_t) ""}, {"fixedFontSet", "FontSet", XtRFontSet, sizeof(XFontSet), XtOffset(appresPtr, fixed_fontset), XtRString, - (caddr_t) "-*-times-medium-r-normal--16-*-*-*-*-*-*-*," ++++++ xfig.3.2.5b-fixes.dif ++++++ --- /var/tmp/diff_new_pack.kAfCy4/_old 2023-09-20 13:33:55.200813588 +0200 +++ /var/tmp/diff_new_pack.kAfCy4/_new 2023-09-20 13:33:55.204813731 +0200 @@ -4,7 +4,7 @@ --- src/w_layers.c +++ src/w_layers.c 2016-09-22 08:45:38.381908911 +0000 -@@ -118,9 +118,27 @@ init_depth_panel(Widget parent) +@@ -128,9 +128,27 @@ init_depth_panel(Widget parent) { Widget label, below; Widget layer_viewform; @@ -34,7 +34,7 @@ /* main form to hold all the layer stuff */ -@@ -366,11 +384,18 @@ void +@@ -385,11 +403,18 @@ void setup_depth_panel(void) { Dimension ind_ht, snap_ht=0; ++++++ xfig.3.2.5b-locale.dif ++++++ --- /var/tmp/diff_new_pack.kAfCy4/_old 2023-09-20 13:33:55.216814161 +0200 +++ /var/tmp/diff_new_pack.kAfCy4/_new 2023-09-20 13:33:55.216814161 +0200 @@ -1,66 +1,46 @@ --- - src/main.c | 18 ++++++++++++------ - src/u_print.c | 1 + - 2 files changed, 13 insertions(+), 6 deletions(-) + src/main.c | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) -Index: src/main.c -=================================================================== ---- src/main.c.orig -+++ src/main.c -@@ -44,6 +44,8 @@ - #include <X11/xpm.h> - #ifdef I18N - #include <X11/keysym.h> -+#include <locale.h> +--- src/main.c ++++ src/main.c 2023-09-13 10:32:19.633436763 +0000 +@@ -23,6 +23,7 @@ + + #include <errno.h> + #include <locale.h> +#include <langinfo.h> - #endif - #ifdef USE_TAB /* input extensions for an input tablet */ - #include <X11/extensions/XInput.h> -@@ -818,11 +820,6 @@ main(int argc, char **argv) + #include <signal.h> + #include <stdio.h> + #include <stdlib.h> +@@ -805,9 +806,6 @@ main(int argc, char **argv) + } } - } --#ifdef I18N -- setlocale(LC_ALL, ""); -- XtSetLanguageProc(NULL, NULL, NULL); --#endif /* I18N */ +- setlocale(LC_ALL, ""); +- XtSetLanguageProc(NULL, NULL, NULL); - - /* - * save the command line arguments - */ -@@ -924,6 +921,10 @@ main(int argc, char **argv) + /* + * save the command line arguments + */ +@@ -914,6 +912,10 @@ main(int argc, char **argv) + else setup_icons_big(); - #ifdef I18N -+ if (NULL == strcasestr(nl_langinfo(CODESET),"ANSI") && -+ NULL == strcasestr(nl_langinfo(CODESET),"ISO-8859-")) -+ appres.international = True; ++ if (NULL == strcasestr(nl_langinfo(CODESET),"ANSI") && ++ NULL == strcasestr(nl_langinfo(CODESET),"ISO-8859-")) ++ appres.international = True; + - /************************************************************/ - /* if the international option has been set, set the locale */ - /************************************************************/ -@@ -1644,6 +1645,11 @@ setup_visual(int *argc_p, char **argv, A + /*************************************************/ + /* indicate if the international option is unset */ + /*************************************************/ +@@ -1663,6 +1665,9 @@ setup_visual(int *argc_p, char **argv, A */ - tool = XtAppInitialize (&tool_app, "Fig", options, XtNumber (options), argc_p, argv, - (String *) NULL, args, 0); -+#ifdef I18N + tool = XtAppInitialize (&tool_app, "Fig", options, XtNumber (options), + argc_p, argv, fallback_resources, args, 0); + setlocale(LC_ALL, ""); -+ setlocale(LC_NUMERIC, "C"); + XtSetLanguageProc(tool_app, NULL, NULL); -+#endif /* I18N */ ++ /* save important info */ tool_d = XtDisplay(tool); tool_s = XtScreen(tool); -Index: src/u_print.c -=================================================================== ---- src/u_print.c.orig -+++ src/u_print.c -@@ -16,6 +16,7 @@ - * - */ - -+#include <locale.h> - #include "fig.h" - #include "resources.h" - #include "object.h" ++++++ xfig.3.2.5b-null.dif ++++++ --- /var/tmp/diff_new_pack.kAfCy4/_old 2023-09-20 13:33:55.228814591 +0200 +++ /var/tmp/diff_new_pack.kAfCy4/_new 2023-09-20 13:33:55.232814735 +0200 @@ -5,9 +5,9 @@ 3 files changed, 9 insertions(+) --- src/w_dir.c -+++ src/w_dir.c 2016-09-22 08:47:20.164004194 +0000 -@@ -130,6 +130,8 @@ FileSelected(Widget w, XtPointer client_ - { ++++ src/w_dir.c 2023-09-13 09:39:27.454515496 +0000 +@@ -151,6 +151,8 @@ FileSelected(Widget w, XtPointer client_ + XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data; + if (!ret_struct) @@ -15,8 +15,8 @@ strcpy(CurrentSelectionName, ret_struct->string); FirstArg(XtNstring, CurrentSelectionName); if (browse_up) { -@@ -161,6 +163,8 @@ DirSelected(Widget w, XtPointer client_d - { +@@ -185,6 +187,8 @@ DirSelected(Widget w, XtPointer client_d + XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data; + if (!ret_struct) @@ -25,8 +25,8 @@ DoChangeDir(CurrentSelectionName); } --- src/w_library.c -+++ src/w_library.c 2016-09-22 08:47:20.164004194 +0000 -@@ -476,6 +476,8 @@ NewObjectSel(Widget w, XtPointer closure ++++ src/w_library.c 2023-09-13 09:38:05.523980529 +0000 +@@ -514,6 +514,8 @@ NewObjectSel(Widget w, XtPointer closure int new_obj; XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data; @@ -36,9 +36,9 @@ if (icons_made) { /* unhighlight the current view icon */ --- src/w_srchrepl.c -+++ src/w_srchrepl.c 2016-09-22 08:47:20.164004194 +0000 -@@ -883,6 +883,9 @@ spell_select_word(Widget widget, XtPoint - { ++++ src/w_srchrepl.c 2023-09-13 09:40:26.341462455 +0000 +@@ -918,6 +918,9 @@ spell_select_word(Widget widget, XtPoint + (void)widget; (void)closure; XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data; + if (!ret_struct)