<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt">Hi Ivan,<br />
<br />
I think your workaround has worked and that I have now built the libdbusmenu component. Thanks. I do have the following questions:<br />
<br />
* The component above is normally built as part of "emerge kdelibs" which fails as discussed. Do you know whether the other components are built correctly, or is the build step interrupted and subsequent components not built?<br />
<br />
* Is it safe to execute "emerge kdelibs" after your workaround, or would emerge redownload the defunct version?<br />
<br />
<br />
Taco.<br />
<div></div>
<br />
<br />
<span style="font-family: tahoma, arial, sans-serif; font-size: 10pt;"><hr size="2" width="100%" align="center" />
<strong>From</strong>: "ivan miraglia" <miraglia.ivan@gmail.com><br />
<strong>Sent</strong>: Thursday, May 10, 2012 9:56 PM<br />
<strong>To</strong>: calligra-devel@kde.org<br />
<strong>Subject</strong>: Re: Calligra on Windows: QtDBus</span><br />
<br />
Hi Taco,<br />
<br />
you are right, <span id="result_box" class="short_text" lang="en"><span class="hps">I left out</span> <span class="hps">a few tricks
that</span> <span class="hps">should</span> <span class="hps">be</span>
<span class="hps">applied</span><span></span></span>.<br />
<br />
If things are not changed since I did it, the archive containing the
sources for dbusmenu-qt downloaded by emerge is named
libdbusmenu-qt-0.9.2.tar.bz2 and the archive containing the sources
for dbusmenu-qt downloaded by kdewin-installer is named
dbusmenu-qt-vc100-20120130-src.tar.bz2. They have different sources
inside and a slightly different directory structure.<br />
<br />
Inside your KDEROOT directory you should have a "download" directory
where emerge puts downloaded archives before installing them (you
should see libdbusmenu-qt-0.9.2.tar.bz2 there).<br />
I repacked the content of dbusmenu-qt-vc100-20120130-src.tar.bz2
with the same directory structure and name of
libdbusmenu-qt-0.9.2.tar.bz2, you can download it from <br />
<a class="moz-txt-link-freetext" href="http://sites.google.com/site/ivanmiraglia001/dbusmenu-qt/libdbusmenu-qt-0.9.2.tar.bz2">http://sites.google.com/site/ivanmiraglia001/dbusmenu-qt/libdbusmenu-qt-0.9.2.tar.bz2</a><br />
<br />
You should replace the official archive
(KDEROOT\download\libdbusmenu-qt-0.9.2.tar.bz2) with my tricky
archive. that will cheat emerge.<br />
After that you can execute:<br />
>> emerge --offline dbusmenu-qt<br />
now dbusmenu-qt should build. <br />
I know that this is not a clean solution.<br />
<br />
feel you free to ask if I was unclear or for any other problem.<br />
<br />
Ivan<br />
<br />
<br />
<br />
<br />
Il 10/05/2012 13:41, Taco H. in den Bosch ha scritto:
<blockquote cite="mid:4ec9d477$46bf6490$3f0e9ab7$@com" type="cite"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Hi Ivan,<br />
<br />
I am trying to follow your suggestion and have installed (among
others) the dbus and dbusmenu-qt components using the KDE
installer. This has installed the sources and binaries of these
components. However, it does not include the QtDBus directory of
include files included by the Calligra sources, so I am still
unable to compile Calligra.<br />
<br />
Did you use the installer for all dependency components, or did
you combine some installed components with the 'emerge' tool,
and if so, how? If not, what is your source for the required
directory of include files?<br />
<br />
Your help is much appreciated.<br />
<br />
Taco.<br />
<br />
<br />
<span style="font-family: tahoma, arial, sans-serif; font-size: 10pt;">
<hr align="center" size="2" width="100%" />
<strong>From</strong>: "ivan miraglia"
<a class="moz-txt-link-rfc2396E" href="mailto:miraglia.ivan@gmail.com"><miraglia.ivan@gmail.com></a><br />
<strong>Sent</strong>: Wednesday, May 09, 2012 1:26 AM<br />
<strong>To</strong>: <a class="moz-txt-link-abbreviated" href="mailto:calligra-devel@kde.org">calligra-devel@kde.org</a><br />
<strong>Subject</strong>: Re: Calligra on Windows: QtDBus</span><br />
<br />
hello all,<br />
I'm new in the development of KDE/Calligra, so I think that my <br />
suggestions may not be the best one, but since I encountered the
same <br />
problem two weeks ago and I solved it somehow, I share my simple
solution.<br />
<br />
>From what I observed, the emerge tool downloads the source
for the <br />
libdbusmenu-qt version 0.9.2 that are the same that I found at
the <br />
following link:<br />
<a class="moz-txt-link-freetext" href="https://launchpad.net/libdbusmenu-qt">https://launchpad.net/libdbusmenu-qt</a> (I think it is the official
site of <br />
dbusmenu-qt library).<br />
This package is not suitable for building with Visual Studio as
it is.<br />
<br />
At the following link<br />
<a class="moz-txt-link-freetext" href="http://windows.kde.org/download.php">http://windows.kde.org/download.php</a>.<br />
you can download an installer that allows you to install many
components <br />
of KDE on Windows.<br />
During installation process you can choose to download also/only
the <br />
sources of KDE components (and their dependencies).<br />
I downloaded the sources for libdbusmenu-qt. The version is
0.9.0 that <br />
is sufficient to continue the building process. I used it
instead of the <br />
one downloaded by emerge tool.<br />
<br />
I suppose that the same changes that are present in the sources
<br />
downloaded by kdewin-installer can be merged into libdbusmenu-qt
version <br />
0.9.2.<br />
<br />
Ivan<br />
<br />
<br />
<br />
> Date: Tue, 8 May 2012 12:50:40 -0300<br />
> From: Andrius da Costa Ribas<a class="moz-txt-link-rfc2396E" href="mailto:andriusmao@gmail.com"><andriusmao@gmail.com></a><br />
> To: Calligra Suite developers and users mailing list<br />
> <a class="moz-txt-link-rfc2396E" href="mailto:calligra-devel@kde.org"><calligra-devel@kde.org></a><br />
> Subject: Re: Calligra on Windows: QtDBus<br />
> Message-ID:<br />
>
<a class="moz-txt-link-rfc2396E" href="mailto:CADzOArHY=bGrkAJ3XWcTAbWoBY12SQG49e_Aik+ypjfya9RDJg@mail.gmail.com"><CADzOArHY=bGrkAJ3XWcTAbWoBY12SQG49e_Aik+ypjfya9RDJg@mail.gmail.com></a><br />
> Content-Type: text/plain; charset="iso-8859-1"<br />
><br />
> __PRETTY_FUNCTION__ is gcc only, I think, I've ifdef'd some
of those in the<br />
> past. MSVC equivalent is __FUNCSIG__<br />
> Em 08/05/2012 11:31, "Stuart
Dickson"<a class="moz-txt-link-rfc2396E" href="mailto:stuart.dickson@kogmbh.com"><stuart.dickson@kogmbh.com></a> escreveu:<br />
><br />
>> Hi Taco,<br />
>><br />
>> I can confirm that I receive the same build error with
the kde-4.8 and the<br />
>> latest version of emerge.<br />
>><br />
>> I'll ask the folks on the kde-windows community if
there is a patch for<br />
>> this yet, I thought one had been prepared, but it's
possible that it's not<br />
>> been merged yet.<br />
>><br />
>> - Stuart<br />
>><br />
>><br />
>> On 08/05/2012 16:27, Taco H. in den Bosch wrote:<br />
>><br />
>> Hi Boudewijn,<br />
>><br />
>> thanks for your response. I tried building using the
emerge tool, and I<br />
>> have tried once more after your response. However, in
both cases I get<br />
>> errors during the build process.<br />
>><br />
>> I am not sure if I now get the same errors as before,
but at least in the<br />
>> current case I get compilation errors in the QtDBus
component. I have<br />
>> pasted some of the compiler output below.<br />
>><br />
>> To me these seem like basic compiler dependent
problems, but I am using<br />
>> Visual Studio 2010 as suggested in the build
instructions.<br />
>><br />
>> Do you (or does anyone) have suggestions how to fix
this?<br />
>><br />
>> Taco.<br />
>><br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(52) : error C2065:
'__PRETTY_FUNCTION__' : undeclared<br />
>> identifie<br />
>> r<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(52) : error C2228: left of '.space'
must have<br />
>> class/struct/unio<br />
>> n<br />
>> C:\oss\kde\include\QtCore/qglobal.h(2362) : warning
C4512:<br />
>> 'QForeachContainer<T><br />
>> ' : assignment operator could not be generated<br />
>> with<br />
>> [<br />
>> T=QList<QAction *><br />
>> ]<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\<br />
>> src\dbusmenuexporter.cpp(64) : see reference to class
template<br />
>> instantiation 'QF<br />
>> oreachContainer<T>' being compiled<br />
>> with<br />
>> [<br />
>> T=QList<QAction *><br />
>> ]<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(71) : error C2065:
'__PRETTY_FUNCTION__' : undeclared<br />
>> identifie<br />
>> r<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(71) : error C2228: left of '.space'
must have<br />
>> class/struct/unio<br />
>> n<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(91) : error C2065:
'__PRETTY_FUNCTION__' : undeclared<br />
>> identifie<br />
>> r<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(91) : error C2228: left of '.space'
must have<br />
>> class/struct/unio<br />
>> n<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(93) : error C2065:
'__PRETTY_FUNCTION__' : undeclared<br />
>> identifie<br />
>> r<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(93) : error C2228: left of '.space'
must have<br />
>> class/struct/unio<br />
>> n<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(95) : error C2065:
'__PRETTY_FUNCTION__' : undeclared<br />
>> identifie<br />
>> r<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(95) : error C2228: left of '.space'
must have<br />
>> class/struct/unio<br />
>> n<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(163) : error C2065:
'__PRETTY_FUNCTION__' : undeclared<br />
>> identifi<br />
>> er<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(163) : error C2228: left of '.space'
must have<br />
>> class/struct/uni<br />
>> on<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(188) : error C2065:
'__PRETTY_FUNCTION__' : undeclared<br />
>> identifi<br />
>> er<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(188) : error C2228: left of '.space'
must have<br />
>> class/struct/uni<br />
>> on<br />
>> C:\oss\kde\include\QtCore/qglobal.h(2362) : warning
C4512:<br />
>> 'QForeachContainer<T><br />
>> ' : assignment operator could not be generated<br />
>> with<br />
>> [<br />
>> T=QSet<int><br />
>> ]<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\<br />
>> src\dbusmenuexporter.cpp(369) : see reference to class
template<br />
>> instantiation 'Q<br />
>> ForeachContainer<T>' being compiled<br />
>> with<br />
>> [<br />
>> T=QSet<int><br />
>> ]<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(469) : error C2065:
'__PRETTY_FUNCTION__' : undeclared<br />
>> identifi<br />
>> er<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(469) : error C2228: left of '.space'
must have<br />
>> class/struct/uni<br />
>> on<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(485) : error C2065:
'__PRETTY_FUNCTION__' : undeclared<br />
>> identifi<br />
>> er<br />
>><br />
>>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br />
>> menuexporter.cpp(485) : error C2228: left of '.space'
must have<br />
>> class/struct/uni<br />
>> on<br />
>> emerge debug: Task: Emerge stopped after:
0:06:24.050000<br />
>><br />
>> ------------------------------<br />
>> *From*: "Boudewijn Rempt"<a class="moz-txt-link-rfc2396E" href="mailto:boud@valdyas.org"><boud@valdyas.org></a>
<a class="moz-txt-link-rfc2396E" href="mailto:boud@valdyas.org"><boud@valdyas.org></a><br />
>> *Sent*: Tuesday, May 08, 2012 11:04 AM<br />
>> *To*: <a class="moz-txt-link-abbreviated" href="mailto:taco@heddesit.nl">taco@heddesit.nl</a>, "Calligra Suite developers and
users mailing<br />
>> list"<a class="moz-txt-link-rfc2396E" href="mailto:calligra-devel@kde.org"><calligra-devel@kde.org></a>
<a class="moz-txt-link-rfc2396E" href="mailto:calligra-devel@kde.org"><calligra-devel@kde.org></a><br />
>> *Subject*: Re: Calligra on Windows: QtDBus<br />
>><br />
>> On Tue, 8 May 2012, Taco H. in den Bosch wrote:<br />
>><br />
>>> Hi everybody,<br />
>>><br />
>>> I am trying to build Calligra Words on Windows.
This is mostly working,<br />
>> except that a number of important<br />
>>> classes (prominently KoDocument) depend on the
QtDBus component which is<br />
>> not provided on windows (at least<br />
>>> not in the version 4.8.1 of Qt that I am using).<br />
>>><br />
>>> There is a Windows build of calligra, maintained by
KO GmbH (<br />
>> <a class="moz-txt-link-abbreviated" href="http://www.kogmbh.com">www.kogmbh.com</a>), so they must have found a way<br />
>>> around this. Can anybody tell me how this is done?
I see no facility in<br />
>> the source code to remove the<br />
>>> dependency on QtDBus, so I imagine that they in
some way make this<br />
>> component available in Windows. I have<br />
>>> found a couple of references on the internet about
doing this, but it<br />
>> seems incomplete and not very<br />
>>> dependable.<br />
>>><br />
>>> Any pointers in the right direction are
appreciated.<br />
>>><br />
>> Hi Taco!<br />
>><br />
>> We've short-circuited the base dependency part of
calligra by using KDE's<br />
>> windows emerge tool. That builds all the base parts,
including dbus on<br />
>> windows, and that enables the Qt dbus library as well.
THere's been some<br />
>> talk of making dbus optional or making it use windows'
native ipc, but no<br />
>> code has been written yet.<br />
>><br />
>> You can find instructions on how to build calligra on
windows at:<br />
>><br />
>> <a class="moz-txt-link-freetext" href="http://techbase.kde.org/Projects/KDE_on_Windows">http://techbase.kde.org/Projects/KDE_on_Windows</a><br />
>><br />
>> and<br />
>><br />
>>
<a class="moz-txt-link-freetext" href="http://community.kde.org/Calligra/Building_Calligra_on_Windows">http://community.kde.org/Calligra/Building_Calligra_on_Windows</a><br />
>><br />
>> Boudewijn<br />
>> _______________________________________________<br />
>> calligra-devel mailing list<br />
>> <a class="moz-txt-link-abbreviated" href="mailto:calligra-devel@kde.org">calligra-devel@kde.org</a><br />
>> <a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/calligra-devel">https://mail.kde.org/mailman/listinfo/calligra-devel</a><br />
>><br />
>><br />
>> _______________________________________________<br />
>> calligra-devel mailing
<a class="moz-txt-link-abbreviated" href="mailto:listcalligra-devel@kde.orghttps://mail.kde.org/mailman/listinfo/calligra-devel">listcalligra-devel@kde.orghttps://mail.kde.org/mailman/listinfo/calligra-devel</a><br />
>><br />
>><br />
>><br />
>> -- Stuart Dickson // KO GmbH <a class="moz-txt-link-freetext" href="http://kogmbh.com/legal/">http://kogmbh.com/legal/</a><br />
>><br />
>> _______________________________________________<br />
>> calligra-devel mailing list<br />
>> <a class="moz-txt-link-abbreviated" href="mailto:calligra-devel@kde.org">calligra-devel@kde.org</a><br />
>> <a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/calligra-devel">https://mail.kde.org/mailman/listinfo/calligra-devel</a><br />
>><br />
>><br />
><br />
<br />
_______________________________________________<br />
calligra-devel mailing list<br />
<a class="moz-txt-link-abbreviated" href="mailto:calligra-devel@kde.org">calligra-devel@kde.org</a><br />
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/calligra-devel">https://mail.kde.org/mailman/listinfo/calligra-devel</a><br />
</span>
<br />
<fieldset class="mimeAttachmentHeader"></fieldset>
<br />
<pre>_______________________________________________
calligra-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:calligra-devel@kde.org">calligra-devel@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/calligra-devel">https://mail.kde.org/mailman/listinfo/calligra-devel</a>
</pre>
</blockquote>
<br /></span>