pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/libsixel Update to 1.7.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/60dbfe79bcfa
branches:  trunk
changeset: 351499:60dbfe79bcfa
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Aug 21 11:17:44 2016 +0000

description:
Update to 1.7.0

* Bump API/ABI version

Changelog:
                  ------------------------------
                   What's new in libsixel-1.7 ?
                  ------------------------------

* core: Upgrade stb_image to 2.12.

* core: Upgrade stb_image_write.h to v1.02.

* core: introduce canonical,fast decoder to prevent segmentation faults

* python: add row level API functions to python interface

* img2sixel: fix broken -S option

* img2sixel: fix broken animated GIF resizing feature

* example: add example/drawing

* example: add example/python

* converters: Makefile tweak from yacp(thanks to @fd00)
  https://github.com/fd00/yacp/blob/896e9bd819b373e8e99fefcec12bd85c73e7f123/libsixel/libsixel-1.6.0-1bl1.src.patch


                  ------------------------------
                   What's new in libsixel-1.6 ?
                  ------------------------------
* img2sixel: Add -R(--gri-limit) option.

* configure: Fix check for gdImageCreateFromPngPtr availability(thanks to @hattya).

* core: Upgrade stb_image to 2.10.

* core: Upgrade stb_image_write.h to v1.01.

* libsixel-config: Add --datarootdir option to libsixel-config.

* img2sixel: Solve encoder option confliction between -m/-e/-I/-b.

* core: Introduce new API for output object, sixel_output_set_gri_arg_limit().

* core: Add new API: sixel_encoder_encode_bytes().


                  ------------------------------
                   What's new in libsixel-1.5 ?
                  ------------------------------
* img2sixel: Add -k(--insecure) option.

* img2sixel: Add -B(--bgcolor) option.

* core: Introduce new API for dither object, sixel_dither_set_transparent().

* core: Respect transparency of paletted images(GIF/PNG).

* core: Introduce API set for generic image maniplation:
    sixel_frame_get_pixels()
    sixel_frame_ref()
    sixel_frame_unref()
    sixel_frame_init()
    sixel_frame_get_pixels()
    sixel_frame_get_palette()
    sixel_frame_get_width()
    sixel_frame_get_height()
    sixel_frame_get_ncolors()
    sixel_frame_get_pixelformat()
    sixel_frame_get_transparent()
    sixel_frame_get_multiframe()
    sixel_frame_get_delay()
    sixel_frame_get_frame_no()
    sixel_frame_get_loop_no()
    sixel_frame_strip_alpha()
    sixel_frame_resize()
    sixel_frame_clip()

* core: Introduce API set for load/write well-known image formats:
    sixel_helper_load_image_file()
    sixel_helper_write_image_file()

* core: Add more high level APIs (File-to-File conversion API):
    sixel_encoder_create()
    sixel_encoder_ref()
    sixel_encoder_unref()
    sixel_encoder_set_cancel_flag()
    sixel_encoder_setopt()
    sixel_encoder_encode()
    sixel_decoder_create()
    sixel_decoder_ref()
    sixel_decoder_unref()
    sixel_decoder_setopt()
    sixel_decoder_decode()

* core: Introduce new APIs for semantic error handling:
    sixel_helper_set_additional_message()
    sixel_helper_get_additional_message()
    sixel_helper_format_error()

* core: Introduce custom allocator APIs:
    sixel_allocator_new()
    sixel_allocator_ref()
    sixel_allocator_unref()
    sixel_allocator_malloc()
    sixel_allocator_calloc()
    sixel_allocator_realloc()
    sixel_allocator_free()

* core: Add new constructor methods that returns SIXELSTATUS for semantic error handling:
    sixel_output_new()
    sixel_dither_new()
    sixel_frame_new()
    sixel_encoder_new()
    sixel_decoder_new()
    sixel_allocator_new()
    sixel_output_new()
    sixel_dither_new()
    sixel_frame_new()
    sixel_encoder_new()
    sixel_decoder_new()

* core: Improve processing quality of loading paletted PNG images.

* core: Improve processing quality and performance of loading GIF images.

* core: Update stb_image.h to version 2.06

* core: Update stb_image_write.h to version 0.94

* Add Python interface

* Add Perl interface (alpha)

* Add PHP interface (alpha)

* Add Ruby interface (alpha)

* Add new build helper program: libsixel-config

* A lot of bug fixes and minor improvements.
Thanks to @msmhrt, @ttdoda, and @msmhrt.

diffstat:

 graphics/libsixel/Makefile      |   7 ++++---
 graphics/libsixel/PLIST         |   3 ++-
 graphics/libsixel/buildlink3.mk |   6 +++---
 graphics/libsixel/distinfo      |  10 +++++-----
 4 files changed, 14 insertions(+), 12 deletions(-)

diffs (68 lines):

diff -r 6ef583028288 -r 60dbfe79bcfa graphics/libsixel/Makefile
--- a/graphics/libsixel/Makefile        Sun Aug 21 10:55:15 2016 +0000
+++ b/graphics/libsixel/Makefile        Sun Aug 21 11:17:44 2016 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2016/08/03 10:22:54 adam Exp $
+# $NetBSD: Makefile,v 1.24 2016/08/21 11:17:44 ryoon Exp $
 
-DISTNAME=              libsixel-1.4.11
-PKGREVISION=           4
+DISTNAME=              libsixel-1.7.0
 CATEGORIES=            graphics
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=saitoha/}
 GITHUB_PROJECT=                libsixel
@@ -16,6 +15,8 @@
 USE_LIBTOOL=           yes
 USE_TOOLS+=            pkg-config
 
+CONFIGURE_ARGS+=       --disable-python
+
 PKGCONFIG_OVERRIDE+=   libsixel.pc.in
 
 .include "options.mk"
diff -r 6ef583028288 -r 60dbfe79bcfa graphics/libsixel/PLIST
--- a/graphics/libsixel/PLIST   Sun Aug 21 10:55:15 2016 +0000
+++ b/graphics/libsixel/PLIST   Sun Aug 21 11:17:44 2016 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2014/07/13 10:10:56 obache Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/08/21 11:17:44 ryoon Exp $
 bin/img2sixel
+bin/libsixel-config
 bin/sixel2png
 include/sixel.h
 lib/libsixel.la
diff -r 6ef583028288 -r 60dbfe79bcfa graphics/libsixel/buildlink3.mk
--- a/graphics/libsixel/buildlink3.mk   Sun Aug 21 10:55:15 2016 +0000
+++ b/graphics/libsixel/buildlink3.mk   Sun Aug 21 11:17:44 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2014/08/22 10:25:09 obache Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2016/08/21 11:17:44 ryoon Exp $
 #
 
 BUILDLINK_TREE+=       libsixel
@@ -6,8 +6,8 @@
 .if !defined(LIBSIXEL_BUILDLINK3_MK)
 LIBSIXEL_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.libsixel+=       libsixel>=0.11.0
-BUILDLINK_ABI_DEPENDS.libsixel+=       libsixel>=1.0.0
+BUILDLINK_API_DEPENDS.libsixel+=       libsixel>=1.7.0
+BUILDLINK_ABI_DEPENDS.libsixel+=       libsixel>=1.7.0
 BUILDLINK_PKGSRCDIR.libsixel?= ../../graphics/libsixel
 .endif # LIBSIXEL_BUILDLINK3_MK
 
diff -r 6ef583028288 -r 60dbfe79bcfa graphics/libsixel/distinfo
--- a/graphics/libsixel/distinfo        Sun Aug 21 10:55:15 2016 +0000
+++ b/graphics/libsixel/distinfo        Sun Aug 21 11:17:44 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.17 2015/11/03 21:34:09 agc Exp $
+$NetBSD: distinfo,v 1.18 2016/08/21 11:17:44 ryoon Exp $
 
-SHA1 (libsixel-1.4.11.tar.gz) = 53afd51994461c3974ef2944366bbc399da9f1fc
-RMD160 (libsixel-1.4.11.tar.gz) = 4a0f2b0271e413d57a7feb887cdad870d227a022
-SHA512 (libsixel-1.4.11.tar.gz) = 1e8d481e425713adca247b3490de35bb343546693a9266fbb5b22a48f182c7dc20ad3e97ac2a4469b308ee4a2557a1937edf93f461880ef058c8201a30c3efdc
-Size (libsixel-1.4.11.tar.gz) = 4057623 bytes
+SHA1 (libsixel-1.7.0.tar.gz) = 17b36709cd68bf542741739cbfc2c871aa4c9c74
+RMD160 (libsixel-1.7.0.tar.gz) = d9ead9786ee9788f6c28d5637c9485ba8ba7fc1e
+SHA512 (libsixel-1.7.0.tar.gz) = a5c22958a66341fb0e27f8a3df7044a3d963979b4d461e2bf432c97879ededd67edbc552a17a19feb8d0197f60f09fc6dbb3a0b6de19ab3e1bfeb4d8a33e2f0f
+Size (libsixel-1.7.0.tar.gz) = 4758713 bytes



Home | Main Index | Thread Index | Old Index