./graphics/imlib2, Image manipulation library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.7.0, Package name: imlib2-1.7.0, Maintainer: pkgsrc-users

Imlib 2 is the successor to Imlib. It is NOT a newer version - it is a
completely new library. Imlib 2 can be installed alongside Imlib 1.x
without any problems since they are effectively different libraries - BUT
they have very similar functionality.

Imlib 2 does the following:

* Load/Save image files from disk in one of many formats
* Render image data onto other images or an X-Windows drawable
* Produce pixmaps and pixmap masks of Images
* Apply filters and transformations to images
* Accept RGBA Data for images and apply colour correction/modifications
* Alpha blend Images on other images or drawables
* Render truetype anti-aliased text straight and at angles
* Render rectangles, anti-aliased lines, and multi-coloured gradients
* Cache data intelligently for maximum performance
* Allocate colours automatically
* Allow full control over caching and color allocation
* Provide highly optimized MMX assembly for core routines
* Provide plug-in filter interface
* Provide on-the-fly runtime plug-in image loading and saving interface
* Fastest image compositing, rendering and manipulation library for X


Required to run:
[graphics/tiff] [graphics/freetype2] [graphics/png] [graphics/jpeg] [graphics/giflib]

Required to build:
[pkgtools/x11-links] [pkgtools/cwrappers]

Package options: imlib2-amd64, x11

Master sites:

SHA1: 27e380e739c3c1a7c9a71a31143c2dd98da99abb
RMD160: ebf78f4c3341452c5b8617f3e5716360c809ad72
Filesize: 872.085 KB

Version history: (Expand)


CVS history: (Expand)


   2020-08-17 04:52:52 by David H. Gutteridge | Files touched by this commit (2)
Log message:
imlib2: fix big-endian builds
   2020-08-09 17:44:44 by Nia Alarie | Files touched by this commit (2) | Package updated
Log message:
imlib2: Update to 1.7.0

***
*** Version 1.7.0 ***
***

Alexander Volkov (3):
      GIF loader: Don't close file descriptor twice
      Introduce imlib_load_image_from_fd()
      Don't rescan loaders

Kim Woelders (49):
      XPM loader: Major speedup for cpp > 2
      imlib2_load: Properly check non-full loads (load data too)
      imlib2_load: Use getopt()
      imlib2_load: Add repeated load option
      Simplify __imlib_FileExtension()
      Refactor many __imlib_File...() functions to use common __imlib_FileStat()
      Drop the __imlib_IsRealFile() file check in __imlib_File...() functions
      image.c: Add some space for readability
      image.c: Remove some unnecessary clearing of calloc'ed structs
      image.c: Rework some obscure file name stuff in __imlib_SaveImage()
      image.c: Don't strdup() real_name when not necessary in __imlib_LoadImage()
      image.c: Use real_file to get file time
      image.c: Introduce __imlib_ErrorFromErrno()
      image.c: Use loader return value, not im->w to determine load success
      Loader cleanups
      Saver cleanups
      image.c/h: Cleanups
      image.c: Move image tag functions to separate file
      image.c: Move loader functions to separate file
      image.c: Enable non-dirty pixmap cache cleaning
      image.c: Minor refactoring of pixmap cache cleaners
      image.c: Move data_memory_func assignment to better place
      imlib2_view: Various tweaks
      Fix loader cleanup breakage (gif)
      image.c: Remove redundant pixmap unref
      image.c: Add infrastructure to simplify progress handling
      Loaders: Simplify/fix progress handling
      Savers: Simplify progress handling
      Introduce __imlib_LoadEmbedded()
      Introduce __imlib_LoaderSetFormats()
      Make ImlibLoader struct opaque
      autogen.sh: Add -n as alternative to NOCONFIGURE
      Fix enum conversion warnings (gcc10)
      JPG, PNG loaders: Avoid clobber warnings
      Add a couple of consts
      TIFF loader: Minor speedup
      ID3 loader: Some mostly cosmetic rearrangements
      GZ, BZ2 loaders: Accept more file names
      __imlib_FileExtension: Use basename if there are no dots
      Revert "JPG, PNG loaders: Avoid clobber warnings"
      JPG, PNG loaders: Avoid clobber warnings - Take N+1
      Add infrastructure for new loader entry - load2()
      Move loaders to load2()
      Reduce number of stat() calls during load
      configure.ac: Drop initial config.cache removal
      imlib2_load: Optionally use imlib_load_image_fd()
      Fix build without X11
      Remove a couple of unused includes
      1.7.0

Tobias Stoeckmann (2):
      ICO loader: Do not crash on invalid files
      ICO loader: Handle malloc failures
   2020-06-05 14:49:18 by Jonathan Perkin | Files touched by this commit (189)
Log message:
*: Apply revbump for graphics/giflib API change.
   2020-04-25 19:23:44 by Roland Illig | Files touched by this commit (1)
Log message:
graphics/imlib2: only define SUBST block if necessary
   2020-02-20 16:14:57 by Nia Alarie | Files touched by this commit (4) | Package updated
Log message:
imlib2: Update to 1.6.1

***
*** Version 1.6.1 ***
***

Kim Woelders (11):
      gz loader: Use FILE, not fd
      gz, bz2 loaders: Fix recent breakage when file name has more than two dots
      Quit on 'q' or 'esc' key press in all imlib2_... test utilities
      Rename imlib2_test_load to imlib2_load
      imlib2_load: Optionally write to stderr instead of stdout
      imlib2_view: Add progress debug options
      Enable specifying loader/filter paths with environment variables
      BMP loader: Remove some bogus conditions
      XPM loader: Minor optimization for cpp > 2
      LBM loader: Fix header-only loading
      1.6.1

Luiz Carlos Ramos (1):
      BMP loader: Fix size calculation when saving files

***
*** Version 1.6.0 ***
***

Alexander Volkov (1):
      Allow to use custom memory management functions for loaded images

Kim Woelders (64):
      Add __imlib_LoadImageWrapper() handling all load() calls
      imlib2_conv: Report error on save failure
      Autofoo cosmetics
      Trivial cleanups in imlib2_... test programs
      Add imlib2_test_load program
      Cleanups in load() functions
      Centralize handling of im->format
      Sort loaders in Makefile.am
      Remove obsolete dmalloc stuff
      Move SWAP.. macro definitions to common.h
      Use common PIXEL_ARGB() macro to compose pixels
      Add new ICO loader
      Spec file simlifications and cleanups
      Fix memory leak in imlib_list_fonts()
      XPM loader: Refactor exit cleanup handling
      XPM loader: Fix potentially uninitialized pixel data
      XPM loader: Fixup after "Refactor exit cleanup handling"
      Revert "XPM loader: Fix potentially uninitialized pixel data"
      XPM loader: Cosmetics (reduce indent level)
      XPM loader: Fix several colormap issues
      XPM loader: Simplify pixel value handling
      XPM loader: Add missing pixels (malformed xpm)
      XPM loader: More simplifications
      JPG loader: Refactor
      JPG loader: Do proper CMYK conversion
      Add new WebP loader
      Remove pointless im->data checks in loaders
      WepP loader: Fix memory leak in error path
      JPG loader: Fix memory leaks in error paths
      Fix ABI break
      ICO loader: Add binary flag to fopen()
      JPG loader: Refactor error handling
      Rename/add byte swap macros
      BMP loader: Major makeover - numerous bug fixes and feature enhancements
      Miscellaneous imlib_test_load tweaks
      GZIP loader: Check filename before uncompress
      imlib2_test_load: Fixup after recent change
      Re-indent everything using indent-2.2.12
      TGA loader: Refactor
      Eliminate WRITE_RGBA()
      Simplify autogen.sh
      Simplify pixel color handling in api.c
      Use pixel instead of r,b,g,a in __imlib_render_str()
      Use macro for pixel color access in savers
      Eliminate READ_RGBA()
      XPM loader: Accept signature not at the very start of the file
      Simplify loader lookup functions
      imlib2_view: Enable selecting next/prev using keys too
      imlib2_view: Fix event processing bug
      imlib2_test_load: Fixup recent breakage for real
      imlib2_test_load: Check progress conditionally
      imlib2_view: Add verbose option, quit on Escape too
      TGA loader - Mostly cosmetic refactoring
      TGA loader: More mostly cosmetic changes
      TGA loader: Support horiontal flip
      TGA loader: Add simple 16 bpp handling
      TGA loader: Tweak error handling
      ICO loader: Fix non-immediate loading
      Remove __imlib_AllocateData() w,h args
      imlib2_view: Fix next/prev selection if last/first image is bad
      ICO loader: Fix memory leak in error path
      XPM loader: Correct signature check (avoid accessing unset data)
      gz, bz2 loaders: Simplify, eliminate unnecessary strdups, cosmetics
      1.6.0.
   2018-11-29 14:58:59 by Leonardo Taccari | Files touched by this commit (6) | Package removed
Log message:
imlib2: Update graphics/imlib to 1.5.1

pkgsrc changes:
- Remove lround patches: lround is no longer used
- Remove #ifndef blocks to rip out XShm support.  Unfortunately
  the logic is much more convoluted now and #ifndef parts of the code
  no longer scale.
  Please note that this can break support on Interix!

Changes:
1.5.1
*****
Kim Woelders (13):
 - Fix build without HAVE_X11_SHM_FD (T6752)
 - XPM loader: Fix potential use of uninitialized value (T6746)
 - BMP loader: Fix infinite loop with invalid bmp images (T6749)
 - PNM loader: Simplify (fixing ASCII format parsing issues T6751)
 - BMP loader: Fix warnings found with -O3
 - Maximum image dimension should be 32767, not 32766
 - PNG loader: Correct various error handling cases
 - Add missing const to imlib_apply_filter() script argument
 - Warning fixes in imlib2_... programs
 - imlib2_view: Limit window dimensions to 32767
 - grab.c: Fix gcc8 warning
 - imlib2_conv.c: Fix gcc8 warning
 - 1.5.1.

1.5.0
*****
Alexander Volkov (3):
 - put a check for shared memory inside __imlib_ShmGetXImage()
 - introduce __imlib_ShmDestroyXImage() instead of __imlib_ShmDetach()
 - Add support for MIT-SHM FD-passing

Kim Woelders (19):
 - XPM loader: Fix incorrect image invalidation.
 - Make some more functions static.
 - Introduce __imlib_LoadImageData()
 - Remove redundant CAST_IMAGE()
 - imlib2_grab: Always use imlib_create_scaled_image_from_drawable() to grab image
 - imlib_create_scaled_image_from_drawable(): speed up 1:1 case
 - imlib_create_scaled_image_from_drawable(): Drop shape handling if unshaped
 - Indent
 - Autofoo cosmetics
 - Strip trailing whitespace, cosmetics
 - Fix potential OOB memory access if border elements are negative
 - Fix potential OOB memory access if border sizes exceed image dimensions
 - Introduce IMLIB2_SHM_OPT to enable overriding/testing SHM modes
 - Add IMLIB2_XIMAGE_CACHE_COUNT to enable testing the ximage cache
 - Refactor the XImage cache
 - Add imlib_get_cache_used()
 - Expose XImage cache control functions
 - Drop -Waggregate-return
 - 1.5.0.
   2018-07-04 15:40:45 by Jonathan Perkin | Files touched by this commit (423)
Log message:
*: Move SUBST_STAGE from post-patch to pre-configure

Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
   2018-01-25 21:13:08 by Leonardo Taccari | Files touched by this commit (2) | Package updated
Log message:
imlib2: Update graphics/imlib2 to imlib2-1.4.10

Changes:
1.4.10
------
Kim Woelders (2):
 - PNM loader: Fix reading PNM bitmaps.
 - Fix missing break.

Tobias Stoeckmann (3):
 - Avoid out of boundary operations while parsing xpm
 - Properly release resources on error path
 - Prevent OOB read with large file support on 32 bit

From Vicente Chaves via PR pkg/52950.