Commit graph

188 commits

Author SHA1 Message Date
Mikael Urankar
ec284b1d57 graphics/darktable: Fix build on aarch64.
Approved by: portmgr (build fix blanket)
2021-11-14 09:39:52 +01:00
Jan Beich
f34ece3aa6 devel/icu: update to 70.1
Changes:	https://github.com/unicode-org/icu/releases/tag/release-70-1
Reported by:	GitHub (watch releases)
PR:		258794
Exp-run by:	antoine
2021-10-28 16:37:30 +00:00
Jan Beich
932dddab2b graphics/libavif: update to 0.9.3
Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.9.2...v0.9.3
Reported by:	Repology
2021-10-21 14:49:20 +00:00
Baptiste Daroussin
2c672a4de9 INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2021-10-10 21:44:42 +02:00
Jean-Sébastien Pédron
611dc06831
graphics/darktable: Update to 3.6.1
Release notes:
* https://github.com/darktable-org/darktable/releases/tag/release-3.6.1

Thank you svvord@soft-wizard.ru for the patch!

PR:		258662
2021-09-26 10:58:24 +02:00
Matthias Andree
56ffa089e2 *: graphics/openexr PORTREVISION bumps
OpenEXR changes its SONAME again, so bump PORTREVISION of its users.
2021-08-03 20:19:14 +02:00
Matthias Andree
d01bcf480e graphics/darktable: bump PORTREVISION after fixes
Especially d8e040b643 contains pkg-plist fixes, so
we need to make sure to flush out the original 3.6.0 packages.

Note for those triggering builds manually, there could be
another PORTREVISION bump due to (im)pending OpenEXR updates
within the next few hours.

Aligned with: Jean-Sébastien Pédron (dumbbell@, maintainer)
2021-08-03 14:51:50 +02:00
Matthias Andree
95511f1b0c graphics/darktable: resolve G'Mic inconsistency
The build will automatically pick up G'Mic if available, leading
to inconsistent builds between systems. Make it an explicit OPTION
which defaults to off, since only the lut3d module uses it and only
to read .gmz G'Mic-compressed LUT files.

Approved by:	Jean-Sébastien Pédron (dumbbell@, maintainer)
2021-08-03 14:44:18 +02:00
Matthias Andree
d8e040b643 graphics/darktable: various build fixes for 3.6.0
- add missing LIB_DEPENDS on print/harfbuzz and devel/icu,
  found missing by: make stage-qa
- make pkg-plist complete, misses some files,
  found missing by: make check-plist
- disable LTO option for now (OPTIONS_EXCLUDE=LTO),
  since the workaround for cmake 3.21 regressions around
  static libraries (which darktable uses) is
  USES=cmake:noninja - but the RawSpeed library
  embedded into darktable requires ninja for LTO builds.

Approved by:	Jean-Sébastien Pédron (dumbbell@, maintainer)
2021-08-03 14:43:06 +02:00
Jean-Sébastien Pédron
1ec3dcad57
graphics/darktable: Update to 3.6.0
Release notes:
* https://www.darktable.org/2021/07/darktable-3-6/
* https://github.com/darktable-org/darktable/releases/tag/release-3.6.0

Thank you to Ludger Bolmerg <lbolmerg@posteo.de> for the initial version
of the patch!

PR:		257061
2021-08-02 11:00:46 +02:00
Tobias C. Berner
346b0e795a graphics/darktable: prepare for cmake-3.21 update
Fix build against cmake-3.21: the ninja generator in 3.21 suffers a regression
(see https://gitlab.kitware.com/cmake/cmake/-/issues/22487) appending an invalid
"-Wl,--no-as-needed" to the linker arguments for static libraries.
Once this regression has been fixed upstream, this can be switch back to USES=cmake

PR:		257191
2021-07-29 09:58:53 +02:00
Matthias Andree
3cda93bdf6 *: bump PORTREVISION after math/Imath update 2021-07-17 11:17:59 +02:00
Matthias Andree
e6c9092be9 graphics/darktable: USES+=perl5
This is to make sure that PERL_LEVEL gets defined,
which in turn is needed to make sure that perl's Pod::Parser
gets defined if it is not part of the respective Perl version's install.

Approved by: (blanket, trivial tested build fix)

Error log in poudriere before patch:
[00:17:46] [ 97% 727/747] cd /wrkdirs/usr/ports/graphics/darktable/work/darktable-3.4.1/doc/man && sh -c /usr/local/bin/po4a-translate\ -f\ pod\ -m\ darktable-generate-cache.pod\ -p\ po/es.po\ -l\ /wrkdirs/usr/ports/graphics/darktable/work/.build/doc/man/es/darktable-generate-cache.pod\ -k\ 0
[00:17:46] FAILED: doc/man/es/darktable-generate-cache.pod
[00:17:46] cd /wrkdirs/usr/ports/graphics/darktable/work/darktable-3.4.1/doc/man && sh -c /usr/local/bin/po4a-translate\ -f\ pod\ -m\ darktable-generate-cache.pod\ -p\ po/es.po\ -l\ /wrkdirs/usr/ports/graphics/darktable/work/.build/doc/man/es/darktable-generate-cache.pod\ -k\ 0
[00:17:46] Unknown format type: pod.
[00:17:46] po4a::chooser: Module loading error: Can't locate Pod/Parser.pm in @INC (you may need to install the Pod::Parser module) (@INC contains: /usr/local/lib/perl5/site_perl/mach/5.32 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.32/mach /usr/local/lib/perl5/5.32) at /usr/local/lib/perl5/site_perl/Locale/Po4a/Pod.pm line 14.
[00:17:46] BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/Locale/Po4a/Pod.pm line 14.
[00:17:46] Compilation failed in require at (eval 33) line 1.
[00:17:46] BEGIN failed--compilation aborted at (eval 33) line 1.
2021-07-17 03:12:32 +02:00
Po-Chuan Hsieh
a8bbaffc83
graphics/darktable: Use P5_POD_PARSER
With hat:	perl
2021-07-15 00:10:54 +08:00
Matthias Andree
4030a14b56 *: Bump PORTREVISION for openexr update
OpenEXR's patchlevel updated bumped the major version
of the OpenEXR library, hence bump PORTREVISION of all
ports that require OpenEXR.
2021-07-03 07:15:12 +02:00
Jan Beich
91c45568b3 graphics/libavif: update to 0.9.2
Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.9.1...v0.9.2
Reported by:	GitHub (watch releases)
2021-06-24 02:55:30 +00:00
Kevin Bowling
da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00
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