Message: previous - next
Month: May 2016

Re: Re: Re: Re: testing: tdeabc/vcardparser$ more README.testing

From: deloptes <deloptes@...>
Date: Tue, 10 May 2016 01:17:58 +0200
this patch adds testing vcardparser to cmake, so that the code compiles and
is usable.

I did not add check target as in the original automake, but rather added a script that can be executed from within vcardparser directory.

The patch also includes the patch by Fat-Zer, which works for the testing
tools, but as I reported before, it results in utf8 converted chars each
time I load kontact (each time vcf file is read (and perhaps written)).
To me it looks like parseVCards is good with that patch but there is a
problem elsewhere in the chain - write??(see 4).

I added two tests in utf8
        tests/vcard8.vcf        (german)
        tests/vcard9.vcf        (cyrillic)
and have no idea why vcard9 fails on testread2 and why the Name is not read
properly, when in vcard8 it passes the test

I then added a testwrite2 file that exposes the problem with the utf8 to
utf8 conversion and will look into it next.

all together we are 1 step further

[to be continued]


Unfortunately when building debian packages it adds 
to each desktop source file, which is really bad.

I quick workaround it like following
find . -name '*.desktop' -exec grep X-Ubuntu-Gettext-Domain {} \; -print |
grep '^\./' | while read line; do echo ">>>" $line;
perl -pi -e 's:X-Ubuntu-Gettext-Domain=desktop_tdelibs-trinity::g' $line;