Hello community,

here is the log from the commit of package transfig for openSUSE:Factory 
checked in at 2019-11-03 10:51:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transfig (Old)
 and      /work/SRC/openSUSE:Factory/.transfig.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "transfig"

Sun Nov  3 10:51:41 2019 rev:41 rq:743820 version:3.2.7b

Changes:
--------
--- /work/SRC/openSUSE:Factory/transfig/transfig.changes        2019-08-19 
20:48:59.569077841 +0200
+++ /work/SRC/openSUSE:Factory/.transfig.new.2990/transfig.changes      
2019-11-03 10:51:42.718519430 +0100
@@ -1,0 +2,51 @@
+Tue Oct 29 11:07:12 UTC 2019 - Dr. Werner Fink <[email protected]>
+
+- Update to fig2dev version 3.2.7 (Patchlevel 7b (Oct 2019)
+  o A X color database is not needed, but can be provided. The location of
+    the database can be given at compile time, default /etc/X11/rgb.txt.
+  Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#.
+  Debian bug numbers refer to https://bugs.debian.org/#.
+  o Do not clip objects with line-thickness 0 having arrows. Ticket #53.
+  o Do not segfault on circle/half circle arrowheads with a magnification
+    larger 42. Always draw circle arrowheads with 40 points. Ticket #52.
+  o Allow circles or ellipses with negative radii. Ticket #49.
+  o Avoid "dimension too large error" with tikz output by avoiding
+    coordinate values smaller than -16383.
+  o Make tests (test1.c) work with -fsanitize=address compiler option.
+  o Obey join-style of lines in tikz output.
+  o Pass utf8-strings to svg output, escape some chars (<>&).
+  o Accept inclined boxes and change them to polygons. Fixes ticket #43.
+  o Make tests #27 and #33 work on Mac Darwin, failed due to whitespace
+    formatting differences. From Hanspeter Niederstrasser. Ticket #40.
+  o Use only latex, neither etex or tex, to test tikz output. Usage of
+    etex, after hint from Roland Rosenfeld, closed debian bug 920368.
+  o For tikz output, do not draw arrows on a single point line.
+  o Omit spurious showpage when including jpg-file. From Rainer Buchty.
+  o Correct a few memory leaks and corruptions. See commit d1c54f6.
+  o Change negative color numbers to default color. Fixes ticket #30.
+  o A spline with one point would cause segfault. Fixed, see ticket #29.
+  o Allow one char without newline in the last line of an input file.
+    Fixes ticket #28.
+  o Harden input, mainly against files in which an incomplete object would
+    be created and freeing the object would violate memory, i.e, it may
+    cause segfault. See, e.g., ticket #27.
+  o Properly initalize line storage when reading fig files version 1.3.
+    Would segfault when reading incomplete line and trying to free it.
+    Fixes ticket #26, debian bug 906743.
+  o Silently ignore the hundred-first and more comment lines. This
+    fixes ticket #25 and debian bug 906740.
+  o Use SetFigFont, not SetFigFontNFSS in pictex output. Fixes
+    https://bugs.launchpad.net/ubuntu/+source/transfig/+bug/1359485 .
+  o Accept blanks in color names (e.g., fig2dev -L eps -g"Misty Rose"..).
+  o Correct typos in man-pages, debian 30_man_typo.patch.
+- Remove patches now upstream
+  * fig2dev-3.2.6a-man-typo.patch
+  * transfig-03ea4578.patch
+  * transfig-e0c4b024.patch
+- Port patches to new version
+  * transfig-3.2.6.dif
+  * transfig-fix-afl.patch
+  * fig2dev-3.2.6-fig2mpdf.patch
+  * fig2dev-3.2.6a-RGBFILE.patch
+
+-------------------------------------------------------------------

Old:
----
  fig2dev-3.2.6a-man-typo.patch
  fig2dev-3.2.7a.tar.xz
  transfig-03ea4578.patch
  transfig-e0c4b024.patch

New:
----
  fig2dev-3.2.7b.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ transfig.spec ++++++
--- /var/tmp/diff_new_pack.jsMeqD/_old  2019-11-03 10:51:43.754520679 +0100
+++ /var/tmp/diff_new_pack.jsMeqD/_new  2019-11-03 10:51:43.758520684 +0100
@@ -45,7 +45,7 @@
 Requires:       ghostscript-library
 Requires:       netpbm
 Requires:       texlive-epstopdf
-Version:        3.2.7a
+Version:        3.2.7b
 Release:        0
 Summary:        Graphic Converter
 #Source:        
http://sourceforge.net/projects/mcj/files/fig2dev-%{version}.tar.xz/download#/fig2dev-%{version}.tar.xz
@@ -56,12 +56,9 @@
 Patch2:         transfig.3.2.5-binderman.dif
 Patch3:         transfig.3.2.5d-mediaboxrealnb.dif
 Patch4:         transfig-fix-afl.patch
-Patch5:         transfig-e0c4b024.patch
-Patch6:         transfig-03ea4578.patch
 Patch43:        fig2dev-3.2.6-fig2mpdf.patch
 Patch44:        fig2dev-3.2.6-fig2mpdf-doc.patch
 Patch45:        fig2dev-3.2.6a-RGBFILE.patch
-Patch46:        fig2dev-3.2.6a-man-typo.patch
 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"
@@ -102,12 +99,9 @@
 %patch2 -p0 -b .bm
 %patch3 -p0 -b .mbox
 %patch4 -p1 -b .afl
-%patch5 -p0 -b .e0c4b024
-%patch6 -p0 -b .03ea4578
 %patch43 -p2 -b .mpdf
 %patch44 -p1 -b .mpdfdoc
 %patch45 -p1 -b .p45
-%patch46 -p1 -b .p46
 
 %build
 CC=gcc

++++++ fig2dev-3.2.6-fig2mpdf.patch ++++++
--- /var/tmp/diff_new_pack.jsMeqD/_old  2019-11-03 10:51:43.790520723 +0100
+++ /var/tmp/diff_new_pack.jsMeqD/_new  2019-11-03 10:51:43.790520723 +0100
@@ -13,8 +13,8 @@
  man/fig2dev.1.in       |   69 +++++
  7 files changed, 1311 insertions(+), 2 deletions(-)
 
---- a/fig2dev-3.2.6a/fig2dev/dev/genpstex.c
-+++ b/fig2dev-3.2.6a/fig2dev/dev/genpstex.c    2018-05-07 10:01:03.485164209 
+0000
+--- a/fig2dev-3.2.7b/fig2dev/dev/genpstex.c
++++ b/fig2dev-3.2.7b/fig2dev/dev/genpstex.c
 @@ -48,9 +48,12 @@
  #include <string.h>
  #include <ctype.h>
@@ -337,7 +337,7 @@
  void
  genpstex_t_option(char opt, char *optarg)
  {
-@@ -132,6 +437,32 @@ genpstex_option(char opt, char *optarg)
+@@ -128,6 +433,32 @@ genpstex_option(char opt, char *optarg)
           genlatex_option(opt, optarg);
  }
  
@@ -370,9 +370,9 @@
  struct driver dev_pstex_t = {
        genpstex_t_option,
        genpstex_t_start,
---- a/fig2dev-3.2.6a/fig2dev/drivers.h
-+++ b/fig2dev-3.2.6a/fig2dev/drivers.h 2018-05-07 10:00:19.621980757 +0000
-@@ -33,8 +33,10 @@ extern struct driver dev_eps;
+--- a/fig2dev-3.2.7b/fig2dev/drivers.h
++++ b/fig2dev-3.2.7b/fig2dev/drivers.h
+@@ -36,8 +36,10 @@ extern struct driver dev_eps;
  extern struct driver dev_pdf;
  extern struct driver dev_pdftex;
  extern struct driver dev_pdftex_t;
@@ -383,7 +383,7 @@
  extern struct driver dev_pstricks;
  extern struct driver dev_textyl;
  extern struct driver dev_tk;
-@@ -78,6 +80,7 @@ struct {
+@@ -81,6 +83,7 @@ struct {
        {"pdf",         &dev_pdf},
        {"pdftex",      &dev_pdftex},
        {"pdftex_t",    &dev_pdftex_t},
@@ -391,7 +391,7 @@
        {"pic",         &dev_pic},
        {"pict2e",      &dev_pict2e},
        {"pictex",      &dev_pictex},
-@@ -86,6 +89,7 @@ struct {
+@@ -89,6 +92,7 @@ struct {
        {"ps",          &dev_ps},
        {"pstex",       &dev_pstex},
        {"pstex_t",     &dev_pstex_t},
@@ -399,9 +399,9 @@
        {"pstricks",    &dev_pstricks},
        {"ptk",         &dev_ptk},
        {"shape",       &dev_shape},
---- a/fig2dev-3.2.6a/fig2dev/fig2dev.c
-+++ b/fig2dev-3.2.6a/fig2dev/fig2dev.c 2018-05-07 10:00:19.621980757 +0000
-@@ -823,6 +823,23 @@ help_msg(void)
+--- a/fig2dev-3.2.7b/fig2dev/fig2dev.c
++++ b/fig2dev-3.2.7b/fig2dev/fig2dev.c
+@@ -821,6 +821,23 @@ help_msg(void)
                        );
                }
  
@@ -425,9 +425,9 @@
                if (dev == NULL || !strcmp(lang, "shape")) {
                        puts(
  "SHAPE (ShapePar driver) Options:\n"
-@@ -1008,6 +1025,12 @@ gendev_objects(F_compound *objects, stru
- 
- int rec_comp(struct obj_rec *r1, struct obj_rec *r2)
+@@ -968,6 +985,12 @@ static int compound_dump(F_compound *com
+ static int
+ rec_comp(struct obj_rec *r1, struct obj_rec *r2)
  {
 +      if (r2->depth == r1->depth)
 +      {
@@ -438,8 +438,8 @@
        return (r2->depth - r1->depth);
  }
  
---- a/fig2dev-3.2.6a/fig2mpdf/copyright.txt
-+++ b/fig2dev-3.2.6a/fig2mpdf/copyright.txt    2018-05-07 10:00:19.625980684 
+0000
+--- a/fig2dev-3.2.7b/fig2mpdf/copyright.txt
++++ b/fig2dev-3.2.7b/fig2mpdf/copyright.txt
 @@ -0,0 +1,25 @@
 +The following files contain copyright and license info for
 +the code they contain:
@@ -466,8 +466,8 @@
 +
 +    (Author's note: the license is in the file gpl.txt, which is included
 +     in the archive.)
---- a/fig2dev-3.2.6a/fig2mpdf/fig2mpdf.1
-+++ b/fig2dev-3.2.6a/fig2mpdf/fig2mpdf.1       2018-05-07 10:00:19.625980684 
+0000
+--- a/fig2dev-3.2.7b/fig2mpdf/fig2mpdf.1
++++ b/fig2dev-3.2.7b/fig2mpdf/fig2mpdf.1
 @@ -0,0 +1,208 @@
 +.TH fig2mpdf 1 "Jun 2006" "" "Including xfig figures into LaTeX documents"
 +.SH NAME
@@ -677,8 +677,8 @@
 +.IR pdflatex(1)
 +.IR latex(1)
 +.IR dvips(1)
---- a/fig2dev-3.2.6a/fig2mpdf/fig2mpdf
-+++ b/fig2dev-3.2.6a/fig2mpdf/fig2mpdf 2018-05-07 10:00:19.625980684 +0000
+--- a/fig2dev-3.2.7b/fig2mpdf/fig2mpdf
++++ b/fig2dev-3.2.7b/fig2mpdf/fig2mpdf
 @@ -0,0 +1,653 @@
 +#!/bin/sh
 +
@@ -1333,8 +1333,8 @@
 +}
 +' -- $*
 +
---- a/fig2dev-3.2.6a/man/fig2dev.1.in
-+++ b/fig2dev-3.2.6a/man/fig2dev.1.in  2018-05-07 10:15:07.453476364 +0000
+--- a/fig2dev-3.2.7b/man/fig2dev.1.in
++++ b/fig2dev-3.2.7b/man/fig2dev.1.in
 @@ -64,8 +64,8 @@ Set the output graphics language.
  Valid languages are
  \fBbox, cgm, dxf, epic, eepic, eepicemu, emf, eps, gbx (Gerber beta

++++++ fig2dev-3.2.6a-RGBFILE.patch ++++++
--- /var/tmp/diff_new_pack.jsMeqD/_old  2019-11-03 10:51:43.794520727 +0100
+++ /var/tmp/diff_new_pack.jsMeqD/_new  2019-11-03 10:51:43.794520727 +0100
@@ -3,23 +3,24 @@
  This allows one to run the test suite without the package being
  installed before.
 
+---
+ fig2dev/colors.c |    7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
 --- a/fig2dev/colors.c
-+++ b/fig2dev/colors.c
-@@ -110,10 +110,15 @@ read_colordb(void)
-     char              s[100], s1[100], *c1, *c2;
-     unsigned short    r,g,b;
-     struct color_db   *col;
-+    char              *rgbfile;
++++ b/fig2dev/colors.c 2019-10-29 11:03:32.206632962 +0000
+@@ -731,8 +731,13 @@ read_colordb(void)
+       FILE            *fp;
+ #define MAX_LINE      100
+       char            s[MAX_LINE], s1[MAX_LINE];
++      char            *rgbfile;
  
--    fp = fopen(RGB_FILE, "r");
-+    rgbfile = getenv("FIG2DEV_RGBFILE");
-+    if (rgbfile == NULL) {
-+      rgbfile = RGB_FILE;
-+    }
-+    fp = fopen(rgbfile, "r");
-     if (fp == NULL) {
--      fprintf(stderr,"Couldn't open the RGB database file '%s'\n", RGB_FILE);
-+      fprintf(stderr,"Couldn't open the RGB database file '%s'\n", rgbfile);
-       return -1;
-     }
-     if ((Xcolors = (struct color_db*) malloc(maxcolors*sizeof(struct 
color_db)))
+-      fp = fopen(RGB_FILE, "r");
++      rgbfile = getenv("FIG2DEV_RGBFILE");
++      if (rgbfile == NULL) {
++              rgbfile = RGB_FILE;
++      }
++      fp = fopen(rgbfile, "r");
+       if (fp == NULL) {
+               Xcolors = defaultXcolors;
+               numXcolors = sizeof(defaultXcolors) / sizeof(struct color_db);

++++++ fig2dev-3.2.7a.tar.xz -> fig2dev-3.2.7b.tar.xz ++++++
++++ 10307 lines of diff (skipped)

++++++ transfig-3.2.6.dif ++++++
--- /var/tmp/diff_new_pack.jsMeqD/_old  2019-11-03 10:51:44.014520993 +0100
+++ /var/tmp/diff_new_pack.jsMeqD/_new  2019-11-03 10:51:44.018520997 +0100
@@ -16,7 +16,7 @@
  #include "pi.h"
  
  #include "fig2dev.h"  /* includes "bool.h" */
-@@ -842,8 +843,9 @@ genps_start(F_compound *objects)
+@@ -844,8 +845,9 @@ genps_start(F_compound *objects)
                fprintf(tfp, "%s\n", SPLINE_PS);
  #ifdef I18N
        if (support_i18n && iso_text_exist(objects)) {
@@ -27,7 +27,7 @@
                FILE *fp;
                libdir = getenv("FIG2DEV_LIBDIR");
  #ifdef I18N_DATADIR
-@@ -851,18 +853,35 @@ genps_start(F_compound *objects)
+@@ -853,18 +855,35 @@ genps_start(F_compound *objects)
                        libdir = I18N_DATADIR;
  #endif
                locale = setlocale(LC_CTYPE, NULL);

++++++ transfig-fix-afl.patch ++++++
--- /var/tmp/diff_new_pack.jsMeqD/_old  2019-11-03 10:51:44.022521003 +0100
+++ /var/tmp/diff_new_pack.jsMeqD/_new  2019-11-03 10:51:44.026521007 +0100
@@ -1,12 +1,12 @@
 ---
- fig2dev-3.2.7a/fig2dev/alloc.h |   20 ++++++++++----------
+ fig2dev-3.2.7b/fig2dev/alloc.h |   20 ++++++++++----------
  1 file changed, 10 insertions(+), 10 deletions(-)
 
---- fig2dev-3.2.7a/fig2dev/alloc.h
-+++ fig2dev-3.2.7a/fig2dev/alloc.h     2018-05-07 08:49:32.048501663 +0000
-@@ -16,15 +16,15 @@
-  *
-  */
+--- fig2dev-3.2.7b/fig2dev/alloc.h
++++ fig2dev-3.2.7b/fig2dev/alloc.h     2019-10-29 10:49:00.939061663 +0000
+@@ -19,16 +19,16 @@
+ #ifndef ALLOC_H
+ #define ALLOC_H
  
 -#define               Line_malloc(z)          z = malloc(LINOBJ_SIZE)
 -#define               Pic_malloc(z)           z = malloc(PIC_SIZE)
@@ -30,3 +30,4 @@
 +#define               Arrow_malloc(z)         z = calloc(ARROW_SIZE,1)
  
  extern char   Err_mem[];
+ 


Reply via email to