* update cmake to generate config.h in the build dir
* 2.3.3 release
* gdPutBuf return value check
* HEIF builds fail with latest distros
* segfault in heif tests due to missing label.heic
* Test failure avif/compare_avif_to_png with libavif-0.8.2
* imagecopyresampled() produce artifacts on transparent PNG
* Fixes to build v2.3.0 on Windows with MinGW-w64
* optimize option in gif animation causes segfault
* _gdContributionsCalc() always uses DEFAULT_BOX_RADIUS
* gdImageRotateInterpolated() converts the source image to truecolor
* CMake and Makefiles build broken on Windows
* gdImageScaleTwoPass() looses top row and left column
OBS-URL: https://build.opensuse.org/package/show/graphics/gd?expand=0&rev=68
- update to 2.3.1:
- Fix potential integer overflow detected by oss-fuzz
- Fix#615 using libraqm
- Fix#303: gdlib.pc: use Requires instead of Libs (#537)
- Fixed#472: Adjusting CMakeLists.txt (#582)
- Fix#615: gdImageStringFT() fails for empty strings as of libgd 2.3.0 (#633)
- Fix typo but preserve BC
- Compute average in gdGuessBackgroundColorFromCorners properly (#483)
- CMakeLists.txt: zlib is enabled implicitly
- src/config.h.cmake: replace #cmakedefine01 with #define in macro ENABLE_GD_FOORMATS (#622)
- gdlib.pc: use prefixes for pkgconfig file
- cmake: remove required host includes (#617)
- Move initial declaration out of `for` loop
- distribute getlib script
- Make gd_nnquant.c less likely to introduce duplicate definitions (#601)
- webp: support pkg-config file
- gd_io: replace internal Putchar with gdPutC
- gd_io: trim unused Putword function
OBS-URL: https://build.opensuse.org/request/show/874690
OBS-URL: https://build.opensuse.org/package/show/graphics/gd?expand=0&rev=64
- Version update to 2.3.0:
### Security
- Potential double-free in gdImage*Ptr(). (CVE-2019-6978)
- gdImageColorMatch() out of bounds write on heap. (CVE-2019-6977)
- Uninitialized read in gdImageCreateFromXbm(). (CVE-2019-11038)
- Double-free in gdImageBmp. (CVE-2018-1000222)
- Potential NULL pointer dereference in gdImageClone(). (CVE-2018-14553)
- Potential infinite loop in gdImageCreateFromGifCtx(). (CVE-2018-5711)
### Fixed
- Fix#597: add codecov support
- Fix#596: gdTransformAffineCopy run error
- Fix#589: Install dependencies move to .travis.yml
- Fix#586: gdTransformAffineCopy() segfaults on palette images
- Fix#585: gdTransformAffineCopy() changes interpolation method
- Fix#584: gdImageSetInterpolationMethod(im, GD_DEFAULT) inconsistent
- Fix#583: gdTransformAffineCopy() may use unitialized values
- Fix#533: Remove cmake modules
- Fix#539: Add RAQM support for cmake
- Fix#499: gdImageGifAnimAddPtr: heap corruption with 2 identical images
- Fix#486: gdImageCropAuto(…, GD_CROP_SIDES) crops left but not right
- Fix#485: auto cropping has insufficient precision
- Fix#479: Provide a suitable malloc function to liq
- Fix#474: libtiff link returns 404 HTTP code
- Fix#450: Failed to open 1 bit per pixel bitmap
- Fix#440: new_width & new_height exception handling
- Fix#432: gdImageCrop neglecting transparency
- Fix#420: Potential infinite loop in gdImageCreateFromGifCtx
- Fix#411: gd_gd.c format documentation appears to be incorrect
- Fix#369: Fix new_a init error in gdImageConvolution()
- Fix#351: gdImageFilledArc() doesn't properly draw pies
- Fix#338: Fatal and normal libjpeg/libpng errors not distinguishable
- Fix#169: Update var type to hold bigger w&h for ellipse
- Fix#164: update doc files install directory in CMakeLists.txt
- Correct some test depend errors
- Update cmake min version to 3.7
- Delete libimagequant source code download action in CMakeLists.txt
- Improve msys support
- Fix some logic error in CMakeLists.txt
- Remove the following macro: HAVE_STDLIB_H, HAVE_STRING_H, HAVE_STDDEF_H,
HAVE_LIMITS_H, HAVE_ERRNO_H, AC_C_CONST
### Added
- test cases for following API: gdImageCopyResized(), gdImageWebpEx(),
gdImageCreateFromGd2PartPtr(), gdImageCloneMatch(),
gdImageColorClosestHWB(), gdImageColorMatch(), gdImageStringUp(),
gdImageStringUp16(), gdImageString(), gdImageString16(),
gdImageCopyMergeGray(), gdImageCopyMerge()
- Drop CVE patches now fixed upstream:
- gd-CVE-2018-1000222.patch
- gd-CVE-2018-14553.patch
- gd-CVE-2018-5711.patch
- gd-CVE-2019-11038.patch
- gd-CVE-2019-6977.patch
- gd-CVE-2019-6978.patch
- Drop patch: libgd-config.patch since upstream have dropped libgd-config binary
- Run spec-cleaner
+ Remove package groups
+ use license macro
+ use make macros
OBS-URL: https://build.opensuse.org/request/show/825196
OBS-URL: https://build.opensuse.org/package/show/graphics/gd?expand=0&rev=62
### Security
- Double-free in gdImagePngPtr(). (CVE-2017-6362)
- Buffer over-read into uninitialized memory. (CVE-2017-7890)
### Fixed
- Fix#109: XBM reading fails with printed error
- Fix#338: Fatal and normal libjpeg/ibpng errors not distinguishable
- Fix#357: 2.2.4: Segfault in test suite
- Fix#386: gdImageGrayScale() may produce colors
- Fix#406: webpng -i removes the transparent color
- Fix Coverity #155475: Failure to restore alphaBlendingFlag
- Fix Coverity #155476: potential resource leak
- Fix several build issues and test failures
- Fix and reenable optimized support for reading 1 bps TIFFs
### Added
- The native MSVC buildchain now supports libtiff and most executables
- removed patches (upstreamed):
. gd-freetype.patch
. gd-rounding.patch
OBS-URL: https://build.opensuse.org/package/show/graphics/gd?expand=0&rev=42
- Version update to 2.2.4:
* gdImageCreate() doesn't check for oversized images and as such is prone
to DoS vulnerabilities. (CVE-2016-9317) bsc#1022283
* double-free in gdImageWebPtr() (CVE-2016-6912) bsc#1022284
* potential unsigned underflow in gd_interpolation.c (CVE-2016-10166)
bsc#1022263
* DOS vulnerability in gdImageCreateFromGd2Ctx() (CVE-2016-10167)
bsc#1022264
* Signed Integer Overflow gd_io.c (CVE-2016-10168) bsc#1022265
- Remove patches merged/obsoleted by upstream:
* gd-config.patch
* gd-disable-freetype27-failed-tests.patch
* gd-test-unintialized-var.patch
- Add patch gd-freetype.patch taking patch from upstream for
freetype 2.7
OBS-URL: https://build.opensuse.org/request/show/508757
OBS-URL: https://build.opensuse.org/package/show/graphics/gd?expand=0&rev=37
- Update to version 2.2.3:
- Drop upstreamed patches:
- Add BuildRequires for automake and autoconf since
gd-disable-freetype27-failed-tests.patch touches makefiles.
- Drop getver.pl from source: included in upstream tarball.
- Add "-msse -mfpmath=sse" to CFLAGS to fix tests on ix86
architectures.
- Add "-ffp-contract=off" to CFLAGS for non-ix86 arch (ppc, arm)
to fix a test: see gh#libgd/libgd#278.
- Add gd-test-unintialized-var.patch to fix an uninitialised
variable in tests/gd2/gd2_read.c to prevent it from compiling
with -Werror (only causes problems in no ix86 arch
surprisingly); patch sent upstream.
- Rebase gd-disable-freetype27-failed-tests.patch for updated
version.
- Update URL and Source to project's new github URL's.
OBS-URL: https://build.opensuse.org/request/show/432049
OBS-URL: https://build.opensuse.org/package/show/graphics/gd?expand=0&rev=32