Hello community,

here is the log from the commit of package xfig for openSUSE:Factory checked in 
at 2013-12-11 16:25:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xfig (Old)
 and      /work/SRC/openSUSE:Factory/.xfig.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xfig"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xfig/xfig.changes        2013-02-12 
16:46:42.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.xfig.new/xfig.changes   2013-12-11 
16:25:01.000000000 +0100
@@ -1,0 +2,13 @@
+Tue Dec 10 14:06:39 UTC 2013 - [email protected]
+
+- Update underlying source tar ball to xfig.3.2.5c
+- Delete patches 
+  xfig.3.2.5b-bnc777469.diff and xfig.3.2.5b-bnc657393.dif
+  as those are part of xfig.3.2.5c
+- Change patches
+  xfig.3.2.5-urw-fonts.dif, xfig.3.2.3d-international-std-fonts.dif,
+  xfig.3.2.5b-locale.dif, xfig.3.2.5b-pspdftex.dif, and
+  xfig.3.2.5b-preview.dif to fit xfig.3.2.5c
+- Modify Imakefile to support new libXaw3d-1.6.2
+
+-------------------------------------------------------------------

Old:
----
  xfig.3.2.5b-bnc657393.dif
  xfig.3.2.5b-bnc777469.diff
  xfig.3.2.5b-patches.tar.bz2
  xfig.3.2.5b.tar.bz2

New:
----
  xfig.3.2.5c-patches.tar.bz2
  xfig.3.2.5c.tar.gz

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

Other differences:
------------------
++++++ xfig.spec ++++++
--- /var/tmp/diff_new_pack.Gbj3Oy/_old  2013-12-11 16:25:03.000000000 +0100
+++ /var/tmp/diff_new_pack.Gbj3Oy/_new  2013-12-11 16:25:03.000000000 +0100
@@ -17,12 +17,13 @@
 
 
 Name:           xfig
+BuildRequires:  dos2unix
 BuildRequires:  flex
 BuildRequires:  freetype2-devel
+BuildRequires:  libXaw3d-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  netpbm
 BuildRequires:  update-desktop-files
-BuildRequires:  xaw3d-devel
 BuildRequires:  xorg-x11
 BuildRequires:  xorg-x11-devel
 %if 0%{?suse_version} > 1120
@@ -39,7 +40,7 @@
 Requires:       transfig
 Requires:       xorg-x11-fonts
 Requires:       xorg-x11-fonts-core
-Version:        3.2.5b
+Version:        3.2.5c
 Release:        0
 Summary:        Facility for Interactive Generation of Figures under the X 
Window System
 License:        MIT
@@ -47,17 +48,17 @@
 Url:            http://www.xfig.org/
 #
 # Remove forbidden files: aircraft.fig
-# bunzip2 xfig.3.2.5b.tar
-# tar -f xfig.3.2.5b.tar --delete xfig.3.2.5b/Libraries/Examples/aircraft.fig
-# bzip2 xfig.3.2.5b.tar
+# gunzip xfig.3.2.5c.tar
+# tar -f xfig.3.2.5c.tar --delete xfig.3.2.5c/Libraries/Examples/aircraft.fig
+# gzip xfig.3.2.5c.tar
 #
-Source:         xfig.%{version}.tar.bz2
+Source:         xfig.%{version}.tar.gz
 Source1:        font-test.fig
 Source2:        browser
 Source3:        xfig.sh
 Source4:        xfig.desktop
-Source5:        xfig.%{version}-patches.tar.bz2
-Patch0:         xfig.%{version}.dif
+Source5:        xfig.3.2.5c-patches.tar.bz2
+Patch0:         xfig.3.2.5b.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
@@ -68,8 +69,6 @@
 Patch7:         xfig.3.2.5b-fixes.dif
 Patch8:         xfig.3.2.5b-pspdftex.dif
 Patch10:        xfig.3.2.5b-preview.dif
-Patch11:        xfig.3.2.5b-bnc657393.dif
-Patch12:        xfig.3.2.5b-bnc777469.diff
 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"
@@ -106,20 +105,25 @@
 
 %prep
 %setup -q -n xfig.%{version}
+set +x
 find -type f | xargs -r chmod a-x,go-w
+find -type f | while read file; do
+    if grep -qr $'\r' $file ; then
+       dos2unix --keepdate --quiet $file
+    fi
+done
+set -x
 tar Oxfj %{S:5} | patch -p1 -s
 %patch0  -p0
 %patch1  -p0 -b .urw-fonts
 %patch2  -p0 -b .xim
-%patch3  -p1 -b .international-std-fonts
+%patch3  -p0 -b .international-std-fonts
 %patch4  -p0 -b .mbox
 %patch5  -p0 -b .null
 %patch6  -p0 -b .locale
 %patch7  -p0 -b .fixes
 %patch8  -p0 -b .pspdftex
 %patch10 -p0 -b .preview
-%patch11 -p0 -b .vsprintf
-%patch12 -p1 -b .ovflow
 cp %{S:1} .
 test ! -e Libraries/Examples/aircraft.fig || { echo forbidden file found 1>&2; 
exit 1; }
 
@@ -141,8 +145,6 @@
          %{buildroot}%{_x11data}/xfig/Libraries
 ln -sf   %{_defaultdocdir}/%{name}/html                        \
          %{buildroot}%{_x11data}/xfig/
-ln -sf   %{_defaultdocdir}/%{name}/xfig_man.html       \
-         %{buildroot}%{_x11data}/xfig/
 ln -sf   %{_defaultdocdir}/%{name}/xfig-howto.pdf      \
          %{buildroot}%{_x11data}/xfig/
 install -m 0755 %{SOURCE2} %{buildroot}%{_x11data}/xfig/
@@ -150,7 +152,7 @@
 make DESTDIR=%{buildroot} install.man
 mkdir -p %{buildroot}/%{_docdir}/%{name}
 cp -pr README FIGAPPS Libraries font-test.fig %{buildroot}/%{_docdir}/%{name}
-cp -pr Doc/FORMAT* Doc/TODO Doc/html Doc/*.pdf Doc/*.html 
%{buildroot}/%{_docdir}/%{name}
+cp -pr Doc/FORMAT* Doc/TODO Doc/html Doc/*.pdf %{buildroot}/%{_docdir}/%{name}
 find %{buildroot}%{_defaultdocdir}/%{name}/ -name '*.bak' | xargs -r rm
 find %{buildroot}%{_defaultdocdir}/%{name}/ -type f -print0 | xargs -0 chmod 
644
 mkdir -p %{buildroot}%{_datadir}/pixmaps

++++++ xfig.3.2.3d-international-std-fonts.dif ++++++
--- /var/tmp/diff_new_pack.Gbj3Oy/_old  2013-12-11 16:25:03.000000000 +0100
+++ /var/tmp/diff_new_pack.Gbj3Oy/_new  2013-12-11 16:25:03.000000000 +0100
@@ -1,7 +1,6 @@
-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 @@
+--- main.c
++++ main.c     2013-12-10 13:40:27.062735528 +0000
+@@ -328,8 +328,36 @@ static XtResource application_resources[
         XtOffset(appresPtr, always_use_fontset), XtRBoolean, (caddr_t) & 
false},
      {"fixedFontSet", "FontSet", XtRFontSet, sizeof(XFontSet),
         XtOffset(appresPtr, fixed_fontset), XtRString,
@@ -14,12 +13,9 @@
 +       "-*-*-medium-r-normal--34-*-*-*-*-*-*-*,*--34-*"
 +         "-*-times-medium-r-normal--16-*-*-*-*-*-*-*,"
 +         "-*-*-medium-r-normal--16-*-*-*-*-*-*-*,*--16-*"
-+    },
-     {"normalFontSet", "NormalFontSet", XtRFontSet, sizeof(XFontSet),
-        XtOffset(appresPtr, normal_fontset), XtRString,
--       (caddr_t) "-*-times-medium-r-normal--16-*-*-*-*-*-*-*,"
--       "-*-*-medium-r-normal--16-*-*-*-*-*-*-*,"
--       "-*-*-*-r-*--16-*-*-*-*-*-*-*" },
++    }, /*
++    {"normalFontSet", "NormalFontSet", XtRFontSet, sizeof(XFontSet),
++       XtOffset(appresPtr, normal_fontset), XtRString,
 +       (caddr_t) "-URW-Nimbus Roman No9 L-medium-r-normal--34-*-*-*-*-*-*-*,"
 +         "-kochi-mincho-medium-r-normal--34-*-*-*-*-*-jisx0208.1983-0,"
 +         "-baekmukttf-batang-medium-r-normal--34-*-*-*-*-*-ksc5601.1987-0,"
@@ -29,11 +25,8 @@
 +         "-*-times-medium-r-normal--16-*-*-*-*-*-*-*,"
 +         "-*-*-medium-r-normal--16-*-*-*-*-*-*-*,*--16-*"
 +    },
-     {"boldFontSet", "BoldFontSet", XtRFontSet, sizeof(XFontSet),
-        XtOffset(appresPtr, bold_fontset), XtRString,
--       (caddr_t) "-*-times-bold-r-normal--16-*-*-*-*-*-*-*,"
--       "-*-*-bold-r-normal--16-*-*-*-*-*-*-*,"
--       "-*-*-*-r-*--16-*-*-*-*-*-*-*" },
++    {"boldFontSet", "BoldFontSet", XtRFontSet, sizeof(XFontSet),
++       XtOffset(appresPtr, bold_fontset), XtRString,
 +       (caddr_t) "-URW-Nimbus Roman No9 L-bold-r-normal--34-*-*-*-*-*-*-*,"
 +         "-kochi-gothic-medium-r-normal--34-*-*-*-*-*-jisx0208.1983-0,"
 +         "-baekmukttf-dotum-medium-r-normal--34-*-*-*-*-*-ksc5601.1987-0,"
@@ -42,8 +35,7 @@
 +       "-*-*-*-r-*--34-*-*-*-*-*-*-*"
 +         "-*-times-medium-r-normal--16-*-*-*-*-*-*-*,"
 +         "-*-*-medium-r-normal--16-*-*-*-*-*-*-*,*--16-*"
-+    },
++    }, */
      {"fontSetSize", "FontSetSize", XtRInt, sizeof(int),
         XtOffset(appresPtr, fontset_size), XtRImmediate, (caddr_t)0 },
      {"inputStyle", "InputStyle", XtRString, sizeof(char *),
-

++++++ xfig.3.2.5-urw-fonts.dif ++++++
--- /var/tmp/diff_new_pack.Gbj3Oy/_old  2013-12-11 16:25:03.000000000 +0100
+++ /var/tmp/diff_new_pack.Gbj3Oy/_new  2013-12-11 16:25:03.000000000 +0100
@@ -57,23 +57,16 @@
   * These come with the Open Group X distribution so they should be a common 
set.
   *
 --- u_fonts.h
-+++ u_fonts.h  2007-05-07 15:12:49.772318545 +0200
-@@ -58,9 +58,12 @@ struct _xfstruct {
- extern int            psfontnum(char *font);
++++ u_fonts.h  2013-12-10 13:33:06.818235791 +0000
+@@ -60,6 +60,8 @@ extern int           psfontnum(char *font);
  extern int            latexfontnum(char *font);
  
--extern struct _xfstruct       x_fontinfo[], x_backup_fontinfo[];
--extern struct _fstruct        ps_fontinfo[];
--extern struct _fstruct        latex_fontinfo[];
-+extern struct _xfstruct        x_fontinfo[];
-+extern struct _xfstruct        x_urw_fontinfo[];
-+extern struct _xfstruct        x_adobe_fontinfo[];
-+extern struct _xfstruct        x_backup_fontinfo[];
-+extern struct _fstruct ps_fontinfo[];
-+extern struct _fstruct latex_fontinfo[];
+ extern struct _xfstruct       x_fontinfo[], x_backup_fontinfo[];
++extern struct _xfstruct       x_urw_fontinfo[];
++extern struct _xfstruct       x_adobe_fontinfo[];
+ extern struct _fstruct        ps_fontinfo[];
+ extern struct _fstruct        latex_fontinfo[];
  
- int           x_fontnum(int psflag, int fnum);
- #endif /* U_FONTS_H */
 --- w_drawprim.c
 +++ w_drawprim.c       2005-10-06 19:12:02.000000000 +0200
 @@ -117,6 +117,22 @@ void init_font(void)

++++++ xfig.3.2.5b-locale.dif ++++++
--- /var/tmp/diff_new_pack.Gbj3Oy/_old  2013-12-11 16:25:03.000000000 +0100
+++ /var/tmp/diff_new_pack.Gbj3Oy/_new  2013-12-11 16:25:03.000000000 +0100
@@ -1,5 +1,5 @@
 --- main.c
-+++ main.c     2007-05-07 15:39:50.847599259 +0200
++++ main.c     2013-12-10 13:47:11.675533754 +0000
 @@ -61,11 +61,13 @@
  
  /* input extensions for an input tablet */
@@ -15,7 +15,7 @@
  #endif  /* I18N */
  
  #include <X11/IntrinsicP.h>
-@@ -771,11 +773,6 @@ void main(int argc, char **argv)
+@@ -784,11 +786,6 @@ void main(int argc, char **argv)
        }
      }
  
@@ -27,18 +27,18 @@
      /*
       * save the command line arguments
       */
-@@ -866,6 +863,10 @@ void main(int argc, char **argv)
-     }
+@@ -890,6 +887,10 @@ void main(int argc, char **argv)
+               setup_icons_big();
  
  #ifdef I18N
 +    if (NULL == strcasestr(nl_langinfo(CODESET),"ANSI") &&
-+       NULL == strcasestr(nl_langinfo(CODESET),"ISO-8859-1"))
++      NULL == strcasestr(nl_langinfo(CODESET),"ISO-8859-1"))
 +      appres.international = True;
 +
      /************************************************************/
      /* if the international option has been set, set the locale */
      /************************************************************/
-@@ -1587,6 +1588,11 @@ setup_visual(int *argc_p, char **argv, A
+@@ -1612,6 +1613,11 @@ setup_visual(int *argc_p, char **argv, A
         */
        tool = XtAppInitialize (&tool_app, "Fig", options, XtNumber (options), 
argc_p, argv,
                               (String *) NULL, args, 0);
@@ -51,7 +51,7 @@
        tool_d = XtDisplay(tool);
        tool_s = XtScreen(tool);
 --- u_print.c
-+++ u_print.c  2006-11-16 13:45:46.000000000 +0100
++++ u_print.c  2006-11-16 12:45:46.000000000 +0000
 @@ -15,6 +15,7 @@
   *
   */

++++++ xfig.3.2.5b-preview.dif ++++++
--- /var/tmp/diff_new_pack.Gbj3Oy/_old  2013-12-11 16:25:03.000000000 +0100
+++ /var/tmp/diff_new_pack.Gbj3Oy/_new  2013-12-11 16:25:03.000000000 +0100
@@ -1,56 +1,26 @@
 --- f_readeps.c
-+++ f_readeps.c        2011-06-17 12:46:08.519926308 +0000
-@@ -252,11 +252,12 @@ bitmap_from_gs(file, filetype, pic, urx,
- {
++++ f_readeps.c        2013-12-10 13:57:36.222235930 +0000
+@@ -257,7 +257,7 @@ bitmap_from_gs(file, filetype, pic, urx,
      char        buf[300];
      FILE       *tmpfp, *pixfile, *gsfile;
--    char       *psnam, *driver;
+     char       *driver;
 -    int         status, wid, ht, nbitmap, fd;
-+    char       *driver;
 +    int         status, wid, ht, nbitmap, fd, len;
      char        tmpfile[PATH_MAX],
                pixnam[PATH_MAX],
                errnam[PATH_MAX],
-+              psnam[PATH_MAX],
-               gscom[2 * PATH_MAX];
- 
-     wid = urx - llx;
-@@ -307,19 +308,26 @@ bitmap_from_gs(file, filetype, pic, urx,
-       /* for color, use pcx */
-       driver = "pcx256";
+@@ -317,9 +317,13 @@ bitmap_from_gs(file, filetype, pic, urx,
+       file_msg("Cannot canonicalize %s: %s\n", tmpfile, strerror(errno));
+       return False;
      }
--    /* avoid absolute paths (for Cygwin with gswin32) by changing directory */
--    if (tmpfile[0] == '/') {
--      psnam = strrchr(tmpfile, '/');
--      *psnam = 0;
--      sprintf(gscom, "cd \"%s/\";", tmpfile);
--      *psnam++ = '/';         /* Restore name for unlink() below */
--    } else {
--      psnam = tmpfile;
--      gscom[0] = '\0';
-+    /* Canonicalize the eps file filename, needed to "defeat" gs after 
.locksafe */
-+    if (!realpath(tmpfile, psnam)) {
-+      file_msg("Cannot canonicalize %s: %s\n", tmpfile, strerror(errno));
-+      return False;
-+    }
-+    /* From Language.htm of ghostscript 9.00 and higher:
-+     * If Ghostscript is started with -dNOSAFER or -dDELAYSAFER, this 
operator can
-+     * be used to enter SAFER mode with the current set of PermitFile... user
-+     * parameters in effect. Since .setsafe sets the PermitFile... user 
parameters
-+     * to empty arrays, a script or job server that needs to enable certain 
paths
-+     * for file Reading, Writing and/or Control can use this operator to 
perform
-+     * the locking needed to enter SAFER mode.
-+     */
+-    sprintf(gscom,
 +    len = snprintf(gscom, sizeof(gscom) - 1,
-+          "%s -r72x72 -sDEVICE=%s -g%dx%d -dDELAYSAFER -sOutputFile=%s -c 
'<</PermitFileReading[(%s)]>> setuserparams .locksafe' -q - > %s 2>&1",
-+          appres.ghostscript, driver, wid, ht, pixnam, psnam, errnam);
+           "%s -r72x72 -sDEVICE=%s -g%dx%d -sOutputFile=%s -dDELAYSAFER -c '<< 
/PermitFileReading [ (%s)] >> setuserparams .locksafe' -dSAFER -q - > %s 2>&1",
+           appres.ghostscript, driver, wid, ht, pixnam, psnam, errnam);
 +    if (len >= sizeof(gscom) - 1 || len < 0) {
 +      file_msg("Cannot write to buffer, file name to large: %s\n", psnam);
 +      return False;
-     }
--    sprintf(&gscom[strlen(gscom)],
--          "%s -r72x72 -dSAFER -sDEVICE=%s -g%dx%d -sOutputFile=%s -q - > %s 
2>&1",
--          appres.ghostscript, driver, wid, ht, pixnam, errnam);
++    }
      if (appres.DEBUG)
        fprintf(stderr,"calling: %s\n",gscom);
      if ((gsfile = popen(gscom, "w")) == 0) {

++++++ xfig.3.2.5b-pspdftex.dif ++++++
--- /var/tmp/diff_new_pack.Gbj3Oy/_old  2013-12-11 16:25:03.000000000 +0100
+++ /var/tmp/diff_new_pack.Gbj3Oy/_new  2013-12-11 16:25:03.000000000 +0100
@@ -1,5 +1,5 @@
 --- u_print.c
-+++ u_print.c  2009-12-14 12:01:21.031429470 +0000
++++ u_print.c  2013-12-10 13:52:12.414235932 +0000
 @@ -354,8 +354,10 @@ int print_to_file(char *file, char *lang
        strcat(prcmd, tmpcmd);
      } else if (!strcmp(lang,"pspdftex")) {
@@ -30,25 +30,22 @@
        strcat(prcmd,".pdf");
        (void) exec_prcmd(prcmd, "EXPORT of PDF part");
  
-@@ -383,12 +385,13 @@ int print_to_file(char *file, char *lang
+@@ -383,10 +385,11 @@ int print_to_file(char *file, char *lang
  #ifdef I18N
        /* set the numeric locale to C so we get decimal points for numbers */
        setlocale(LC_NUMERIC, "C");
--      sprintf(prcmd, "fig2dev %s -L %s -p %s -m %f %s %s",
+-      sprintf(prcmd, "fig2dev %s -L %s -p %s -m %f %s %s %s",
 -              appres.international ?  appres.fig2dev_localize_option : "",
-+      sprintf(prcmd, "%s %s -L %s -E %d -p %s -m %f -b %d %s %s",
++      sprintf(prcmd, "%s %s -L %s -p %s -m %f %s %s %s",
 +              fig2dev_cmd, appres.international ?  
appres.fig2dev_localize_option : "",
  #else
--              sprintf(prcmd, "fig2dev -L %s -p %s -m %f %s %s",
-+              sprintf(prcmd, "%s -L %s -E %d -p %s -m %f -b %d %s %s",
+-              sprintf(prcmd, "fig2dev -L %s -p %s -m %f %s %s %s",
++              sprintf(prcmd, "%s -L %s -p %s -m %f %s %s %s",
 +                      fig2dev_cmd,
  #endif  /* I18N */
--                              "pstex_t", tmp_name, mag/100.0, tmp_fig_file, 
outfile);
-+                      "pstex_t", appres.encoding, tmp_name, mag/100.0, 
border, tmp_fig_file, outfile);
+                               "pstex_t", tmp_name, mag/100.0, layers, 
tmp_fig_file, outfile);
  #ifdef I18N
-       /* reset to original locale */
-       setlocale(LC_NUMERIC, "");
-@@ -742,7 +745,7 @@ void build_layer_list(char *layers)
+@@ -743,7 +746,7 @@ void build_layer_list(char *layers)
  {
      char       list[PATH_MAX], notlist[PATH_MAX], num[10];
      int                layer, len, notlen;

++++++ xfig.3.2.5b.dif ++++++
--- /var/tmp/diff_new_pack.Gbj3Oy/_old  2013-12-11 16:25:03.000000000 +0100
+++ /var/tmp/diff_new_pack.Gbj3Oy/_new  2013-12-11 16:25:03.000000000 +0100
@@ -1,6 +1,6 @@
---- Doc/xfig.man
-+++ Doc/xfig.man
-@@ -1475,8 +1475,11 @@
+--- ./Doc/xfig.man
++++ ./Doc/xfig.man     2013-12-09 15:40:37.278735670 +0000
+@@ -1489,8 +1489,11 @@ or X toolkit resource keyFile.
  See the
  .IR Imakefile .
  .TP
@@ -14,22 +14,6 @@
  CompKeyDB file, and a directory of libraries containing Fig objects
  such as electrical symbols, logic symbols, etc.
  .TP
---- Doc/xfig_man.html
-+++ Doc/xfig_man.html
-@@ -2539,8 +2539,11 @@
- See the
- <I>Imakefile</I>.
- 
--<DT>/usr/lib/X11/xfig<DD>
--This directory contains the html documentation, the above mentioned
-+<DT>/usr/share/doc/packages/xfig<DD>
-+This directory contains the documentation.
-+
-+<DT>/usr/share/X11/xfig<DD>
-+This directory contains the above mentioned
- CompKeyDB file, and a directory of libraries containing Fig objects
- such as electrical symbols, logic symbols, etc.
- <DT><B>Fig.ad and Fig-color.ad</B>
 --- Fig.ad
 +++ Fig.ad     2009-12-14 11:42:24.307429001 +0000
 @@ -15,6 +15,8 @@ Fig.version:                 3.2.5b
@@ -104,34 +88,25 @@
  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)
++++ Imakefile  2013-12-09 15:55:48.894736219 +0000
+@@ -53,7 +53,7 @@ XCOMM the 3d Athena Widget Set
+ #define XAW3D
+ 
+ #ifdef XAW3D
+-XAWLIB = -lXaw3d
++XAWLIB = $(shell pkg-config xaw3d --libs)
+ #endif
  
- XCOMM If don't want JPEG support, comment out the #define USEJPEG line
+ XCOMM Uncomment the following if you have David Hawkey's Xaw3D version 1.5E 
which has
 @@ -96,8 +96,8 @@ XCOMM You must have version 5b or newer
  
  #ifdef USEJPEG
-     #ifdef USEINSTALLEDJPEG
+ #    ifdef USEINSTALLEDJPEG
 -      JPEGLIBDIR = /usr/local/lib
 -      JPEGINC = -I/usr/include/X11
 +      JPEGLIBDIR = /usr/lib
 +      JPEGINC = -I/usr/include
-     #else
+ #    else
        JPEGLIBDIR = ../jpeg
        JPEGINC = -I$(JPEGLIBDIR)
 @@ -119,8 +119,8 @@ XCOMM Change XPMINC if necessary to poin
@@ -139,22 +114,24 @@
  
  #ifdef USEXPM
 -XPMLIBDIR = /usr/local/lib
--XPMINC = -I/usr/local/include/X11
+-XPMINC = -I/usr/include/X11
 +XPMLIBDIR = $(USRLIBDIR)
-+XPMINC = -I$(USRLIBDIR)
++XPMINC = -I/usr/include
  #endif
  
  XCOMM Uncomment the following definiton if you want to use the small icons
-@@ -150,7 +150,7 @@ XCOMM Comment out the next line if you h
+@@ -150,8 +150,8 @@ XCOMM Comment out the next two lines if
  XCOMM If your setlocale() doesn't support the locale, you should
  XCOMM add -DSETLOCALE to I18N_DEFS.
  
 -XCOMM #define I18N
+-XCOMM XAW_INTERN = -DXAW_INTERNATIONALIZATION
 +#define I18N
++XAW_INTERN = $(shell pkg-config xaw3d --cflags)
  
  XCOMM If using an input tablet uncomment the following
  
-@@ -161,7 +161,7 @@ XCOMM uncomment the following line if yo
+@@ -162,7 +162,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
  
@@ -163,7 +140,7 @@
  
  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
+@@ -170,16 +170,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
@@ -186,7 +163,7 @@
  
  XCOMM If your system doesn't have strstr undefine the following definition
  XCOMM HAVE_NO_NOSTRSTR = -DNOSTRSTR
-@@ -208,7 +211,7 @@ XCOMM   instead.
+@@ -209,7 +212,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.
  
@@ -195,7 +172,7 @@
  
  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.
+@@ -223,6 +226,7 @@ XCOMM number of vertices.
  XCOMM If you want a compiler other than "cc", define it here
  
  XCOMM CC = /opt/SUNWspro/bin/cc
@@ -203,25 +180,6 @@
  
  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 <sys/types.h>        /* for stat structure */
- #endif
-+#include <sys/param.h>
- #include <sys/stat.h>
- 
- #if defined(__convex__) && defined(__STDC__)
 --- w_menuentry.c
 +++ w_menuentry.c      2006-07-31 15:56:25.000000000 +0000
 @@ -169,7 +169,8 @@ Redisplay(Widget w, XEvent *event, Regio

++++++ xfig.3.2.5b-patches.tar.bz2 -> xfig.3.2.5c-patches.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/patches/31_spelling.patch 
new/patches/31_spelling.patch
--- old/patches/31_spelling.patch       2012-06-07 19:06:40.000000000 +0200
+++ new/patches/31_spelling.patch       1970-01-01 01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
-From: Roland Rosenfeld <[email protected]>
-Subject: Fix spelling errors in binary.
-
---- a/f_load.c
-+++ b/f_load.c
-@@ -373,5 +373,5 @@
-       /* Format error; relevant error message is already delivered */
-       ;
-     else
--      file_msg("File \"%s\" is not accessable; %s.", file, strerror(err));
-+      file_msg("File \"%s\" is not accessible; %s.", file, strerror(err));
- }
---- a/f_readgif.c
-+++ b/f_readgif.c
-@@ -137,7 +137,7 @@
- 
-               if (c == '!') {                 /* Extension */
-                       if (! ReadOK(file,&c,1))
--                              file_msg("GIF read error on extention function 
code");
-+                              file_msg("GIF read error on extension function 
code");
-                       (void) DoGIFextension(file, c);
-                       continue;
-               }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/patches/36_libpng15.patch 
new/patches/36_libpng15.patch
--- old/patches/36_libpng15.patch       2012-06-07 19:06:40.000000000 +0200
+++ new/patches/36_libpng15.patch       1970-01-01 01:00:00.000000000 +0100
@@ -1,78 +0,0 @@
-From: Nobuhiro Iwamatsu <[email protected]>
-Subject: Some changes to cooperate with libpng 1.5.
-
---- a/f_readpng.c
-+++ b/f_readpng.c
-@@ -43,7 +43,7 @@
-     char         *ptr;
-     int                   num_palette;
-     png_colorp            palette;
--    png_color_16    background;
-+    png_color_16    background, *image_background;
- 
-     /* make scale factor smaller for metric */
-     float scale = (appres.INCHES ?
-@@ -73,7 +73,7 @@
-     }
- 
-     /* set long jump recovery here */
--    if (setjmp(png_ptr->jmpbuf)) {
-+    if (setjmp(png_jmpbuf((png_ptr)))) {
-       /* if we get here there was a problem reading the file */
-       png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
-       close_picfile(file,filetype);
-@@ -90,14 +90,18 @@
-     png_get_IHDR(png_ptr, info_ptr, &w, &h, &bit_depth, &color_type,
-       &interlace_type, &compression_type, &filter_type);
- 
--    if (info_ptr->valid & PNG_INFO_gAMA)
--      png_set_gamma(png_ptr, 2.2, info_ptr->gamma);
--    else
-+    if (png_get_valid(png_ptr, info_ptr, PNG_INFO_gAMA)) {
-+      double gamma;
-+      png_get_gAMA(png_ptr, info_ptr, &gamma);
-+      png_set_gamma(png_ptr, 2.2, gamma);
-+      } else {
-       png_set_gamma(png_ptr, 2.2, 0.45);
-+      }
- 
--    if (info_ptr->valid & PNG_INFO_bKGD)
-+    if (png_get_valid(png_ptr, info_ptr, PNG_INFO_bKGD) &&
-+        png_get_bKGD(png_ptr, info_ptr, &image_background))
-       /* set the background to the one supplied */
--      png_set_background(png_ptr, &info_ptr->background,
-+      png_set_background(png_ptr, image_background,
-               PNG_BACKGROUND_GAMMA_FILE, 1, 1.0);
-     else {
-       /* blend the canvas background using the alpha channel */
-@@ -136,7 +140,11 @@
- 
-       if (png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette)) {
-           png_get_hIST(png_ptr, info_ptr, &histogram);
-+#ifdef PNG_READ_QUANTIZE_SUPPORTED
-+          png_set_quantize(png_ptr, palette, num_palette, 256, histogram, 0);
-+#else
-           png_set_dither(png_ptr, palette, num_palette, 256, histogram, 0);
-+#endif
-       }
-     }
-     if (color_type == PNG_COLOR_TYPE_GRAY || color_type == 
PNG_COLOR_TYPE_GRAY_ALPHA) {
---- a/f_wrpng.c
-+++ b/f_wrpng.c
-@@ -20,6 +20,7 @@
- #include "w_msgpanel.h"
- #include "w_setup.h"
- #include <png.h>
-+#include <zlib.h>
- 
- /*
-  * Write PNG file from rgb data
-@@ -59,7 +60,7 @@
-     }
- 
-     /* set long jump recovery here */
--    if (setjmp(png_ptr->jmpbuf)) {
-+    if (setjmp(png_jmpbuf((png_ptr)))) {
-       /* if we get here there was a problem reading the file */
-       png_destroy_write_struct(&png_ptr, &info_ptr);
-       return False;

++++++ xfig.desktop ++++++
--- /var/tmp/diff_new_pack.Gbj3Oy/_old  2013-12-11 16:25:03.000000000 +0100
+++ /var/tmp/diff_new_pack.Gbj3Oy/_new  2013-12-11 16:25:03.000000000 +0100
@@ -2,7 +2,7 @@
 Categories=VectorGraphics
 Exec=@@BINDIR@@/xfig
 InitialPreference=2
-MimeType=image/x-xfig
+MimeType=image/x-xfig;
 Name=xfig
 GenericName=Vector Drawing
 Terminal=false

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to