Bug#283858: kdelibs4-dev kde.pot should be symlinked to /usr/include
* Andreas Pakulat [Wed, 01 Dec 2004 22:06:46 +0100]:
> Package: kdelibs4-dev
> Version: 4:3.3.1-1
> Severity: normal
> Hi,
He Andreas (and sorry for the late reply),
> according to kde-config --prefix, the KDEDIR should be set to /usr,
> but this prevents kde projects to create translations. According to
> various documentation a
> make -f admin/Makefile.common package-messages
> should create the apropriate .po* files, but this target only works if
> KDEDIR/include/kde.pot exists, which is not the case in Debian. So
^^^^^^^^^^^^^^^^^^^^^^
Indeed, the Makefile is at fault here, assuming that the installation
dir for includes is always $KDEDIR/include, since they can be elsewhere
(e.g., in Debian they are under /usr/include/kde).
> either there should be a /usr/share/kde with apropriate symlinks (as
> for QT) or there should be a symlink /usr/include/kde.pot which points
> to the correct file.
Well, these would be workarounds for the real bug. Instead, I'll send
a patch upstream so that the issue gets fixed in the proper place.
Also, though I can imagine you already use some kind of workaround
yourself, I recommend that you invoke make like this:
$ make -f admin/Makefile.common includedir=/usr/include/kde package-messages
Notice the includedir=/usr/include/kde extra bit.
Thanks, and sorry again for the delay,
--
Adeodato Simó
EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
A black cat crossing your path signifies that the animal is going somewhere.
-- Groucho Marx
Reply to: