summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2019-03-06 06:24:16 +0000
committergutteridge <gutteridge@pkgsrc.org>2019-03-06 06:24:16 +0000
commitf4723484833dc5f93d7c21554c87424e6b3d97d9 (patch)
tree54f05edae94bd97ee0d8fe28f2367092e5a9386c /sysutils
parentccd0734005c9be4740c977723d32a309d526e9da (diff)
downloadpkgsrc-f4723484833dc5f93d7c21554c87424e6b3d97d9.tar.gz
caja-dropbox: update to 1.22
### caja-dropbox 1.22.0 * fix distcheck about caja_extension_dir * Initialize Travis CI support * Fix distcheck fail * use only Python 3 during the build to complete the migration * migrate from python2 to python3 of rst2man.py * remove more -u modifier for dropbox-cli ### caja-dropbox 1.21.0 * Python 3 update for dropbox-cli * Add Keywords entry to desktop file * Use cross-compilation-safe pkg-config macro. * Remove deprecated glib2.0 API calls * Use GIR bindings instead of pygtk * fix UnicodeWarning when exclude command is used with non-latin args * Update to redesigned icons * small caja-dropbox.in fixes * Add a new "dropbox update" command * Unlink files that are going to be replaced by the unpack * Validate that Dropbox runs after downloading it * Use python-gpg instead of python-gpgme * Explicitly load using python2 interpreter * Refer to .dropbox-dist in only one place * fixed 'exclude command raise UnicodeDecodeError' * Avoid reading or writing invalid memory addresses * Display link url on status * Update dropbox.py with shmodel, proxy, and throttle features. * update Copyright year
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/caja-dropbox/Makefile13
-rw-r--r--sysutils/caja-dropbox/distinfo12
-rw-r--r--sysutils/caja-dropbox/patches/patch-Makefile.in20
-rw-r--r--sysutils/caja-dropbox/patches/patch-configure33
4 files changed, 67 insertions, 11 deletions
diff --git a/sysutils/caja-dropbox/Makefile b/sysutils/caja-dropbox/Makefile
index a952602ce66..3e33a8f8704 100644
--- a/sysutils/caja-dropbox/Makefile
+++ b/sysutils/caja-dropbox/Makefile
@@ -1,25 +1,26 @@
-# $NetBSD: Makefile,v 1.16 2019/01/18 08:45:54 martin Exp $
+# $NetBSD: Makefile,v 1.17 2019/03/06 06:24:16 gutteridge Exp $
# Makefile.common already includes python .mk files, so need to set this here
-PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37 # py-gtk2, py-gobject
+PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../meta-pkgs/mate/Makefile.common"
-DISTNAME= caja-dropbox-1.20.0
+DISTNAME= caja-dropbox-${VERSION}
CATEGORIES= sysutils
COMMENT= Dropbox Caja extension
-DEPENDS+= ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2
-DEPENDS+= ${PYPKGPREFIX}-gobject-[0-9]*:../../devel/py-gobject
DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
-REPLACE_PYTHON= caja-dropbox.in
+CONFIGURE_ARGS+= ac_cv_path_PYTHON3=${PYTHONBIN}
+
+REPLACE_PYTHON= caja-dropbox.in rst2man.py
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/tool.mk"
.include "../../sysutils/caja/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/caja-dropbox/distinfo b/sysutils/caja-dropbox/distinfo
index 5df178a72f3..805469400a5 100644
--- a/sysutils/caja-dropbox/distinfo
+++ b/sysutils/caja-dropbox/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.3 2018/05/14 12:38:02 youri Exp $
+$NetBSD: distinfo,v 1.4 2019/03/06 06:24:16 gutteridge Exp $
-SHA1 (caja-dropbox-1.20.0.tar.xz) = 10f85879fa2a589f1991ef48b786248d110855a4
-RMD160 (caja-dropbox-1.20.0.tar.xz) = 0cc212e8eb96c93b964c9d068f0fdd676d433d4e
-SHA512 (caja-dropbox-1.20.0.tar.xz) = 13e888718ff7c5429772c938e7410378f16117a7c4582df1116c79130a2528b919ae9379779e31005d0a0a954019735fc3df1fdf11dbfdb2a886d95f6114ecf5
-Size (caja-dropbox-1.20.0.tar.xz) = 324948 bytes
+SHA1 (caja-dropbox-1.22.0.tar.xz) = 7baf482385c898ee79512423560678ad945d024d
+RMD160 (caja-dropbox-1.22.0.tar.xz) = ca4577c24ef8dc8c1143808dc20d3c935721e547
+SHA512 (caja-dropbox-1.22.0.tar.xz) = d21f44c0e0f7f28a963fb8611e6992b3ea58ba2ad5910e440d286ab447f2f91e4776496569eb271ed25cb2628e35d2bd80d12bf832bc76011241f6b09903a8b2
+Size (caja-dropbox-1.22.0.tar.xz) = 313492 bytes
+SHA1 (patch-Makefile.in) = 9a6a96f36c013114ea33bb74457e01f82ea2e937
+SHA1 (patch-configure) = 2512150ac359ed499ce00a847e451211b1d2af19
diff --git a/sysutils/caja-dropbox/patches/patch-Makefile.in b/sysutils/caja-dropbox/patches/patch-Makefile.in
new file mode 100644
index 00000000000..6c26aa7196a
--- /dev/null
+++ b/sysutils/caja-dropbox/patches/patch-Makefile.in
@@ -0,0 +1,20 @@
+$NetBSD: patch-Makefile.in,v 1.1 2019/03/06 06:24:17 gutteridge Exp $
+
+Handle hard-coded "python3" references.
+
+--- Makefile.in.orig 2019-02-25 12:46:27.000000000 +0000
++++ Makefile.in
+@@ -941,11 +941,11 @@ uninstall-man: uninstall-man1
+
+
+ caja-dropbox: $(top_srcdir)/caja-dropbox.in $(top_srcdir)/serializeimages.py
+- python3 $(top_srcdir)/serializeimages.py $(PACKAGE_VERSION) $(datadir)/applications < $(top_srcdir)/caja-dropbox.in > caja-dropbox
++ $(PYTHON3) $(top_srcdir)/serializeimages.py $(PACKAGE_VERSION) $(datadir)/applications < $(top_srcdir)/caja-dropbox.in > caja-dropbox
+ chmod +x caja-dropbox
+
+ caja-dropbox.1: $(top_srcdir)/caja-dropbox.txt.in caja-dropbox $(top_srcdir)/docgen.py
+- python3 $(top_srcdir)/docgen.py $(PACKAGE_VERSION) $(top_srcdir)/caja-dropbox.txt.in caja-dropbox.txt
++ $(PYTHON3) $(top_srcdir)/docgen.py $(PACKAGE_VERSION) $(top_srcdir)/caja-dropbox.txt.in caja-dropbox.txt
+ $(RST2MAN) caja-dropbox.txt > caja-dropbox.1
+
+ # Build ChangeLog from GIT history
diff --git a/sysutils/caja-dropbox/patches/patch-configure b/sysutils/caja-dropbox/patches/patch-configure
new file mode 100644
index 00000000000..b010d614031
--- /dev/null
+++ b/sysutils/caja-dropbox/patches/patch-configure
@@ -0,0 +1,33 @@
+$NetBSD: patch-configure,v 1.1 2019/03/06 06:24:17 gutteridge Exp $
+
+Handle hard-coded "python3" references.
+
+--- configure.orig 2019-02-25 12:46:26.000000000 +0000
++++ configure
+@@ -12380,7 +12380,7 @@ done
+ done
+ IFS=$as_save_IFS
+
+- test -z "$ac_cv_path_RST2MAN" && ac_cv_path_RST2MAN="python3 rst2man.py"
++ test -z "$ac_cv_path_RST2MAN" && ac_cv_path_RST2MAN="$PYTHON3 rst2man.py"
+ ;;
+ esac
+ fi
+@@ -12403,7 +12403,7 @@ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docutils on python3" >&5
+ $as_echo_n "checking for docutils on python3... " >&6; }
+
+-cat <<EOF | python3
++cat <<EOF | $PYTHON3
+ try:
+ import docutils
+ except:
+@@ -12425,7 +12425,7 @@ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gi on python3" >&5
+ $as_echo_n "checking for gi on python3... " >&6; }
+
+-cat <<EOF | python3
++cat <<EOF | $PYTHON3
+ try:
+ import gi
+ except: