Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18588 - Ebuild: Openoffice 1.0.2 with language support
Summary: Ebuild: Openoffice 1.0.2 with language support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Seth Chandler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-01 09:46 UTC by Heinrich Wendel (RETIRED)
Modified: 2003-04-17 18:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
openoffice-1.0.2-r2.ebuild (openoffice-1.0.2-r2.ebuild,19.76 KB, text/plain)
2003-04-01 09:48 UTC, Heinrich Wendel (RETIRED)
Details
digest-openoffice-1.0.2-r2 (digest-openoffice-1.0.2-r2,1.14 KB, text/plain)
2003-04-01 09:48 UTC, Heinrich Wendel (RETIRED)
Details
digest-openoffice-1.0.2-r2 (digest-openoffice-1.0.2-r2,1.14 KB, text/plain)
2003-04-01 09:48 UTC, Heinrich Wendel (RETIRED)
Details
openoffice-1.0.2-r2.ebuild (openoffice-1.0.2-r2.ebuild,20.45 KB, text/plain)
2003-04-01 14:17 UTC, Heinrich Wendel (RETIRED)
Details
openoffice-1.0.2-r2.ebuild (openoffice-1.0.2-r2.ebuild,20.38 KB, text/plain)
2003-04-03 04:19 UTC, Heinrich Wendel (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heinrich Wendel (RETIRED) gentoo-dev 2003-04-01 09:46:51 UTC
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.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-01 09:48:24 UTC
Created attachment 10088 [details]
openoffice-1.0.2-r2.ebuild

based on openoffice-1.0.2-r1.ebuild
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-01 09:48:46 UTC
Created attachment 10089 [details]
digest-openoffice-1.0.2-r2
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-01 09:48:52 UTC
Created attachment 10090 [details]
digest-openoffice-1.0.2-r2
Comment 4 Seth Chandler 2003-04-01 10:17:14 UTC
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 
 
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-01 14:17:05 UTC
Created attachment 10095 [details]
openoffice-1.0.2-r2.ebuild

haven't tested it, but should work ;D
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-01 14:25:38 UTC
"echo "setenv RES_ENUS \"true\"" >> ${S}/${LinuxEnvSet}" is not needed. testing it 
right now but it takes time, even on a 2x2ghz machine ^^ 
Comment 7 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-01 15:36:31 UTC
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? 
Comment 8 Seth Chandler 2003-04-01 18:40:42 UTC
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 
Comment 9 Seth Chandler 2003-04-01 18:42:47 UTC
also, the unset LANUGAGE and LANG at the top of oo_setup...that might have to go =) 
Comment 10 Seth Chandler 2003-04-01 23:32:37 UTC
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 =)
Comment 11 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-01 23:51:23 UTC
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 
Comment 12 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-02 00:25:06 UTC
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. 
Comment 13 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-02 03:01:11 UTC
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
Comment 14 Seth Chandler 2003-04-02 05:53:57 UTC
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 
Comment 15 Seth Chandler 2003-04-02 13:10:58 UTC
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 
Comment 16 Seth Chandler 2003-04-02 21:46:31 UTC
any luck man?
Comment 17 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-03 04:18:26 UTC
Oh well, I see the error :)

Attached a fixed ebuild, still compiling, than I'll check the spellcheck.
Comment 18 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-03 04:19:08 UTC
Created attachment 10147 [details]
openoffice-1.0.2-r2.ebuild
Comment 19 Seth Chandler 2003-04-03 04:59:30 UTC
yeah i'm buildling too, i'm also locking down cflags...becuase i'm sick of getting bugs 
b/c people have agressive cflags =) 
Comment 20 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-03 05:16:25 UTC
compiled fine :) can't install the spellcheck atm, cause the mirror is down :(
Comment 21 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-03 05:21:02 UTC
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?
Comment 22 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-04 16:14:15 UTC
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 :)
Comment 24 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-06 13:07:23 UTC
This mirror isn't woking with ooodi :( 
Comment 25 Seth Chandler 2003-04-07 16:09:12 UTC
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 
Comment 26 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-08 03:07:04 UTC
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?
Comment 27 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-08 09:41:26 UTC
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? 
Comment 28 Seth Chandler 2003-04-08 13:18:18 UTC
well the real problem we got is with the $LANGUAGE and the SRC_URI... 
 
i'm talkin to carpaski about it.. 
 
seth 
Comment 29 Seth Chandler 2003-04-10 16:45:51 UTC
alright i've put 1.0.3 into portage, and i'm going to try to forward port the language stuff to it =)
Comment 30 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-10 17:16:03 UTC
fine :) i think there will be no change, but i have no time to test it before next week :) 
Comment 31 Seth Chandler 2003-04-17 18:27:56 UTC
it runs =)

i'm marking as fixed...keep in touch though, you know your stuff =)