Package Details: cantata 2.5.0-6

Git Clone URL: https://aur.archlinux.org/cantata.git (read-only, click to copy)
Package Base: cantata
Description: Qt5 client for the music player daemon (MPD)
Upstream URL: https://github.com/CDrummond/cantata
Licenses: GPL3
Submitter: arojas
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 14
Popularity: 0.32
First Submitted: 2024-01-24 15:31 (UTC)
Last Updated: 2024-07-14 08:34 (UTC)

Latest Comments

1 2 Next › Last »

varlesh commented on 2024-07-10 20:49 (UTC)

Patch for FFMPEG 7.0 compatibility: https://github.com/eclipseo/cantata/commit/0887cf117dd791192531dca47f4ec056a02b7c8a

KdU7aq commented on 2024-07-05 19:45 (UTC)

FYI, I'm getting the same ffmpeg related error when trying to rebuild cantata-git:

/home/KdU7aq/.cache/paru/clone/cantata-git/src/cantata-git/replaygain/ffmpeginput.cpp: In destructor ‘virtual FfmpegInput::~FfmpegInput()’:
/home/KdU7aq/.cache/paru/clone/cantata-git/src/cantata-git/replaygain/ffmpeginput.cpp:256:22: error: ‘int avcodec_close(AVCodecContext*)’ is deprecated [-Werror=deprecated-declarations]
  256 |         avcodec_close(handle->codecContext);
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/KdU7aq/.cache/paru/clone/cantata-git/src/cantata-git/replaygain/ffmpeginput.cpp:21:
/usr/include/libavcodec/avcodec.h:2387:5: note: declared here
 2387 | int avcodec_close(AVCodecContext *avctx);
      |     ^~~~~~~~~~~~~

[..]

[ 36%] Built target solidlite
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'cantata-git-2.5.0.r7607.e2a8aa496-1':

I guess I'll just move to either cantata-qt6 or cantata-qt6-git

@FabioLolix thanks for maintaining these packages!

FabioLolix commented on 2024-07-02 12:57 (UTC)

Likely I'll switch to the Qt6 fork at this point

iou1name commented on 2024-07-01 00:04 (UTC)

I'm getting errors while compiling. Seems to be related to ffmpeg.

[ 96%] Building CXX object replaygain/CMakeFiles/cantata-replaygain.dir/ffmpeginput.cpp.o
/home/iou1name/.cache/yay/cantata/src/cantata-2.5.0/replaygain/ffmpeginput.cpp: In destructor ‘virtual FfmpegInput::~FfmpegInput()’:
/home/iou1name/.cache/yay/cantata/src/cantata-2.5.0/replaygain/ffmpeginput.cpp:256:22: warning: ‘int avcodec_close(AVCodecContext*)’ is deprecated [-Wdeprecated-declarations]
  256 |         avcodec_close(handle->codecContext);
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/iou1name/.cache/yay/cantata/src/cantata-2.5.0/replaygain/ffmpeginput.cpp:21:
/usr/include/libavcodec/avcodec.h:2387:5: note: declared here
 2387 | int avcodec_close(AVCodecContext *avctx);
      |     ^~~~~~~~~~~~~
/home/iou1name/.cache/yay/cantata/src/cantata-2.5.0/replaygain/ffmpeginput.cpp: In member function ‘virtual unsigned int FfmpegInput::channels() const’:
/home/iou1name/.cache/yay/cantata/src/cantata-2.5.0/replaygain/ffmpeginput.cpp:284:43: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’
  284 |     return handle ? handle->codecContext->channels : 0;
      |                                           ^~~~~~~~
/home/iou1name/.cache/yay/cantata/src/cantata-2.5.0/replaygain/ffmpeginput.cpp: In member function ‘virtual bool FfmpegInput::setChannelMap(int*) const’:
/home/iou1name/.cache/yay/cantata/src/cantata-2.5.0/replaygain/ffmpeginput.cpp:299:41: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
  299 |     if (handle && handle->codecContext->channel_layout) {
      |                                         ^~~~~~~~~~~~~~
      |                                         ch_layout
/home/iou1name/.cache/yay/cantata/src/cantata-2.5.0/replaygain/ffmpeginput.cpp:302:60: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’
  302 |         while (mapIndex < (unsigned) handle->codecContext->channels) {
      |                                                            ^~~~~~~~
/home/iou1name/.cache/yay/cantata/src/cantata-2.5.0/replaygain/ffmpeginput.cpp:303:39: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
  303 |             if (handle->codecContext->channel_layout & (1 << bitCounter)) {
      |                                       ^~~~~~~~~~~~~~
      |                                       ch_layout
/home/iou1name/.cache/yay/cantata/src/cantata-2.5.0/replaygain/ffmpeginput.cpp: In member function ‘size_t FfmpegInput::readOnePacket()’:
/home/iou1name/.cache/yay/cantata/src/cantata-2.5.0/replaygain/ffmpeginput.cpp:473:45: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’
  473 |     int numChannels = handle->codecContext->channels;
      |                                             ^~~~~~~~
make[2]: *** [replaygain/CMakeFiles/cantata-replaygain.dir/build.make:97: replaygain/CMakeFiles/cantata-replaygain.dir/ffmpeginput.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:391: replaygain/CMakeFiles/cantata-replaygain.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: cantata-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
cantata - exit status 4

caseyjp1 commented on 2024-03-14 00:23 (UTC)

The latest plasma6 update is now throwing this error via journalctl: kde.dataengine.mpris: mpris:trackid from "Cantata" does not conform to the MPRIS2 standard. Please report the issue to the developer.

I don't know where to report the issue as there are several forks out there at this point, so there ya go.

FabioLolix commented on 2024-01-30 20:13 (UTC)

Thank you for adding fenuks patch.

Thanks to fenuks

Please have md4c added to the makedepends clause. Build will fail otherwise.

md4c is a depends of qt5-base so is already in the dependency chain, if you have an error log please use a pastebin service or send it to me by email

KdU7aq commented on 2024-01-30 19:26 (UTC)

@FabioLolix

Thank you for adding fenuks patch. The package compiles fine now indeed.

connaisseur commented on 2024-01-30 19:17 (UTC)

Please have

md4c

added to the makedepends clause. Build will fail otherwise.

Thanks!

FabioLolix commented on 2024-01-30 18:25 (UTC)

fenuks's applied, the program build and works again