summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelog5
-rw-r--r--control30
-rw-r--r--copyright57
-rw-r--r--gbp.conf5
-rw-r--r--install4
-rw-r--r--patches/Add-a-build-system-for-gschemas.compiled.patch39
-rw-r--r--patches/series1
-rwxr-xr-xrules7
-rw-r--r--source/format1
-rw-r--r--watch6
10 files changed, 155 insertions, 0 deletions
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..e8ef66a
--- /dev/null
+++ b/changelog
@@ -0,0 +1,5 @@
+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/control b/control
new file mode 100644
index 0000000..623a7b1
--- /dev/null
+++ b/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.3.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.31),
+ 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/copyright b/copyright
new file mode 100644
index 0000000..c92cff3
--- /dev/null
+++ b/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/gbp.conf b/gbp.conf
new file mode 100644
index 0000000..d0e67b7
--- /dev/null
+++ b/gbp.conf
@@ -0,0 +1,5 @@
+[DEFAULT]
+patch-numbers = False
+pristine-tar = True
+debian-branch = debian/master
+upstream-branch = upstream/latest
diff --git a/install b/install
new file mode 100644
index 0000000..4f2d4c2
--- /dev/null
+++ b/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/patches/Add-a-build-system-for-gschemas.compiled.patch b/patches/Add-a-build-system-for-gschemas.compiled.patch
new file mode 100644
index 0000000..9df15d1
--- /dev/null
+++ b/patches/Add-a-build-system-for-gschemas.compiled.patch
@@ -0,0 +1,39 @@
+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.
+---
+ .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/patches/series b/patches/series
new file mode 100644
index 0000000..649c386
--- /dev/null
+++ b/patches/series
@@ -0,0 +1 @@
+Add-a-build-system-for-gschemas.compiled.patch
diff --git a/rules b/rules
new file mode 100755
index 0000000..3c746ff
--- /dev/null
+++ b/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+include /usr/share/dpkg/default.mk
+
+%:
+ dh $@
diff --git a/source/format b/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/watch b/watch
new file mode 100644
index 0000000..126a878
--- /dev/null
+++ b/watch
@@ -0,0 +1,6 @@
+version=4
+opts="mode=git,dversionmangle=s/[~+](dfsg|ds)[0-9]*$//,compression=xz,repacksuffix=~dfsg,pretty=0~git%cd" \
+https://github.com/bjarosze/gnome-bluetooth-quick-connect \
+HEAD \
+debian \
+uupdate