[Kde-imaging] reflexion about kipi-plugins port to Windows...

Valerio Fuoglio valerio.fuoglio at gmail.com
Wed Oct 22 12:16:04 CEST 2008


On Tuesday 21 October 2008 15:24:43 Gilles Caulier wrote:
> - libX11 => Slideshow and ImageViewer are disable.
>
> ==> there is a plan to remove this depency ? Valerio, Markus ?

X11 dependencies should not be essential.

Look here:
----------------------------------------------
#ifdef Q_WS_X11
#include <QX11Info>

// X11 includes.

#include <X11/Xlib.h>
#include <X11/extensions/Xrandr.h>
#endif
--------------------------------------

Current CMakeLists.txt got errors:
-------------
IF(OPENGL_FOUND AND OPENGL_GLU_FOUND AND X11_FOUND AND X11_Xrandr_FOUND)
    MESSAGE(STATUS " SlideShow plugin will be compiled...")
ELSE(OPENGL_FOUND AND OPENGL_GLU_FOUND AND X11_FOUND AND 
X11_Xrandr_FOUND)
    MESSAGE(STATUS " SlideShow plugin will not be compiled! Look README 
file for more details about dependencies... ")
ENDIF(OPENGL_FOUND AND OPENGL_GLU_FOUND AND X11_FOUND AND 
X11_Xrandr_FOUND)
--------------

"X11_FOUND AND X11_Xrandr_FOUND" sould be removed, because they are 
optional.

Please, Gilles, patch CMakeLists.txt with attached patch, then try to 
build it on Windows (I currently not have a Windows development 
environment).

Cheers, 
Valerio

-- 
Valerio Fuoglio
<valerio.fuoglio at gmail.com> - http://www.valeriofuoglio.it
KDE Developer - KIPI Plugins - http://www.kipi-plugins.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeLists.txt.patch
Type: text/x-patch
Size: 1005 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-imaging/attachments/20081022/4d079701/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-imaging/attachments/20081022/4d079701/attachment.sig 


More information about the Kde-imaging mailing list