[PyKDE] PyKDE 3.8.0 -d option

Russell Valentine russ at coldstonelabs.org
Sat Nov 22 08:51:01 GMT 2003


   I was trying my first attempt at making a Gentoo package for PyKDE. I
notice that not everything in PyKDE gets installed where you tell it to
with the "-d" option. I don't think this was the behaviour in previous


python build.py -d /anotherarea

Then inside pykpanelapplet/Makefile:

        -mv ../libs/libpykpanelapplet* /usr/kde/3.1/lib/kde3
        -chown 0:0 /usr/kde/3.1/lib/kde3/libpykpanelapplet*
        -rm -f /usr/kde/3.1/lib/libpykpanelapplet*
        -ln -s /usr/kde/3.1/lib/kde3/libpykpanelapplet.so.1.0.0 /usr/kde/3.1/lib/libpykpanelapplet.so
        -ln -s /usr/kde/3.1/lib/kde3/libpykpanelapplet.so.1.0.0 /usr/kde/3.1/lib/libpykpanelapplet.so.1
        -ln -s /usr/kde/3.1/lib/kde3/libpykpanelapplet.so.1.0.0 /usr/kde/3.1/lib/libpykpanelapplet.so.1.0
        -ln -s /usr/kde/3.1/lib/kde3/libpykpanelapplet.so.1.0.0 /usr/kde/3.1/lib/libpykpanelapplet.so.1.0.0

Rather than inside /anotherarea.

Where /anotherarea could possibily be /usr/lib/python2.2/site-packages/

Other Makefiles use the -d argument fine, such as kpart/Makefile:

        -cp kparts.py /anotherarea
        -cp kparts.pyc /anotherarea
        -mv ../libs/libkparts* /anotherarea
        -chown 0:0 /anotherarea

Sorry if this question is dumb, I'm new to package making.

Russell Valentine

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20031122/25994a2b/attachment.bin

More information about the PyQt mailing list