Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36312 - new ebuild : app-office/opale
Summary: new ebuild : app-office/opale
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://orzel.freehackers.org/download...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-12-22 10:59 UTC by Thomas Capricelli
Modified: 2006-03-20 12:25 UTC (History)
2 users (show)

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


Attachments
new opale ebuild (opale-0.5-r1.ebuild,662 bytes, text/plain)
2004-02-28 05:38 UTC, Thomas Capricelli
Details
yet another opale ebuild (opale-0.5-r2.ebuild,726 bytes, text/plain)
2004-02-28 05:41 UTC, Thomas Capricelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2003-12-22 10:59:34 UTC
an ebuild for opale, depends on kde/koffice

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2003-12-22 12:09:40 UTC
Here's an actual homepage for some more info:

http://orzel.freehackers.org/opale/
Comment 2 Thomas Capricelli 2003-12-28 10:20:47 UTC
actually, i think it  should depends on koffice-1.3 rc2, as it has just been 
released. I will compile with it, though it wont with rc1 (i'm the author of opale, you can trust me :)
Comment 3 Ian Goldby 2004-02-05 15:12:32 UTC
Just tried the ebuild. It failed with the following:

checking for kprinter.h (kdelibs>2.1)... found in /usr/kde/3.2/include
checking for KOffice... configure: error: Cannot find KOffice headers in . Please check your installation, or use --with-koffice-includes.
died running ./configure, kde_src_compile:configure

What a pity.
Comment 4 Ian Goldby 2004-02-05 15:35:14 UTC
I get past that last problem with:

myconf="--with-koffice-includes=/usr/include" emerge opale

So presumably the ebuild is just not picking up the default directory for the
koffice headers. Sorry, I don't know how to make a proper fix for this.

But now the compilation fails with:

/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -Os -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common    -o opale.la -rpath /usr/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib  -module -avoid-version main.lo libopalepart.la
/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -Os -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common    -o opale  dummy.o opale.la

*** Warning: Linking the executable opale against the loadable module
*** opale.so is not portable!
/var/tmp/portage/opale-0.5/work/opale-0.5/opale/.libs/libopalepart.so: undefined reference to `KMainWindow::hide()'
/var/tmp/portage/opale-0.5/work/opale-0.5/opale/.libs/libopalepart.so: undefined reference to `KMainWindow::show()'
collect2: ld returned 1 exit status
make[3]: *** [opale] Error 1
make[3]: Leaving directory `/var/tmp/portage/opale-0.5/work/opale-0.5/opale'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/opale-0.5/work/opale-0.5/opale'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/opale-0.5/work/opale-0.5'
make: *** [all] Error 2
Comment 5 Dominik Stadler (RETIRED) gentoo-dev 2004-02-19 14:50:24 UTC
With 

myconf="--with-koffice-includes=/usr/include" emerge opale

and a 2 week old CVS Version of KOffice I now get:

/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/cvs/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o opale_graph.lo `test -f 'opale_graph.cc' || echo './'`opale_graph.cc
opale_factory.cc: In member function `virtual KParts::Part*
   OpaleFactory::createPartObject(QWidget*, const char*, QObject*, const char*,
   const char*, const QStringList&)':
opale_factory.cc:54: error: cannot allocate an object of type `OpalePart'
opale_factory.cc:54: error:   because the following virtual functions are
   abstract:
/usr/include/koDocument.h:425: error:   virtual bool KoDocument::loadOasis(const
   QDomDocument&, KoOasisStyles&)
make[3]: *** [opale_factory.lo] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: Leaving directory `/var/tmp/portage/opale-0.5/work/opale-0.5/opale'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/opale-0.5/work/opale-0.5/opale'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/opale-0.5/work/opale-0.5'
make: *** [all] Fehler 2

!!! ERROR: app-office/opale-0.5 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 6 Ian Goldby 2004-02-21 13:08:24 UTC
Another compiler/linker error: Since my first bug report, I have removed all of KDE 3.1 (so I'm fully migrated to KDE 3.2). make now fails in the filters directory:

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common    -o libcashimport.la -rpath /usr/kde/3.2/lib/kde3 -R /usr/kde/3.2/lib -R /usr/qt/3/lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib  -module -avoid-version -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined  cashimport.lo cashimport.moc.lo  -lkofficeui
grep: /usr/kde/3.1/lib/libkdeprint.la: No such file or directory
/bin/sed: can't read /usr/kde/3.1/lib/libkdeprint.la: No such file or directory
libtool: link: `/usr/kde/3.1/lib/libkdeprint.la' is not a valid libtool archive
make: *** [libcashimport.la] Error 1

As you can see, it's looking for libkdeprint.la in the KDE 3.1 directory (which no longer exists). I can't find where it is getting a reference to 3.1. (This is a completely new attempt at building by the way - I downloaded and unpacked a fresh copy of the archive, so it shouldn't even know I ever had KDE 3.1 on my machine!)
Comment 7 Thomas Capricelli 2004-02-28 05:37:32 UTC
it's not supposed to work with post-koffice-1.3 cvs. They changed a lot of stuff, especially migrating to oasis file format (your error).

Pleas try this new ebuild..
Comment 8 Thomas Capricelli 2004-02-28 05:38:45 UTC
Created attachment 26516 [details]
new opale ebuild
Comment 9 Thomas Capricelli 2004-02-28 05:41:03 UTC
Created attachment 26517 [details]
yet another opale ebuild
Comment 10 Ian Goldby 2004-02-28 08:11:28 UTC
Thanks for the new ebuild. It solved the initial problems, but I still got the error I described in comment #6. It's still trying to find the file /usr/kde/3.1/lib/libkdeprint.la, which of course doesn't exist in my kde 3.2 system.

Is there anything I can do to help you diagnose this problem? I'm afraid when I looked at libtool I didn't understand any of what it was supposed to be doing, why it should be invoking grep, or where it got the 3.1 from. But if you can give me any guidance, I'm very happy to help you solve this.
Comment 11 Dominik Stadler (RETIRED) gentoo-dev 2004-10-03 14:39:10 UTC
Opale is available since some time already, closing this old Bug.
Comment 12 Dominik Stadler (RETIRED) gentoo-dev 2004-10-03 14:46:20 UTC
Sorry, I was wrong, this is not yet available in Portage, reopening this Bug.
Comment 13 Thomas Capricelli 2005-06-14 11:55:26 UTC
opale 0.6.1 is released... this one is out of date then. 
Comment 14 Thomas Capricelli 2006-03-20 12:25:22 UTC
definitely out of date.
current version is 0.7.1