View previous topic :: View next topic |
Author |
Message |
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sun Nov 28, 2004 3:43 pm Post subject: |
|
|
there is a fix for msfontextract on packaging source based on m62. m63 released. it uses python 2.3.4 weee ^^. my patches apply on m63. as well as the msfontextract fix.
i am compiling right now. lets see how far it gets until it breaks somewhere. ill post overlay if packaging works... |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sun Nov 28, 2004 8:59 pm Post subject: |
|
|
nice error
Code: | Making: ../../unxlngi4.pro/lib/libpyuno.so
g++ -z combreloc -Wl,-rpath,'$ORIGIN' -shared -L../../unxlngi4.pro/lib -L../lib -L/var/tmp/portage/openoffice-1.9.63/work/OpenOffice/solenv/unxlngi4/lib -L/var/tmp/portage/openoffice-1.9.63/work/OpenOffice/solver/680/unxlngi4.pro/lib -L/var/tmp/portage/openoffice-1.9.63/work/OpenOffice/solenv/unxlngi4/lib -L/opt/blackdown-jdk-1.4.2.01/lib -L/opt/blackdown-jdk-1.4.2.01/jre/lib/i386 -L/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/client -L/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/native_threads -L/usr/X11R6/lib ../../unxlngi4.pro/slo/pyuno_version.o ../../unxlngi4.pro/slo/pyuno_description.o -o ../../unxlngi4.pro/lib/libpyuno.so ../../unxlngi4.pro/slo/pyuno_runtime.o ../../unxlngi4.pro/slo/pyuno.o ../../unxlngi4.pro/slo/pyuno_callable.o ../../unxlngi4.pro/slo/pyuno_module.o ../../unxlngi4.pro/slo/pyuno_type.o ../../unxlngi4.pro/slo/pyuno_util.o ../../unxlngi4.pro/slo/pyuno_except.o ../../unxlngi4.pro/slo/pyuno_adapter.o ../../unxlngi4.pro/slo/pyuno_gc.o -luno_cppu -luno_cppuhelpergcc3 -luno_sal -lpython2.3 -ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc -lstdc++
rm -f ../../unxlngi4.pro/lib/check_libpyuno.so
mv ../../unxlngi4.pro/lib/libpyuno.so ../../unxlngi4.pro/lib/check_libpyuno.so
/var/tmp/portage/openoffice-1.9.63/work/OpenOffice/solenv/bin/checkdll.sh -L../../unxlngi4.pro/lib -L../lib -L/var/tmp/portage/openoffice-1.9.63/work/OpenOffice/solenv/unxlngi4/lib -L/var/tmp/portage/openoffice-1.9.63/work/OpenOffice/solver/680/unxlngi4.pro/lib -L/var/tmp/portage/openoffice-1.9.63/work/OpenOffice/solenv/unxlngi4/lib -L/opt/blackdown-jdk-1.4.2.01/lib -L/opt/blackdown-jdk-1.4.2.01/jre/lib/i386 -L/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/client -L/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/native_threads -L/usr/X11R6/lib ../../unxlngi4.pro/lib/check_libpyuno.so
Checking DLL ../../unxlngi4.pro/lib/check_libpyuno.so ...: ERROR: ../../unxlngi4.pro/lib/check_libpyuno.so: undefined symbol: PyUnicodeUCS2_FromUnicode
dmake: Error code 1, while making '../../unxlngi4.pro/lib/libpyuno.so'
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.9.63/work/OpenOffice/pyuno/source/module |
anyone any ideas how to fix? ^^ |
|
Back to top |
|
|
younker Apprentice
Joined: 18 Feb 2004 Posts: 280 Location: China
|
Posted: Tue Dec 21, 2004 10:27 am Post subject: |
|
|
how about m65, did you try to build M65? |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Tue Dec 21, 2004 11:37 am Post subject: |
|
|
m66 is out and soon m67 but they dislike gentoo's python 2.3.4 installation. that is since m63. any ideas how to fix? _________________ hear hear |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Fri Dec 24, 2004 3:25 pm Post subject: |
|
|
found the problem of OOo's python. copies wrong file, heh. instread of the lib it copies a symlink and then sure it does not find the lib
it needs epm and rpm. i mailed to XOOo ml ( they have a disable-epm patch ) to ask how they package not using epm/rpm. or anyone else may explain me here? thanks _________________ hear hear |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Fri Dec 31, 2004 4:36 am Post subject: |
|
|
ok, re-up'ed the overlay with app-arch/epm which is needed. sorry that i missed it. _________________ hear hear |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Fri Dec 31, 2004 2:32 pm Post subject: |
|
|
bam, another update ^^ now it should all be fine ... i hope _________________ hear hear |
|
Back to top |
|
|
michael3 n00b
Joined: 17 Aug 2004 Posts: 34
|
Posted: Fri Dec 31, 2004 6:57 pm Post subject: |
|
|
hello
i got this error message:
Can't open /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solenv/inc/unxlngi4.mk: File not found
Can't open /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solenv/inc/unxlngi4.mk: File not found
Can't open /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solenv/inc/unxlngi5.mk: Datei oder Verzeichnis nicht gefunden.
Can't open /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solenv/inc/unxlngi5.mk: Datei oder Verzeichnis nicht gefunden.
cp: reguläre Datei ,,/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/stlport/download" kann nicht angelegt werden: Datei oder |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sat Jan 01, 2005 11:00 am Post subject: |
|
|
@michael3 system files are patched? like cvs.eclass? _________________ hear hear |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sat Jan 01, 2005 4:36 pm Post subject: |
|
|
and again, the diffs for system files:
Code: | # this one is NOT obsolete - glibc bug or OOo bug or what?!
# only for x86 arch - have a look into it for other archs
--- /usr/include/pthread.h 2004-10-07 22:03:06.000000000 +0200
+++ /usr/include/pthread.h 2004-10-10 12:10:29.699955184 +0200
@@ -439,6 +439,7 @@
/* Cancellation handling with integration into exception handling. */
+typedef int __jmp_buf[6];
typedef struct
{
struct
# java-config is python if I am not wrong
# since there is a python mismatch in OOo env to system's one it cannot be used
--- /usr/bin/ant 2004-10-09 22:30:34.000000000 +0200
+++ /usr/bin/ant 2004-10-10 12:12:10.734595584 +0200
@@ -73,8 +73,8 @@
if [ -f $HOME/.gentoo/java-env ] ; then
source $HOME/.gentoo/java-env
else
- JAVA_HOME=`java-config --jdk-home`
- CLASSPATH=`java-config --classpath`:${CLASSPATH}
+ JAVA_HOME="${JAVA_HOME}"
+ CLASSPATH=".:${CLASSPATH}"
fi
fi
@@ -90,7 +90,7 @@
# set ANT_LIB location
ANT_LIB="${ANT_HOME}/lib"
-JAVACMD="`java-config --java`"
+JAVACMD="${JAVA_HOME}/bin/java"
if [ ! -x "$JAVACMD" ] ; then
echo "Error: JAVA_HOME is not defined correctly."
# OOo cvs does not have an extra dir where it stores its data
# anyone kicks OOo Devs or apply this diff
--- /usr/portage/eclass/cvs.eclass 2004-09-28 08:37:05.000000000 +0200
+++ /usr/portage/eclass/cvs.eclass 2004-09-29 21:05:58.606362984 +0200
@@ -235,7 +235,7 @@
# Create the top dir if needed
- if [ ! -d "$ECVS_TOP_DIR" ]; then
+ if [ ! -d "$ECVS_TOP_DIR/$ECVS_LOCALNAME" ]; then
# Note that the addwrite statements in this block are only
# there to allow creating ECVS_TOP_DIR; we allow writing
@@ -249,7 +249,7 @@
debug-print "$FUNCNAME: checkout mode. creating cvs directory"
addwrite /foobar
addwrite /
- $run mkdir -p "/$ECVS_TOP_DIR"
+ $run mkdir -p "$ECVS_TOP_DIR/$ECVS_LOCALNAME"
export SANDBOX_WRITE="${SANDBOX_WRITE//:\/foobar:\/}"
fi
@@ -268,7 +268,7 @@
fi
# Determine the CVS command mode (checkout or update)
- if [ ! -d "$ECVS_TOP_DIR/$ECVS_LOCALNAME/CVS" ]; then
+ if [ ! -d "$ECVS_TOP_DIR/$ECVS_LOCALNAME/CVS" ] && [ ! -d "$ECVS_TOP_DIR/$ECVS_LOCALNAME/$ECVS_LOCALNAME/CVS" ]; then
mode=checkout
else
mode=update
@@ -334,7 +334,7 @@
# Execute commands
- cd "${ECVS_TOP_DIR}"
+ cd "${ECVS_TOP_DIR}/${ECVS_LOCALNAME}"
if [ "${ECVS_AUTH}" == "pserver" ]; then
einfo "Running $cmdlogin"
eval $cmdlogin || die "cvs login command failed"
@@ -517,10 +517,10 @@
# This is probably redundant, but best to make sure.
mkdir -p "$WORKDIR/$ECVS_LOCALNAME"
- if [ -n "$ECVS_LOCAL" ]; then
- cp -f "$ECVS_TOP_DIR/$ECVS_LOCALNAME"/* "$WORKDIR/$ECVS_LOCALNAME"
+ if [ -d "$ECVS_TOP_DIR/$ECVS_LOCALNAME/$ECVS_LOCALNAME" ]; then
+ cp -Rf "$ECVS_TOP_DIR/$ECVS_LOCALNAME/$ECVS_LOCALNAME" "$WORKDIR"
else
- cp -Rf "$ECVS_TOP_DIR/$ECVS_LOCALNAME" "$WORKDIR/$ECVS_LOCALNAME/.."
+ cp -Rf "$ECVS_TOP_DIR/$ECVS_LOCALNAME" "$WORKDIR"
fi
# If the directory is empty, remove it; empty directories cannot |
hope all happy now... _________________ hear hear
Last edited by geki on Mon Jan 10, 2005 10:44 pm; edited 1 time in total |
|
Back to top |
|
|
younker Apprentice
Joined: 18 Feb 2004 Posts: 280 Location: China
|
Posted: Mon Jan 03, 2005 1:19 am Post subject: |
|
|
epm needs fltk, which version of fltk should be emerged?
I have emerged 1.1.4, but can't emerge epm.
Help please |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Mon Jan 03, 2005 1:27 am Post subject: |
|
|
if you cannot merge epm please post error, thanks.
no idea why fltk is needed. Please give me a reason.
Code: | anomalie ~ # emerge -s fltk
Searching...
[ Results for search key : fltk ]
[ Applications found : 1 ]
* x11-libs/fltk
Latest version available: 1.1.4
Latest version installed: [ Not Installed ]
Size of downloaded files: 1,275 kB
Homepage: http://www.fltk.org
Description: C++ user interface toolkit for X and OpenGL.
License: FLTK GPL-2
anomalie ~ # |
_________________ hear hear |
|
Back to top |
|
|
younker Apprentice
Joined: 18 Feb 2004 Posts: 280 Location: China
|
Posted: Mon Jan 03, 2005 1:42 am Post subject: |
|
|
OK, I reinstalled fltk with gcc 3.4.3 and remerge epm, this time is OK,
now when I emerge OpenOffice using the following command.
export LANGUAGE=zh-CN
USE=-nas emerge openoffice
it reports the error as below
Code: | *
* Unknown LANGUAGE setting!
*
* Known LANGUAGE settings are:
* en-US | pt | ru | el | nl | fr | es | fi | hu
* ca | it | cs | sk | da | sv | pl | de | sl | pt-BR
* th | et | ja | ko | zh-CN | zh-TW | tr | ar | he
*
!!! ERROR: app-office/openoffice-1.9-r68 failed.
!!! Function set_languages, Line 151, Exitcode 0
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message. |
Last edited by younker on Mon Jan 03, 2005 1:50 am; edited 1 time in total |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Mon Jan 03, 2005 1:44 am Post subject: |
|
|
there is no need for fltk. _________________ hear hear |
|
Back to top |
|
|
michael3 n00b
Joined: 17 Aug 2004 Posts: 34
|
Posted: Mon Jan 03, 2005 10:13 pm Post subject: |
|
|
@younker
use only
LANGUAGE=zh emerge openoffice
@geki
Thanks for the patch
But the compiler runs about 4 hours and then I get my first error message. I have start it 3 times. Always the same error. I don't know what I should do.
Code: |
Making: ../../../../unxlngi4.pro/slo/sc_documen4.obj
g++ -Wuninitialized -fmessage-length=0 -c -I. -I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/offuh -I../inc
-I../../../../inc -I../../../../inc/bf_sc -I../../../../unx/inc -I../../../../unxlngi4.pro/inc -I.
-I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl
-I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/external
-I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc
-I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solenv/unxlngi4/inc -I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solenv/inc
-I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/res -I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl
-I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solenv/inc/Xp31 -I/opt/blackdown-jdk-1.4.2.01/include -I/opt/blackdown-jdk-1.4.2.01/include/linux
-I/opt/blackdown-jdk-1.4.2.01/include/native_threads/include -I/usr/X11R6/include -I. -I../../../../res -I. -march=athlon-xp -pipe -O2
-fno-stack-protector -fno-strict-aliasing
-march=athlon-xp -pipe -O2 -fno-strict-aliasing -Wno-ctor-dtor-privacy -include preinclude.h -fno-exceptions -fpic -DLINUX -DUNX -DVCL -DGCC -DC300
-DINTEL -DGXX_INCLUDE_PATH=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3 -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT
-DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0
-DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DSRC680 -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../../../unxlngi4.pro/slo/sc_documen4.o
/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/binfilter/bf_sc/source/core/data/sc_documen4.cxx
In file included from /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl/pthread.h:26,
from /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl/stl/_threads.h:140,
from /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl/stl/_alloc.h:64,
from /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl/stl/_vector.h:40,
from /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl/stl/_hashtable.h:34,
from /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl/stl/_hash_map.h:34,
from /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl/hash_map:31,
from ../../../../inc/bf_sc/compiler.hxx:87,
from ../inc/interpre.hxx:74,
from /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/binfilter/bf_sc/source/core/data/sc_documen4.cxx:79:
/usr/include/pthread.h:446: error: '__jmp_buf' is used as a type, but is not defined as a type.
/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/binfilter/bf_sc/source/core/data/sc_documen4.cxx: In member function `BOOL
binfilter::ScDocument::Solver(short unsigned int, short unsigned int, short unsigned int, short unsigned int, short unsigned int, short unsigned int,
const String&, double&)':
/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/binfilter/bf_sc/source/core/data/sc_documen4.cxx:101: Warnung: comparison is always true due to
limited range of data type
/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/binfilter/bf_sc/source/core/data/sc_documen4.cxx:101: Warnung: comparison is always true due to
limited range of data type
dmake: Error code 1, while making '../../../../unxlngi4.pro/slo/sc_documen4.obj'
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/binfilter/bf_sc/source/core/data
!!! ERROR: app-office/openoffice-1.9-r68 failed.
!!! Function src_compile, Line 320, Exitcode 1
!!! Build failed!
!!! If you need support, post the topmost build error, NOT this status message.
|
Thank you!
I use also the compiler 3.3.4-r1. |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Tue Jan 04, 2005 12:39 am Post subject: |
|
|
shit, first diff is still necessary.
@michael3 you may apply the first diff of my system files patch.
zh is borked? hm, let's see... Code: | LANGUAGE=zh-CN USE=-nas emerge openoffice | should work _________________ hear hear |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
|
Back to top |
|
|
genstef Retired Dev
Joined: 13 Jun 2004 Posts: 668 Location: M/Bay/Germany
|
Posted: Mon Jan 10, 2005 8:56 pm Post subject: |
|
|
Can we have a -bin-1.9 ebuild please? I tried to make one but I guess I have too little knowledge in openoffice-things. |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Mon Jan 10, 2005 10:40 pm Post subject: |
|
|
get tarballs here http://download.openoffice.org/680/index.html and untar, may be rpm2targz it if it is rpm inside, move files where you want them and do postinstall like in the overlay. dunno if that registration thinggy can be done on src_install though. you may try...
these tarballs are not latest milestone
BTW, m71 is released but i wait for next milestone _________________ hear hear |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Wed Jan 12, 2005 5:43 pm Post subject: |
|
|
time for testing gcj features - let's see what can be done ^^
info: http://planet.go-ooo.org/ - last post of Caolan McNamara
*update*
#1 initial diff cleaned & bzip2'ed _________________ hear hear |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Thu Jan 13, 2005 2:35 am Post subject: |
|
|
OOo 1.9 milestone 71 overlay seems not to be ready, who knows ^^
http://geki.ath.cx/OOo/openoffice-1.9-r71.tar.bz2
* gcj1 cws patched
* patches apply
* but untested overlay
Have fun!
PS anyone on amd64 arch tested latest milestones? 64bit02 cws went into m69 or m70 or so ... _________________ hear hear |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Thu Jan 13, 2005 11:36 am Post subject: |
|
|
updated system files patch
Code: | # python mismatch
--- /usr/bin/ant 2004-10-09 22:30:34.000000000 +0200
+++ /usr/bin/ant 2004-10-10 12:12:10.734595584 +0200
@@ -73,8 +73,8 @@
if [ -f $HOME/.gentoo/java-env ] ; then
source $HOME/.gentoo/java-env
else
- JAVA_HOME=`java-config --jdk-home`
- CLASSPATH=`java-config --classpath`:${CLASSPATH}
+ JAVA_HOME="${JAVA_HOME}"
+ CLASSPATH=".:${CLASSPATH}"
fi
fi
@@ -90,7 +90,7 @@
# set ANT_LIB location
ANT_LIB="${ANT_HOME}/lib"
-JAVACMD="`java-config --java`"
+JAVACMD="${JAVA_HOME}/bin/java"
if [ ! -x "$JAVACMD" ] ; then
echo "Error: JAVA_HOME is not defined correctly." |
_________________ hear hear
Last edited by geki on Wed Jun 08, 2005 11:11 pm; edited 5 times in total |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
|
Back to top |
|
|
|