From 97410c6b8aa025d5c2fa1cd7b63e235c30638370 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 16:59:22 +0200 Subject: Adding debian version 0.4.5-4. Signed-off-by: Daniel Baumann --- debian/changelog | 37 +++++++++++++++++++++++++++++++++++ debian/control | 22 +++++++++++++++++++++ debian/copyright | 30 ++++++++++++++++++++++++++++ debian/install | 6 ++++++ debian/patches/gnome_3_34_fix.patch | 39 +++++++++++++++++++++++++++++++++++++ debian/patches/series | 1 + debian/rules | 12 ++++++++++++ debian/source/format | 1 + debian/watch | 3 +++ 9 files changed, 151 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/install create mode 100644 debian/patches/gnome_3_34_fix.patch create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..fbec74a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,37 @@ +gnome-shell-extension-impatience (0.4.5-4) unstable; urgency=medium + + * Move Vcs to salsa.debian.org + * Update standards version to 4.5.0 + * Upgrade to debhelper-compat (= 12) + * Update copyright years + * Use patch from Ubuntu to fix Gnome 3.34 compatibility + - Breaks backwards compatibility, set minimum gnome-shell version to 3.34 + + -- Jonathan Carter Tue, 25 Feb 2020 11:00:17 +0200 + +gnome-shell-extension-impatience (0.4.5-3) unstable; urgency=medium + + * Update compat to level 10 + * Update standards version to 4.1.1 + * Update maintainer e-mail address + + -- Jonathan Carter Wed, 18 Oct 2017 09:04:45 +0200 + +gnome-shell-extension-impatience (0.4.5-2) unstable; urgency=medium + + * Upload to unstable (no changes) + + -- Jonathan Carter Wed, 05 Jul 2017 14:52:42 +0200 + +gnome-shell-extension-impatience (0.4.5-1) experimental; urgency=medium + + * New upstream release + * Update watch file to format version 4 + + -- Jonathan Carter Sat, 27 May 2017 14:53:53 +0200 + +gnome-shell-extension-impatience (0.4.3-1) unstable; urgency=medium + + * Initial release (Closes: #842014) + + -- Jonathan Carter Sun, 30 Oct 2016 07:44:35 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2a32e9b --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ +Source: gnome-shell-extension-impatience +Section: gnome +Priority: optional +Maintainer: Jonathan Carter +Build-Depends: debhelper-compat (=12), libglib2.0-bin +Standards-Version: 4.5.0 +Homepage: https://github.com/timbertson/gnome-shell-impatience +Vcs-Git: https://salsa.debian.org/gnome-team/shell-extensions/gnome-shell-extension-impatience.git +Vcs-Browser: https://salsa.debian.org/gnome-team/shell-extensions/gnome-shell-extension-impatience + +Package: gnome-shell-extension-impatience +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-shell (>= 3.34) +Description: speed up the gnome-shell animation speed + The impatience extension allows you to speed up GNOME Shell + animation speeds. + . + From gnome-tweak-tool you can use a slider to scale the animation + speed down to any percentage. A speed scale of 1 means normal speed, + 0.5 will result in animations twice as fast, 0.1 will result in + animations being 10x faster, etc. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..2d35b1c --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: gnome-shell-extension-impatience +Source: https://github.com/timbertson/gnome-shell-impatience + +Files: * +Copyright: 2012-2017 Tim Cuthbertson +License: GPL-3+ + +Files: debian/* +Copyright: 2016-2020 Jonathan Carter +License: GPL-3+ + +License: GPL-3+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or (at + your option) any later version. + . + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General Public + License, version 3, can be found in the file + `/usr/share/common-licenses/GPL-3'. + diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..316aa50 --- /dev/null +++ b/debian/install @@ -0,0 +1,6 @@ +impatience/settings.js usr/share/gnome-shell/extensions/impatience@gfxmonk.net +impatience/prefs.js usr/share/gnome-shell/extensions/impatience@gfxmonk.net +impatience/metadata.json usr/share/gnome-shell/extensions/impatience@gfxmonk.net +impatience/extension.js usr/share/gnome-shell/extensions/impatience@gfxmonk.net +impatience/schemas/org.gnome.shell.extensions.net.gfxmonk.impatience.gschema.xml usr/share/gnome-shell/extensions/impatience@gfxmonk.net +impatience/schemas/gschemas.compiled usr/share/gnome-shell/extensions/impatience@gfxmonk.net/schemas diff --git a/debian/patches/gnome_3_34_fix.patch b/debian/patches/gnome_3_34_fix.patch new file mode 100644 index 0000000..1f2e1f0 --- /dev/null +++ b/debian/patches/gnome_3_34_fix.patch @@ -0,0 +1,39 @@ +Index: gnome-shell-extension-impatience/impatience/extension.js +=================================================================== +--- gnome-shell-extension-impatience.orig/impatience/extension.js ++++ gnome-shell-extension-impatience/impatience/extension.js +@@ -8,7 +8,6 @@ const Settings = Extension.imports.setti + + function LOG(m){ + global.log("[impatience] " + m); +- log("[impatience] " + m); + }; + function Ext() { + this._init.apply(this, arguments); +@@ -18,7 +17,7 @@ var noop = function() {}; + Ext.prototype = {}; + Ext.prototype._init = function() { + this.enabled = false; +- this.original_speed = St.get_slow_down_factor(); ++ this.original_speed = St.Settings.get().slow_down_factor; + this.modified_speed = DEFAULT_SPEED; + this.unbind = noop; + }; +@@ -40,7 +39,7 @@ Ext.prototype.enable = function() { + Ext.prototype.disable = function() { + this.enabled = false; + this.unbind(); +- St.set_slow_down_factor(this.original_speed); ++ St.Settings.get().slow_down_factor = this.original_speed; + }; + + Ext.prototype.set_speed = function(new_speed) { +@@ -52,7 +51,7 @@ Ext.prototype.set_speed = function(new_s + this.modified_speed = new_speed; + } + LOG("setting new speed: " + this.modified_speed); +- St.set_slow_down_factor(this.modified_speed); ++ St.Settings.get().slow_down_factor = this.modified_speed; + }; + + function init() { diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..e34612c --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +gnome_3_34_fix.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f8bd3bf --- /dev/null +++ b/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +%: + dh $@ + +# We don't need to build a zip archive, and skipping it +# reduces the need for zip as a build-dep. +# We do need to compile new plugin schemas though since the +# schema path is hardcoded for this plugin. +override_dh_auto_build: + glib-compile-schemas --strict --targetdir=impatience/schemas/ impatience/schemas + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..14bda4b --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +https://github.com/timbertson/gnome-shell-impatience/tags .*/version-?(\d\S*)\.tar\.gz + -- cgit v1.2.3