Hi, On Thu, Mar 17, 2016 at 09:41:18AM +0100, Roderich Schupp wrote: > What about burning the absolute path of the shared library into the > typelib, i.e. > > g-ir-compiler --shared-library > /usr/lib/libreoffice/program/liblibreofficekitgtk --output > LOKDocView-0.1.typelib LOKDocView-0.1.gir
Nice idea, so basically diff --git a/sysui/desktop/share/create_tree.sh b/sysui/desktop/share/create_tree.sh index 86d2837..18d2b2d 100755 --- a/sysui/desktop/share/create_tree.sh +++ b/sysui/desktop/share/create_tree.sh @@ -100,5 +100,6 @@ if [ -n "$INTROSPECTION_SCANNER" ]; then mkdir -p "${DESTDIR}/${LIBDIR}/girepository-1.0" g-ir-compiler "${DESTDIR}/${PREFIXDIR}/share/gir-1.0/LOKDocView-0.1.gir" \ + --shared-library=/${LIBDIR}/libreoffice/program/liblibreofficekitgtk \ --output="${DESTDIR}/${LIBDIR}/girepository-1.0/LOKDocView-0.1.typelib" fi in LO. > Works for me :) Did you rebuild "just" the typelib with what you pasted or did a complete "clean" LO build? No idea whether that works given the library isn't installed yet of course. (My gir knowledge right now is a bit limited, even though I maintain two packsages building gir12.-* ;)) But Michael has a point, when the one is public the other one should too, so this symlink (I don't really want to move it completely) is the more easier and less intrusive solution. And that one is already committed (see [1]) and matches what other distros do (Fedora mv's it, though) OTOH, that would make the Conflicts (to avoid the crash) done in [2] make it more clear, one then could Conflicts: gir1.2-lokdocview-0.1 (<= 1:5.1.1-1) instead of the (indirect) libreoffice-gtk3. Regards, Rene [1] http://anonscm.debian.org/cgit/pkg-openoffice/libreoffice.git/commit/?id=cbbd446ce6931967e2e16ab5eb8e13d705d380dc [2] https://anonscm.debian.org/viewvc/pkg-gnome/desktop/experimental/gnome-documents/debian/changelog?r1=47555&r2=47588