Bug 92080 - [MAINTAINER] x11-toolkits/py-kde: Update and unbreak
Summary: [MAINTAINER] x11-toolkits/py-kde: Update and unbreak
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergey Matveychuk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-20 22:40 UTC by Danny Pansters
Modified: 2006-01-26 07:18 UTC (History)
1 user (show)

See Also:


Attachments
py-kde.diff (97.84 KB, patch)
2006-01-20 22:40 UTC, Danny Pansters
no flags Details | Diff
py-kde.diff.bz2 (9.68 KB, application/x-bzip2)
2006-01-24 16:24 UTC, Danny Pansters
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Danny Pansters 2006-01-20 22:40:03 UTC
	Supersedes ports/91965, which contained a patch for building
	(pointyhat i386/7) and attempt to fix sparc build (pointyhat 
        sparc64/7). Both are in the diff below also.

        Further, update to new snapshot from 01182006, fix plist (I
        finally made a script to generate a static plist - sorry for 
        long diff), change portversion and epoch. Version 4.0.0 was the 
        internal PyKDE version for quite a while, but now it has gone 
        back to 3.15.1 (for KDE 3.5.0). PyKDE-4.0.x will be for KDE4.

	Also, the port should now be completely prefix clean.
Comment 1 Danny Pansters 2006-01-20 23:46:47 UTC
Typo correction:

now it has gone back to 3.15.1 (for KDE 3.5.0)

should be:

now it has gone back to 3.15.0 (for KDE 3.5.0)

3.15.1 will match KDE 3.5.1
Comment 2 Sergey Matveychuk freebsd_committer freebsd_triage 2006-01-21 18:13:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sem

Take it.
Comment 3 Sergey Matveychuk freebsd_committer freebsd_triage 2006-01-21 20:23:04 UTC
State Changed
From-To: open->feedback

Ask for maintainer fix.
Comment 4 Danny Pansters 2006-01-21 22:54:16 UTC
On Saturday 21 January 2006 20:26, you wrote:
> A problem with install on 4.x:
>
> cp -f pykdeconfig.py /usr/local/lib/python2.4/site-packages/pykdeconfig.py
> cp -f contrib/kdepyuic /usr/local/bin/kdepyuic
> ( install -c -o root -g wheel -m 555
> /work/a/ports/x11-toolkits/py-kde/work/PyKDE-snapshot20060118/contrib/kdepy
>uic /usr/local/bin &&  cd /usr/local/lib/python2.4/site-packages &&
> /usr/local/bin/python -c "import pykdeconfig, dcopexport, dcopext" &&
> /usr/local/bin/python -O -c "import pykdeconfig, dcopexport, dcopext" )
> Traceback (most recent call last):
>   File "<string>", line 1, in ?
>   File "dcopexport.py", line 53, in ?
>     from kdecore import dcop_add, dcop_next
> ImportError: ./kdecore.so: Undefined symbol
> "_$_Q250meth_KConfigSkeleton_addItemDouble__FP7_objectT0.0_12PyItemDouble.9
>798" *** Error code 1
>
> Stop in /a/ports/x11-toolkits/py-kde.

Could you please send me the output of configure, the first part where it 
reports versions etc, before it starts generating the module sources. The 
error indicates that there would be more runtime (typecasting) problems even 
if it builds ok on 4.x/gcc295. I may mark 4.x broken if there's no resolve. 
KDE support for 4.x is going to be dropped also IIUC. 

Thanks
Comment 5 Danny Pansters 2006-01-24 16:24:51 UTC
The problem was with importing and module path (when prefix not standard). I 
tried to move this from post-install to post-build stage but forgot that 
install is when the linking is done. Corrected this by explicitly byte 
compiling the few modules that needed to be dealt with at post-build instead 
of importing (implicit compile) at post-install. I will do similar with py-qt 
when it's time to update it. Uses ${PYTHON_LIBDIR} now.

There's already a new PyKDE snapshot, should be the stable release. So I took 
some time to use that instead. 

Summary: 
- Both patchfiles not needed any more
- No installing of kspell2 SIP files (which isn't built and broken anyway)
- MASTER_SITE changed, COMMENT equals pkg-descr now

Diff attached.
Comment 6 Danny Pansters 2006-01-25 12:06:12 UTC
Hm, this is probably easier: http://freebsd.ricin.com/ports/py-kde.diff.bz2
Comment 7 Sergey Matveychuk freebsd_committer freebsd_triage 2006-01-26 07:18:30 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!