]> git.pld-linux.org Git - packages/caja-dropbox.git/commitdiff
up to 1.22.0 auto/th/caja-dropbox-1.22.0-1
authorJan Palus <atler@pld-linux.org>
Mon, 18 Mar 2019 23:40:38 +0000 (00:40 +0100)
committerJan Palus <atler@pld-linux.org>
Mon, 18 Mar 2019 23:40:38 +0000 (00:40 +0100)
caja-dropbox.spec
dropboxd-path.patch
python-gpg-pkg.patch [new file with mode: 0644]
python-gpgme-pkg.patch [deleted file]

index 49ea064d2ae99c87457d9768e172c56e26e6c96e..05280a0304d39893bcddd19492798502f2783da7 100644 (file)
@@ -1,14 +1,14 @@
 Summary:       Dropbox extension for Caja file manager
 Summary(pl.UTF-8):     Rozszerzenie Dropbox dla zarządcy plików Caja
 Name:          caja-dropbox
-Version:       1.20.0
+Version:       1.22.0
 Release:       1
 License:       GPL v3+ (code), CC-BY-ND v3.0 (images)
 Group:         X11/Applications
-Source0:       http://pub.mate-desktop.org/releases/1.20/%{name}-%{version}.tar.xz
-# Source0-md5: fa026659ae58a48818855b5d8c4da39c
+Source0:       http://pub.mate-desktop.org/releases/1.22/%{name}-%{version}.tar.xz
+# Source0-md5: 8cd368c473a6586631cfcfae38c1c436
 Patch0:                dropboxd-path.patch
-Patch1:                python-gpgme-pkg.patch
+Patch1:                python-gpg-pkg.patch
 URL:           http://getdropbox.com/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake >= 1:1.9
@@ -18,21 +18,21 @@ BuildRequires:      docutils
 BuildRequires: glib2-devel >= 1:2.50.0
 BuildRequires: libtool
 BuildRequires: pkgconfig
-BuildRequires: python
-BuildRequires: python-docutils
-BuildRequires: python-pygobject >= 2
-BuildRequires: python-pygtk-gtk >= 2:2
+BuildRequires: python3
+BuildRequires: python3-docutils
+BuildRequires: python3-pygobject3
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.311
 Requires(post,postun): gtk-update-icon-cache
 Requires(post,postun): hicolor-icon-theme
 Requires:      caja >= 1.17.1
 Requires:      glib2 >= 1:2.50.0
-Requires:      python-modules
-Requires:      python-pygtk-gtk >= 2:2
+Requires:      gtk+3
+Requires:      python3-pygobject3
+Requires:      python3-modules
 Requires:      xdg-utils
 Suggests:      dropbox
-Suggests:      python-pygpgme
+Suggests:      python3-gpg
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
index fda1768a08adddc79428113166729b11a0148198..bf0f26048145f01bfdf8abf5384cb8a17000d856 100644 (file)
@@ -8,15 +8,6 @@
 +DROPBOXD_PATH = "/usr/bin/dropboxd"
 +if not os.access(DROPBOXD_PATH , os.X_OK):
 +      DROPBOXD_PATH = "%s/.dropbox-dist/dropboxd" % PARENT_DIR
- DESKTOP_FILE = u"@DESKTOP_FILE_DIR@/caja-dropbox.desktop"
+ DESKTOP_FILE = "@DESKTOP_FILE_DIR@/caja-dropbox.desktop"
  
  enc = locale.getpreferredencoding()
-@@ -699,7 +701,7 @@
-     return newmeth
- def start_dropbox():
--    db_path = os.path.expanduser(u"~/.dropbox-dist/dropboxd").encode(sys.getfilesystemencoding())
-+    db_path = DROPBOXD_PATH
-     if os.access(db_path, os.X_OK):
-         f = open("/dev/null", "w")
-         # we don't reap the child because we're gonna die anyway, let init do it
diff --git a/python-gpg-pkg.patch b/python-gpg-pkg.patch
new file mode 100644 (file)
index 0000000..727fbbc
--- /dev/null
@@ -0,0 +1,11 @@
+--- caja-dropbox-1.7.90/./caja-dropbox.in~     2014-04-06 14:05:59.000000000 +0300
++++ caja-dropbox-1.7.90/./caja-dropbox.in      2014-04-06 14:09:55.077288285 +0300
+@@ -50,7 +50,7 @@
+ INFO = "Dropbox is the easiest way to share and store your files online. Want to learn more? Head to"
+ LINK = "http://www.dropbox.com/"
+ WARNING = "In order to use Dropbox, you must download the proprietary daemon."
+-GPG_WARNING = "Note: python-gpg (python-gpgme for Ubuntu 16.10 and lower) is not installed, we will not be able to verify binary signatures."
++GPG_WARNING = "Note: python3-gpg is not installed, we will not be able to verify binary signatures."
+ ERROR_CONNECTING = "Trouble connecting to Dropbox servers. Maybe your internet connection is down, or you need to set your http_proxy environment variable."
+ ERROR_SIGNATURE = "Downloaded binary does not match Dropbox signature, aborting install."
diff --git a/python-gpgme-pkg.patch b/python-gpgme-pkg.patch
deleted file mode 100644 (file)
index 4ced26b..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- caja-dropbox-1.7.90/./caja-dropbox.in~     2014-04-06 14:05:59.000000000 +0300
-+++ caja-dropbox-1.7.90/./caja-dropbox.in      2014-04-06 14:09:55.077288285 +0300
-@@ -50,7 +50,7 @@
- INFO = u"Dropbox is the easiest way to share and store your files online. Want to learn more? Head to"
- LINK = u"http://www.dropbox.com/"
- WARNING = u"In order to use Dropbox, you must download the proprietary daemon."
--GPG_WARNING = u"Note: python-gpgme is not installed, we will not be able to verify binary signatures."
-+GPG_WARNING = u"Note: python-pygpgme is not installed, we will not be able to verify binary signatures."
- ERROR_CONNECTING = u"Trouble connecting to Dropbox servers. Maybe your internet connection is down, or you need to set your http_proxy environment variable."
- ERROR_SIGNATURE = u"Downloaded binary does not match Dropbox signature, aborting install."
This page took 0.16145 seconds and 4 git commands to generate.