head 1.28; access; symbols pkgsrc-2023Q4:1.28.0.2 pkgsrc-2023Q4-base:1.28 pkgsrc-2023Q3:1.26.0.4 pkgsrc-2023Q3-base:1.26 pkgsrc-2023Q2:1.26.0.2 pkgsrc-2023Q2-base:1.26 pkgsrc-2023Q1:1.23.0.2 pkgsrc-2023Q1-base:1.23 pkgsrc-2022Q4:1.21.0.4 pkgsrc-2022Q4-base:1.21 pkgsrc-2022Q3:1.21.0.2 pkgsrc-2022Q3-base:1.21 pkgsrc-2022Q2:1.20.0.2 pkgsrc-2022Q2-base:1.20 pkgsrc-2022Q1:1.18.0.2 pkgsrc-2022Q1-base:1.18 pkgsrc-2021Q4:1.17.0.10 pkgsrc-2021Q4-base:1.17 pkgsrc-2021Q3:1.17.0.8 pkgsrc-2021Q3-base:1.17 pkgsrc-2021Q2:1.17.0.6 pkgsrc-2021Q2-base:1.17 pkgsrc-2021Q1:1.17.0.4 pkgsrc-2021Q1-base:1.17 pkgsrc-2020Q4:1.17.0.2 pkgsrc-2020Q4-base:1.17 pkgsrc-2020Q3:1.14.0.2 pkgsrc-2020Q3-base:1.14 pkgsrc-2020Q2:1.12.0.2 pkgsrc-2020Q2-base:1.12 pkgsrc-2020Q1:1.9.0.2 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.4.0.4 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.1.0.2 pkgsrc-2019Q3-base:1.1; locks; strict; comment @# @; 1.28 date 2023.11.12.13.22.06; author wiz; state Exp; branches; next 1.27; commitid SjpNXQIV5XeZ3kME; 1.27 date 2023.10.21.17.10.33; author gdt; state Exp; branches; next 1.26; commitid Sr0Nb6aaZLDw2wJE; 1.26 date 2023.05.28.20.55.00; author fcambus; state Exp; branches; next 1.25; commitid 6gdSnWS6r260ZLqE; 1.25 date 2023.05.23.08.25.44; author fcambus; state Exp; branches; next 1.24; commitid orsjBG2kP8KUZ3qE; 1.24 date 2023.05.22.11.39.01; author wiz; state Exp; branches; next 1.23; commitid wHwCxvZphlIb6XpE; 1.23 date 2023.01.29.21.16.39; author ryoon; state Exp; branches; next 1.22; commitid QL7aBXsBGmQvUtbE; 1.22 date 2023.01.03.17.37.25; author wiz; state Exp; branches; next 1.21; commitid vvAqE6UmuqFFx78E; 1.21 date 2022.06.27.15.29.15; author fcambus; state Exp; branches; next 1.20; commitid IQmQDlWLRNqyWGJD; 1.20 date 2022.04.26.07.54.29; author fcambus; state Exp; branches; next 1.19; commitid E7tvM8yiYZcqqGBD; 1.19 date 2022.04.14.16.50.41; author fcambus; state Exp; branches; next 1.18; commitid pSeZy6t3rWTeMbAD; 1.18 date 2022.02.10.20.37.02; author fcambus; state Exp; branches; next 1.17; commitid A1443cKfdXfs37sD; 1.17 date 2020.10.27.23.05.01; author fcambus; state Exp; branches; next 1.16; commitid H7ytsyxoJ1kR0BtC; 1.16 date 2020.10.22.20.52.16; author fcambus; state Exp; branches; next 1.15; commitid Hb2SQGg22UHirWsC; 1.15 date 2020.10.01.09.35.13; author fcambus; state Exp; branches; next 1.14; commitid RSjKzPG2hQ0PmbqC; 1.14 date 2020.09.24.09.40.19; author fcambus; state Exp; branches; next 1.13; commitid 1zlOshl3VIVAChpC; 1.13 date 2020.08.17.20.19.04; author leot; state Exp; branches; next 1.12; commitid ybGS4iX9Fz8imskC; 1.12 date 2020.06.21.08.01.25; author fcambus; state Exp; branches; next 1.11; commitid 87PCs2eoEqB084dC; 1.11 date 2020.05.25.17.09.09; author fcambus; state Exp; branches; next 1.10; commitid HJqwNu5bQ9QH1E9C; 1.10 date 2020.05.01.09.31.44; author fcambus; state Exp; branches; next 1.9; commitid 3ExhkgMqSBWygw6C; 1.9 date 2020.03.17.14.30.35; author fcambus; state Exp; branches; next 1.8; commitid QXcBe9CLJRPMmL0C; 1.8 date 2020.02.17.14.42.02; author fcambus; state Exp; branches; next 1.7; commitid 1Lrt1sk78Cwxm2XB; 1.7 date 2020.01.20.16.11.05; author fcambus; state Exp; branches; next 1.6; commitid KiJJrlQjOT0RKrTB; 1.6 date 2020.01.19.23.07.29; author fcambus; state Exp; branches; next 1.5; commitid aGPxsNjNhwMF5mTB; 1.5 date 2020.01.01.23.02.59; author fcambus; state Exp; branches; next 1.4; commitid Y1ped0pRKaH1E2RB; 1.4 date 2019.11.19.14.23.02; author fcambus; state Exp; branches; next 1.3; commitid G5iJtIcs0nKl9tLB; 1.3 date 2019.10.29.09.37.33; author fcambus; state Exp; branches; next 1.2; commitid G54ZxW4kZiUdfKIB; 1.2 date 2019.10.07.08.37.48; author fcambus; state Exp; branches; next 1.1; commitid RWF14ceEFpJCCUFB; 1.1 date 2019.06.30.21.58.17; author fcambus; state Exp; branches; next ; commitid 9wAX5q7z40hBegtB; desc @@ 1.28 log @*: revebump for new brotli option for freetype2 Addresses PR 57693 @ text @# $NetBSD: Makefile,v 1.27 2023/10/21 17:10:33 gdt Exp $ DISTNAME= libansilove-1.4.1 PKGREVISION= 2 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GITHUB:=ansilove/} GITHUB_RELEASE= ${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://www.ansilove.org/ COMMENT= Library for converting ANSI, ASCII, and other formats to PNG LICENSE= 2-clause-bsd USE_LANGUAGES= c99 USE_CMAKE= yes .include "../../graphics/gd/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.27 log @recursive revbump for tiff update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2023/05/28 20:55:00 fcambus Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.26 log @libansilove: update to 1.4.1. libansilove 1.4.1 (2023-05-28) - Sync embedded Spleen 8x16 version to Spleen 2.0.0 (this swap arrows at positions 1A and 1B) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2023/05/23 08:25:44 fcambus Exp $ d4 1 @ 1.25 log @libansilove: update to 1.4.0. libansilove 1.4.0 (2023-05-23) - Add initial RPM spec file - Add font data for Spleen 8x16, it now has full CP437 support @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2023/05/22 11:39:01 wiz Exp $ d3 1 a3 1 DISTNAME= libansilove-1.4.0 @ 1.24 log @*: recursive bump for libimagequant 4.x @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2023/01/29 21:16:39 ryoon Exp $ d3 1 a3 2 DISTNAME= libansilove-1.3.1 PKGREVISION= 3 @ 1.23 log @*: Recursive revbup from graphics/freetype2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2023/01/03 17:37:25 wiz Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.22 log @*: recursive bump for tiff shlib major bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2022/06/27 15:29:15 fcambus Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.21 log @*: drop maintainership for packages not related to toolchains and ELF. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2022/04/26 07:54:29 fcambus Exp $ d4 1 @ 1.20 log @libansilove: update to 1.3.1. libansilove 1.3.1 (2022-04-26) - Increment pcboard_buffer by more than one element at a time - Fix XBin font memory leaks @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2022/04/14 16:50:41 fcambus Exp $ d8 1 a8 1 MAINTAINER= fcambus@@NetBSD.org @ 1.19 log @libansilove: update to 1.3.0. libansilove 1.3.0 (2022-04-14) - Properly handle 512 characters XBin fonts - Add a link to the Gentoo package in the README - Also build and install libansilove as a static library - List projects using libansilove in the README @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2022/02/10 20:37:02 fcambus Exp $ d3 1 a3 1 DISTNAME= libansilove-1.3.0 @ 1.18 log @libansilove: update to 1.2.9. libansilove 1.2.9 (2022-02-10) - Stop forcing FORTIFY_SOURCE=2, it should be package builders decision - Bump CMake minimum required version to 3.1 - Add SPDX short license identifier in source files - Use CMAKE_C_STANDARD instead of hardcoding compiler flags - Add missing include @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2020/10/27 23:05:01 fcambus Exp $ d3 1 a3 1 DISTNAME= libansilove-1.2.9 @ 1.17 log @libansilove: update to 1.2.8. libansilove 1.2.8 (2020-10-25) - Add LibFuzzer-based fuzzers for each supported format - Do not hardcode CMAKE_BUILD_TYPE to "Release" in CMakeLists.txt - Only enable FORTIFY_SOURCE level 2 for release builds - Add #ifdef __cplusplus extern "C" to allow calling library functions from C++ - Constify input and output arguments of ansilove_loadfile() and ansilove_savefile() @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2020/10/22 20:52:16 fcambus Exp $ d3 1 a3 1 DISTNAME= libansilove-1.2.8 @ 1.16 log @libansilove: update to 1.2.7. libansilove 1.2.7 (2020-10-21) - Error out early with ANSILOVE_FORMAT_ERROR in case ctx->length is 0 - Enable FORTIFY_SOURCE level 2 - Set CMAKE_BUILD_TYPE to "Release" in CMakeLists.txt - Move variables declaration to the top of each loader function - Initialize ansi_buffer and pcboard_buffer to NULL - Refactor the IceDraw loader to use a state machine - Check strndup() return value and error out on failed allocations - Add some file format integrity checks in the IceDraw loader - Add range integrity checks for scale_factor values in the output() function - Return error code directly if ctx->length is 0 in the ANSI and PCBoard loaders - Add range integrity checks for columns value in relevant loaders - Add range integrity checks for bits value in relevant loaders - Add additional file format integrity check in the XBin loader @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2020/10/01 09:35:13 fcambus Exp $ d3 1 a3 1 DISTNAME= libansilove-1.2.7 @ 1.15 log @libansilove: update to 1.2.6. libansilove 1.2.6 (2020-09-30) - Introduce canvas' width/height variables and refactor canvas creation - Refactor calls to drawchar() in the ANSI loader - Refactor the ANSI loader to use a state machine - Remove systematic filtering of Form Feed characters in Amiga mode - Correct values for TUNDRA_COLOR_FOREGROUND and TUNDRA_COLOR_BACKGROUND - Switch to using reallocarray(3) in the ANSI and PCBoard loaders - Add a compat layer for systems which do not have reallocarray(3) - Refactor canvas allocation for retina output - Introduce the ANSILOVE_RANGE_ERROR macro, for values out of allowed range - Error gracefully if canvas' width or height is equal to zero - Remove an useless comparison in drawchar() - Add some file format integrity checks in the Tundra loader - Refactor error handling in several loaders @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2020/09/24 09:40:19 fcambus Exp $ d3 1 a3 1 DISTNAME= libansilove-1.2.6 @ 1.14 log @libansilove: update to 1.2.5. libansilove 1.2.5 (2020-09-24) - Add missing parentheses in an if statement in output() - Define CR, LF, TAB, SUB, and ESC macros only once - Refactor error handling in the PCBoard loader - Stop parsing for PCBoard cursor position sequences - Add bound checks for {back,fore}ground color values in the PCBoard loader - Fix default background and foreground colors in the PCBoard loader - Refactor the PCBoard loader to use a state machine - Refactor the Binary loader to use a state machine - Refactor the Artworx loader to use a state machine - Add some file format integrity checks in the XBin loader @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2020/08/17 20:19:04 leot Exp $ d3 1 a3 1 DISTNAME= libansilove-1.2.5 @ 1.13 log @*: revbump after fontconfig bl3 changes (libuuid removal) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2020/06/21 08:01:25 fcambus Exp $ d3 1 a3 2 DISTNAME= libansilove-1.2.4 PKGREVISION= 1 @ 1.12 log @libansilove: update to 1.2.4. libansilove 1.2.4 (2020-06-21) - Use size_t in for loops setting color palettes - Remove unneeded gdImageFill() call when using Workbench mode - Define _GNU_SOURCE in CMakeLists.txt to avoid cluttering source files - Use size_t type for variables used to loop over arrays - Separate RGB values for palettes, makes color allocation code more readable and efficient - Move ADF color mapping array to config.h @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2020/05/25 17:09:09 fcambus Exp $ d4 1 @ 1.11 log @libansilove: update to 1.2.3. ChangeLog: libansilove 1.2.3 (2020-05-25) - Call memset() to set all fontData struct fields to zero in all loaders - Refactor error handling in ansilove_savefile() - Add error handling for fwrite() in ansilove_savefile() - Fix includes in various source files @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2020/05/01 09:31:44 fcambus Exp $ d3 1 a3 1 DISTNAME= libansilove-1.2.3 @ 1.10 log @libansilove: update to 1.2.2. ChangeLog: libansilove 1.2.2 (2020-04-30) - Refactor the output function, to allow combining DOS aspect ratio and Retina - Remove the im_ prefix for all gdImagePtr variables - Various README changes and improvements @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2020/03/17 14:30:35 fcambus Exp $ d3 1 a3 1 DISTNAME= libansilove-1.2.2 @ 1.9 log @libansilove: update to 1.2.1. ChangeLog: libansilove 1.2.1 (2020-03-17) - Call memset() to set all fontData struct fields to zero - Use the ternary operator to simplify character attributes assignments @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2020/02/17 14:42:02 fcambus Exp $ d3 1 a3 1 DISTNAME= libansilove-1.2.1 @ 1.8 log @libansilove: update to 1.2.0. ChangeLog: libansilove 1.2.0 (2020-02-17) - Correct section number in manual page. - Add initial manual pages for all library functions and file formats renders - Stop calculating columnMax in the PCBoard loader, it's unused - Add support for user-specified columns in the PCBoard loader @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2020/01/20 16:11:05 fcambus Exp $ d3 1 a3 1 DISTNAME= libansilove-1.2.0 @ 1.7 log @libansilove: update to 1.1.9. ChangeLog: libansilove 1.1.9 (2020-01-20) - Remove unneeded gdImageColorAllocate calls in the ADF and IDF loaders - Reset background24 to 0 when encountering blink attribute in an SGR sequence, fixing the remaining rendering bugs for 24-bit ANSI artworks @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2020/01/19 23:07:29 fcambus Exp $ d3 1 a3 1 DISTNAME= libansilove-1.1.9 @ 1.6 log @libansilove: update to 1.1.8. ChangeLog: libansilove 1.1.8 (2020-01-18) - Use OpenBSD style(9) for function prototypes and declarations - Properly reset pcboard buffer when CLS is encountered - Use memcmp() instead of testing each character one by one in the PCB loader - Do not use background and foreground variables to handle 24-bit ANSI colors - Various improvements in the IDF loader @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2020/01/01 23:02:59 fcambus Exp $ d3 1 a3 1 DISTNAME= libansilove-1.1.8 @ 1.5 log @libansilove: update to 1.1.7. ChangeLog: libansilove 1.1.7 (2019-12-19) - Rename the alSelectFont() function to select_font() - Only export symbols which are part of the public API @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2019/11/19 14:23:02 fcambus Exp $ d3 1 a3 1 DISTNAME= libansilove-1.1.7 @ 1.4 log @libansilove: update to 1.1.6. ChangeLog: libansilove 1.1.6 (2019-11-18) - Use CMAKE_INSTALL_{LIB,INCLUDE}DIR instead of hardcoding directories - Introduce a XBIN_PALETTE_LENGTH macro - Use XBIN_HEADER_LENGTH and XBIN_PALETTE_LENGTH macros instead of magic numbers - Add another format validation check (palette size) in the XBin loader @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2019/10/29 09:37:33 fcambus Exp $ d3 1 a3 1 DISTNAME= libansilove-1.1.6 @ 1.3 log @libansilove: update to 1.1.5. ChangeLog: libansilove 1.1.5 (2019-10-14) - Move background transparency operations in the output function - Allow setting transparent background for retina images - Add extern declaration for fonts data arrays - Use type size_t for loop and structIndex variables @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2019/10/07 08:37:48 fcambus Exp $ d3 1 a3 1 DISTNAME= libansilove-1.1.5 @ 1.2 log @libansilove: update to 1.1.4. ChangeLog: libansilove 1.1.4 (2019-09-13) - Force xbin_fontsize to 16 when using default 80x25 font - Return ANSILOVE_FORMAT_ERROR if xbin_fontsize > 32 libansilove 1.1.3 (2019-08-23) - Omit implicit return in the example program - Use a switch statement to set 24-bit background and foreground values - Remove superfluous background color allocations in the Binary, PCBoard and XBin loaders - Modify the PCBoard loader to use a cursor pointer to parse input - Infer font height to 16 in the XBin loader, the default in absence of font data (Thanks Andrew Herbert) OK kamil@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2019/06/30 21:58:17 fcambus Exp $ d3 1 a3 1 DISTNAME= libansilove-1.1.4 @ 1.1 log @graphics/libansilove: import libansilove-1.1.2. Library for converting ANSI, ASCII, and other formats to PNG, allowing to render ANSI and artscene-related file formats into PNG images, and supporting ANSI (.ANS), PCBoard (.PCB), Binary (.BIN), Artworx (.ADF), iCE Draw (.IDF), Tundra (.TND) and XBin (.XB) formats. It creates size optimized 4-bit PNG files and supports SAUCE (Standard Architecture for Universal Comment Extentions), 80x25 and 80x50 PC fonts (including all the 14 MS-DOS charsets), Amiga fonts, and iCE colors. OK kamil@@ @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= libansilove-1.1.2 @