Re: [dev] Openoffice build woes - Ubuntu
On 07.06.2010 07:31, Aditya Manthramurthy wrote: Entering /home/aditya/Code/ooo/ooo-try/instsetoo_native/util dmake: makefile.mk: line 216: Error: -- Missing targets or attributes in rule 1 module(s): instsetoo_native need(s) to be rebuilt Reason(s): Attention: if you fix the errors in above module(s) you may prolongue your the build issuing command: build --all:instsetoo_native === Line 216 in instsetoo_native/util/makefile.mk has something to do with jre, and I am building without Java support. Is that the problem? Without a closer analysis, that's possible. I hope that someone else can comment on that. Perhaps you can comment out everything containing withjre as a workaround? BTW: did you notice the --enable-gnome^Cfs in your command line for configure? Is that a CP error in the mail or did you use it that way? Regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to nospamfor...@gmx.de. I use it for the OOo lists and only rarely read other mails sent to it. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] pdf import programmatically
Hi all, I am trying import pdf files to edit. I've installed the sun pdf import with openoffice 3.1. Pdf files seem to open fine in draw when i open it from the desktop. However, when i use the loadComponentFromURL method, it opens the file with writer and encoded text appears. I've also tried passing in MediaType in the mediadescriptor with the value of simpress8 but it doesn't work. How can i programmatically force it to open with draw and return a XComponent object? Thanks. Cheers, Wei Min _ Hotmail: Trusted email with powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969
[dev] Re: Build DEV300_m63 errors on linux
On 05/06/2010 02:58, xiaofen...@iscas.ac.cn wrote: /var/tmp/rpm-tmp.72496: line 55: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.72496 (%install) it seems your /bin/sh does not support job control? sorry, no idea what could cause this problem. is there any shell today that is so primitive that it doesn't have job control? at least dash seems to have it. maybe you could try symlinking /bin/sh to /bin/bash... ERROR: Error 65280 occurred while making /root/disk2/DEV300_m63/sysui/desktop/redhat any reason why you try to build such an old milestone? current is m80, maybe you'll have better luck with that :) -- The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Re: Error while building on Kubuntu
On 05/06/2010 21:55, addy1in...@gmail.com wrote: dmake: Error: -- `COPYING' not found, and can't be made ERROR: Error 65280 occurred while making /media/C_DRIVE/OpenOfficeBuild/OOO320_m12/dictionaries/de_AT sorry, no idea about your problem. perhaps it is as simple to work around as creating a file COPYING in the right directory. you are trying to build an outdated milestone; maybe it had a problem and it is fixed in a later milestone. the latest OOO320 milestone is m19, maybe you'll have better luck with that. -- The question of whether a computer can think is no more interesting than the question of whether a submarine can swim. -- Edsger W. Dijkstra - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Adding Java based Indian Input Methods to Open Office
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. 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. Below is my requirement: 1. Ability to input all Indian languages in the same document along with English 2. Ability to switch thru the Input methods via a (configurable) hot key such as (CTRL + SPACE) \ 3. Ability to display the active input method on the status bar (at the bottom) 4. Ability to display the active Locale on the status bar (at the bottom) 5. Ability to select a input method from menu system or via status bar pop-up menu (that we get by right click) 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). 2. What are the that require to be modified? (I am being lazy here... :) ) Hoping to hear from you soon. Regards, Harsha http://brahmi.sourceforge.net
[dev] UNO - JAVA
I tried to get Uno - Java working .. I encountered the most basic problem: Could not get OpenOffice 2.0 and the corresponding SDK to run it in Eclipse. As I see it to get this out to users programmers must have an easy way to access the tools.. I can't even get it started! Recommendation: One Jar file to go! Also.. 99% of your examples use VB Script. Great.. problem is most programmers who are looking at OenOffice don't like Microsoft, their products, or their code (i.e. VBScript) I am willing to help on the documentation front but you first must give me a simple Jar to start.
Re: [dev] Error while building on Kubuntu
Hi addy1injoy, On Saturday, 2010-06-05 19:55:09 +, addy1in...@gmail.com wrote: I am trying to perform an OOo build on kubuntu 9.04 ^^^ /media/C_DRIVE/OpenOfficeBuild/OOO320_m12/dictionaries/de_AT ^^^ It appears to me that you attempt a Linux build on a FAT(32) type partition. That simply doesn't work, i.e. symbolic links are not supported by FAT and therefor some targets can't be created. Eike -- OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer. SunSign 0x87F8D412 : 2F58 5236 DB02 F335 8304 7D6C 65C9 F9B5 87F8 D412 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't send personal mail to the e...@sun.com account, which I use for mailing lists only and don't read from outside Sun. Use er...@sun.com Thanks. pgprdMMeO4av7.pgp Description: PGP signature
Re: [dev] Re: [dev-fr] Rapports de bugs
Hi Björn, Sorry, but this message has been sent to d...@fr.openoffice.org and qa-t...@fr.openoffice.org francophone mailing lists. It is intended for francophone NLC project. Probably a mistake by gmane.org if you have read it on gmane.comp.openoffice.devel.general JBF Le 06.06.2010 15:20, Björn Michaelsen a écrit : Hi Jean-Baptiste, Could you please at least add a short english summary to your mail when (cross-)posting to an english list? My french is quite rusty and other might be even worse off (especially given that google translations of your mail provides interesting results). As is, most wont be able to tell why the content of the mail shall be worth an manual translation. Best Regards, Bjoern Am Sun, 06 Jun 2010 14:07:42 +0200 schrieb Jean-Baptiste Faure jbf.fa...@laposte.net: Le 03.06.2010 09:12, Cédric Bosdonnat a écrit : Bonjour Bruno, Le mercredi 02 juin 2010 à 21:48 +0200, Bruno Friedmann a écrit : C'est même souvent mieux, c'est mon cas avec openSUSE, Comme c'est super facile de remonter les bugs chez eux, et l'équipe en charge remonte upstream sur oogo. Je sais, je fait partie de cette equipe aussi ;) Bon je parle et écris l'anglais : ce qui est souvent un frein pour l'utilisateur de base. Mais très souvent c'est nécessaire, et en plus il y a souvent des confirmations ou expérimentations supplémentaires à faire. (et la ça dépasse souvent la compétence de l'utilisateur lambda ... ) Merci beaucoup pour ton aide. N'hesite pas a motiver d'autres personnes de ton entourage pour mieux repartir le travail. JBF, Gilles: comment utiliser au mieux les outils du projet francophone pour lancer cette equipe? A bientot, Bonjour Cédric et tous, Vous voudrez bien m'excuser d'avoir tardé à répondre mais j'étais en déplacement cette semaine. Tout d'abord je veux remercier Cédric pour cette excellente initiative. Pour moi l'outil de base devrait être la liste qa-t...@fr avec éventuellement des relais sur d...@fr. Actuellement le travail de remontée des problèmes signalés sur us...@fr n'est pas formalisé, il repose sur l'initiative de ceux qui suivent la liste d'entraide. La difficulté est qu'il faut faire la distinction entre ce qui est un bug entre la chaise et le clavier et ce qui est possiblement un bug de OOo et donc demande quelques tests plus approfondis. Je pense qu'une première étape pour constituer une telle équipe serait de faire le point sur les participants intéressés avec les informations suivantes : - le ou les OS sur lesquels ils peuvent réaliser des tests complémentaires avant de remonter un bug sur IZ - le ou les modules qu'ils pratiquent le plus, voire même les compétences inter-modules spécifiques, telles que le publipostage, l'utilisation de documents maître, la liaison avec des données externes, le déploiement de OOo, l'écriture de macro, etc. - s'ils ont ou non le droit canconfirm sur IZ. Par ailleurs, afin de ne pas remonter des bugs déjà connus, il est utile de se tenir au courant des nouveaux bugs rapportés sur IZ. Il existe un fil RSS qui fournit la liste des nouveaux rapports de bugs 2 fois par jour. On trouve ce fil sur le planet OOo (http://planet.services.openoffice.org/) dont le lien est disponible sur la page d'accueil du site FR. Sur le plan procédural, je pense qu'il y a deux étapes, la première relève de sentinelles sur la liste us...@fr (mais aussi peut-être ailleurs) qui d'une part détectent les possibles bugs et envoient une alerte sur qa-t...@fr pour approfondissement et d'autre part informent la liste us...@fr quand un bug déjà connu est rapporté qu'il s'agit en effet d'un bug connu. La seconde étape se passerait plutôt sur qa-t...@fr avec un travail de précision du scénario de reproduction du défaut, une recherche de doublon sur IZ et enfin, si nécessaire, un rapport sur IZ, confirmé par quelqu'un ayant le droit canconfirm. Voilà mon point de vue pour le moment. Qu'en pensez-vous ? Bonne journée JBF - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org -- Jean-Baptiste FAURE Responsable du projet OpenOffice.org Francophone http://fr.openoffice.org Seuls des formats ouverts peuvent assurer la pérennité de vos documents. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Openoffice build woes - Ubuntu
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
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] UNO - JAVA
On Sun, Jun 6, 2010 at 5:03 AM, Erik Minor erik.mi...@oculus-inc.com wrote: I tried to get Uno - Java working .. I encountered the most basic problem: Could not get OpenOffice 2.0 and the corresponding SDK to run it in Eclipse. Please try a more updated version with 3.2.1 and not 2.0, the bridge might have been broken, 2.0 was launched almost 5 years ago. As I see it to get this out to users programmers must have an easy way to access the tools.. I can't even get it started! I have tried NetBeans and OOo and is pretty easy, I did a demo with it a couple of weeks ago. Recommendation: One Jar file to go! Actually the bridge creates an extension with a .oxt file. Also.. 99% of your examples use VB Script. Great.. problem is most programmers who are looking at OenOffice don't like Microsoft, their products, or their code (i.e. VBScript) Is actually OOo Basic, not VBscript, OOo Basic is the language with UNO framework and the scripting language. Only similarity with vbscript is that both scripts are based on basic bu tthe API is different. I am willing to help on the documentation front but you first must give me a simple Jar to start. There are some sample oxt with java in it, also make sure to go to codesnippets and the forum, both offer good examples. -- Alexandro Col OpenOffice.org Español http://es.openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] UNO - JAVA
Hi Erik, Le dimanche 06 juin 2010 à 06:03 -0400, Erik Minor a écrit : I tried to get Uno - Java working .. I encountered the most basic problem: Could not get OpenOffice 2.0 and the corresponding SDK to run it in Eclipse. Hum, OOo 2.0 is quite old and I'm not sure if it is still supported in OOEclipse. You should have a try with some newer OOo / SDK version as some important installation changes have occurred since then. Don't hesitate to ping me if you find out some bug in the OOEclipse plugins. Regards, -- Cédric Bosdonnat Go-oo hacker http://go-oo.org OOo Eclipse Integration developer http://cedric.bosdonnat.free.fr - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] subsequenttests
On 31.05.2010 10:24, Stephan Bergmann wrote: Just a reminder. As announced (http://www.openoffice.org/servlets/ReadMsg?list=interface-announcemsgNo=1266 cwscheckapi replaced with subsequenttests), subsequenttests is the new tool to run all kinds of OOo developer tests (that require a complete installation set to test against), particularly replacing cwscheckapi. With CWS sb120 integrated in DEV300_m80, the framework and tests will hopefully be reliable enough for actual use, see http://tools.openoffice.org/servlets/ReadMsg?list=tinderboxmsgNo=360 new step for buildbots. Developers are encouraged to run subsequenttests now, similarly to how they ran cwscheckapi in the past. See the first link above for details. Due to a code change in CWS sb120, Gregor's buildbot framework will no longer patch away the subsequenttests step in DEV300_m80, so most of the buildbots (those running on Gregor's framework) will automatically start to include that step. There are apparently problems with X11 on some of the bots (see the second link above), and there might still be sporadic failures (see http://wiki.services.openoffice.org/w/index.php?title=Test_Cleanup#unoapi_Tests_2), potentially causing buildbot builds to go red. I leave it up to Gregor to disable any test steps again that turn out to cause trouble; please inform him about problems you encounter. (Due to vacation schedules, we probably won't be able to track down those X11 problems for the next two weeks.) As expected, all build bots that don't skip that test, break. Some of them, as expected, because of DISPLAY problems, some others because they can't generate a PDF file in some of the test (what apparently worked in CWS sb120). Do we nevertheless want to keep these tests running on the build bots. Side effects of this will be that all CWS based on m80 and later will have status red in EIS. Regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to nospamfor...@gmx.de. I use it for the OOo lists and only rarely read other mails sent to it. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Openoffice build woes - Ubuntu
Hi, On Monday 07 June 2010 03:54 PM, Christian Lohmaier wrote: 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 Yes it is. I got it from a user on IRC (janneke) who told me that this line worked for Ubuntu 10.04 (it still has not worked for me yet!) Thanks for all your suggestions. I have cleaned up my configure line, so that it looks like this now: ./configure --disable-binfilter --disable-crashdump --with-use-shell=bash --without-java --without-gpc --with-openldap --with-build-version=3.2.0 --without-fonts --with-unix-wrapper=ooffice3.2 --enable-evolution2 --enable-dbus --with-alloc=system --with-vba-package-format=builtin --enable-cairo=yes --enable-gtk --without-myspell-dicts --enable-gnome-vfs --enable-crypt-link --enable-pam-link --with-dynamic-xinerama --enable-xsltproc --with-linker-hash-style=both --with-gcc-speedup=ccache --with-git --with-git-managed --enable-symbols --disable-mono --disable-kde --disable-kde4 --with-mingwin=/usr/bin/i586-mingw32msvc-g++ --with-system-libs --with-system-headers --without-system-lucene --without-system-saxon --without-system-agg --without-system-lpsolve --without-system-mythes Any suggestions? lucene, saxon, agg, lpsolve, mythes all won't accept the system libraries for some reason, so they are all with a --without-system- prefix above. It is building right now. But I somehow feel pessimistic :-( --disable-epm Don't want installsets in deb-format? Your choice. I don't understand what this means. Can you please explain? --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. When I try to build with java, the configure system wants a file called saxon.jar, which I have in my distro from the libsaxon-java package but it's not the right version because the configure script exits with this error: checking if saxon works... no configure: error: saxontest could not be compiled, non-functional saxon jar I am not sure how I can fix this, so I've disabled java itself for now. I'd like a configure line for Ubuntu 10.04 Lucid that actually worked for someone. Also, Mathias Bauer's suggestion did not work for me. Commenting out the withjre from that makefile also failed. Any help is appreciated! -- Aditya. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Openoffice build woes - Ubuntu
Am Mon, 07 Jun 2010 19:05:12 +0530 schrieb Aditya Manthramurthy aditya@gmail.com: /configure --disable-binfilter --disable-crashdump --with-use-shell=bash --without-java --without-gpc --with-openldap --with-build-version=3.2.0 --without-fonts --with-unix-wrapper=ooffice3.2 --enable-evolution2 --enable-dbus --with-alloc=system --with-vba-package-format=builtin --enable-cairo=yes --enable-gtk --without-myspell-dicts --enable-gnome-vfs --enable-crypt-link --enable-pam-link --with-dynamic-xinerama --enable-xsltproc --with-linker-hash-style=both --with-gcc-speedup=ccache --with-git --with-git-managed --enable-symbols --disable-mono --disable-kde --disable-kde4 --with-mingwin=/usr/bin/i586-mingw32msvc-g++ --with-system-libs --with-system-headers --without-system-lucene --without-system-saxon --without-system-agg --without-system-lpsolve --without-system-mythes Any suggestions? lucene, saxon, agg, lpsolve, mythes all won't accept the system libraries for some reason, so they are all with a --without-system- prefix above. It is building right now. But I somehow feel pessimistic :-( Well, for starters a simple configure like: ./configure --disable-binfilter --disable-mozilla --without-junit \ --with-use-shell=bash should do on pretty much every linux disto. It might build more stuff than you need (because it does not use your system libs), but it is a lot saver (because it uses the stuff in the office repositories). I would suggest to start with that and if only if that works to go and try the more fancy configure switches, if needed. see also: http://cedric.bosdonnat.free.fr/wordpress/?p=637cpage=1 http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide Best Regards, Bjoern - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Openoffice build woes - Ubuntu
On 06/07/2010 03:35 PM, Aditya Manthramurthy wrote: I'd like a configure line for Ubuntu 10.04 Lucid that actually worked for someone. Also, Mathias Bauer's suggestion did not work for me. Commenting out the withjre from that makefile also failed. Any help is appreciated! If you don't insist on using everything from system - my configure line for Ubuntu is just --with-use-shell=bash --disable-build-mozilla and it works if I have installed the following packages before: g++ bison flex libarchive-zip-perl libcups2-dev libpam0g-dev sun-java6-jdk gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev libxrandr-dev patch libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev junit4 AFAIK building with system libs also works on Ubuntu, but I never tried it myself. Your configure cmd line is *much* too big, probably because it was created from someone who uses the ooo-build system. Especially on Ubuntu the vanilla build seems to work better. Regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to nospamfor...@gmx.de. I use it for the OOo lists and only rarely read other mails sent to it. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org