FS#33845 - [gstreamer0.10-bad-plugins] Add Wayland backend

Attached to Project: Arch Linux
Opened by Armin K. (Krejzi) - Wednesday, 13 February 2013, 19:00 GMT
Last edited by Jan de Groot (JGC) - Thursday, 14 February 2013, 22:31 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I am not sure if this is the right thing, but many apps still use Gst 0.10

gst-plugins-bad 0.10 branch has Wayland sink, but it hasn't been included in any release since everyone now works on 1.0 branch and master.

I've gathered several upstream commits that add and fix up Wayland backend.

http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?h=0.10&id=d68c6bfa9f5d9121eed115a1e73d293fab6b5ed2
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?h=0.10&id=b5a778012267fe28d84133bb0daaa4c51e72f36d
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?h=0.10&id=775643d60ea67c43895ca778bd1dbb8506d30722
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?h=0.10&id=2747aefaf7607fe2dbac0c858077405b533ca7c8
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?h=0.10&id=e012ea80ffae23ec0781625fe57662c66bd9ac86
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?h=0.10&id=689bf4d392855fff7544a80313297a2091054851
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?h=0.10&id=c8e564558296912eb12a818e8610d34f378f1f0e
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?h=0.10&id=da090e4bf1d56286ba32d3ca9cc8070a6144e273
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?h=0.10&id=27bd971b743067bce607809e0a5cb26eab5c69a9

Apply them and prepare package for ussual build with:

# patch -Np1 -i doesn't create directory for some reason.
mkdir -p ext/wayland

for changeset in \
d68c6bfa9f5d9121eed115a1e73d293fab6b5ed2 \
b5a778012267fe28d84133bb0daaa4c51e72f36d \
775643d60ea67c43895ca778bd1dbb8506d30722 \
2747aefaf7607fe2dbac0c858077405b533ca7c8 \
e012ea80ffae23ec0781625fe57662c66bd9ac86 \
689bf4d392855fff7544a80313297a2091054851 \
c8e564558296912eb12a818e8610d34f378f1f0e \
da090e4bf1d56286ba32d3ca9cc8070a6144e273 \
27bd971b743067bce607809e0a5cb26eab5c69a9
do
wget http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/patch/?id=${changeset} -O - | patch -Np1 -i -
done

sed -e "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac

autoreconf -fi

Add Wayland as build dep and proceed with ussual ./configure, make and make install process.

Test it with "gst-launch-0.10 playbin2 uri=file:///path/to/video.ext" under Weston.
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 14 February 2013, 22:31 GMT
Reason for closing:  Won't implement
Comment by Armin K. (Krejzi) - Wednesday, 13 February 2013, 19:09 GMT
I combined all of the mentioned commits in a single patch.

Build depend on wayland [extra]

Apply with

patch -Np1 -i ../waylandsink.patch

Run

sed -e "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac
autoreconf -fi

And proceed with ussual process.
Comment by Jan Alexander Steffens (heftig) - Wednesday, 13 February 2013, 20:13 GMT
Not sure if we should bother. Any application using gstreamer 0.10 is unlikely to support Wayland, and if you're using bare gst-launch, just go use gstreamer 1.0.
Comment by Armin K. (Krejzi) - Wednesday, 13 February 2013, 20:15 GMT
Well, doesn't hurt to implement. 0.10 will stay for some time arround ... But, if you think so - then okay I have nothing against that.
Comment by Jan de Groot (JGC) - Thursday, 14 February 2013, 22:31 GMT
GStreamer 0.10 is unmaintained upstream, so I won't include anything from git that adds additional features.

Loading...