From 197f1dc4511dc42368e9fc95fccb7168df792d08 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 3 Jul 2020 12:30:01 +0100 Subject: [PATCH] Rename riot package Add a transitional package which hopefully does the upgrade in the right way (following https://wiki.debian.org/RenamingPackages except that adding the transitional package to the new package's control file make a package that reprepro rejects...) The transitional packages can be built with: ``` dpkg -b riot-desktop_1.7.0_all ``` The nightly transitional package is named / versioned assuming a release on Monday the 13th and will need to be edited & renamed as approriate (it just needs to be greater than whatever the latest nightly is at that point). --- element.io/nightly/control.template | 10 +++---- .../DEBIAN/control | 9 ++++++ element.io/release/control.template | 28 +++++++++++++++---- .../riot-desktop_1.7.0_all/DEBIAN/control | 9 ++++++ 4 files changed, 45 insertions(+), 11 deletions(-) create mode 100644 element.io/nightly/riot-nightly_2020071301_all/DEBIAN/control create mode 100644 element.io/release/riot-desktop_1.7.0_all/DEBIAN/control diff --git a/element.io/nightly/control.template b/element.io/nightly/control.template index 6528a6b..c0c45f9 100644 --- a/element.io/nightly/control.template +++ b/element.io/nightly/control.template @@ -1,11 +1,11 @@ -Package: riot-nightly +Package: element-nightly License: Apache-2.0 -Vendor: support@riot.im +Vendor: support@element.io Architecture: amd64 -Maintainer: support@riot.im +Maintainer: support@element.io Depends: libgtk-3-0, libnotify4, libnss3, libxss1, libxtst6, xdg-utils, libatspi2.0-0, libuuid1, libappindicator3-1, libsecret-1-0, libsqlcipher0 Section: net Priority: extra -Homepage: https://riot.im/ +Homepage: https://element.io/ Description: - A feature-rich client for Matrix.org (nightly unstable build). + riot.im A feature-rich client for Matrix.org (nightly unstable build). diff --git a/element.io/nightly/riot-nightly_2020071301_all/DEBIAN/control b/element.io/nightly/riot-nightly_2020071301_all/DEBIAN/control new file mode 100644 index 0000000..e6e12b5 --- /dev/null +++ b/element.io/nightly/riot-nightly_2020071301_all/DEBIAN/control @@ -0,0 +1,9 @@ +Package: riot-nightly +Version: 2020071301 +Depends: element-nightly +Maintainer: packages@element.io +Architecture: all +Priority: optional +Section: oldlibs +Description: transitional package + This is a transitional package. It can safely be removed. diff --git a/element.io/release/control.template b/element.io/release/control.template index 4482b27..a957952 100644 --- a/element.io/release/control.template +++ b/element.io/release/control.template @@ -1,13 +1,29 @@ -Package: riot-desktop +Package: element-desktop License: Apache-2.0 -Vendor: support@riot.im +Vendor: support@element.io Architecture: amd64 -Maintainer: support@riot.im +Maintainer: support@element.io Depends: libgtk-3-0, libnotify4, libnss3, libxss1, libxtst6, xdg-utils, libatspi2.0-0, libuuid1, libappindicator3-1, libsecret-1-0, libsqlcipher0 -Provides: riot-web -Replaces: riot-web +Replaces: riot-desktop (<< 1.7.0), riot-web (<< 1.7.0) +Breaks: riot-desktop (<< 1.7.0), riot-web (<< 1.7.0) Section: net Priority: extra -Homepage: https://riot.im/ +Homepage: https://element.io/ Description: A feature-rich client for Matrix.org + +Package: riot-desktop +Depends: element-desktop, ${misc:Depends} +Architecture: all +Priority: optional +Section: oldlibs +Description: transitional package + This is a transitional package. It can safely be removed. + +Package: riot-web +Depends: element-desktop, ${misc:Depends} +Architecture: all +Priority: optional +Section: oldlibs +Description: transitional package + This is a transitional package. It can safely be removed. diff --git a/element.io/release/riot-desktop_1.7.0_all/DEBIAN/control b/element.io/release/riot-desktop_1.7.0_all/DEBIAN/control new file mode 100644 index 0000000..979c578 --- /dev/null +++ b/element.io/release/riot-desktop_1.7.0_all/DEBIAN/control @@ -0,0 +1,9 @@ +Package: riot-desktop +Version: 1.7.0 +Depends: element-desktop +Maintainer: packages@element.io +Architecture: all +Priority: optional +Section: oldlibs +Description: transitional package + This is a transitional package. It can safely be removed.