.
OBS-URL: https://build.opensuse.org/package/show/graphics/xfig?expand=0&rev=33
This commit is contained in:
parent
a25f2445c9
commit
951a758c3f
@ -1,14 +0,0 @@
|
|||||||
--- f_readpng.c
|
|
||||||
+++ f_readpng.c 2010-04-20 15:45:02.627072958 +0000
|
|
||||||
@@ -136,7 +136,11 @@ read_png(FILE *file, int filetype, F_pic
|
|
||||||
|
|
||||||
if (png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette)) {
|
|
||||||
png_get_hIST(png_ptr, info_ptr, &histogram);
|
|
||||||
+#if (PNG_LIBPNG_VER_MAJOR > 1 || (PNG_LIBPNG_VER_MAJOR == 1 && (PNG_LIBPNG_VER_MINOR > 4))) || defined(png_set_quantize)
|
|
||||||
+ 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) {
|
|
3
xfig.3.2.5b-patches.tar.bz2
Normal file
3
xfig.3.2.5b-patches.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:57f3deba38d376e7b6f980e69679f47f491bf8bad6b9d778afa92786b6723756
|
||||||
|
size 2485
|
@ -1,3 +1,35 @@
|
|||||||
|
--- Doc/xfig.man
|
||||||
|
+++ Doc/xfig.man
|
||||||
|
@@ -1475,8 +1475,11 @@
|
||||||
|
See the
|
||||||
|
.IR Imakefile .
|
||||||
|
.TP
|
||||||
|
-/usr/lib/X11/xfig
|
||||||
|
-This directory contains the html documentation, the above mentioned
|
||||||
|
+/usr/share/doc/packages/xfig
|
||||||
|
+This directory contains the documentation.
|
||||||
|
+.TP
|
||||||
|
+/usr/share/X11/xfig
|
||||||
|
+This directory contains the above mentioned
|
||||||
|
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
|
||||||
+++ Fig.ad 2009-12-14 11:42:24.307429001 +0000
|
+++ Fig.ad 2009-12-14 11:42:24.307429001 +0000
|
||||||
@@ -15,6 +15,8 @@ Fig.version: 3.2.5b
|
@@ -15,6 +15,8 @@ Fig.version: 3.2.5b
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 8 11:14:39 UTC 2013 - werner@suse.de
|
Fri Feb 8 11:14:39 UTC 2013 - werner@suse.de
|
||||||
|
|
||||||
- User original patch from Debian
|
- User original patches from Debian
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 7 14:12:21 UTC 2013 - werner@suse.de
|
Thu Feb 7 14:12:21 UTC 2013 - werner@suse.de
|
||||||
|
@ -56,6 +56,7 @@ Source1: font-test.fig
|
|||||||
Source2: browser
|
Source2: browser
|
||||||
Source3: xfig.sh
|
Source3: xfig.sh
|
||||||
Source4: xfig.desktop
|
Source4: xfig.desktop
|
||||||
|
Source5: xfig.%{version}-patches.tar.bz2
|
||||||
Patch0: xfig.%{version}.dif
|
Patch0: xfig.%{version}.dif
|
||||||
Patch1: xfig.3.2.5-urw-fonts.dif
|
Patch1: xfig.3.2.5-urw-fonts.dif
|
||||||
Patch2: xfig.3.2.5-xim.dif
|
Patch2: xfig.3.2.5-xim.dif
|
||||||
@ -66,7 +67,6 @@ Patch5: xfig.3.2.5b-null.dif
|
|||||||
Patch6: xfig.3.2.5b-locale.dif
|
Patch6: xfig.3.2.5b-locale.dif
|
||||||
Patch7: xfig.3.2.5b-fixes.dif
|
Patch7: xfig.3.2.5b-fixes.dif
|
||||||
Patch8: xfig.3.2.5b-pspdftex.dif
|
Patch8: xfig.3.2.5b-pspdftex.dif
|
||||||
Patch9: xfig.3.2.5b-libpng14.dif
|
|
||||||
Patch10: xfig.3.2.5b-preview.dif
|
Patch10: xfig.3.2.5b-preview.dif
|
||||||
Patch11: xfig.3.2.5b-bnc657393.dif
|
Patch11: xfig.3.2.5b-bnc657393.dif
|
||||||
Patch12: xfig.3.2.5b-bnc777469.diff
|
Patch12: xfig.3.2.5b-bnc777469.diff
|
||||||
@ -107,6 +107,7 @@ Authors:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n xfig.%{version}
|
%setup -q -n xfig.%{version}
|
||||||
find -type f | xargs -r chmod a-x,go-w
|
find -type f | xargs -r chmod a-x,go-w
|
||||||
|
tar Oxfj %{S:5} | patch -p1 -s
|
||||||
%patch0 -p0
|
%patch0 -p0
|
||||||
%patch1 -p0 -b .urw-fonts
|
%patch1 -p0 -b .urw-fonts
|
||||||
%patch2 -p0 -b .xim
|
%patch2 -p0 -b .xim
|
||||||
@ -116,7 +117,6 @@ find -type f | xargs -r chmod a-x,go-w
|
|||||||
%patch6 -p0 -b .locale
|
%patch6 -p0 -b .locale
|
||||||
%patch7 -p0 -b .fixes
|
%patch7 -p0 -b .fixes
|
||||||
%patch8 -p0 -b .pspdftex
|
%patch8 -p0 -b .pspdftex
|
||||||
%patch9 -p0 -b .libpng14
|
|
||||||
%patch10 -p0 -b .preview
|
%patch10 -p0 -b .preview
|
||||||
%patch11 -p0 -b .vsprintf
|
%patch11 -p0 -b .vsprintf
|
||||||
%patch12 -p1 -b .ovflow
|
%patch12 -p1 -b .ovflow
|
||||||
|
Loading…
Reference in New Issue
Block a user