Changes: - In the JPC codec, the requirement that the number of tile parts be at least one has been removed (since the JPEG-2000 standard allows a special value of zero to mean the number of tile parts is unspecified). - add option to disable programs - Include jasper/jas_debug.h when using jas_eprintf Fixes building with -Werror=implicit-function-declaration. - Applied patches to resolve some missing export problems. See: https://github.com/mdadams/jasper/issues/122 - Moved inttypes.h and stdbool.h includes to jas_types.h and fixed the build for Visual Studio 2012 and lower. - Correct or add comments for jas_safe_* functions Mostly fixing bad copy-n-paste issues, or functions added without any comment. - Added a check in the JP2 encoder to ensure that the image to be coded has at least one component. Also, made some small changes to a private build script. - Fixed bugs due to uninitialized data in the JP2 decoder. Also, added some comments marking I/O stream interfaces that probably need to be changed (in the long term) to fix integer overflow problems. - Added some additional checking to prevent a potential integer overflow due to conversion in the JPC decoder. - Added numerous more-detailed error messages for the JPC and JP2 codecs. - Added a partial verbose capability for the run_test_1 script. - Moved a test case from the bad category to the good category, as the test case had been miscategorized. - Add some regression test cases. - Fixed some potential double-free problems in the JPC codec.
21 lines
556 B
Makefile
21 lines
556 B
Makefile
# $NetBSD: Makefile,v 1.50 2017/11/23 19:16:28 snj Exp $
|
|
|
|
DISTNAME= jasper-2.0.14
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.ece.uvic.ca/~mdadams/jasper/software/
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= http://www.ece.uvic.ca/~mdadams/jasper/
|
|
COMMENT= Software-based reference implementation of the JPEG-2000 codec
|
|
LICENSE= modified-bsd
|
|
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c99 c++
|
|
CMAKE_ARGS+= -DALLOW_IN_SOURCE_BUILD=ON
|
|
|
|
PKGCONFIG_OVERRIDE= pkgconfig/jasper.pc
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|