Summary: | games/blinken: phonon backend plugin could not be loaded | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Paul Dufresne <dufresnep> |
Component: | Individual Port(s) | Assignee: | freebsd-kde (group) <kde> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | adridg, dufresnep, tcberner |
Priority: | --- | Flags: | tcberner:
maintainer-feedback+
|
Version: | Latest | ||
Hardware: | amd64 | ||
OS: | Any |
Description
Paul Dufresne
2020-12-06 04:15:13 UTC
I should have said I heard no sound at all. paul@chakara:/usr/ports/games % pkg info blinken blinken-20.08.3 Name : blinken Version : 20.08.3 Installed on : Sat Dec 5 19:20:43 2020 EST Origin : games/blinken Architecture : FreeBSD:12:amd64 Prefix : /usr/local Categories : kde-applications kde games Licenses : LGPL20 Maintainer : kde@FreeBSD.org WWW : http://edu.kde.org/blinken Comment : Memory enhancement game for KDE Options : DOCS : on Shared Libs required: libKF5Codecs.so.5 libQt5Gui.so.5 libKF5WidgetsAddons.so.5 libQt5Core.so.5 libQt5Xml.so.5 libQt5DBus.so.5 libKF5CoreAddons.so.5 libKF5DBusAddons.so.5 libKF5ConfigGui.so.5 libQt5Widgets.so.5 libphonon4qt5experimental.so.4 libKF5Auth.so.5 libKF5AuthCore.so.5 libphonon4qt5.so.4 libKF5GuiAddons.so.5 libKF5XmlGui.so.5 libQt5Svg.so.5 libKF5ConfigCore.so.5 libKF5ConfigWidgets.so.5 libKF5I18n.so.5 libKF5Crash.so.5 Annotations : FreeBSD_version: 1201000 repo_type : binary repository : FreeBSD Flat size : 3.28MiB Description : Blinken is the KDE version of the well-known game Simon Says. Follow the pattern of sounds and lights as long as you can! Press the start game button to begin. Watch the computer and copy the pattern it makes. Complete the sequence in the right order to win. WWW: http://edu.kde.org/blinken paul@chakara:/usr/ports/games % Moin moin
Do you have a phonon backend installed?
> pkg info -xD phonon-qt5
phonon-qt5-4.11.1:
On install:
Please, consider installing backends for Phonon:
- multimedia/phonon-gstreamer GStreamer backend
- multimedia/phonon-vlc VLC backend
mfg Tobias
Got the same as you: ---- root@chakara:/home/paul # pkg info|grep phonon phonon-qt5-4.11.1 KDE multimedia framework root@chakara:/home/paul # pkg info -xD phonon-qt5 phonon-qt5-4.11.1: On install: Please, consider installing backends for Phonon: - multimedia/phonon-gstreamer GStreamer backend - multimedia/phonon-vlc VLC backend root@chakara:/home/paul # --- So I did: root@chakara:/home/paul # pkg install phonon-gstreamer-qt5 Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: phonon-gstreamer-qt5: 4.10.0 Number of packages to be installed: 1 125 KiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching phonon-gstreamer-qt5-4.10.0.txz: 32% 40 KiB 41.0kB/s 00:02[1/1] Fetching phonon-gstreamer-qt5-4.10.0.txz: 100% 125 KiB 127.7kB/s 00:01 Checking integrity... done (0 conflicting) [1/1] Installing phonon-gstreamer-qt5-4.10.0... [1/1] Extracting phonon-gstreamer-qt5-4.10.0: 100% ===== Message from phonon-gstreamer-qt5-4.10.0: -- You'll need to install some GStreamer plugins to make Phonon able to play something via this backend: multimedia/gstreamer1-plugins-all will let you choose among all of them. root@chakara:/home/paul # blinken Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed "Session bus not found\nTo circumvent this problem try the following command (with Linux and bash)\nexport $(dbus-launch)" root@chakara:/home/paul # exit paul@chakara:~ % blinken Bus error (core dumped) paul@chakara:~ % The error message for not initializing phonon disappeared, but still got no sound. I changed the configuration to check out "sounds" and was able to go up to repeating the sequence, but then got the core dumped. Then I did: pkg install gstreamer1-plugins-all Which install probably way too much packages: 167? But blinken now works with sound. I wish it would be easier for people installing the package (on XFCE... maybe on KDE it works, I don't know). (In reply to Paul Dufresne from comment #4) Moin moin The issue is that there are two valid back-ends for phonon -- so we cannot (well we could...) install one by default. So we rely on users to install one of the backends manually. I agree this is not nice, but there is no method to do this better in our packaging system at the moment. Ideally we would just pick one -- e.g. remove phonon-vlc and just force a dependency on phonon-gstramer... but then, someone would come forward who "really needs phonon-vlc", and... well that would break it again. Another option would be to have the runtime dependency on the backend optionified, and choosing one of them as default for the package builders (say gstreamer). This would be more felxible as users still could switch to the other one when building packages manually... but it would reduce the flexibility of the prebuilt packages; as as of now, you could (theoretically) switch the backend from the repo without any issues. mfg Tobias A commit references this bug: Author: adridg Date: Fri Jan 1 23:56:14 UTC 2021 New revision: 559891 URL: https://svnweb.freebsd.org/changeset/ports/559891 Log: Massage games/blinken This game needs sound (it is a variant of "Simon Says"), so remind people in the install message that sound is needed. While here, update the WWW link PR: 251628 Reported by: Paul Dufresne Changes: head/games/blinken/Makefile head/games/blinken/pkg-descr head/games/blinken/pkg-message I think the best we can do is an install message (which I just added) |