[Slackbuilds-users] Problem/fix for SlackBuild for MP3Diags

Dominik Drobek dominik.drobek at o2.pl
Sat Apr 15 16:30:53 UTC 2023


W dniu 15.04.2023 o 17:11, David Halliwell pisze:
>     The MP3Diags-unstable name is hard-coded into the source, so my 
> simple changes needed to use that for the package name. That meant 
> 'upgradepkg' did not recognize it as a replacement for the earlier 
> install of MP3Diags, so I did a removepkg followed by an upgradepkg 
> --install-new.

Yes, the version ported to Qt5 is "unstable". There is no "stable" Qt5 
version at the moment - I guess that would be version 1.6.x.

And this is problematic, because the "-unstable" suffix is not only 
hardcoded in the source package, binary name, icons, etc., but also 
deeper in the source code. For example, "unstable" version is reading 
configuration from $HOME/.config/Ciobi/Mp3Diags-unstable.conf. This 
means upgrading from "stable" to "unstable" version (and vice versa) 
requires manual intervention by the user - otherwise the user settings 
will be lost. This should be at least mentioned in the README.

Handling package name change in the SlackBuild is possible. So all in 
all, the update is manageable, just not as straightforward as it seems 
at first glance.

Regards,
Dominik


More information about the SlackBuilds-users mailing list