Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
koffice-1.4_beta1 is out - ebuild for testing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
hothead
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 277
Location: /dev/core

PostPosted: Sat Apr 30, 2005 11:24 pm    Post subject: koffice-1.4_beta1 is out - ebuild for testing Reply with quote

Hi,
koffice 1.4 beta1 is out. KOffice 1.4 Beta1 Announcement
I wanted to try it out because of kexi and krita. Below you find the koffice-1.4_beta1.ebuild.
You also have to bump the version of libwpd from 0.7.2 to 0.8.1.
It would be a great job if someone is willing to modify the koffice split ebuilds.

Code:

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit kde kde-functions eutils

# TODO : mysql support
# other refs from configure: jasper, qt-docs, doxygen, libxml2, libxslt, freetype, fontconfig, qt being built with sql support (???)

TARBALLVER=1.3.91
DESCRIPTION="A free, integrated office suite for KDE, the K Desktop Environment."
HOMEPAGE="http://www.koffice.org/"
SRC_URI="mirror://kde/unstable/${P/_beta/-beta}/src/${PN}-${TARBALLVER}.tar.bz2"
S="${WORKDIR}/${PN}-${TARBALLVER}"

LICENSE="GPL-2 LGPL-2"
KEYWORDS="~x86 amd64 ppc sparc alpha ppc64"

IUSE=""
SLOT="0"
# add blockers on split packages derived from this one
for x in $(get-child-packages ${CATEGORY}/${PN}); do
   DEPEND="${DEPEND} !${x}"
   RDEPEND="${RDEPEND} !${x}"
done

# libpwd is needed for the word perfect filter of kword
# libpqxx & splite are needed for kexi

DEPEND="${DEPEND}
   >=dev-lang/python-2.2.1
   >=media-libs/libart_lgpl-2.3.9
   >=media-gfx/imagemagick-5.4.5
   >=app-text/wv2-0.1.8
   >=app-text/libwpd-0.8.0
   >=dev-libs/libpqxx-2.4.2
 =dev-db/sqlite-2.8.16-r1
   dev-util/pkgconfig"
need-kde 3.1

src_unpack() {
   kde_src_unpack
}
src_compile() {
   export LIBPYTHON="`python-config --libs`"
   kde_src_compile
}

_________________
Got a question? - http://justfuckinggoogleit.com/


Last edited by hothead on Fri May 06, 2005 10:54 am; edited 2 times in total
Back to top
View user's profile Send private message
Flamie
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2004
Posts: 106
Location: Gothenburg, Sweden

PostPosted: Sun May 01, 2005 5:47 am    Post subject: Reply with quote

Great! I've been looking forward to this for a long time.
Kexi and Krita is available for testing, so go test them so they can have a real good final release later on. And they support OASIS now, finally can my friends stop complaining about how their documents won't work in windows :D

Now, all I lack is plato, the project management tool.. *all excited about this*
Back to top
View user's profile Send private message
Flamie
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2004
Posts: 106
Location: Gothenburg, Sweden

PostPosted: Sun May 01, 2005 7:11 am    Post subject: Reply with quote

SRC_URI="mirror://kde/ustable/${P/_beta/-b

should read unstable, not ustable
Back to top
View user's profile Send private message
Flamie
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2004
Posts: 106
Location: Gothenburg, Sweden

PostPosted: Sun May 01, 2005 8:48 am    Post subject: Reply with quote

My compile failed while compiling kexi :/

Gonna wait for the split-ebuilds to enter portage before I pull this one.
Back to top
View user's profile Send private message
hothead
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 277
Location: /dev/core

PostPosted: Sun May 01, 2005 9:48 am    Post subject: Reply with quote

your right flamie - fixed that little typo.
kexi compiled fine here can you give me an output - so we can track down this problem together?

At first compiling failed here to - but it was a sqlite error. After I've installed sqlite-2.8.16-r1
and reinitiated the compiling with typing make in $S, to avoid compiling the thing twice, it compiled fine here.
That's why I added sqlite-2.8.16-r1 to the dependencies, so it should have been installed before - hasn't it?
_________________
Got a question? - http://justfuckinggoogleit.com/
Back to top
View user's profile Send private message
Flamie
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2004
Posts: 106
Location: Gothenburg, Sweden

PostPosted: Sun May 01, 2005 11:33 am    Post subject: Reply with quote

you added an exact dependency on that version, and I don't know why it didn't work.
maybe you should've put anything greater than that version instead, since once I manually emerged sqlite (3.something) it seems to work.

still compiling though, so I can't say for sure it solved it until it's done.
Back to top
View user's profile Send private message
hothead
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 277
Location: /dev/core

PostPosted: Sun May 01, 2005 6:54 pm    Post subject: Reply with quote

well I added exact this version of sqlite as dependency cause I allready had 3.2.1-r3 installed and kexi still failed compiling.
So I emerged 2.8.16-r1 which is the previous version of sqlite in portage an then kexi compiled successfully.
So it should rather be anything lower than 3.2.1-r* than anything greater.
To only try kexi you could also bump the kexi ebuild from 0.1_beta4 to 0.1_beta5.
Based on the release information on their homepage this should be the same code as provided with koffice-1.4_beta1.
_________________
Got a question? - http://justfuckinggoogleit.com/
Back to top
View user's profile Send private message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Sun May 01, 2005 8:21 pm    Post subject: Reply with quote

hothead wrote:
well I added exact this version of sqlite as dependency cause I allready had 3.2.1-r3 installed and kexi still failed compiling.
So I emerged 2.8.16-r1 which is the previous version of sqlite in portage an then kexi compiled successfully.
So it should rather be anything lower than 3.2.1-r* than anything greater.
To only try kexi you could also bump the kexi ebuild from 0.1_beta4 to 0.1_beta5.
Based on the release information on their homepage this should be the same code as provided with koffice-1.4_beta1.


kexi cvs ebuild that compiles is available at http://csua.berkeley.edu/~mtanev/kde-rcs.html
more information here: https://forums.gentoo.org/viewtopic-t-331588.html
Back to top
View user's profile Send private message
BlackEye
l33t
l33t


Joined: 04 Dec 2002
Posts: 756
Location: Germany

PostPosted: Thu May 05, 2005 11:18 pm    Post subject: Reply with quote

Quote:
DEPEND="${DEPEND}
>=dev-lang/python-2.2.1
>=media-libs/libart_lgpl-2.3.9
>=media-gfx/imagemagick-5.4.5
>=app-text/wv2-0.1.8
>=app-text/libwpd-0.8.0
>=dev-libs/libpqxx-2.4.2
=dev-db/sqlite-2.8.16-r1
dev-util/pkgconfig"
need-kde 3.1


libwpd-0.8.0? I don't know how you get koffice to compile with this. On my system libwpd is available <= 0.7.2. Don't see any version greater than 0.7.2!
Back to top
View user's profile Send private message
hothead
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 277
Location: /dev/core

PostPosted: Fri May 06, 2005 10:53 am    Post subject: Reply with quote

Oh, I missed that. You just have to bump the version to 0.8.1.
_________________
Got a question? - http://justfuckinggoogleit.com/
Back to top
View user's profile Send private message
BlackEye
l33t
l33t


Joined: 04 Dec 2002
Posts: 756
Location: Germany

PostPosted: Fri May 06, 2005 11:23 am    Post subject: Reply with quote

hothead wrote:
Oh, I missed that. You just have to bump the version to 0.8.1.


oh, sorry. I didn't saw, that you mention it in your first post. Sorry
Back to top
View user's profile Send private message
hothead
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 277
Location: /dev/core

PostPosted: Sat May 07, 2005 12:21 am    Post subject: Reply with quote

Quote:
oh, sorry. I didn't saw, that you mention it in your first post. Sorry


No, you were right. I didn't mentioned that. I just added it to the post so others do not
have the same problem. Maybe I should have put an [edit] in front of it. :oops:
_________________
Got a question? - http://justfuckinggoogleit.com/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum