Review Request 124678: porting Amarok to KF5 - 3 Commits

Aroonav Mishra aroonav11 at gmail.com
Tue Aug 11 14:02:52 UTC 2015


On 11 August 2015 at 15:08, Olivier Churlaud <olivier at churlaud.com> wrote:

> Le 11/08/2015 07:00, Aroonav Mishra a écrit :
>
> Hello Olivier,
>
> Hi
>
> I tried getting in touch with you on IRC about this.
>
> On 10 August 2015 at 04:55, Olivier Churlaud < <olivier at churlaud.com>
> olivier at churlaud.com> wrote:
>
>> @Aroonav: it's specially for you...
>>
>> tell me what I'm supposed to do with this first work (there are 3 commits
>> in fact).
>>
> If it's okay with you I would like to first understand something. I had
> disabled the compilation of the files in src/context in src/CMakeLists.txt
> in the kf5 branch but I see that you have not re-enabled their compilation
> in that cmake file. And if I have understood correctly then I believe that
> you are gonna look at the errors before making the required changes to
> correct that error. So am I correct in guessing that you *have*
> re-enabled their compilation in your local repository but you haven't put
> that change(of enabling the compilation of src/context) in the commit on
> the reviewboard.
>
> No. I let everything like you did. The first thing I did is "let see what
> compiles" and I compiled the whole project, (with the CMakeList like you
> let it). I took the first errors and made everything so that the
> compilation go further.
>
Okay, cool. I am a little surprised (should I be?) that I am getting a
different set of errors right now (on compilation of the code till the last
commit pushed to the remote kf5 branch). The error that I am getting right
now is (at 78%) in src/main.cpp related to KCmdLineArgs and a few other
errors. Are we getting different errors due to our different development
environment setups? What do you think?

>
>> With this I get 19% of the compilation. BUT I have the KPluginInfo
>> problem, plus a
>>
>> /usr/include/kcmodule.h:29:25: fatal error: QtGui/QWidget: No such file
>> or directory
>>
>> that I don't understand.
>>
> It seems that the Qt/KF5 development libraries are not installed(or not
> setup) properly on your system. Because that seems to be the first reason
> that comes to my mind for the error. It seems to have found the kdelibs4
> version of kcmodule.h and that only seems plausible when the required kf5
> package isn't found. Same goes for the KPluginInfo problem that you have
> mentioned on the reviewboard.
>
> The KPluginInfo problem is solved (cf the update) and it was just a
> problem of include.
> I have the kf5 package since I'm able to compile other parts of the code
> based on kf5 (and I'm on archlinux, I compiled several apps without pb).
>
Do you have the KF5::KConfigWidgets installed for archlinux. I had a look
at the filelist
<https://www.archlinux.org/packages/extra/x86_64/kconfigwidgets/files/> (I
am assuming 64-bit archlinux.) and the file kcmodule.h detected should be
"usr/include/KF5/KConfigWidgets/kcmodule.h" but from the error, the cmake
on your local environment detects the file in "usr/include/kcmodule.h"
which is in the kdelibs package (filelist
<https://www.archlinux.org/packages/extra/x86_64/kdelibs/files/>). What do
you think about this?

> Cheers
> Olivier
>
>
>
>
>
>> Thx
>> Olivier
>>
>>
>>
>> Le 10/08/2015 01:13, Olivier Churlaud a écrit :
>>
>> This is an automatically generated e-mail. To reply, visit:
>> https://git.reviewboard.kde.org/r/124678/
>> Review request for Amarok.
>> By Olivier Churlaud.
>> *Repository: * amarok
>> Description
>>
>> It's my first port so I would like to have an external point of view.
>>
>> Other problem, in the compilation, KPluginInfo is not found:
>>
>> /home/olivier/Projets/amarok/src/context/tools/amarokpkg.cpp:37:30: fatal error: Plasma/KPluginInfo: No such file or directory
>>
>> Diffs
>>
>>    - shared/collectionscanner/ScanningState.cpp (488b5ec)
>>    - src/context/applets/wikipedia/WikipediaApplet.cpp (824e9b7)
>>    - src/context/tools/CMakeLists.txt (1deb7f3)
>>    - src/context/tools/amarokpkg.cpp (2ae1e93)
>>    - src/services/lastfm/meta/LastFmMeta.cpp (46aa8fe)
>>    - tests/TestExpression.h (cfa2a0c)
>>    - tests/TestQStringx.h (8cf14c3)
>>    - tests/TestSmartPointerList.h (72c95aa)
>>    - tests/TestSmartPointerList.cpp (8e9865b)
>>
>> View Diff <https://git.reviewboard.kde.org/r/124678/diff/>
>>
>>
>>
>> _______________________________________________
>> Amarok-devel mailing list
>> Amarok-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/amarok-devel
>>
>>
> Cheers,
> Aroonav.
>
>
> _______________________________________________
> Amarok-devel mailing listAmarok-devel at kde.orghttps://mail.kde.org/mailman/listinfo/amarok-devel
>
>
>
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
>
> Cheers,
Aroonav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20150811/6d142ced/attachment.html>


More information about the Amarok-devel mailing list