Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenOffice and sdbc postgresql connection
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
LostInGentoo
Apprentice
Apprentice


Joined: 27 Jun 2002
Posts: 269
Location: Denmark

PostPosted: Tue Mar 29, 2011 12:09 pm    Post subject: OpenOffice and sdbc postgresql connection Reply with quote

Hi

As far as I understand, there exists a postgres sdbc driver for connections between OpenOffice base and the postgresql server.
Is this driver available in portage or how to get this driver?

Or do you suggest alternative solutions?



- Preben
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Tue Mar 29, 2011 4:48 pm    Post subject: Reply with quote

there are patches [0]. though, that enables postgresql unconditionally.
I wait until it is properly integrated into libreoffice tree [2].

you may add "PostgreSQL" to the list of GentooBase section in patches/dev300/apply, see [1].
I wonder if they apply and build. :o

have fun!


[0] http://cgit.freedesktop.org/libreoffice/build/tree/patches/postgresql?h=libreoffice-3-3

[1] http://cgit.freedesktop.org/libreoffice/build/tree/patches/dev300/apply?h=libreoffice-3-3#n99

[2] http://cgit.freedesktop.org/libreoffice/bootstrap/tree/configure.in
_________________
hear hear
Back to top
View user's profile Send private message
syntaxman
n00b
n00b


Joined: 27 Apr 2011
Posts: 1

PostPosted: Wed Apr 27, 2011 12:37 am    Post subject: Reply with quote

geki,

Could you please flesh out a little more what needs to be done to make sdbc work? I have added your overlay, but I'm not sure exactly how to modify the ebuild or files without them being overwritten, or causing problems with checksums or whatever. I've noticed that the postgresql-sdbc functionality is usually separated into its own package in other distros. Is that something that could be done here too? A separate ebuild could build the plugin until it becomes officially integrated into upstream's source tree?

Thanks!
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Wed Apr 27, 2011 4:35 pm    Post subject: Reply with quote

syntaxman wrote:
I have added your overlay,
then, you just need to copy the postgresql patches [0] into my overlay under app-office/libreoffice/files and digest the libreoffice ebuild (ebuild /path/to/ebuild digest).
syntaxman wrote:
I've noticed that the postgresql-sdbc functionality is usually separated into its own package in other distros. Is that something that could be done here too? A separate ebuild could build the plugin until it becomes officially integrated into upstream's source tree?
that is the fun of source vs. binary distros. :twisted:

[0] http://cgit.freedesktop.org/libreoffice/build/tree/patches/postgresql?h=libreoffice-3-4

p.s.: I still wonder if they apply. :o . . . reports?
_________________
hear hear
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Wed Apr 27, 2011 4:45 pm    Post subject: Reply with quote

hmm, I could add 'epatch_user' to src_prepare if you guys prefer.
so that you can put your patches under /etc/portage/cat/pkg/ or so ... even simpler ... going to add that.

edit #1
http://code.google.com/p/gekis-playground/source/detail?r=150

so, if you know how to add additional patches to firefox and the like you are set. otherwise ... google? :P
_________________
hear hear
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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