You are not logged in.

#1 2013-02-13 20:16:30

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

[SOLVED] Gst-plugins-bad depends on Wayland?

Hey,

I just updated my laptop and noticed I now need Wayland as a dependency for gst-plugins-bad. Can anyone enlighten me on why this would be a dependency? Seems a tad much to me; Wayland isn't even used yet.

Thanks in advance!

Last edited by Unia (2013-02-14 10:36:31)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#2 2013-02-13 20:35:45

Bluerider
Member
Registered: 2012-07-22
Posts: 97

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

It says in the GST-plugins-bad Changelog on the arch linux website that a wayland sink was added. I looked on Gstreamer's Homepage and while wayland support has been worked on for a while, it does not indicate it is a dependency.

Looking at the PKGBUILD , it seems that wayland was not explicitly requested either. It is likely that the maintainer decided to add in wayland support. Try compiling gst-plugins-bad from the ABS (when it is updated with the new package : 1.0.4-2) while removing the wayland package and see if it compiles.

Last edited by Bluerider (2013-02-13 21:03:17)

Offline

#3 2013-02-13 20:44:19

Bluerider
Member
Registered: 2012-07-22
Posts: 97

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

I editted the PKGBUILD by removing wayland from the "DEPENDS" line. I then removed Wayland and gst-plugins-bad . I am currently recompiling gst-plugins-bad to see if it'll compile anyway.

--Finished recompiling --
Installs fine. The arch linux package is out of date as well.

Videos play fine in totem.

Last edited by Bluerider (2013-02-13 21:08:10)

Offline

#4 2013-02-13 20:46:27

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

Oh, thanks for that first link; I did not know about that page. A quick forum search and Google came up with nothing, so I went ahead and created this post. I look forward to the outcome of your testing wink


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#5 2013-02-13 20:47:41

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

The dependency is not too crazy. It is useless if you don't use wayland, but the package requires only 580KiB on your disk.
By the way, libegl depends on it, too, and therefore all systems using ffmpeg, cairo, gtk2 or gtk3 pull it in anyways.

Last edited by progandy (2013-02-13 20:58:52)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#6 2013-02-13 20:48:58

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

progandy wrote:

The dependency is not too crazy. It is useless if you don't use wayland, but the package requires only 580KiB on your disk.
By the way, libegl depends on it, too, and therefore all systems using ffmpeg, cairo, gtk2 or gtk3 pull it in anyways.

■ pacman -Rns wayland
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: gst-plugins-bad: requires wayland

Nothing listed with libegl.. and I do have it installed.


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#7 2013-02-13 20:51:50

Bluerider
Member
Registered: 2012-07-22
Posts: 97

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

@Unia : I concur, I have ffmpeg, cairo, gtk2, and gtk3 installed. My recompiled package without wayland support compiled fine.

Offline

#8 2013-02-13 20:59:51

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

Unia wrote:

Nothing listed with libegl.. and I do have it installed.

Sorry, that is still in testing. I didn't realize that the new gst-plugins-bad is a stable package and not in testing.

PS: I think wayland is an OPTDEPENDS of gst-plugins-bad.
On that account, I believe cairo and pango could be moved to optdepends in gst-plugins-good and gst-plugins-base as well. they are not needed for audio playback with a console application or am Ii wrong?

Last edited by progandy (2013-02-13 21:01:01)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#9 2013-02-13 21:06:29

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

Bluerider wrote:

@Unia : I concur, I have ffmpeg, cairo, gtk2, and gtk3 installed. My recompiled package without wayland support compiled fine.

But, does it work? big_smile Probably.

If I were to request Wayland to be moved to OPTDEPENDS, am I right with filing a bugreport?

@progandy, I have no idea. Perhaps we should investigate that too.


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#10 2013-02-13 21:11:51

Bluerider
Member
Registered: 2012-07-22
Posts: 97

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

Unia wrote:

But, does it work?

Videos are playing fine. My Batman Beyond episode is playing more or less the same. I believe this small incremental upgrade is not actually an upstream change but rather an Arch Linux change. Hence my recompiled package should be the same as version (with the autotool fixes in place) : 1.0.4-1.

Unia wrote:

If I were to request Wayland to be moved to OPTDEPENDS, am I right with filing a bugreport?

I think that would be worth filing a bug report, question is which severity. I suggest "Medium".

Last edited by Bluerider (2013-02-13 22:51:09)

Offline

#11 2013-02-13 22:43:32

Bluerider
Member
Registered: 2012-07-22
Posts: 97

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

Unia's bug report can be found at FS#33848 .

gst-plugins-bad have been updated to version 1.0.5-1 in the Arch Linux extra repository.

I am currently recompiling the package without wayland support (removing wayland from my system and under 'depends' in the PKBUILD ).

--Package compiles fine --
I have finished compiling the package (it compiles fine). In addition totem (with the same batman beyond episode loaded) runs fine.

Last edited by Bluerider (2013-02-13 22:53:19)

Offline

#12 2013-02-13 22:50:10

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

Oh yes in my enthusiasm to switch to xf86-video-ati I forgot to mention the link here.. We'll see what happens!


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#13 2013-02-13 23:04:08

Bluerider
Member
Registered: 2012-07-22
Posts: 97

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

@Unia: I suggest you update the title of this thread to also include the "FS#33848". That would make it easier for people to reference as well.

Offline

#14 2013-02-14 01:48:48

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,022

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

and in testing: Weston, rebuild of mesa for support wayland and weston

I think that the bug maybe closed as wontfix.... but anyway


Well, I suppose that this is somekind of signature, no?

Offline

#15 2013-02-14 02:25:23

Bluerider
Member
Registered: 2012-07-22
Posts: 97

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

Looking at the dependencies of cario, mesa, and libegl in testing; it seems that only libegl needs wayland. Further inspection of libegl's PKGBUILD indicates that wayland is not really necessary to build the libegl. It is explicitly flagged in the PKGBUILD ; hence wayland should be an optional dependency in libegl as well.

Offline

#16 2013-02-14 03:35:55

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

Jristz wrote:

and in testing: Weston, rebuild of mesa for support wayland and weston

I think that the bug maybe closed as wontfix.... but anyway

WONTFIX is for bugs which aren't.

If gst-plugins-bad (or libegl) requires wayland only as a makedep, then make a bug report to that effect.

I believe the case is that, IF gst-plugins-bad (or libegl) is built with wayland as a dep (and installed in that system) you can no longer use if with wayland uninstalled. Of course, if you rebuild gst-plugins-bad/libegl without wayland installed it will then work. For a binary distro, this situation requires depends rather than makedepends to be used. You're of course free to use gst-plugins-bad-nowayland or whatever....


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#17 2013-02-14 03:45:58

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

The bug is not a WONTFIX - it is a NOTABUG...


libEGL links to wayland libraries:

> readelf -d /usr/lib/libEGL.so.1.0.0 | grep wayland
 0x00000001 (NEEDED)                     Shared library: [libwayland-client.so.0]
 0x00000001 (NEEDED)                     Shared library: [libwayland-server.so.0]

So libEGL must depende on wayland.   If you are not using that backend, you don't actually use wayland, but it still must be on your system.   Much like libpulse.

gst-plugins-bad has libEGL in its dependency tree (via cairo -> pango -> gtk2 -> ...  ffmepg).   So making that an optdepend is a complete waste of time.

Offline

#18 2013-02-14 03:53:44

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

I believe the case is that, IF gst-plugins-bad (or libegl) is built with wayland as a dep (and installed in that system) you can no longer use if with wayland uninstalled. Of course, if you rebuild gst-plugins-bad/libegl without wayland installed it will then work. For a binary distro, this situation requires depends rather than makedepends to be used. You're of course free to use gst-plugins-bad-nowayland or whatever....

The only reference to wayland I get is in /usr/lib/gstreamer-1.0/libgstwaylandsink.so. What does gstreamer do if it cannot load a file in its library dir? If it silently ignores it it is an optdepend.
Alternatively we could create a split-package to separate all wayland-files into an extra package.

Last edited by progandy (2013-02-14 04:18:35)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#19 2013-02-14 03:56:16

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

progandy wrote:

Alternatively we could create a split-package to separate all wayland-files into an extra package.


Not going to happen...   The gstreamer plugins only just went back to being a single package as maintaining everything split up was a massive pain for little benefit.

Offline

#20 2013-02-14 04:04:25

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

Just to clarify, yes wayland could be an optdepend for gst-plugins-bad.   

But it is a complete waste of time once packages move out of [testing] at which point libegl MUST depend on wayland.   And given libegl is in gst-plugins-bad's dependency chain, wayland will be pulled in as a dependency anyway.

Offline

#21 2013-02-14 04:05:41

Bluerider
Member
Registered: 2012-07-22
Posts: 97

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

ngoonee wrote:

Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.

I find that incredibly insulting and lacking class. Whatever happened to the friendliness of the Arch forums? Arch was built up by the people (not by kings); if it intends to survive, then it should respect its users (the people); else it doesn't even respect the GPL license of its linux core.

Offline

#22 2013-02-14 04:08:26

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

You do realise that is a quote from me in his signature?   And it is true...  very few Arch developers see anything in these forums.

Offline

#23 2013-02-14 04:13:50

Bluerider
Member
Registered: 2012-07-22
Posts: 97

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

Since the forums and bug tracker are where users document their issues with Arch Linux, developers should probably take a look at these forums. Even the idiot can be  a savant.

With that aside, Is wayland stable enough for incorporation into libegl yet anyway?

Offline

#24 2013-02-14 04:18:00

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

Bluerider wrote:

Since the forums and bug tracker are where users document their issues with Arch Linux, developers should probably take a look at these forums. Even the idiot can be  a savant.

Bugs go to the bug tracker.  Until that point, it is not a bug...

Bluerider wrote:

With that aside, Is wayland stable enough for incorporation into libegl yet anyway?

Yes.  By Arch Linux stability standards...

Offline

#25 2013-02-14 04:25:34

Bluerider
Member
Registered: 2012-07-22
Posts: 97

Re: [SOLVED] Gst-plugins-bad depends on Wayland?

If wayland is considered stable, how will it run alongside the normal xserver (not the xserver-wayland backend)? Do the Arch maintainers have a time frame of when they expect to shunt the X server into a wayland backend?

Offline

Board footer

Powered by FluxBB