From 3604aefeb87a06f0bec880384492f7c18b5626bf Mon Sep 17 00:00:00 2001 From: Simon McVittie 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. This commit also adds brief installation instructions, and a convenience target to generate new release zip files. Signed-off-by: Simon McVittie --- .gitignore | 1 + Makefile | 14 ++++++++++++++ README.md | 19 +++++++++++++++++++ schemas/gschemas.compiled | Bin 476 -> 0 bytes 4 files changed, 34 insertions(+) create mode 100644 Makefile create mode 100644 README.md delete mode 100644 schemas/gschemas.compiled 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/README.md b/README.md new file mode 100644 index 0000000..5a6d8cb --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# Bluetooth quick connect + +This extension allows paired Bluetooth devices to be connected and +disconnected via the GNOME system menu, without having to enter the +Settings app every time. + +## Installation from extensions.gnome.org + +https://extensions.gnome.org/extension/1401/bluetooth-quick-connect/ + +## Installation from source code + +``` +git clone https://github.com/bjarosze/gnome-bluetooth-quick-connect +cd gnome-bluetooth-quick-connect +make +rm -r ~/.local/share/gnome-shell/extensions/bluetooth-quick-connect@bjarosze.gmail.com +cp -r gnome-bluetooth-quick-connect ~/.local/share/gnome-shell/extensions/bluetooth-quick-connect@bjarosze.gmail.com +``` diff --git a/schemas/gschemas.compiled b/schemas/gschemas.compiled deleted file mode 100644 index 85560bc..0000000 Binary files a/schemas/gschemas.compiled and /dev/null differ -- cgit v1.2.3