Commit graph

121 commits

Author SHA1 Message Date
Tobias Kortkamp
049f9d47f9 graphics/gegl: Spell POPPLER_MESON_ENABLED correctly
There is no MESON_WITH options helper.

- While here remove EXTRA_PATCHES since cpu-detection.patch has
  been deleted and seems to be part of gegl 0.4.22 already.  This
  unbreaks the build in Poudriere too.

Reported by:	portscan
2020-02-26 06:13:41 +00:00
Koop Mast
60ead05c54 Update gegl to 0.4.22.
- Poppler support is back
- Move a couple of OPTION _DESC lines to the other OPTION variables.
2020-02-25 21:17:52 +00:00
Tobias C. Berner
336f10c8b0 Bump revision of poppler dependencies
- poppler was updated in r525051, bump revisions
2020-02-03 19:32:51 +00:00
Tobias C. Berner
90a4ed701a graphics/poppler: update to 0.84.0
Release 0.84.0:
        core:
         * Fix crash when converting from Unicode to ASCII-7
         * Splash::scaleImageYdXu: Protect against crash if srcWidth is too big
         * JBIG2Stream: fix potential crash in malformed documents
         * JBIG2Stream: fix leak in reset() if called several times
         * Internal code improvements

        utils:
         * pdfimages: Add error message if first page is larger then number of pages.
         * pdfinfo: Improved paper size recognition
         * pdfsig: Fix exit code when dumping signatures
         * pdftocairo: Error out when even/odd selects 0 pages
         * pdftohtml: Fix memory leak
         * pdftoppm: Add an option to scale before rotate
         * pdftoppm: Add -hide-annotations option
         * pdftoppm: Error out when even/odd selects 0 pages
         * pdftops: Improve -optimizecolorspace

        qt5:
         * Code cleanups

        glib:
         * Fix compiler warnings

Release 0.83.0
        core:
         * Improve when a file is recognized as Linearized
         * Improve const-ness of the code
         * Make code a bit more readable/maintanable
         * Fix uninitialized memory uses in broken files

        utils:
         * pdffonts: Make code a bit more readable/maintanable
         * pdftohtml: Make code a bit more readable/maintanable

        qt5:
         * Remove a bunch of unused internal functions
         * trUtf8 -> tr (less warnings)

        build system:
         * make-glib-api-docs: switch to python3

PR:		243433
Exp-run by:	antoine
2020-01-22 17:59:22 +00:00
Matthias Andree
2e26d3323d graphics/ilmbase, graphics/openexr: upgrade to upstream v2.4.0
graphics/gstreamer1-plugins-openexr: switch from C++98 to C++11 to
match new OpenEXR headers and unbreak compilation.

Bump PORTREVISION of all ports depending directly on either, based
on assessing INDEX-12 (bump_portrevision.pl -l (shallow) used).

Release Notes:
https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.4.0

The update was deliberately deferred until after 2020Q1, and should
not be MFH'd back to it.
2020-01-05 02:17:32 +00:00
Baptiste Daroussin
3e67cca111 Actually add the said patch 2020-01-02 08:19:26 +00:00
Baptiste Daroussin
0d54696f56 Add an upstream patch to better detect cpu.
This fixes build for arm and arm64 at least

Reported by:	many
2020-01-02 08:18:44 +00:00
Baptiste Daroussin
92f07874bd Update to 0.4.18
Switch build system to meson
Add now required bash build dependency
Compared to previous version, this version has lua disabled as it complexify the
and has no known use case in ports for now.
Note that the POPPLER option has been removed, as there is no support for it upstream anymore
along with the EXAMPLE option.
Provide explicit values to all possible build switch to avoid unexpected extra
dependencies automagically found.
2019-12-27 14:38:46 +00:00
Baptiste Daroussin
c5fe34636c Update jasper to 2.0.16
This is needed to be able to update gegl to latest version.
Bump revision of all consumer as the ABI is not 100% backward compatible.
Provide a patch for graphics/devil to properly build with latest jasper.
While here add a missing USES=xorg to graphics/devil
2019-12-27 13:43:00 +00:00
Tobias C. Berner
3ca3ffe455 graphics/poppler: update to 0.82.0
Release 0.82.0:
        core:
         * Fix not being able to open some files. Issue #832
         * Fix crashes in malformed files
         * Fix memory leak on broken files
         * Minor performance improvements
         * Minor code improvements

        glib:
         * Add poppler_document_new_from_bytes
         * PopplerAttachment: Silence deprecation warnings for ctime/mtime

        build system:
         * pdf-inspector: Support builddir != srcdir
         * Install Cairo* headers if Cairo has been found

Thanks to adridg@ for fixing all the fallout.

Exp-run by:	antoine
PR:		241532
Approved by:	gnome (kwm, implicit)
2019-11-01 21:51:36 +00:00
Tobias Kortkamp
695a189942 Belatedly bump revision of graphics/libspiro consumers
In r509300 libspiro was updated and there was a shared library bump,
but consumers were never bumped.

https://forums.freebsd.org/threads/gimp-wont-compile.72223/

PR:		239951
Pointy hat:	pi
2019-09-09 13:41:29 +00:00
Piotr Kubaj
7615d55b29 graphics/gegl: fix build with clang when using Altivec
Clang doesn't like including altivec.h manually:
/usr/lib/clang/8.0.1/include/altivec.h:69:19: error: unknown type name 'vector'
static inline vector bool char __ATTRS_o_ai

PR:		239757
Approved by:	linimon (mentor), gnome (maintainer timeout)
Differential Revision:	https://reviews.freebsd.org/D21404
2019-08-28 19:15:20 +00:00
Jan Beich
325aed58cb multimedia/ffmpeg: update to 4.2
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.2:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
2019-08-05 23:06:50 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

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, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Antoine Brodin
72501976a8 Remove patch that no longer applies 2019-07-10 21:46:28 +00:00
Koop Mast
dfecceff54 Update gegl to 0.4.16.
Enable GEXIV2 option by default, since exiv support was dropped.
2019-07-10 16:52:07 +00:00
Tobias C. Berner
d163307e80 graphics/poppler: update to 0.77.0
Release 0.77.0:
        core:
         * Fix crash on signature handling. Issue #766
         * Fix small memory leak in SignatureHandler::getCertificateInfo
         * Splash: Restrict filling of overlapping boxes. Issue #750
         * Fix crash on malformed files

        qt5:
         * Fix optional content handling with exclusive layers

        cpp:
         * Make render_page thread-safe

        utils:
         * pdfsig: Fix small memory leak
         * pdftotext: Fix typo in manpage

PR:		238115
Exp-run by:	antoine
Approved by:	gnome (kwm, implicit)
2019-06-01 06:39:22 +00:00
Tobias C. Berner
753388101e graphics/poppler: update to 0.76.1
From Changelog at https://poppler.freedesktop.org/releases.html :

Release 0.76.1:
        core:
         * Make the mul tables be calculated at compile time with constexpr.
         * splash: Fix compile with SPLASH_CMYK enabled
         * Some typo fixing in error messages

        qt5:
         * Fix regression in annotation handling

        build system:
         * Fix some typos in build system output and comments

Release 0.76.0:

        core:
         * Fix regression on case-insensitive search. Issue #743
         * Remove GooList, use std::vector instead
         * Fix radiobutton reporting wrong state. Issue #159
         * Handle UTF16-LE strings
         * Don't error out if there's no DA in FreeText annotation
         * cairo: Compute correct coverage values for box filter.
         * cairo: Constrain number of cycles in rescale filter.
         * Read more fields from ViewerPreferences
         * Introduce and use Ref::INVALID
         * Fix crashes in broken files
         * Fix mismatched free/delete
         * Add missing include guards

        utils:
         * pdftohtml: Properly initialize HtmlOutputDev::page to avoid SIGSEGV upon error exit. Issue #742

All the required patches have been obtained via gentoo.

PR:		237846
Exp-run by:	antoine
Approved by:	kwm
2019-05-13 18:33:10 +00:00
Koop Mast
6139dfbfd7 Update gegl to 0.4.14. 2019-05-11 18:52:00 +00:00
Jason E. Hale
67d26aa566 graphics/libraw: Update to 0.19.2
- Demosaic packs are no longer distributed nor supported upstream
- Bump PORTREVISON on all consumers due to libraw shlib version increase

Changes:	https://www.libraw.org/news/libraw-0-19-2-release
2019-03-29 23:00:35 +00:00
Tobias C. Berner
fda98ed059 graphics/exiv2: update to 0.27
Changelog:
	http://www.exiv2.org/changelog.html

- All depending ports have been bumped.
- graphics/py-exiv2 has been marked broken; use graphics/gexiv2 for python bindings

Exp-run by:	antoine
PR:		235943
PR:		234830
2019-03-17 13:14:52 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 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, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Koop Mast
abc7aafda0 Update gegl to 0.4.12.
* remove stale 0.3.x development comment from pkg-descr.
2018-11-24 14:01:25 +00:00
Jan Beich
0872f77fd4 multimedia/ffmpeg: update to 4.1
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.1:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
2018-11-06 01:50:26 +00:00
Koop Mast
cf1ae7ec9e Add missing bits from the patch.
PR:		232054
Submitted by:	tobik@
2018-10-08 19:35:47 +00:00
Koop Mast
a7b47b5ccb Fix conflict with coreutils. [1]
Previous in gegl3 the pkgnamesuffix of that port cause gcut to be installed
as gcut3. Now after the move there isn't a pkgnamesuffix anymore. Base the
new suffix on the value off GEGL_VER.

PR:		232054 [1]
Submitted by:	tobic@
Reported by:	w.schwarzenfeld@utanet.at
2018-10-08 15:37:34 +00:00
Koop Mast
f1cfd38116 Move graphics/gegl3 to graphics/gegl and update to 0.4.8. 2018-10-07 19:02:47 +00:00
Koop Mast
fc38cc0715 Remove the old gegl. 2018-10-07 19:00:17 +00:00
Thomas Zander
84b6aee905 Bump PORTREVISION to chase update of multimedia/v4l_compat and libv4l 2018-09-29 08:04:27 +00:00
Matthias Andree
d1cfeab07e Update ilmbase and openexr to 2.3.0, rename OpenEXR to openexr.
Release notes: <https://github.com/openexr/openexr/releases/tag/v2.3.0>

Adjust LIB_DEPENDS of all ports that require ilmbase or openexr to chase
the new lower-case spelling of the name, and to omit the version from the
library name to ease future maintenance.

Bump PORTREVISION of all ports that depend on ilmbase or openexr directly,
so that they all get rebuilt on upgrades.

Add patches to graphics/ampasCTL to keep it alive, with (a) ilmbase now
that its Iex::BaseExc class is no longer derived from std::string,
details were given upstream through https://github.com/ampas/CTL/issues/71
and (b) to unwind semicolon/;-lists in cmake that stem from openexr/
ilmbase pkg-config variables.
(Note ampasCTL is unmaintained as FreeBSD port, and upstream,
and I cannot run-time test it.)

Poudriere build tests on 11.2-RELEASE-p1 amd64 of ALL ports depending
directly or indirectly on ilmbase and/or openexr have passed without
regressions.  Thus invoking due diligence, I believe I have done the
equivalent of an -exp run, and do not require approval for the dependency
chases to third-party ports.
2018-09-22 10:15:22 +00:00
Mark Linimon
13fb0b92a2 Fix port builds for architectures which remain on gcc as the default compiler.
This will primarily help powerpc64.

For archs where clang is the default compiler, these changes will have no
effect, as the base compiler already has these capabilities (primarily, but
not exclusively, c++-11).

Tested for no-harm on amd64.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2018-06-11 01:44:15 +00:00
Jan Beich
c400a2c8b6 multimedia/ffmpeg: update to 4.0
- FFSERVER support was removed upstream
- libressl now uses libtls backend instead of patching openssl one
- Clang i386 no longer uses 16-byte aligned stack

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.0:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
PR:		227726
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D15175
2018-05-02 15:07:27 +00:00
Tobias C. Berner
05c7a17cbe Update grahics/exiv2 to 0.26
PR:		223625
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D12345
2018-04-28 06:14:58 +00:00
Jan Beich
41b40a846c graphics/gegl: unbreak with ffmpeg 4.0
./ff-load.c:312:36: error: use of undeclared identifier 'CODEC_CAP_TRUNCATED'
      if (p->codec->capabilities & CODEC_CAP_TRUNCATED)
                                   ^
./ff-load.c:313:26: error: use of undeclared identifier 'CODEC_FLAG_TRUNCATED'
        p->enc->flags |= CODEC_FLAG_TRUNCATED;

PR:		227726
2018-04-24 13:56:29 +00:00
Matthias Andree
1fb0ae7cf9 Security update OpenEXR and ilmbase to 2.2.1.
While here, fix libIlmImfUtil_la_LDFLAGp so that when linking libIlmImfUtil,
the locally built libIlmImf gets precedence over the one in /usr/local,
to permit upgrades in a running system with the older version installed.

This changes the library's SONAME, so bump PORTREVISION of all dependees.

Unfortunately, this looks a bit too intrusive for an MFH to 2017Q4.

Security:	CVE-2017-9110
Security:	CVE-2017-9111
Security:	CVE-2017-9112
Security:	CVE-2017-9113
Security:	CVE-2017-9114
Security:	CVE-2017-9115
Security:	CVE-2017-9116
Security:	803879e9-4195-11e7-9b08-080027ef73ec
2017-12-01 01:58:23 +00:00
Jan Beich
84e727457f multimedia/ffmpeg: update to 3.4
Notable changes:
- i386/amd64 now depend on NASM per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/4f9297ac3b39
- NETCDF is now MYSOFA but the dependency doesn't exist in ports yet
- SCHROEDINGER is gone per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/220b24c7c9
- DRM, LIBRSVG2, LIBXML2 are new options
- ABI isn't completely compatible: some structs have changed

Minor cleanup:
- Don't pass --disable-{in,out}dev when it's already blocked by disabled dependency
- Drop redundant "Enable" from option descriptions
- Switch CDIO_DESC to use Mk/bsd.options.desc.mk

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.4:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
PR:		223057
Exp-run by:	antoine
2017-10-21 06:50:49 +00:00
Koop Mast
0c71cba5fd Mark broken on aarch64.
PR:		219111
Submitted by:	linimon@
2017-05-15 21:43:29 +00:00
Jan Beich
e20fd87bcf graphics/gegl: unbreak FFMPEG=on runtime
$ gimp /path/to/file.png
GEGL-geglmodule.c-Message: Module '/usr/local/lib/gegl-0.2/ff-load.so'
load error: /usr/local/lib/gegl-0.2/ff-load.so: Undefined symbol "av_read_packet"

$ echo CFLAGS+=-Werror=implicit-function-declaration >>Makefile.local
$ make
[...]
./ff-load.c:140:9: error: implicit declaration of function 'av_close_input_file' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
        av_close_input_file (p->ic);
        ^
./ff-load.c:219:23: error: implicit declaration of function 'av_read_packet' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
                  if (av_read_packet (p->ic, &p->pkt) < 0)
                      ^
./ff-load.c:274:13: error: implicit declaration of function 'av_open_input_file' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
      err = av_open_input_file (&p->ic, o->path, NULL, 0, NULL);
            ^
./ff-load.c:279:13: error: implicit declaration of function 'av_find_stream_info' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
      err = av_find_stream_info (p->ic);
            ^
./ff-load.c:279:13: note: did you mean 'avformat_find_stream_info'?
/usr/local/include/libavformat/avformat.h:2217:5: note: 'avformat_find_stream_info' declared here
int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options);
    ^
./ff-load.c:315:11: error: implicit declaration of function 'avcodec_open' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
      if (avcodec_open (p->enc, p->codec) < 0)
          ^
./ff-load.c:315:11: note: did you mean 'avcodec_open2'?
/usr/local/include/libavcodec/avcodec.h:4324:5: note: 'avcodec_open2' declared here
int avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options);
    ^
./ff-load.c:324:23: error: implicit declaration of function 'avcodec_alloc_frame' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
      p->lavc_frame = avcodec_alloc_frame ();
                      ^

PR:		207547
Approved by:	portmgr blanket
2016-12-12 08:08:41 +00:00
Jan Beich
0c612c4aa3 multimedia/ffmpeg: update to 3.2.2
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.2.2:/Changelog
PR:		207547
Submitted by:	riggs, ebirth@b0ss.net (libressl fix)
Exp-run by:	antoine (3 tries)
2016-12-11 15:22:47 +00:00
Jason E. Hale
94252026bc Update graphics/libopenraw to 0.1.0
Take maintainership
Chase shared library bump and fix build with graphics/gegl
2016-12-01 19:03:50 +00:00
Tobias C. Berner
c1ff5bbef3 Update graphics/exiv2 to 0.25.
As there is an shlib version bump, bump them portrevision of dependent ports.

While doing so, also switch to the cmake build system, as it requires less
patching and is easier to handle.

PR:             211329
Reviewed by:    mat, rakuco, kwm
Approved by:    rakuco (mentor)
Differential Revision:  https://reviews.freebsd.org/D7283
2016-07-27 10:22:26 +00:00
Jan Beich
6b4124f7ec graphics/gegl{,3}: fix typos in options
- gegl: SIMD=on has the opposite effect
- gegl3: ENSCRIPT=on has no effect

Approved by:	portmgr blanket
MFH:		2016Q4
2016-07-25 22:38:49 +00:00
Jan Beich
e9d1bf35ae graphics/gegl: clarify LICENSE
A quick grep(1) of *.c files reveals:

LGPL20 files are

  gegl/buffer/gegl-id-pool.c
  operations/external/v4lutils/v4lutils.c

GPLv3 files are

  bin/gegl.c
  bin/gegl-path-spiro.c
  bin/gegl-path-smooth.c
  bin/gegl-options.c
  gegl/buffer/gegl-cache.c

All GPL license headers have

  ..., or (at your option) any later version.

Approved by:	portmgr blanket
2016-07-25 22:11:02 +00:00
Jan Beich
9057d20bd5 Apply r402343 to other gnome@ ports restoring r297047 behavior
- Invoke pkg-config(1) instead of checking manually
- Convert to ECHO_MSG which can be silenced

PR:		166279
Approved by:	portmgr blanket
MFH:		2016Q3
2016-07-25 21:46:22 +00:00
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Koop Mast
652724b9ab * Add PORTSCOUT macros to only show stable gnome versions.
* Fix the PORTSCOUT macro in devel/glib20-reference/bsd.gnome-reference.mk
  so that all -reference ports get ignored.
* Add some PORTSCOUT=ignore:1 here and there for software that won't get
  any updates anymore. Or are slave ports, so only the master port will
  get checked.
2015-08-08 13:56:32 +00:00
Antoine Brodin
6e5719ca80 Convert to USES=jpeg 2015-06-22 18:33:20 +00:00
Dmitry Marakasov
288accf75f - Add CPE info
- Add LICENSE

Approved by:	portmgr blanket
2015-05-13 14:24:51 +00:00
Wen Heping
ee79638eef - Update graphics/libspiro to 0.2.20131203
PR:		196202
Submitted by:	cyberbotx@cyberbotx.com(maintainer)
2014-12-28 14:53:29 +00:00
Baptiste Daroussin
bb21093773 Bump portrevision after png update 2014-12-25 20:54:41 +00:00