1. 26 Jul, 2018 2 commits
    • Hugo Lefeuvre's avatar
      packaging: Debian packaging update · 2ae32538
      Hugo Lefeuvre authored
      Backport various fixes from Alexandre's work on the official Debian
      package:
      
      Debian packaging:
      * Add missing libqt5sql5-sqlite dependency
      * Various copyright updates
      * Update Standards-Version
      * Priority optional (extra is deprecated now)
      * Update Vcs-* fields
      * Add missing copyright entry
      * Remove useless gbp.conf file (only meaningful when using
        git-buildpackage in a git-buildpackage compatible repo which is
        not the case here)
      
      Packaging scripts:
      * Remove Ubuntu 14.04 and 15.10 related code
      * Various copyright updates
      * Set e-mail address before generating changelog entry
      
      Change-Id: I18e523422d16fe129cf6773ab01a99b00232a5bb
      Gitlab: #481Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
      2ae32538
    • Hugo Lefeuvre's avatar
      packaging: install repo and keys · c902ea1b
      Hugo Lefeuvre authored
      Currently it is very difficult for non-power-users to get Ring
      automatically updated when using the Debian package from the website.
      
      This is because configuring the Ring package repository requires
      command line operations.
      
      We want the Ring Debian/Ubuntu/whatever-Debian-based package (the
      one from the website, not the official one from the Debian archive)
      to make sure Ring's repository url and GnuPG key are installed as
      trusted source together with the binaries so that Ring gets
      transparently updated along with system updates.
      
      In order to do that, we have to change some things from the official
      package we have in the Debian archive:
      
      * we need to provide both daemon and client in a single ring-all
      package. Otherwise we will not be able to provide a one-click install
      (users would have to install daemon and client in two separate steps
      and that doesn't make much sense to non-geek users).
      
      So, replace ring by ring-all and keep building ring-daemon as before
      (we still want to provide daemon-only packages).
      
      * we need to add prerm and postinst scripts which will take care of
      installing the repo and keys (and this has to be done in different
      ways depending on the distribution) in the ring-all case.
      
      Also, remove transition package ring-gnome which has already
      disappeared from the Debian package some time ago.
      
      Change-Id: I34d5e5ba000d5d750c8db55c65b536a237a738b5
      Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
      c902ea1b