On Tue, 2011-06-14 at 23:26 +0200, Eric Maeker wrote:
Ok Thanks for your work.
FreeMedForms Will be soon released on its last alpha version before
the first beta. May be you Will concidere to pack it for Fedora. There
is already a package available for OpenSuse Medical
Hi Eric,
Even though I've packaged freediams, and it seems to work, there are
some issues that I'd hope you could shed some light on:
======================================================================
Missing versioned so files:
[root@ankur result]# rpm -pql freediams-0.5.4-1.fc16.i686.rpm
freediams-data-0.5.4-1.fc16.noarch.rpm
freediams-devel-0.5.4-1.fc16.i686.rpm | egrep "\.so"
/usr/lib/freediams/libAggregation.so.1
/usr/lib/freediams/libAggregation.so.1.0
/usr/lib/freediams/libAggregation.so.1.0.0
/usr/lib/freediams/libExtensionSystem.so.1
/usr/lib/freediams/libExtensionSystem.so.1.0
/usr/lib/freediams/libExtensionSystem.so.1.0.0
/usr/lib/freediams/libMedicalUtils.so.1
/usr/lib/freediams/libMedicalUtils.so.1.0
/usr/lib/freediams/libMedicalUtils.so.1.0.0
/usr/lib/freediams/libMedinTux.so.1
/usr/lib/freediams/libMedinTux.so.1.0
/usr/lib/freediams/libMedinTux.so.1.0.0
/usr/lib/freediams/libTranslationUtils.so.1
/usr/lib/freediams/libTranslationUtils.so.1.0
/usr/lib/freediams/libTranslationUtils.so.1.0.0
/usr/lib/freediams/libUtils.so.1
/usr/lib/freediams/libUtils.so.1.0
/usr/lib/freediams/libUtils.so.1.0.0
/usr/lib/freediams/libAggregation.so
/usr/lib/freediams/libCore.so
/usr/lib/freediams/libDrugs.so
/usr/lib/freediams/libDrugsBase.so
/usr/lib/freediams/libExtensionSystem.so
/usr/lib/freediams/libListView.so
/usr/lib/freediams/libMainWindow.so
/usr/lib/freediams/libMedicalUtils.so
/usr/lib/freediams/libMedinTux.so
/usr/lib/freediams/libPrinter.so
/usr/lib/freediams/libSaveRestore.so
/usr/lib/freediams/libTemplates.so
/usr/lib/freediams/libTextEditor.so
/usr/lib/freediams/libTranslationUtils.so
/usr/lib/freediams/libUtils.so
Not all the so files have versioned counterparts. Freediams also looks
to link to libCore.so at runtime. Shouldn't it look to link with
libCore.so.? instead. At the moment, the devel package (which contains
the *.so files) is required for functioning of freediams since it
contains libCore.so
Is it possible to force the generation of versioned so files?
======================================================================
libAggregation.so:
qt-creator already contains this shared object. Is there a way of making
freediams use this? At the moment, I've considered this an internal
library and let rpaths be in the package. IMO, the bundled libAggregator
should be dropped and the one available from qt-creator used instead?
(If they're the same that is :) )
=======================================================================
Hard coded path for libCore.so:
The following line is contained in freediams/main.cpp
QLibrary
mysql("/Developer/Applications/Qt/plugins/sqldrivers/libqsqlmysql.dylib");
I've had to sed it during the build process to make it point to the
linux location of libsqlmysql.so. Shouldn't this be set by the
configuration flags etc in the build system rather than be hard coded?
(CONFIG+=LINUX_INTEGRATED should probably set this?)
========================================================================
Bundled quazip library:
Is there a reason you're using a bundled quazip library? I've managed to
edit the qmake project files and use the fedora packaged quazip library
and it seems to work just fine. Would it be possible to provide a build
time method of specifying the quazip location instead of using a bundled
version?
========================================================================
Translations:
I think there are translations in the freediams source, yet our %
find_lang fails to find them. Could you please shed some light on this?
Have I omitted some configuration option that would generate the
translations?
/usr/share/freediams/translations
/usr/share/freediams/translations/qt_de.qm
/usr/share/freediams/translations/qt_fr.qm
======================================================================
Okay, now that I look at it, they're quite a few :D
Please take your time :)
Thanks,
Regards,
Ankur