2021-01-24 16:15:46 +01:00
|
|
|
# $NetBSD: Makefile,v 1.81 2021/01/24 15:15:46 nia Exp $
|
2001-08-16 12:49:52 +02:00
|
|
|
|
2021-01-24 16:15:46 +01:00
|
|
|
DISTNAME= imlib2-1.7.1
|
2005-01-11 14:37:54 +01:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
|
2011-05-18 12:04:26 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2001-08-16 12:49:52 +02:00
|
|
|
|
2013-12-23 12:57:02 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-08-16 22:21:03 +02:00
|
|
|
HOMEPAGE= https://docs.enlightenment.org/api/imlib2/html/
|
2005-01-11 14:37:54 +01:00
|
|
|
COMMENT= Image manipulation library
|
2016-01-22 22:06:59 +01:00
|
|
|
LICENSE= mit # with some modifications
|
2001-08-16 12:49:52 +02:00
|
|
|
|
2014-05-17 11:25:01 +02:00
|
|
|
USE_LIBTOOL= yes
|
2005-08-10 22:56:10 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
2014-05-17 11:25:01 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2001-08-16 12:49:52 +02:00
|
|
|
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE= imlib2.pc.in
|
2001-08-16 12:49:52 +02:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
LIBS.SunOS+= -lm
|
2004-02-04 01:00:53 +01:00
|
|
|
|
2007-08-02 23:35:14 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OBJECT_FMT} == "SOM"
|
|
|
|
SHLIB_SUFFIX= sl
|
|
|
|
.else
|
|
|
|
SHLIB_SUFFIX= so
|
|
|
|
.endif
|
|
|
|
|
2020-04-25 19:23:44 +02:00
|
|
|
.if ${SHLIB_SUFFIX} != so
|
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.
2020-02-20 16:14:56 +01:00
|
|
|
SUBST_CLASSES+= shlib
|
2018-07-04 15:40:07 +02:00
|
|
|
SUBST_STAGE.shlib= pre-configure
|
2007-08-02 23:35:14 +02:00
|
|
|
SUBST_MESSAGE.shlib= Replacing shared library suffix
|
|
|
|
SUBST_FILES.shlib+= src/lib/image.c
|
|
|
|
SUBST_SED.shlib+= -e 's,"\.so",".${SHLIB_SUFFIX}",'
|
2020-04-25 19:23:44 +02:00
|
|
|
.endif
|
2007-08-02 23:35:14 +02:00
|
|
|
|
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.
2020-02-20 16:14:56 +01:00
|
|
|
SUBST_CLASSES+= rpath
|
2013-03-02 19:07:14 +01:00
|
|
|
SUBST_STAGE.rpath= pre-configure
|
|
|
|
SUBST_MESSAGE.rpath= Replacing COMPILER_RPATH_FLAG
|
|
|
|
SUBST_FILES.rpath= imlib2-config.in
|
|
|
|
SUBST_VARS.rpath= COMPILER_RPATH_FLAG
|
|
|
|
|
2005-05-31 23:35:13 +02:00
|
|
|
.include "options.mk"
|
2001-08-16 12:49:52 +02:00
|
|
|
|
2004-10-06 21:35:25 +02:00
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
2007-08-02 23:35:14 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2004-02-11 06:51:53 +01:00
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
2010-12-23 12:44:24 +01:00
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
2014-05-31 17:56:26 +02:00
|
|
|
.include "../../graphics/giflib/buildlink3.mk"
|
2004-02-11 06:51:53 +01:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
2001-08-16 12:49:52 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|