pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/imlib2 graphics/imlib2: Updated to 1.9.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/639367c0d077
branches:  trunk
changeset: 382457:639367c0d077
user:      rin <rin%pkgsrc.org@localhost>
date:      Fri Jul 29 05:56:08 2022 +0000

description:
graphics/imlib2: Updated to 1.9.1

* incompatible changes

imlib2-config has been dropped since 1.7.5. Users must switch to pkg-config.
Affected packages will be updated soon.

* upstream ChangeLog

v1.9.1 - 2022-07-06
--------------------
Kim Woelders (14):
      x11_color: Simplify and fix error paths
      JPEG loader: Use mmap'ed file access
      modules: Eliminate __imlib_TrimLoaderList()
      Introduce strsplit()
      modules: Cosmetics, mostly
      modules: Enable setting multiple loader/filter paths
      test: Add test_misc
      modules: Fix signdness warning
      TIFF loader: Change default save compression type
      imlib2_load: Remove unused macro
      imlib2_conv: Cosmetic changes
      imlib2_conv: Drop obsolete .db stuff, simplify
      imlib2_conv: Enable passing attached data to saver
      v1.9.1

NRK (3):
      check for some alloc failures
      check for alloc failures some more
      modules: check for filepath truncation

v1.9.0 - 2022-04-21
--------------------
Kim Woelders (53):
      Remove some deprecation comments
      Move API documentation to header file
      WEBP saver: Fix return code on success
      api.c: Cosmetics
      Refactor some image loading functions
      Refactor some image saving functions
      Image load: Change error code on zero file size
      Tweak __imlib_LoadImageData()
      Error code rework: Use errnos/new imlib2 error codes internally
      Add imlib_load/save_image_with_errno_return() and imlib_strerror()
      Switch to imlib_load/save_image_with_errno_return()
      Deprecate imlib_load/save_image_with_error_return()
      imlib2_load: Tweak verbose output
      Rename files with line etc. drawing functions
      Use stdint types instead of DATA32 etc.
      test_load: Check deferred loading too
      imlib2_load: Show load time per load too
      image.c: Correct loader probe loop
      image.c: Cosmetics (move function)
      GZ loader: Fix uncompressor exit code
      GIF loader: Use mmap'ed file access
      image.c: Loading tweaks
      imlib2_view: Verbose and debug message tweaks
      Loaders: Some trivial cosmetics
      Loaders: Remove unnecessary calls to __imlib_FreeData()
      debug: Enable using hex values in IMLIB2_DEBUG
      SVG loader: Requires librsvg-2.46
      TIFF loader: Use mmap'ed file access
      Add jxl loader
      test: Add basic jxl test
      test_save: Updates
      loaders: Ensure that found loader is ok for load/save
      image: Fix undesired change of format
      Drop deprecation noise from using the old DATA types
      Drop deprecation noise from using imlib_load/save_image_with_error_return()
      API doc corrections and tweaks for doxygen
      Revert a couple of unintended changes
      API doc updates
      doc: Drop most old doc stuff
      doc: New documentation build setup (doxygen)
      doc: Assorted documentation intro updates
      loaders: Fix typo, fix order
      SVG loader: Faster signature check
      build: Tweaks
      Add J2K (JPEG 2000) loader using openjpeg2 library
      test: Add some of JPEG 2000 tests
      Add PS/EPS loader using libspectre
      debug: Export __imlib_time_us()
      JXL loader: Multiframe support
      SVG loader: Avoid some warnings in rsvg.h
      SVG loader: Fix size when unit is percent
      SVG loader: Fix size when unit is percent some more
      v1.9.0

v1.8.1 - 2022-03-15
--------------------
Kim Woelders (32):
      PNM, XPM loaders: Fix trouble with non-ascii characters
      XPM loader: Reduce signature window size some more
      Refactor image flags stuff
      Remove some unused image flags and deprecate functions referencing them
      JPEG, XBM loaders: Drop pointless clearing of flag
      Deal consistently with including Imlib2.h
      Merge x11_draw.c/h into x11_pixmap.c/h
      x11_rgba.c: Add some missing static qualifiers
      x11_color.c: Make most __imlib_AllocColors*() functions static
      x11_...: Introduce palette type enum
      Loader includes tweaks
      Move some loader related function prototypes to loaders.h
      common.h: Drop round() macro
      debug.c/h: Move __EXPORT__ to .c file
      Remove system includes from common.h
      Move x_VAL() macros to common.h
      Introduce types.h
      Remove some unnecessary headers
      grad.c: Refactor __imlib_DrawGradient() and __imlib_DrawHsvaGradient()
      Only have one CLIP macro
      Mostly cosmetic tweaks around clipping checks
      test: Command line options tweak
      test_grab: Enable testing depths other than 24 and 32
      x11_grab.c: Correct 16 and 15 bit depth grabbing
      TIFF loader: Remove obsolete comment
      ID3 loader: Drop inline and likely stuff
      ID3 loader: Disable tags stuff
      Introduce __imlib_GetKey()
      Merge __imlib_FindBestLoader...() functions
      test: Properly include test.h in test SOURCES
      test: Exclude from tarball
      v1.8.1

Matthias Grosser (1):
      imlib2: saving progressive JPEG

NRK (1):
      XPM Loader: limit signature check to first 4KiB

Tobias Stoeckmann (2):
      imlib2: allow compilation without x headers
      imlib2_load: fix typo

Youssef Rebahi-Gilbert (1):
      fix: possible memleak in rgba save on big endian systems

v1.8.0 - 2022-02-06
--------------------
Kim Woelders (86):
      test: Add context test
      Drop context image save/restore around __imlib_Load/SaveImage() calls
      Make initial context static
      Drop context check/init in API functions
      Use __func__ instead of open coded function names
      Pass parameters to __imlib_LoadImage() by struct
      Trivial cleanups
      imlib2_view: Cosmetics (if -> switch)
      imlib2_view: Add 'r' command to refresh
      imlib2_view: Move window background image init to separate function
      imlib2_view: Refactor pixmap rendering
      imlib2_view: Remove some pointless function calls
      imlib2_view: Tweaks around timeout
      debug: Add some image caching debug
      imlib2_view: Fix caching option
      Add support for multiframe (animated) images
      Enable caching for multiframe images
      imlib2_load: Add support for multiframe images
      imlib2_view: Add support for multiframe images
      debug: Add DL macro for additional loader debug
      WEBP loader: Multiframe support
      ICO loader: Multiframe support
      GIF loader: Some refactoring, add debug
      GIF loader: Multiframe support
      ICO loader: Debug tweaks
      Indent
      debug: Avoid use of uninitialized data
      Loader loading: Avoid access to uninitialized load() item
      updates: Reduce memory usage
      Drop some intermediate type definitions
      autofoo/loader cosmetics
      configure.ac: Simplify loader setup
      Updates for animated image handling
      imlib2_view: Fix(?) animated image frame dispose handling
      test: Add a couple of ico depth test images
      ICO loader: Minor optimization
      ICO loader: Mostly cosmetic changes (inline ico_read())
      GIF loader: Always set BLEND flag
      imlib2_view: Rework display of animated images
      Introduce more loader return codes
      BZ2, ZLIB loaders: Move duplicated code to separate file
      Add lzma loader
      imlib2_grab: Print error message if saving fails
      imlib2_view: Verbosity twaeks
      imlib2_load: Verbosity twaeks
      LZMA loader: Fix potential warning
      configure.ac: Correct simplification changes
      configure.ac: Correct simplification changes some more
      XBM loader: Correct load2() result when no header is found
      Add svg loader
      SVG loader: Avoid problems when loading the module more than once
      imlib2_load: Add no-data option
      Add dispose-to-previous frame handling
      PNG loader: Disable Imlib2-Comment stuff
      PNG loader: Rewrite to use callback API
      PNG loader: Add multiframe support
      test: Check __imlib_FileKey()
      Simplify __imlib_FileKey()
      Avoid redundant operations when non-existing file has no "key"
      Drop change log from before first version tag
      test: Move generated image files out of source dir
      test: Add makefile to generate test images
      PNM loader: Fix P1 when spaces are omitted
      PNM loader: Fix "XV thumbnail" (P7 332) loading
      test: Add some more PNM type loading tests
      image.c: Avoid potential compile error
      imlib2_view: Avoid clang error
      Drop/adjust a few comments
      Move some code as suggested in source
      HEIF loader: A couple of cleanups and fixes
      loaders.c: Add heif to known loaders
      autofoo: Sort loaders
      SVG loader: Fix memory leak on error
      HEIF loader: Avoid memory leak when module is loaded more than once
      Mark obsolete TTF encoding functions as deprecated
      test: Add basic heif loader check
      Refactoring around font glyph lookup
      imlib2.spec.in: Introduce acflags for configuration of rpmbuilds
      Add some missing const qualifiers
      Fix gcc12 warning in __imlib_ConsumeImage()
      Fix gcc12 warning in __imlib_stripwhitespace()
      TGA loader: Make function order same as in other loaders
      HEIF loader: Header cleanups
      Add imlib_version()
      test: Merge common stuff
      v1.8.0

Rishvic Pushpakaran (1):
      imlib2: added loader for HEIF files (uses libheif), implemented just `load2` for now

Sören Tempel (1):
      ICO loader: Fix compilation on big endian architectures

v1.7.5 - 2021-12-06
--------------------
Kim Woelders (83):
      Build .xz instead of .bz2 release tarball
      Drop imlib2-config (use pkg-config)
      Test: Add some minimal regression testing
      Test: Fix dist
      imlib2_load: Add option to use imlib_load_image_immediately()
      JPEG loader: Cosmetics
      JPEG loader: Parse EXIF data and handle orientation
      autofoo: Drop support for libungif
      Imlib.h: Add version macros
      imlib2_load: Add verbose option
      Fix build (Imlib2.h is now built)
      test: Add icon-64.pbm
      test: Add test_load_2
      imlib2_view: If verbose show error message on failure
      imlib2_load: Use clock_gettime() when available
      debug: Infrastructure
      debug: Add some debug related to file access and image loading
      Introduce im->fsize
      PNG loader: Cosmetics
      PNG loader: Use mmap() during signature check
      TIFF loader: Use mmap() during signature check
      TGA loader: Use im->fsize, cosmetics, debug
      WEBP loader: Cosmetics
      WEBP loader: Use mmap() for loading
      FF loader: Cosmetics
      FF loader: Use mmap() for loading
      ARGB loader: Cosmetics
      ARGB loader: Use mmap() for loading
      BMP loader: Cosmetics
      BMP loader: Use mmap() for loading
      ICO loader: Cosmetics
      ICO loader: Use mmap() for loading
      LBM loader: Cleanups
      LBM loader: Use mmap() for loading
      PNM loader: Use mmap() for loading
      XBM loader: Fix potential buffer overrun
      XBM loader: Cosmetics
      XBM loader: Use mmap() for loading
      XBM loader: Ignore comments and other stuff in header
      XPM loader: Use mmap() for loading
      test: test_load improvements
      imlib2_view: Add option to cache images
      Introduce UPDATE_FLAG()
      Introduce ARRAY_SIZE()
      Loader cosmetics
      Loader loading: Tweaks
      Loader loading: Move to __imlib_FindBestLoaderForFormat()
      Loader loading: Move __imlib_GetLoaderList()
      Loader loading: Minor loader lookup refactoring
      Loader loading: Avoid always loading all loaders
      Loader loading: Don't bother looking up load() if we have load2()
      WEBP loader: Enable loading animated images (first frame by default)
      configure.ac: Fixup after recent change
      Drop unnecessary free() NULL argument checks
      Remove some unneeded headers
      Rename X11 related files for clarity
      Move ImlibImagePixmap population to __imlib_AddImagePixmapToCache()
      test: Add X11 drawable grabbing test
      Move pixmap stuff to x11_pixmap.c/h
      Trivial changes in __imlib_Grab...() function prototypes
      Refactor imlib_create_scaled_image_from_drawable()
      Revert "Refactor imlib_create_scaled_image_from_drawable()"
      Refactor imlib_create_scaled_image_from_drawable() - take 2
      x11_grab.c: Rename source/destination variables for clarity
      Fix y-upscaling in imlib_create_scaled_image_from_drawable()
      test_grab: Cleanups, cosmetics
      test_grab: Add scale-down tests
      Only set MAINTAINERCLEANFILES in top-level Makefile.am
      imlib2_view: Enable grabbing/viewing drawables
      x11_grab.c: Cosmetics
      x11_grab.c: Introduce function to get shape mask
      Speedup in imlib_create_scaled_image_from_drawable()
      Avoid signedness warning
      Avoid "exceeds maximum object size" warning
      blend.c: Tweaks, cleanups
      Simplify build wrt. asm files
      test_save: Check images with alpha too
      test: Add some scaling/rotation tests
      Refactoring around mmx and rotate function calls
      Refactoring around mmx and scaling function calls
      Refactor condition for using assembly functions
      Update doc for imlib_load_image_fd()
      1.7.5

NRK (1):
      WEBP loader: fix key selecting last frame

diffstat:

 graphics/imlib2/Makefile                       |  12 +++---------
 graphics/imlib2/PLIST                          |   4 ++--
 graphics/imlib2/distinfo                       |   9 ++++-----
 graphics/imlib2/patches/patch-imlib2-config.in |  15 ---------------
 4 files changed, 9 insertions(+), 31 deletions(-)

diffs (83 lines):

diff -r 31377d3965d6 -r 639367c0d077 graphics/imlib2/Makefile
--- a/graphics/imlib2/Makefile  Fri Jul 29 01:24:24 2022 +0000
+++ b/graphics/imlib2/Makefile  Fri Jul 29 05:56:08 2022 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.84 2021/10/19 08:39:04 nia Exp $
+# $NetBSD: Makefile,v 1.85 2022/07/29 05:56:08 rin Exp $
 
-DISTNAME=      imlib2-1.7.4
+DISTNAME=      imlib2-1.9.1
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
-EXTRACT_SUFX=  .tar.bz2
+EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://docs.enlightenment.org/api/imlib2/html/
@@ -34,12 +34,6 @@
 SUBST_SED.shlib+=      -e 's,"\.so",".${SHLIB_SUFFIX}",'
 .endif
 
-SUBST_CLASSES+=                rpath
-SUBST_STAGE.rpath=     pre-configure
-SUBST_MESSAGE.rpath=   Replacing COMPILER_RPATH_FLAG
-SUBST_FILES.rpath=     imlib2-config.in
-SUBST_VARS.rpath=      COMPILER_RPATH_FLAG
-
 .include "options.mk"
 
 .include "../../archivers/bzip2/buildlink3.mk"
diff -r 31377d3965d6 -r 639367c0d077 graphics/imlib2/PLIST
--- a/graphics/imlib2/PLIST     Fri Jul 29 01:24:24 2022 +0000
+++ b/graphics/imlib2/PLIST     Fri Jul 29 05:56:08 2022 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2021/08/24 13:31:07 nia Exp $
-bin/imlib2-config
+@comment $NetBSD: PLIST,v 1.16 2022/07/29 05:56:08 rin Exp $
 ${PLIST.x11}bin/imlib2_bumpmap
 ${PLIST.x11}bin/imlib2_colorspace
 bin/imlib2_conv
@@ -21,6 +20,7 @@
 lib/imlib2/loaders/ico.la
 lib/imlib2/loaders/jpeg.la
 lib/imlib2/loaders/lbm.la
+lib/imlib2/loaders/lzma.la
 lib/imlib2/loaders/png.la
 lib/imlib2/loaders/pnm.la
 lib/imlib2/loaders/tga.la
diff -r 31377d3965d6 -r 639367c0d077 graphics/imlib2/distinfo
--- a/graphics/imlib2/distinfo  Fri Jul 29 01:24:24 2022 +0000
+++ b/graphics/imlib2/distinfo  Fri Jul 29 05:56:08 2022 +0000
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.48 2021/10/26 10:46:19 nia Exp $
+$NetBSD: distinfo,v 1.49 2022/07/29 05:56:08 rin Exp $
 
-BLAKE2s (imlib2-1.7.4.tar.bz2) = fd3841e6c987083012143567269d251aa98be461d108f297bf612cfb96580228
-SHA512 (imlib2-1.7.4.tar.bz2) = 54c213de38535f14359d9e407b9ae5911a158347525a298673ba53d122c3e506449feb34203e764e43d5aa163f3024093803cd976a23c0f0f65b843ed9685d66
-Size (imlib2-1.7.4.tar.bz2) = 895819 bytes
-SHA1 (patch-imlib2-config.in) = 22bd429a029e1071f1920ed2261cb94fd66b1146
+BLAKE2s (imlib2-1.9.1.tar.xz) = 58f6cdd4dac5d538bd74cf4c0a939f2e87293042861672c6f930dc4b93d70ab7
+SHA512 (imlib2-1.9.1.tar.xz) = 00eb8804a32e1403614e9f899f358dd9797f4bcfa7e9fdecd37992731019933e39834a60bd20be8fb69a35161ba1e784bd638b5ecb626d01a4f69c70c330e5f1
+Size (imlib2-1.9.1.tar.xz) = 813104 bytes
 SHA1 (patch-src_bin_imlib2__view.c) = 53a7bdb2e1f8687db095b796b46945ee5a72f552
 SHA1 (patch-src_lib_amd64__blend.S) = 09e89c6b1d6fb622b3ee88f6c3a5e9b6f3ab3fad
 SHA1 (patch-src_lib_amd64__blend__cmod.S) = d533eeacd4b196086f1854c657d3e0773596790b
diff -r 31377d3965d6 -r 639367c0d077 graphics/imlib2/patches/patch-imlib2-config.in
--- a/graphics/imlib2/patches/patch-imlib2-config.in    Fri Jul 29 01:24:24 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-imlib2-config.in,v 1.3 2016/01/22 21:07:00 leot Exp $
-
-Add the COMPILER_RPATH_FLAG to imlib2-config.
-
---- imlib2-config.in.orig      2014-12-20 16:19:20.000000000 +0000
-+++ imlib2-config.in
-@@ -45,7 +45,7 @@ while test $# -gt 0; do
-       echo $includes
-       ;;
-     --libs)
--      libdirs=-L@libdir@
-+      libdirs="-L@libdir@ @COMPILER_RPATH_FLAG@@libdir@"
-       echo $libdirs -lImlib2
-       ;;
-     *)



Home | Main Index | Thread Index | Old Index