[chrome-gnome-shell] ubuntu: sync with Debian package. Switch to python3 - drop Precise
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chrome-gnome-shell] ubuntu: sync with Debian package. Switch to python3 - drop Precise
- Date: Sun, 12 Feb 2017 19:01:02 +0000 (UTC)
commit 786c1a23aeed29dfc5a2e4c93d97a2045fe838c4
Author: Yuri Konotopov <ykonotopov gnome org>
Date: Sun Feb 12 23:00:48 2017 +0400
ubuntu: sync with Debian package. Switch to python3 - drop Precise
contrib/ubuntu/README.Debian | 11 +++++++++++
contrib/ubuntu/control | 8 +++++---
contrib/ubuntu/copyright | 40 ++++++++++++++++++++++++++++++++++++++--
contrib/ubuntu/postrm | 14 --------------
contrib/ubuntu/preinst | 24 ++++++++++++++++++++++++
contrib/ubuntu/rules | 4 ++--
6 files changed, 80 insertions(+), 21 deletions(-)
---
diff --git a/contrib/ubuntu/README.Debian b/contrib/ubuntu/README.Debian
new file mode 100644
index 0000000..1706bf7
--- /dev/null
+++ b/contrib/ubuntu/README.Debian
@@ -0,0 +1,11 @@
+This package provides the connector, which connects GNOME Shell
+Extensions to the web.
+.
+Currently, to get it fully working, you need to also install the
+browser extension from the Web Store
+.
+https://chrome.google.com/webstore/detail/gnome-shell-integration/gphhapmejobijbbhgpjhcjognlahblep
+.
+https://addons.mozilla.org/firefox/addon/gnome-shell-integration/
+.
+https://addons.opera.com/extensions/details/gnome-shell-integration/
diff --git a/contrib/ubuntu/control b/contrib/ubuntu/control
index bce3ad2..df4f562 100644
--- a/contrib/ubuntu/control
+++ b/contrib/ubuntu/control
@@ -2,14 +2,16 @@ Source: chrome-gnome-shell
Section: gnome
Priority: optional
Maintainer: Yuri Konotopov <ykonotopov gnome org>
-Build-Depends: debhelper (>= 8.0.0), cmake, coreutils, python (>= 2.7), jq
+Build-Depends: debhelper (>= 9.0.0), cmake, coreutils, python3, gnome-pkg-tools, jq
Standards-Version: 3.9.4
-Homepage: <https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome>
+Homepage: https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome
Vcs-Git: git://git.gnome.org/chrome-gnome-shell
Vcs-Browser: https://git.gnome.org/browse/chrome-gnome-shell
Package: chrome-gnome-shell
Architecture: all
-Depends: gnome-shell, python (>= 2.7), python-gi, python-requests (>= 2.0)
+Depends: ${misc:Depends}, gnome-shell, python3, python3-gi, python3-requests
+Suggests: chromium | chromium-browser, firefox
+Enhances: chromium, chromium-browser, firefox
Description: GNOME Shell integration
Provides integration with GNOME Shell extensions repository
diff --git a/contrib/ubuntu/copyright b/contrib/ubuntu/copyright
index 630fa45..7115d38 100644
--- a/contrib/ubuntu/copyright
+++ b/contrib/ubuntu/copyright
@@ -1,12 +1,48 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: chrome-gnome-shell
-Upstream-Contact: https://github.com/nE0sIghT/chrome-gnome-shell/issues
+Upstream-Contact: https://github.com/nE0sIghT/chrome-gnome-shell-mirror/issues
Source: https://git.gnome.org/browse/chrome-gnome-shell/
Files: *
-Copyright: 2016 Yuri Konotopov <ykonotopov gnome org>
+Copyright: 2016-2017 Yuri Konotopov <ykonotopov gnome org>
+License: GPL-3+
+
+Files: extension/include/external/jquery-2.1.4.js
+Copyright: 2014 jQuery Foundation, Inc
+License: MIT
+
+Files: extension/include/external/tabby-10.1.0.js
+Copyright: 2016 Chris Ferdinandi
+License: MIT
+
+Files: debian/*
+Copyright: 2016-2017 Yuri Konotopov <ykonotopov gnome org>
+ 2016-2017 Ritesh Raj Sarraf <rrs debian org>
+License: GPL-3+
+
License: GPL-3+
This package 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.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ can be found in "/usr/share/common-licenses/GPL-3"
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the Software
+ is furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/contrib/ubuntu/preinst b/contrib/ubuntu/preinst
new file mode 100644
index 0000000..a06e8d9
--- /dev/null
+++ b/contrib/ubuntu/preinst
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+set -e
+
+
+case "$1" in
+ remove|purge)
+ ;;
+
+ install|upgrade|failed-upgrade)
+ if dpkg --compare-versions "$2" le "7.2-2"; then
+ [ -e /var/lib/dpkg/info/chrome-gnome-shell.postrm ] && rm
/var/lib/dpkg/info/chrome-gnome-shell.postrm
+ fi
+ ;;
+
+ *)
+ echo "Called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/contrib/ubuntu/rules b/contrib/ubuntu/rules
index 200499c..3f3b62a 100755
--- a/contrib/ubuntu/rules
+++ b/contrib/ubuntu/rules
@@ -5,7 +5,7 @@
#export DH_VERBOSE=1
%:
- dh $@
+ dh $@ --with gnome
override_dh_auto_configure:
- dh_auto_configure -- -DBUILD_EXTENSION=OFF -DUSE_DEBIAN_LAYOUT=ON -DCMAKE_INSTALL_LIBDIR=lib
+ dh_auto_configure -- -DBUILD_EXTENSION=OFF -DUSE_DEBIAN_LAYOUT=ON -DCMAKE_INSTALL_LIBDIR=lib
-DPython_ADDITIONAL_VERSIONS=3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]