[packages/jbig2dec] - updated to 0.13 - removed obsolete png patch

qboosh qboosh at pld-linux.org
Thu Apr 14 19:37:34 CEST 2016


commit 14d1fdfc974fefca8186e970aa1ce5ca45996c32
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Apr 14 19:37:39 2016 +0200

    - updated to 0.13
    - removed obsolete png patch

 jbig2dec-png.patch | 30 ------------------------------
 jbig2dec.spec      |  6 ++----
 2 files changed, 2 insertions(+), 34 deletions(-)
---
diff --git a/jbig2dec.spec b/jbig2dec.spec
index 580bbb0..0bd477f 100644
--- a/jbig2dec.spec
+++ b/jbig2dec.spec
@@ -1,14 +1,13 @@
 Summary:	Decoder implementation of the JBIG2 image compression format
 Summary(pl.UTF-8):	Implementacja dekodera formatu kompresji obrazu JBIG2
 Name:		jbig2dec
-Version:	0.12
+Version:	0.13
 Release:	1
 License:	GPL v2+ with AFPL Ghostscript exception
 Group:		Applications/Graphics
 Source0:	http://downloads.ghostscript.com/public/jbig2dec/%{name}-%{version}.tar.gz
-# Source0-md5:	b73cfb55c61c6978e6539b889bdc2633
+# Source0-md5:	6efc70db0017516e11913280990623fb
 Patch0:		%{name}-shared.patch
-Patch1:		%{name}-png.patch
 URL:		http://www.ghostscript.com/jbig2dec.html
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake >= 1:1.7
@@ -90,7 +89,6 @@ Statyczna wersja biblioteki jbig2dec.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/jbig2dec-png.patch b/jbig2dec-png.patch
deleted file mode 100644
index acadf24..0000000
--- a/jbig2dec-png.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- jbig2dec-0.12/jbig2_image_png.c.orig	2014-10-31 14:30:04.000000000 +0100
-+++ jbig2dec-0.12/jbig2_image_png.c	2016-01-05 17:02:22.500568493 +0100
-@@ -26,8 +26,6 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <png.h>
--#include <pngstruct.h>
--#define CVT_PTR(ptr) (ptr)
- 
- #include "jbig2.h"
- #include "jbig2_priv.h"
-@@ -40,7 +38,7 @@
- {
-     png_size_t check;
- 
--    check = fwrite(data, 1, length, (png_FILE_p)png_ptr->io_ptr);
-+    check = fwrite(data, 1, length, png_get_io_ptr(png_ptr));
-     if (check != length) {
-       png_error(png_ptr, "Write Error");
-     }
-@@ -49,8 +47,7 @@
- static void
- jbig2_png_flush(png_structp png_ptr)
- {
--    png_FILE_p io_ptr;
--    io_ptr = (png_FILE_p)CVT_PTR((png_ptr->io_ptr));
-+    png_FILE_p io_ptr = png_get_io_ptr(png_ptr);
-     if (io_ptr != NULL)
-         fflush(io_ptr);
- }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jbig2dec.git/commitdiff/14d1fdfc974fefca8186e970aa1ce5ca45996c32



More information about the pld-cvs-commit mailing list