summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog27
-rw-r--r--debian/control30
-rw-r--r--debian/copyright57
-rw-r--r--debian/gbp.conf17
-rw-r--r--debian/install4
-rw-r--r--debian/patches/Add-a-build-system-for-gschemas.compiled.patch42
-rw-r--r--debian/patches/Do-not-force-enable-BT-on-extension-enable-only-do-sync-i.patch33
-rw-r--r--debian/patches/series2
-rwxr-xr-xdebian/rules7
-rw-r--r--debian/salsa-ci.yml3
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
12 files changed, 226 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a1f6815
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,27 @@
+gnome-shell-extension-bluetooth-quick-connect (8-1) unstable; urgency=medium
+
+ * Use an upstream release now that they are tagged
+ - d/p/Do-not-force-enable-BT-on-extension-enable-only-do-sync-i.patch:
+ Apply a patch that was in 0~git20190701 but not yet included in the
+ latest upstream release
+ * d/p/Add-a-build-system-for-gschemas.compiled.patch:
+ Mark as applied upstream
+ * d/watch: Only look for releases
+ * d/gbp.conf: Use GNOME team settings
+
+ -- Simon McVittie <smcv@debian.org> Sun, 21 Jul 2019 14:55:34 +0100
+
+gnome-shell-extension-bluetooth-quick-connect (0~git20190701-1) unstable; urgency=medium
+
+ * New upstream snapshot
+ - Declare support for GNOME Shell 3.32
+ * d/salsa-ci.yml: Request standard CI on salsa.debian.org
+ * Standards-Version: 4.4.0 (no changes required)
+
+ -- Simon McVittie <smcv@debian.org> Mon, 15 Jul 2019 08:26:21 +0100
+
+gnome-shell-extension-bluetooth-quick-connect (0~git20190225-1) unstable; urgency=medium
+
+ * Initial release (Closes: #923267)
+
+ -- Simon McVittie <smcv@debian.org> Mon, 25 Feb 2019 16:53:48 +0000
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..537c312
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: gnome-shell-extension-bluetooth-quick-connect
+Section: gnome
+Priority: optional
+Maintainer: Simon McVittie <smcv@debian.org>
+Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
+Build-Depends:
+ debhelper-compat (= 12),
+ gettext,
+ libglib2.0-bin,
+Standards-Version: 4.4.0
+Homepage: https://github.com/bjarosze/gnome-bluetooth-quick-connect
+Vcs-Git: https://salsa.debian.org/gnome-team/shell-extensions/gnome-shell-extension-bluetooth-quick-connect.git
+Vcs-Browser: https://salsa.debian.org/gnome-team/shell-extensions/gnome-shell-extension-bluetooth-quick-connect
+Rules-Requires-Root: no
+
+Package: gnome-shell-extension-bluetooth-quick-connect
+Architecture: all
+Depends:
+ gnome-shell (<< 3.33),
+ gnome-shell (>= 3.28),
+ ${misc:Depends},
+Recommends:
+ gnome-tweaks,
+Description: GNOME Shell extension to connect paired Bluetooth devices
+ This GNOME Shell extension adds entries to the shell's System menu
+ to provide a quick way to connect and disconnect Bluetooth devices that
+ were previously paired with the computer.
+ .
+ Please note that each user will need to enable the extension manually, for
+ example using the gnome-tweaks application.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c92cff3
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,57 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Bluetooth quick connect
+Source: https://github.com/bjarosze/gnome-bluetooth-quick-connect
+
+Files: *
+Copyright:
+ © 2018 Bartosz Jaroszewski
+License: GPL-2+
+
+Files:
+ convenience.js
+Copyright:
+ © 2011-2012 Giovanni Campagna
+License: BSD-3-clause
+
+Files: debian/*
+Copyright:
+ © 2014-2015 Tobias Frost
+ © 2016-2019 Simon McVittie
+License: GPL-2+
+
+License: GPL-2+
+ 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 2 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.
+Comment:
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of the GNOME nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..1d4b985
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,17 @@
+[DEFAULT]
+pristine-tar = True
+debian-branch = debian/master
+upstream-branch = upstream/latest
+upstream-vcs-tag = v%(version)s
+
+[buildpackage]
+sign-tags = True
+
+[dch]
+multimaint-merge = True
+
+[import-orig]
+postimport = dch -v%(version)s New upstream release; git add debian/changelog; debcommit
+
+[pq]
+patch-numbers = False
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..4f2d4c2
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,4 @@
+*.js usr/share/gnome-shell/extensions/bluetooth-quick-connect@bjarosze.gmail.com
+*.json usr/share/gnome-shell/extensions/bluetooth-quick-connect@bjarosze.gmail.com
+*.ui usr/share/gnome-shell/extensions/bluetooth-quick-connect@bjarosze.gmail.com
+schemas/*.xml usr/share/glib-2.0/schemas
diff --git a/debian/patches/Add-a-build-system-for-gschemas.compiled.patch b/debian/patches/Add-a-build-system-for-gschemas.compiled.patch
new file mode 100644
index 0000000..c216787
--- /dev/null
+++ b/debian/patches/Add-a-build-system-for-gschemas.compiled.patch
@@ -0,0 +1,42 @@
+From: Simon McVittie <smcv@debian.org>
+Date: Mon, 25 Feb 2019 15:16:09 +0000
+Subject: Add a build system for gschemas.compiled
+
+Instead of including it in the git repository, build it from its source
+code (the XML) as needed.
+
+Forwarded: https://github.com/bjarosze/gnome-bluetooth-quick-connect/pull/9
+Applied-upstream: upstream, 9, commit:3604aefeb87a06f0bec880384492f7c18b5626bf
+---
+ .gitignore | 1 +
+ Makefile | 14 ++++++++++++++
+ 2 files changed, 15 insertions(+)
+ create mode 100644 Makefile
+
+diff --git a/.gitignore b/.gitignore
+index a09c56d..e666a92 100644
+--- a/.gitignore
++++ b/.gitignore
+@@ -1 +1,2 @@
+ /.idea
++/schemas/gschemas.compiled
+diff --git a/Makefile b/Makefile
+new file mode 100644
+index 0000000..b34acee
+--- /dev/null
++++ b/Makefile
+@@ -0,0 +1,14 @@
++# Copyright 2019 Simon McVittie
++# SPDX-License-Identifier: GPL-2.0-or-later
++# (see extension.js for details)
++
++all:
++ glib-compile-schemas --strict --targetdir=schemas schemas
++
++dist: all
++ zip gnome-bluetooth-quick-connect.zip -9r *
++
++clean:
++ rm -fr gnome-bluetooth-quick-connect.zip schemas/gschemas.compiled
++
++.PHONY: all clean dist
diff --git a/debian/patches/Do-not-force-enable-BT-on-extension-enable-only-do-sync-i.patch b/debian/patches/Do-not-force-enable-BT-on-extension-enable-only-do-sync-i.patch
new file mode 100644
index 0000000..b04f412
--- /dev/null
+++ b/debian/patches/Do-not-force-enable-BT-on-extension-enable-only-do-sync-i.patch
@@ -0,0 +1,33 @@
+From: Andrei Tatar <6143482+andreittr@users.noreply.github.com>
+Date: Sat, 15 Jun 2019 14:12:02 +0200
+Subject: Do not force-enable BT on extension enable & only do sync if BT on
+
+Forwarded: https://github.com/bjarosze/gnome-bluetooth-quick-connect/pull/8
+Applied-upstream: upstream, 9, commit:9d28614c75e76805b808d4b93d77c8dc37bec066
+---
+ extension.js | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/extension.js b/extension.js
+index 0a9b9d2..403d956 100644
+--- a/extension.js
++++ b/extension.js
+@@ -95,14 +95,15 @@ class BluetoothQuickConnect {
+ if (isOpen && this._autoPowerOnEnabled())
+ this._proxy.BluetoothAirplaneMode = false;
+ });
+-
++
+ this._connectSignal(this._model, 'row-changed', () => this._sync());
+ this._connectSignal(this._model, 'row-deleted', () => this._sync());
+ this._connectSignal(this._model, 'row-inserted', () => this._sync());
+
+- this._proxy.BluetoothAirplaneMode = false;
+ this._idleMonitor();
+- this._sync();
++ if (!this._proxy.BluetoothAirplaneMode) {
++ this._sync();
++ }
+ }
+
+ disable() {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d95eed9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+Do-not-force-enable-BT-on-extension-enable-only-do-sync-i.patch
+Add-a-build-system-for-gschemas.compiled.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3c746ff
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+include /usr/share/dpkg/default.mk
+
+%:
+ dh $@
diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml
new file mode 100644
index 0000000..0c22dc4
--- /dev/null
+++ b/debian/salsa-ci.yml
@@ -0,0 +1,3 @@
+include:
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
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..f64ea64
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?@ANY_VERSION@(@ARCHIVE_EXT@)/@PACKAGE@-$1$2/,dversionmangle=s/\+git[0-9.]+$// \
+https://github.com/bjarosze/gnome-bluetooth-quick-connect/tags .*/archive/v?@ANY_VERSION@@ARCHIVE_EXT@