[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    admin/cvs.sh bug
From:       Andras Mantia <amantia () virtualartisans ! com>
Date:       2002-11-05 11:30:30
[Download RAW message or body]

Hi,

 Generation of messages from source (make package-message or make -f 
admin/Makefile.common package-messages) fails if the KDEDIR environment 
variable is not set:
andris@stein:~/project/kallery> make -f admin/Makefile.common package-messages
./kallery
./kallery has *.rc or *.ui files, but not correct messages line
error while opening "/include/kde.pot" for reading: No such file or directory
disappeared: kallery.pot

 Is it still a requirement to have KDEDIR set? Shouldn't be enough to have 
only $KDEDIRS? In kstandarddirs.h you can find:

* @li KDEDIRS: This may set an additional number of directory prefixes to
*          search for resources. The directories should be seperated
*          by ':'. The directories are searched in the order they are
*          specified.
* @li KDEDIR:  Used for backwards compatibility. As KDEDIRS but only a single
*          directory may be specified. If KDEDIRS is set KDEDIR is
*          ignored.

But in case of the admin/cvs.sh this is not true, that one need KDEDIR. A 
quick search through the admin files showed that this is not the only place 
where KDEDIR is used, but it may be that only the cvs.sh relies on it:

grep KDEDIR *

grep: CVS: Is a directory
ChangeLog:      * acinclude.m4.in: unset KDEDIR before running conftest
acinclude.m4.in:if eval `KDEDIR= ./conftest 2>&5`; then
acinclude.m4.in:KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for 
config.log
acinclude.m4.in:        test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin 
$kde_default_bindirs"
acinclude.m4.in:        if test -n "$KDEDIRS"; then
acinclude.m4.in:           for dir in $KDEDIRS; do
acinclude.m4.in:            test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share 
$kde_sharedirs"
acinclude.m4.in:test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include 
$KDEDIR/include/kde $KDEDIR $kde_incdirs"
acinclude.m4.in:test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} 
$KDEDIR $kde_libdirs"
acinclude.m4.in:AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde})
acinclude.m4.in:  dnl make $KDEDIR the default for the installation
acinclude.m4.in:  AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde})
cvs.sh: XGETTEXT="${XGETTEXT:-xgettext} -C -ki18n -ktr2i18n -kI18N_NOOP 
-ktranslate -kaliasLocale -x ${includedir:-$KDEDIR/include}/kde.pot" \


Andras


 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic