[packages/openjpeg2] - up to 2.3.0

arekm arekm at pld-linux.org
Sun Oct 22 11:04:58 CEST 2017


commit c24a396823c988163f3de9ad2a7de705b4bf510b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Oct 22 11:04:51 2017 +0200

    - up to 2.3.0

 openjpeg2-headers.patch | 21 ---------------------
 openjpeg2.spec          | 14 ++++++--------
 2 files changed, 6 insertions(+), 29 deletions(-)
---
diff --git a/openjpeg2.spec b/openjpeg2.spec
index c822f7d..9ca6df6 100644
--- a/openjpeg2.spec
+++ b/openjpeg2.spec
@@ -1,14 +1,13 @@
 Summary:	An open-source JPEG 2000 codec
 Summary(pl.UTF-8):	Biblioteka kodująca i dekodująca format JPEG 2000
 Name:		openjpeg2
-Version:	2.1.2
+Version:	2.3.0
 Release:	1
 License:	BSD
 Group:		Libraries
 #Source0Download: https://github.com/uclouvain/openjpeg/releases/
 Source0:	https://github.com/uclouvain/openjpeg/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	40a7bfdcc66280b3c1402a0eb1a27624
-Patch0:		%{name}-headers.patch
+# Source0-md5:	6a1f8aaa1fe55d2088e3a9c942e0f698
 URL:		http://www.openjpeg.org/
 BuildRequires:	cmake >= 2.8.2
 BuildRequires:	doxygen
@@ -59,7 +58,6 @@ Programy kodujące/dekodujące dla biblioteki OpenJPEG 2.
 
 %prep
 %setup -q -n openjpeg-%{version}
-%patch0 -p1
 
 %build
 %cmake . \
@@ -84,7 +82,7 @@ rm -rf $RPM_BUILD_ROOT
 	DESTDIR=$RPM_BUILD_ROOT
 
 # packaged as doc
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/openjpeg-2.1
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/openjpeg-2.3
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/html
 
 %clean
@@ -102,9 +100,9 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libopenjp2.so
-%{_includedir}/openjpeg-2.1
-%dir %{_libdir}/openjpeg-2.1
-%{_libdir}/openjpeg-2.1/OpenJPEG*.cmake
+%{_includedir}/openjpeg-2.3
+%dir %{_libdir}/openjpeg-2.3
+%{_libdir}/openjpeg-2.3/OpenJPEG*.cmake
 %{_pkgconfigdir}/libopenjp2.pc
 %{_mandir}/man3/libopenjp2.3*
 
diff --git a/openjpeg2-headers.patch b/openjpeg2-headers.patch
deleted file mode 100644
index 44bb4ac..0000000
--- a/openjpeg2-headers.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- openjpeg-2.0.0/src/lib/openjp2/openjpeg.h.orig	2012-11-19 15:26:08.000000000 +0100
-+++ openjpeg-2.0.0/src/lib/openjp2/openjpeg.h	2013-01-07 17:09:24.649324889 +0100
-@@ -103,6 +103,8 @@ typedef uint64_t OPJ_UINT64;
- /* Avoid compile-time warning because parameter is not used */
- #define OPJ_ARG_NOT_USED(x) (void)(x)
- 
-+#include <stdio.h>
-+
- /* 
- ==========================================================
-    Useful constant definitions
---- openjpeg-2.1.0/src/lib/openjp2/opj_stdint.h~	2014-04-29 09:15:02.000000000 +0200
-+++ openjpeg-2.1.0/src/lib/openjp2/opj_stdint.h	2014-11-04 21:22:12.492474675 +0100
-@@ -32,6 +32,7 @@
- #define OPJ_STDINT_H
- 
- #include "opj_config.h"
-+#include <stddef.h>
- #ifdef OPJ_HAVE_STDINT_H
- #include <stdint.h>
- #else
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openjpeg2.git/commitdiff/c24a396823c988163f3de9ad2a7de705b4bf510b



More information about the pld-cvs-commit mailing list