Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618996 - net-im/corebird-1.5 Videos don't play
Summary: net-im/corebird-1.5 Videos don't play
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chandler Paul
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-19 22:03 UTC by schmittlauch
Modified: 2017-06-17 19:42 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_618996.txt,7.19 KB, text/plain)
2017-05-19 22:03 UTC, schmittlauch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description schmittlauch 2017-05-19 22:03:58 UTC
Created attachment 473396 [details]
emerge --info

Since updating to corebird-1.5 videos can't be played anymore.
I emerged corebird with the gstreamer USE flag and also have gst-plugins-hls installed.
Comment 1 Jonas Stein gentoo-dev 2017-05-20 10:51:52 UTC
What happens exactly, if you try to open a video?
Have you tried to rebuild its dependencies already?
Comment 2 Arnaud Launay 2017-05-22 16:23:04 UTC
I have the same problem.

It seems there was a problem at some point with gst detection, adding this in the ebuild:

--disable-gst-check
$(use_enable gstreamer video)


Apparently, the gst-check now works correctly, but the --enable-video flag... Disables video:

./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/corebird-1.5 --htmldir=/usr/share/doc/corebird-1.5/html --libdir=/usr/lib64 --disable-maintainer-mode --disable-schemas-compile --enable-video --enable-spellcheck


-->

checking GStreamer 1.0 element gtksink >= 1.0... found

but:

                Corebird  1.5
                  Prefix: /usr
           Vala Compiler: /usr/bin/valac-0.34    --pkg gtk+-3.0   --pkg json-glib-1.0   --pkg rest-0.7   --pkg sqlite3   --pkg libsoup-2.4   --pkg glib-2.0   --target-glib=2.44 -D GTK322
           valac version: Vala 0.34.8
              C Compiler: x86_64-pc-linux-gnu-gcc -march=sandybridge -O2 -pipe
               Debugging: no
          Video disabled: yes
      Gst check disabled: no
  Spellchecking disabled: yes


Deleting the $(use_enable gstreamer video) line gives:

./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/corebird-1.5 --htmldir=/usr/share/doc/corebird-1.5/html --libdir=/usr/lib64 --disable-maintainer-mode --disable-schemas-compile --enable-spellcheck

and:

                Corebird  1.5
                  Prefix: /usr
           Vala Compiler: /usr/bin/valac-0.34    --pkg gtk+-3.0   --pkg json-glib-1.0   --pkg rest-0.7   --pkg sqlite3   --pkg libsoup-2.4   --pkg glib-2.0   --target-glib=2.44 -D GTK322                  -D VIDEO                  --pkg gstreamer-video-1.0
           valac version: Vala 0.34.8
              C Compiler: x86_64-pc-linux-gnu-gcc -march=sandybridge -O2 -pipe
               Debugging: no
          Video disabled: no
      Gst check disabled: no
  Spellchecking disabled: yes


(do note that --enable-spellcheck does seem to disable spellcheck too...)

Apparently, --enable or --disable does the same thing, it disables the stuff...
Comment 3 Moritz Schlarb 2017-05-22 21:32:23 UTC
I can confirm it, too!

I pullrequested a fix at https://github.com/gentoo/gentoo/pull/4728.
Comment 4 Patrice Clement (RETIRED) gentoo-dev 2017-05-31 16:29:10 UTC
commit 4f47c2d94f7fb6190a10d98ffc4bed0410fd76fa (HEAD -> master, origin/master, origin/HEAD)
Author:     Moritz Schlarb <moschlar@metalabs.de>
AuthorDate: Mon May 22 23:30:56 2017 +0200
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Wed May 31 18:28:22 2017 +0200

net-im/corebird: fix embedded video playback.

Gentoo-Bug: https://bugs.gentoo.org/618996
Closes: https://github.com/gentoo/gentoo/pull/4728

net-im/corebird/{corebird-1.5.ebuild => corebird-1.5-r1.ebuild} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename net-im/corebird/{corebird-1.5.ebuild => corebird-1.5-r1.ebuild} (94%)

Merged, thanks!
Comment 5 schmittlauch 2017-06-01 11:39:23 UTC
The USE flag "gtk" on media-libs/gst-plugins-bad needs to be added as dependency.

I already had gst-plugins-bad-1.10 installed, but without the gtk use flag. So instead of videos I got the message "Could not create a gtksink. Need gst-plugins-bad >= 1.6"
Emerging gst-plugins-bad with USE=+gtk resolved that issue.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-06-17 19:42:39 UTC
commit ed741bf09d897eff31f2b47dfd54928a032aa8ed
Author:     Moritz Schlarb <moschlar@metalabs.de>
AuthorDate: Wed Jun 7 23:21:28 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Sat Jun 17 21:39:41 2017

    net-im/corebird: Really fix video playback (#618996)
    
    By adding the dependency use flag gst-plugins-bad[gtk].
    
    Bug: https://bugs.gentoo.org/618996
    Closes: https://github.com/gentoo/gentoo/pull/4881