Package Details: bino 1.6.8-4

Git Clone URL: https://aur.archlinux.org/bino.git (read-only, click to copy)
Package Base: bino
Description: 3D video player with multi-display support
Upstream URL: https://bino3d.org/
Licenses: GPL3
Submitter: jose1711
Maintainer: SunRed (jose1711)
Last Packager: SunRed
Votes: 10
Popularity: 0.000000
First Submitted: 2016-01-01 21:21 (UTC)
Last Updated: 2022-06-14 22:38 (UTC)

Latest Comments

SunRed commented on 2022-06-14 22:40 (UTC)

@gruenfron Sorry! I forgot to update the checksum. Should be fixed now. It was a busy day.

I should really setup a pipeline for that on my Gitea.

gruenfron commented on 2022-06-14 20:13 (UTC) (edited on 2022-06-14 20:27 (UTC) by gruenfron)

@patlefort: that makes sense, I am not an autoconf guru - maybe we'll see conversion to cmake in some far future...

@SunRed: no idea whether this is going to happen since I have no overview which distros offer an ffmpeg4.x package

Oh, and it seems that the ffmpeg4.4.patch pkgsum is not updated?

SunRed commented on 2022-06-14 15:12 (UTC)

@patlefort Thanks.

@gruenfron I see you already left a commit in the GitHub mirror of the project. So this will hopefully be upstreamed somehow.

patlefort commented on 2022-06-14 00:45 (UTC)

I suggest changing the patch to:

--- a/configure.ac
+++ b/configure.ac
@@ -143,25 +143,6 @@ if test -z "$PKG_CONFIG"; then
     AC_MSG_WARN([please install pkg-config; Debian package: pkg-config])
 fi

-dnl FFmpeg
-PKG_CHECK_MODULES([libavformat], [libavformat >= 52.110.0 libavcodec libavutil], [HAVE_LIBAVFORMAT=1], [HAVE_LIBAVFORMAT=0])
-if test "$HAVE_LIBAVFORMAT" != "1"; then
-    AC_MSG_WARN([required library libavformat >= 52.110.0 not found:])
-    AC_MSG_WARN([$libavformat_PKG_ERRORS])
-    AC_MSG_WARN([libavformat >= 52.110.0 is provided by libav >= 0.7 or FFmpeg >= 0.7])
-fi
-PKG_CHECK_MODULES([libavdevice], [libavdevice >= 52.5.0], [HAVE_LIBAVDEVICE=1], [HAVE_LIBAVDEVICE=0])
-if test "$HAVE_LIBAVDEVICE" != "1"; then
-    AC_MSG_WARN([required library libavdevice >= 52.5.0 not found:])
-    AC_MSG_WARN([$libavdevice_PKG_ERRORS])
-    AC_MSG_WARN([libavdevice >= 52.5.0 is provided by libav >= 0.7 or FFmpeg >= 0.7])
-fi
-PKG_CHECK_MODULES([libswscale], [libswscale >= 0.14.1 libavutil], [HAVE_LIBSWSCALE=1], [HAVE_LIBSWSCALE=0])
-if test "$HAVE_LIBSWSCALE" != "1"; then
-    AC_MSG_WARN([required library libswscale >= 0.14.1 not found:])
-    AC_MSG_WARN([$libswscale_PKG_ERRORS])
-    AC_MSG_WARN([libswscale >= 0.14.1 is provided by libav >= 0.7 or FFmpeg >= 0.7])
-fi
 AC_CHECK_FUNCS([sysconf])

 dnl libass
@@ -400,11 +381,16 @@ UPDATE_DESKTOP_DATABASE=""
 AC_ARG_VAR([UPDATE_DESKTOP_DATABASE], [update-desktop-database command])
 AC_CHECK_PROGS([UPDATE_DESKTOP_DATABASE], [update-desktop-database])

+dnl ffmpeg4.4 libs
+LIBS="$LIBS /usr/lib/libswscale.so.5"
+LIBS="$LIBS /usr/lib/libavutil.so.56"
+LIBS="$LIBS /usr/lib/libavformat.so.58"
+LIBS="$LIBS /usr/lib/libavdevice.so.58"
+LIBS="$LIBS /usr/lib/libavcodec.so.58"
+CPPFLAGS="$CPPFLAGS -I/usr/include/ffmpeg4.4"
+
 dnl Check if all libraries were found
 if test "$am_cv_func_iconv" != "yes" \
-    -o "$HAVE_LIBAVFORMAT" != "1" \
-    -o "$HAVE_LIBAVDEVICE" != "1" \
-    -o "$HAVE_LIBSWSCALE" != "1" \
     -o "$HAVE_LIBASS" != "1" \
     -o "$HAVE_LIBOPENAL" != "1" \
     -o "$HAVE_LIBQTOPENGL" != "1" \

To make it POSIX compliant, as configure scripts should be. Else it will not work if you use for example dash as your shell. Also, the ffmpeg dependency should be changed to ffmpeg4.4.

SunRed commented on 2022-06-13 22:37 (UTC)

@gruenfron Many thanks for the patch! I added you to the list of contributors.

gruenfron commented on 2022-06-10 17:03 (UTC) (edited on 2022-06-10 17:09 (UTC) by gruenfron)

Doesn't compile with ffmpeg 2:5 anymore. Here is my fix that hopefully helps. First step is to change dependency from ffmpeg to ffmpeg4.4 and second step is to patch the configure.ac file to make use of it exclusively.

The modification for PKGBUILD


--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,15 +9,17 @@ pkgdesc='3D video player with multi-display support'
 arch=('x86_64')
 url='https://bino3d.org/'
 license=('GPL3')
-depends=('ffmpeg' 'freealut' 'freeglut' 'glewmx' 'libass' 'qt5-base')
+depends=('ffmpeg4.4' 'freealut' 'freeglut' 'glewmx' 'libass' 'qt5-base')
 optdepends=('lirc: infrared remote control')
-source=(https://bino3d.org/releases/bino-${pkgver}.tar.xz{,.sig})
+source=(https://bino3d.org/releases/bino-${pkgver}.tar.xz{,.sig} ffmpeg4.4.patch)
 sha512sums=('d8cf5be356add4ed3fb36673038b5ffd92d0dc840798cc616fa4b11fec221c7f114347dfc7cdb7a3a24c5599b56301cddc99f84d3862d8e874612960281319cc'
-       'SKIP')
+            'SKIP'
+            '13a6df34566df4141f33e473fb10aa17de844ee18d555c0cbad561b19b9249a1045c791c40479fbe4e6c8dcc217637e91e096d98ffb6463fe6084dd25426a55d')
 validpgpkeys=('2F61B4828BBA779AECB3F32703A2A4AB1E32FD34')

 build() {
        cd "${srcdir}/${pkgname}-${pkgver}"
+    patch -Np1 < ${srcdir}/ffmpeg4.4.patch
        ./configure \
          --prefix=/usr \
          --with-qt-version=5 \

The patch file ffmpeg4.4.patch


--- a/configure.ac
+++ b/configure.ac
@@ -143,25 +143,6 @@ if test -z "$PKG_CONFIG"; then
     AC_MSG_WARN([please install pkg-config; Debian package: pkg-config])
 fi

-dnl FFmpeg
-PKG_CHECK_MODULES([libavformat], [libavformat >= 52.110.0 libavcodec libavutil], [HAVE_LIBAVFORMAT=1], [HAVE_LIBAVFORMAT=0])
-if test "$HAVE_LIBAVFORMAT" != "1"; then
-    AC_MSG_WARN([required library libavformat >= 52.110.0 not found:])
-    AC_MSG_WARN([$libavformat_PKG_ERRORS])
-    AC_MSG_WARN([libavformat >= 52.110.0 is provided by libav >= 0.7 or FFmpeg >= 0.7])
-fi
-PKG_CHECK_MODULES([libavdevice], [libavdevice >= 52.5.0], [HAVE_LIBAVDEVICE=1], [HAVE_LIBAVDEVICE=0])
-if test "$HAVE_LIBAVDEVICE" != "1"; then
-    AC_MSG_WARN([required library libavdevice >= 52.5.0 not found:])
-    AC_MSG_WARN([$libavdevice_PKG_ERRORS])
-    AC_MSG_WARN([libavdevice >= 52.5.0 is provided by libav >= 0.7 or FFmpeg >= 0.7])
-fi
-PKG_CHECK_MODULES([libswscale], [libswscale >= 0.14.1 libavutil], [HAVE_LIBSWSCALE=1], [HAVE_LIBSWSCALE=0])
-if test "$HAVE_LIBSWSCALE" != "1"; then
-    AC_MSG_WARN([required library libswscale >= 0.14.1 not found:])
-    AC_MSG_WARN([$libswscale_PKG_ERRORS])
-    AC_MSG_WARN([libswscale >= 0.14.1 is provided by libav >= 0.7 or FFmpeg >= 0.7])
-fi
 AC_CHECK_FUNCS([sysconf])

 dnl libass
@@ -400,11 +381,16 @@ UPDATE_DESKTOP_DATABASE=""
 AC_ARG_VAR([UPDATE_DESKTOP_DATABASE], [update-desktop-database command])
 AC_CHECK_PROGS([UPDATE_DESKTOP_DATABASE], [update-desktop-database])

+dnl ffmpeg4.4 libs
+LIBS+=" /usr/lib/libswscale.so.5"
+LIBS+=" /usr/lib/libavutil.so.56"
+LIBS+=" /usr/lib/libavformat.so.58"
+LIBS+=" /usr/lib/libavdevice.so.58"
+LIBS+=" /usr/lib/libavcodec.so.58"
+CPPFLAGS+=" -I/usr/include/ffmpeg4.4"
+
 dnl Check if all libraries were found
 if test "$am_cv_func_iconv" != "yes" \
-    -o "$HAVE_LIBAVFORMAT" != "1" \
-    -o "$HAVE_LIBAVDEVICE" != "1" \
-    -o "$HAVE_LIBSWSCALE" != "1" \
     -o "$HAVE_LIBASS" != "1" \
     -o "$HAVE_LIBOPENAL" != "1" \
     -o "$HAVE_LIBQTOPENGL" != "1" \

MarsSeed commented on 2022-05-24 15:46 (UTC)

glewmx dependency orphaned.

SunRed commented on 2021-10-17 08:03 (UTC)

Sorry I neglected this package in the past. I added a patch now using commits from the master branch and also removed the glew envs, finally fixing the compiler errors and making the package work again.

@ViGA-FR You have to import the PGP key first using gpg --recv-keys 03A2A4AB1E32FD34. If you're using an AUR helper it should also ask you to import the key into your keyring.

ViGA-FR commented on 2021-06-16 10:39 (UTC) (edited on 2021-06-16 10:48 (UTC) by ViGA-FR)

error with GPG signature

==> Validation des fichiers source avec sha512sums…
bino-1.6.7.tar.xz ... Réussite
bino-1.6.7.tar.xz.sig ... Ignoré
==> Vérification des signatures des fichiers sources grâce à gpg…
bino-1.6.7.tar.xz ... ÉCHEC (Clé publique inconnue 03A2A4AB1E32FD34)
==> ERREUR : Une ou plusieurs signatures PGP n’ont pas pu être vérifiées.

english translate
==> Validating source files with sha512sums…
bino-1.6.7.tar.xz ... Success
bino-1.6.7.tar.xz.sig ... Ignored
==> Verification of source file signatures using gpg ...
bino-1.6.7.tar.xz ... FAIL (Unknown public key 03A2A4AB1E32FD34)
==> ERROR: One or more PGP signatures could not be verified.

fishbone222 commented on 2021-04-15 09:02 (UTC)

I had the same problem as balwierz today. I just removed the setting of environment variables in the build() section:

--libglewmx_CFLAGS="$(pkg-config --cflags glew)" libglewmx_LIBS="$(pkg-config --libs glew)" ./configure \
++./configure \

balwierz commented on 2020-05-15 23:04 (UTC) (edited on 2020-05-15 23:04 (UTC) by balwierz)

Does not build:

/usr/bin/ld: video_output.o: in function `video_output::color_init(int, parameters const&, video_frame const&)':
video_output.cpp:(.text+0x597b): undefined reference to `glewContextIsSupported'
/usr/bin/ld: video_output_qt.o: in function `video_output_qt::init()':
video_output_qt.cpp:(.text+0x377a): undefined reference to `glewContextInit'
/usr/bin/ld: video_output_qt.cpp:(.text+0x37a3): undefined reference to `glewContextIsSupported'

jose1711 commented on 2018-10-17 08:16 (UTC) (edited on 2018-10-17 08:18 (UTC) by jose1711)

please update and fix:

pkgname=bino
pkgver=1.6.7
pkgrel=1
pkgdesc="3D video player with multi-display support"
arch=('i686' 'x86_64')
url="http://bino3d.org/"
license=('GPL3')
depends=('ffmpeg' 'freealut' 'freeglut' 'glew' 'libass' 'qt5-base')
optdepends=('lirc: for infrared remote control')
source=(https://bino3d.org/releases/$pkgname-$pkgver.tar.xz 'gui_common.h')
md5sums=('54dcaea515838db50d6e2c5b1a9d32d9'
         'c152d0a10fcf712760919a5892f87a6d')

prepare() {
  cd $srcdir/$pkgname-$pkgver
  sed -i 's/CXXFLAGS -fPIE/& -fPIC/' configure
}

build() {
  cp $srcdir/gui_common.h $srcdir/$pkgname-$pkgver/src
  cd $srcdir/$pkgname-$pkgver
  # libglewmx* env variables are to fix compilation issue
  # when both glew and glew1.6 are installed
  # details at https://gitlab.marlam.de/marlam/bino/issues/1
  libglewmx_CFLAGS="$(pkg-config --cflags glew)" libglewmx_LIBS="$(pkg-config --libs glew)" ./configure \
              --prefix=/usr \
              --with-qt-version=5 \
  #           --with-xnvctrl # Enable NVIDIA Quadro SDI output
  sed -i '/am__append_.* = -DGLEW_MX/d' src/Makefile
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}

dinas456 commented on 2018-08-13 01:36 (UTC) (edited on 2018-08-13 01:42 (UTC) by dinas456)

Two errors while building.

media_object.cpp:908:60: error: ‘CODEC_CAP_DR1’ was not declared in this scope

if (lowres || (codec && (codec->capabilities & CODEC_CAP_DR1)))

media_object.cpp:909:37: error: ‘CODEC_FLAG_EMU_EDGE’ was not declared in this scope

codec_ctx->flags |= CODEC_FLAG_EMU_EDGE;


And seems related to this. (2018/08/02)

Disable obsolete code to fix building with latest FFmpeg.

https://gitlab.marlam.de/marlam/bino/commit/844a2413740464fe87e4f99e7c18090db7578ca8

SunRed commented on 2017-08-25 18:13 (UTC)

@Vardamir After I've reimported the key, I got the error aswell. I removed the signature for now.

Vardamir commented on 2017-08-22 16:00 (UTC)

@SunRed I have tried that, but the key is revoked. gpg --lsign F4926138953E5294 The following key was revoked on 2017-08-18 by RSA key F4926138953E5294 Martin Lambers <marlam@marlam.de>

SunRed commented on 2017-08-21 21:27 (UTC)

@Vardamir Run 'gpg --recv-keys F4926138953E5294' before installing.

Vardamir commented on 2017-08-21 16:17 (UTC)

==> Verifying source file signatures with gpg... bino-1.6.5.tar.xz ... FAILED (public key F4926138953E5294 has been revoked) ==> ERROR: One or more PGP signatures could not be verified! ==> ERROR: Makepkg was unable to build bino.

jose1711 commented on 2016-12-26 13:12 (UTC)

http://lists.nongnu.org/archive/html/bino-list/2016-12/msg00014.html

tuxer commented on 2016-12-22 22:34 (UTC)

Could you please update? Version 1.6.5 is out. http://bino3d.org/news.html Thanks!

HellOfBSOD commented on 2016-06-01 17:55 (UTC)

This doesn't compile with the new version of FFMPEG. Must replace the following definitions : PixelFormat with AVPixelFormat PIX_FMT_* with AV_PIX_FMT_* Needs to be compiled with --without-lirc or needs troubleshooting for lirc integration After these, it compiles and launches but doesn't work, outputing opengl errors.

blackhole commented on 2016-04-03 08:51 (UTC)

Maybe you can file a request here https://lists.nongnu.org/archive/html/bino-list/

blackhole commented on 2016-04-03 08:47 (UTC)

Hello, last release is 1.6.3 http://bino3d.org/download.html

naraesk commented on 2016-03-14 14:18 (UTC)

Thanks for the info. Is there somewhere an upstream bug entry I can follow?

jose1711 commented on 2016-03-13 12:23 (UTC)

deps are okay but ffmpeg api has changed. someone will need to come up with a patch.

naraesk commented on 2016-03-13 00:12 (UTC)

Is there a dependency missing? I get: ==> Beginne build()... ar: `u' modifier ignored since `D' is the default (see `U') media_object.cpp: In Elementfunktion »void media_object::set_video_frame_template(int, int, int)«: media_object.cpp:430:45: Fehler: »PIX_FMT_YUV444P« wurde in diesem Gültigkeitsbereich nicht definiert && (video_codec_ctx->pix_fmt == PIX_FMT_YUV444P ^ media_object.cpp:431:48: Fehler: »PIX_FMT_YUV444P10« wurde in diesem Gültigkeitsbereich nicht definiert || video_codec_ctx->pix_fmt == PIX_FMT_YUV444P10 ^ and many similar messages about errors (fehler) in media_object.cpp.