[dev] Re: does anybody still use tcsh to build OOo?

2011-04-08 Thread Christian Lohmaier
On Thu, Apr 7, 2011 at 9:47 AM, Mathias Bauer nospamfor...@gmx.de wrote:
 Hi,

 AFAIK tcsh doesn't work anymore anyway -

using tcsh as the shell used *by* the build: yes.

But the environment files are for the user's shell, and there it would
still work.

 Months ago I worked on that but then got in serious merge conflicts as
 somebody else did some refactoring in configure.in. So I just abandoned
 that work. AFAIR the fix was quite annoying work as the generation of the
 scripts is scattered over the code.

configure has nothing to do with it, as it is generated by set_soenv[.in]

ciao
Christian
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Mac OS X Snow Leopard and 64bit...

2011-04-04 Thread Christian Lohmaier
Hi Pavel, *,

2011/4/4 Pavel Laštovička pavel.lastovi...@blue-point.cz:

 I think that using 10.4 SDK is required to build a working OO.o.

Yes, but that is because it is enforced by the configure and
buildscripts, not because of the actual sourcefiles. Those would
surely work with a 10.6 SDK as well (well, maybe you get some foo is
deprecated warnings).

 I cannot
 remember now, it has been a few months since I built on Mac (it was 3.2.1).
 I tried to build OO.o with 10.6 SDK and gcc 4.2.1 and OO.o then crashed
 during smoketest.

You most likely didn't catch all occurrences that need to be adjusted
(a few external modules have it set as well), and smoketest crashing
is not something very reliable anyway (unless you're building the
exact same milestone).

Personally I'm still against relaxing this requirement though.
Developers will almost everytime have more recent OS/Buildenvironment
than 10.4, thus you will get 10.5/6'isms into the code that will break
10.4 compatibility.

Thus when allowing to build with 10.6 as SDK, you're starting the
countdown to remove 10.4 support. It is not that OOo would have tons
of dedicated Mac programmers that can maintain different codepaths for
10.4 and 10.5 and even a third for 10.6.

I mean even tha java awt one is still unfixed. It is hackarounded so
that the OOo-supplied beanshell editor/debugger can now be launched,
but external extensions are out of luck.
The python-question remained without decision (system 2.3 and not
being able to use pyuno from outside OOo or ship with interal python)
- not even all patches have been applied, let alone taking a decision.

But I put my personal focus on LibreOffice anyway (but still run the
OOo-MacPPC tinderbox, thus I'll build OOo until it is no longer
possible, but I'm no longer actively dealing with the now
more-frequent-again build-issues on the milestones - if it breaks, it
breaks. If I'm pointed to a patch, I'll apply it, but I won't hunt for
the reasons myself anymore)

Also telling enough that while the mac@porting list was initially
addressed as well, the discussion only continues on dev@porting...

The people want to save diskspace argument was written with a
smiley, but be honest - when building a beast like OOo, and thus you
have to dedicate 8GB for building anyway, you can spare that few megs
for the 10.4u sdk, can't you?. As far as I know there is no separate
XCode that doesn't include the 10.4u SDK, thus you just have to rerun
the installer to install it.

my 0,02€

ciao
Christian
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Mac OS X Snow Leopard and 64bit...

2011-04-01 Thread Christian Lohmaier
Hi Pavel,

2011/4/1 Pavel Janík pa...@janik.cz:

 do we have a plan to support building OOo on Mac OS X Snow Leopard?

It is suppoerted to build /on/ Snow Leopard.

 It has 64bit kernel, ie. platform is x86_64, by default doesn't come with
 10.4u SDK (you have to install it, it is optional in Xcode optional install
 ;-),

Yes, that's the crucial point.

 I put a rough hacks which I use to build 32bit OOo on Snow Leopard to

Building 32bit version, but not targeting 10.4 is a waste of
ressources IMHO. Why would you want to create builds that won't run on
the baseline system?

ciao
Christian
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


Re: [dev] Re: MacOSX: ScirptingFramework's Edit ...

2011-02-17 Thread Christian Lohmaier
Hi Jeff, *,

On Wed, Feb 16, 2011 at 8:35 PM, Jeff Harmon jhar...@colorhythm.com wrote:
 I am willing to help fund the Python on Mac effort, if that helps.

Well, there is no funding needed - the patches are all there, you can
grab them and build a copy that includes a complete python
installation.

It is about changing the default, about changing people's opinion

At the time when I wrote the patches, I also asked about it on the
mailinglist, with only little interest..
http://www.mail-archive.com/mac@porting.openoffice.org/msg03558.html -
but as I'm neither using python nor the Mac that much, I myself didn't
push it any further.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX: ScirptingFramework's Edit ...

2011-02-16 Thread Christian Lohmaier
Hi Rony, *,

On Tue, Feb 15, 2011 at 9:49 PM, Rony G. Flatscher
rony.flatsc...@wu-wien.ac.at wrote:

 in the meantime it has become possible to install an oxt-package that
 adds ooRexx as a new macro language to OOo on the MacOSX.
 [...]
 However choosing Edit does not work, nothing happens. Edit should
 invoke a JFrame editor which allows one to look over a macro,

http://qa.openoffice.org/issues/show_bug.cgi?id=92926

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Python Version in OpenOffice.org 3.3.0 PyUNO

2011-02-07 Thread Christian Lohmaier
Hi Jeff, *,

On Fri, Feb 4, 2011 at 11:03 PM, Jeff Harmon jhar...@colorhythm.com wrote:
 What version of Python is expected by OpenOffice 3.3.0 for Mac OS X
 (Leopard/Intel)? (Specifically OOO330m20(Build 9567)).

 I'm getting: Fatal Python error: Interpreter not initialized (version
 mismatch?) but have no way of knowing which version of Python my OpenOffice
 was compiled for.

You can only run python from within OOo on Mac, (only on 10.4 you
would be able to use python from outside of OOo)

see http://www.mail-archive.com/mac@porting.openoffice.org/msg03558.html
for details.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Old Python extension fails to install since 3.3 beta

2010-10-25 Thread Christian Lohmaier
Hi Andreas, *,

On Mon, Oct 25, 2010 at 9:02 PM, Andreas Säger ville...@t-online.de wrote:

 (com.sun.star.uno.RundtimeException){ {  Message = bad root element
 node in
 [..]
 The rejected Addons.xcu starts like this:

 ?xml version='1.0' encoding='UTF-8'?
 oor:node xmlns:oor=http://openoffice.org/2001/registry;

shouldn't that be oor:component-data?

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Cannot build 3.2.1 on Ubuntu 9.04

2010-09-17 Thread Christian Lohmaier
Hi Benson, *,

On Fri, Sep 17, 2010 at 3:04 PM, Benson Margulies bimargul...@gmail.com wrote:
 I downloaded OOO320_m19 and am trying to build it, for X86, on Ubuntu 9.04.

Why an old version and not current codebase?

 I am using a very simple configuration

 ./configure --enable-symbols --enable-debug --disable-mozilla

enable-debug surely is not a simple configuration. the build will be huge.

 /usr/include/sys/types.h:158:20: error: missing binary operator before token 
 (

Don't try to build on a case-insensitive filesystem.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Christian Lohmaier
Hi *,

On Fri, Sep 17, 2010 at 4:22 PM, Benson Margulies bimargul...@gmail.com wrote:
 Will http://wiki.services.openoffice.org/wiki/AquaBuild work for the
 3.2.1 tarball?

I never liked those instructions and they were outdated very early due
to the way things are described. And it always lists way too many
unnecessary configure flags.
Looking at the page makes things overly complicated. It might have had
some reason to exist during the transition phase from X11 to aqua
based OOo, but now there actually is no reason to look at it anymore.

Building on Mac actually is one of the easiest tasks compared to
building on other systems.

When you got XCode installed, you're ready to go (when using prebuilt
mozilla or disable mozilla).
Only when building mozilla from source you need additional packages installed.

When building on 10.4 or 10.5, there should be no problem at all.
regarding 10.6: the patches to build out-of the box have not been
integrated in 3.2.1 codebase yet. Apply the corresponding patches from
http://qa.openoffice.org/issues/show_bug.cgi?id=106059 / the corresponding cws.

./configure --disable-mozilla --disable-binfilter --disable-odk should
get you going (the last two only to speed-up the build, since you want
to debug java extensions and not document filters for old binary
formats and don't intend to write new extensions on the Mac you don't
need the SDK either, so you can disable that as well)

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Christian Lohmaier
Hi Benson, *;

On Fri, Sep 17, 2010 at 4:48 PM, Benson Margulies bimargul...@gmail.com wrote:
 Christian,

 Another, even older, page, discusses svn.gnome.org and calls for a
 slew of 'macports' stuff. Is any of that relevant?

No - macports (or fink) or stuff from direct sources is only necessary
to build mozilla/seamonkey from source, you don't need it when using
--disable-mozilla (or using prebuilt zips)
you can get prebuilt mozilla zips from:
http://tools.openoffice.org/moz_prebuild/OOo3.2/index.html
(copy to moz/zipped and use --disable-build-mozilla instead --disable-mozilla)

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Christian Lohmaier
Hi Benson, *,

On Fri, Sep 17, 2010 at 5:06 PM, Benson Margulies bimargul...@gmail.com wrote:

 Well, I seem to be short a perl module somehow.

Hard to believe, as that is part of the OOo sources. Do you have a
complete sourcetree?

 dmake copied to /Users/benson/x/OOO320_m19/solenv/unxmacxi/bin/dmake
 Can't locate SourceConfig.pm in @INC (@INC contains:

SourceConfig.pm is in solenv/bin/modules/SourceConfig.pm

What is configure's output?
Make sure to run configure from a clean shell, without any previous
build-environment set.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Christian Lohmaier
Hi again,

On Fri, Sep 17, 2010 at 5:55 PM, Benson Margulies bimargul...@gmail.com wrote:
 Configure's output : http://pastebin.com/xwvpXj3K.


 Making: ../unxmacxi.pro/obj/cppsetup.obj
 gcc -fsigned-char -fmessage-length=0 -malign-natural -c  -g -O0
 [...]
 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -
 -DGXX_INCLUDE_PATH=/usr/include/c++/4.2.1

This won't work. As stated in the issue: compiling using the 10.4 SDK
requires the use of gcc 4.0 compiler, not 4.2
you applied incomplete patch/not all patches and/or forgot to run
autoconf to regenerate configure after patching configure.in
configure should complain when using gcc 4.2.x

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Christian Lohmaier
On Fri, Sep 17, 2010 at 6:03 PM, Benson Margulies bimargul...@gmail.com wrote:

 Reunpacking the 3.2.1 core tarball, I still get the compile error in
 mkdepend failing to find things like stdio.h.

maybe a dumb question: But did you actually install the 10.4u SDK when
installing XCode?

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Christian Lohmaier
On Fri, Sep 17, 2010 at 6:05 PM, Benson Margulies bimargul...@gmail.com wrote:
 This won't work. As stated in the issue: compiling using the 10.4 SDK
 requires the use of gcc 4.0 compiler, not 4.2
 you applied incomplete patch/not all patches and/or forgot to run
 autoconf to regenerate configure after patching configure.in
 configure should complain when using gcc 4.2.x

 I reran with CC=/usr/bin/gcc-4.0 to no effect on the result. All the
 pathnames changed to the gcc 4.0.x pathnames, but the error was the
 same.

 The issue had two patch files attached I thought the second obviated
 the first, it wasn't clear, I'll try applying both.

No. Take your time and actually read what is written. Both in the
issue as well as here.

the second patch indeed obsoletes the first one. but

*/ don't forget to run autoconf /*

Both the build output as well as configure's output show that neither
of the patches is in effect.

And wrt checking for the SDK: Check whether
/Developer/SDKs/MacOSX10.4u.sdk actually exists and is non-empty

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Build broken on Fedora 13

2010-09-10 Thread Christian Lohmaier
Hi *,

On Thu, Sep 9, 2010 at 10:28 PM, Santiago Bosio
santiago.bo...@gmail.com wrote:
  I've switched my build box from Ubuntu to Fedora 13.

 When trying to build OOO330_m7, build breaks on av_media with the following
 error:

 .../solver/330/unxlngi6.pro/lib/libfreebl3.so: version 'NSSRAWHASH_3.12.3'
 not found (required by /lib/libcrypto.so.1)

 Further investigating I've found issue 105566
 (http://qa.openoffice.org/issues/show_bug.cgi?id=105566), wich seems FIXED.

 This library (libfreebl3.so) is provided by the moz module. I'm not
 building it, but using prebuilt binaries from

It should only come from moz when you disable building of the nss module.

 But, if you see the dates involved, the prebuilt binaries were uploaded on
 2009/11/17, and the fix for the issue was provided on 2009/11/20, so I'm
 suspecting that these binaries don't have this correction.

The patch to the issue fixes nss module, not moz, so patch to moz
probably just was forgotten and compiling moz from source won't help.

Regarding building mozilla from scratch: See
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Linux#create_prebuilt_mozilla
on how to create prebuilt ones yourself.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] password

2010-09-09 Thread Christian Lohmaier
Hi Gregory, *,

On Wed, Sep 8, 2010 at 9:59 PM, Gregory Brown ggbr...@q.com wrote:
 [...] Great.  I looked around and found something called a stamp number
 from roaming if that means anything. 5C8C378AD1397C685A285738E8C56329

Not sure what you mean with roaming and stamp number.

 I tried seeing if it was ASCII, it's not.  From what I remember it has the
 word Clarity in it but from there I'm stumped.  When I look at the code on
 some program, can't remember that one either, there's a lot of PK on the
 beginning and end like they are the start of words.

OpenDokument are Zip files that contain xml files. When saving with a
password, not the zip container is protected, but the individual xml
files.

The algorithm used is blowfish, which is considered secure. No attacks
apart from brute force known.

Even when you use the same password to save two otherwise identical
documents, the result will be different, as the actual key is
initialized with a randomly generated initialization sequence (that is
stored in the META-INF/manifest.xml file) - so trying to guess the
password by looking at a different document with a similar (but known)
password won't work either (won't work when the password was the same
either).

Only way to recover the document is trying every possible password
(thus performing a brute-force attack). Success rate then depends on
how much you still know from the password, how many different
passwords have to be tried.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] building DEV300-m83 problem

2010-07-30 Thread Christian Lohmaier
Hi Michael,

On Fri, Jul 30, 2010 at 1:02 AM, Michal Spisiak
michal.spis...@gmail.com wrote:

 I have a problem building OOo DEV300-m83 on ubuntu 9.10. I downloaded the
 bundle, updated, ran configure with:

 $ ./configure --enable-cups --disable-crashdump --disable-fontconfig
 --with-epm=internal --disable-gtk --disable-gnome-vfs --with-system-curl
 --with-stlport=no --disable-build-mozilla --disable-binfilter --disable-odk
 --disable-vba --disable-mozilla --enable-crashdump=no --with-use-shell=bash
 --enable-presenter-extra-ui --without-junit --disable-graphite
 --disable-kde4 --disable-layout --enable-cairo

 to disable everything that might cause problems.

Specifying random configure flags is /asking for problems/, not avoiding them.
Unless you know what the flags do, don't specify them.
alone that you have both --disable-build-mozilla and --disable-mozilla
shows that you apparently copied random flags from some random webpage
without thinking about the effect of those options. Similarily fo
those where you specified the option despite being the default (and
those that do not (longer) exist)

configure with as few options as possible is the way to go.
--disable-binfilter, --disable-odk being the exception as they
completely disable *independent* parts and thus can accellerate the
build without side-effects.

 Building vcl I got first
 error:


 Entering /home/miko/new_OOo/local_DEV300/vcl/unx/source/fontmanager

 Making:    all_fontman.dpslo
 Compiling: vcl/unx/source/fontmanager/fontmanager.cxx
 Compiling: vcl/unx/source/fontmanager/fontcache.cxx
 Compiling: vcl/unx/source/fontmanager/fontconfig.cxx
 /home/miko/new_OOo/local_DEV300/vcl/unx/source/fontmanager/fontconfig.cxx:1236:
 error: prototype for 'rtl::OUString
 psp::PrintFontManager::Substitute(const rtl::OUString,
 rtl::OUString, const rtl::OString, psp::italic::type,
 psp::weight::type, psp::width::type, psp::pitch::type) const' does not
 match any in class 'psp::PrintFontManager'
 ../../../inc/vcl/fontmanager.hxx:735: error: candidate is:
 rtl::OUString psp::PrintFontManager::Substitute(const rtl::OUString,
 rtl::OUString, const rtl::OString, psp::italic::type,
 psp::weight::type, psp::width::type, psp::pitch::type) const
 dmake:  Error code 1, while making '../../../unxlngi6.pro/slo/fontconfig.obj'


 here I just added references to the implementation of the method as they
 were in the header

So you patched your code, apparently in an area that is sensitive to
fontconfig (enabled/disabled), - so why not just try with fontconfig
enabled?

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Fwd: Is there a dictionary in the format of text file?

2010-07-15 Thread Christian Lohmaier
Hi *,

On Wed, Jul 14, 2010 at 11:06 AM, Caolán McNamara caol...@redhat.com wrote:
 On Wed, 2010-07-14 at 10:00 -0500, Peng Yu wrote:

 In theory, those there are bugs in it unfortunately, hunspell's
 unmunch is supposed to do this, i.e. unzip the dict-en.oxt (or
 whatever is its exact name) and use unmunch en.dic en.aff and it should
 stick the -ing, and -s etc onto all the stem words and expand the
 dictionary+aff files back into a text file containing all variants.

Not related to bugs, but to the compound word feature in hunspell (and
if the dictionary makes use of it), the flat list can easily grow many
gigabytes, and of course not all of the compounds will make sense.

I.e. you don't only get a list of valid words, but you also get a list
of nonsense-words that nobody is going to write  anyway.
The dictionaries are there to check for mistakes, not check for correctness :-)

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Prebuilt Mozilla DLLs on tools.openoffice.org differ from those in the installer

2010-06-30 Thread Christian Lohmaier
Hi Stephan, *,

On Wed, Jun 30, 2010 at 5:24 PM, Stephan Bergmann
stephan.bergm...@sun.com wrote:
 On 06/30/10 17:05, Tor Lillqvist wrote:

 Actually generating those prebuilts is something of a black art (esp. on
 Windows), so it might be hard to trace back why the differences wrt msvcr
 versions exist.

Cannot speak for windows build, but dmake zip in moz after compiling
moz will create those zips.
I'd not call that black art :-)

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Issue 112592 - Calc does not open malformed XML.xls, competitor opens just fine.

2010-06-23 Thread Christian Lohmaier
Hi *,
rant follows.
On Wed, Jun 23, 2010 at 10:08 AM, Kirill S. Palagin kpala...@phxint.ru wrote:
 Hello everybody,

No, you don't mean everybody.

 if somebody has an inclination to improve OO compatibility by hacking OO
 XML parser, please see
 http://www.openoffice.org/issues/show_bug.cgi?id=112592.

Attach a public sample document, then your mail makes more sense (not
that I'm into xml parsing, just your request just feels wrong)

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Running headless on Mac

2010-06-10 Thread Christian Lohmaier
Hi *,

On Tue, May 18, 2010 at 7:24 AM, Jaroslav Snajdr jsna...@kerio.com wrote:

 OpenOffice.org has serious problems running in headless mode on Mac, 
 documented in issue #91990. In short, a running WindowServer is required, and 
 that makes running a daemon very unreliable if not impossible.

Well, that's due to apple. you have to either run with WIndow Server
running or as root. Complain at apple.

 Now I see that in 3.2, the --with-x option for the Mac build has been 
 removed, probably because it was considered useless and because the removal 
 allowed to cleanup some heavily #ifdef-ed code. But it certainly isn't 
 useless in headless mode.

You should consider setting up a linux VM and run OOo in that VM.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Openoffice build woes - Ubuntu

2010-06-07 Thread Christian Lohmaier
Hi *,

my 0,02€

On Sun, Jun 6, 2010 at 1:32 AM, Aditya Manthramurthy
aditya@gmail.com wrote:

Man, your configure line is a monster

 ./configure --disable-binfilter --disable-crashdump
 --with-lang=en-US cs de nl ja

en-US is always built, no need to specify it. And of course you need
to quote the list
--with-lang=cs de nl ja

 --with-use-shell=bash --without-gpc --without-agg

-without-agg and later: --with-system-agg. Make up your mind.

 --disable-epm

Don't want installsets in deb-format? Your choice.

 --with-openldap --with-build-version=3.2.0 --without-fonts
 --with-system-jpeg --with-system-libxml --with-system-mozilla

--with-system-mozilla and later --with-system-mozilla=libxul redundant.

Besides: All that --with-system switches: Why not use
--with-system-libs and --with-system-headers instead? Wouls make it
more readable.

  [...] --disable-fontooo
obsolete, no such switch anymore anyway... Similar for others

 [...] --with-distro=Debian --with-additional-sections=CalcRowLimit,OOXMLExport

No such switches in vanilla OOo. Similar with others.

 --disable-mono --without-java --with-system-agg --with-system-altlinuxhyph

Why disable java? You won't be able to use xslt filters, free-search
in Help won't work, etc.

 [...]
 ./bootstrap

 This worked though it took some time downloading binaries
 (http://hg.services.openoffice.org/binaries/).

Only downloaded once, given that you won't rm -rf the ext_sources
directory (If you want to store them in a different location, set
TARFILE_LOCATION environment variable)

 Next:
 -
 source  LinuxX86-64Env.Set.sh
 cd instsetoo_native/  build --all

If you got a multiprocessor system: Take advantage of parallel build
using -Pbuild# -- -Pdmake#

 [...]

Actual problem was answered by Mathias already

ciao
Chrisitan

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Adding Java based Indian Input Methods to Open Office

2010-06-07 Thread Christian Lohmaier
Hi *,

On Sun, Jun 6, 2010 at 12:53 AM, Harsha Ravnikar
harsha...@users.sourceforge.net wrote:
 Hello OpenOffice developers,

 I love your software and I use it regularly. Now I need to use OpenOffice to
 input Text in Indian languages. I have written Java based input methods for
 Indian languages and I have made them available as Open Source . I am
 updating them  shortly and this time around I'd like to use them in
 OpenOffice applications too.

For Linux it is easy if your input method can plug into gtk's input
method framework or scim (or similar) or is an XIM

 I am seeking your advice on the right way to do it so that the patch
 is included in the next release thus saving time for my self and users who
  will like to  to see this feature.

No - the right way is not to plug it into OOo, but to plug it into the
user's desktop-environment. No per-application solution, but one that
works in every application using the framework.

 [list of requirements]

No need to reinvent the wheel - hook it up into scim/another framework
and you'll got all that.

 Below are my questions:

   1. What is the recommended place from where we can enable Java based
   input method? Do you recommend it be enabled via Tools - Options-
   Languages or can we enable it from a Status bar popup menu? (I ask this so
   that I adhere to the coding practices and standards).

Again: Don't do it in OOo/only for OOo.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] OOo's Toolbar Icons - Saving Space

2010-04-28 Thread Christian Lohmaier
Hi *,

On Wed, Apr 28, 2010 at 4:13 AM, Mathias Bauer m...@openoffice.org wrote:

 1) Get rid of old icon sets. Industrial and Classic are two good candidates 
 IMO.

Would save less than 10MB...

 2) Run PNGOUT [2] on all icon sets to reduce the size of each PNG file.
 Small reductions across many files add up substantially.

 IMHO it doesn't make sense to save a little space in the installation
 set at the price of blowing up the size of the code repository.

Besides the icons have already been processed like that. (e.g. cws
aceart02,iconupdate300u1 and probably others, by Andrew Dent
(ace_dent))
So I doubt trying to compress them further will save anything worth to mention.

 4) Increase/decrease the compression of each icon set depending on the
 performance impact (i.e., we can reduce compression if it will make
 OOo load faster, or we can increase it if the extra memory use is
 inconsequential).

 See 2). Besides that I expect this effect to be unmeasurable.

Yes, see above.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] RE: Passwords

2010-04-12 Thread Christian Lohmaier
Hi Stanislaus, *,

On Mon, Apr 12, 2010 at 7:26 AM, Stanislaus Wojnowski
bjwojnow...@gmail.com wrote:

 I cannot remember or find the password I used to secure my documents.

 Can you help me?

No. The algorithm used by OOo/ODF is secure (blowfish). No known
attacks other than brute force, i.e. trying lots of different
passwords.

You need to remember your password.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] New Buildbot: Mandriva 2010 (x86): supports building languagepacks

2010-04-11 Thread Christian Lohmaier
Hi *,

I'm happy to announce the availability of a new buildbot.
The bot Mandriva-2010 is a x86 bot with gcc 4.4.1, JDK 1.6.0_16 (Sun)

Contrary to other bots, this one also respects the additional
languages box on the force a build page.

When requesting additional languages, languagepacks will be built, but
only the en-US one will be built as full set. The en-US full set
(along with extensions produced along during the build) will be packed
in the zip that is available via the
http://termite.services.openoffice.org/install_sets/ page (when the
option install set was checked to request the upload).
The built languagepacks will be available from
http://buildbot.projects.ooodev.org - the naming scheme of the
directories is
nameoftree-changesetid (for example linuxaxp01-0b056a7d1510
contains those languagepacks that were created building the cws
linuxaxp01 when it was at changeset 0b056a7d1510 - for milestones
this will be DEV300_m75-DEV300_m75 since the changeset is referred to
via the symbolic tag). To ease association with buildbot's
build-numbers, files containing the mapping are also created.
(textfiles because of links just because virtualbox doesn't support
creation of links in shared folders)
(note that the existing mappings won't match since the name of the bot
was changed in the testing phase)
For example 14 contains: build number 14 is cbosdo03-86aa97e80bd2

A link will be provided on tinderbox build-status pages, for example see
http://tinderbox.go-oo.org/tinder.cgi?tree=cbosdo03start-time=1270812046display-hours=40
- on termite, you would have to look at the last line on the bundle
stage, for example
http://termite.services.openoffice.org/buildbot/builders/Mandriva-2010/builds/14/steps/shell_6/logs/stdio
(the line
TinderboxPrint: a
href=http://buildbot.projects.ooodev.org/cbosdo03-86aa97e80bd2/;
title=this build's languagepacks are thereLanguagepacks/a

For suggestions/feedback/complaints please f'up2 the
tinder...@tools.openoffice.org mailnglist

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Help ! how to get the source code for some really old OOo projects and build them ?

2010-02-02 Thread Christian Lohmaier
Hi Wei, *,

On Fri, Jan 29, 2010 at 6:07 PM, Wei Zhang wei.w...@gmail.com wrote:

 (1) In the bug report http://www.openoffice.org/issues/show_bug.cgi?id=44627
 , it is said the version is 680m79, is this version the bug fixed version or
 the buggy version ?

That is the version that the bug was found in - not necessarily the
first one that did show the behaviour, but a known to be bad one.

 Because I need to study the bug, so I need to build a
 _buggy_ version, I am wondering how can I know which is the buggy version ?
 ( will version 680m78 do ?)

m79 should do. Earlier versions should do as well, and also later
versions until the milestone that the fix was integrated in.

 (2) After I have retrieved 680m79 from CVS, I found out that there is no
 configure script in the SRC_ROOT/config_office directory, I am wondering
 where should I find the configure script

Hmm - there should be... but indeed - not in webinterface either -
there is m78 (rev. 1.71), but the next one is m100 (rev 1.98) Seems
like tags were lost. There are many revisions with the integration
cws: foo comment, but no milestone-tag.

To know when exactly it was fixed, you can use
http://qa.openoffice.org/issuelinks.html to query EIS for the cws with the issue

In this case, the cws was integrated into two codelines - SRC680_m157
and OOB680_m1
(the Milestone (integrated) column)


 -- quote
 ---
 [Java framework] Using bootstrap parameter UNO_JAVA_JFW_ENV_CLASSPATH and
 class path is:
  /s/jdk1.4.2/jre/lib/rt.jar:..
 [Java framework] Using Java runtime library:
 file:///afs/cs.wisc.edu/s/jdk1.4.2/i386_rh72/jre/lib/i386/client/libjvm.so.
 osl_getsymbol: got Symbol JNI_CreateJavaVM
 VM option:
 -Djava.class.path=:/s/jdk1.4.2/jre/lib/rt.jar:.:/afs/cs.wisc.edu/s/jdk1.4.2/i386_rh72/jre/lib/plugin.jar
 VM option: -Dorg.openoffice.native=
 Segmentation fault

Hmm - a segfault - no idea how to diagnose that, sorry :-(

 I am wondering  if there is any hint what should I do, it seems to me that
 it has already built various components.

As the error was in module testtools, you can change to that
directory and run build there, this will only try to build the
module testtools
I had problems with module testtools on the Mac, that were bypassed by
just running build often enough, i.e. just trying again and again
until it did succeed. Worth a try, but probably won't help.

 And the configure parameters I used is following :
 CC=gcc34 CXX=g++34 ./configure --prefix=/scratch/wei/usr/local/OOO_2.0.1/

prefix is ignored by OOo.

 --enable-symbols --enable-debug --disable-mozilla

I'd try without the --enable-symbols, and without --enable-debug for
the initial builds - can still be enabled later, but the debug-build
stuff is less tested.

Java and ant version should be OK.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Help ! how to get the source code for some really old OOo projects and build them ?

2010-02-02 Thread Christian Lohmaier
Hi again,

On Fri, Jan 29, 2010 at 6:07 PM, Wei Zhang wei.w...@gmail.com wrote:
 [...]
 dmake:  Error code 139, while making
 '../../unxlngi6.pro/lib/uno_services.rdb'
 dmake:  '../../unxlngi6.pro/lib/uno_services.rdb' removed.
 '---* tg_merge.mk *---'

 ERROR: Error 65280 occurred while making
 /scratch/wei/sources/ooo/OOA680_m1/testtools/source/bridgetest

maybe http://qa.openoffice.org/issues/show_bug.cgi?id=50625 is related.

You might want to search issueZilla, or build a more recent version -
like written before, the fix for your issue was integrated in m157, so
from m79 to m157 that would make a lot of changes to track. (well,
doesn't help with the java/regcomp problem, but maybe for other ones)

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Help ! how to get the source code for some really old OOo projects and build them ?

2010-01-29 Thread Christian Lohmaier
Hi Wei, *;

On Thu, Jan 28, 2010 at 11:36 PM, Wei Zhang wei.w...@gmail.com wrote:
 [...]
 It is said that the version is 680m79 and Target milestone:OOo 2.0.2.

 However, I am not sure how to get the source code of this or how to check it
 out from CVS or SVN. And it would be great if there is some document about
 how to build this very old OOo.

Mathias already covered checking out the sources (old ones are in cvs)
- though depending on what milesonte, you might not only need the
modules from the OpenOffice2 alias, but also from the Extensions one

 And When I was trying to build the whole thing according to
 http://tools.openoffice.org/dev_docs/build_linux.html, I came across various
 issues with the JDK version and ANT version. After I googled around, I am
 using JDK 1.4.2 and ANT 1.6.2. There are still some other issues that I find
 pretty hard to resolve even after googling.

As for build issues: It probably is easies to use a current at that
time version of the distribution, as especially newer gcc versions
can be very annoying until they're pleased.

But of course if you tell the concrete issues you're facing (i.e. the
relevant parts of the build output, giving advise is easier :-)


ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Java UNO Extensions broken in Mac OS X due to Apple AWT Java VM was loaded on first thread -- can't start AWT

2010-01-26 Thread Christian Lohmaier
Hi Fabio, *,

On Fri, Jan 22, 2010 at 1:35 AM, Fabio A. Miranda
fabio.a.mira...@gmail.com wrote:

 As I posted earlier, I have a complement that works perfectly in Linux
 and Windows but it is broken on Mac.

 In Mac OS X, OO 3.1.1 (ES), the menu extension added with the add-on
 appears disabled all the time, sometimes it throws an error:

 soffice [1981:903] Apple AWT Java VM was loaded on first thread -- can't
 start AWT

 According the above bug ( which is NOT closed nor fixed):

 http://www.openoffice.org/issues/show_bug.cgi?id=92926

The patch attached works for me on 10.4

If you have an idea on why the patch doesn't work for newer versions
of Mac OS X (despite the jvm being created in the seperate thread,
despite following Apple's example) please go ahead.

 What is the solution for this issue ? If OOO has no released a bug, can
 aynone provided a workaround at Java coding level ? for example,
 prevalidate that AWT is already loaded or something

The patch does (to my best knowledge) what Apple recommends for
starting Java, the patch closely follows Apple's sample code
(SimpleJavaLauncher).

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] please help

2010-01-11 Thread Christian Lohmaier
Hi *,

On Mon, Jan 11, 2010 at 6:57 AM,  tangjiqi...@redoffice.com wrote:
 When compailing openoffice on linux, what  Parameters should I add to make 
 Insert - movie and sound valid? My compile Parameters: bash ./configure 
 --with-ant-home=/opt/apache-ant-1.7.0 --with-jdk-home=/usr/jave/jdk1.5.0_10.

You need to install the Java Media Framework on the computer where OOo
is installed to make it work. (i.e. install the jmf and add the
corresponding jars to OOo's CLASSPATH settings in Tools|Options → Java
Note that by default JMF only supports a limited amount of mediatypes,
so you would need to install additonal plugins/wrappers for JMF.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] drop tcsh support?

2010-01-11 Thread Christian Lohmaier
On Mon, Jan 11, 2010 at 4:19 PM, Stephan Bergmann
stephan.bergm...@sun.com wrote:
 Any objections against dropping support for using tcsh as the shell invoked
 by dmake within the OOo code base?

We had that discussion lately and the results were: No objections. At
least nobody did complain/wanted to keep tcsh.

In fact I already planned to do a related cws after the 3.2 release
(but of course I won't object if somebody else wants to do it)

 [...]
 Two questions remain:

 For one, the to-be-sourced scripts currently ensure that USE_SHELL's path is
 in PATH, but I see no reason for that?

Me neither. If the full path is given anyway... If at all: configure's
job, not the one of the env-script.

 For another, are there any relevant configurations where bash is not at
 /bin/bash?

I don't know any (but that doesn't count much  I guess :-)

Regarding POSIX: I already did bash-builds with the POSIXLY_CORRECT
environment variable - no problem at all. (so /bin/sh could be used as
a fallback, possibly with an appropriate configure-warning-message)

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] How to build OOo in Ubuntu 8.04

2009-11-18 Thread Christian Lohmaier
Hi *,

On Tue, Nov 17, 2009 at 5:14 PM, Michael He heyanpingli...@gmail.com wrote:
 Hi,
 I have get the OpenOffice.org source, but I have some problem to build it.
 This link:
 http://wiki.services.openoffice.org/wiki/Building_OpenOffice.org
 is not enough for me.
 Would you give me a little bit more information about how to build OOo?

It would help much more if you'd write at what step you're having problems.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Announcement: Migration to Mercurial

2009-10-27 Thread Christian Lohmaier
Hi Matthias,

On Tue, Oct 27, 2009 at 10:58 AM, Matthias B. mux2...@gmail.com wrote:
 Maybe I've overlooked it but I haven't seen an equivalent to

 svn switch URL-of-CWS-or-tag

 With svn I had one checkout which I switched to whatever cws or tag I
 wanted to build and svn switch would only download the differences
 between my current checkout and the target. That was fast, saved
 bandwidth and hard drive space

No, that wasn't really fast (IMHO).

 (believe it or not, I have to make do
 with an 80GB hard disk). With Mercurial it looks like I have to clone
 a complete repository whenever I want to build a CWS or a tag.

If you want to have it in seperate directories: Yes, but you're
cloning from your local repo anyway. And when you do it as described
in the wiki-pages, mercurial will use hardlinks for the clone.

This is /very/ fast and also needs virtually no additional space for the repo.

 Could
 someone give me the Mercurial equivalent to the following sequence of
 instructions:

 svn co http://svn.services.openoffice.org/ooo/trunk/

hg clone -U http://hg.services.openoffice.org/DEV300 OOo-repo

 cd trunk

 svn switch http://svn.services.openoffice.org/ooo/cws/blabla

hg clone -U OOo-repo workdir
cd workdir
hg pull -u http://hg.services.openoffice.org/cws/blabla

Alternatively you can pull to your local-master

 # Now the current directory contains the OOo sources for CWS blabla

 svn switch http://svn.services.openoffice.org/ooo/tags/OOO320_m2/
 # Now the current directory contains the OOo sources for milestone OOO320_m2
 # NOTE: The changes from CWS blabla are NOT merged. Unless they have
 been incorporated in m2 by
 # the OOo developers, they are gone now from my checkout.
 # This is an important point. I am NOT looking for a way to merge
 changes from different trees.

just the same as above, although then you wouldn't need to pull since
the milestones would be tagged in the main repo already. hg update -C
(thorw away your local changes) -r OOO320_m2)

 svn switch http://svn.services.openoffice.org/ooo/trunk/
 # Now my repository is exactly as it was in the beginnig (assuming no
 commits happened in the mean time)

 As mentioned in the beginning, I'm interested in a way of doing this
 that is fast, bandwidth-efficient and diskspace-efficient.

Mercurial is way, way faster than svn in this regard.
If fact with mercurial, I wouldn't bother modifying the existing tree,
but just create another local clone.

Remember to always clone the full repo (no -r argument), otherwise
mercurial cannot use hardlinks (would be slow and takes much
diskspace)

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Announcement: Migration to Mercurial

2009-10-27 Thread Christian Lohmaier
Hi Björn, *,

On Tue, Oct 27, 2009 at 11:37 AM, bjoern michaelsen - Sun Microsystems
- Hamburg Germany bjoern.michael...@sun.com wrote:
 On Tue, 27 Oct 2009 10:58:53 +0100
 Matthias B. mux2...@gmail.com wrote:

 Maybe I've overlooked it but I haven't seen an equivalent to

 svn switch URL-of-CWS-or-tag

 This is certainly possible with hg. However, to use this functionality
 you would need multiple heads in one repository. Since this is _not_
 currently supported by releng,

Well, RE doesn't need to support it anyway. One needs to be aware of
it, that's all.
If you're consumer only, then you don't need to take care anyway, only
if you are a developer and need to commit stuff, then you should
remember that you're having multiple heads and that only the one
you're working on is meant to be pushed.
Pushing the other ones doesn't do any harm besides wasting bandwidth on a push.

 you are completely on your own when
 doing so. If you are a not yet too confident in using hg, just use
 multiple repositories: It uses a bit more disc space, but will likely
 have break-even by not breaking your repos once.

It doesn't even take more diskspace. A hg workingdir: ~3.5GB - a
subversion working dir: 4,4 GB

A local clone doesn't take up noteworthy diskspace - only the actual
sourcefiles matter (~2.1GB)
But as you got the whole repo locally anyway, throwing away those 2.1
GB to make room for the other tree is cheap. No bandwidth needed, just
a little I/O on your harddisk.

Again: Cloning the local repo is fast.
$ hg --time clone -U OOo-tip hgclone
Time: real 2.140 secs (user 0.770+0.000 sys 1.130+0.000)
$ cd hgclone/
$ hg --time update -r DEV300_m61
68960 files updated, 0 files merged, 0 files removed, 0 files unresolved
Time: real 59.220 secs (user 41.670+0.000 sys 7.580+0.000)
$ cd ..
$ time rm -rf hgclone/

real0m1.551s
user0m0.100s
sys 0m1.450s

svn switch doesn't even come close to that.

So: Don't try to force your working habits to mercurial, better try to
adapt your workflow to use the benefits of mercurial.

 As shown, theres a way to do that. However, this local repository now
 contains multiple heads. Do NOT DARE to hg push --force these
 multiple heads to an outgoing repository or the wrath of RelEng will
 be upon you. You have been warned(*) ;-)

...instead just use hg push -r tip, to only push the head you're
actually working on.
That way no bandwidth is wasted pushing unrelated branches/heads and
no confusion is caused by introducing another head in the cws.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Announcement: Migration to Mercurial

2009-10-27 Thread Christian Lohmaier
Hi *,

On Tue, Oct 27, 2009 at 3:49 PM, Jens-Heiner Rechtien
jens-heiner.recht...@sun.com wrote:
 Hi Bjoern,

 let's see if there are accidental new heads on the outgoing repository. No
 need to have a hook for something that never happens anyway.

IMHO this is already guaranteed by mercurial itself. Forcing something
is always a bad idea, so whoever forces a commit despite the warning
surely doesn't do that by accident.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] build verbosity

2009-10-22 Thread Christian Lohmaier
Hi Frank, *,

On Thu, Oct 22, 2009 at 8:07 AM, Frank Schoenheit, Sun Microsystems
Germany frank.schoenh...@sun.com wrote:

 build --html --dontgraboutput
 that way the output will not be interleaved

 Hmm, never tried that, and admittedly somehow cannot believe that the
 output of the different processes is /not/ interleaved then, but even if
 so: You cannot specify this when you start a build on a build bot.

The bots should use that - if not, complain at the admins of the
corresponding bots. The ones I maintain make use of it.
The slower ones also use --stoponerror

If you need to use some magic environment variable to see why the
build did broke, the default is wrong. My 0,02€.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] build verbosity

2009-10-21 Thread Christian Lohmaier
Hi Frank, *,

2009/10/21 Frank Schönheit frank.schoenh...@sun.com:
 [...] a build.pl-feature to prefix the output of all spawned sub processes 
 with
 a unique (process-)ID would be much more helpful in finding errors in
 the build logs of multi-process builds.)

build --html --dontgraboutput
that way the output will not be interleaved

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Looking for DXF in the source

2009-10-13 Thread Christian Lohmaier
Hi Daniel, *,

On Tue, Oct 13, 2009 at 4:30 PM, Daniel Lidström daniel.lidst...@sbg.se wrote:

 I've read that OpenOffice supports DXF. So I would like to see this source. 
 Where in the
 source archives can I find this source?

http://pumbaa.ooodev.org:59145/source/search?path=*dxf*

→ goodies/source/filter.vcl/idxf

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Looking for DXF in the source

2009-10-13 Thread Christian Lohmaier
cc the poster

On Tue, Oct 13, 2009 at 4:19 PM, Daniel Lidström daniel.lidst...@sbg.se wrote:

 I've read that OpenOffice supports DXF. So I would like to see this source. 
 Where in the
 source archives can I find this source?

Reading the answers that were already posted would help a lot.

You're writing to a mailinglist, and answers go to the mailinglist.
So either you should subscribe to the list or follow it via a
mail2news gateway like gmane or manually check for answers in the
archives.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Re: [tools-dev] should we drop gcc3 support ?

2009-09-30 Thread Christian Lohmaier
Hi *,

On Wed, Sep 30, 2009 at 8:45 PM, Jens-Heiner Rechtien
jens-heiner.recht...@sun.com wrote:

 there is not yet a need to drop gcc-3.4 support I think, the usual compile
 problems happen with gcc-3.3 or older versions. GCC made a major (and very
 necessary) parser update from 3.3 to 3.4 and should have bumped up the major
 version at that time.

 We have discussed dropping gcc-3.3 support for quite some time now, but we
 refrained from officially obsoleting it because OS/2 and MACOSX 10.3 support
 still depend on gcc-3.3,

Aqua-OOo is not supported on Mac OS X 10.3 - at least I don't know
anyone who ever did an aqua build that would run on 10.3.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Dropping tcsh support for Mac (all?) / changing configure's default

2009-09-25 Thread Christian Lohmaier
Hi *,

because of 105003, own bad experience with tcsh (random build freezes,
slow performance), encouraged by the kick4nt cws I'd like to go on and
drop tcsh support at least for Mac OS X.

dropping tcsh support means: changing configure's default to bash and
issue a warning (or error) when tcsh is selected.

The default login shell for Mac OS X is bash, so it definitely is
available and it is proven to work without problems (Pavel builds with
bash for years, so do I on all systems)

So now to the reason why the d...@ooo list is adressed as well:

Is somebody opposing chaning the default to bash for all systems?

I.e. is there anybody who can give a reason why the default should
stick with tcsh (be it for non-Mac or even all)?

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Dropping tcsh support for Mac (all?) / changing configure's default

2009-09-25 Thread Christian Lohmaier
Hi Björn, *,

On Fri, Sep 25, 2009 at 3:44 PM, Bjoern Michaelsen
bjoern.michael...@sun.com wrote:
 Christian Lohmaier cloph at openoffice.org writes:
 dropping tcsh support means: changing configure's default to bash and
 issue a warning (or error) when tcsh is selected.

 I really hope for that in the long run we can make our build system depend 
 only
 on a IEEE POSIX specification (IEEE Standard 1003.1) compatible shell.

Oh, that didn't meant to support / endorse bashism - but rather to drop tcsh :-)

Too bad that you wrote IEEE 1003.1, since if it was 1003.2, then one
could set POSIXLY_CORRECT variable to switch bash to posix mode and
test with that.

Or is there no difference wrt shell behaviour?

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Re: [mac] Re: [dev] Re: [qa-dev] Looking for QA-Rep for cws cloph13 - create backwards compatible builds for Mac by using the developer-sdk during compilation

2009-09-10 Thread Christian Lohmaier
Hi Thorsten, *,

On Thu, Sep 10, 2009 at 11:49 AM, Thorsten Ziehmthorsten.zi...@sun.com wrote:

 what is the state of your CWS? Today I saw it in a query on EIS and do
 not see any progress documented in the CWS. Do you think it will be
 ready soon to get it integrated in OOo 3.2?

From my part it is ready - but unfortunately only Thorsten did provide
feedback (all OK so far)

 Release Engineering planned
 only one more build before the branch - m58 is in work now and m59
 should be the version for the branch. So the CWS must be ready until
 this weekend, I think.

As nobody did report any problems, and the cws doesn't touch any
actual code, only the makefiles, I think it is OK to integrate.

I myself didn't find any either (well, that doesn't count much I guess :-))...

ciao
Chrstian

PS: The build breakers of the ubuntu and solaris bots in connectivity
are unrelated to the cws - apparently they're using wrong mozilla zips
(the ones needed for m53 and newer, but the cws is based on m52, so
you'd need the old zips.
/MNSInclude.hxx:77:35: error: nsIAbLDAPAttributeMap.h: No such file or directory

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Re: [qa-dev] Looking for QA-Rep for cws cloph13 - create backwards compatible builds for Mac by using the developer-sdk during compilation

2009-09-02 Thread Christian Lohmaier
Hi Aaron, Thorsten, *,

thanks for your kind offers :-) - see below

On Wed, Sep 2, 2009 at 7:54 PM, Thorsten Behrenst...@openoffice.org wrote:
 Christian Lohmaier wrote:
 (i.e. if you have a MAC OSX 10.4 and can check the installset, or if
 you can verify the code changes by themselves,...)

 can test-drive the installset  do the code review; likely no time
 though for a proper testtool or tcm qa though.

Great - no worries, tinderbox did just finish building the Intel-installset:

http://termite.go-oo.org/install_sets/MacIntel-3589-cloph13-install_set.zip

Please give it a spin :-)

As for code review: Feel free to directly comment in the corresponding
issue or in EIS or ping me on IRC, write a mail (you get the idea :-))

Unfortunately no PPC build machine that runs with Leopard, only Tiger.
While it can be used to check that no reqressions are introduced while
building with Tiger, it isn't quite what the issue is about.
So again the plead for help:
@all:Got a PPC with Mac OSX 10.5? Can build OOo? Great - please give
cws cloph13 a shot!
(even if you cannot perform tests yourself, having a 10.5 built
installset for PPC would help a lot)

Nevertheless I'll build one on 10.4 and upload it tomorrow/later today.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Looking for QA-Rep for cws cloph13 - create backwards compatible builds for Mac by using the developer-sdk during compilation

2009-09-01 Thread Christian Lohmaier
Hi *,

I'm looking for a qa-rep for cws cloph13 (mercurial based)
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/cloph13
http://hg.services.openoffice.org/hg/cws/cloph13/
http://qa.openoffice.org/issues/buglist.cgi?issue_id=104566+104567+104568

citing from the cws' description:
Mac OS X build environment comes with SDKs that enable the
builder to create backwards compatible builds/define the
baseline a build should be able to run.
Currently OOo's build system doesn't make use of this (not in
a sufficient manner that is) so that builds created on Leopard
(10.5) cannot be run on Tiger (10.4).

besides that, it also includes some minor janitorial fixup (remove
duplicated OBJCXXFLAGS definitions) and support for ccache-skip for
(-x objective-c++ that otherwise prevents caching of the result)

While the last two can easily be qa'd by code review, the
backwards-compatibility should be tested on the corresponding systems.
It has been confirmed during issue 102735 that the modifications allow
to create a backwards compatible build, only the most basic
functionality has been tested. (It was also issue 102735 that made the
problem apparent)

I explicitly wrote should since please also raise your hand when you
can only do part of the job.

(i.e. if you have a MAC OSX 10.4 and can check the installset, or if
you can verify the code changes by themselves,...)

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Line-endings in source files

2009-08-30 Thread Christian Lohmaier
Hi *,

it seems to me that lately a huge amount of lineend-changes did occur.
Maybe it is just a bad impression because many of the cws I had a look
at lately did cause so many unrelated changes, but still:

*Please* take care of lineendings before you commit.

especially: please don't create files with mixed lineendings.

Thanks a lot

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Re: [tools-dev] Re: [dev] Mercurial-Implementation: OOo domain developer public keys

2009-08-28 Thread Christian Lohmaier
Hi *,

On Fri, Aug 28, 2009 at 5:46 PM, Jan Holesovskyke...@suse.cz wrote:

 Suggestions for a coherent nomenclature are welcome!

 Well, I was thinking the git way once again, sorry :-(

 But anyway, 'trunk' or 'main repository' (for DEV300), 'feature repository'
 (for OOO300, OOO310, ...),  and 'release repository' (for CWSes) sound best
 to me.

Oh, that is the exact opposite of my understanding.
OK with main for DEV300, but the OOO ones are the release ones,
that's where the releases are based on after all. And new features
won't be added on those. So calling OOO ones feature branches would
be confusing at best.
Similar for the cws - you won't buid a release based on a cws branch,
so thats a misnomer as well.

Honestly, I don't see a problem with just staying with cws branch. It
might be a term only used by OOo, but well, OOo's development model
just is different from just having a dev and release branch where
everybody commits directly...

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Duplicated header contents in svx

2009-08-08 Thread Christian Lohmaier
Hi Björn, *,

On Sat, Aug 8, 2009 at 10:21 AM, Bjoern
Michaelsenbjoern.michael...@sun.com wrote:
 Kohei Yoshida kyoshida at novell.com writes:

 The bad news is that this file is not the only file with duplicated
 content.  In the same directory, I've found several other headers with
 the same duplication problem.  AccessibleStaticTextBase.hxx and
 acorrcfg.hxx are also affected, quite possibly others too.
 The duplicate you posted was introduced with CWS changefileheader.

No, not true.
it was added with os128

 Maybe someone should take a look at the files changed by that cws?

True, but of course for the correct cws.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Re: OpenGrok - now it's possible to sort results by path

2009-08-05 Thread Christian Lohmaier
Hi again,

On Sun, Mar 22, 2009 at 1:34 PM, Christian Lohmaiercl...@openoffice.org wrote:
 (cc d...@ooo, but please f'up2 d...@tools.openoffice.org only)

 now it is possible to let opengrok sort the search results by path in
 addition to the relevancy and last modified date sortings.
 ..well, not yet on the official opengrok on svn.services, but on pumbaa:

 http://pumbaa.ooodev.org:59145/source/

As official opengrok on svn.services... still didn't adopt it, and I
myself did miss it in the couple of days, I decided to setup opengrok
again on pumbaa, but this time indexing the mercurial-repo (tip is
indexed, but it also indexes the history)

In this context: If somebody knows a way to have commit-times restored
on hg update/checkout like the use-commit-times configuration value
for subversion does it, I'd be interested. Apparently it only sets the
times when using hg archive, but always uses current time when working
in the repo...

 A tiny patch has been sent to upstream already in case you want to add
 it to your copy of opengrok:
 http://defect.opensolaris.org/bz/show_bug.cgi?id=7594

( Unfortunately that patch, despite really tiny didn't receive any
attention yet :-/ )

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Consolidating build instructions for the community

2009-07-16 Thread Christian Lohmaier
Hi Jürgen, *,

On Thu, Jul 16, 2009 at 10:48 AM, Juergen
Schmidtjuergen.schm...@sun.com wrote:

 i really don't understand what your problem is.

My problem is that everyone is eager to start new projects, new
efforts instead of improviing what is there already.
My problem is that if you really feel the need of simplifying the
build, then don't do it by adding instructions, but by actually making
the build itself simpler.

 Maybe you missed the goal of
 Per's work, it is simply the consolidation of several different pages into
 one new place,

Seems like my points didn't come through either. I'm all for removing
duplication in the build instructions. I was against duplication in
the past already. So full support on that item from my side.

 [...]
 And i think you look on it with the wrong glasses. You are very familiar
 with all this stuff and it's clear for you as well as for others.

No. I did compile OOo myself for the first time in the past as well.
At that time, I just did read the instructions and off it went. I did
look for info. I didn't assume I know already.

 Great you
 can read configure but many others not.

I didn't speak about reading configure itself, but reading the output
of configure, i.e. what configure tells you to do when you run it.
That's a big difference.

If configure prints get file from URL or use mingw and people
still complain about not being able to tell where to get file, that
sepaks for itself.

 [...]
 The work Per is doing is not for the developers we already have it is
 probably more for new ones.

Probably that's another part of the problem I have. This makes it
sound like there wouldn't be any documenation for new builders at all.
That's just not the case.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Consolidating build instructions for the community

2009-07-15 Thread Christian Lohmaier
Hi Per, *,

On Wed, Jul 15, 2009 at 11:09 AM, Per
Erikssonpereriks...@openoffice.org wrote:

 Having a building guide would simplify and make it easier for new developers
 to find articles and getting to the right pages faster by providing the
 navigation as in the developer guide.

I beg to differ. You don't need a guide. The people who try to build
OOo and fail are those who don't bother to read instructions. Even a
step-by-step instruction explicitly written to match their system
wouldn't help in that case. But that's another story.

 This work would be done by sorting, consolidating and editing the various
 wiki pages into a guide with a structure.

I dislike the idea to have a huge guide.

 In this work various negative comments about building OpenOffice.org being
 impossible in the articles will be replaced by constructive tips for the
 developer.

It never was complicated to build OOo on linux. Since aqua version is
default, it is no longer complicated to build OOo on Mac OSX. The only
problematic systems are Windows and other ports.

The problem only arises because people are too lazy to read, always
know better, don't even use the OOo build system / ignore warnings
issued by configure / don't try a default build but in a I do fancy
tricks with the buildsystem stuff way.

The only noteworthy parts is
* installing build requirements.

(and there we're back at people being unable to read / unwilling to
read configure output.
See the many why does the build want mingw type of question.
Configure states: Either get the prebuilt one from url or build
using mingw. But people are unable to read and thus ask stupid
questions on the IRC-channel. Or they disable the packaging component
and then wonder why they don't get installable packages, but only
files spread around in a directory.

For linux (and also for the actual building part on Mac), the
http://wiki.services.openoffice.org/wiki/Building_OpenOffice.org IMHO
is more than enough.

(I dislike some of the recent edits though, like the swext Hint -
that is more suitable for a What if something goes wrong page. In
the build guide it just adds noise. Similar to other edits).

So the new guide should focus on the OS-Specific parts. On Mac OSX
that would be: Getting/installing XCode (and svn on 10.4), Where to
obtain ccache. And: What do do if one doesn't want to use the prebuilt
mozilla-zips, but build from scratch (the only case where one really
needs to install third-party libs/packages)

On Windows that would be: What compiler-version is suitable, and what
to do when using the Personal edition, how to get cygwin running, what
packages to install with cygwin, what other tools are needed.

On Linux: Well, as mentioned above: The only thing you need are the
(rather few) build-dependencies.
Everyone who is attempting to build OOo should have at least compiled
some other software anytime before. So they should be able to read
configure output (i.e. tell from install cups devel package - don't
nail me on the wording - that they need to install the corresponding
packages their distribution provides libcups-devel cups-devel or
whatever naming scheme the distro uses).
There really aren't that many.

The real guide then only is * run confiugre with appropriate options
(with the suggestion to use --with-use-shell=bash)
* point out prebuilt-mozilla/unowinreg.dll
* source the environment file configure creates (again configure tells
the user to do so, but users cannot read)
* run dmake or build --all from instsetoo_native

The rest is:
How to make a parallel build
How to reduce build time
What do the configure options actually do (so what is the real effect
of using that option on a high-level view)

Getting the source-code and explanation of MWS/CWS probably should be
on a seperate page so you can explain it in more detail without
clobbering the build-instructions

Probly this whole post can be summarized with: KISS

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Consolidating build instructions for the community

2009-07-15 Thread Christian Lohmaier
Hi Per, *,

On Wed, Jul 15, 2009 at 10:43 PM, Per
Erikssonpereriks...@openoffice.org wrote:
 Christian Lohmaier skrev:
 On Wed, Jul 15, 2009 at 11:09 AM, Per
 Erikssonpereriks...@openoffice.org wrote:

 If a developer cannot find the building information it is probably because
 there they can't find the information,

I still disagree. Basically /all/ of the questions asken on IRC about
building OOo were because people are unable to read configure or
because they don't use vanilla build system. Most of those didn't
bother to read any instructions, didn't look for instructions.

If you cannot find the Building OpenOffice.org wiki page, then I
have no words to say. Those surely will not be able to find another
wiki page.

 or that there are too many documents,
 including documents with wrong information. New documents are written
 because they cannot edit the CVS documents etc.

And please, please don't base your argumentation pro/agains a new
guide on the situation as it was three or four years ago.
The Building OpenOffice.org page exists in the wiki since 2006.

 Of course this initiative includes:
 - Updating links to the new content
 - Provide redirects
 - Promoting this guide on all the places where content is currently placed.

For this, you don't need to write a new book

 [...]
 What I have identified is that we have an enormous amount of documents on
 too many places.

Yes. And now you're adding yet another place.

 In this work various negative comments about building OpenOffice.org
 being
 impossible in the articles will be replaced by constructive tips for the
 developer.


 It never was complicated to build OOo on linux. Since aqua version is
 default, it is no longer complicated to build OOo on Mac OSX. The only
 problematic systems are Windows and other ports.


 What I am referring to is actually problems in the current documents, where
 building is referred to as:
 Complicated
 Impossible
 Ooo-build is much easier

Yes, go-oo is freer, faster, better.. Sure thing. Of course go-oo
folks write such propaganda.

And probably all those complains are not about building OOo itself,
but getting the right sources.

What makes OOo slighly more complicated is its development structure.
While still in cvs, you needed to use the OpenOffice2 alias (or
OpenOffice2 and Extensions). THAT was chaos and complicated.
People with problems didn't bother to checkout a milestone, but tried
trunk, or did use the wrong alias and were getting incomplete/wrong
sources.

And of course then the complaint is ah, this is all so complicated:
But only complicated because the user didn't look for info before
trying to build.

Now with svn it is little easier, no aliases anymore, however still
the Milestones.

 [...]

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Consolidating build instructions for the community

2009-07-15 Thread Christian Lohmaier
Hi Marcin, *,

2009/7/16 Marcin Miłkowski milek...@o2.pl:
 Christian Lohmaier pisze:

 I still disagree. Basically /all/ of the questions asken on IRC about
 building OOo were because people are unable to read configure or
 because they don't use vanilla build system. Most of those didn't
 bother to read any instructions, didn't look for instructions.

 I could reply that probably using IRC is eating their brains ;) as most
 questions asked at dev seem to be quite different.

Those questions will not be answered by a building OOo for newbies guide.
The one I remember fall into the not using vanilla OOo/not taking
advice given category.

The other ones were build breakers are introduced (already built
successfully in the past, newer milestone breaks). System components
change in a incompatible way. Nothing that could be covered in a
simple guide. (but rather are bugs in the code)

 [...] Linux build was strangely broken).

Those even less.

To get this straight:
I'm /not/ against consolidating the pages, au contraire, I support
getting rid of old pages.
But:
I am against yet another place (instead of reusing the existing pages)
I am against the structure as it appears now

I doubt that the new documentation will cause less questions.

I'm speaking for myself only, and of course don't tell anybody to stop
with the efforts.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] cws rebase failed

2009-07-13 Thread Christian Lohmaier
Hi Maximilian, *,

On Sun, Jul 12, 2009 at 8:28 PM, Maximilian
Odendahlmax.odend...@t-online.de wrote:
 [...]
 I can see them inside my rebase directory, but svn status gives a
 question mark. Shouldn't they all be added automatically to my cws
 during rebase? How can I fix this?

Probably easiest (= quickest)  way to fix is to checkout/upate your
tree to a state prior to the resync-attempt (can use date as
revision), create a patch against the master it was based on at that
time and then use that patch on the new master.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Build problems with CWS odff06 rebased to m50

2009-06-24 Thread Christian Lohmaier
Hi *,

On Tue, Jun 23, 2009 at 6:57 PM, Mathias Bauernospamfor...@gmx.de wrote:
 Frank Schönheit - Sun Microsystems Germany wrote:

 How to clear output trees? I'm a dummy concerning building.

 In cygwin, something like
    cd $SRC_ROOT
    find . -maxdepth 2 -name wntmsci12* | xargs rm -rf
 should do.

nitpickthe * is not protected against expansion from the shell - but
shouldn't matter since there is no soutput dir in $SRC_ROOT/nitpick

 In the OOo build environment rm -rf */wntmsci12 from the root directory
 of the source tree is sufficient as the solver is at the same level as
 the modules.

Not on linux.
$ ls solver/
300/
$ ls solver/300/
unxlngi6.pro/

But I wonder why you don't simply suggest a dmake clean in toplevel.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Build problems with CWS odff06 rebased to m50

2009-06-24 Thread Christian Lohmaier
On Wed, Jun 24, 2009 at 10:58 AM, Frank Schönheit - Sun Microsystems Germany
frank.schoenh...@sun.com wrote:

  nitpickthe * is not protected against expansion from the shell - but
 shouldn't matter since there is no soutput dir in $SRC_ROOT/nitpick

 Ehm - shouldn't the  protect it?


Yes, you're right, my fault, didn't look carefully enough.

 But I wonder why you don't simply suggest a dmake clean in toplevel.

 Because at least /me usually works in an environment where this doesn't
 work (no complete source tree) :)


Doesn't dmake clean still work? I mean it doesn''t really do more than
calling rm -rf */unxlngi6.pro and rm -rf solver/*/unxlngi6.pro (or whatever
output-tree is used). The only thing it does in addition is to make clean in
dmake.

ciao
Christian


[dev] OpenGrok - now it's possible to sort results by path

2009-03-22 Thread Christian Lohmaier
(cc d...@ooo, but please f'up2 d...@tools.openoffice.org only)

Hi *,

now it is possible to let opengrok sort the search results by path in
addition to the relevancy and last modified date sortings.
..well, not yet on the official opengrok on svn.services, but on pumbaa:

http://pumbaa.ooodev.org:59145/source/
(maybe some of you still have this in your bookmarks from the time
before opengrok was made available on svn.services.ooo)

A tiny patch has been sent to upstream already in case you want to add
it to your copy of opengrok:
http://defect.opensolaris.org/bz/show_bug.cgi?id=7594

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] amount of stopper / regressions for 3.1 release

2009-03-13 Thread Christian Lohmaier
Hi Thorsten,

On Fri, Mar 13, 2009 at 11:23 AM, Thorsten Ziehm thorsten.zi...@sun.com wrote:
 [...]
 But to check the issues in Master = verified - closed could be
 discussed. Here the numbers are really 99% I think. Nearly all
 issues which are fixed in CWS are fixed in Master too.

Maybe in the cvs days. Now with svn there have been a couple of failed
integrations, quite a number of changes that were reverted by other
cws.
So I don't have trust in that number. And this makes it really hard to
check when your fix was integrated in mXX, but later gets reverted by
integration of another cws in mXX+4.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] buildbot builds vs standard builds

2009-03-06 Thread Christian Lohmaier
Hi Mathias, *,

On Thu, Feb 26, 2009 at 10:59 AM, Mathias Bauer nospamfor...@gmx.de wrote:
 Thorsten Ziehm wrote:

 I do not see the need to bring the build bots near to the build
 environment here in Hamburg. The request for build bots was (as I know)
 to have builds in different environments to find build issues in these
 different environment. When these environment will be nearly the same,
 then we miss to find these build breakers.
 No, you are mixing build bots and Tinderbox builds. But even if we used
 Build Bots in that way, I don't see any reason for either-or.

Well, there's no sharp line between tinderbox and buildbots in general.
Yes, tinderboxes are only for building (but that doesn't imply they
don't generate perfectly suitable builds, just that their bandwidth
just doesn't allow for uploading of installsets or wasting bandwidth
for the steady connection to the buildbot master)

On the other hand, buildbots are of course not only sources of
installable builds - it would be a waste if the build-results would
not be collected and taken into account..

Buildbots and tinderboxes *both* serve the purpose of checking whether
a cws introduces build-breakers.
tinderboxes do so exclusively, for buildbots it depends on the focus
of the specific bot.
Some can be seen as installset providers (and that is what requested
here: Dedicated bots that provide installsets comparable to the ones
provided as releases/snapshots) and others as tinderboxes that can be
asked for an installset.

I don't see black and white here.

In the current situation, with Sun using a different toolchain (not
only wrt. configure in OOo, but also the compiler, third-party libs
OOo is compiled agains) Ideally there would be a sun environment
buildbot in addition to the existing ones (one that doesn't build each
and every cws, but provides installation-sets on request).

So whether Sun switches to community build-env or not is not /that/
important to make the community-testers happy.
(would of course be a good thing for various other reasons).

The o3-iso was a little step in creating such an
installset-provider-bot - but as it was not updated and incomplete,
the bot cannot build any current tree and thus is offline.

ciao
Christian

and for completion:
Of course also tinderboxes can provide installsets [they can easily
add a download-link to the log that is then shown in the build-result
box) - there just is no request a build-webinterface

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Java extension works directly after installation, but not after Office restart - how to debug?

2009-02-15 Thread Christian Lohmaier
Hi Marcin, *,

On Fri, Feb 13, 2009 at 9:00 PM, Marcin Miłkowski milek...@o2.pl wrote:
 Hi Christian,

 did you try using another JRE?

Yes. also tried with 1.5.u17 - same result.

Directly after Installation (without restart of OOo), I can fully use
the extension, after restart → broken.

Easiest Testcase:
* Open Impress (doesn't matter whether new or existing document)
* OpenCards|About
* hover over the buttons, make sure they react accordingly
* move about-dialog window
  directly after installation
→ everything is OK, buttons do still react on hover, dialog can be closed
  after restart of OOo
→ Window is dead, doesn't react anymore, cannot be dismissed

(same for the LanguageTool | Configuration dialog)

 I haven't used 1.6u11 yet and there could be some regression in it. Sometimes 
 also removing javasettings.xml in your user directory helps resolve some 
 problems with Java in OOo.

This doesn't help unfortunately, removing the user-profile completely
doesn't help either.

ciao
Christia

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] SAL_NO_XINITTHREADS=true Java extension works directly after installation, but not after Office restart

2009-02-15 Thread Christian Lohmaier
Hi *,

2009/2/15 Christian Lohmaier cl...@openoffice.org:

 Directly after Installation (without restart of OOo), I can fully use
 the extension, after restart → broken.

 Easiest Testcase:
 * Open Impress (doesn't matter whether new or existing document)
 * OpenCards|About
 * hover over the buttons, make sure they react accordingly
 * move about-dialog window
  directly after installation
→ everything is OK, buttons do still react on hover, dialog can be closed
  after restart of OOo
→ Window is dead, doesn't react anymore, cannot be dismissed

 (same for the LanguageTool | Configuration dialog)

I'm happy, since I found a workaround for my problem:

exporting SAL_NO_XINITTHREADS=true solves the problem

So now the question: What am I losing by setting that var?
I found issue 90094
http://qa.openoffice.org/issues/show_bug.cgi?id=90094

where stated that: Could also be helpful for java plugins running in
process. and indeed it is :-))

and http://qa.openoffice.org/issues/show_bug.cgi?id=92121

So apparently my X11 version is too stupid - but the symptoms are
quite different from the issues (OOo doesn't start at all)..

Well, I can live with it, but I wonder whether OOo could check for it
by itself whether that var is needed or not?

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Re: [tools-dev] Yet another commit to a master that was annoucned long ago. When will we have pre-commit hooks that prevent this?

2009-02-14 Thread Christian Lohmaier
Hi *,
cc releases@, dev@, so there's no excuse that they don't read the list.

On Wed, Dec 17, 2008 at 4:52 PM, Mathias Bauer nospamfor...@gmx.de wrote:
 Christian Lohmaier wrote:

 the summary says it all.

 Again there has been a commit to a master that was announced long ago.
 This commit surely is unintended as were the other ones.

 So why is it so hard to setup a pre-commit hook that prevents commits to 
 tags?

 It isn't hard, but it seems that those who had to do it refuse to do so.

sigh/

It happend yet again. And worse: While reverting the changes that
person did break the tree (m41)

(and before, there were accidental commits to m40)

So if the responsible persons don't want to fix it, would they at
least explain their decision?

 PLEASE fix it.

 +1

This still holds..

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Detailed build deps

2009-02-13 Thread Christian Lohmaier
Hi Jeff, *,

On Fri, Feb 13, 2009 at 3:36 AM, Jeff j...@kconline.com wrote:

 The best page I've found is http://tools.openoffice.org/build_env.html,
 but search for python and you see only --with-system-python. The
 questions are thus:

 - Is package truly required or is it optional?
 - If package can be left out what function would be missing?

 This kind of information enables system developers/integrators to make
 more informed choices.

Well, the answer is simple:
If you use one of the --enable-system-xy, you of course need the
xy-stuff on your system.

Apart from that the OOo build is very self-contained. You only need a
shell, the compiler, a JDK (for all features), ant (when using
java-dependant features), perl (and per's Zip::Archive module) and
that's about it.

configure will tell you when something is missing with your configure switches.

If it does not, it is a bug.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Java extension works directly after installation, but not after Office restart - how to debug?

2009-02-13 Thread Christian Lohmaier
Hi Jürgen, *,

On Fri, Feb 13, 2009 at 3:54 PM, Juergen Schmidt
juergen.schm...@sun.com wrote:
 Christian Lohmaier wrote:

 Java extension on my machine works only when run out of the soffice,
 directly after installing it via Extension Manager.
 After restarting OOo, the extension/Java just hangs (no cpu usage, but
 also no progress whatsoever)

 I use OOo 3.0.1 (Sun-provided build) and JDK 1.6u11 (also Sun's version)
 The extension I'm trying to use is OpenCards 1.0.1 (
 http://opencards.info
 http://extensions.services.openoffice.org/project/OpenCards )

 The extension works fine with OOo 2.4, and apparently also works fine
 on other machines. Since it doesn't crash, and doesn't print anything
 to the console, I have no idea where to look for the cause of the
 problem.

 Could you give some hints?

 mmh, strange. I expect a problem inside the extension. But without knowing
 the code it's hard to say.

It's opensource - you can get the source of the extension from the
sourceforge page: (linked from both the opecards.info OpenSource
link and the extensions.services page Browse the source

Download
http://sourceforge.net/project/showfiles.php?group_id=198974package_id=235842release_id=628793

Browse
http://opencards.svn.sourceforge.net/viewvc/opencards/

I would suggest that you contact the vendor of
 this extension. I am sure that there is no general problem because i use
 several Java extensions that worked well under 2.4 and 3.0.1

As I wrote, this problem couldn't be reproduced by another user I
asked, so it must be something specific to my setup, but I have no
idea what this co↓ld be. (of course rm -rf userdir, even created a
completely new unix-user, but did not help)

And not all java extensions are affected. I.e. the svg import works
fine (apparently if they don't use java-UI, then it works, but that's
just a guess)

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Java extension works directly after installation, but not after Office restart - how to debug?

2009-02-12 Thread Christian Lohmaier
Hi *,

Java extension on my machine works only when run out of the soffice,
directly after installing it via Extension Manager.
After restarting OOo, the extension/Java just hangs (no cpu usage, but
also no progress whatsoever)

I use OOo 3.0.1 (Sun-provided build) and JDK 1.6u11 (also Sun's version)
The extension I'm trying to use is OpenCards 1.0.1 (
http://opencards.info
http://extensions.services.openoffice.org/project/OpenCards )

The extension works fine with OOo 2.4, and apparently also works fine
on other machines. Since it doesn't crash, and doesn't print anything
to the console, I have no idea where to look for the cause of the
problem.

Could you give some hints?

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Need help: build error on fedora 10

2009-01-03 Thread Christian Lohmaier
Hi Kami, *;

On Sat, Jan 3, 2009 at 9:08 AM, KAMI911 KAMI911 kami...@gmail.com wrote:
 What about to build using epm? With --enable-epm configure option? I
 am using a fairly old distro (Ubuntu 7.10) to maintain the
 compatibility.

epm only creates a specfile and then calls the real rpm(build) so you
wouldn't need to do anything, since Ubuntu doesn't even  use rpms, but
debs :-)

As to old versions of rpm: they should support passing the vars on the
commandline as well. in sysui this is done already (there the packages
are built directly from specfiles, without epm in between)

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Need help: build error on fedora 10

2009-01-03 Thread Christian Lohmaier
Hi Martin, *,

On Sat, Jan 3, 2009 at 5:51 PM, Martin Mancuska b...@borg.sk wrote:

 I have next problem with compiling of OpenOffice under Fedora 10.

In addition to what Kami said:
Another problem → another thread please. Preferably with a more
telling subject than build error
And no Fullquotes please.
To underline what Kami said:
The exact wording of the error message is essential, the most
important part of a build-related problem.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Incompletely integrated cws

2008-12-28 Thread Christian Lohmaier
Hi *,

While looking at the warnings in tinderbox, I stumbled upon one for
which I provided a trivial patch. That patch has been applied to a cws
and was verified in the cws.
To my surprise the master, for which the cws should have been
integrated still showed that error, so I did have a deeper look. And
what I found worries me quite a bit.

From cws jl105, only 3 files have been integrated (alone in module
desktop there have been modifications to more than 30 files). All the
other changes that were done in the cws were *silently*
discarded/lost!

It wasn't one of the early svn milestones, but was integrated in m37!

How many other changes were lost while integrating other cws?
How could this have happened in the first place? I mean I did
understand that there were problems with deleted/added files, but in
that case existing files were modified.

Does every cws have to be double-checked now?

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Who can closes an issue[ was: Fwd: [l10n-dev] Spanish version : issue in OLH

2008-11-26 Thread Christian Lohmaier
Hi *,

On Thu, Nov 13, 2008 at 2:50 AM, Caio Tiago Oliveira
[EMAIL PROTECTED] wrote:
 Nguyen Vu Hung, 12-11-2008 14:26:

  Sadly, we don't really have control over IssueZilla, so it's effectively
  impossible to change/enhance IZ's permission system.

 I have no idea about IssueZilla but is it an open source?
 If it is, Yes We Can Change.

 No, it is not.

Well, not exactly true, but even if it was fully opensource and
available, we would be able to change the sourcecode, but we won't be
able to replace the issueZilla that runs on the site with our modified
version.

 It's based on open source Bugzilla, but sadly it is not open source.

http://qa.openoffice.org/issues/show_bug.cgi?id=18

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Re: [marketing] Re: [project leads] Re: [discuss] Re: OpenOffice.org Community Mapping Project

2008-10-31 Thread Christian Lohmaier
Hi Nguyen, *,

this is starting to get off-topic, but well...

On Fri, Oct 31, 2008 at 4:14 AM, Nguyen Vu Hung [EMAIL PROTECTED] wrote:

 In my very humble opinion, OpenOffice.org is not a truly open.

It is. It is big and thus hard to get your hands on, but that doesn't
depend on the openness of OOo.

 Main coders is a team working in German and they work locally.
 Language is not the problem but IMO this is what they want to do.

This is not my experience (anymore, definitely was that way in the
past, but not anymore). Developers hang out in IRC regularily (or if
not, can be asked to join) and answer devel-related questions. They
answer on the mailinglists as well.

Of course if you don't ask at all, you don't get an answer. Of course
if you ask on IRC where everyone in Europe is supposed to be sleeping,
you'll probably not recieve any reply from one of the german
developers. But that is again nothing related to the openness of the
project, just people living in different parts of the world.

 OOo is a very big project( 9.8 MLOC) and it is quite hard to add a new 
 feature,
 or fix a bug. If a local team( or a contributor) shows a bug and tags
 it WORK_FOR_ME( a stopper),

Works for me means: Works fine, doesn't need a fix at all. So if
you're waiting for a fix for an issue that was closed as works for
me, then you're waiting in vain. It will not be fixed unless you
either make the ones who closed it change their mind (usually by
discussing the problem on the appropriate mailinglist of the affected
project) or provide a fix yourself (but if it is a bigger change, you
should get in contact with the project first, to avoid conflicting and
in the end wasted work)

Again not related to the openness of the project, just a matter of
common sense and restricted ressources. You just cannot fix anything.
And of course it doesn't make sense at all to follow every request.
(again common sense)

 chances are they get fixed with very low probability. Due to the big size,
 new comers will find it very hard to get started with OOo.

This is nothing to blame on the openness of the project.

The main reason, IMO( again) is that, core coders of the OOo project is not 
willing to share the knowledge.

No, that's not the case. Plese give some *recent* examples.

 In my case, I am trying to submit some bugs to OOo qa. Most of them
 are still there, marked as NEW
 and a questions pops up in in mind: How OOo treats contributors? How
 QA works in OOo?

Again: How is that related to the openness of the project? *Because*
OOo is an open project and *everyone* can submit issues, the number of
issues is very high. And compared to the number of issues the number
of people who could fix things is rather low. Again common sense: If
there are more issues that you (the developers) can handle, there must
be issues that will remain unfixed/unhandled.

But *because* OOo is an open project, *you* (the individual) can make
a difference: You can reduce the number of issues by reviewing them,
by consolidating related ones and maybe write a spec/proposal that
combines multiple issues to save some work. Of if you have programming
experience, you can fix a problem yourself and attach a patch. Patch
handling has been much improved (despite the wrong facts that are
spread in blogs or articles which are all based on the situation back
in 2000/2002). If you have a patch and it wasn't
touched/processed/evaluated within two weeks, make noise on IRC or on
the mailinglists to have someone have a look at it.

 The openness is heart of the Open Source developement model, an open
 file format and an open source csv are not enough.

Please state what of your points is related to OOo not being open.
Your points are all based on the fact that OOo is big, has a big
userbase and rather few active developers for the amount of requests
made by those users.

This is much different than saying: OOo is not open.

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] SVN Hooks for formatting

2008-10-08 Thread Christian Lohmaier
Hi *,

On Wed, Oct 8, 2008 at 5:37 PM, Mathias Bauer [EMAIL PROTECTED] wrote:
 bjoern michaelsen - Sun Microsystems - Hamburg Germany wrote:
 On 10/06/08 09:57, Caolán McNamara wrote:
 And subversion (like cvs) has a precommit hook that can e.g. reject
 files with tabs in them. e.g.
 http://wordaligned.org/articles/a-subversion-pre-commit-hook

 +1
[...]
 Sounds good for me also.

..but don't forget to restrict that to actual source-code files...
Think of localize.sdf loosing its tabs :-)

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] OOo RC/beta mirrors in Japan?

2008-09-29 Thread Christian Lohmaier
Hi *,

On Mon, Sep 29, 2008 at 9:15 AM, Nguyen Vu Hung [EMAIL PROTECTED] wrote:

 Anyone knows if is there any mirrors for OOo RC and beta stuffs( not
 official releases) in Japan?

All the extended mirrors are listed here:

http://distribution.openoffice.org/mirrors/#extmirrors

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] charter discussion ?

2008-09-11 Thread Christian Lohmaier
Hi *,

On Thu, Sep 11, 2008 at 6:03 PM, Martin Hollmichel
[EMAIL PROTECTED] wrote:
 [...]
 regarding the new draft of the charter
 (http://wiki.services.openoffice.org/wiki/Community_Council/Items/Charter_Proposal)
 there is a paragraph 4.1.1 Three Code Contributor Representatives
 [...]
 From my perspective with active code contributor a people described, who
 constantly contribute code to the project under the general rules of the
 project, [including SCA, cws-process]

 Is this something we can agree on as being an active code contributor for
 OpenOffice.org ?

+1 from my part

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Re: [tools-dev] Re: [council-esc] Re: [tools-dev] OOo SCM project

2008-08-28 Thread Christian Lohmaier
Hi Jörg, *,

On Thu, Aug 28, 2008 at 3:59 PM, Jörg Jahnke [EMAIL PROTECTED] wrote:
 [...]
 So are there objections against starting the migration directly after DEV300
 m31 gets finished?

I'd appreciate if I would get any answer on the two questions posted
by me on this list:
svnsync performance and svn client requirements for developers.

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] DEV300_m29: compiling ERROR: File not found: ScriptFramework.jar

2008-08-22 Thread Christian Lohmaier
Hi *,

On Fri, Aug 22, 2008 at 5:17 AM, Hung Nguyen Vu
[EMAIL PROTECTED] wrote:
 On Fri, Aug 22, 2008 at 1:49 AM, tora - Takamichi Akiyama 
 [EMAIL PROTECTED] wrote:
 [...]
 The reason why I add some --disable-something is that I want to save
 compiling time.

Oh, then you're missing the most-important-to-save-time switch:
--disable-binfilter
(and wrt --disable-mozilla: While it is right that building mozilla
takes quite some time as well, you can build mozilla once and then
create precompiled mozilla packages - that way you don't lose the
features but still save compile time)

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] DEV300_m29: compiling ERROR: File not found: ScriptFramework.jar

2008-08-22 Thread Christian Lohmaier
Hi *,

On Fri, Aug 22, 2008 at 5:29 AM, Hung Nguyen Vu
[EMAIL PROTECTED] wrote:
 On Fri, Aug 22, 2008 at 2:23 AM, Christian Lohmaier [EMAIL PROTECTED]wrote:
 [...]
 I make the whole source tree viewable, as well as the env file.
 http://aoclife.ddo.jp/~vuhung/foss/src/DEV300_m29/
 http://aoclife.ddo.jp/~vuhung/foss/src/DEV300_m29/LinuxX86Env.Set.sh
 [...]
 Though --with-use-shell=bash was set in ./configure,

It was not specified according to config.log from the above tree:

It was created by configure, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --prefix=/home/vuhung
--with-jdk-home=/home/vuhung/opt/j2sdk1.4.2_18
--with-ant-home=/usr/local/ant --with-system-stdlibs --with-lang=en vi
ja


So it doesn't reflect what you thought it should be.

And you did run configure in a shell that already had variables from a
previous attempt set. (this is clrear fom e.g. the path-settings in
the environment file).

Always run configure in a new, clean shell without the
build-environment variables set.


 java, python, uno are not my goals at the moment.
 I need a binary first.

Might be, but java is used in a couple of places during the build nevertheless.

  Question: Why with  --without-java, dmake still looks for a .jar file?

 Congratulations, you found a dependency bug.

 Where should I commit a bug?
 http://qa.openoffice.org/issues/enter_bug.cgi
 What component does this bug belong to?

as it fails in scripting, and scripting is part of framework, I'd
assign it to framework.
(well it doesn't actually fail in scripting, but it is in scripting
where that jar should have been built)

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] DEV300_m29: compiling ERROR: File not found: ScriptFramework.jar

2008-08-22 Thread Christian Lohmaier
On Fri, Aug 22, 2008 at 6:43 AM, Hung Nguyen Vu
[EMAIL PROTECTED] wrote:
 On Fri, Aug 22, 2008 at 1:01 PM, tora - Takamichi Akiyama 
 [EMAIL PROTECTED] wrote:

 1. Do the ./configure in the directory config_office with appropriate
   options on the new terminal emulator.
 2. source LinuxX86Env.Set.sh

 3. cd $SRC_ROOT/scripting

 At this point, I've run build  and everything was fine.

 So far so good, it may take a while until I get OOo binary compiled or next
 error :)


 4. mv unxlngi6.pro unxlngi6.pro-failed

 Is it equivalent to dmake clean
 unxlngi6 folder is 6GB big and it takes a long time.

It should't be that big. All unxlngi* folders together shouldn't be that big.
You really shouldn't try a debug build at first attempt...


 How long does it take to compile OOo?( pen IV 3.2GB, 2GB Memory, SCSI 320
 HDD)

If ccache is filled, it should take about 5 hours or something like that.
ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] DEV300_m29: compiling ERROR: File not found: ScriptFramework.jar

2008-08-21 Thread Christian Lohmaier
Hi *,

On Thu, Aug 21, 2008 at 5:31 PM, Hung Nguyen Vu
[EMAIL PROTECTED] wrote:
 On Thu, Aug 21, 2008 at 11:50 PM, tora - Takamichi Akiyama 
 [EMAIL PROTECTED] wrote:
 [...]
 So, in your case, building a module 'scripting' failed and/or
 'deliver' command has not been executed in the module yet,
 or the module has not been built at all.

 What should I do now?

cd to the $SRC_ROOT/scripting directory and try to run build there

 export CC=ccache gcc
 export CXX=ccache g++


 I don't know whether ccache works fine for building current OOo.

 It is recommended by OOo team :). For faster build time.

Yes, and it definitely works. (although I prefer the symlink approach,
not the environment variables, but that doesn't matter)

 The command 'dmake' works depending on its own dependency files.

 In my first try,  cd DEV300_m29; dmake cannot be found, so I specify its
 full path.
 Ignore it.

No, Don't ignore it. Since that clearly shows that something is wrong
with your environment. Better work on fixing it before trying
workarounds that break in even more obscure ways.

If you cannot just run dmake after sourcing the environment file,
then something is really wrong, and you should post your environment
file.

  export CXXFLAGS=-Werror
 export CFLAGS=-Werror -fvisibility=hidden

This doesn't work. And it is begging for build-problems. Only enable
-Werror after you finished a build successfuly. Only fiddle with
additional compiler flags once you succesfully finished a plain build.
Furthermore these two are unneccessary anyway. configure checks for
the visibility feature anyway, and if you want warnings=errors, pass
--enable-werror to configure.

 ./configure --prefix=$HOME \
--disable-cups \

Don't want to print with your OOo on modern distros/make use of cups features?
Hmm...

--disable-pam \
--with-jdk-home=/usr/local/jdk1.6.0_07/ \

OK, but...

--disable-mozilla \
--disable-qadevooo \
--without-system-stdlibs \
--disable-odk \
--with-use-shell=bash \
--with-vendor=Vietnamese Localization Build \
--disable-vba \
--with-use-shell=bash \

this is specified twice...

--with-ant-home=/usr/local/ant/ \
--without-java \

and this is a problem.

 Looks too complicated. I cannot make any comments on that...

I can..

 I just tried to disable anything I don't need.
  --with-jdk-home=/usr/local/jdk1.6.0_07 and  --without-java seems to be
 abnormal but I hope it is fine(?).

No. apparently it is not. and jar sounds like it is java, isn't it?
So when you tell OOo not to use java during the build, it cannot
compile java stuff...

 Question: Why with  --without-java, dmake still looks for a .jar file?

Congratulations, you found a dependency bug.

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] At the end of the OpenSolaris 2008.05 adventure tour...

2008-08-21 Thread Christian Lohmaier
Hi Ulf,

On Thu, Aug 21, 2008 at 7:09 PM, Ulf Wendel [EMAIL PROTECTED] wrote:
 (Those who missed a few mail: I did try on purpose to compile OOo 3.0 M28 on
 OpenSolaris 2008.05 although its not a supported/recommended development
 platform )


 At the end of the OpenSolaris 2008.05 adventure tour is JDK 1.5.

 OpenOffice requires JDK 1.5. OpenSolaris 2008.05 comes with JDK 1.6. I tried
 compiling OpenOffice 3.0 M28 against JDK 1.6 . I was not too successfull.
 But hey, OOo does not promise to compile with JDK 1.6 - no deal!

AFAIK only hsqldb module had problems with JDK 1.6

 OpenSolaris 2008.05 does not offer JDK 1.5 packages. You may try to install
 a JDK using a download package from java.sun.com. However, the Solaris
 packages of JDK 1.5 are build against Motif 2.1. And there is no Motif
 package for OpenSolaris 2008.05. As far as I understood it, the lawyers are
 working to make the two worlds compatible :(.

IIRC you can tell java not to use any motif stuff/operate in some kind
of headless mode as well.
-Djava.awt.headless=true might be worth a try.

 [...]

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Starting more than one OO instance parallel

2008-08-20 Thread Christian Lohmaier
Hi Bastian,

On Wed, Aug 20, 2008 at 12:02 PM, Bastian Preindl
[EMAIL PROTECTED] wrote:

 Is there a possibility to start more than one soffice.bin process at a time
 on both MacOS and Linux? At the moment a second soffice.bin process
 immediately quits after startup if an instance is already running.

Start OOo with a dedicated user-configuration directory:

soffice -env:UserInstallation=file://home/user/ooouserdirectory

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Compile error: external/common/apache-ant[...] not found @ OpenSolaris snv 95

2008-08-19 Thread Christian Lohmaier
Hi Ulf, *,

On Tue, Aug 19, 2008 at 10:41 AM, Ulf Wendel [EMAIL PROTECTED] wrote:

 Any hints on this compile error ?

This:

 --with-jdk-home=/usr/jdk/latest/

in combination with:

 --without-java

Is pretty pointless, isn't it?

 --with-epm=internal --with-system-libxml
  --with-system-python
 [...]
 Building module hsqldb
 [...]
 /export/home/nixnutz/oo.org-m28/external/common/apache-ant-1.7.0/bin/ant: No
 such file or directory

And? Does it exist/did it exist but not anymore?

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Could not open include file jni.h. @ OOo 3.0 M28 @ OpenSolaris svn 95

2008-08-19 Thread Christian Lohmaier
Hi *,

On Tue, Aug 19, 2008 at 10:05 PM, tora - Takamichi Akiyama
[EMAIL PROTECTED] wrote:
 [...]
 I recommend JDK 1.4.1_03 since it has been absolutely used
 by the release engineer of OpenOffice.org for years.

No, use JDK 1.5, the baseline will be raised shortly. 1.4 will no longer work.

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] build or packaging problem

2008-08-14 Thread Christian Lohmaier
Hi Michael,

On Thu, Aug 14, 2008 at 1:04 AM, Michael Strobel
[EMAIL PROTECTED] wrote:
 For some reason I can not install the RPM packages built under a RHEL4 on
 that system. The RPM package manager complains about some files missing in
 the packages, but they seem to be built properly, e.g. libvcl680li.so is
 missing according to the package manager,

As OOo packages don't have auto-requirements or lib-requirements set,
but only package-names, this means that your packages were not created
the usual way.
Either you did not use a correct version of epm, or your rpm ignores
the no-automatic requirements setting.

 but at least it exists under
 ../vcl/unxlngi6.pro/lib/ in my build. Any ideas why it is not in the
 packages?

Sure that it really is not in the package? As opposed to being listed
in requirements/requires.

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] build or packaging problem

2008-08-14 Thread Christian Lohmaier
Hi Michael,

On Fri, Aug 15, 2008 at 12:55 AM, Michael Strobel
[EMAIL PROTECTED] wrote:

 Either you did not use a correct version of epm, or your rpm ignores
 the no-automatic requirements setting.

 Which one is the correct version of epm? I got 4.1 from epmhome.org for the
 build.

correct=patched as needed by OOo. At least the older versions of epm
needed a patch to make the packages relocatable and to fix the
dependency generation stuff. Not sure whether it is still required for
4.1 (probably not for making it relocatable, but maybe still for the
requirements) - I always use the internal rpm that is included with
the OOo sources.

But if the info below is correct, this is not the cause of the problem.

 Sure that it really is not in the package? As opposed to being listed
 in requirements/requires.

 Quite sure. I installed the packages I got with rpm's --force switch,

Using --force is almost always a bad idea. Better use only --nodeps if
you want to ignore the dependencies.

 which
 results in complaints about the missing lib(s) when I try to start OOo.

So OOo itself complains about the missing libvcl680li.so? And what
other libs does it complain about?

You didn't write what codeline/Milestone you work on, for but that lib
should be in the core04 package.
(for OOO300 without the 680, just libvclli.so, so I assume it is OOH680?)

Did you check that the lib is in the solver? (and not only in vcl)?
And sure that the successfull packaging process belongs to the
OpenOffice.org product and not, for example to the SDK?

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] m29_LinuxIntel snapshot has no RPMs

2008-08-14 Thread Christian Lohmaier
Hi Joe,

On Fri, Aug 15, 2008 at 12:11 AM, Joe Smith [EMAIL PROTECTED] wrote:
 I'm trying to install the latest snapshot on a Fedora Linux system.
 Normally, I can use rpm to install the packages in the LinuxIntel tarball.

 However the latest snapshot has no RPMs:
 [...]
 Any suggestions?

It was planned to only provide cws-builds in that form, and keep with
packages for the regular Milestone builds. m30 will have RPMs again.

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Compiling OOo 3.0 m28 @ OpenSolaris snv_94

2008-08-12 Thread Christian Lohmaier
Hi Ulf, *,

On Tue, Aug 12, 2008 at 3:45 PM, Ulf Wendel [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED]:~/oo.org-m28/config_office$ cc -V
 cc: Sun Ceres C 5.10 SunOS_i386 2008/04/04
 usage: cc [ options] files.  Use 'cc -flags' for details

 But OpenOffice wants an older version:

I doubt that. (and if I'm wrong: The guy/gal who wrote the config
check should have added an appropriate comment in that case).

 checking for cc... /opt/SunStudioExpress/bin//cc
 checking the SunStudio C/C++ compiler version... configure: error: found
 version 5.10, use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++
 compiler

The configure check is like that:
_sunstudio_minor=`echo $_sunstudio_version | $AWK -F. '{ if ($2 == 5)
print true; else if ($2 == 7) print true; else if ($2 == 8) print
true; else if ($2 == 9) print true; else print false }'

So from my understanding two-digit minor versions have just not taken
into account at all.
I'd suggest forcing that check to true and try with the 5.10 compiler.

 [building with gnu cc also requires gnu ld]
 OpenSolaris does ship with a GNU ld which I could use (in theory) but
 configure will ignore it:

 [EMAIL PROTECTED]:~/oo.org-m28/config_office$ /usr/gnu/bin/ld  -v
 GNU ld version 2.15
 [EMAIL PROTECTED]:~/oo.org-m28/config_office$ CC=gcc LD=/usr/gnu/bin/ld
 [...]
 checking gcc linker... configure: error: failed (not GNU ld). Use GNU ld
 instead of Sun ld on Solaris

Even if configure would be happy with that, the build would break
nevertheless, since it doesn't call $LD, but does as configure does:
running the compiler with the linker-mode flags.

 Looks like an OpenSolaris matter to me:

 [EMAIL PROTECTED]:~/oo.org-m28/config_office$ ls
 /usr/X11/include/X11/Xaw
 ls: cannot access /usr/X11/include/X11/Xaw: No such file or directory

Well - either that package is not installed, or the path just is wrong.

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] how to disable print option in openoffice document

2008-08-04 Thread Christian Lohmaier
Hi Ramesh,

On Mon, Aug 4, 2008 at 12:13 PM, rameshkancherla
[EMAIL PROTECTED] wrote:

  This is Ramesh kancherla. I am doing in openoffice related project. I
 have to disable print option in open office document using programatically
 when user doesnt has print option on that document.
 if user has print permission in  another document i have to show print.
 can any one please tell me how do i enable or disable print option through
 programatically.

See http://api.openoffice.org/servlets/ReadMsg?listName=devmsgNo=17877

HTH,
ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Re: vanilla linux builds

2008-07-27 Thread Christian Lohmaier
Hi *,

On Sun, Jul 27, 2008 at 7:08 PM, Fridrich Strba
[EMAIL PROTECTED] wrote:
 [upstream build environment]
 So a vanilla Fedora 3, RHEL4 or CentOS4 is compiler-wise compatible with
 upstream, just needed to add a java 1.4.x and it is ready to go (1.5.0
 should be ok for QA too).

Java 1.4 will soon not work anymore...

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] vanilla linux builds

2008-07-22 Thread Christian Lohmaier
Hi *.

On Tue, Jul 22, 2008 at 10:48 AM, Caolan McNamara [EMAIL PROTECTED] wrote:
 Do we have a buildbot or any other piece of infrastructure that is
 capable of providing an installset that uses or matches the buildsystem
 of the vanilla linux builds provided by www.openoffice.org

 i.e. i386, builds with the same compiler, builds with the vclplugs,
 provides rpms, installs cleanly on oldest qa-used platforms.

Well - if the O3-Iso http://wiki.services.openoffice.org/wiki/O3-build
would have the GTK stuff needed to build the vclplugs, the O3-bot
would match those requirements.

Until then you only get rpms that (should) run on the oldest systems,
but without the vlcplugins/filepickers...

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Troubles building DEv300_m20: dictmgr.hxx is missing

2008-06-20 Thread Christian Lohmaier
Hi Giuseppe,

On Fri, Jun 20, 2008 at 11:02 AM, Giuseppe Castagno
[EMAIL PROTECTED] wrote:

 while building DEV300_m20 tag I came across this:

 ...
 lingucomponent/source/lingutil/lingutil.cxx:62:23: error: dictmgr.hxx:
 No such file or directory
 lingucomponent/source/lingutil/lingutil.cxx: In function
 '_STL::vectorSvtLinguConfigDictionaryEntry, _ST

New module: hunspell

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] deliver's verbosity

2008-06-12 Thread Christian Lohmaier
Hi *,

On Wed, Jun 11, 2008 at 8:56 PM, Pavel Janík [EMAIL PROTECTED] wrote:
 On 11.6.2008, at 20:49, Frank Schönheit - Sun Microsystems Germany wrote:

 just noticed that in m18, deliver isn't as gossipy as before: doing a
 deliver in a module just prints
  deliver -- version 1.127
  Module 'module' delivered successfully. x files copied, y files
unchanged.
 ...

 Is there an option I missed? If not, is there a possibility to introduce
 one?

 VERBOSE=TRUE

sighWhy was it changed again?/sigh

I could live with build --deliver as called during a build ist silent,
but deliver called directly was verbose.
What is the rationale behind making deliver itself silent?

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Interest in developing a native barcode generator based on BWIPP

2008-05-18 Thread Christian Lohmaier
Hi Terry, *,

On Sun, May 18, 2008 at 12:58:09AM +0100, Terry Burton wrote:
 
 I would like to recommend my open source PostScript barcoding library,
   ^^

That is a big problem, as OOo doesn't support PostScript for
display/exporting to PDF, only when printing to postscript printers the
postscript code can be used effectively.

 [...] 
 The most straightforward approach would be the creation of a dialog
 (say Insert - Object - Barcode...) that accepts the parameters for
 the barcode, creates the correponding EPS code (this is what BWIPP
 makes completely trivial)

OOo can only display (and export to PDF) the preview part of an EPS
(although it can use external programs to create a preview when the eps
doesn't provide one) - So a postscript/eps based solution doesn't
really fit.

But that's just my POV.

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Ubuntu Linux OO.o compile errors

2008-05-17 Thread Christian Lohmaier
Hi *,

On Fri, May 16, 2008 at 07:34:58PM -0400, Chris Brown wrote:
 Thanks for the response. I downloaded cairo, made it, and installed it. It
 was a newer version, libcairo.so.2.17.15...the one that was erroring out was
 libcairo.so.2.17.3. Hopefully this will do it. Ill know in about 5 hours :)

When building with cairo, you almost certainly need to specify
--with-sytem-freetype, since the that is in OOo's sources just is too
old.

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] How to set the GUI language when building?

2008-05-09 Thread Christian Lohmaier
Hi *,
On Fri, May 09, 2008 at 04:40:15PM +0800, Ma Zhenyu wrote:
 I builded the code from web, and got the installation of english version?
 
 So I want to ask one question is:
 how to build Ooo of other language version, such as japanese or chinese
 language,
 need I download other code? Or just change some setting?

You need to run configure with the --with-lang=list of language-codes
options. See configure --help for samples.

if you want to create languagepacks, you can run dmake ooolanguagepack
in instsetoo_native/util after you built the whole thing.

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] CWS upload area

2008-05-08 Thread Christian Lohmaier
Hi *,

On Thu, May 8, 2008 at 5:53 PM, Caolan McNamara [EMAIL PROTECTED] wrote:

 Be super neat if our build-bots could be tweaked to directly (if the
 person building asks for it) upload their output install sets to it.

Why should the buildbots uplad to a different server? Can't the
termite one handle the current request? I mean all the buildbots that
do upload installsets, upload to the termite (buildbot) server...

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Installing OOo 2.4.0 and DEV300m5 in parallel on Ubuntu

2008-04-01 Thread Christian Lohmaier
Hi Michele,

On Mon, Mar 31, 2008 at 06:21:09PM +0100, Michele wrote:
 
 I would like to install OOo2.4 with the DEV300m5 in parallel on my ubuntu
 box, but I don't know how. They are both called openoffice, so when i try to
 install dpkg *substitutes* one version with the other.
 
 I have found this command for RPMs in an old setup guide:
 
 rpm -ivh --install --dbpath /home/user1/office/.rpm --nodeps --prefix
 /home/user1/office/ openoffice*.rpm
 
 where /home/user1/office/.rpm is the directory where the second installation
 should be.

No - that's where an alernative rpm's database is placed. The
installation files of OOo itself would be placed to /home/user1/office/

But I wouldn't recommend this installation method to anybody (unless you
want to check the dependencies and stuff, the installation itself, but
the the nodeps is pointless (yes, otherwise you would have to install a
dummy package that provides a shell, but there is a dummy rpm that
does this).

So unless you want to check the update procedure of the packages (then
the -i would be pointless, instead you should use -U, btw one of -i or
--install is enough): Don't use the above method.

 Is there an equivalent command for dpkg? is there an alternative method
 altogether?

Just extract the rpms: 
for i in *.rpm; do rpm2cpio $i | cpio -idmv ; done
(or use your favourite file-manager/archive manager)

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] source code for extensions and CVS modules

2008-02-15 Thread Christian Lohmaier
On Fri, Feb 15, 2008 at 01:24:39PM +0100, Martin Hollmichel wrote:
 
 I would like to reming every developer of extensions for OpenOffice.org 
 to do a clear separation of the code getting into the actual extension 
 and code that might be necessary to package with the Office installation 
 set. To support our modularization effort, I will not add any extension 
 module to the OpenOffice2 alias in CVS. I'm going to introduce a 
 separate alias for extensions.

So so much to no open build problems known :-/

(scext missing from the alias and breaking the build if not present)

ciao
Christian
-- 
NP: Bush - Swim

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] dmake fails to build pyuno module(regcomp failed)

2008-01-04 Thread Christian Lohmaier
Hi Stanley, *,

On Dec 31, 2007 2:39 AM, Stanley Peng [EMAIL PROTECTED] wrote:
 I got a problem when compiling pyuno module on loongson 2E platform (mips64
 arch). The following is the message, Would you
 please do me a favor to find the reason? Thx.
 [...}
 dmake:  Error code 1, while making
 '../../unxlngmips.pro/lib/pyuno_services.rdb'
 ---* tg_merge.mk *---
 [EMAIL PROTECTED]:~/build/ooo/openoffice.org-2.3.0
 /build/pyuno/source/loader$

Does running build in pyuno multiple times help to overcome the error?

If yes, then it is the same problem I'm having on Mac (PPC) from time to time.

Rebuilding cpputools with debug=true might help as well in that case.

I have no clue as on why it fails, but if it is the same behaviour as
on Mac, then expect similar breaks in testtools.

see http://qa.openoffice.org/issues/show_bug.cgi?id=82955 and
http://www.openoffice.org/issues/show_bug.cgi?id=84730

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Multilanguage documents

2007-11-11 Thread Christian Lohmaier
Hi *,

On Nov 11, 2007 3:54 AM, jonathon [EMAIL PROTECTED] wrote:
 Rony wrote:

  FWIW: MS Word has been having that ability for quite a few versions now.
  There one would use the Language tab on styles to define what language
  it is used for (on that dialog one is able to turn off grammar- and 
  spell-checking).

 How is that different from implementing language specific styles in OOo?

Please don't confuse KAMI's feature-request with the stuff described
in this excerpt.
Of course you can already assign different languages to different
parts of your document
and that language will be used for spell-checking, hyphenation and
will affect things like
autocorrect/autoformat (replacement of typographic quotes for example)
- if you choose
the language none, no spell-checking, hyphenation is performed.

But this is something fundamentally different from displaying
different content depending
on what language the user uses. A french version of OpenOffice.org
would display something
different than an english version.

This could be simulated by using different sections that are hidden or
shown depending on
the language the user uses, but this would be a macro-based solution
(either by letting the
user choose, or by assigning the macro to the open document action)
- but this of course
requires the user to have macros enabled

All in all, I don't quite see the usefulness of a feature that
displays different content depending
on the language of the surrounding application, but maybe there is a
need I just don't see.

Also I don't see why a style should be language-dependent, but chances
are good, that I
just don't understand what is meant with that. (As I understand it, it
would be the opposite
compared to how OOo now works. The style determines the language that
is assigned to
the text and not the language of the text determines how it is formatted)

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  1   2   >