Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenOffice.org 3.1
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6929
Location: Austria

PostPosted: Wed Sep 30, 2009 8:27 am    Post subject: Reply with quote

Yes, portage-2.2_rc42 now likes python3. Setting it as default still isn't recommended though, because many other python apps still won't work with it.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2325
Location: Germania

PostPosted: Wed Sep 30, 2009 2:13 pm    Post subject: Reply with quote

and fixed gjl(gentoo java launcher) and one openoffice configure check.
so holy simple ... I wonder why after 10 months of release ... ;)

edit #1
anyone interested: http://geki.ath.cx/hacks/
the *-python3*.diff files. :)
_________________
boost|select libs to build|slotable|python-buildid

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


Joined: 13 May 2004
Posts: 2325
Location: Germania

PostPosted: Thu Oct 01, 2009 12:44 am    Post subject: Reply with quote

added python3 USEflag.
python-3.1 gets detected, 2to3 static porting done plus email.MIME* changes in python scripts and most C-API Unicode String et al changes done.

anyone interested to help me with some C-API python3 module changes? :)

one Q is how to properly convert a PyUnicode to UTF-8? I wonder about PyUnicode_AS_DATA and *_GET_SIZE macros use.
next Q is how to replace a PyClass_Type cast? replaced with PyTuple_Type ...
another Q is how to store the PyObject* of the module and its state? ...

anyone with some python3 knowledge there? :roll:

details then ...

... hope never dies ....
_________________
boost|select libs to build|slotable|python-buildid

hear hear
Back to top
View user's profile Send private message
jprobichaud
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jan 2009
Posts: 81
Location: Montreal, Qc

PostPosted: Thu Oct 01, 2009 1:20 pm    Post subject: Reply with quote

hum, I'm getting this:

Code:


>>> Fetching (1 of 1) app-office/openoffice-3.1.1.19_pre20090929 from geki-overlay
 * Sun_ODF_Template_Pack_en-US.oxt RMD160 SHA1 SHA256 size ;-) ...                                                                                                          [ ok ]
 * ooo310-m19-libs-extern.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                           [ ok ]
 * ooo310-m19-sdk.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                   [ ok ]
 * ooo310-m19-filters.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                               [ ok ]
 * ooo310-m19-bootstrap.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                             [ ok ]
 * biblio.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                           [ ok ]
 * ooo310-m19-libs-core.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                             [ ok ]
 * scsolver.2008-10-30.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                              [ ok ]
 * ooo310-m19-extras.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                [ ok ]
rm  * ooo310-m19-libs-extern-sys.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                       [ ok ]
 * ooo310-m19-artwork.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                               [ ok ]
!!! Previously fetched file: '/usr/portage/distfiles/ooo-build-a96dab3afc2d47da4cabf2890e3c8215187e96a6.tar.gz'
!!! Reason: Failed on RMD160 verification
!!! Got:      afc00ca507fe4e5036c203a3e548ab007f2e389d
!!! Expected: 38aa9adcb31df097281c3eeb5ddc2ea51dc054ef
Refetching... File renamed to '/usr/portage/distfiles/ooo-build-a96dab3afc2d47da4cabf2890e3c8215187e96a6.tar.gz._checksum_failure_.Emw5kS'



Is should I update the ebuild digest or something is really wrong with the download? I found that the download of
http://cgit.freedesktop.org/ooo-build/ooo-build/snapshot/ooo-build-a96dab3afc2d47da4cabf2890e3c8215187e96a6.tar.gz often aborts (I've had to run "wget -c" many times as I was getting small file all the time).

Is there another mirror we can use?
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2325
Location: Germania

PostPosted: Fri Oct 02, 2009 10:38 am    Post subject: Reply with quote

jprobichaud that is known. ;) RMD160 is your best ...

hmm, looks like python3 porting fails for remove of PyClass_Type.
no fun to recreate that type object. :)

well, then instead a patch to disable python for good may appear.
since pyuno is not really maintained. :o

if you know someone, writing python code and interested in a OOo python3 bridge
I gladly point to PyCXX[1], a Python-C++ Connection, to get away from ugly Python C code. ;)
(simply to simplify and to make the python extension portable, read its docs)

[1] http://sourceforge.net/projects/cxx/
_________________
boost|select libs to build|slotable|python-buildid

hear hear
Back to top
View user's profile Send private message
jprobichaud
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jan 2009
Posts: 81
Location: Montreal, Qc

PostPosted: Fri Oct 02, 2009 1:01 pm    Post subject: Reply with quote

I've found something strange: each time that I download the ooo-build-*.tar.gz, I get a file with a different md5sum, but when I compile the files inside the tar, everything is ok... looks like tar is sometime creative... maybe the ooo-build tar is created on the fly and that's why the ebuild always fails...
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2325
Location: Germania

PostPosted: Wed Nov 25, 2009 7:15 pm    Post subject: Reply with quote

continue here:
https://forums.gentoo.org/viewtopic-t-804244.html
_________________
boost|select libs to build|slotable|python-buildid

hear hear
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
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 
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