Changes:
***
*** 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.
1.4.9.
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.
Indent.
1.4.8.
Quentin Rameau (2):
Fix bz2 loader filename check
Fix zlib loader filename check
pkgsrc changes:
o Add LICENSE
o Remove no more needed patches and while here add a comment to all patches
Changes:
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.
Indent.
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
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-1.1.0.30/AfterShotPro_i386.deb
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.
- TGA loader: Fix for corrupt RLE format.
- Fix drawing of closed polygons in certain situations (ticket 2309).
- Set warning options when using gcc.
- Silence compiler warnings.
- Don't set -std=gnu99.
- XPM loader: Simplify and fix certain case of cpp > 2.
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
libXext/buildlink3.mk, now that it is included there.
Leave the places where its API version is set or variables from it
are used directly (about 3 packages).
alternative from mk/jpeg.buildlink3.mk
This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).
The mechanical edits were applied via the following script:
#!/bin/sh
for d in */*; do
[ -d "$d" ] || continue
for i in "$d/"Makefile* "$d/"*.mk; do
case "$i" in *.orig|*"*"*) continue;; esac
out="$d/x"
sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
-e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
< "$i" > "$out"
if cmp -s "$i" "$out"; then
rm -f "$out"
else
echo "Edited $i"
mv -f "$i" "$i.orig" && mv "$out" "$i"
fi
done
done
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.