emerge krusader from kde svn
Ralf Habacker
ralf.habacker at freenet.de
Sun Sep 27 20:08:09 CEST 2009
Patrick Spendrin schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ralf Habacker schrieb:
>
>> Hi,
>>
>> since r1025903 krusader sources are fetched from kde svn and it not
>> compilable because of a missing patch, which was applied before the
>> mentioned release.
>>
> the patch wasn't applied for svnHEAD in the old krusader svn head but
> instead only for the 2.0.0-beta2 package. You can still get this package
> using emerge --target=2.0.0-beta2 krusader . If this shouldn't work,
> then please tell me again.
[ 52%] Building CXX object krusader/Queue/CMakeFiles/Queue.dir/queue_mgr.obj
queue_mgr.cpp
D:\daten\kde\svn\trunk\extragear\utils\krusader\krusader\Queue\queue_mgr.cpp(47)
: error C2057: Konstanter Ausdruck erwartet
D:\daten\kde\svn\trunk\extragear\utils\krusader\krusader\Queue\queue_mgr.cpp(47)
: error C2466: Zuordnung eines Arrays der konstanten Größe 0 nicht möglich.
D:\daten\kde\svn\trunk\extragear\utils\krusader\krusader\Queue\queue_mgr.cpp(47)
: error C2133: 'queueArray': Unbekannte Größe
The related source line is listed below:
Queue *queueArray [ queuesSize ];
There are more issues:
D:\daten\kde\svn\trunk\extragear\utils\krusader\krusader\main.cpp(78) :
error C2057: Konstanter Ausdruck erwartet
D:\daten\kde\svn\trunk\extragear\utils\krusader\krusader\main.cpp(78) :
error C2466: Zuordnung eines Arrays der konstanten Größe 0 nicht möglich.
D:\daten\kde\svn\trunk\extragear\utils\krusader\krusader\main.cpp(78) :
error C2133: 'myArgv': Unbekannte Größe
char myArgv[argc+2];
D:\daten\kde\svn\trunk\extragear\utils\krusader\krusader\main.cpp(88) :
error C2057: Konstanter Ausdruck erwartet
D:\daten\kde\svn\trunk\extragear\utils\krusader\krusader\main.cpp(88) :
error C2466: Zuordnung eines Arrays der konstanten Größe 0 nicht möglich.
D:\daten\kde\svn\trunk\extragear\utils\krusader\krusader\main.cpp(88) :
error C2133: 'addedParams': Unbekannte Größe
char addedParams[strlen(icon_text)+strlen(icon_name)+2];
> Please make sure that the directory emerge\portage\testing\krusader is deleted
this directory was deleted before
> as this is the old location and might interfere with the new build (Maybe this is the problem you found)!
>
It looks no, see above
Appended is a related patch, should I fix this in kde svn ?
Beside the compile problems, krusader crashes in krvfsmodel.cpp:285
because t is 0 in line 283
283: struct tm* t = localtime((time_t *) & time);
.
285: QDateTime tmp(QDate(t->tm_year + 1900, t->tm_mon + 1,
t->tm_mday), QTime(t->tm_hour, t->tm_min));
This happens on several places in the sources, a possible solution may
be to use the time_t conversation method of QDateTime
Regards
Ralf
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: krusader-svn.patch
Url: http://mail.kde.org/pipermail/kde-windows/attachments/20090927/2145533f/attachment.bat
More information about the Kde-windows
mailing list