Hi there,

building on Fedora 15 (64 bits) with
./configure   \
--enable-crashdump=yes  \
--enable-cairo  --with-system-cairo  \
--enable-opengl  \
--enable-dbus  \
--enable-minimizer  \
--enable-presenter-console  \
--enable-pdfimport  \
--enable-wiki-publisher  \
--enable-report-builder \
--enable-mysql-connector --with-system-mysql \
--with-epm=/home/ariel/bin/epm --with-package-format="rpm"  \
--with-mingwin=i686-pc-mingw32-g++   \
--enable-graphite   \
--enable-verbose \
--with-external-tar=/mnt/build/openoffice/dev300/ext_sources

(I just wanted to try with the same options I was building DEV300)
I get the following errors:

* enabling the OpenGL transitions:

Compiling: slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx: In member 
function 'bool {anonymous}::OGLTransitionerImpl::createWindow(Window*)':
slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:490:28: error: 
'FALSE' was not declared in this scope
slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:496:28: error: 
'FALSE' was not declared in this scope
slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:520:68: error: 
'FALSE' was not declared in this scope
slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:546:34: error: 
'TRUE' was not declared in this scope
slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:548:36: error: 
'FALSE' was not declared in this scope
dmake:  Error code 1, while making 
'../../../unxlngx6.pro/slo/OGLTrans_TransitionerImpl.obj'

seems the code missed the removal of the old tool's types.


* enabling dbus:

[ build CXX ] vcl/unx/gtk/window/gtkframe
vcl/unx/gtk/window/gtkframe.cxx:67:28: fatal error: dbus/dbus-glib.h: No such 
file or directory


* enabling KDE 4, moc can't be found:

checking for Qt4 headers... /usr/include
checking for Qt4 libraries... /usr/lib64
checking for moc... no
configure: error: Qt Meta Object Compiler not found.  Please specify
the root of your Qt installation by exporting QT4DIR before running "configure".

exporting QT4DIR=/usr/lib64/qt4 does not help. 
Hard-coding MOC4="/usr/bin/moc-qt4" in configure allowed to move on until next 
error:

checking for moc... /usr/bin/moc-qt4
checking for KDE4 headers... no
configure: error: KDE4 headers not found.  Please specify the root of your KDE4 
installation by exporting KDE4DIR before running "configure".

exporting KDE4DIR does not work, either. I didn't have time to look at these, 
so I simply disabled kde4.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina
[ build CXX ] vcl/unx/gtk/window/gtkframe
R=/mnt/build/openoffice/apache/trunk && S=$R/main && 
O=$S/solver/340/unxlngx6.pro && W=$O/workdir &&  mkdir -p 
$W/CxxObject/vcl/unx/gtk/window/ && mkdir -p 
$W/Dep/CxxObject/vcl/unx/gtk/window/ && g++ -DCPPU_ENV=gcc3 -DCUI 
-DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 
-DGCC -DGXX_INCLUDE_PATH=/usr/include/c++/4.6.0 -DHAVE_GCC_VISIBILITY_FEATURE 
-DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DPRODUCT_FULL 
-DSOLAR_JAVA -DSTLPORT_VERSION=400 -DSUPD=340 -DUNIX -DUNX -DVCL -DX86_64 
-D_PTHREADS -D_REENTRANT   -DVCLPLUG_GTK_IMPLEMENTATION -DVERSION=\"340\"  
-DENABLE_DBUS  -Wall -Wendif-labels -Wextra -Wno-ctor-dtor-privacy 
-Wno-non-virtual-dtor -Wshadow -fPIC -fmessage-length=0 -fno-common 
-fno-strict-aliasing -fno-use-cxa-atexit -fvisibility-inlines-hidden 
-fvisibility=hidden -pipe   -pthread -I/usr/include/gtk-2.0 
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 
-I/usr/include/libpng12    -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs  
-Os -c $S/vcl/unx/gtk/window/gtkframe.cxx -o 
$W/CxxObject/vcl/unx/gtk/window/gtkframe.o -MMD -MT 
$W/CxxObject/vcl/unx/gtk/window/gtkframe.o -MF 
$W/Dep/CxxObject/vcl/unx/gtk/window/gtkframe.d -I$S/vcl/unx/gtk/window/ 
-I$O/inc/stl -I$O/inc/stl -I$O/inc/external -I$O/inc -I$S/solenv/unxlngx6/inc 
-I$S/solenv/inc -I$S/res -I$S/solenv/inc/Xp31 
-I/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include 
-I/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/linux 
-I/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/native_threads/include 
-I/usr/include -I$S/vcl/inc -I$S/vcl/inc/pch -I$S/solenv/inc -I$O/inc/offuh 
-I$O/inc/stl -I$O/inc 
/mnt/build/openoffice/apache/trunk/main/vcl/unx/gtk/window/gtkframe.cxx:67:28: 
fatal error: dbus/dbus-glib.h: No such file or directory
compilation terminated.
make: *** 
[/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkframe.o]
 Error 1
diff --git a/vcl/Library_vclplug_gtk.mk b/vcl/Library_vclplug_gtk.mk
index 99caa8c..7eeb15e 100755
--- a/vcl/Library_vclplug_gtk.mk
+++ b/vcl/Library_vclplug_gtk.mk
@@ -52,6 +52,7 @@ ifneq ($(ENABLE_DBUS),)
 $(eval $(call gb_Library_set_defs,vclplug_gtk,\
 	$$(DEFS) \
     -DENABLE_DBUS \
+    $(shell pkg-config --cflags-only-I dbus-glib-1)\
 ))
 $(eval $(call gb_Library_set_ldflags,vclplug_gtk,\
     $$(LDFLAGS) \
Compiling: slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
g++  -fmessage-length=0 -c -O2 -fno-strict-aliasing -DENABLE_LAYOUT=0 
-DENABLE_LAYOUT_EXPERIMENTAL=0   -I. -I../../../unxlngx6.pro/inc/OGLTrans 
-I../inc -I../../../inc/pch -I../../../inc -I../../../unx/inc 
-I../../../unxlngx6.pro/inc -I. 
-I/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/inc/stl 
-I/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/inc/external 
-I/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/inc 
-I/mnt/build/openoffice/apache/trunk/main/solenv/unxlngx6/inc 
-I/mnt/build/openoffice/apache/trunk/main/solenv/inc 
-I/mnt/build/openoffice/apache/trunk/main/res 
-I/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/inc/stl 
-I/mnt/build/openoffice/apache/trunk/main/solenv/inc/Xp31 
-I/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include 
-I/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/linux 
-I/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/native_threads/include 
-I/usr/include  
-I/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/inc/offuh -I. 
-I../../../res -I. -pipe  -fvisibility-inlines-hidden -g -Wall -Wextra 
-Wendif-labels -Wshadow -Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor   
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DX86_64 -DGLIBC=2 -D_PTHREADS 
-D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 
-DHAVE_GCC_VISIBILITY_FEATURE -DX86_64 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 
-DGXX_INCLUDE_PATH=/usr/include/c++/4.6.0 -DSUPD=340 -DPRODUCT -DNDEBUG 
-DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGUI -DSOLAR_JAVA   -DVERBOSE -DSHAREDLIB 
-D_DLL_   -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON  -o 
../../../unxlngx6.pro/slo/OGLTrans_TransitionerImpl.o 
/mnt/build/openoffice/apache/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
 
: &&     
LD_LIBRARY_PATH=/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
 /mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/bin/makedepend 
@/tmp/mkv9p9t1 > ../../../unxlngx6.pro/misc/s_OGLTrans_TransitionerImpl.dpcc
tr -d "\015" < /mnt/build/openoffice/apache/trunk/main/solenv/src/component.map 
| awk -f /mnt/build/openoffice/apache/trunk/main/solenv/bin/addsym.awk > 
../../../unxlngx6.pro/misc/component_OGLTrans.uno.map
: &&     
LD_LIBRARY_PATH=/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
 /mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/bin/xsltproc 
--nonet --stringparam uri \
        'vnd.sun.star.expand:$OOO_BASE_DIR/program/OGLTrans.uno.so' -o 
../../../unxlngx6.pro/misc/ogltrans.component \
        /mnt/build/openoffice/apache/trunk/main/solenv/bin/createcomponent.xslt 
ogltrans.component
/mnt/build/openoffice/apache/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:
 In member function 'bool 
{anonymous}::OGLTransitionerImpl::createWindow(Window*)':
/mnt/build/openoffice/apache/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:490:28:
 error: 'FALSE' was not declared in this scope
/mnt/build/openoffice/apache/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:496:28:
 error: 'FALSE' was not declared in this scope
/mnt/build/openoffice/apache/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:520:68:
 error: 'FALSE' was not declared in this scope
/mnt/build/openoffice/apache/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:546:34:
 error: 'TRUE' was not declared in this scope
/mnt/build/openoffice/apache/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:548:36:
 error: 'FALSE' was not declared in this scope
dmake:  Error code 1, while making 
'../../../unxlngx6.pro/slo/OGLTrans_TransitionerImpl.obj'
diff --git a/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
index b1bf35b..cdb89e7 100644
--- a/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
@@ -487,13 +487,13 @@ bool OGLTransitionerImpl::createWindow( Window* pPWindow )
               glXGetFBConfigAttrib (GLWin.dpy, fbconfigs[i],
                                     GLX_BIND_TO_TEXTURE_RGB_EXT,
                                     &value);
-              if (value == FALSE)
+              if (!value)
                   continue;
 
               glXGetFBConfigAttrib (GLWin.dpy, fbconfigs[i],
                                     GLX_BIND_TO_MIPMAP_TEXTURE_EXT,
                                     &value);
-              if (value == FALSE)
+              if (!value)
                   continue;
 
               /* TODO: handle non Y inverted cases */
@@ -517,7 +517,7 @@ bool OGLTransitionerImpl::createWindow( Window* pPWindow )
               winData.nSize = sizeof(winData);
 	      OSL_TRACE("using VisualID %08X", vi->visualid);
               winData.pVisual = (void*)(vi->visual);
-              pWindow=new SystemChildWindow(pPWindow, 0, &winData, FALSE);
+              pWindow=new SystemChildWindow(pPWindow, 0, &winData, sal_False);
               pChildSysData = pWindow->GetSystemData();
               if( pChildSysData ) {
                   break;
@@ -537,18 +537,18 @@ bool OGLTransitionerImpl::createWindow( Window* pPWindow )
       const SystemEnvData* pChildSysData = NULL;
       SystemWindowData winData;
       winData.nSize = sizeof(winData);
-      pWindow=new SystemChildWindow(pPWindow, 0, &winData, FALSE);
+      pWindow=new SystemChildWindow(pPWindow, 0, &winData, sal_False);
       pChildSysData = pWindow->GetSystemData();
 #endif            
 
       if( pWindow )
       {
-	  pWindow->SetMouseTransparent( TRUE );
+	  pWindow->SetMouseTransparent( sal_True );
 	  pWindow->SetParentClipMode( PARENTCLIPMODE_NOCLIP );
-	  pWindow->EnableEraseBackground( FALSE );
+	  pWindow->EnableEraseBackground( sal_False );
 	  pWindow->SetControlForeground();
 	  pWindow->SetControlBackground();
-	  pWindow->EnablePaint(FALSE);
+	  pWindow->EnablePaint(sal_False);
 #if defined( WNT ) 
 		GLWin.hWnd = sysData->hWnd;
 #elif defined( UNX )

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to