Re: [Libreoffice] Is there tag/property in the following example that LO not support yet?
I found the bug in OO that there is the same problem as my: http://qa.openoffice.org/issues/show_bug.cgi?id=92625 I check the document.xml and the image define the same: w:object w:dxaOrig=11187 w:dyaOrig=6916 − v:shape id=_x_i1029 type=#_x_t75 style=width:324.75pt;height:197.25pt o:ole= v:imagedata r:id=rId18 o:title=/ /v:shape o:OLEObject Type=Embed ProgID=Visio.Drawing.11 ShapeID=_x_i1029 DrawAspect=Content ObjectID=_1279029668 r:id=rId19/ /w:object In the bug written that it because using the crop tool in office 2007. thanks Nadav On Thu, Oct 21, 2010 at 4:29 PM, Thorsten Behrens tbehr...@novell.com wrote: Nadav Vinik wrote: hm, any chance you could (privately) send the problematic file? I currently fail to get where that warning comes from - it's apparently coming from libwmf, which we're not using - funny. I don't know if I can, It's spec file in my work. Hi, ok, then there are two more options - try to generate a 'dummy' file (random content, empty visio embedded doc etc) - or explain what the document contains, so we can try to generate one (the latter has less chances of resulting in the same bug, of course). Thanks, -- Thorsten -- הבלוג שלי: http://nadavvin.com ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [PATCH] Renaming extension options
On Thu, 04 Nov 2010 21:26:43 +0200, Niko Rönkkö ron...@iki.fi wrote: Renamed all extensions to --with-ext-* Thanks, that makes sense, I just didn't get to it. I'd just still argue for --enable rather than --with. If we do want to present them together in ./configure --help, then they all must be a same type of. = Changed all extensions to be AC_ARG_WITH --enable is being used to choose optional features which certainly applies here (http://www.delorie.com/gnu/docs/autoconf/autoconf_131.html) --with is used if you require external software and decides which external software is being used. (http://www.delorie.com/gnu/docs/autoconf/autoconf_130.html) So --enable is IMHO what we really want here. What I would prefer even more is a grouping feature, ie present all extensions in a group, present all Windows-specific options in a group etc. But I did not find if that is possible. Does any auto-wizard know? Also: We don't want to break builders scripts (as Michael Meeks said) so deprecated old options not removed but commented instead. While I agree for the 3.3 branch. I don't think that doubling the output of ./configure --help is going to be helpful. It complains when being invoked with an unknown option anyway. But we can deprecate it for a while and remove it a bit later. shrug. Sebastian ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [PUSHED] Easy Hacks : RTL_CONSTASCII_USTRINGPARAM in libs-core 1
On Thu, Nov 04, 2010 at 09:54:20PM +0100, Gert Faller wrote: Hi, here are some in 'libs-core'. Regards. Thanks! I removed some changes * in BasicManager::SetGlobalUNOConstant, because the variable is function parameter, not a string constant. * in ModuleContainer_Impl::getByName, because the variable is a pointer, not an array (that means sizeof does not return the size you expected) D. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [PATCH] Convert --enable-java to --with-java
On Thu, 04 Nov 2010 18:24:04 +, Wols Lists wrote: + --with-java Build LibO with a JDK Java support.], So, what should be the default? Including Java? Then I would argue for making this a --without option and having Java enabled by default... ? pgppmfCzt4N2n.pgp Description: PGP signature ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] ./download doesn't work behind a proxy
For such a cloned repository, will push be possible? Or is this then a read-only repository? Thanks, Oli On 11/03/10 18:20, Miklos Vajna wrote: On Wed, Nov 03, 2010 at 02:10:14PM +0100, Florian Effenbergerflo...@documentfoundation.org wrote: I'm no git expert, but if someone comes up with a script, that should be no problem. We can mid-term also host our own git, but for the moment, I'd stick with FD. Mirroring git repos is easy. :) To do the initial mirroring: cd /path/to/git repos=build writer etc. for i in $repos do git clone --mirror git://anongit.freedesktop.org/git/libreoffice/$i done To update them (this could go to a hourly - or similar - cronjob): cd /path/to/git for i in * do cd $i.git git fetch origin git remote prune origin # this is optional but needed to get rid of branches deleted in the FD repos cd .. done Finally, you need to export the /path/to/git dir in your httpd config. In case you have Apache and you want smart-http (the plain http version is slooow ;) ), add to the vhost's config: SetEnv GIT_PROJECT_ROOT /path/to/git SetEnv GIT_HTTP_EXPORT_ALL ScriptAlias /git/ /usr/libexec/git-core/git-http-backend/ (man git-clone, man git-fetch, man git-remote and finally man git-http-backend describes the process in more detail.) ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email _ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] ./download doesn't work behind a proxy
On Fri, Nov 05, 2010 at 08:52:19AM +0100, Marc-Oliver Straub openoff...@sb-software.de wrote: For such a cloned repository, will push be possible? Or is this then a read-only repository? It's read-only. It's possible to make it writable, but I guess nobody wants to script a hook that would push back to the freedesktop repo as well (and handle conflicts if there are any). pgpPjAmzIeco0.pgp Description: PGP signature ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [PATCH] Fix bug where an opening quote mark is treated as a word
Hi Mattias, On Fri, 2010-11-05 at 10:38 +1100, Mattias Johnsson wrote: There isn't a bug report in the LO tracker, but there are quite a few in the OO.o issue tracker. The basic issue number is 89042, with 97116, 102270, 107241, 113375, and 108072 marked as duplicates. Hum, I saw that one... but it seems that with a recent build, the problem doesn't exist anymore... maybe due to John's changes in the SwScanner? Did you try a recent build (yesterday it was fine) without your patch applied? Regards, -- Cédric Bosdonnat LibreOffice hacker http://documentfoundation.org OOo Eclipse Integration developer http://cedric.bosdonnat.free.fr ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Building on Debian squeeze
On Fri, Nov 05, 2010 at 07:34:27PM +0900, Takeshi Abe wrote: Java source codes in tests of LO/OOo use the annotation feature of JUnit 4, imported with namespace org.junit.*, which JUnit 3.x lacks. So its version is worth checking out. Yes, but they are unreliable anyway, so even me who otherwise enables the smoketest and those subsequent tests in the build disable it :-) # Unfortunately, running the unoapi tests is still not stable enough to give # useful results. Therefore, running subsequenttests has been disabled in the # build bots for now. Making the tests sufficiently stable is ongoing work. # (http://wiki.services.openoffice.org/wiki/Test_Cleanup) ENABLE_JUNIT4=n It's safe to disable it. Grüße/Regards, René ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Changing mailing list behavior
On 05/11/10 10:28, Regina Henschel wrote: It is not about using my seamonkey, but why this list is organized different than others. For example in disc...@documentfoundation.org (and in all other mailing list I am subscribed, but libreoffice@lists.freedesktop.org) when I click on Antworten (that's To) I get the list address in the To field. When I click on Antwort an alle (that's To All) I get the list address in the To field and the poster's address in the CC. Only here in libreoffice@lists.freedesktop.org I get the poster's address in the To field and the list address only in the CC-field. I know to change the addresses, but I have to remember each time, Caution, this list is the other way round. That is not comfortable. The problem is, the other lists are monkeying about with the message headers! When I send a message, my mail client sets reply-to to me. When you hit reply, that's where the message should go! (Actually, it probably doesn't set reply to and your mail client replies to the From.) Your other lists are mangling the reply to header and setting it *contrary* to the rfc's. All mailing lists should *respect* the *sender's* use of reply to. They also should *not* change the From, because the message is not from the list. Unfortunately a lot of them do :-( I use thunderbird, and it detects the list-post header, giving me a reply to list option. I've noticed sometimes that doesn't seem to work, but I think I've suddenly twigged why :-) If the other person hits reply all and I'm in that list, I think the list doesn't send the email on the grounds I've already had a direct copy. So the copy I get doesn't have the list post header because it came direct... Cheers, Wol ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] [PATCH] Use the correct db includes and obey LDFLAGS
--- configure.in | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/configure.in b/configure.in index aab3995..6f72931 100644 --- a/configure.in +++ b/configure.in @@ -4368,11 +4368,16 @@ if test -n $with_system_db -o -n $with_system_libs \ test $with_system_db != no; then SYSTEM_DB=YES AC_MSG_RESULT([external]) -AC_CHECK_HEADER(db.h, [ DB_INCLUDES=/usr/include ], +if test $_os = OpenBSD ; then +DBDIR=/usr/local/include/db4 +else +DBDIR=/usr/include/db4 +fi +CFLAGS=-I$DBDIR +AC_CHECK_HEADER(db4/db.h, [ DB_INCLUDES=$DBDIR ], [ - CFLAGS=-I/usr/include/db4 - AC_CHECK_HEADER(db4/db.h, - [ DB_INCLUDES=/usr/include/db4 ], + AC_CHECK_HEADER(db.h, + [ DB_INCLUDES=/usr/include ], [ AC_MSG_ERROR(no. install the db4 libraries) ], []+ ) ], [] ) @@ -5383,7 +5388,7 @@ elif test $_os != WINNT ; then AC_MSG_ERROR([No X includes found]) # Exit fi CFLAGS=$X_CFLAGS - LDFLAGS=$X_LDFLAGS $X_LIBS + LDFLAGS=$LDFLAGS $X_LDFLAGS $X_LIBS AC_CHECK_LIB(X11, XOpenDisplay, x_libs=-lX11 $X_EXTRA_LIBS, [AC_MSG_ERROR([X Development libraries not found])]) dnl Check if the XauDisposeAuth symbol is provided by libXau. AC_CHECK_LIB(Xau, XauDisposeAuth, XAU_LIBS=-lXau, []) -- 1.7.3.1 ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [PATCH] Use the correct db includes and obey LDFLAGS
A little bit more explanation: On OpenBSD there is a db.h in /usr/include which is not sleepycat db4, and of course it gets picked up and the compile test fails. On (2010-11-05 12:22), Robert Nagy wrote: --- configure.in | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/configure.in b/configure.in index aab3995..6f72931 100644 --- a/configure.in +++ b/configure.in @@ -4368,11 +4368,16 @@ if test -n $with_system_db -o -n $with_system_libs \ test $with_system_db != no; then SYSTEM_DB=YES AC_MSG_RESULT([external]) -AC_CHECK_HEADER(db.h, [ DB_INCLUDES=/usr/include ], +if test $_os = OpenBSD ; then +DBDIR=/usr/local/include/db4 +else +DBDIR=/usr/include/db4 +fi +CFLAGS=-I$DBDIR +AC_CHECK_HEADER(db4/db.h, [ DB_INCLUDES=$DBDIR ], [ - CFLAGS=-I/usr/include/db4 - AC_CHECK_HEADER(db4/db.h, - [ DB_INCLUDES=/usr/include/db4 ], + AC_CHECK_HEADER(db.h, + [ DB_INCLUDES=/usr/include ], [ AC_MSG_ERROR(no. install the db4 libraries) ], []+ ) ], [] ) @@ -5383,7 +5388,7 @@ elif test $_os != WINNT ; then AC_MSG_ERROR([No X includes found]) # Exit fi CFLAGS=$X_CFLAGS - LDFLAGS=$X_LDFLAGS $X_LIBS + LDFLAGS=$LDFLAGS $X_LDFLAGS $X_LIBS AC_CHECK_LIB(X11, XOpenDisplay, x_libs=-lX11 $X_EXTRA_LIBS, [AC_MSG_ERROR([X Development libraries not found])]) dnl Check if the XauDisposeAuth symbol is provided by libXau. AC_CHECK_LIB(Xau, XauDisposeAuth, XAU_LIBS=-lXau, []) -- 1.7.3.1 ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [PATCH] Fix bug where an opening quote mark is treated as a word
On 5 November 2010 20:16, Cedric Bosdonnat cedric.bosdonnat@free.fr wrote: Hi Mattias, On Fri, 2010-11-05 at 10:38 +1100, Mattias Johnsson wrote: There isn't a bug report in the LO tracker, but there are quite a few in the OO.o issue tracker. The basic issue number is 89042, with 97116, 102270, 107241, 113375, and 108072 marked as duplicates. Hum, I saw that one... but it seems that with a recent build, the problem doesn't exist anymore... maybe due to John's changes in the SwScanner? Did you try a recent build (yesterday it was fine) without your patch applied? Yep, I tried with both the most recent master (well, as of two days ago), and the 3.3 stable branch. Both counted the open quote as a word without my patch, and then didn't after I applied the patch. So I'm baffled about what's going on. I've just pulled the most recent master again, and it's currently building but I'm about to go to bed. I'll investigate further tomorrow. Still, if the most recent version works for everyone else, I guess the problem can be considered fixed! ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Changing mailing list behavior
On Fri, 05 Nov 2010 11:28:24 +0100, Regina Henschel wrote: It is not about using my seamonkey, but why this list is organized different than others. It's a religious thing. Some belief that the list should set a reply-to to itself while others don't want the list to monkey around with the headers and leave it to the mail client to do the right thing. About half of the lists I'm on are this and half the other way. And on each of those lists a discussion about the current behavior will lead to a non-productive religous war, so I learned to leave these things alone. Sebastian ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [PATCH] Use the correct db includes and obey LDFLAGS
Hi I'd personally not give the freedom to the user to pick whatever sleepycat db they want to use, just make a dependency for one only and check for that. On (2010-11-05 15:11), Hanno Meyer-Thurow wrote: Hi Robert, you may have a look at what we do for Gentoo Linux, where we have the possibility to install multiple versions of Sleepycat DB. Even with variation of versions in path and filename endings like: '/path/to/dbVERSION' and '/path/to/filename-VERSION' I personally do not like that idea but the maintainers do. See: http://cgit.freedesktop.org/libreoffice/build/tree/patches/dev300/system-db-check.diff?h=libreoffice-3-3 http://qa.openoffice.org/issues/show_bug.cgi?id=65979 Would that fit your needs? Kind regards, Hanno ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] [PATCH] Adapt LibreOffice branding in LibO-SDK user installation script.
Hi all, I tried to install the LibO-SDK as generated in my build from master, and I noted that has some link/mingling with OOo. there are two small issue: 1) When I try to create the working environment in GNU/Linux, it defaults to use the OOo 3 program installation. I can manually change to the correct LibO one, but then it overwrites an existing OOo 3 sdk local installation. I prepared a patch to ease the problem on GNU/Linux and similar platform. Patch is attached. 2) The IDL documentation generated during LibO build time points to OOo DevGuide on the OOo wiki. The OOo DevGuide will then points back to IDL api on OOo web sites then, so confusing matters a litte... beppec56. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu giuseppe.castagno at acca-esse.eu beppec56 at openoffice.org From 1fff03767d8cfd46b9768353cb9282720c7c318f Mon Sep 17 00:00:00 2001 From: Giuseppe Castagno giuseppe.casta...@acca-esse.eu Date: Fri, 5 Nov 2010 15:11:47 +0100 Subject: [PATCH] Adapt LibreOffice branding in LibO-SDK user installation script. This patch adapt the defaults presented when a user sdk environment is created in GNU/Linux and similar platforms. --- odk/configure.pl |4 ++-- odk/setsdkenv_unix |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/odk/configure.pl b/odk/configure.pl index 85fae44..3353be6 100755 --- a/odk/configure.pl +++ b/odk/configure.pl @@ -636,9 +636,9 @@ sub searchMacOffice sub searchoffice { -my $offset = rindex($main::sdkpath, /openoffice.org); +my $offset = rindex($main::sdkpath, /libreoffice); my $tmpOffice = substr($main::sdkpath, 0, $offset); -my $officepath = $tmpOffice/openoffice.org$main::OO_MAJORVERSION; +my $officepath = $tmpOffice/libreoffice; # if ( $main::OO_MINORVERSION 0) { # $officepath = $officepath$main::OO_MINORVERSION; diff --git a/odk/setsdkenv_unix b/odk/setsdkenv_unix index 31e0200..6b0dd7c 100755 --- a/odk/setsdkenv_unix +++ b/odk/setsdkenv_unix @@ -10,7 +10,7 @@ if [ $OSTYPE = Darwin ] then OO_SDK_NAME=`basename $OO_SDK_HOME` else -OO_SDK_NAME=openoffice.org${OOVERSION}_sdk +OO_SDK_NAME=libreoffice${OOVERSION}_sdk fi export OO_SDK_HOME -- 1.6.3.3 ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] LINEST, LOGEST, TREND and GROWTH patch merged
Hi there, Just to let you guys know that, I've merged the feature/calc-function-linest-logest branch into master. That branch contained the patch from Regina (CC'ed) that improves accuracy of LINEST, LOGEST, TREND and GROWTH cell functions. I've done my review, and think it's in a good state. Thanks a lot, Regina. :-) I've added several test cases to the contrib/test-files repository, which you can clone by http://cgit.freedesktop.org/libreoffice/contrib/test-files/ look under calc/function to find the new test cases I've just added. Cheers, Kohei -- Kohei Yoshida, LibreOffice hacker, Calc kyosh...@novell.com ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] Problem with sal/cppunittester
Just (yet again :-) done a completely fresh download of libreoffice, type make, and I get the following fail :-( I'll investigate further, but has somebody just committed a change and broken it? Cheers, Wol Entering /home/anthony/gitstuff/loffice/rawbuild/sal/cpprt Making:all_salcpprt.dpslo Compiling: SAL/cpprt/operators_new_delete.cxx Making:salcpprt.lib Making:libsalcpprt.a ar: creating ../unxlngx6.pro/lib/libsalcpprt.a Making:all_salcpprt.dpslo Entering /home/anthony/gitstuff/loffice/rawbuild/sal/cppunittester Making:all_cppunittester.dpobj Compiling: sal/cppunittester/cppunittester.cxx Making:cppunittester.lib Making:cppunittester unx /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcppunit collect2: ld returned 1 exit status dmake: Error code 1, while making '../unxlngx6.pro/bin/cppunittester' --- Oh dear - something failed during the build - sorry ! For more help with debugging build errors, please see the section in: http://wiki.documentfoundation.org/Development it seems that the error is inside 'sal', please re-run build inside this module to isolate the error and/or test your fix: --- /bin/bash cd /home/anthony/gitstuff/loffice/build/libreoffice-3.2.99.2 source ./LinuxX86-64Env.Set.sh cd sal build when the problem is isolated and fixed exit and re-run 'make' from the top-level sometimes (sadly) it is necessary to rm -Rf unxlngx6.pro in a module. anth...@ashdown ~/gitstuff/loffice/rawbuild/sal $ ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] [PATCH] remove -d from gunzip flags
-d is not needed for gunzip because it will do a decompress anyways and -d is not available in every gunzip implementation --- packimages/pack/makefile.mk |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/packimages/pack/makefile.mk b/packimages/pack/makefile.mk index 471f5b5..fe82263 100644 --- a/packimages/pack/makefile.mk +++ b/packimages/pack/makefile.mk @@ -93,7 +93,7 @@ $(MISC)$/oxygen.flag : $(OXYGEN_TARBALL) # unpack the classic icon set $(MISC)$/classic.flag : $(CLASSIC_TARBALL) -cd $(MISC) gunzip -d -c $(CLASSIC_TARBALL) | ( tar -xf - ) $(TOUCH) $(@:f) +cd $(MISC) gunzip -c $(CLASSIC_TARBALL) | ( tar -xf - ) $(TOUCH) $(@:f) .IF $(GUI)==UNX chmod -R g+w $(MISC)$/classic .ENDIF -- 1.7.3.1 ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [PATCH] use linux bridge code on all BSDs
wiz, does this work on NetBSD? It does on OpenBSD, so i would like to push it. thanks ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] [PATCH] remove -d from gunzip flags
Hello, It's also possible to replace gunzip by gzip like the other lines of this file : # unpack the Crystal icon set $(MISC)$/crystal.flag : $(CRYSTAL_TARBALL) cd $(MISC) gzip -d -c $(CRYSTAL_TARBALL) | ( tar -xf - ) $(TOUCH) $(@:f) # unpack the Oxygen icon set $(MISC)$/oxygen.flag : $(OXYGEN_TARBALL) cd $(MISC) gzip -d -c $(OXYGEN_TARBALL) | ( tar -xf - ) $(TOUCH) $(@:f) so we'd have : # unpack the classic icon set $(MISC)$/classic.flag : $(CLASSIC_TARBALL) cd $(MISC) gzip -d -c $(CLASSIC_TARBALL) | ( tar -xf - ) $(TOUCH) $(@:f) ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Problem with sal/cppunittester
Wols Lists wrote: Just (yet again :-) done a completely fresh download of libreoffice, type make, and I get the following fail :-( I'll investigate further, but has somebody just committed a change and broken it? ... Entering /home/anthony/gitstuff/loffice/rawbuild/sal/cppunittester Making:all_cppunittester.dpobj Compiling: sal/cppunittester/cppunittester.cxx Making:cppunittester.lib Making:cppunittester unx /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcppunit collect2: ld returned 1 exit status dmake: Error code 1, while making '../unxlngx6.pro/bin/cppunittester' I hit the same problem in sc module, I was able to continue the build by installing cppunit on my Ubuntu: aptitude install libcppunit-1.12-1 libcppunit-dev You may need to adapt the installing to your platform. beppec56. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu giuseppe.castagno at acca-esse.eu beppec56 at openoffice.org ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Problem with sal/cppunittester
On 05/11/10 20:44, Giuseppe Castagno wrote: Wols Lists wrote: Just (yet again :-) done a completely fresh download of libreoffice, type make, and I get the following fail :-( I'll investigate further, but has somebody just committed a change and broken it? ... Entering /home/anthony/gitstuff/loffice/rawbuild/sal/cppunittester Making:all_cppunittester.dpobj Compiling: sal/cppunittester/cppunittester.cxx Making:cppunittester.lib Making:cppunittester unx /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcppunit collect2: ld returned 1 exit status dmake: Error code 1, while making '../unxlngx6.pro/bin/cppunittester' I hit the same problem in sc module, I was able to continue the build by installing cppunit on my Ubuntu: aptitude install libcppunit-1.12-1 libcppunit-dev You may need to adapt the installing to your platform. Just doing an emerge cppunit. Hmmm Looks like another thing we need to test for in configure.in! Cheers, Wol ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Problem with sal/cppunittester
On Fri, 2010-11-05 at 21:10 +, Wols Lists wrote: Just doing an emerge cppunit. It shouldn't be necessary to use system cppunit, cppunit should be built as part of the build. So, lets just document debugging this... sal/cppunittester/makefile.mk has APP1STDLIBS = $(CPPUNITLIB) $(SALLIB) in it, solenv/inc/libs.mk has CPPUNITLIB = -lcppunit for the case where we build our own cppunit check your solver/330/unxlng*.pro/lib/ and see is there a libcppunit.so in there. You'll probably find that there isn't, but that there is a libcppunit-1.12.so.1 but no libcppunit.so. Missing link maybe. Because I'm not building from scratch everytime I happen to have the link from earlier, which is probably also why a lot of other people don't see this yet. hmm, so cd cppunit and see what changed recently, git log -n 10 one of them (11c3398a91d7f65a45e08ad4ee33bdb5a7355111) says something a modifications to cppunit library name, hum ho, that sounds likely git show 11c3398a91d7f65a45e08ad4ee33bdb5a7355111 shows a change to the prj/d.lst i.e. +..\%__SRC%\lib\libcppunit-1.12.so.1.0 %_DEST%\lib%_EXT% \libcppunit-1.12.so.1.0 +symlink: %_DEST%\lib%_EXT%\libcppunit-1.12.so.1.0 %_DEST%\lib%_EXT% \libcppunit.so revert that chunk, i.e. remove the symlink: line which mentions libcppunit-1.12.so.1.0 (not the one that says libcppunit-1.12.so.1) and it should work. so apparently for some reason having *two* lines with symlink: in it with the same target breaks (which is news to me). Someone should have a look at deliver in the solenv to find what it does on seeing a symlink: line and try and fix it to do the right thing. C. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] [PATCH] Renaming extension options consistently
Renamed all extensions to --enable-ext-* because we do want to present them together in ./configure --help Deprecated old options not removed but commented instead. Fixed: --without-java (from Wol) --- configure.in | 296 -- 1 files changed, 205 insertions(+), 91 deletions(-) Patch updated after changes made by Andras Timar. Remember to push also: lists.freedesktop.org/archives/libreoffice/2010-November/002154.html lists.freedesktop.org/archives/libreoffice/2010-November/002159.html diff --git a/configure.in b/configure.in index b7d7852..8db9da5 100755 --- a/configure.in +++ b/configure.in @@ -19,7 +19,9 @@ AC_SUBST(OOO_BUILDVERSION) PROPAGATED_ARGS=$ac_configure_args AC_SUBST(PROPAGATED_ARGS) -# Optional Features: +dnl === +dnl Optional Features (--enable/disable-) +dnl === AC_ARG_ENABLE(access, [ --disable-accessDisable the Access import pieces.], @@ -55,6 +57,81 @@ AC_ARG_ENABLE(dbgutil, (This generates a non-product build.)], ,) +AC_ARG_ENABLE(ext-barcode, +[ + --enable-ext-barcodeDownload and integrate Barcode extension.], +,) + +AC_ARG_ENABLE(ext-ct2n, +[ + --enable-ext-ct2n Download and integrate ConvertTextToNumber extension.], +,) + +AC_ARG_ENABLE(ext-diagram, +[ + --enable-ext-diagramDownload and integrate Diagram extension.], +,) + +AC_ARG_ENABLE(ext-google-docs, +[ + --enable-ext-google-docs + Download and integrate Google Documents extension.], +,) + +AC_ARG_ENABLE(ext-hunart, +[ + --enable-ext-hunart Download and integrate the Hungarian cross-reference + toolbar extension.], +,) + +AC_ARG_ENABLE(ext-languagetool, +[ + --enable-ext-languagetool + Download and integrate LanguageTool extension.], +,) + +AC_ARG_ENABLE(ext-lightproof, +[ + --enable-ext-lightproof + Download and integrate the Lightproof grammar + checker extension.], +,) + +AC_ARG_ENABLE(ext-nlpsolver, +[ + --enable-ext-nlpsolver Download and integrate NLPSolver extension.], +,) + +AC_ARG_ENABLE(ext-numbertext, +[ + --enable-ext-numbertext + Download and integrate the Numbertext Calc numerical + extension.], +,) + +AC_ARG_ENABLE(ext-oooblogger, +[ + --enable-ext-oooblogger + Download and integrate oooblogger extension.], +,) + +AC_ARG_ENABLE(ext-typo, +[ + --enable-ext-typo Download and integrate the Typography toolbar + extension.], +,) + +AC_ARG_ENABLE(ext-validator, +[ + --enable-ext-validator Download and integrate Validator extension to Calc.], +,) + +AC_ARG_ENABLE(ext-watch-window, +[ + --enable-ext-watch-window + Download and integrate Watch Window extension to Calc.], +,) + AC_ARG_ENABLE(extensions, [ --enable-extensions Enables the unpacking of the extensions sources.], @@ -125,14 +202,9 @@ AC_ARG_ENABLE(tests, --enable-tests Enables the execution of the tests.], ,) -# This is here only to make --help work nicely: -# Shouldn't this be a --enabe-java or AC_ARG_WITH instead? -AC_ARG_ENABLE(java, -[ - --with-java Build LibO with a JDK Java support.], -,) - -# Optional Packages: +dnl === +dnl Optional Packages (--with/without-) +dnl === AC_ARG_WITH(additional-sections, [ --with-additional-sections @@ -168,11 +240,6 @@ AC_ARG_WITH(binsuffix, Default: --with-binsuffix=2.0], ,) -AC_ARG_WITH(ct2n, -[ - --with-ct2n Download and integrate ConvertTextToNumber extension.], -,) - AC_ARG_WITH(dejavu-fonts, [ --with-dejavu-fonts Download and install updated DejaVu fonts. @@ -254,17 +321,6 @@ AC_ARG_WITH(gnu-tar, Example: --with-gnu-cp=/usr/local/bin/gtar], ,) -AC_ARG_WITH(google-docs, -[ - --with-google-docs Download and integrate Google Documents extension.], -,) - -AC_ARG_WITH(hunart, -[ - --with-hunart Download and integrate the Hungarian cross-reference - toolbar extension.], -,) - AC_ARG_WITH(icecream-bindir, [ --with-icecream-bindir Location of icecream's gcc and g++. @@ -288,6 +344,11 @@ AC_ARG_WITH(internal-gcc, binutils 2.18).], ,) +AC_ARG_WITH(java, +[ + --without-java Build LibO without a JDK Java support.], +,with_java=yes) + AC_ARG_WITH(lang, [ --with-lang Define the localizations to build. The English one is @@ -297,11 +358,6 @@ AC_ARG_WITH(lang, --with-lang=ALL], ,) -AC_ARG_WITH(languagetool, -[ -
Re: [Libreoffice] [PATCH] use linux bridge code on all BSDs
On Fri, Nov 05, 2010 at 09:01:09PM +0100, Robert Nagy wrote: wiz, does this work on NetBSD? It does on OpenBSD, so i would like to push it. Sorry for the delay, but I was still building. The patch improves the situation on NetBSD as well, so please push it. Thomas ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] [PUSHED] Re: [PATCH] use linux bridge code on all BSDs
Pushed, thanks! ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] Duplicate ids in 'writer/sw/inc/cmdid.h'
Hi, just wondering if someone knows why there are duplicate ids in 'writer/sw/inc/cmdid.h' (FN_FORMAT + 129) , (FN_FORMAT + 130), (FN_FORMAT + 131) at line 537. Regards. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] [Patch] RTL_CONSTASCII_USTRINGPARAM for calc\sc\source\filter
Hello, Here is a patch for calc\sc\source\filter Hope i haven't made mistakes, there are 1 or 2 places where i hesitated. (LGPLv3+ / MPL) Julien. RTL_calc_sc_source_filter.txt.bz2 Description: application/bzip ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [PATCH] Fix bug where an opening quote mark is treated as a word
Hi all, Ok, after getting over a short-term dislike of Word Count - with a new found appreciation for some of the developer comments in OOo issuezilla - I had a new idea for a test plan. Perhaps turning on the Scanner clipping has *accidentally* fixed the quote problem as well. Although I intended to make no changes within the SwScanner -- the two changes at issue are small: Mattias fix of specifying the ScriptType for the fancy punctuation is one initializer in an array, and the Scanner clipping on/off is a Boolean true/false parameter on the SwScanner constructor. So hoping for quick clarity, I backed out both changes. Of course the plan fell apart at step 1) - can see the packaging of core-04 involving libswli.so and core-05 involving new i18npool.so - also did full rm-Rf install and make dev-install to make sure I get the new stuff. - both changes removed - Still no 'leading special quote extra word' [LSQEW] problem with quotes from an existing file or quotes newly inserted into a doc. Get LSQEW on Oracle OOo 3.2 Linux on Lucid. Get LSQEW on LibO Beta2 on Win Vista. I can not recreate it in dev. In case some other change in CountWords fixed it I tried rolling the history back. After a bunch of git diff HEAD~dozens -- ./txtedt.cxx including a binary search to pin down the point just before our changes - a few weeks ago - I rolled CountWords back -40 with: git checkout -f HEAD~40 ./txtedt.cxx Saw the code as it was before any of our changes. Built soffice and ran but still no LSQEW. Know I built the old version txtedt.cxx because Char excl spaces was always zero. And selections across a leading special quote still always gave the 'correct' MSWord count. Looked further back ~200-500 and very few changes in CountWords (nParaAll++ insertion; 2 changes in TxtNode member names; change in ParaDataImpl_ WrongList type) . Did similar look back in history for the breakiterator file and few changes there as well. *Maybe a closer look at the scanner or the iterator will turn up something -- but further back than the copyright change not likely to help since it shows as broken in Beta 2 and in current OOo for Lucid from Ubuntu. If you try the 'go back machine' you may need to search a further back than 40 because of any commits to origin/master since my test (11/5). In this search it helped to step back partway before the last larger set of changes to be able to see the earlier changes. Easy to see far enough because the new field in ParaDataImplwhatever showed at the bottom of the diff. When done 'cleaned up' the local config with git checkout -f origin/master ./txtedt.cxx Still new to git but I am sure I saw and built and ran the old txtedt.cxx and still no LSQEW. Feelin' a bit lost ... I can think of some other options for trying to find what fixed the LSQEW but I feel like I'm chasing ghosts where they aren't. Maybe I have a magic bug eating build setup. I hope not -- that would make troubleshooting impossible ;-) Puzzled but not daunted -- LeMoyne -- View this message in context: http://nabble.documentfoundation.org/PATCH-Fix-bug-where-an-opening-quote-mark-is-treated-as-a-word-tp1841260p1851684.html Sent from the Dev mailing list archive at Nabble.com. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Problem with sal/cppunittester
On Fri, Nov 05, 2010 at 09:36:40PM +, Caolán McNamara caol...@redhat.com wrote: On Fri, 2010-11-05 at 21:10 +, Wols Lists wrote: Just doing an emerge cppunit. It shouldn't be necessary to use system cppunit, cppunit should be built as part of the build. So, lets just document debugging this... sal/cppunittester/makefile.mk has APP1STDLIBS = $(CPPUNITLIB) $(SALLIB) in it, solenv/inc/libs.mk has CPPUNITLIB = -lcppunit for the case where we build our own cppunit check your solver/330/unxlng*.pro/lib/ and see is there a libcppunit.so in there. You'll probably find that there isn't, but that there is a libcppunit-1.12.so.1 but no libcppunit.so. Missing link maybe. Because I'm not building from scratch everytime I happen to have the link from earlier, which is probably also why a lot of other people don't see this yet. hmm, so cd cppunit and see what changed recently, git log -n 10 one of them (11c3398a91d7f65a45e08ad4ee33bdb5a7355111) says something a modifications to cppunit library name, hum ho, that sounds likely git show 11c3398a91d7f65a45e08ad4ee33bdb5a7355111 shows a change to the prj/d.lst i.e. +..\%__SRC%\lib\libcppunit-1.12.so.1.0 %_DEST%\lib%_EXT% \libcppunit-1.12.so.1.0 +symlink: %_DEST%\lib%_EXT%\libcppunit-1.12.so.1.0 %_DEST%\lib%_EXT% \libcppunit.so revert that chunk, i.e. remove the symlink: line which mentions libcppunit-1.12.so.1.0 (not the one that says libcppunit-1.12.so.1) and it should work. That's right, I got the same failure, once I revert Robert's patch, and build deliver in cppunit, I no longer get the error in sc. pgpsYHwp7A2pp.pgp Description: PGP signature ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [PATCH] Fix bug where an opening quote mark is treated as a word
On 6 November 2010 12:13, John LeMoyne Castle j...@mail2lee.com wrote: Hi all, Ok, after getting over a short-term dislike of Word Count - with a new found appreciation for some of the developer comments in OOo issuezilla - I had a new idea for a test plan. Perhaps turning on the Scanner clipping has *accidentally* fixed the quote problem as well. Although I intended to make no changes within the SwScanner -- the two changes at issue are small: Mattias fix of specifying the ScriptType for the fancy punctuation is one initializer in an array, and the Scanner clipping on/off is a Boolean true/false parameter on the SwScanner constructor. So hoping for quick clarity, I backed out both changes. Of course the plan fell apart at step 1) - can see the packaging of core-04 involving libswli.so and core-05 involving new i18npool.so - also did full rm-Rf install and make dev-install to make sure I get the new stuff. - both changes removed - Still no 'leading special quote extra word' [LSQEW] problem with quotes from an existing file or quotes newly inserted into a doc. Get LSQEW on Oracle OOo 3.2 Linux on Lucid. Get LSQEW on LibO Beta2 on Win Vista. I can not recreate it in dev. In case some other change in CountWords fixed it I tried rolling the history back. After a bunch of git diff HEAD~dozens -- ./txtedt.cxx including a binary search to pin down the point just before our changes - a few weeks ago - I rolled CountWords back -40 with: git checkout -f HEAD~40 ./txtedt.cxx Saw the code as it was before any of our changes. Built soffice and ran but still no LSQEW. Know I built the old version txtedt.cxx because Char excl spaces was always zero. And selections across a leading special quote still always gave the 'correct' MSWord count. Looked further back ~200-500 and very few changes in CountWords (nParaAll++ insertion; 2 changes in TxtNode member names; change in ParaDataImpl_ WrongList type) . Did similar look back in history for the breakiterator file and few changes there as well. *Maybe a closer look at the scanner or the iterator will turn up something -- but further back than the copyright change not likely to help since it shows as broken in Beta 2 and in current OOo for Lucid from Ubuntu. If you try the 'go back machine' you may need to search a further back than 40 because of any commits to origin/master since my test (11/5). In this search it helped to step back partway before the last larger set of changes to be able to see the earlier changes. Easy to see far enough because the new field in ParaDataImplwhatever showed at the bottom of the diff. When done 'cleaned up' the local config with git checkout -f origin/master ./txtedt.cxx Still new to git but I am sure I saw and built and ran the old txtedt.cxx and still no LSQEW. Feelin' a bit lost ... I can think of some other options for trying to find what fixed the LSQEW but I feel like I'm chasing ghosts where they aren't. Maybe I have a magic bug eating build setup. I hope not -- that would make troubleshooting impossible ;-) Puzzled but not daunted -- LeMoyne Okay, I can confirm. I pulled the latest master, built it, and there's no opening quote mark problem. I have no idea what's going on. I think I'm just going to let it go for the moment, and pick another bug to fix. Hopefully one that doesn't magically fix itself, this time! ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice