View | Details | Raw Unified | Return to bug 262039 | Differences between
and this patch

Collapse All | Expand All

(-)b/graphics/jasper/Makefile (-15 / +26 lines)
Lines 1-38 Link Here
1
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
1
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
2
2
3
PORTNAME=	jasper
3
PORTNAME=	jasper
4
PORTVERSION=	2.0.33
4
DISTVERSION=	3.0.2
5
CATEGORIES=	graphics
5
CATEGORIES=	graphics
6
MASTER_SITES=	https://github.com/jasper-software/jasper/releases/download/version-${PORTVERSION}/
6
MASTER_SITES=	https://github.com/jasper-software/jasper/releases/download/version-${DISTVERSION}/
7
7
8
MAINTAINER=	sunpoet@FreeBSD.org
8
MAINTAINER=	sunpoet@FreeBSD.org
9
COMMENT=	Implementation of the codec specified in the JPEG-2000 standard
9
COMMENT=	Implementation of the codec specified in the JPEG-2000 standard
10
10
11
LICENSE=	JASPER
11
LICENSE=	JASPER
12
LICENSE_NAME=	JasPer License Version 2.0
12
LICENSE_NAME=	JasPer License Version 2.0
13
LICENSE_FILE=	${WRKSRC}/LICENSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
14
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
14
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
15
15
16
USES=		cmake cpe jpeg localbase
16
LIB_DEPENDS=	libheif.so:graphics/libheif
17
17
18
CMAKE_OFF=	JAS_ENABLE_AUTOMATIC_DEPENDENCIES JAS_ENABLE_DOC
18
USES=		cmake cpe jpeg localbase
19
CMAKE_ON=	JAS_ENABLE_LIBJPEG
19
CPE_VENDOR=	jasper_project
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
21
22
DOCSDIR=	${PREFIX}/share/doc/JasPer
22
DOCSDIR=	${PREFIX}/share/doc/JasPer
23
23
PORTDOCS=	*
24
CPE_VENDOR=	jasper_project
24
TEST_TARGET=	test
25
25
SHEBANG_FILES=	test/bin/jpcod \
26
OPTIONS_DEFINE=	OPENGL DOCS
26
		test/bin/jpdec \
27
		test/bin/jpenc \
28
		test/bin/utilities \
29
		test/bin/wrapper.in
30
31
CMAKE_OFF=	JAS_ENABLE_LATEX
32
CMAKE_ON=	BUILD_SHARED_LIBS
33
34
OPTIONS_DEFINE=	DOCS OPENGL TEST
27
OPTIONS_DEFAULT=OPENGL
35
OPTIONS_DEFAULT=OPENGL
28
OPTIONS_SUB=	yes
36
OPTIONS_SUB=	yes
29
37
30
OPENGL_CMAKE_BOOL=	JAS_ENABLE_OPENGL
38
DOCS_BUILD_DEPENDS=	doxygen>0:devel/doxygen
31
OPENGL_USE=		GL=gl,glu,glut XORG=x11,xext,xi,xmu
39
DOCS_USE=		TEX=latex
40
DOCS_CMAKE_BOOL=	JAS_ENABLE_DOC
41
32
OPENGL_USES=		gl xorg
42
OPENGL_USES=		gl xorg
43
OPENGL_USE=		GL=gl,glu,glut XORG=x11,xext,xi,xmu
44
OPENGL_CMAKE_BOOL=	JAS_ENABLE_OPENGL
33
45
34
post-install-DOCS-on:
46
TEST_BUILD_DEPENDS=	bash>0:shells/bash
35
	${MKDIR} ${STAGEDIR}${DOCSDIR}
47
TEST_USES=		shebangfix
36
	${INSTALL_DATA} ${WRKSRC}/doc/jasper.pdf ${WRKSRC}/doc/jpeg2000.pdf ${STAGEDIR}${DOCSDIR}
37
48
38
.include <bsd.port.mk>
49
.include <bsd.port.mk>
(-)b/graphics/jasper/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1642102783
1
TIMESTAMP = 1645057724
2
SHA256 (jasper-2.0.33.tar.gz) = 28d28290cc2eaf70c8756d391ed8bcc8ab809a895b9a67ea6e89da23a611801a
2
SHA256 (jasper-3.0.2.tar.gz) = 8b823a5354812c3be36a8e5a1b5b34a281bdc0e73f38d3c9a86303ee9e3cfbd3
3
SIZE (jasper-2.0.33.tar.gz) = 2027526
3
SIZE (jasper-3.0.2.tar.gz) = 2073053
(-)a/graphics/jasper/files/patch-build-cmake-modules-JasOpenGL.cmake (-11 lines)
Removed Link Here
1
--- build/cmake/modules/JasOpenGL.cmake.orig	2020-09-05 14:52:22 UTC
2
+++ build/cmake/modules/JasOpenGL.cmake
3
@@ -4,7 +4,7 @@
4
 
5
 if (JAS_ENABLE_OPENGL)
6
 	set(OpenGL_GL_PREFERENCE GLVND)
7
-	find_package(OpenGL ${JAS_REQUIRED})
8
+	find_package(OpenGL ${JAS_OPENGL_REQUIRED})
9
 	message("OpenGL library found: ${OPENGL_FOUND}")
10
 else()
11
 	set(OPENGL_FOUND false)
(-)b/graphics/jasper/pkg-plist (-5 / +5 lines)
Lines 7-35 include/jasper/jas_compiler.h Link Here
7
include/jasper/jas_config.h
7
include/jasper/jas_config.h
8
include/jasper/jas_debug.h
8
include/jasper/jas_debug.h
9
include/jasper/jas_dll.h
9
include/jasper/jas_dll.h
10
include/jasper/jas_export_cmake.h
10
include/jasper/jas_fix.h
11
include/jasper/jas_fix.h
11
include/jasper/jas_getopt.h
12
include/jasper/jas_getopt.h
12
include/jasper/jas_icc.h
13
include/jasper/jas_icc.h
13
include/jasper/jas_image.h
14
include/jasper/jas_image.h
14
include/jasper/jas_init.h
15
include/jasper/jas_init.h
16
include/jasper/jas_log.h
15
include/jasper/jas_malloc.h
17
include/jasper/jas_malloc.h
16
include/jasper/jas_math.h
18
include/jasper/jas_math.h
17
include/jasper/jas_seq.h
19
include/jasper/jas_seq.h
18
include/jasper/jas_stream.h
20
include/jasper/jas_stream.h
19
include/jasper/jas_string.h
21
include/jasper/jas_string.h
22
include/jasper/jas_thread.h
20
include/jasper/jas_tmr.h
23
include/jasper/jas_tmr.h
21
include/jasper/jas_tvp.h
24
include/jasper/jas_tvp.h
22
include/jasper/jas_types.h
25
include/jasper/jas_types.h
23
include/jasper/jas_version.h
26
include/jasper/jas_version.h
24
include/jasper/jasper.h
27
include/jasper/jasper.h
25
lib/libjasper.so
28
lib/libjasper.so
26
lib/libjasper.so.4
29
lib/libjasper.so.6
27
lib/libjasper.so.4.0.0
30
lib/libjasper.so.6.0.0
28
libdata/pkgconfig/jasper.pc
31
libdata/pkgconfig/jasper.pc
29
man/man1/imgcmp.1.gz
32
man/man1/imgcmp.1.gz
30
man/man1/imginfo.1.gz
33
man/man1/imginfo.1.gz
31
man/man1/jasper.1.gz
34
man/man1/jasper.1.gz
32
%%OPENGL%%man/man1/jiv.1.gz
35
%%OPENGL%%man/man1/jiv.1.gz
33
%%PORTDOCS%%%%DOCSDIR%%/README
34
%%PORTDOCS%%%%DOCSDIR%%/jasper.pdf
35
%%PORTDOCS%%%%DOCSDIR%%/jpeg2000.pdf

Return to bug 262039