[Kde-imaging] [Digikam-devel] [PATCH] OpenGL configure check for Digikam Plugins

Stefan Hellwig stefan at stefanhellwig.de
Sun May 2 20:52:14 CEST 2004


> Dear all,

> As you all know there are compile problems with the slideshow plugin on
>some systems because the plugin needs OpenGL support to compile and relies
>on the fact that Qt is compiled with OpenGL support. However, that's not
>the case for all systems (e.g. if you use Gentoo and didn't enable the
>"opengl" use flag before emerging Qt) and therefore the compilation of the
>slideshow plugin fails.

>The attached patch adds two more flags to the "configure" of the digikam
>plugins: "--enable-opengl" and "--with-mesa". The first one enables
>(external) OpenGL support and the second one can be used if someone
>prefers to use the Mesa OpenGL libraries.

>If you don't provide the "--enable-opengl" flag, configure notifies the
>user that the slideshow plugin needs on OpenGL support in Qt (this is the
>default).

>I tested all combinations on my machine and it seems to work fine. Please
>note that almost the entire configure macro (MDL_HAVE_OPENGL) is NOT my
>"invention"! I found the macro on ac-archive.sourceforge.net and modified
>it to match the Digikam Plugins requirements (see the comments in the
>patched configure.in.in file).

>The patch has been created against the latest CVS code of the Digikam
>Plugins, by the way.

>I would kindly ask you to try it out and let me know what you think. This
>is the first version of the patch so there's probably room for
>improvements. If you think this is useful you/we may also make it
>available to the public as an "official patch" for people who have
>problems compiling the slideshow plugin.

>Regards, Stefan.

Someone can be applied this patch to LIKIPI ? I have applied that on current 
Digikamplugins CVS module on SF.net and it's work fine...

Regards

Gilles Caulier

-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure-opengl-1.0.patch
Type: text/x-diff
Size: 7711 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-imaging/attachments/20040502/39a9dbbf/configure-opengl-1.0.bin


More information about the Kde-imaging mailing list