[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] python 2.5 and pyKDE (was: compile error for pyqt)
From: Hans-Peter Jansen <hpj () urpla ! net>
Date: 2006-11-24 12:10:04
Message-ID: 200611241310.04568.hpj () urpla ! net
[Download RAW message or body]
Am Freitag, 24. November 2006 05:54 schrieb Jim Bublitz:
> On Thursday 23 November 2006 17:40, Jonathan Riddell wrote:
> >
> > However I came across another issue with PyKDE 3.17, it creates a
> > symlink ln -s /usr/lib/kde3/libkonsolepart.so
> > /usr/lib/konsolepart.so. That's not very elegant, but presumably is
> > there with good reason. However it doesn't respect the DESTDIR=
> > argument to "make install" meaning you can't install unless you are
> > root, which causes problems in packaging. Could it respect DESTDIR in
> > future releases?
>
> kde3/lib/kde3 generally isn't visible for loading. I will change the
> DESTDIR behavior, but the konsolepart support will be optional and not
> default in the next release.
Jim, this reminds me that you may want to add a switch to control this
behavior. Even if DESTDIR is respected, its in the way when building rpm
packages, since you cannot add symlinks to non existent targets in that
package (to my humble knowledge). Therefore my spec contains:
in %prep section:
sed -i 's/if kde_version >= 0x030500/if 0 and kde_version >= 0x030500/g' \
configure.py
%post
[ ! -L /opt/kde3/lib/libkonsolepart.so ] && {
ln -sf /opt/kde3/lib/kde3/libkonsolepart.so /opt/kde3/lib/libkonsolepart.so
}
%run_ldconfig
%postun
[ -L /opt/kde3/lib/libkonsolepart.so ] && {
rm -f /opt/kde3/lib/libkonsolepart.so
}
%run_ldconfig
Pete
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic