Patch attached.

And I'm attaching another patch to update some fields now that

Ubuntu never renamed their chromium-browser to chromium so I added an
alternate for that.

Do you think we should mention the extension URLs in the package
description too?

I don't know if anything uses Enhances: now, but Ubuntu's old
software-center used it to show "addons" for a package.

Thanks,
Jeremy Bicha
From 49870d112b59a4bf0b6df8a8276ed5f66e5b8ca1 Mon Sep 17 00:00:00 2001
From: Jeremy Bicha <[email protected]>
Date: Sun, 15 Jan 2017 08:00:44 -0500
Subject: [PATCH 1/2] Use python3 instead of python

Closes: #851479
---
 debian/control    | 4 ++--
 debian/control.in | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 848e0a5..0d334e3 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Section: gnome
 Priority: optional
 Maintainer: Debian GNOME Maintainers <[email protected]> 
 Uploaders: Ritesh Raj Sarraf <[email protected]>, 
-Build-Depends: debhelper (>= 9.0.0), cmake, python (>= 2.7), gnome-pkg-tools
+Build-Depends: debhelper (>= 9.0.0), cmake, python3, gnome-pkg-tools
 Standards-Version: 3.9.8
 Homepage: https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome
 Vcs-Git: https://anonscm.debian.org/git/pkg-gnome/chrome-gnome-shell.git
@@ -15,7 +15,7 @@ Vcs-Browser: https://anonscm.debian.org/git/pkg-gnome/chrome-gnome-shell.git
 
 Package: chrome-gnome-shell
 Architecture: all
-Depends: ${misc:Depends}, gnome-shell, python (>= 2.7), python-gi
+Depends: ${misc:Depends}, gnome-shell, python3, python3-gi, python3-requests
 Suggests: chromium
 Description: GNOME Shell integration for Chromium browser
  Provides integration with GNOME Shell extensions repository for
diff --git a/debian/control.in b/debian/control.in
index 1a58c36..49ea182 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -3,7 +3,7 @@ Section: gnome
 Priority: optional
 Maintainer: Debian GNOME Maintainers <[email protected]> 
 Uploaders: Ritesh Raj Sarraf <[email protected]>, @GNOME_TEAM@
-Build-Depends: debhelper (>= 9.0.0), cmake, python (>= 2.7), gnome-pkg-tools, jq
+Build-Depends: debhelper (>= 9.0.0), cmake, python3, gnome-pkg-tools, jq
 Standards-Version: 3.9.8
 Homepage: https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome
 Vcs-Git: https://anonscm.debian.org/git/pkg-gnome/chrome-gnome-shell.git
@@ -11,7 +11,7 @@ Vcs-Browser: https://anonscm.debian.org/git/pkg-gnome/chrome-gnome-shell.git
 
 Package: chrome-gnome-shell
 Architecture: all
-Depends: ${misc:Depends}, gnome-shell, python (>= 2.7), python-gi, python-requests (>= 2.0)
+Depends: ${misc:Depends}, gnome-shell, python3, python3-gi, python3-requests
 Suggests: chromium
 Description: GNOME Shell integration for Chromium browser
  Provides integration with GNOME Shell extensions repository for
-- 
2.10.2

From 596d2f9d588da042ab1ff3abdfc2f8159725a861 Mon Sep 17 00:00:00 2001
From: Jeremy Bicha <[email protected]>
Date: Sun, 15 Jan 2017 08:05:28 -0500
Subject: [PATCH 2/2] Update description and more now that Firefox is supported

---
 debian/README.Debian | 6 +++++-
 debian/control       | 7 ++++---
 debian/control.in    | 5 +++--
 3 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
index 289fe6b..4550877 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -2,4 +2,8 @@ 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
-Chromium browser extension from the Web Store
+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/
diff --git a/debian/control b/debian/control
index 0d334e3..b748571 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Section: gnome
 Priority: optional
 Maintainer: Debian GNOME Maintainers <[email protected]> 
 Uploaders: Ritesh Raj Sarraf <[email protected]>, 
-Build-Depends: debhelper (>= 9.0.0), cmake, python3, gnome-pkg-tools
+Build-Depends: debhelper (>= 9.0.0), cmake, python3, gnome-pkg-tools, jq
 Standards-Version: 3.9.8
 Homepage: https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome
 Vcs-Git: https://anonscm.debian.org/git/pkg-gnome/chrome-gnome-shell.git
@@ -16,10 +16,11 @@ Vcs-Browser: https://anonscm.debian.org/git/pkg-gnome/chrome-gnome-shell.git
 Package: chrome-gnome-shell
 Architecture: all
 Depends: ${misc:Depends}, gnome-shell, python3, python3-gi, python3-requests
-Suggests: chromium
+Suggests: chromium | chromium-browser, firefox
+Enhances: chromium | chromium-browser, firefox
 Description: GNOME Shell integration for Chromium browser
  Provides integration with GNOME Shell extensions repository for
- Chromium (and other derivaties) browser
+ Chromium (and derivatives) and Firefox
  .
  This package provides the connector that talks with the browser
  extension
diff --git a/debian/control.in b/debian/control.in
index 49ea182..9b50b27 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -12,10 +12,11 @@ Vcs-Browser: https://anonscm.debian.org/git/pkg-gnome/chrome-gnome-shell.git
 Package: chrome-gnome-shell
 Architecture: all
 Depends: ${misc:Depends}, gnome-shell, python3, python3-gi, python3-requests
-Suggests: chromium
+Suggests: chromium | chromium-browser, firefox
+Enhances: chromium | chromium-browser, firefox
 Description: GNOME Shell integration for Chromium browser
  Provides integration with GNOME Shell extensions repository for
- Chromium (and other derivaties) browser
+ Chromium (and derivatives) and Firefox
  .
  This package provides the connector that talks with the browser
  extension
-- 
2.10.2

Reply via email to