Commit graph

171 commits

Author SHA1 Message Date
Jan Beich
efc8ec091e graphics/libavif: update to 0.9.1
Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.9.0...v0.9.1
Reported by:	GitHub (watch releases)
2021-05-20 02:38:28 +00:00
Matthias Andree
1d5b7c913b Bump portrevisions of openexr and Imath users. 2021-05-18 19:15:57 +02:00
Jean-Sébastien Pédron
5691fad3cf
graphics/darktable: Fix OpenEXR detection
The patch comes from upstream:
https://github.com/darktable-org/darktable/pull/8775

It didn't make it to a release yet.

The package revision is bumped because the build succeeds but darktable
failed to run with the following error:

    $ darktable --version
    ld-elf.so.1: /usr/local/bin/../lib/darktable/libdarktable.so: Undefined symbol "_ZTIN7Imf_3_09AttributeE"

With the patch:

    $ darktable --version
    this is darktable 3.4.1
    ...

PR:		255254
Reported by:	Ludger Bolmerg <lbolmerg@posteo.de>,
		Felix Palmen <felix@palmen-it.de>,
		a.parseg@gmail.com
Obtained from:	https://github.com/darktable-org/darktable/pull/8775
2021-04-29 23:55:19 +02:00
Matthias Andree
309ccb9a4c graphics/darktable: make compatible with OpenEXR/Imath 3.0 2021-04-12 02:33:38 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Jean-Sébastien Pédron
0872363de4 graphics/darktable: Add LTO option to toggle Rawspeed LTO
PR:		253904
Submitted by:	pkubaj@
2021-03-04 08:57:58 +00:00
Piotr Kubaj
4ec27f7db9 graphics/darktable: fix build on powerpc64le
Disable including gdkcolor.h because pixel is a type on POWER:
/usr/local/include/gtk-3.0/gdk/deprecated/gdkcolor.h:56:11: error: two or more data types in declaration specifiers
   56 |   guint32 pixel;

Disable OpenCL:
/wrkdirs/usr/ports/graphics/darktable/work/darktable-3.4.1/data/kernels/bilateral.cl:67:17: error: implicit declaration of function 'atom_add' is invalid in OpenCL
    old_val.i = atom_add(ival, 0);

Approved by:	tier 2 blanket
2021-02-28 09:45:38 +00:00
Jean-Sébastien Pédron
6fa9988343 graphics/darktable: Add shells/bash as a build dependency
It has always been required, but was indirectly satisfied by security/p11-kit
which depended on shells/bash until yesterday.

This fixes the build of Darktable.

Submitted by:	fluffy@
Reported by:	fluffy@
2021-02-26 13:06:25 +00:00
Jean-Sébastien Pédron
ad5207a0f6 graphics/darktable: Update to 3.4.1
Release notes:
* https://www.darktable.org/2021/02/darktable-341-released/
* https://github.com/darktable-org/darktable/releases/tag/release-3.4.1

PR:		253817
Submitted by:	Ludger Bolmerg <lbolmerg@posteo.de>
2021-02-26 08:59:11 +00:00
Jan Beich
091225745c graphics/libavif: update to 0.9.0
Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.8.4...v0.9.0
Reported by:	GitHub (watch releases)
2021-02-23 06:40:43 +00:00
Matthias Andree
1c11b9ae32 graphics/openexr, ilmbase: security update to v2.5.5
https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.5

"Specific OSS-fuzz issues include:

    OSS-fuzz #30291 Timeout in openexr_exrcheck_fuzzer
    OSS-fuzz #29106 Heap-buffer-overflow in Imf_2_5::FastHufDecoder::decode
    OSS-fuzz #28971 Undefined-shift in Imf_2_5::cachePadding
    OSS-fuzz #29829 Integer-overflow in Imf_2_5::DwaCompressor::initializeBuffers
    OSS-fuzz #30121 Out-of-memory in openexr_exrcheck_fuzzer"

Bump PORTREVISION of ports that directly depend on openexr and/or ilmbase.

MFH:		2021Q1
Security:	98044aba-6d72-11eb-aed7-1b1b8a70cc8b
2021-02-13 11:08:29 +00:00
Jean-Sébastien Pédron
c9567f2797 graphics/darktable: Update to 3.4.0
Release notes:
* https://github.com/darktable-org/darktable/releases/tag/release-3.4.0

PR:		252641
Submitted by:	fluffy@
2021-01-25 21:49:17 +00:00
Matthias Andree
c77c064297 graphics/openexr: really commit v2.5.4 update.
Unfortunately, this was missed with the ilmbase update, and
causes yet another PORTREVISION bump on all dependent ports.

repeating ilmbase's commit log here:

"Patch release with various bug/sanitizer/security fixes, primarily related to
reading corrupted input files."
<https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.4>

Cherry-pick upstream commit for GCC 11 compatibility:
<a40a6151c4>

Since this changes the patchlevel of the solibs, bump PORTREVISION of dependent
ports just to be sure.
(graphics/py-openshadinglanguage is unaltered and .includes the revision bump
from .../openshadinglanguage.)

MFH:		2021Q1 (this requires discussion by ports-secteam@!)

Reported by:	VVD (IRC, #bsdports)
2021-01-03 16:57:29 +00:00
Matthias Andree
db0013e446 graphics/openexr: graphics/ilmbase: v2.5.4 update
"Patch release with various bug/sanitizer/security fixes, primarily related to
reading corrupted input files."
<https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.4>

Cherry-pick upstream commit for GCC 11 compatibility:
<a40a6151c4>

Since this changes the patchlevel of the solibs, bump PORTREVISION of dependent
ports just to be sure.
(graphics/py-openshadinglanguage is unaltered and .includes the revision bump
from .../openshadinglanguage.)

MFH:		2021Q1 (this requires discussion by ports-secteam@!)
2021-01-03 10:30:56 +00:00
Piotr Kubaj
fb67312520 graphics/darktable: fix build on powerpc64le, add aarch64 to the mix
powerpc64le needs already committed patch for opencl, aarch64 is untested because:
[00:00:12] Finished lang/rust | rust-1.47.0: Ignored: fails to build with qemu-user-static

It may need another fix.
2020-11-17 15:24:00 +00:00
Tobias C. Berner
9e0e8d17a4 Prefer graphics/ligvrsvg2-rust over graphics/librsvg2
- switch to the more modern version of librsvg2 on architectures
  supporting rust
- this will fix some graphical issues on these architectures

PR:		250276
Exp-run by:	antoine
Submitted by:	tobik
Differential Revision:	https://reviews.freebsd.org/D18878
2020-11-09 17:08:12 +00:00
Matthias Andree
e148c8cab6 Bump PORTREVISION again due to ilmbase and openexr update
Reason is that graphics/darktable itself had a commit by dumbbell@
(r544820) that also bumped PORTREVISION=2 but that happened before
I'd committed the OpenEXR updates, and the svn update just merged
that change.

So, unfortunately, we need another PORTREVISION update.

See r544849, r544853.
2020-08-14 10:32:19 +00:00
Jean-Sébastien Pédron
eee700cbfd graphics/darktable: Make the dependency to exiftool optional
... and off by default. The only component which uses it is a rarely used
script.
2020-08-13 16:27:24 +00:00
Matthias Andree
f28550785e graphics/darktable: add exiftool:graphics/p5-Image-ExifTool to _DEPENDS
Else the cmake setup will not install the extract_wb_from_images.sh
script, leading to inconsistent installs or packaging failures.

Reported by:	poudriere
Approved by:	portmgr@ (blanket approval to add missing requisites)
2020-08-13 10:17:42 +00:00
Jean-Sébastien Pédron
7e39765456 graphics/darktable: Update to 3.2.1
Release notes:
* https://github.com/darktable-org/darktable/releases/tag/release-3.2.1

Compared to the initial patch provided by m.ne@gmx.net, I removed a few
whitespace changes and fixed the `pkg-plist` file.

Submitted by:	m.ne@gmx.net
2020-08-10 17:51:35 +00:00
Jean-Sébastien Pédron
5e71fd3ada graphics/darktable: Add textproc/p5-Pod-Parser to BUILD_DEPENDS
This fixes the build after the latest Perl update to 5.32:

    FAILED: doc/man/es/darktable-cltest.pod
    cd /wrkdirs/usr/ports/graphics/darktable/work/darktable-3.0.2/doc/man && /usr/local/bin/po4a-translate -f pod -m darktable-cltest.pod -p po/es.po -l /wrkdirs/usr/ports/graphics/darktable/work/.build/doc/man/es/darktable-cltest.pod -k 0
    Unknown format type: pod.
    List of valid formats:
      - asciidoc: AsciiDoc format.
      - dia: uncompressed Dia diagrams.
      - docbook: DocBook XML.
      - guide: Gentoo Linux's XML documentation format.
      - ini: INI format.
      - kernelhelp: Help messages of each kernel compilation option.
      - latex: LaTeX format.
      - man: Good old manual page format.
      - pod: Perl Online Documentation format.
      - sgml: either DebianDoc or DocBook DTD.
      - texinfo: The info page format.
      - tex: generic TeX documents (see also latex).
      - text: simple text document.
      - wml: WML documents.
      - xhtml: XHTML documents.
      - xml: generic XML documents (see also docbook).
    ninja: build stopped: subcommand failed.
    ===> Compilation failed unexpectedly.
    Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
    the maintainer.
    *** Error code 1

PR:		248541
Submitted by:	m.ne@gmx.net
Reported by:	Robert Cina <transitive@gmail.com>
2020-08-10 13:43:47 +00:00
Matthias Andree
59eb5b4b37 openexr/ilmbase update w/ shlib rename => PORTREVISION bumps of dependent ports
OpenEXR and ILMBASE updates to 2.5.2 rename the full shlib version
names from .0.0 to .0.1 => to be on the safe side, bump PORTREVISIONs.

Approved by:	portmgr (blanket)
MFH:		2020Q3 (PORTREVISION bump after OpenEXR/ilmbase update)
Security:	714e6c35-c75b-11ea-aa29-d74973d1f9f3
2020-07-16 12:13:30 +00:00
Matthias Andree
180bb30d42 graphics/darktable: update to 3.0.2
This is an upgrade for darktable from 3.0.0 to 3.0.2, with
Ludger's changes from the original PR submission:
- export to Flickr, Facebook and Google Photo removed
  as [they are] no longer supported in 3.0.2

And these changes by mandree@:

- rediff patches
- reshuffle Makefile per portclippy recommendation
- remove COLORD option, it's not technically required to build, but a
  a raw image processing application without color management
  makes little sense. This option was default-on anyways.

Changes 3.0.0 -> 3.0.1:
https://www.darktable.org/2020/03/darktable-301-released/
https://github.com/darktable-org/darktable/releases/tag/release-3.0.1

Changes 3.0.1 -> 3.0.2:
https://www.darktable.org/2020/04/darktable-302-released/
https://github.com/darktable-org/darktable/releases/tag/release-3.0.2

PR:		246065
Submitted by:	Ludger Bolmerg <lbolmerg@posteo.de>
Approved by:	Jean-Sébastien Pédron <dumbbell@> (maintainer)
2020-05-13 12:05:35 +00:00
Matthias Andree
38f53fd85b graphics/ilmbase: graphics/openexr: update to upstream release 2.5.1
Upstream release notes:
* A patch release that corrects the SO version for the v2.5 release,
  which missed getting bumped in v2.5.0.

* This release also fixes an improper failure in IlmImfTest
  when running on ARMv7 and AAarch64.

Bump PORTREVISION of all port directly requiring ilmbase or openexr
that are not marked BROKEN (shlib/.so file version bump).

Test build of all port directly depending on ilmbase or openexr
succeeded in poudriere in a 12.1-RELEASE amd64 jail.
2020-05-12 15:47:52 +00:00
Matthias Andree
b6b59120e5 graphics/darktable: fix broken build, data/kernels/ related
This patch is to fix this problem:

| CMake Error at data/kernels/CMakeLists.txt:34 (foreach):
|   Unknown argument:
| /usr/ports/graphics/darktable/work/darktable-3.0.0/data/kernels/atrous.cl

Approved by:	portmgr@ (blanket approval to fix broken builds)
2020-05-09 16:42:40 +00:00
Matthias Andree
ded32047a7 graphics/ilmbase: graphics/openexr: update to v2.5.0
ChangeLog:
- https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.0

* Bump PORTREVISION of all consumers except py-openimageio (BROKEN).

* cad/PrusaSlicer:
    LIB_DEPENDS: remove version from libHalf.so
    BUILD_DEPENDS+=qt5-buildtools as package (needed on bare metal builds)
    USE_GL+=gl
    USES+=pkgconfig (needed to find libHalf)
2020-05-08 11:57:55 +00:00
Jan Beich
e1d56a9db2 Drop dependency on devel/openmp
- Drop if devel/llvm* was used as a substitute

Approved by:	yuri, rene (earlier version)
Differential Revision:	https://reviews.freebsd.org/D23020
2020-03-08 21:56:36 +00:00
Alexey Dokuchaev
dd4f21631c Chase shlib version bump of `graphics/lensfun' (r524150). 2020-01-26 04:57:44 +00:00
Matthias Andree
a8791e3734 graphics/darktable: update to new release 3.0.0
Announcement:
<https://www.darktable.org/2019/12/darktable-300-released/>

<https://www.darktable.org/2019/12/darktable-30/>

Additional changes:
- ONLY_FOR_ARCHS* variables moved up to please portlint
- some CMAKE_ARGS hacks with CMAKE_*_COMPILER_LAUNCHER to get ccache back in
- switch from hardcoding LLVM_VER=60 to ${LLVM_DEFAULT}
- strip out -D_XOPEN_SOURCE=... (upstream CMakeLists.txt) because it is harmful
  in hiding, for instance, u_char typedefs, which causes compilation failure
  down the road for cups_print.

PR:		242943
Approved by:	dumbbell@ (maintainer)
2020-01-06 16:52:00 +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
Niclas Zeising
be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +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
Kai Knoblich
46d6333b29 graphics/libgphoto2: Update to 2.5.22, graphics/gphoto2: Update to 2.5.20
* Bump PORTREVISION of ports depending on them.

Also while I'm here:
* Add "gnome" to USES if the XML option is enabled to avoid warnings about
  using USE_GNOME alone.
* Pet portlint

Notable changes since 2.5.16 (graphics/libgphoto2) [1]:

* Added new USB Ids for various camera types
* Updated translations
* Report file changes via GP_EVENT_FILE_CHANGED (hooked up for Canon EOS
  currently)

Changes since 2.5.15 (graphics/gphoto2) [2]:

* Maximum number in file ranges bumped from 16384 to 65536
* Add shell commands to match commandline: summary, storage-info,
  trigger-capture
* Fixed a fd leak
* Updated translations
* Handle GP_EVENT_FILE_CHANGED event

https://github.com/gphoto/libgphoto2/blob/libgphoto2-2_5_22-release/NEWS
https://github.com/gphoto/gphoto2/blob/gphoto2-2_5_20-release/NEWS

PR:		235817 [1], 235818 [2]
Submitted by:	Darren Mulligan <fixer@bsdmail.com>
Approved by:	woodsb02 (maintainer timeout)
2019-05-27 10:21:46 +00:00
Antoine Brodin
ef73356c19 Those ports link against llvm's libomp.so 2019-05-11 09:36:21 +00:00
Jan Beich
3b1a1bcee4 devel/openmp: phase out
- Expire after the last version without /usr/lib/libomp.so
- Drop SOVERSION for seamless transition (i.e., avoid conditionals)

PR:		236907
Approved by:	bapt (maintainer)
Differential Revision:	https://reviews.freebsd.org/D19767
2019-05-08 16:05:53 +00:00
Jean-Sébastien Pédron
8fcbbcd589 graphics/darktable: Update to 2.6.2
Release notes:
* https://www.darktable.org/2019/03/darktable-262-released/

PR:		236904
Submitted by:	Darren Mulligan <fixer@bsdmail.com>
2019-04-22 10:36:57 +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
Jean-Sébastien Pédron
0c8696e327 graphics/darktable: Update to 2.6.1
Release notes:
* https://www.darktable.org/2019/03/darktable-261-released/

PR:		236363
Submitted by:	Darren Mulligan <fixer@bsdmail.com>
2019-03-08 13:43:53 +00:00
Jean-Sébastien Pédron
d8fe05dcba graphics/darktable: Update to 2.6.0
Release notes:
* https://www.darktable.org/2018/12/darktable-260-released/

The initial patch was provided by Darren Mulligan. On top of it:
* Warnings about USES=gl and USES=gnome were fixed.
* The CMake CMAKE_POLICY_DEFAULT_CMP0056 setting was removed.

PR:		234800
Submitted by:	Darren Mulligan <fixer@bsdmail.com>
Reported by:	kunda <chitty_cloud@me.com>
2019-02-23 12:48:20 +00:00
Tobias C. Berner
707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +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
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
Gerald Pfeifer
09f9633cb6 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
2018-07-29 22:18:44 +00:00
Jean-Sébastien Pédron
73d094b00a graphics/darktable: Update to 2.4.4
Release notes:
https://www.darktable.org/2018/06/darktable-244-released/
2018-06-06 15:31:57 +00:00
Jean-Sébastien Pédron
f3197da792 graphics/darktable: Build with LLVM 6.0
... instead of LLVM 5.0. The reason is to stay in sync with Mesa to keep
the number of LLVM copies to build to the minimum.

It looks like the hack to explicitely set `LDFLAGS` to have OpenMP
support isn't necessary anymore. The last time it was revisited was with
LLVM 3.9.1.
2018-04-29 09:24:57 +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
Jean-Sébastien Pédron
fcd329e1d1 graphics/darktable: Update to 2.4.3
Release notes:
https://www.darktable.org/2018/04/darktable-243-released/
2018-04-24 16:21:00 +00:00
Jean-Sébastien Pédron
652e53c5f2 graphics/darktable: Update to 2.4.2
Release notes:
https://www.darktable.org/2018/03/darktable-242-released/
2018-03-28 13:56:00 +00:00
Jean-Sébastien Pédron
cd2baa02fd graphics/darktable: Add iso-codes to the build dependencies
This permits darktable to display language names in the preferences
dialog, not just language codes.
2018-01-28 13:19:56 +00:00
Jean-Sébastien Pédron
8936ec8373 graphics/darktable: Include stddef.h when testing zError() symbol
The `CheckZlib.cmake` module uses `NULL` in the test source code to
check for the `zError()` symbol. This fails to build on FreeBSD 10.3
with the following error:

    CheckPrototypeDefinition.c:15:10: error: use of undeclared identifier 'NULL'
      return NULL;
             ^

I don't know the root cause for this failure, but including `stddef.h`
in this test source code fixes the problem.

PR:		225501
Reported by:	cpm@
2018-01-28 12:34:39 +00:00