[Kde-extra-gear] problems with kipi-plugins and cvsExtract.sh

Jesper K. Pedersen blackie at blackie.dk
Mon Jul 12 18:42:29 CEST 2004


Hi.
I'm still fighting cvsExtract.sh to be able to pack kdeextragear-libs-1, 
so some help is largely appreciated.

I try to run it like this:
$KDESRC/kdeextragear-1/scripts/cvsExtract.sh -m kdeextragear-libs-1 -a kipiplugins \
-r CVS -d :pserver:blackie at cvs.kde.org:/home/kde --version 2004-07-12-noi18n --noi18n --nodoc

Doing so, I get a package without any subdirectories in it, since 
the following test on line 580ff fails to realize that kipi-plugins
contains subdirectories
> # test the application directory wether it has a "flat" structure or
> # uses a subdir named "src" or ${APPNAME}
> flatDirStructure="yes"
> if [ -d "${APPDIR}/src" ] || [ -d "${APPDIR}/${APPNAME}" ] ;then
>     flatDirStructure="no"
> fi

This "bug" can either be worked around by hardcoding
a special case for kipi-plugins, or using a command line
option, that overrides the above test.

If I hardcode "no" in the above code, then I hit the next error,
which I have no clue about, namely line 650 which says
cd ${APPDIR}

that subdirectory doesn't exists.

Please help, so we can start making snapshots of KIPI et.al.

Cheers
Jesper


More information about the Kde-extra-gear mailing list