Up to [cvs.NetBSD.org] / pkgsrc / graphics / imlib2
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
revbump for x265
imlib2: needs xz (by loaders/lzma.so). Bump.
graphics/imlib2: Update to 1.12.5
Changelog:
v1.12.5 - 2025-04-06
--------------------
Kim Woelders (8):
autofoo: Optionally link modules with libImlib2.la
autofoo: Some defaults for RTLD_LOCAL support
blend: Fixup after "blend: Rename some variables for clarity"
test: Add test_scale_2
autofoo: Use pkg-config for libyuv if available
autofoo: Cosmetics
autofoo: Enable RTLD_LOCAL support by default
v1.12.5
NRK (1):
autofoo: fix libyuv detection
v1.12.4 - 2025-03-15
--------------------
Chema Gonzalez (1):
Y4M loader: add support for images with no framerate info
Kim Woelders (49):
imlib2_view: Toggle anti-alias flag on 'a'
test_load_2: Add another y4m test image
scaling: Fix potential crash when scaling large images
test_grab: Work around linewidth=0 bug
test: Enable skipping tests for specific files
test: By default skip CRC checks on jxl images
test: Colorize Skip message
SVG loader: Suppress warning
test: Enable skipping loader flushing
test: Correct CFLAGS when building with alternative library packages
test_load_2: Adjustment for libheif-1.19.x
imlib2_load/view: Show image alpha status too
imlib2_load/view: Add -h option for help
imlib2_conv: Optionally produce scaled image
imlib2_conv: Optionally render image on background before saving
test: Change test images
savers: Add common save parameter handler
HEIF saver: Add one
scale: Rearrange some variable declarations
scale/blend: Add some missing consts
blend: Some mostly cosmetic changes
blend: Rename some variables for clarity
loaders: Fix gcc15 warnings
test: Make top-level clean clean test too
SVG loader: Handle .svgz too
test: Fix top-level distclean
PNG loader: Debug printout tweaks
image: Trivial simplification
image: Add optional alpha check requested by loaders
SVG loader: Check alpha in pixel data
imlib2_view: Optionally show crc32 of image data
test: Some trivial ouput tweaks
test: Change many no-alpha test images to not have alpha data
test: Corrections after no-alpha update
GIF loader: Fix minor issue when loading transparent gifs
test: Add transparent gif check
Y4M Loader: Trivial simplification
autofoo: Make building demo programs optional (default enabled)
autofoo: No longer link modules with libImlib2.la
test_save: Add qoi
specs: Optionally build split rpms
XBM loader: Debug printout tweaks
AVIF loader: Indent
AVIF saver: Add one
HEIF loader: Demote avif support if regular avif loader is built
test: Add basic avif test
test: test_grab needs -lX11
test: Avoid warnings from _FORTIFY_SOURCE
v1.12.4
NRK (6):
AVIF loader: add new loader based on libavif
Y4M Loader: replace fps_{den,num} with frametime_us
Y4M Loader: provide the pixel aspect ratio directly
autofoo: don't hardcode zlib flags
QOI Loader: sync with upstream
QOI Saver: add one
*: recursive bump for tiff growing lerc dependency
*: recursive bump for jpeg -> libjpeg-turbo switch
imlib2: Disable heif option by default. Avoids pulling in a compiler so new that no stable system ships it in order to enable support for an obscure image format nobody is using with this extremely portable lightweight library.
imlib2: Limit heif option to popular operating systems Seems to cause problems elsewhere.
imlib2: Update to 1.12.3 Among other things, this fixes a potential segv on malformed XPM files. This was confirmed to build on macOS, Linux, FreeBSD, NetBSD by drecklypkg CI.
*: recursive bump for openh264
revbump for x265
Revbump for x265
imlib2: update to 1.12.2. Changes:
v1.12.2 - 2024-02-03
--------------------
Chema Gonzalez (3):
Y4M loader: fix support for unexpected framerates
Y4M loader: fix C option analysis
Y4M loader: add error messages on parsing errors
Kim Woelders (15):
test_save: Update crcs for jxl saver (libjxl 0.8.0)
x11_grab: Remove some obsolete code
Y4M loader: Guard some debug code properly
Consistently use #if IMLIB2_DEBUG (not #ifdef)
test_load_2: Check some more y4m files
Y4M loader: Avoid use of sscanf() in frame rate parsing
ANI loader: Avoid debug line when image does not have proper signature
PNG loader: Properly suppress messages from libpng
Y4M loader: Fix warning in non-debug build
Change formatting style
PNG saver: Avoid potential issues around setjmp/longjmp
JPG saver: Fix error path
TIFF loader: Properly suppress messages from libtiff
savers: Fix error returns
NRK (2):
PNG saver: avoid double-free on write errors
Y4M loader: don't fail on newline
v1.12.1 - 2023-09-21
--------------------
Kim Woelders (12):
Fix some clang complaints
scaling: MMX asm scaling causes segv, disable for now
loading: Call module exit function also when not dlclosing module on unload
loaders: Fix build with -m32 --enable-debug
test_load_2: Add forgotten xeyes.png
test_save: Fix for jxl loader on ix86
test_scale: MMX scaling is disabled
RAW loader: Don't unload loader
loaders: Fix CPPFLAGS order
imlib2_grab, imlib2_view: Unset context colormap
x11_grab: Use correct depth when grabbing
v1.12.0 - 2023-08-17
--------------------
Chema Gonzalez (3):
test_load2: make error messages more descriptive
Y4M loader: fix support for 420 colorspaces
Y4M loader: add support for images with unexpected aspects
Kim Woelders (46):
imlib2_view: Avoid potential use of uninitialized data
GIF loader: Enable showing animated images even if truncated
Introduce __imlib_perror() to produce error messages
loaders: Use common function to print error messages
imlib2_load: Move time_us() to separate file
imlib2_conv: Add option to time save operations
test: Fix pr_info() when not printing to stdout
loading: Enable calling function on loader load/unload
HEIF loader: Call heif_[de]init() on loader load/unload
autofoo: Don't check for freetype if we are building without text
QOI loader: Add progress calback, indent, cosmetics
Loaders: Static constify some data that may as well be
TGA loader: Fix TGA v2.0 signature check
test: Add basic qoi checks
test_scale: Test scaling some more
scaling: Unifdef OLD_SCALE_DOWN
scaling: Correct scaleinfo array length
scaling: Move scaling function call sequence into common __imlib_Scale()
scaling: Cosmetics (comments)
scaling: Simplify scaling points calculation (eliminate j)
scaling: Change ypoints[] from pointers to indices
scaling: Cosmetics
scaling: Minor refactoring
scaling: Correct scaling up
test_scale: Update for new scaling
image: Fix missing munmap() when using imlib_load_image_fd()
image: Fix potentially using incorrect file size
file: Remove a couple of unused functions
image: Fix potentially using incorrect file size - fixup
test: Bypass wrappers when running tests
test_load: Minor fix in debug message
Add new raw loader
TIFF loader: Slightly more strict signature check
image: Use sub-second time info when available
image: Fix preservation of alpha chanel flag in imlib_clone_image()
image cache: Avoid negative refcounts
image cache: Drop redundant cleanup
image cache: Rework cleanup
Revert "scaling: Correct scaling up"
Revert "test_scale: Update for new scaling"
scaling: Various trivial changes
scaling: Improve non-AA scale-up case
scaling: Correct scaling up - take 2
test_scale: Update for new scaling (re-applied)
test_scale: Exercise non-AA path too
NRK (11):
WEBP saver: allow lossless and respect compression tag
add a new QOI decoder
QOI loader: fix build on non-gnu compilers
QOI loader: use memcmp for magic and endmarker check
Y4M loader: check file size before magic check
loading: add some debug logs
loading: check for alloc failure
Y4M loader: use custom y4m parser
test_load: allow y4m memory loading
file: Remove unused functions some more
introduce imlib_image_decache_file()
v1.11.1 - 2023-05-01
--------------------
Chema Gonzalez (2):
imlib2: added loader for y4m files (uses liby4m and libyuv)
imlib2: add y4m test examples
Kim Woelders (14):
autofoo: More CLEANFILES
HEIF loader: Add some debug
Y4M loader: Various minor changes
test_load: Add some missing ifdefs
test_load: Add some y4m checks
test: Print some progress info in a couple of tests
modules: Drop some disabled code
autofoo: Tweak PACKAGE_DATA_DIR definition
XPM loader: Add rgb.txt
loaders: Fix loaders potentially being loaded more than once
loaders: Change method used to not unload loaders
Add JXL saver
loaders: Cosmetics
v1.11.0 - 2023-03-09
--------------------
Guilherme Janczak (1):
remove bad unused function
Kim Woelders (54):
test: Add a few tests for obscure pnm formats
test: Add some pam tests
Avoid some more undefined behaviors with shifts
api: Fix code duplication around some __imlib_BlendImageToImage() calls
api: Change some parameter names
api: Tweak/correct error handling in drawable grabbing functions
image: Let __imlib_CreateImage() allocate pixel data buffer
Drop some redundant calls to __imlib_LoadImageData()
api: Remember error on deferred image data loads
imlib2_load: Show error on deferred data load problem
imlib2_view: Be more verbose about load errors
PNM loader: Speedups
test: Introduce image_get_crc32()
test: test_save: Trivial changes
test: test_save: Check that files are written and ok
PNM saver: Write images with alpha as P7 PAM RGB_ALPHA type
x11_rgba: Add missing const
x11_grab: Avoid cast-align warnings with -Wcast-align=strict
x11_rgba: Avoid cast-align warnings with -Wcast-align=strict
Loaders: Debug macro cleanups
ANI loader: Use struct to access chunk data
Loaders: Avoid cast-align warnings with -Wcast-align=strict
autofoo: Add __PACKED__ for optional struct packing
ANI, PNG, TGA loaders: Enable handling of unaligned data
__imlib_FileDir(): Fix missing closedir() on OOM
Loaders: decompress_load() is not part of the loader API
Loaders: Debug tweaks
Savers: Centralize file open/close
JPG saver: Avoid potential clobber warning
PNG saver: Avoid potential clobber warning
Loaders, savers: Handle EINTR during fopen()
api: Remove pointless statement
api: Update documentation for imlib_get_error()
api: Cosmetics around image save functions
api: Minor simplification in error handling in save functions
Add imlib_save_image_fd()
api: Oops - debug--
test_grab: Rearrange code
x11_grab: Let __imlib_Grab..() return error instead of ok
x11_grab: Eliminate unnecessary pixmap copy
imlib_create_scaled_image_from_drawable(): Simplify call path
x11_grab: Drop now unused 1:1 scaling path in __imlib_GrabDrawableScaledToRGBA()
imlib2_view: Add option to set background checkerboard field size
test_grab: Update
test_grab: Add some tests for imlib_copy_drawable_to_image()
test_grab: Check get-mask-from-shape too
x11: Pass X11 context around by struct
x11_grab: Move window/pixmap checking to separate function
x11_grab: Rework clipping
x11_grab: Clear image pixels not actually grabbed
x11_grab: Various fixes in __imlib_GrabDrawableScaledToRGBA()
x11_grab: Eliminate some overhead in scaled grabbing
test_grab: Debug tweak
NRK (1):
PNM loader: avoid some undefined behavior
q3cpma (1):
PNM loader: add read support for PAM
v1.10.0 - 2022-12-17
--------------------
Kim Woelders (63):
Introduce imlib_load_image_fde()
imlib2_load: Tweak load mode handling
Introduce Imlib2_Loader.h - all that is needed by loaders
image: Change has alpha flag to separate byte
loading: Don't look for cached image when not caching
loading: New loader infrastructure
loading: Introduce __imlib_ImageFileContextPush/Pop()
loading: Centralize mmap handling
Introduce imlib_load_image_mem()
imlib2_load: Add option to use imlib_load_image_mem()
api: Remove cast previously dropped everywhere else
Hide imlib_get/set_color_usage() if no X11
api: Move X11 related functions to separate file
api: Move filter functions to separate file
Enable disabling filter functions
api: Move text functions to separate file
Enable disabling text functions
J2K loader: Drop showing deprecated item in debug message
image: Fix memory leak when cloning images
Unify basic X11 functionality in test programs
Includes tweaks
test: Re-generate test images with recent tool/library versions
image: Hide internal ImlibImageFileInfo struct
image: Don't munmap external memory
Introduce imlib_get_error()
api: error_return adjustments
imlib2_load: Add option to enable image caching
image: Fix potential use of uninitialized time stamps
PNG loader: Correct frame delay in zero denominator case
PNG loader: Cosmetics
PNG loader: Improved handling of animated PNGs
multiframe: Support loop count
PNG loader: Fix animated PNG loading some more
autofoo: Fix trouble with test subdirectory in distributed source
autofoo: Rework git tag/release stuff
test: test_load: Quit when loading primary image fails
SVG loader: Don't reference multiframe stuff
ICO loader: Eliminate ico_load()
autofoo: Use AC_USE_SYSTEM_EXTENSIONS
imlib2_view: Fix single frame update rendering
test: test_load_2: Check frame 0/1 loading too
PNG loader: Cosmetics
PS loader: Cosmetics
multiframe: Tweaks around frame number handling
multiframe: Centralize handling of frame update offsets
multiframe: Move frame info to allocated record
multiframe: Allocate frame info only when needed
PNG loader: Quit scan when target fdAT is seen
PNG loader: Quit after loading first frame
PNG loader: Simplify update callback handling
imlib2_view: Fix multiframe rendering detail
multiframe: Remove frame offset from updates
imlib2_view: Fix multiframe after update coordinate change
imlib2_view: Deal with all pending X events at once
imlib2_view: Properly handle caching vs progress callbacks
imlib2_view: Don't load bad images twice if first or last in argument list
image: Cosmetics
image: Introduce __imlib_LoadEmbeddedMem()
Add new ani loader
image: Cosmetics (slightly more consisent naming)
ANI loader: Disable progress in embed loader
ANI loader: Multiframe suport
NRK (3):
Introduce imlib_load_image_frame_mem
imlib_load_image_frame_mem(): set nocache
TGA loader: fix indexing in tgaflip
pkgsrc changes:
- options: enable 'heif' by default
- buildlink: remove back-compatibility with 2007 pre-x11-option package
*: bump for x265 API change Reported by Marc Baudoin
imlib2: add webp support as an option and make it default. Bump PKGREVISION.
*: revebump for new brotli option for freetype2 Addresses PR 57693
recursive revbump for tiff update
*: Recursive revbup from graphics/freetype2
*: recursive bump for tiff shlib major bump
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
imlib2: update to 1.7.4
v1.7.4 - 2021-09-16
-------------------
Kim Woelders (14):
imlib2_view: Move property stuff to separate file
imlib2_view: Cleanups
imlib2_view: By default scale large images to fit on screen
imlib2_view: Add some debug
imlib2_view: Fix issue with new default scaling
WEBP loader: Remove forgotten debug printout
WEBP loader: Rename fd variable to be same as everywhere else
LBM loader: Fix potential out-of-bounds memory access
GIF, TIFF, WEBP loaders: Fix loading if filename does not have usual suffix
Revert "GIF, TIFF, WEBP loaders: Fix loading if filename does not have usual suffix"
GIF, TIFF, WEBP loaders: Fix loading if filename does not have usual suffix - take 2
Add script to generate Changelog
Update Changelog to new format
image.c: Use the LOAD_... macros to check loader return values
imlib2: update to 1.7.3
Kim Woelders (2):
autofoo: Resurrect non-pkg check for bzip2
1.7.3
imlib2: update to 1.7.2
***
*** Version 1.7.2 ***
***
Kim Woelders (31):
Remove some unnecessary X_DISPLAY_MISSING stuff
rend.c: Remove some pointless lines
Add XBM loader
Add imlib2_load and /build to .gitignore
Remove obsolete and unused AC_HEADER_STDC
Restore file:key functionality
ICO loader: Fix (disabled) debug stuff
ICO loader: Enable specifying ico image index by key
Remove unused Context functions
context.c: Fix potential segv
LBM loader: Fix handling of missing RLE data
Fix clang-analyzer warnings - bin (trivial)
Fix clang-analyzer warnings - loaders (trivial)
Fix clang-analyzer warnings - loaders (suppress bogus)
Fix clang-analyzer warnings - lib (mostly trivial)
Fix clang-analyzer warnings - lib (less trivial)
autofoo: Move more to pkg-config
TIFF loader: Drop use of libtiff defined types deprecated in libtiff-4.3.0
TGA loader: Fix loading small images without footer
Spec file: Add git tag to rpm file name (if built from git checkout)
Cleanups: while->for loops (loaders list)
Cleanups: while->for loops (context list)
Cleanups: while->for loops (im->tags list)
Cleanups: while->for loops (images list)
Cleanups: while->for loops (pixmaps list)
Drop unused Imlib_Object_List:last
Add feature to build with ASAN (--enable-gcc-asan)
Correct (disabled) debug printouts
Loaders: Remove unnecessary headers
WEBP saver: Use fopen() etc. like all other savers
1.7.2
imlib2: Update to 1.7.1
***
*** Version 1.7.1 ***
***
Daniel Kolesa (1):
Fix big endian build
Kim Woelders (6):
rend.c: Fix __imlib_generic_render() when jump != 0
grab.c: Support 30bpp display in __imlib_GrabXImageToRGBA()
WEBP loader: Add initial signature check
XPM loader: Get transparency right when doing header-only loading
Silence a couple of sign-compare warnings
1.7.1
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
*: Apply revbump for graphics/giflib API change.
graphics/imlib2: only define SUBST block if necessary
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.
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.
*: 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.
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.
Follow some http redirects.
Update graphics/imlib2 to 1.4.9.
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
Update graphics/imlib2 to 1.4.7.
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
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. Bump PKGREVISION.
Version 1.4.6 - 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.
Reset maintainer for resigned developers.
Recursive revbump from graphics/giflib update to 5.0.4.
Try to fix the fallout caused by the fix for PR pkg/47882. Part 3: Recursively bump package revisions again after the "freetype2" and "fontconfig" handling was fixed.
Bump freetype2 and fontconfig dependencies to current pkgsrc versions, 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
Provide rpath in imlib2-config --libs output.
Recursive bump for png-1.6.
Revbump after graphics/jpeg and textproc/icu
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Revbump for a) tiff update to 4.0 (shlib major change) b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk) Enjoy.
update to 1.4.5 changes: -bugfixes -cleanup, spelling fixes
Recursive bump for graphics/freetype2 buildlink addition.
update to 1.4.4 changes: misc bugfixes and cleanup The code structure around Xshm has changed -- someone please check the Interix specific patches.
libungif/buildlink3.mk -> mk/giflib.buildlink3.mk (uses giflib now per default) bump PKGREV
png shlib name changed for png>=1.5.0, so bump PKGREVISIONs.
Mechanically replace references to graphics/jpeg with the suitable
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
Bump PKGREVISION for libpng shlib name change. Also add some patches to remove use of deprecated symbols and fix other problems when looking for or compiling against libpng-1.4.x.
Second try at jpeg-8 recursive PKGREVISION bump.
remove stale libltdl dependency
Recursive bump for libltdl
bump revision because of graphics/jpeg update
pullup ticket #2595 - requested by tron
imlib2: add patch to fix buffer overflow
revisions pulled up:
pkgsrc/graphics/imlib2/Makefile 1.48
pkgsrc/graphics/imlib2/distinfo 1.23
pkgsrc/graphics/imlib2/patches/patch-aa 1.12
Module Name: pkgsrc
Committed By: tron
Date: Sun Nov 23 18:41:16 UTC 2008
Modified Files:
pkgsrc/graphics/imlib2: Makefile distinfo
Added Files:
pkgsrc/graphics/imlib2/patches: patch-aa
Log Message:
Add Debian patch to fix a buffer overflow in the XPM file loader.
Bump package revision.
Add Debian patch to fix a buffer overflow in the XPM file loader. Bump package revision.
pullup ticket #2562 - requested by tron
imlib2: update package for security fix
revisions pulled up:
pkgsrc/graphics/imlib2/Makefile 1.47
pkgsrc/graphics/imlib2/distinfo 1.22
pkgsrc/graphics/imlib2/patches/patch-ca r0
pkgsrc/graphics/imlib2/patches/patch-ce r0
pkgsrc/graphics/imlib2/patches/patch-cf r0
Module Name: pkgsrc
Committed By: tron
Date: Thu Oct 30 11:26:26 UTC 2008
Modified Files:
pkgsrc/graphics/imlib2: Makefile distinfo
Removed Files:
pkgsrc/graphics/imlib2/patches: patch-ca patch-ce patch-cf
Log Message:
Update "imlib" package to version 1.4.2. Changes since version 1.4.0:
- Various bugfixes and security updates
This update addresses SA32354.
Update "imlib" package to version 1.4.2. Changes since version 1.4.0: - Various bugfixes and security updates This update addresses SA32354.
Pullup ticket 2411 - requested by drochner
security fix for imlib2
- pkgsrc/graphics/imlib2/Makefile 1.46
- pkgsrc/graphics/imlib2/distinfo 1.21
- pkgsrc/graphics/imlib2/patches/patch-cf 1.3
Module Name: pkgsrc
Committed By: drochner
Date: Mon Jun 2 10:05:50 UTC 2008
Modified Files:
pkgsrc/graphics/imlib2: Makefile distinfo
Added Files:
pkgsrc/graphics/imlib2/patches: patch-cf
Log Message:
add a patch from redhat bugzilla (#449073) to fix the xpm half
of CVE-2008-2426, the pnm half was fixed in pkgsrc in 2006
bump PKGREVISION
add a patch from redhat bugzilla (#449073) to fix the xpm half of CVE-2008-2426, the pnm half was fixed in pkgsrc in 2006 bump PKGREVISION
Update home page URL.
Add x11 option (default: enabled). No functionally change, but bump PKGREVISION due to detect x11 option.
update to 1.4.0 changes: security fixes, and a few crashes fixed
- Add SUBST fragment to deal with hardcoded .so library suffix in image.c. - While here, remove hunk "Avoid regenerating within pkgsrc" from patch-af. (caught by pkglint) - Bump revision
Pullup ticket 1926 - requested by drochner
security update for imlib2
- pkgsrc/graphics/imlib2/Makefile 1.41
- pkgsrc/graphics/imlib2/PLIST 1.8
- pkgsrc/graphics/imlib2/distinfo 1.17
- pkgsrc/graphics/imlib2/patches/patch-aa removed
- pkgsrc/graphics/imlib2/patches/patch-ba removed
- pkgsrc/graphics/imlib2/patches/patch-bb removed
- pkgsrc/graphics/imlib2/patches/patch-bc removed
- pkgsrc/graphics/imlib2/patches/patch-bd removed
- pkgsrc/graphics/imlib2/patches/patch-ca 1.1
- pkgsrc/graphics/imlib2/patches/patch-cb 1.1
- pkgsrc/graphics/imlib2/patches/patch-cc 1.1
- pkgsrc/graphics/imlib2/patches/patch-cd 1.1
- pkgsrc/graphics/imlib2/patches/patch-ce 1.1
- pkgsrc/graphics/imlib2/patches/patch-cf 1.1
- pkgsrc/graphics/imlib2/patches/patch-cg 1.1
Module Name: pkgsrc
Committed By: drochner
Date: Fri Nov 24 12:46:12 UTC 2006
Modified Files:
pkgsrc/graphics/imlib2: Makefile PLIST distinfo
Added Files:
pkgsrc/graphics/imlib2/patches: patch-ca patch-cb patch-cc patch-cd
patch-ce patch-cf patch-cg
Removed Files:
pkgsrc/graphics/imlib2/patches: patch-ba patch-bb patch-bc patch-bd
Log Message:
fix some insufficient validation of graphics files, patches from Ubuntu
(CVE-2006-4806, CVE-2006-4807, CVE-2006-4808, CVE-2006-4809)
update to 1.3.0 (no changelog available)
---
Module Name: pkgsrc
Committed By: drochner
Date: Wed Nov 29 15:37:09 UTC 2006
Removed Files:
pkgsrc/graphics/imlib2/patches: patch-aa
Log Message:
remove stale patchfile, pointed out by Kouichirou Hiratsuka
fix some insufficient validation of graphics files, patches from Ubuntu (CVE-2006-4806, CVE-2006-4807, CVE-2006-4808, CVE-2006-4809) update to 1.3.0 (no changelog available)
DESTDIR support and switch to modular buildlinks.
Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev.
Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update.
Recursive revision bump / recommended bump for gettext ABI change.
Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in
http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That file's sole purpose was to provide a dependency on pkg-config and set some environment variables. Instead, turn pkg-config into a "tool" in the tools framework, where the pkg-config wrapper automatically adds PKG_CONFIG_LIBDIR to the environment before invoking the real pkg-config. For all package Makefiles that included pkg-config/buildlink3.mk, remove that inclusion and replace it with USE_TOOLS+=pkg-config.
Change path from devel/pkgconfig to devel/pkg-config. No PKGREVISION bump since pkg-config is only a BUILD_DEPENDS.
Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated. These
changes affect about 1000 files.
The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files. Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred. This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.
The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.
The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc. The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.
The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files. Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories. These files are used as input
to imake since imake can't use stdin for that purpose.
The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead. This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed. Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries. Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
Convert to options framework.
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
Fix imlib2 use through dlopen. Patch pointer provided by Charlie Allom. Closes PR 29054.
Fix imlib2-config output to include -Wl,-R. Bump PKGREVISION.
Replaced the patch-aa (worked only with NetBSD-2.0) with patch-ab (works also with NetBSD-1.6.2). Bumped PKGREVISION, because the actual code changes. The patch is ugly (as usual), but small. Reviewed by christos.
Changes 1.2.0: * Source tree clean up * Bug fixes
Bump PKGREVISIONs due to libtiff update. Some BUILDLINK_RECOMMENDED bumps done also. (If I missed any, please let me know -- and let me know a good way to automate this.)
Update linkage to libltdl (via imlib2), now in its own package.
Add the bzip2 buildlink3.mk file. Fixes PR 27167 from Robert Lillack.
Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
Update imlib2 to 1.1.2. This version now includes an IFF ILBM loader. More importantly, this version fixes a buffer overflow vulnerability. Closes PR 26833 by Peter Bex.
Update to imlib2-1.1.1. No real changelog available, so I'm guessing it are only bug-fixes..
For USE_MMX users, do the following: o only include it in the BUILD_DEFS if the current platform is concerned. For now that only includes i386, but we might find amd64 users in the future. o test against [Yy][Ee][Ss], for consistency. Fixes part of PR 26243.
PKGCONFIG_OVERRIDE is relative to WRKSRC.
LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}. Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
Bump PKGREVISION due to USE_X11BASE -> USE_X11 change.
bl3ify, while here replace USE_X11BASE with USE_X11.
link against libm on Solaris.
Bump package revisions for tiff update. Tiff is backward compatible, but was broken on amd64 platform so this makes sure new tiff is used.
Updated to 1.1.0, provided by Min Sik Kim PR pkg/23630. Changes: o imlib2-1.1.0 uses freetype2 instead of freetype1. o More bugfixes, etc.
COMMENT should start with a capital letter.
s/netbsd.org/NetBSD.org/
PKGREVISION bump for libiconv update.
Line up PKGREVISION whitespace.
Dependency bumps, needed because of devel/pth's major bump, and related dependency bumps.
Update to 1.0.6. Author only maintains a CVS ChangeLog that is very difficult to track for differences since 1.0.3... anyway, most changes seem to be bugfixes and performance improvements. This closes my own PR pkg/19144.
Test USE_MMX variable instead of undocumented IMLIB2_USE_MMX.
allow this to build by replacing the use of LTCONFIG_OVERRIDE with LIBTOOL_OVERRIDE.
Remove unneeded USE_LIBINTL.
Convert to buildlink2.
Give all packages which depend on "png" a version bump, and update all dependencies on packages depending on "png" which contain shared libraries, all for the (imminent) update to the "png" package. [List courtesy of John Darrow, courtesy of "bulk-build".]
Initial import of imlib2-1.0.3, an image manipulation library (the successor to imlib).
Initial revision