View previous topic :: View next topic |
Author |
Message |
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Fri Jul 09, 2004 10:03 am Post subject: |
|
|
nope CPU 0%
HDD 0%
ETH0 0cps
great? yeah definitive!
I switch over to: http://ooo.ximian.com/hackers-guide.html
lets see if that cvs works... ill redo openoffice-ximian ebuild |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Fri Jul 09, 2004 3:00 pm Post subject: |
|
|
hey thanks,
but nevermind: using oo.o milestone for oo.o 2.0 dev with gcc 3.4 fixes
cvs worked! now i have to check how far it gets without probs... the ebuild
ADD: do you know how to give cvs.eclass a checkout option?
ECVS_CO_OPT="-r milestone" does not work - what i do atm is:
ECVS_MODULE="-r cws_src680_gcc340fixes01 OpenOffice"
and that is not fine!
ADD: dunno what i did but ECVS_CO_OPT works as it should now!
Last edited by geki on Fri Jul 09, 2004 3:26 pm; edited 1 time in total |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Fri Jul 09, 2004 3:10 pm Post subject: |
|
|
actual changes as of first version above:
ADD: CO OPT fix
Code: |
ECVS_SERVER="anoncvs.services.openoffice.org:/cvs"
ECVS_MODULE="OpenOffice"
ECVS_USER="anoncvs"
ECVS_PASS="anoncvs"
ECVS_TOP_DIR="${DISTDIR}/cvs-src/${ECVS_MODULE}"
ECVS_CO_OPTS="-r cws_src680_gcc340fixes01"
inherit flag-o-matic eutils gcc cvs
IUSE="gnome kde"
#SRC_URI=""
LOC="/opt"
INSTDIR="${LOC}/OpenOffice.org"
S="${WORKDIR}/${ECVS_MODULE}"
DESCRIPTION="OpenOffice.org, a full office productivity suite."
HOMEPAGE="http://www.openoffice.org/"
LICENSE="LGPL-2 | SISSL-1.1"
SLOT="0"
KEYWORDS="~x86"
RDEPEND=">=sys-libs/glibc-2.1
!=sys-libs/glibc-2.3.1*
>=dev-lang/perl-5.0
x11-libs/startup-notification
virtual/x11
app-arch/zip
app-arch/unzip
dev-libs/expat
>=virtual/jre-1.4.1
virtual/lpr
ppc? ( >=sys-libs/glibc-2.2.5-r7
>=sys-devel/gcc-3.2 )" # needed for sqrtl patch recently introduced
DEPEND="${RDEPEND}
app-shells/tcsh
!app-office/openoffice-bin
!app-office/openoffice
>=virtual/jdk-1.4.1
sys-apps/findutils
dev-util/pkgconfig
!dev-util/dmake"
|
Code: |
# Just recheck gcc version ...
if [ "$(gcc-version)" != "3.2" ] && [ "$(gcc-version)" != "3.3" ]
then
# See if we can get a gcc profile we know is proper ...
if /usr/sbin/gcc-config --get-bin-path ${GCC_PROFILE} &> /dev/null
then
export PATH="$(/usr/sbin/gcc-config --get-bin-path ${GCC_PROFILE}):${PATH}"
else
eerror "This build needs gcc-3.2 or gcc-3.3!"
eerror
eerror "Use gcc-config to change your gcc profile:"
eerror
eerror " # gcc-config $CHOST-3.2.1"
eerror
eerror "or whatever gcc version is relevant."
die
fi
|
Code: |
src_unpack() {
oo_setup
cd ${WORKDIR}
cvs_src_unpack
# unpack ${A}
|
Last edited by geki on Fri Jul 09, 2004 3:45 pm; edited 1 time in total |
|
Back to top |
|
|
irf2003 Veteran
Joined: 10 Sep 2003 Posts: 1078
|
Posted: Fri Jul 09, 2004 3:20 pm Post subject: |
|
|
geki,
don't waste your time, OOo will not compile with gcc-3.4.x
also, don't use gcc-3.4.x on your main box, it just not there yet.
althought some http://funroll-loops.org/ characters in the gentoo
community would swear that it is ready for a production environment.
i don't know whether you built OOo before, but,
judging by http://www.openoffice.org/issues/show_bug.cgi?id=28294
they have a long way to go before even the 680 branch (that is OOo 2.x) will
ever build with gcc-3.4.x
hth |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Fri Jul 09, 2004 3:33 pm Post subject: |
|
|
oh boy, you are totally wrong here - this thread ... how did rob said it with gcc 3.5 ... mildly INSANE
not meant in bad way but here is a full system on stable gcc-3.4.1
and whats wrong supporting OOo with gcc-3.4.x patches if this (ebuild) is going to work soon?
they are working on OOo 2.0 with gcc 3.4 compatibility and more ppl try and patch the faster it will be done...
or am I missing sth out?!? o.O
dont think so...
ADD: do you see this milestone ?!? -r cws_src680_gcc340fixes01 yeah? gcc 3.4 FIXES jejejeje SORRY |
|
Back to top |
|
|
irf2003 Veteran
Joined: 10 Sep 2003 Posts: 1078
|
Posted: Fri Jul 09, 2004 4:22 pm Post subject: |
|
|
geki wrote: | oh boy, you are totally wrong here :) - this thread ... how did rob said it with gcc 3.5 ... mildly INSANE :)
not meant in bad way but here is a full system on stable gcc-3.4.1 :)
and whats wrong supporting OOo with gcc-3.4.x patches if this (ebuild) is going to work soon?
they are working on OOo 2.0 with gcc 3.4 compatibility and more ppl try and patch the faster it will be done...
or am I missing sth out?!? o.O
dont think so... :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted:
ADD: do you see this milestone ?!? -r cws_src680_gcc340fixes01 yeah? gcc 3.4 FIXES jejejeje SORRY :P |
if have been following closely the gcc-3.4.x OOo porting effort for some time.
maybe i have missed something, so my question to you, have you been
able to compile OOo with gcc-3.4.x? if you have please submit the ebuild.
on the other hand i doubt whether you will be able to do that any soon.
as to the question of stability, i guess that this must be a subjective matter,
but, as far as i'm concerned gcc-3.4.x at the time of writing is not a stable
one... FYI, i use cvs compilers, currently the 3.3.x series on my boxes
hth
hth |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Fri Jul 09, 2004 4:46 pm Post subject: |
|
|
please, just post if you want to help with the ebuild. ok?
I know about gcc 3.4 and that OOo 2.0 is DEVELOPMENT.
There are other threads for that. ok?
PS milestone 02 will be released somewhen... one Dev wondered why it was not in cvs yet. |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Fri Jul 09, 2004 6:19 pm Post subject: |
|
|
may anyone explain me why this cvs.eclass saves the directories from the module in the ECVS_TOP_DIR and not in ECVS_TOP_DIR/ECVS_MODULE ?
fetching works but if it wants to copy to the workdir it does not find the right directory
Example:
ECVS_MODULE="OpenOffice"
ECVS_TOP_DIR="${DISTDIR}/cvs-src"
it is fetching into: ECVS_TOP_DIR/*
and after fetching it wants to copy from ECVS_TOP_DIR/ECVS_MODULE/*
this is bugged |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sat Jul 10, 2004 4:19 am Post subject: |
|
|
well, after fixing some basic things - difficult for me as noob without help - and at 6am over here with headache - it is not easy...
it started compiling finally but like I expected, it breaks ..gets more far then OOo 1.1.2 ! so there are gcc 3.4 fixes damn...
tomorrow (today) after sleep ill update cvs and wait for next milestones...
... and sorry again that i got pissed... but topic is: need help with ebuild and no religion talk about using gcc-3.4.1 or stable gcc-3.3.3
I know to use OOo 1.1.2 with gcc-3.3.3 if i want it compiles.
I want to see how far it gets and I see it now and with this ebuild it will be easy in future to see how far they get...
Thanks all out there... for the ones that helped
...or not for the rest
ADD: 680 will never compile with gcc 3.4 because there is an extra version for gcc 3.4 hehe ... well never ... may be somewhen but atm its like that! greets...
ADD2: CVS is nearly never stable dunno why some think I think/want/would like it works - lol - I know what I do - I try to destroy my box but atm its not possible with gcc-3.4.1, ok? just to clearify
ADD3: funroll-loops.org -> without these insane ppl trying betas, alphas -> you would never get a STABLE ONE hehehe oh damn...
ADD4: funroll-loops.org -> they talk about cars if i remember well -> just one thing -> car indutry copies tuning car parts -> Audi A3 has bad looking eyes, for example so Audi is a lamer?! wow... go tell them hehehe
Good night all... |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Sun Jul 11, 2004 7:52 pm Post subject: |
|
|
geki, do you have any webspace? If so, could you please put your ebuild somewhere for me to download? The OOo ebuild is not one to copy and paste (newline problems). _________________ Reality is for those who can't face Science Fiction.
emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sun Jul 11, 2004 8:59 pm Post subject: |
|
|
I am running apache 2 webserver where I can put my ebuild on a vhost.
But first, I have to do "emerge -e system" and "emerge -e world". Somehow wxGTK headers are not found. See GCC 3.4 thread. I hope after this it will. GCC 3.4.1-r1 issue.
Second, I have to do some patches for the sources and
third, if there is a horrible C++ code error I will do that vhost with ebuild. I will post the link here.
I just know basic C++ (9 months school).
May be someone can help?
Posting with links2 is great hehehe |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Thu Jul 15, 2004 11:35 am Post subject: |
|
|
well, actually it compiles great until dev-java/ant package -> /usr/bin/ant tries to compile...
EDIT #1
at first sight it seems to be fixed.
the java-config calls are bugged in /usr/bin/ant of dev-java/ant-1.6.1-r1 package. there is even a bug report stated as new. where is the dev to fix it in portage?
luckily there is the ${JAVA_HOME} variable to use instead. |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Thu Jul 15, 2004 3:02 pm Post subject: |
|
|
For anyone who wants to test this:
ftp://ftp:test@geki.ath.cx:3674/openoffice-cvs-20040709.ebuild
I hope this link works.
Here it failed last time because unicode.hxx was missing.
If you did not build your system with USE-Flag: java... it won't find a JDK on configure. blackdown-jdk does not set a system variable or whatever... someone could open a bugreport for that...
"emerge dev-java/ant" wants 21 packages to install although dev-java/ant is the first of the list. Stop installing the other 20 packages after it is merged!
dev-java/ant-1.6.1-r1 has a buggy /usr/bin/ant - fix it!
I think that is all... happy trying and waiting until OOo Devs did their work |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Thu Jul 15, 2004 3:39 pm Post subject: |
|
|
Code: | --16:39:00-- ftp://ftp:*password*@geki.ath.cx:3674/openoffice-cvs-20040709.ebuild
=> `openoffice-cvs-20040709.ebuild'
Resolving geki.ath.cx... 217.95.48.107
Connecting to geki.ath.cx[217.95.48.107]:3674... connected.
Logging in as ftp ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD not needed.
==> PORT ... done. ==> RETR openoffice-cvs-20040709.ebuild ...
Error in server response, closing control connection.
Retrying. |
Something isn't right... _________________ Reality is for those who can't face Science Fiction.
emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Thu Jul 15, 2004 4:17 pm Post subject: |
|
|
TimeOutNoTransfer 10 (seconds)
is may be to radical hehe
now up to 30... also my full bandwidth is in use... so lets see
Edit #1
If you want to fetch from my server you have to be directly connected to internet with open ports for data connection If you are behind a router or with firewall that blocks... bad luck |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Thu Jul 15, 2004 7:18 pm Post subject: |
|
|
robmoss2k wrote: | geki, do you have any webspace? If so, could you please put your ebuild somewhere for me to download? The OOo ebuild is not one to copy and paste (newline problems). |
ask and ye shall recieve:
http://thecoop.dyndns.org/openoffice-cvs-20040709.ebuild _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Thu Jul 15, 2004 7:27 pm Post subject: |
|
|
ah, i forgot to add that you have to fix cvs.eclass.
it stores the data of checkout in cvs-src/* and wants to copy afterwards from cvs-src/OpenOffice/*
happy fixing |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Thu Jul 15, 2004 7:32 pm Post subject: |
|
|
another link for download:
http://sn4ip3r.dyn.ee/openoffice-cvs-20040709.ebuild
to that unicode.hxx issue:
checkout SRC680_m48 in a temporary directory, copy i18nutil over to ...OpenOffice/ directory...
well, just copying does not help... do a tar.bz2 or how you like and edit ebuild to extract and copies it over...
may be it finds its unicode.hxx
edit #1
talked to one OOo Dev - I hope they tag that i18nutil module for this branch soon |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Thu Jul 15, 2004 9:32 pm Post subject: |
|
|
To get the latest i18nutil module - until it is implemented in cws_680_gcc340fixes01 branch
Code: |
cvs -d :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs login
cvs -d :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs co i18nutil
cvs -d :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs logout
|
OOo 2.0 needs rpm damn |
|
Back to top |
|
|
irf2003 Veteran
Joined: 10 Sep 2003 Posts: 1078
|
Posted: Thu Jul 15, 2004 10:07 pm Post subject: |
|
|
there has been a lot of activity lately at http://www.openoffice.org/issues/show_bug.cgi?id=28294
the target compiler is gcc-3.4.1, and the milestone is OOo 2.x.
geki, not sure how far you have gone with the cws_680_gcc340fixes01,
but, this may be rather old.
i do hope that the gcc-3.4.x fixes will be integrated in the next 680 snapshots
as i can't cvs on dial-up.
as i recall not all the fixes have been commited to the cws_680_gcc340fixes01
branch, so you should follow the dependency tree for the relevent branch(es)
hth
happy gentooing |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Thu Jul 15, 2004 10:16 pm Post subject: |
|
|
It says version: OOo 1.1.1 ?!
i will ask OOo Devs again what branch or milestone to use for OOo 2.0 with GCC 3.4.x support. but they told me to use cws_680_gcc340fixes01 for GCC 3.4.x support...
last try went 50mins compiling... then it recognized that "rpm" was missing that i installed now... |
|
Back to top |
|
|
irf2003 Veteran
Joined: 10 Sep 2003 Posts: 1078
|
Posted: Thu Jul 15, 2004 11:09 pm Post subject: |
|
|
geki wrote: | It says version: OOo 1.1.1 ?! :roll:
i will ask OOo Devs again what branch or milestone to use for OOo 2.0 with GCC 3.4.x support. but they told me to use cws_680_gcc340fixes01 for GCC 3.4.x support...
last try went 50mins compiling... then it recognized that "rpm" was missing :) that i installed now... |
the 680 branch, if i am not mistaken, is for OOo 2.x, so i wouldn't bother
doing any gcc-3.4.x porting for any branch below that.
i've never played with the 680 branch, but if it requires rpm then all you
have to do is
and hopefully te above should take care of it.
hth
PS i gather that you have already installed rpm, but, just to keep us posted,
why was rpm required?
Last edited by irf2003 on Thu Jul 15, 2004 11:15 pm; edited 1 time in total |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Thu Jul 15, 2004 11:13 pm Post subject: |
|
|
two fixes of ebuild:
rpm dep
fetch restriction for i18nutil module
same old link new ebuild here:
http://sn4ip3r.dyn.ee/openoffice-cvs-20040709.ebuild
also mailed to TheCoop - he will add it soon... i hope
edit #1
irf2k3: if u wanna know why compile |
|
Back to top |
|
|
|