Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Sep 2020 14:58:19 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r548374 - in head/graphics/jasper: . files
Message-ID:  <202009121458.08CEwJZ6011784@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Sep 12 14:58:19 2020
New Revision: 548374
URL: https://svnweb.freebsd.org/changeset/ports/548374

Log:
  Update to 2.0.20
  
  Changes:	https://github.com/jasper-software/jasper/blob/master/NEWS
  PR:		248912
  Exp-run by:	antoine
  Security:	6842ac7e-d250-11ea-b9b7-08002728f74c
  MFH:		2020Q3

Added:
  head/graphics/jasper/files/patch-build-cmake-modules-JasOpenGL.cmake   (contents, props changed)
Deleted:
  head/graphics/jasper/files/patch-CMakeLists.txt
Modified:
  head/graphics/jasper/Makefile
  head/graphics/jasper/distinfo
  head/graphics/jasper/pkg-plist

Modified: head/graphics/jasper/Makefile
==============================================================================
--- head/graphics/jasper/Makefile	Sat Sep 12 14:20:39 2020	(r548373)
+++ head/graphics/jasper/Makefile	Sat Sep 12 14:58:19 2020	(r548374)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	jasper
-PORTVERSION=	2.0.16
-PORTREVISION=	1
+PORTVERSION=	2.0.20
 DISTVERSIONPREFIX=	version-
 CATEGORIES=	graphics
 
@@ -17,9 +16,8 @@ LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-se
 
 USES=		cmake jpeg localbase
 
-CMAKE_ARGS=	-DCMAKE_SKIP_RPATH=true \
-		-DJAS_ENABLE_AUTOMATIC_DEPENDENCIES=false \
-		-DJAS_ENABLE_JPEG=true
+CMAKE_OFF=	JAS_ENABLE_AUTOMATIC_DEPENDENCIES
+CMAKE_ON=	JAS_ENABLE_LIBJPEG
 USE_LDCONFIG=	yes
 
 DOCSDIR=	${PREFIX}/share/doc/JasPer
@@ -31,11 +29,9 @@ OPTIONS_DEFINE=	OPENGL DOCS
 OPTIONS_DEFAULT=OPENGL
 OPTIONS_SUB=	yes
 
+DOCS_CMAKE_BOOL=	JAS_ENABLE_DOC
 OPENGL_CMAKE_BOOL=	JAS_ENABLE_OPENGL
 OPENGL_USE=		GL=gl,glu,glut XORG=x11,xext,xi,xmu
 OPENGL_USES=		gl xorg
-
-post-install-DOCS-off:
-	rm -rf ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/graphics/jasper/distinfo
==============================================================================
--- head/graphics/jasper/distinfo	Sat Sep 12 14:20:39 2020	(r548373)
+++ head/graphics/jasper/distinfo	Sat Sep 12 14:58:19 2020	(r548374)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1595416525
-SHA256 (jasper-software-jasper-version-2.0.16_GH0.tar.gz) = f1d8b90f231184d99968f361884e2054a1714fdbbd9944ba1ae4ebdcc9bbfdb1
-SIZE (jasper-software-jasper-version-2.0.16_GH0.tar.gz) = 1311944
+TIMESTAMP = 1599329835
+SHA256 (jasper-software-jasper-version-2.0.20_GH0.tar.gz) = d55843ce52afa9bfe90f30118329578501040f30d48a027459a68a962695e506
+SIZE (jasper-software-jasper-version-2.0.20_GH0.tar.gz) = 1318727

Added: head/graphics/jasper/files/patch-build-cmake-modules-JasOpenGL.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/jasper/files/patch-build-cmake-modules-JasOpenGL.cmake	Sat Sep 12 14:58:19 2020	(r548374)
@@ -0,0 +1,11 @@
+--- build/cmake/modules/JasOpenGL.cmake.orig	2020-09-05 14:52:22 UTC
++++ build/cmake/modules/JasOpenGL.cmake
+@@ -4,7 +4,7 @@
+ 
+ if (JAS_ENABLE_OPENGL)
+ 	set(OpenGL_GL_PREFERENCE GLVND)
+-	find_package(OpenGL ${JAS_REQUIRED})
++	find_package(OpenGL ${JAS_OPENGL_REQUIRED})
+ 	message("OpenGL library found: ${OPENGL_FOUND}")
+ else()
+ 	set(OPENGL_FOUND false)

Modified: head/graphics/jasper/pkg-plist
==============================================================================
--- head/graphics/jasper/pkg-plist	Sat Sep 12 14:20:39 2020	(r548373)
+++ head/graphics/jasper/pkg-plist	Sat Sep 12 14:58:19 2020	(r548374)
@@ -3,6 +3,7 @@ bin/imginfo
 bin/jasper
 %%OPENGL%%bin/jiv
 include/jasper/jas_cm.h
+include/jasper/jas_compiler.h
 include/jasper/jas_config.h
 include/jasper/jas_debug.h
 include/jasper/jas_dll.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009121458.08CEwJZ6011784>