./graphics/imlib2, Image manipulation library

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

Branch: CURRENT, Version: 1.5.1, Package name: imlib2-1.5.1, 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: 3e97e7157380f0cfbdf4f3c950a7a00bdfa6072c
RMD160: 10afbce09a9e710beaadf04cce76e9885024dfd6
Filesize: 898.252 KB

Version history: (Expand)

CVS history: (Expand)

   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!

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.

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

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.
   2017-08-16 22:21:18 by Thomas Klausner | Files touched by this commit (180)
Log message:
Follow some http redirects.
   2016-05-01 22:58:41 by Leonardo Taccari | Files touched by this commit (3) | Package updated
Log message:
Update graphics/imlib2 to 1.4.9.

*** Version 1.4.9 ***
Alexander Smirnov (1):
      Fix cross-endianness for masks (1-bit depth images)
Bernhard Übelacker (1):
      gif: fix oob reads w/bad colormaps
Kim Woelders (16):
      Fix "assuming signed overflow does not occur" warning.
      Fix some "variable set but not used" warnings.
      Fix some "variable might be clobbered" warnings.
      Fix off-by-one OOB read in __imlib_MergeUpdate().
      Revert "gif: fix oob reads w/bad colormaps"
      GIF loader: Fix out-of-bound reads from colormap.
      GIF loader: Remove check made redundant by previous commit.
      GIF loader: Reduce progress checks from per-pixel to per-row.
      GIF loader: Indent.
      Fix potential divide-by-zero in imlib_image_draw_ellipse().
      Make a number of functions static.
      Eliminate pImlibExternalFilter type.
      Trivial file function cleanups.
      Move __imlib_ItemInList() to file.c.
      Fix various potential OOM crashes.
Yuriy M. Kaminskiy (3):
      Fix integer overflow resulting in insufficient heap allocation
      loader_xpm: remove nonsense/impossible/broken condition
      Harden API and internals against overly large images

*** Version 1.4.8 ***
Chloe Kudryavtsev (1):
      add time.h include to common.h for time_t
FRIGN (1):
      Add a Farbfeld loader
Kim Woelders (4):
      Remove redundant config.h.
      Add compile to MAINTAINERCLEANFILES.
Quentin Rameau (2):
      Fix bz2 loader filename check
      Fix zlib loader filename check
   2016-01-22 22:07:00 by Leonardo Taccari | Files touched by this commit (7) | Package updated
Log message:
Update graphics/imlib2 to 1.4.7.

pkgsrc changes:
 o Remove no more needed patches and while here add a comment to all patches

Fabian Keil (14):
      Prevent division-by-zero crashes
      imlib_conv: Use proper buffer size to prevent invalid write of size one
      loader_gif: Don't read uninitilized memory in case of invalid input
      loader_gif(): Abort gif parsing if DGifGetLine() fails
      Fix segfault when opening input/queue/id:000007,src:000000,op:flip1,pos:51 \ 
with feh
      Make IMAGE_DIMENSIONS_OK() more restrictive
      load_pnm: Deal with fread() errors consistently
      __imlib_LoadImage(): Additionally check loader_ret to detect loader failures
      loader_tga: Abort file loading if the file obviously isn't large enough
      imlib_save_image(): Check loader return code for errors
      loader_tga.c: Properly signal if decoding uncompressed BGRA data failed
      loader_tga.c: Properly signal if decoding RLE compressed data failed
      imlib_save_image_with_error_return(): Check loader return code to prevent \ 
use of unitialized memor
      load_gif: Make sure rows isn't used partly unitialized

Heiko Becker (1):
      GIF loader: Fix for libgif version 5.1

Kim Woelders (20):
      GIF loader: Fix for libgif version 5.
      Remove OS/2 support.
      Remove empty format.c/h.
      Header file cleanups.
      GIF loader: Simplify error handling.
      GIF loader: Fix segv on images without colormap.
      Revert "__imlib_LoadImage(): Additionally check loader_ret to detect \ 
loader failures"
      Revert "loader_gif(): Abort gif parsing if DGifGetLine() fails"
      JPEG loader: Fix load() return code when only reading header.
      BMP loader: Simplify pixel fetch.
      Autofoo update (AC_PROG_LIBTOOL -> LT_INIT).
      Autofoo macro cleanups (ac_->ec_).
      Change a number of internal function names.
      Don't include Imlib2.h indirectly via image.h.
      Remove __hidden.
      Enable visibility hiding by default.
      Indent the remaining unindented files.
      Generate a ChangeLog using git shortlog between existing tags.

Michał Górny (1):
      fix -I flags to support building out-of-source

Mike Frysinger (5):
      simplify --enable-visibility-hiding handling
      imlib2-config: delete old reference to @my_libs@
      check return value of fread/write funcs
      fix X_DISPLAY_MISSING redefined warnings when X is disabled
      do not link with X libs when X is disabled
   2015-11-03 22:34:36 by Alistair G. Crooks | Files touched by this commit (610)
Log message:
Add SHA512 digests for distfiles for graphics category

Problems found with existing digests:
	Package fotoxx distfile fotoxx-14.03.1.tar.gz
	ac2033f87de2c23941261f7c50160cddf872c110 [recorded]
	118e98a8cc0414676b3c4d37b8df407c28a1407c [calculated]
	Package ploticus-examples distfile ploticus-2.00/plnode200.tar.gz
	34274a03d0c41fae5690633663e3d4114b9d7a6d [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package AfterShotPro: missing distfile AfterShotPro-
	Package pgraf: missing distfile pgraf-20010131.tar.gz
	Package qvplay: missing distfile qvplay-0.95.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-05-31 17:56:28 by Thomas Klausner | Files touched by this commit (58) | Package updated
Log message:
libungif is not relevant any longer since the GIF relevant patents
expired (about 10 years ago).

Unconditionally switch to libgif.

As discussed on tech-pkg without dissent.