# jasper/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. This package (jasper) is a JPEG-2000 support library. Some graphics-related packages include their own JPEG-2000 code. For example, "ghostscript" and "netpbm" fall into this category. In some cases, packages that include JPEG-2000 code can use either their own code or the external "jasper" library (i.e., this package). To be on the safe side, this package (jasper) specifies: nosyslinks = include, lib This forces other packages to use their own JPEG-2000 code, which may prevent various problems. However, some packages need the external "jasper" library. As of 2007, ImageMagick was one example. The distro "cfg" file for a package of this type should specify: setpaths = jasper in its "settings" block. This should allow the package to use the ex- ternal "jasper" library, whether or not the library specifies "nosys- links = include, lib". #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.38 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.01 hours (or 000.50 minutes) - HP EliteBook 8560w 32GB RAM 00.01 hours (or 000.68 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.02 hours (or 001.28 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.05 hours (or 002.95 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] fortran = disabled license = See "license*.txt" in installed tree licfile = LICENSE.txt nls = disabled tmpsize = 8M unpack = relaxed setpaths = jasper jpeg #--------------------------------------------------------------------- [depends] actools cmake gawk grep jpeg libheif:forward sed xorg # With OpenGL #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE if [ "@$LACUSEHEIF" == "@" ]; then LACUSEHEIF=OFF fi if [ "@$LACUSEHEIF" == "@ON" ]; then . srcpkgpaths libheif fi mkdir obj && cd obj cmake \ -DCMAKE_BUILD_TYPE:STRING=RELEASE \ -DCMAKE_INSTALL_PREFIX=$PKGDIR_PROD \ -DALLOW_IN_SOURCE_BUILD=ON \ -DJAS_ENABLE_LIBHEIF=$LACUSEHEIF \ .. #--------------------------------------------------------------------- [build] if [ "@$LACUSEHEIF" == "@ON" ]; then . srcpkgpaths libheif else LACUSEHEIF=OFF fi cd obj smpmake make install cd .. #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_home = http://www.ece.uvic.ca/~mdadams/jasper/ url_page_debian = http://packages.debian.org/unstable/source/jasper url_pool_debian = http://ftp.debian.org/debian/pool/main/j/jasper/ url_lfs = http://linuxfromscratch.org/blfs/view/svn/\ general/jasper.html url_tarball = https://github.com/jasper-software/jasper/\ archive/version-4.2.4/jasper-4.2.4.tar.gz #--------------------------------------------------------------------- [about] From the official home page: The JasPer Project is an open-source initiative to provide a free software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1). #--------------------------------------------------------------------- [history] 170511 Updated from 1.900.1 to 2.0.12 171205 Updated to 2.0.14 210128 Updated to 2.0.24 210222 Updated to 2.0.25 210424 Updated to 2.0.28 210912 Updated to 2.0.33 240322 Updated to 4.2.2 240510 Updated to 4.2.4