[Kde-bindings] qyoto packaging

Jonathan Riddell jriddell at ubuntu.com
Mon Dec 3 17:22:50 UTC 2007


Qyoto packages are available in Kubuntu 7.10 and I've done some
updates in our development version (hardy).  Things are working
nicely.  Some comments:

Why do the examples compile to files with an extension of .monoexe?
Surely these are just .exe files?  I confuses the debhelper packaging
tools somewhat.

Why is the library qt-dotnet.dll?  Since the package name is Qyoto it
would make sense to use that name consistently.

libqyoto.so shouldn't be in /usr/lib since it is only used internally
by qt-dotnet.dll and is not a public API.  It can be installed to the
same directory as qt-dotnet.dll and a qt-dotnet.dll.config file used
to find it.

>cat qt-dotnet.dll.config
<configuration>
        <dllmap dll="libqyoto" target="/usr/lib/cli/qyoto-4.3/libqyoto.so"/>
</configuration>

Finally it's nice to have a pkg-config file, these can be used by the
mono compiler to find dependencies easily.

>cat qyoto.pc
prefix=${pcfiledir}/../..
exec_prefix=${prefix}
libdir=${exec_prefix}/lib


Name: Qyoto
Description: Qt .NET Binding
Version: 4.3.0
Libs: -r:${libdir}/cli/qyoto-4.3/qt-dotnet.dll


Jonathan



More information about the Kde-bindings mailing list