FreeImage is an open source library project for developers who would like to
support popular graphics image formats like PNG, BMP, JPEG, TIFF, and others
as needed by today's multimedia applications. FreeImage is easy to use,
fast, multithreading safe, and cross-platform. This port includes both the
original C interface and the C++ wrapper FreeImagePlus.
all: drop support for FreeBSD 13, mips and risc64sf
Reviewed by: many (*)
Differential Revision: https://reviews.freebsd.org/D55624
Differential Revision: https://reviews.freebsd.org/D55642 (merged in from bofh)
many (*)
acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga
jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka
nobutaka pkubaj se tagattie thj
Anton Saietskii
GenericRikka
Gert Doering
Jan Bramkamp
Oleh Hushchenkov
Oleksandr Kryvulia
Ralf van der Enden
Yamagi
desktop kde python tcltk office
graphics/freeimage: fix build with clang 16
Since clang 16 (and gcc 11) the default C++ standard is now gnu++17.
Because graphics/freeimage's Makefile does not explicitly set its C++
standard, this leads to several errors:
In file included from Source/FreeImage/PluginEXR.cpp:33:
In file included from Source/FreeImage/../OpenEXR/IlmImf/ImfOutputFile.h:46:
In file included from Source/OpenEXR/IlmImf/ImfHeader.h:51:
Source/OpenEXR/Imath/ImathVec.h:228:34: error: ISO C++17 does not allow
dynamic exception specifications [-Wdynamic-exception-spec]
const Vec2 & normalizeExc () throw (IEX_NAMESPACE::MathExc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/OpenEXR/Imath/ImathVec.h:228:34: note: use 'noexcept(false)' instead
const Vec2 & normalizeExc () throw (IEX_NAMESPACE::MathExc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(Only the first 15 lines of the commit message are shown above )
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
graphics/freeimage: fix build on powerpc64 with CPUTYPE=power7 or higher and on
powerpc64le
The bundled png is set up for VSX autodetection, but no actual VSX-related code
is included.
graphics/freeimage: Amend patch introduced in r479150
While there is an additional check on 'handle' in psdParser::Save()
later it should be done earlier as intended and not just commented
out because of Clang/libc++ regressions.
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
graphics/freeimage: unbreak on armv7
/usr/bin/ld: ./Source/FreeImage/BitmapAccess.o(.text+0x2d0): unresolvable
R_ARM_MOVW_ABS_NC relocation against symbol `_ZSt7nothrow'
/usr/bin/ld: final link failed: Nonrepresentable section on output
cc: error: linker command failed with exit code 1 (use -v to see invocation)
graphics/freeimage: unbreak build with Clang 6 (C++14 by default)
Source/LibRawLite/./internal/dcraw_common.cpp:3786:19: error: constant
expression evaluates to 128 which cannot be narrowed to type 'signed char'
[-Wc++11-narrowing]
-1,-2,-1,+0,0,0x80, -1,-2,+0,-1,0,0x01, -1,-2,+1,-1,0,0x01,
^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3786:19: note: insert an explicit
cast to silence this issue
-1,-2,-1,+0,0,0x80, -1,-2,+0,-1,0,0x01, -1,-2,+1,-1,0,0x01,
^~~~
static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:3787:39: error: constant
expression evaluates to 136 which cannot be narrowed to type 'signed char'
[-Wc++11-narrowing]
-1,-2,+1,+0,1,0x01, -1,-1,-1,+1,0,0x88, -1,-1,+1,-2,0,0x40,
^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3787:39: note: insert an explicit
cast to silence this issue
-1,-2,+1,+0,1,0x01, -1,-1,-1,+1,0,0x88, -1,-1,+1,-2,0,0x40,
^~~~
(Only the first 15 lines of the commit message are shown above )
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707
Unbreak the build on PowerPC by using modern compiler (GCC). The problem
was the same as fixed recently in r401989 since FreeImage bundles its own
copy of OpenEXR.
Adds -fPIC to CFLAGS_aarch64 to a number of ports that already have it
in the amd64 CFLAGS and are failing to build.
Approved by: bapt
Differential Revision: https://reviews.freebsd.org/D3321
- Update to version 3.16.0
- Make use of CFLAGS_amd64 and thus simplify the Makefile
- Do not hardcode ${GMAKE}, correctly call it via ${MAKE_CMD}
- Sort USES values, sanitize port-build/install commands
Approved by: gahr (maintainer)
Update to release 3.15.1 which is a maintenance release that brings several
fixes for TIFF, JPEG, BMP, PCX, and CUT plugins. The most significant fixes
concern the security against malicious images, so that an update is highly
recommended.
Approved by: maintainer
Feature safe: yes
- Update to 3.15.0
Release 3.15.0 mainly add support for thumbnail loading / saving, as well as
better support for JPEG, Exif, TIFF, TARGA, ICO, PSD, BMP formats.
The library has been updated with the new libjpeg (8c), libtiff (3.9.4),
libpng (1.4.5), OpenJPEG (1.4.0) and libraw (0.13-Beta3) libraries.
PR: 156303
Submitted by: Pedro Giffuni <giffunip@tutopia.com>
FreeImage is an Open Source library project for developers who would like to
support popular graphics image formats like PNG, BMP, JPEG, TIFF and others as
needed by today's multimedia applications. FreeImage is easy to use, fast,
multithreading safe, compatible with all 32-bit versions of Windows, and
cross-platform (works both with Linux and Mac OS X).
PR: ports/85552
Submitted by: "Choe, Cheng-Dae" <whitekid@gmail.com>