Hi,

I gave packaging dino a try:

    https://build.opensuse.org/package/show/home:stbuehler/dino

* "dino" is already used as package name. I went for "dino-xmpp-client" 
  instead.
* I bundled libsignal-protocol-c as a separate tar ball. 
  Longterm #840366 should be used instead ofc.
* It fails to build on 32-bit in gpgme due to (missing) largefile 
  flags. Not sure how to handle this - gpgme says one should use 
  -D_FILE_OFFSET_BITS=64.
* Tarballs created with "git pack-dist" in the dino checkout (including
  submodules!), and the following in .git/config:

----
[alias]
        pack-dist = "!sh -c 'git archive --format=tar.xz --prefix=dino/ HEAD -o 
\"../dino-xmpp-client_$(git log --date=format:%Y%m%d -1 
--pretty=format:%ad-g%h).orig.tar.xz\"; git -C 
plugins/signal-protocol/libsignal-protocol-c archive --format=tar.xz 
--prefix=libsignal-protocol-c/ HEAD -o \"../../../../dino-xmpp-client_$(git log 
--date=format:%Y%m%d -1 
--pretty=format:%ad-g%h).orig-libsignal-protocol-c.tar.xz\"'"
----

Hope this helps :)

cheers,
Stefan

Reply via email to