I attached an ebuild that builds OpenOffice in the language give by LANGUAGE and also installs the help files in that language. If the language is not available a warning will be displayed.
Created attachment 10088 [details] openoffice-1.0.2-r2.ebuild based on openoffice-1.0.2-r1.ebuild
Created attachment 10089 [details] digest-openoffice-1.0.2-r2
Created attachment 10090 [details] digest-openoffice-1.0.2-r2
wow, this is awesome man... the only thing i don't (really) like is that it still uses the --with-lang=ALL...that takes up about 1.9 extra gigs of space...if you have a quick fix for that, i'd be more than happy to add it to the build, i'm testin it right now
Created attachment 10095 [details] openoffice-1.0.2-r2.ebuild haven't tested it, but should work ;D
"echo "setenv RES_ENUS \"true\"" >> ${S}/${LinuxEnvSet}" is not needed. testing it right now but it takes time, even on a 2x2ghz machine ^^
btw. can you set the default of ${ECPUS} to the output of `cat /proc/cpuinfo | grep processor | wc | awk '{print $1}'` so that it matches the number of cpus?
hrm, you know whats not working for me? spellcheck... this happens with my -r1 version also...OOo uses myspell.... let me dig around, tell me if yours works with your language support
also, the unset LANUGAGE and LANG at the top of oo_setup...that might have to go =)
i'm a little hesitent to set ECPUs to anything, as i've had some problems with dmake segfaulting when ECPUs was anything greater than 1. i have a duallie also...anyway i'm going to check it out =)
I installed the spellcheck via ooodi and then selected it in openoffice, working fine here. "also, the unset LANUGAGE and LANG at the top of oo_setup...that might have to go =) " <-- sorry, do not understand what you wan't to say ;D
My emerge always fails with an error now: /var/tmp/portage/openoffice-1.0.2-r2/work/oo_1.0.2_src/basctl/source/basicide/basiclib.cxx:77:23: dllname.hxx: No such file or directory /var/tmp/portage/openoffice-1.0.2-r2/work/oo_1.0.2_src/basctl/source/basicide/basiclib.cxx: In function `BOOL LoadLibBasicIDE()': /var/tmp/portage/openoffice-1.0.2-r2/work/oo_1.0.2_src/basctl/source/basicide/basiclib.cxx:80: `DLL_NAME' undeclared (first use this function) /var/tmp/portage/openoffice-1.0.2-r2/work/oo_1.0.2_src/basctl/source/basicide/basiclib.cxx:80: (Each undeclared identifier is reported only once for each function it appears in.) dmake: Error code 1, while making '../../unxlngi4.pro/slo/basiclib.obj' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.0.2-r2/work/oo_1.0.2_src/basctl/source/basicide and 5 lines before he says --- EXCEPTIONSFILES OVER --- rm -f ../../unxlngi4.pro/inc/dllname.hxx echo #define DLL_NAME \"libbasctl641li.so\" >../../unxlngi4.pro/inc/dllname.hxx do you know what is wrong with that? i had this problem before, but restarting emerge fixed this problem, not so now.
Ok to summarize my posts ;D The latest ebuild is working fine for me, it failed because of the use of nohup. The spellcheck also works, you have to isntall it via ooodi and then activate it in the openoffice options. ECPUS should stay 1, it also segfaults with a higher value here ;D
at the top of oo_setup() these two lines are present unset LANG unset LANUAGE i'm going to remove these, as i think they are bad news =) seth
heh alright, let me summarize what is happening to me =) I used your build (with a couple of tweaks becuase it didn't run for me with Language unset)...but right now whats happening is spell check doesn't work... If i install a spell checker via OOodi, OpenOffice simply crashes....i'm looking into how to handle this... You should try your merge with $LANGUAGE unset, you'll see what i mean.... seth
any luck man?
Oh well, I see the error :) Attached a fixed ebuild, still compiling, than I'll check the spellcheck.
Created attachment 10147 [details] openoffice-1.0.2-r2.ebuild
yeah i'm buildling too, i'm also locking down cflags...becuase i'm sick of getting bugs b/c people have agressive cflags =)
compiled fine :) can't install the spellcheck atm, cause the mirror is down :(
There seems to be a little problem. If you first du an emerge openoffice, but than decide to take another language e.g. LANGUAGE=49 emerge openoffice, portage still downloads the helpcontent01 instead of helpcontent49, any idea?
Ok regarding the last problem I posted a new bug report (18764). The ooodi mirror is still down, so I can't check the spellcheck, how is your openoffice working :)
http://whiteboard.openoffice.org/lingucomponent/download_dictionary.html try that =)
This mirror isn't woking with ooodi :(
alright, you wanna modify the ebuild so it downlaods all the language information? in all honesty, its already a 150 meg download, another 20 or so megs isn't going to kill anyone =) i still can't get it to behave, so add this to the etop of the ebuild (right under the replaceflags line) ALLOWED_FLAGS="-O -O1 -O2 -Os -mcpu -march -pipe" strip-flags it should basically be self explanatory =) seth
Do you mean all help files, this would be about 13x15MB, quite alot. The dictionaries are only about 15MB. i still can't get it to behave <-- What can't you get to behave?
the mirror is back :) i installed several dictionaries with ooodi and it's working fine :) so do you still have problems with this ebuild or is it ready to be added (with your strip flags code) to the portage-tree?
well the real problem we got is with the $LANGUAGE and the SRC_URI... i'm talkin to carpaski about it.. seth
alright i've put 1.0.3 into portage, and i'm going to try to forward port the language stuff to it =)
fine :) i think there will be no change, but i have no time to test it before next week :)
it runs =) i'm marking as fixed...keep in touch though, you know your stuff =)