Package Details: openfx-io 2.5.0-1

Git Clone URL: https://aur.archlinux.org/openfx-io.git (read-only, click to copy)
Package Base: openfx-io
Description: A set of Readers/Writers plugins written using the OpenFX standard
Upstream URL: https://github.com/NatronGitHub/openfx-io
Licenses: GPL
Submitter: s0r00t
Maintainer: tecnotercio
Last Packager: tecnotercio
Votes: 19
Popularity: 0.000485
First Submitted: 2016-08-21 17:54 (UTC)
Last Updated: 2022-12-12 04:43 (UTC)

Latest Comments

1 2 3 Next › Last »

dr460nf1r3 commented on 2022-02-27 10:08 (UTC)

The package currently fails to compile, most likely because arch updated ffmpeg to version 5. Anything that can be done about it? (logs here)

tioguda commented on 2021-11-15 12:25 (UTC)

The opencolorio1 package is required to complete the build in a clean chrooted.

chilled commented on 2021-09-28 23:46 (UTC) (edited on 2021-09-28 23:47 (UTC) by chilled)

Got this at build:


Package 'IlmBase', required by 'virtual:world', not found
Package IlmBase was not found in the pkg-config search path.
Perhaps you should add the directory containing `IlmBase.pc'
to the PKG_CONFIG_PATH environment variable
Package 'IlmBase', required by 'virtual:world', not found
  CXX      Linux-64-release/OCIOColorSpace.o
../EXR/WriteEXR.cpp:30:10: fatal error: ImfChannelList.h: No such file or directory
   30 | #include <ImfChannelList.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [../openfx/Support/Plugins/Makefile.master:83: Linux-64-release/WriteEXR.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Package IlmBase was not found in the pkg-config search path.
Perhaps you should add the directory containing `IlmBase.pc'
to the PKG_CONFIG_PATH environment variable
Package 'IlmBase', required by 'virtual:world', not found
../EXR/ReadEXR.cpp:42:10: fatal error: ImfPixelType.h: No such file or directory
   42 | #include <ImfPixelType.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [../openfx/Support/Plugins/Makefile.master:83: Linux-64-release/ReadEXR.o] Error 1
../IOSupport/GenericOCIOOpenGL.cpp:191:2: error: #error "Code must be upgraded for OCIO 2 with new GPU API"
  191 | #error "Code must be upgraded for OCIO 2 with new GPU API"
      |  ^~~~~
make[1]: *** [../openfx/Support/Plugins/Makefile.master:83: Linux-64-release/GenericOCIOOpenGL.o] Error 1
../IOSupport/GenericOCIO.cpp: In function ‘const char* OFX::IO::colorSpaceName(OpenColorIO_v2_1::ConstConfigRcPtr, const char*)’:
../IOSupport/GenericOCIO.cpp:114:5: error: ‘OpenColorIO’ has not been declared
  114 |     OpenColorIO::ConstColorSpaceRcPtr cs;
      |     ^~~~~~~~~~~
../IOSupport/GenericOCIO.cpp:116:16: error: ‘cs’ was not declared in this scope; did you mean ‘cos’?
  116 |         if ( ( cs = config->getColorSpace("sRGB") ) ) {
      |                ^~
      |                cos
../IOSupport/GenericOCIO.cpp:145:16: error: ‘cs’ was not declared in this scope; did you mean ‘cos’?
  145 |         if ( ( cs = config->getColorSpace("AdobeRGB") ) ) {
      |                ^~
      |                cos
../IOSupport/GenericOCIO.cpp:150:16: error: ‘cs’ was not declared in this scope; did you mean ‘cos’?
  150 |         if ( ( cs = config->getColorSpace("Rec709") ) ) {
      |                ^~
      |                cos
../IOSupport/GenericOCIO.cpp:173:16: error: ‘cs’ was not declared in this scope; did you mean ‘cos’?
  173 |         if ( ( cs = config->getColorSpace("Cineon") ) ) {
      |                ^~
      |                cos
../IOSupport/GenericOCIO.cpp:197:19: error: ‘cs’ was not declared in this scope; did you mean ‘cos’?
  197 |     } else if ( ( cs = config->getColorSpace(colorSpaceNameDefault) ) ) {
      |                   ^~
      |                   cos
../IOSupport/GenericOCIO.cpp: In member function ‘virtual void OFX::IO::OCIOProcessor::multiThreadProcessImages(const OfxRectI&, const OfxPointD&)’:
../IOSupport/GenericOCIO.cpp:810:166: error: no matching function for call to ‘OpenColorIO_v2_1::PackedImageDesc::PackedImageDesc(float*&, int, int, int&, long unsigned int, int&, int&)’
  810 |             OCIO::PackedImageDesc img(pix, renderWindow.x2 - renderWindow.x1, renderWindow.y2 - renderWindow.y1, numChannels, sizeof(float), pixelBytes, _dstRowBytes);

Please advice.

tecnotercio commented on 2019-05-30 02:33 (UTC)

@nytpu: I solved the problem by changing the PKGBUILD as instructed by @FirstAirBender on the Natron page:

https://aur.archlinux.org/packages/natron#comment-695352

Thanks for helping!

nytpu commented on 2019-05-28 02:27 (UTC) (edited on 2019-05-28 02:30 (UTC) by nytpu)

Here is an updated PKGBUILD that fixes the problem:

PKGBUILD

# Maintainer: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64 -d>
# Contributor: Hugo Courtial <hugo [at] courtial [not colon] me>
# Contributor: Luca Weiss <luca (at) z3ntu (dot) xyz>

pkgname=openfx-io
pkgver=2.3.14
pkgrel=2
arch=("i686" "x86_64")
pkgdesc="A set of Readers/Writers plugins written using the OpenFX standard"
url="<https://github.com/NatronGitHub/openfx-io>"
license=("GPL")
depends=("ffmpeg" "libraw" "openimageio" "seexpr")
makedepends=("git")
optdepends=("natron-plugins")
source=("$pkgname::git+<https://github.com/NatronGitHub/openfx-io#tag=Natron>-$pkgver"
        'git+<https://github.com/NatronGitHub/openfx>'
        'git+<https://github.com/NatronGitHub/SequenceParsing>'
        'git+<https://github.com/NatronGitHub/openfx-supportext>'
        'git+<https://github.com/NatronGitHub/tinydir>'
        'suppress-ocio-error.patch')
sha512sums=('SKIP'
            'SKIP'
            'SKIP'
            'SKIP'
            'SKIP'
            '11e56109696f462784534623658ff2b7cdde923af311b3b27dba613dfdd8df03217db647a230e9052b3bfd0b7fdb1fd2700575120d0b679f84bd5c63ffaf036e')

# Checks whether the environment is 32-bit or 64-bit
if [ $CARCH == 'x86_64' ]
then
  _BITS=64
else
  _BITS=32
fi

prepare() {
  cd "$srcdir/$pkgname"
  git config submodule.openfx.url $srcdir/openfx
  git config submodule.IOSupport/SequenceParsing.url $srcdir/SequenceParsing
  git config submodule.SupportExt.url $srcdir/openfx-supportext
  git submodule update

  cd IOSupport/SequenceParsing
  git config submodule.tinydir.url $srcdir/tinydir
  git submodule update
}

build() {
  cd "$srcdir/$pkgname"
  patch "IOSupport/GenericOCIOOpenGL.cpp" "../suppress-ocio-error.patch"
  make CONFIG=release \
       BITS=$_BITS
}

package() {
  cd "$srcdir/$pkgname"
  mkdir -p "$pkgdir/usr/OFX/Plugins"
  make install PLUGINPATH=$pkgdir/usr/OFX/Plugins \
               CONFIG=release \
               BITS=$_BITS
}

suppress-ocio-error.patch

--- GenericOCIOOpenGL.cpp   2019-05-27 20:03:58.278523405 -0600
+++ GenericOCIOOpenGL.cpp   2019-05-27 20:06:15.946190338 -0600
@@ -187,7 +187,6 @@
 #if OCIO_VERSION_HEX > 0x01010000 // more recent than 1.1.0?
     // TODO: OCIO 2 with new GPU API <https://github.com/imageworks/OpenColorIO/pull/539>
     // See <https://github.com/imageworks/OpenColorIO/blob/master/src/apps/ociodisplay/main.cpp>
-#error "Code must be upgraded for OCIO 2 with new GPU API"
 #else
     // Reference code: <https://github.com/imageworks/OpenColorIO/blob/RB-1.1/src/apps/ociodisplay/main.cpp>
     // Step 1: Create a GPU Shader Description

emulti commented on 2019-04-18 19:09 (UTC) (edited on 2019-04-19 12:30 (UTC) by emulti)

I received the following error in build:

CXX      Linux-64-release/SequenceParsing.o
  CXX      Linux-64-release/SeExpr.o
  CXX      Linux-64-release/SeGrain.o
  CXX      Linux-64-release/SeNoise.o
  CXX      Linux-64-release/GenericOCIO.o
  CXX      Linux-64-release/GenericOCIOOpenGL.o
../IOSupport/GenericOCIOOpenGL.cpp:190:2: error: #error "Code must be upgraded for OCIO 2 with new GPU API"
 #error "Code must be upgraded for OCIO 2 with new GPU API"
  ^~~~~
make[1]: *** [../openfx/Support/Plugins/Makefile.master:83: Linux-64- 
release/GenericOCIOOpenGL.o] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-sophie/aur-openfx-io/src/openfx-io/IO'
make: *** [Makefile:22: IO] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build openfx-io.

This relates to the upgrade of opencolorio to 1.1.1 on 2019-04-10 Building with makepkg and bypassing the checks at IOSupport/GenericOCIOOpenGL.cpp:190 allow the build to complete. It seems the new GPU API is not part of opencolorio 1.1.1.

tecnotercio commented on 2018-07-05 22:20 (UTC)

@adsun: The PKGBUILD has been updated. Now libraw is a dependency of the package.