Re: [Libreoffice] [Patch] it needs to be check by libreoffice guru

2011-06-15 Thread Dimitri Duc
Thanks guys,

It compiled greatly. I use --disable-unix-qstart-libpng to disable 
ENABLE_QUICKSTART_LIBPNG variable and the commit of Micheal did the magic too.


P.S: Big thanks to Christian Lohmaier who did an excellent explanation.

Le 11 juin 2011 à 15:35, Christian Lohmaier a écrit :

 Hi Michael, *,
 
 On Thu, Jun 9, 2011 at 6:44 PM, Michael Meeks michael.me...@novell.com 
 wrote:
 On Thu, 2011-06-09 at 17:25 +0200, Christian Lohmaier wrote:
 So that's the real problem: The configure script is too lax, and it
 can enable unsupported stuff.
 
Ho hum - if we don't use / install the oosplash.bin on Mac, I wonder
 why we build it :-) I've disabled that on master, hopefully it'll fix
 this issue elegantly enough.
 
 This issue yes, and in this case no other fixes are needed, since the
 oosplash.bin is the only consumer of the LIBPNG libs and cflags.
 
 ciao
 Christian

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] [Patch] it needs to be check by libreoffice guru

2011-05-16 Thread Dimitri Duc
Mac user,

here is my Platform dependent constant values from MacOSSS86Env.Set.sh:

#
# Platform dependent constant values.
#
SOLAR_JAVA=TRUE
COM=GCC
COMPATH=/usr
CPU=I
CPUNAME=INTEL
GUI=UNX
GUIBASE=aqua
GVER=VCL
OS=MACOSX
OUTPATH=unxmacxi
INPATH=unxmacxi.pro
PATH_SEPERATOR=:
MACOSX_DEPLOYMENT_TARGET=10.4

ERROR prompt:
Undefined symbols:
  _XSetWindowBackgroundPixmap, referenced from:
  _splash_create_window in splashx.o
  _XCreateImage, referenced from:
  _splash_create_window in splashx.o
  _XChangeProperty, referenced from:
  _splash_create_window in splashx.o
  _splash_create_window in splashx.o
  _XFillRectangle, referenced from:
  _splash_draw_progress in splashx.o
  _XSelectInput, referenced from:
  _splash_create_window in splashx.o
  _XInternAtom, referenced from:
  _splash_create_window in splashx.o
  _splash_create_window in splashx.o
  _splash_create_window in splashx.o
  _XFlush, referenced from:
  _splash_draw_progress in splashx.o
  _XCreateSimpleWindow, referenced from:
  _splash_create_window in splashx.o
  _XPutImage, referenced from:
  _splash_create_window in splashx.o
  _XSetWindowColormap, referenced from:
  _splash_create_window in splashx.o
  _XPending, referenced from:
  _splash_draw_progress in splashx.o
  _XSetStandardProperties, referenced from:
  _splash_create_window in splashx.o
  _XNextEvent, referenced from:
  _splash_draw_progress in splashx.o
  _XAllocColor, referenced from:
  _splash_create_window in splashx.o
  _splash_create_window in splashx.o
  _XDrawPoint, referenced from:
  _splash_create_window in splashx.o
  _XOpenDisplay, referenced from:
  _splash_create_window in splashx.o
  _splash_create_window in splashx.o
  _XFreeGC, referenced from:
  _splash_create_window in splashx.o
  _splash_create_window in splashx.o
  _XFreePixmap, referenced from:
  _splash_create_window in splashx.o
  _splash_create_window in splashx.o
  _XCloseDisplay, referenced from:
  _splash_close_window in splashx.o
  _XMapWindow, referenced from:
  _splash_create_window in splashx.o
  _XSetForeground, referenced from:
  _splash_draw_progress in splashx.o
  _splash_draw_progress in splashx.o
  _splash_create_window in splashx.o
  _splash_create_window in splashx.o
  _XDrawRectangle, referenced from:
  _splash_draw_progress in splashx.o
  _XCreatePixmap, referenced from:
  _splash_create_window in splashx.o
  _XCreateGC, referenced from:
  _splash_create_window in splashx.o
  _splash_create_window in splashx.o
ld: symbol(s) not found
collect2: ld returned 1 exit status


At compile time, I got a linking error in desktop/unx/source folder. Compiler 
cannot linked splashx.o to X11 library because X11LINK_DYNAMIC is equal to 
nothing.

So, I made a change in desktop/unx/source/makefile.mk:

.IF $(OS)==MACOSX
.IF $(GUI)==UNX
X11LINK_DYNAMIC=-L/usr/X11/lib -lX11
.ENDIF
.ENDIF

I compiled it and Libreoffice runs on my computer. I got no idea if this error 
is just on my computer or not.

However, if this patch is useful

It is written  under MPL 1.1 / GPLv3+ / LGPLv3+ Licenses.






0001-linking-oosplash-to-X11-library-for-OSX.patch
Description: Binary data
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Warning in aclocal

2011-04-25 Thread Dimitri Duc
Mac user,

Got a warning on aclocal -I ./m4/mac command from ./autogen.sh

dimitri$ aclocal -I ./m4/mac
configure.in:2874: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected 
in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
configure.in:2874: the top level

There is brackets formating mistake.

I made a patch under LGPLv3+/MPL.



0001-Brackets-format.patch
Description: Binary data
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Patch for compiling error in component/cui

2011-04-19 Thread Dimitri Duc
Mac user,


I got this error in cui module 

cui/source/options/optaccessibility.src:28:32: error: optaccessibility.hrc: No 
such file or directory
cui/source/options/optasian.src:28:24: error: optasian.hrc: No such file or 
directory
cui/source/tabpages/numpages.src:30:24: error: numpages.hrc: No such file or 
directory

I made a patch and got [ build CHK ] loaded modules: cui


Path under MPL 1.1 /GPLv3+ / LGPLv3+ tri-license



0001-Change-global-header-file-to-local.patch
Description: Binary data
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice