I have a few problems and notes in Xnoise packaging for Debian that I would like to
publish in order they could be fixed in next release.
Almost everything is trivial, but critical to standard packaging!
Tag-Info:
1. Please include my package_chef.sh also there, I think it would be useful for
everyone who use Debian/Ubuntu/(Debian based) distro. It also a good packaging
test for you(Jorn) before you upload to PPA, if you need one.
2. Make doxygen docs in a separate package, in form of *-doc, which is the flavor of
Debian and Ubuntu.
3. If the API/ABI break is only for build and not in dynamic library run-time, add in
Build-Depends libtag1-dev (>=1.9) instead of (>=1.8) that currently there. It will
require the libtag1-dev >= 1.9 only for building and not for the end-user.
4. There is a problem when I start ./package_chef.sh in this directory. It's related
somehow to the files timestamp, which is logical, since ./package_chef.sh copy files
to an isolated dir. In previous version of Xnoise and Tag-Info, it didn't happen.
Any idea why?
I found a post that describe the exact error I get here and explain how to fix it in
another case, but I don't know how to fix it here:
http://stackoverflow.com/questions/18769770/user-of-autotools-generated-tarball-gets-error-message-aclocal-1-13-command-noThe way I could use the ./package_chef.sh is to use:
# touch *
# autoreconf
# ./package_chef.sh
This fixes it, but you see the portability issue here...
Xnoise:
1. Same as clause 4 above
2. Again(wasn't fixed since the last release), the libxnoisetest.do wasn't remove
from the file, even known it was removed from plugins list.
Please remove this line from file packaging/debian/debian/xnoise-plugin.install:
usr/lib/xnoise/libxnoisetest.so
This makes me break the original package and build a non-official release.
A better solution to avoid this problem in the future, is to replace file content from:
usr/lib/xnoise/libazlyrics.so
usr/lib/xnoise/libchartlyrics.so
usr/lib/xnoise/libDatabaseLyrics.so
usr/lib/xnoise/liblastfm.so
usr/lib/xnoise/libLyricwiki.so
usr/lib/xnoise/libmediakeys.so
usr/lib/xnoise/libmpris.so
usr/lib/xnoise/libmprisone.so
usr/lib/xnoise/libxnoisetest.so
usr/lib/xnoise/libMagnatune.so
usr/lib/xnoise/*.xnplugin
Simply to:
usr/lib/xnoise/lib*.so
usr/lib/xnoise/*.xnplugin
(I've taken this idea from file packaging/ubuntu/saucy/debian/xnoise.install)
I hope you'll solve this problems for the next releases, so everyone who wish could
just invoke ./package_chef.sh!
Hope I've been clear
Tal