Commit graph

20 commits

Author SHA1 Message Date
fcambus
b3e0746380 ansilove: update to 4.1.4.
AnsiLove/C 4.1.4 (2020-10-22)

- Set CMAKE_BUILD_TYPE to "Release" in CMakeLists.txt
- Enable FORTIFY_SOURCE level 2
- Move read_status variable declaration to the top of the function
- Check fread() return values in readComments() and add error handling
- Introduce the READ_RECORD function-like macro, for fread error handling
- Use READ_RECORD in readRecord() to add fread() error handling
- Only call memset() if the malloc call succeeds
- Check strdup() return value and error out on failed allocation
2020-10-22 20:53:41 +00:00
fcambus
dd731f8bdb ansilove: update to 4.1.3.
AnsiLove/C 4.1.3 (2020-09-18)

- Adjust SAUCE flag output to be binary
- Add -S flag to use SAUCE info for rendering hints. Users must now use -S
  to get iCE color info. This was previously automatically pulled without
  any extra options.
- Document the new -S flag, allowing to use SAUCE info for render options
- Add support for seccomp on arm
- Add missing test for __NR_mmap, the mmap syscall doesn't exist on arm
2020-09-18 07:25:09 +00:00
fcambus
34469d4a53 ansilove: update to 4.1.2.
AnsiLove/C 4.1.2 (2020-07-04)

- Define _GNU_SOURCE in CMakeLists.txt to avoid cluttering source files
- No need to set HAVE_SECCOMP to 1, defining it is enough
- Remove some unneeded seccomp related includes
- Validate architectures for seccomp
- Add seccomp support on i386, tested on glibc and musl
- Remove extraneous underscore in #if defined check
- Use __NR_ instead of SYS_ prefix in #if defined checks
2020-07-04 19:54:37 +00:00
fcambus
71a2430823 ansilove: update to 4.1.1.
ChangeLog:

AnsiLove/C 4.1.1 (2020-05-25)

- Various documentation tweaks and improvements
- Define timespecsub macro in compat.h if it doesn't exists
- Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available
- Display processing time on exit
- Fix includes and add forward declarations in various source files
2020-05-25 17:10:20 +00:00
fcambus
62978f0eff ansilove: add GITHUB_RELEASE directive and enable test suite. 2020-03-30 10:53:56 +00:00
fcambus
54f4ad1cb2 ansilove: update to 4.1.0.
ChangeLog:

AnsiLove/C 4.1.0 (2020-02-17)

- Add a new '-t' flag (type), allowing to specify input file type and
  override file type detection
- Various documentation tweaks and improvements
2020-02-17 14:44:54 +00:00
fcambus
5131a385a1 ansilove: update to 4.0.7.
ChangeLog:

AnsiLove/C 4.0.7 (2020-01-18)

- Use OpenBSD style(9) for function prototypes and declarations
- Replace EXIT_SUCCESS by zero in all SAUCE functions
- Do not use typedef for the sauce struct
- Set icecolors to true if defined in SAUCE record ANSiFlags
- Add test cases for most supported formats, missing an IDF file for now
- Sync the description of Retina output capabilities with reality
2020-01-19 23:10:30 +00:00
fcambus
3793c03167 ansilove: update to 4.0.6.
ChangeLog:

AnsiLove/C 4.0.6 (2019-12-10)

- Remove extraneous sauceReadFileName() call, read from existing SAUCE record
- Use strdup() when assigning fileName and fext fallback values
- Call memset() to set all record struct fields to zero
- Free SAUCE record and comments once and for all when exiting the program
2019-12-12 10:04:53 +00:00
fcambus
7515ef5127 ansilove: update to 4.0.5.
ChangeLog:

AnsiLove/C 4.0.5 (2019-11-19)

- Add ENABLE_SECCOMP build option, to allow building seccomp support
  conditionally
- Disable seccomp by default, it needs more testing on non !amd64 platforms
- Use ${CMAKE_INSTALL_BINDIR} instead of hardcoding 'bin'
2019-11-19 14:24:54 +00:00
fcambus
a4bbab80f0 ansilove: update to 4.0.4.
ChangeLog:

AnsiLove/C 4.0.4 (2019-10-28)

- Add initial seccomp support to Ansilove
- Move pledge and seccomp initialization before ansilove_init()
- Move conditional includes for 'pledge' and 'strtonum' in compat.h
2019-10-29 09:41:06 +00:00
fcambus
b6c5ca5024 ansilove: Update to 4.0.3.
ChangeLog:

AnsiLove/C 4.0.3 (2019-08-16)

- Use errx() for displaying error messages
- Print information messages on stdout
- Introduce a version() function to display version information
- Add a -q flag (quiet) to allow silencing output messages

OK kamil@
2019-08-16 19:29:10 +00:00
fcambus
a9d3bf15fa ansilove: Update to 4.0.2.
ChangeLog:

AnsiLove/C 4.0.2 (2019-08-13)

- Remove most examples from the repository, they continue to live on the
  website
- Move the remaining examples in per author directories, and add LICENSE
  files for these artworks, courtesy of their authors

OK kamil@
2019-08-14 13:27:09 +00:00
fcambus
15561a4495 ansilove: Update to 4.0.1.
ChangeLog:

AnsiLove/C 4.0.1 (2019-06-25)

- Fix a few typos in README and ansilove.1
- Simplify display of default font when no font option is specified
- Drop the leading dot when saving input file extension
- Fix the check for readComments() return value

AnsiLove/C 4.0.0 (2019-01-16)

- Switch to using libansilove
- Add a new switch (-d) to toggle DOS aspect ratio
- Add initial support for PabloDraw 24-bit ANSI sequences
- Ansilove now generates only one output file when -r or -R options
  are used
- Display scale factor when -r or -R options are used
- Allow to specify the number of columns for ANSI and Tundra files
- Restrict maximum allowed number of columns to 4096
- Check asprintf() return value and error if allocation fails
- Bugfixes and improvements in the SAUCE parser
- Refactor font selection processing
- Refactor rendering mode processing
- Use OpenBSD style(9) for function prototypes and declaration
- Add missing headers and remove unnecessary ones
- Remove versionInfo(), simply print the header with version information
  when invoked with -v
- Remove showHelp(), show synopsis instead when invoked with -h
- Add a new example ANSi (Thanks Nail)
- Remove -e switch, examples are now listed in the man page instead
- Make synopsis() only display SYNOPSIS, as it should be.
- Add an EXAMPLES section in ansilove.1
- PC fonts for code pages other than cp437 are now named using the cpNNN
  scheme. Albeit not documented anymore, the previously used names will
  keep working

OK kamil@
2019-07-02 15:46:04 +00:00
fcambus
bcae3c8194 ansilove: Update to 3.0.9.
ChangeLog:

AnsiLove/C 3.0.9 (2018-06-19)

- Add a new example ANSi (Thanks Sylvao)
- Do not use -Werror by default
- Increment maximum ansi sequences length
- Add code to skip PabloDraw 24-bit ANSI sequences

AnsiLove/C 3.0.8 (2017-12-20)

- Adding new example ANSis (Thanks Burps)
- Use asprintf() to create output filenames
- Reflect OpenBSD's pledge() changes
- Add a -R flag allowing to specify a custom retina scale factor

AnsiLove/C 3.0.7 (2017-07-02)

- Print messages to to stderr instead of stdout
- Ensure binary files have an even size
- Better description of supported file formats
- Skip erase in line (EL) sequences (issue reported by Bart Dumon, thanks!)
- Define palettes in config.h
- Use defined palettes instead of hardcoding each color value in the loaders

AnsiLove/C 3.0.6 (2017-04-22)

- Create an output function to unify the way output files are created
- Prevent .png suffix to be appended when using -o flag (*NIX tool
  convention compatibility)

AnsiLove/C 3.0.5 (2017-04-16)

- Free memory allocated in the PCBoard loader
- Free font data where appropriate
- Add a trailing NUL character to inputFileBuffer
- Remove the custom substr function, call strndup directly
- Free seqGrab where necessary
- Use the ternary operator when shitfing cursor position
- Use perror when printing errors
- Remove SUBSTITUTE_BREAK and WRAP_COLUMN_80 options
- Use fstat to get the input file size
- Create a retina function instead of duplicating code in all loaders
- Fix OpenBSD's style(9) offenders in compat functions

OK kamil@
2019-06-17 21:31:26 +00:00
wiz
c57215a7b2 Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
wiz
8733ee0040 Follow some http -> https redirects. 2017-08-01 14:58:51 +00:00
ryoon
50aefac5f6 Recursive revbump from graphics/libwebp 2017-02-28 15:19:58 +00:00
kamil
01de61c72e Update ansilove to 3.0.4
pkgsrc changes:
 - reset maintainer to pkgsrc-users@NetBSD.org
 - set new license modified-bsd -> 2-clause-bsd

upstream changes:
- Relicensed under the BSD 2-Clause license
- Input file is now loaded in main, prior to calling format loaders
- Use stat to get input file size instead of custom file size function
- Remove now unused file size function
- Refactoring bits and columns argument value handling
2016-09-11 15:47:20 +00:00
adam
77b8ed74db Revbump after graphics/gd update 2016-08-03 10:22:08 +00:00
kamil
5d3bbeac40 Import ansilove-3.0.3 as graphics/ansilove
AnsiLove is an ANSI and ASCII art to PNG converter, allowing to convert
ANSI and artscene-related file formats into PNG images, 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.

Originally packaged in pkgsrc-wip by Frederic Cambus.
2016-07-26 17:40:39 +00:00