Load extensions/modules at runtime
Benjamin Meyer
ben at meyerhome.net
Fri Apr 1 22:58:06 BST 2005
On Wednesday 23 February 2005 12:45 pm, Clarence Dang wrote:
> On Wed, 23 Feb 2005 12:43 pm, Mauricio Bahamonde wrote:
> > On Tuesday 22 February 2005 22:12, Benjamin Meyer wrote:
> > > For what it is worth if you check out the audiocd ioslave lame plugin
> > > you will see exactly that. The plugin at runtime attempts to load the
> > > lame library to see if it is on the system. The code is fugly though
> > > and if it wasn't for the special circumstances I wouldn't have it like
> > > this. The reason being that distributions can now ship with the lame
> > > plugin without requiring lame. Then if the user adds lame later on the
> > > plugin is "automagically" enabled.
> >
> > Yes, this is exactly the approach I would like to see. It's surely a lot
> > more work, but in the long term, it would benefit us all :-)
> >
> > Maybe for KDE 4 we can find out a new way of doing this, maybe with a
> > cleaner method/code.
>
> For Linux, grep this autopackage page for relaytool:
>
> http://autopackage.org/developer-quickstart.html
Too bad they have a big warning about not using it if you use KDE/Qt because
of binary incompatibility. Not sure why they would have that sense package
maintainer should all be binary compatible...
-Benjamin Meyer
--
aka icefox
Public Key: http://www.icefox.net/public_key.asc
More information about the kde-core-devel
mailing list