[SCM] kwin packaging branch, master, updated. debian/5.3.2-2-3-g6b23ec9

Scott Kitterman kitterman at moszumanska.debian.org
Thu Jul 30 04:19:58 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/plasma/kwin.git;a=commitdiff;h=6b23ec9

The following commit has been merged in the master branch:
commit 6b23ec9e53f6af5897d21e03c59a85282bf8a123
Author: Scott Kitterman <scott at kitterman.com>
Date:   Thu Jul 30 00:19:25 2015 -0400

    * Remove obsolete kwin alternative and add new alternative for kwin_x11 so
      kwin will work as x-window-manager (Closes: #792849, #793997, #793026)
---
 debian/changelog         | 10 ++++++++--
 debian/kwin-x11.postinst | 43 +++++++++++++++++++++++++++++++++++++++++++
 debian/kwin-x11.prerm    | 44 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 95 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f557700..b4d37aa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,14 @@
-kwin (4:5.3.2-3~) UNRELEASED; urgency=medium
+kwin (4:5.3.2-3) unstable; urgency=high
 
+  [ Maximiliano Curia ]
   * kwin-wayland: Add qtwayland5 dependency, for the wayland qt5 plugin.
 
- -- Maximiliano Curia <maxy at debian.org>  Thu, 23 Jul 2015 09:53:26 +0200
+  [ Scott Kitterman ]
+  * Urgency high for RC but fix in testing
+  * Remove obsolete kwin alternative and add new alternative for kwin_x11 so
+    kwin will work as x-window-manager (Closes: #792849, #793997, #793026)
+
+ -- Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Wed, 29 Jul 2015 16:43:28 -0400
 
 kwin (4:5.3.2-2) unstable; urgency=medium
 
diff --git a/debian/kwin-x11.postinst b/debian/kwin-x11.postinst
new file mode 100644
index 0000000..123e72d
--- /dev/null
+++ b/debian/kwin-x11.postinst
@@ -0,0 +1,43 @@
+#! /bin/sh
+# postinst script for kwin
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+case "$1" in
+    configure)
+        update-alternatives --remove x-window-manager /usr/bin/kwin
+	update-alternatives --install /usr/bin/x-window-manager x-window-manager /usr/bin/kwin_x11 50
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/kwin-x11.prerm b/debian/kwin-x11.prerm
new file mode 100644
index 0000000..63a4042
--- /dev/null
+++ b/debian/kwin-x11.prerm
@@ -0,0 +1,44 @@
+#! /bin/sh
+# prerm script for kwin
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove)
+        update-alternatives --remove x-window-manager /usr/bin/kwin_x11
+    ;;
+
+    upgrade|deconfigure)
+    ;;
+
+    failed-upgrade)
+    ;;
+
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

-- 
kwin packaging



More information about the pkg-kde-commits mailing list