Bug 94508 - Enable gstreamer1.0 in builds
Summary: Enable gstreamer1.0 in builds
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-25 14:22 UTC by Bryan Quigley
Modified: 2017-01-12 14:25 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Quigley 2015-09-25 14:22:07 UTC
The upcoming Fedora and Ubuntu* releases do not include gstreamer0.10 on the default CD.  Any chance the build servers have been or could be upgraded to include gstreamer1.0 so we can build for both?  Alternatively we could see about including the headers..

Gstreamer is set to be removed from Debian in the stretch release -https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785198.  I'm actively working to get it removed from Ubuntu as well.

*The exceptions being Kubuntu, Desktop Next (due to qt5.4, removed in qt5.5), Ubuntu Studio, and Edubuntu.  All other flavors have no gst0.10.  

Related bug: https://bugs.documentfoundation.org/show_bug.cgi?id=82359
Comment 1 Buovjaga 2015-09-28 09:21:42 UTC
+1 for this. Could even the latest version 1.6 be used?
Comment 2 Bryan Quigley 2015-09-28 13:52:15 UTC
(In reply to Beluga from comment #1)
> +1 for this. Could even the latest version 1.6 be used?

I don't think so, if we use features from 1.6 it won't work on 1.0-1.4 afaiu.  If we use 1.0, it will run fine on 1.0-1.6.  

Are there features from 1.6 that you want?
Comment 3 Buovjaga 2015-09-28 13:59:23 UTC
(In reply to Bryan Quigley from comment #2)
> Are there features from 1.6 that you want?

Well, not me, but I posted the 1.6 announcement on Reddit and people commented how they wished 0.10 would be abandoned: https://www.reddit.com/r/linux/comments/3mkciq/gstreamer_16_released/
I guess 1.0 is enough for the next release.
Comment 4 Bryan Quigley 2015-12-02 16:18:53 UTC
I'm wondering if we could just use the headers like Mozilla tried to do (they eventually switched to ffmpeg though) - https://bugzilla.mozilla.org/show_bug.cgi?id=973274#c28
Comment 5 Julien Nabet 2015-12-29 22:54:47 UTC
Michael: remembering your work about this part some years ago, thought you might have some opinion about it.
Comment 6 Stéphane Aulery 2016-03-01 16:01:30 UTC
In the Debian BTS there is a bug report of 16 May 2013 related to the transition. I hope you can move forward.

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717112
Comment 7 Julien Nabet 2016-03-01 20:43:16 UTC
Bjoern: since it's related to Ubuntu and derivates, thought you might be interested in this one.
Comment 8 Bryan Quigley 2016-03-01 21:13:38 UTC
Btw, It appears Debian just finished the removal for the next release.   It appears all the Ubuntu CD/DVDs will not have it for 16.04.   If we remove it from the archive in 16.04 is still a bit in the air, but a lot of progress has been made.
Comment 9 Björn Michaelsen 2016-03-01 22:08:54 UTC
Well, the first question is how does this play on TDF baseline (as of LibreOffice 5.1, thats CentOS 6: https://wiki.documentfoundation.org/ReleaseNotes/5.1)
Comment 10 Bryan Quigley 2016-03-01 22:31:25 UTC
(In reply to Björn Michaelsen from comment #9)
> Well, the first question is how does this play on TDF baseline (as of
> LibreOffice 5.1, thats CentOS 6:
> https://wiki.documentfoundation.org/ReleaseNotes/5.1)

FWICT Only gst0.10 works on centos6 so it should work fine there.  Unfortunately, Centos6 doesn't also provide gst1.0 so it wouldn't be able to build a binary for both.

Centos7 or Ubuntu 14.04 could provide an environment where it could be built for both gst0.10 and gst1.0.
Comment 11 Björn Michaelsen 2016-03-01 22:40:47 UTC
(In reply to Bryan Quigley from comment #10)
> Centos7 or Ubuntu 14.04 could provide an environment where it could be built
> for both gst0.10 and gst1.0.

Yes, but upstreams baseline is intentionally the most ancient we can manage, so that the upstream binaries can run ~everywhere. Anyway I can take this topic to the ESC.
Comment 12 Bryan Quigley 2016-04-28 18:32:46 UTC
My instructions from Mozilla should provide some hints to building on CentOS 6:
https://bugzilla.mozilla.org/show_bug.cgi?id=1122859#c9

Unfortunately building gst1.0 on centos 6 did require glib updates.  But this was in a customized Mozilla chroot thingy... 

Ubuntu 16.04 wast just released with only gst0.10-plugins base and good (dropped ugly and bad).  Which means many codecs won't be playable in LibreOffice.
Comment 13 Thorsten Behrens (allotropia) 2017-01-12 10:55:38 UTC
That looks fixed for 5.3
Comment 14 Bryan Quigley 2017-01-12 14:25:10 UTC
Indeed, nice find. https://gerrit.libreoffice.org/gitweb?p=core.git;a=commit;h=df8f994773d96b1be19f8d955b1c95b69bdf054d

The only build file that still enabled 0.10 but not 1.0 is OpenBSD.   Will see if that can be added too.