Github messages for voidlinux
 help / color / mirror / Atom feed
From: MechDR <MechDR@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Package request: amarok 
Date: Wed, 15 May 2024 15:09:29 +0200	[thread overview]
Message-ID: <20240515130929.BC62D27318@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49953@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 6015 bytes --]

New comment by MechDR on void-packages repository

https://github.com/void-linux/void-packages/issues/49953#issuecomment-2112476157

Comment:
I managed to package it as well, but it seems something is wrong. I get this when trying to run it.

![Amarok_Error](https://github.com/void-linux/void-packages/assets/45944962/73973948-dbce-470b-bede-c8f701c92d54)

When I run it with `--debug-audio`, I get this from the terminal.

````
"PulseSupport(2): Probing for PulseAudio..."
"PulseSupport(2): context_state_callback Authorizing"
"PulseSupport(2): context_state_callback Setting Name"
"PulseSupport(2): context_state_callback Ready"
"PulseSupport(2): Failed to initialize device manager extension: Not supported"
"PulseSupport(2): Falling back to single device mode"
"PulseSupport(2): context_state_callback Terminated"
"PulseSupport(2): PulseAudio probe complete."
"PulseSupport(2): PulseAudio support enabled"
"PulseSupport(2): Enabled Breakdown: mEnabled: Yes, s_pulseActive Yes"
PHONON-GST Using GStreamer 1.24.2
PHONON-GST AudioOutput using "pulsesink"
PHONON-GST AudioOutput using "pulsesink"
"PulseSupport(2): Initialising streamindex {7ff94ae0-c163-4d7d-8ddb-135c9f62e8da}"
PHONON-GST Backend connected Phonon::Gstreamer::MediaObject to Phonon::Gstreamer::AudioOutput
PHONON-GST Fading to 1
PHONON-GST BEGIN: GstStateChangeReturn Phonon::Gstreamer::Pipeline::setState(GstState)
PHONON-GST   Transitioning to state "ready"
PHONON-GST   State change
PHONON-GST   BEGIN: void Phonon::Gstreamer::MediaObject::handleDurationChange(qint64)
PHONON-GST     -1
PHONON-GST   END__: void Phonon::Gstreamer::MediaObject::handleDurationChange(qint64) [Took: 0s]
PHONON-GST   BEGIN: void Phonon::Gstreamer::MediaObject::handleStateChange(GstState, GstState)
PHONON-GST     Moving from "null"  Phonon::LoadingState  to "ready"  Phonon::StoppedState 
PHONON-GST     BEGIN: void Phonon::Gstreamer::MediaObject::loadingComplete()
PHONON-GST     END__: void Phonon::Gstreamer::MediaObject::loadingComplete() [Took: 0s]
PHONON-GST   END__: void Phonon::Gstreamer::MediaObject::handleStateChange(GstState, GstState) [Took: 0s]
PHONON-GST END__: GstStateChangeReturn Phonon::Gstreamer::Pipeline::setState(GstState) [Took: 0s]
PHONON-GST Backend connected Phonon::Gstreamer::MediaObject to Phonon::Gstreamer::VolumeFaderEffect
PHONON-GST Backend connected Phonon::Gstreamer::VolumeFaderEffect to Phonon::Gstreamer::AudioOutput
PHONON-GST Fading to 1
PHONON-GST BEGIN: GstStateChangeReturn Phonon::Gstreamer::Pipeline::setState(GstState)
PHONON-GST   Transitioning to state "ready"
PHONON-GST END__: GstStateChangeReturn Phonon::Gstreamer::Pipeline::setState(GstState) [Took: 0s]
PHONON-GST Backend connected Phonon::Gstreamer::VolumeFaderEffect to Phonon::Gstreamer::VolumeFaderEffect
PHONON-GST Backend connected Phonon::Gstreamer::VolumeFaderEffect to Phonon::Gstreamer::AudioOutput
PHONON-GST Backend connected Phonon::Gstreamer::VolumeFaderEffect to Phonon::Gstreamer::AudioDataOutput
"PulseSupport(2): context_state_callback Authorizing"
"PulseSupport(2): context_state_callback Setting Name"
"PulseSupport(2): context_state_callback Ready"
"PulseSupport(2): Phonon Output Stream {7ff94ae0-c163-4d7d-8ddb-135c9f62e8da} is gone at the PA end. Marking it as invalid in our cache as we may reuse it."
"PulseSupport(2): Found PulseAudio stream index 87 for Phonon Output Stream {7ff94ae0-c163-4d7d-8ddb-135c9f62e8da}"
"PulseSupport(2): Failed to initialize device manager extension: Not supported"
"PulseSupport(2): context_state_callback Terminated"
````

And then the GUI error pops up.

Anyone know what the problem might be? I managed to solve a part of it (the debug info was longer) by installing `phonon-qt5-backend-gstreamer`, but that didn't solve it all the way.

I've made some modifications to the Amarok template since the last time I posted the template, here is what I used now.

````
# Template file for 'amarok'
pkgname=amarok
version=3.0.0
revision=1
#build_style=cmake
#configure_args=".. -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`"
#build_wrksrc="${pkgname}-${version}-build"
hostmakedepends="cmake-bootstrap cmake extra-cmake-modules ninja pkg-config ffmpeg-devel libmygpo-qt-devel libgpod-devel libmtp-devel libcurl-devel loudmouth-devel
 gettext-devel taglib-devel fftw-devel qt5-devel qt5-tools-devel qt5-declarative-devel
 qt5-svg-devel qt5-plugin-mysql qt5-plugin-sqlite qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-tds
 libmariadbclient-devel qt5-webengine-devel qt5-webchannel-devel qt5-quickcontrols2-devel
 qt5-location-devel kde5 attica-devel karchive-devel kcodecs-devel kconfig-devel
 kconfigwidgets-devel kcoreaddons-devel kcrash-devel kdbusaddons-devel kdeclarative-devel
 kdnssd-devel kdoctools-devel kglobalaccel-devel kguiaddons-devel ki18n-devel kiconthemes-devel
 kcmutils-devel kio-devel knewstuff-devel knotifications-devel kpackage-devel ksolid-devel
 ktexteditor-devel threadweaver-devel kwidgetsaddons-devel kwindowsystem-devel"
makedepends=""
depends="phonon-qt5-backend-gstreamer"
short_desc="Amarok is a free, cross-platform, versatile, powerful and feature-rich music player."
maintainer="someone <someone@some.one>"
license="GPL-2.0-or-later"
homepage="https://amarok.kde.org/"
distfiles="https://download.kde.org/stable/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
checksum="14a87678305fad76a0a1daca555a6775ffa642e5ebbcccecd91f497093992c1c"

post_extract() {
	mkdir -p ${wrksrc}/${pkgname}-${version}-build
	mkdir -p ${DESTDIR}/etc
}

do_configure() {
	cd ${wrksrc}/${pkgname}-${version}-build
	cmake -DCMAKE_INSTALL_PREFIX="${DESTDIR}/usr" -DCMAKE_BUILD_TYPE=debugfull ..
}

do_build() {
	cd ${wrksrc}/${pkgname}-${version}-build
	make -j8
}

do_install() {
	cd ${wrksrc}/${pkgname}-${version}-build
	make install
	mv -f ${DESTDIR}/usr/etc/* ${DESTDIR}/etc
	rm -rf ${DESTDIR}/usr/etc
}
````

Could someone build and see if they get the same error as me? Thanks!

  parent reply	other threads:[~2024-05-15 13:09 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-21  9:58 [ISSUE] " Eloitor
2024-04-23 11:24 ` MechDR
2024-04-23 11:38 ` Eloitor
2024-04-23 14:09 ` MechDR
2024-05-03  7:20 ` mvf
2024-05-08 22:08 ` MechDR
2024-05-15 13:09 ` MechDR [this message]
2024-05-16  7:09 ` mvf
2024-05-16  7:20 ` MechDR
2024-05-16  7:22 ` MechDR
2024-05-16  7:38 ` mvf
2024-05-16 16:30 ` MechDR
2024-05-20 23:28 ` MechDR
2024-05-24 22:33 ` MechDR
2024-05-24 22:33 ` MechDR
2024-05-24 22:42 ` MechDR
2024-05-24 23:55 ` MechDR
2024-05-25  0:00 ` MechDR
2024-05-25  0:09 ` MechDR
2024-05-25  0:12 ` MechDR

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240515130929.BC62D27318@inbox.vuxu.org \
    --to=mechdr@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).