[SCM] spectacle packaging branch, master, updated. debian/16.08.3-1-2-g9556c7c

Maximiliano Curia maxy at moszumanska.debian.org
Tue Dec 6 13:46:01 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/spectacle.git;a=commitdiff;h=3651470

The following commit has been merged in the master branch:
commit 36514704959e3713613d15abc07ae205d1b1b446
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Tue Dec 6 13:51:10 2016 +0100

    Add transitional script for ksnapshot
    
    Closes: 845449
    Thanks: Thorsten Glaser for the report
---
 debian/bin/ksnapshot         | 4 ++++
 debian/control               | 2 ++
 debian/kde-spectacle.install | 1 +
 3 files changed, 7 insertions(+)

diff --git a/debian/bin/ksnapshot b/debian/bin/ksnapshot
new file mode 100755
index 0000000..36e2173
--- /dev/null
+++ b/debian/bin/ksnapshot
@@ -0,0 +1,4 @@
+#!/bin/sh
+echo >&2 "W: The ksnapshot utility has been deprecated in favor of spectacle"
+echo >&2 "W: Starting spectacle ..."
+exec spectacle "$@"
diff --git a/debian/control b/debian/control
index 0dc86ba..9acd355 100644
--- a/debian/control
+++ b/debian/control
@@ -39,6 +39,8 @@ Package: kde-spectacle
 Section: graphics
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
+Breaks: ksnapshot (<< 4:16.04.1-1)
+Replaces: ksnapshot (<< 4:16.04.1-1)
 Description: Screenshot capture utility, replaces KSnapshot
  Spectacle captures images of the screen. It can capture the whole screen,
  a specified region, an individual window, or only part of a window.
diff --git a/debian/kde-spectacle.install b/debian/kde-spectacle.install
new file mode 100644
index 0000000..050b246
--- /dev/null
+++ b/debian/kde-spectacle.install
@@ -0,0 +1 @@
+debian/bin/ksnapshot usr/bin

-- 
spectacle packaging



More information about the pkg-kde-commits mailing list