Package Details: soundkonverter 3.0.1.32-1

Git Clone URL: https://aur.archlinux.org/soundkonverter.git (read-only, click to copy)
Package Base: soundkonverter
Description: Front-end to various audio converters
Upstream URL: https://store.kde.org/p/1126634
Licenses: GPL
Submitter: arojas
Maintainer: MdN
Last Packager: MdN
Votes: 13
Popularity: 1.86
First Submitted: 2024-01-24 17:52 (UTC)
Last Updated: 2024-03-09 15:05 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

MdN commented on 2024-02-15 20:37 (UTC)

I've switched the source of this PKGBUILD to the Git version. As one apparently can't rename it, I'll submit a separate entry for 'soundkonverter-git' shortly and then merge this one there.

There's been quite many commits since the last tagged release, so probably no point in keeping this sta(b)le version separately here.

The patch for TagLib 2 is included here, now (simplified version compared to the original one below).

Apparently there's also a Qt6 port in the works, so soundkonverter isn't quite dead yet :)

mdcclxv commented on 2024-02-06 22:24 (UTC)

Any idea when the patch will be applied to the AUR repo?

Ralf_Mardorf commented on 2024-02-04 08:48 (UTC) (edited on 2024-02-04 09:00 (UTC) by Ralf_Mardorf)

Thank you MdN.

I was in a hurry and only skimmed the patch. It looks like a few ifs corrections were made and not that MdN's was planning a big computer espionage operation, so I took the patch on a dare ;).

I have also dispensed with makechrootpkg today, instead I build with makepkg -s.

"$srcdir/soundkonverter" returns "No such file or directory".

Apart from this building the package with the patch does work [1]. However, I have not tested whether soundkonverter built with the patch also works.

[1] In this form, the changed $srcdir/soundconverter path only works for me, of course.

$ diff PKGBUILD ../original/soundkonverter/PKGBUILD 
9c9
< pkgrel=9.1
---
> pkgrel=9
39d38
< 
41,42c40
<         https://github.com/dfaust/soundkonverter/commit/3760bccb.patch
<         taglib2.diff)
---
>         https://github.com/dfaust/soundkonverter/commit/3760bccb.patch)
44,45c42
<             '6dea893bd79d3848ba674e4735f4f5ec63b8d8b4d6a75c696e83f37876043633'
<             'SKIP')
---
>             '6dea893bd79d3848ba674e4735f4f5ec63b8d8b4d6a75c696e83f37876043633')
49,50d45
<   cd /.tmp/soundkonverter/src/soundkonverter-3.0.1
<   patch -Np1 -i "$srcdir/taglib2.diff"

MdN commented on 2024-02-04 03:08 (UTC) (edited on 2024-02-04 03:08 (UTC) by MdN)

Got it to build and run with TagLib 2.

Save the following as e.g. "taglib2.diff" alongside the PKGBUILD file: https://github.com/mihkel-t/soundkonverter/commit/47bab60cdf2d7460ea33d95497572906993dc117.diff

Add this before the build() function in PKGBUILD:

prepare() {
  cd "$srcdir/soundkonverter"
  patch -Np1 -i "$srcdir/taglib2.diff"
}

holunder commented on 2024-02-02 22:59 (UTC) (edited on 2024-02-02 22:59 (UTC) by holunder)

There is a Qt 6 port in the works, probably also fixing the other issues: https://github.com/CarlSchwan/soundkonverter/tree/work/carl/port-qt6

fnix commented on 2024-02-02 21:28 (UTC) (edited on 2024-02-02 21:29 (UTC) by fnix)

There seem to be three classes of errors. Fixing the itemListMap() and removeField() errors by replacing them all with itemMap() and removeFields() as per the taglib 2.0 release announcement is easy enough, but as someone with no C++ experience, fixing the final error type goes beyond me:

error: passing ‘const TagLib::MP4::Item’ as ‘this’ argument discards qualifiers [-fpermissive]

Ralf_Mardorf commented on 2024-01-31 02:49 (UTC) (edited on 2024-01-31 02:51 (UTC) by Ralf_Mardorf)

Hi,I confirm that it cannot be built.

$ makechrootpkg -c -r $CHROOT
[snip]
[ 29%] Building CXX object CMakeFiles/soundkonverter.dir/metadata/MetaReplayGain.cpp.o
In file included from /build/soundkonverter/src/soundkonverter-3.0.1/src/pluginloader.h:15,
                 from /build/soundkonverter/src/soundkonverter-3.0.1/src/config.h:10,
                 from /build/soundkonverter/src/soundkonverter-3.0.1/src/metadata/tagengine.cpp:4:
[snip]
/build/soundkonverter/src/soundkonverter-3.0.1/src/metadata/tagengine.cpp:370:30: error: ‘ItemListMap’ is not a member of ‘TagLib::MP4’; did you mean ‘ItemMap’?
  370 |                 TagLib::MP4::ItemListMap map = tag->itemListMap();
      |                              ^~~~~~~~~~~
[snip]
/build/soundkonverter/src/soundkonverter-3.0.1/src/metadata/tagengine.cpp:683:30: error: ‘class TagLib::Ogg::XiphComment’ has no member named ‘removeField’; did you mean ‘removeFields’?
  683 |                         tag->removeField("ALBUMARTIST");
      |                              ^~~~~~~~~~~
[snip]
[ 30%] Building CXX object plugins/soundkonverter_codec_ffmpeg/CMakeFiles/soundkonverter_codec_ffmpeg.dir/soundkonverter_codec_ffmpeg.cpp.o
make[1]: *** [CMakeFiles/Makefile2:1596: CMakeFiles/soundkonverter.dir/all] Error 2
[snip]
[ 31%] Built target soundkonverter_codec_ffmpeg
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /.tmp/soundkonverter/chroot/rocketmouse/build

holunder commented on 2024-01-30 21:48 (UTC)

Fails due to upgrade to taglib 2.0.

simona commented on 2024-01-26 06:00 (UTC)

it require kdebase-runtime and do not exist anymore. libkcddb is now libkcddb5.