Package: libsidplay2
Version: 2.1.1-3.1

I have run into four separate issues of sidplay2, which are somewhat related to each other. Here is my method, which lead me into the troubles. I extract the source on an ubuntu dapper system like this:

% apt-get source libsidplay2

This downloads & patches the source. I now enter the directory:

% cd sidplay-libs-2.1.1
% fakeroot debian/rules binary-arch

This compiles a lot of packages and places them into the .. directory.

My first issue: why is there no package for the hardsid builder? I have the catweasel mk4 card that is hardsid compatible. I run it with a custom kernel module. I have to do this in order to have the library on my system:

% sudo cp -a debian/tmp/usr/lib/libhardsid-builder.* /usr/local/lib/

I also need to copy debian/tmp/usr/include/sidplay/builders/hardsid.h somewhere in /usr/local/include. After this, I must get the sources to sidplay and compile them. This compiling goes without issue, and sidplay has the --hardsid switch. Can't we have hardsid built by default? The library is minuscule and would be very useful for the handful of people that have hardware SIDs.


My second issue with the packages is that I can't compile them twice. A whole bunch of directories become created in debian directory, one of them being debian/libsidplay-dev, and the scripts can't handle that. The directory remains even after a "debian/rules clean". I need to rm -rf that directory manually or the build process with the fakeroot will fail.


Finally, after having a bunch of packages built and after installing them, the libsidutils.la and libsidplay.la somehow ended up with paths that referred to the build environment, in effect somewhere under my home directory. I have not been able to reproduce this in a fresh extract of the sources, but it has happened at least once before. It could be that the scripts somehow make a mistake if I repeatedly recompile in the same debian source tree. Theorizing upon the previous issue, this is not something that the Debian maintainer normally does.


I also noticed that the package needs to be built with g++-3.4 or it becomes seriously broken. I don't know if this is an issue with g++-4.0 (on amd64) or sidplay sources doing something not fully standards compatible. Songs play too fast, and sometimes just plain wrong, hard to say. The issues begin already in the 6502 emulation, because songs play too fast even when not using resid for playback. It could be due to some changes in the new aliasing optimizations, perhaps.

--
Antti


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to