[packages/jasper] - added nocxx patch (skip C++ compiler check in cmake) - more latex BRs

qboosh qboosh at pld-linux.org
Sat Jan 28 11:44:49 CET 2017


commit b7de025b8f0fbe96ab7837aa2a5b222911e9d7ef
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jan 28 11:46:20 2017 +0100

    - added nocxx patch (skip C++ compiler check in cmake)
    - more latex BRs

 jasper-nocxx.patch | 10 ++++++++++
 jasper.spec        |  5 +++++
 2 files changed, 15 insertions(+)
---
diff --git a/jasper.spec b/jasper.spec
index 1881cd3..be52bc5 100644
--- a/jasper.spec
+++ b/jasper.spec
@@ -13,6 +13,7 @@ Group:		Libraries
 #Source0Download: http://www.ece.uvic.ca/~frodo/jasper/#download
 Source0:	http://www.ece.uvic.ca/~frodo/jasper/software/%{name}-%{version}.tar.gz
 # Source0-md5:	06882adcf92524eb493f3cf0d3f62c9a
+Patch0:		%{name}-nocxx.patch
 URL:		http://www.ece.uvic.ca/~frodo/jasper/
 %{?with_opengl:BuildRequires:	OpenGL-glut-devel}
 BuildRequires:	cmake >= 2.8.11
@@ -20,6 +21,9 @@ BuildRequires:	doxygen
 BuildRequires:	gcc >= 6:4.7
 BuildRequires:	libjpeg-devel
 BuildRequires:	texlive-format-pdflatex
+BuildRequires:	texlive-latex-ams
+BuildRequires:	texlive-latex-extend
+BuildRequires:	texlive-latex-wasysym
 BuildRequires:	unzip
 Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -90,6 +94,7 @@ kolorów powinna jednak wystarczyć.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # there is upstream directory named "build", use different name
diff --git a/jasper-nocxx.patch b/jasper-nocxx.patch
new file mode 100644
index 0000000..1f4c7d0
--- /dev/null
+++ b/jasper-nocxx.patch
@@ -0,0 +1,10 @@
+--- jasper-2.0.10/CMakeLists.txt.orig	2016-12-30 17:53:52.000000000 +0100
++++ jasper-2.0.10/CMakeLists.txt	2017-01-28 10:34:17.024052784 +0100
+@@ -1,6 +1,6 @@
+ cmake_minimum_required (VERSION 2.8.11)
+ 
+-project(JasPer)
++project(JasPer C)
+ 
+ set(CMAKE_MODULE_PATH
+   ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/build/cmake/modules/")
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jasper.git/commitdiff/b7de025b8f0fbe96ab7837aa2a5b222911e9d7ef



More information about the pld-cvs-commit mailing list