So here it is.
Midgard2 installed and working with
maemo . It's midgard-core actually , but one doesn't need midgard-apache or midgard-php modules on N770 or N800.
Building midgard-core packages ( midgard-common and libmidgard10 ) has been easy and smooth , however getting it working with libgda arm packages has been very difficult. Simply, debian packages for gda missed few files.
I started with "editing"
unified configuration file . Well "edit" is a good word here as I have no any text editor installed. But with few tricks I managed to do this. I switched TableCreate to true and ran
midgard-schema midgard. Nasty surprise here ... I created database about 15 minutes re running midgard-schema few times after every terminal's crash. I expect tablet's CPU and memory is not just enough to do it fast. Memory storage speed might be also huge bottleneck. Creating tables is I/O very expensive operation.
However once database is created, midgard-schema runs "at normal speed" informing you that tables are already created. Now I need some user interface to see SQLite and Midgard in action.
Probably I could also use TestUnit configuration option to perform database tests.
Few notes from me for
libgda debian maintainer :
libgda-dev
libgda-dev.install file should contain such entries:
/usr/lib/pkgconfig/*.pc
/usr/lib/*.a
/usr/lib/*.la
gda-sqlite
gda-sqlite.install file should contain:
/usr/share/libgda-3.0/sqlite_specs_*.xml
Other issues
I have no idea why all sqlite spec xml files seems to be missed. Normally ( when compiled for i386 architecture ) gda library looks for spec files in lib directory and then in share one. When packages are compiled for armel architecture , gda looks for spec files only in lib directory.
To make libs working correctly I did this trick:
rules file
cp $(CURDIR)/debian/tmp/usr/share/libgda-3.0/sqlite_specs_*.xml $(CURDIR)/debian/tmp/usr/lib/libgda-3.0/providers/
gda-sqlite.install file
usr/lib/libgda-3.0/providers/*.xml
There are other xml and dtd files which should be correctly copied for debian packages, but there are only warnings thrown without them.