Bug#983365: linphone-desktop: chat messages

Dennis Filder d.filder at web.de
Thu Feb 25 17:58:26 GMT 2021


Control: tag -1 + confirmed sid bullseye

I looked into this the past days, and I think this is actually a bug
in d/rules in src:linphone.  I'm beginning to suspect that this is due
to this line:

		-DENABLE_DB_STORAGE=NO \

Apparently the code for the once separate chat history and call
history DBs has been merged into a single DB with special logic to
handle the migration -- since I have no files from a previous version
linphone-desktop 4.2.5 here does not even create anymore the sqlite3
database linphone.db in ~/.local/share/linphone/ that David mentions,
only call-history.db and friends.db are created (which matches the
source code).  However, if the database storage isn't configured and
compiled in then that new database is not going to work of course.
Was there a specific reason for disabling this?  I could get
linphone-4.4.21 to build with -DENABLE_DB_STORAGE=YES, but I had to
first build+install a version of libsoci-dev that was compiled with
-DSOCI_CXX11=YES.  I'll contact the soci maintainer to see if he can
change that in time.

linphone-4.4.21/cmake/FindSoci.cmake calls the soci support
experimental, but the official appimage ships with both libsoci_core.0
and libsoci_sqlite3.0, so it should be stable enough for us, too.
That warning is probably outdated.  I attached a diff of the linked-in
shared libraries in Debian's and the AppImage's /usr/bin/linphone
(4.2.5) to illustrate where else we deviate.

Another issue I ran into: during dh_auto_configure a CMake macro tries
to invoke "git describe" to look up the tag for the build's branch.
Setting GIT_EXECUTABLE to a shell script that emits the expected tag
worked around that.  I used $(shell pwd) there to point to the script,
but I don't know if this is the right way to do it.  Fix it if it's
wrong.

I'll keep digging into this and let you know if I learn something new.

Regards,
Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rules.patch
Type: text/x-diff
Size: 1347 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20210225/f3d6cb85/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linphone-ldd.diff
Type: text/x-diff
Size: 2263 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20210225/f3d6cb85/attachment.diff>


More information about the Pkg-voip-maintainers mailing list