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.
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
Responsible Changed From-To: freebsd-ports-bugs->sem Take it.
State Changed From-To: open->feedback Ask for maintainer fix.
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
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.
Hm, this is probably easier: http://freebsd.ricin.com/ports/py-kde.diff.bz2
State Changed From-To: feedback->closed Committed. Thanks!