Package Details: openfx-io 2.3.14-2

Git Clone URL: https://aur.archlinux.org/openfx-io.git (read-only)
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.000678
First Submitted: 2016-08-21 17:54
Last Updated: 2019-05-30 02:26

Latest Comments

1 2 3 Next › Last »

tecnotercio commented on 2019-05-30 02:33

@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

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

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

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

adsun commented on 2018-06-19 15:33

libraw is still missing from depends, so the build fails in a clean chroot.

iHmD commented on 2018-05-19 15:43

@tecnotercio use openfx-io-git instead and it will compile.

tecnotercio commented on 2018-05-19 15:02

Please update the package as soon as possible!

The latest version of the package (2.3.11) has been adapted to use FFmpeg 4.0: https://github.com/NatronGitHub/Natron/releases/tag/2.3.11

The version available on AUR is not compatible with the new FFmpeg. Because of this, the package build ends with an error.

iHmD commented on 2018-05-16 23:25

/usr/include/libavformat/avformat.h:2025:6: note: declared here void av_register_all(void); ^~~~~~~~~~~~~~~ ../FFmpeg/ReadFFmpeg.cpp:954:21: warning: ‘void av_register_all()’ is deprecated [-Wdeprecated-declarations] av_register_all(); ^ In file included from ../FFmpeg/FFmpegFile.h:43, from ../FFmpeg/ReadFFmpeg.cpp:45: /usr/include/libavformat/avformat.h:2025:6: note: declared here void av_register_all(void); ^~~~~~~~~~~~~~~ make[1]: [../openfx/Support/Plugins/Makefile.master:83: Linux-64-release/ReadFFmpeg.o] Error 1 make[1]: Leaving directory '/home/user/.cache/pacaur/openfx-io/src/openfx-io/IO' make: [Makefile:22: IO] Error 2 ==> ERROR: A failure occurred in build(). Aborting... :: failed to build openfx-io package(s)

Lucki commented on 2018-01-13 01:33

Thanks Olorin.Narya. Couldn't build without it. libraw is still missing in the PKGBUILD.

tecnotercio commented on 2017-12-17 19:41

The package "seexpr1" should be replaced by "seexpr" (version 2.11): https://github.com/MrKepzie/Natron/releases/tag/2.3.4