Mike Gabriel pushed to branch master at Debian and Ubuntu MATE Packaging Team / caja-admin
Commits:
-
de81b3ba
by Mike Gabriel at 2020-08-23T11:49:07+02:00
-
437dd8d1
by Mike Gabriel at 2020-08-23T11:55:36+02:00
-
d7381fc1
by Mike Gabriel at 2020-08-23T11:55:48+02:00
-
84673d90
by Mike Gabriel at 2020-08-23T11:58:18+02:00
4 changed files:
- debian/changelog
- debian/copyright
- − debian/patches/0001_python3-compat.patch
- − debian/patches/series
Changes:
1 |
+caja-admin (0.0.2-1) unstable; urgency=medium
|
|
2 |
+ |
|
3 |
+ * New upstream release.
|
|
4 |
+ * debian/control:
|
|
5 |
+ + Bump DH compat level to version 13.
|
|
6 |
+ + Bump Standards-Version: to 4.5.0. No changes needed.
|
|
7 |
+ * debian/patches:
|
|
8 |
+ + Drop 0001_python3-compat.patch. Applied upstream.
|
|
9 |
+ * debian/copyright:
|
|
10 |
+ + Update copyright attributions.
|
|
11 |
+ |
|
12 |
+ -- Mike Gabriel <sunweaver@debian.org> Sun, 23 Aug 2020 11:55:52 +0200
|
|
13 |
+ |
|
1 | 14 |
caja-admin (0.0.1-3) unstable; urgency=medium
|
2 | 15 |
|
3 | 16 |
* Upload to unstable as is.
|
... | ... | @@ -14,6 +14,7 @@ Files: .gitignore |
14 | 14 |
CONTRIBUTING.md
|
15 | 15 |
INSTALL.md
|
16 | 16 |
NEWS
|
17 |
+ NEWS.GNOME
|
|
17 | 18 |
README.md
|
18 | 19 |
cmake/cmake_uninstall.cmake.in
|
19 | 20 |
generate-pot-file.sh
|
... | ... | @@ -28,6 +29,7 @@ Files: |
28 | 29 |
caja-admin.appdata.xml
|
29 | 30 |
po/ar.po
|
30 | 31 |
po/caja-admin.pot
|
32 |
+ po/cs.po
|
|
31 | 33 |
po/de.po
|
32 | 34 |
po/es.po
|
33 | 35 |
po/fr.po
|
1 |
-From 0af109ac79df76fbcc406d577d79f1c64d1a1fca Mon Sep 17 00:00:00 2001
|
|
2 |
-From: Patrick Monnerat <patrick@monnerat.net>
|
|
3 |
-Date: Tue, 12 Feb 2019 03:31:31 +0100
|
|
4 |
-Subject: [PATCH] Python 3 compatibility.
|
|
5 |
- |
|
6 |
-Still running with Python 2.
|
|
7 |
----
|
|
8 |
- extension/caja-admin.py.in | 10 +++-------
|
|
9 |
- 1 file changed, 3 insertions(+), 7 deletions(-)
|
|
10 |
- |
|
11 |
-diff --git a/extension/caja-admin.py.in b/extension/caja-admin.py.in
|
|
12 |
-index 8280808..480531c 100644
|
|
13 |
---- a/extension/caja-admin.py.in
|
|
14 |
-+++ b/extension/caja-admin.py.in
|
|
15 |
-@@ -15,7 +15,7 @@
|
|
16 |
- # You should have received a copy of the GNU General Public License
|
|
17 |
- # along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
18 |
-
|
|
19 |
--import os, subprocess, urlparse, traceback
|
|
20 |
-+import os, subprocess, traceback
|
|
21 |
- from gi.repository import Caja, GObject, Gtk, GLib
|
|
22 |
- from gettext import gettext, locale, bindtextdomain, textdomain
|
|
23 |
-
|
|
24 |
-@@ -154,9 +154,7 @@ class CajaAdmin(Caja.MenuProvider, GObject.GObject):
|
|
25 |
- def _is_executable(self, file):
|
|
26 |
- """Returns whether the current user can execute the given file."""
|
|
27 |
- try:
|
|
28 |
-- uri = file.get_uri()
|
|
29 |
-- p = urlparse.urlparse(uri)
|
|
30 |
-- path = os.path.abspath(os.path.join(p.netloc, p.path))
|
|
31 |
-+ path = file.get_location().get_path()
|
|
32 |
- return os.access(path,os.X_OK)
|
|
33 |
- except:
|
|
34 |
- return False
|
|
35 |
-@@ -165,9 +163,7 @@ class CajaAdmin(Caja.MenuProvider, GObject.GObject):
|
|
36 |
- """'Run as Administrator' menu item callback."""
|
|
37 |
- if self._show_warning_dialog():
|
|
38 |
- try:
|
|
39 |
-- uri = file.get_uri()
|
|
40 |
-- p = urlparse.urlparse(uri)
|
|
41 |
-- path = os.path.abspath(os.path.join(p.netloc, p.path))
|
|
42 |
-+ path = file.get_location().get_path()
|
|
43 |
- #is_app = not os.path.splitext(path)[-1]
|
|
44 |
- cmd = [PKEXEC_PATH]
|
|
45 |
- #cmd +=['env','DISPLAY='+os.environ['DISPLAY'],'XAUTHORITY='+os.environ['XAUTHORITY']]
|
|
46 |
- |
1 |
-0001_python3-compat.patch
|