Date: Tue, 6 Oct 2015 19:18:23 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398715 - in head/deskutils: . syncthing-gtk syncthing-gtk/files Message-ID: <201510061918.t96JINBP000251@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Tue Oct 6 19:18:23 2015 New Revision: 398715 URL: https://svnweb.freebsd.org/changeset/ports/398715 Log: deskutils/syncthing-gtk: create port GTK3 & Python based GUI and notification area icon for Syncthing Supported Syncthing features: Everything what WebUI can display Adding / editing / deleting nodes Adding / editing / deleting repositories Restart / shutdown server Editing daemon settings WWW: https://syncthing.net/ PR: 203562 Submitted by: Ivan <enitarzi@gmail.com> Added: head/deskutils/syncthing-gtk/ head/deskutils/syncthing-gtk/Makefile (contents, props changed) head/deskutils/syncthing-gtk/distinfo (contents, props changed) head/deskutils/syncthing-gtk/files/ head/deskutils/syncthing-gtk/files/patch-syncthing-gtk.desktop (contents, props changed) head/deskutils/syncthing-gtk/files/patch-syncthing__gtk_configuration.py (contents, props changed) head/deskutils/syncthing-gtk/pkg-descr (contents, props changed) Modified: head/deskutils/Makefile Modified: head/deskutils/Makefile ============================================================================== --- head/deskutils/Makefile Tue Oct 6 18:58:03 2015 (r398714) +++ head/deskutils/Makefile Tue Oct 6 19:18:23 2015 (r398715) @@ -234,6 +234,7 @@ SUBDIR += superkaramba SUBDIR += superswitcher SUBDIR += surrealtodo + SUBDIR += syncthing-gtk SUBDIR += systempreferences SUBDIR += tagutils SUBDIR += taskcoach Added: head/deskutils/syncthing-gtk/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/syncthing-gtk/Makefile Tue Oct 6 19:18:23 2015 (r398715) @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= syncthing-gtk +PORTVERSION= 0.7.6 +DISTVERSIONPREFIX= v +CATEGORIES= deskutils python + +MAINTAINER= bsd@abinet.ru +COMMENT= Python based GUI for Syncthing + +LICENSE= GPLv2 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>0:${PORTSDIR}/devel/py-dateutil + +USE_GITHUB= yes +GH_ACCOUNT= syncthing + +USES= python:2 +USE_PYTHON= autoplist distutils +USE_GNOME= gtk30 pygobject3 +INSTALLS_ICONS= yes + +post-patch: + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ + ${WRKSRC}/syncthing-gtk.desktop \ + ${WRKSRC}/syncthing_gtk/configuration.py + +.include <bsd.port.mk> Added: head/deskutils/syncthing-gtk/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/syncthing-gtk/distinfo Tue Oct 6 19:18:23 2015 (r398715) @@ -0,0 +1,2 @@ +SHA256 (syncthing-syncthing-gtk-v0.7.6_GH0.tar.gz) = e7993135035114c43c06dcc12e52f665578166be089de422b691551a71fcceb4 +SIZE (syncthing-syncthing-gtk-v0.7.6_GH0.tar.gz) = 486984 Added: head/deskutils/syncthing-gtk/files/patch-syncthing-gtk.desktop ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/syncthing-gtk/files/patch-syncthing-gtk.desktop Tue Oct 6 19:18:23 2015 (r398715) @@ -0,0 +1,11 @@ +--- syncthing-gtk.desktop.orig 2015-10-06 17:39:30 UTC ++++ syncthing-gtk.desktop +@@ -2,7 +2,7 @@ + Name=Syncthing GTK + GenericName=Syncthing GTK + Comment=GUI for Syncthing +-Exec=/usr/bin/syncthing-gtk ++Exec=%%LOCALBASE%%/bin/syncthing-gtk + Type=Application + Icon=syncthing-gtk + Categories=Network Added: head/deskutils/syncthing-gtk/files/patch-syncthing__gtk_configuration.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/syncthing-gtk/files/patch-syncthing__gtk_configuration.py Tue Oct 6 19:18:23 2015 (r398715) @@ -0,0 +1,11 @@ +--- syncthing_gtk/configuration.py.orig 2015-10-06 17:40:00 UTC ++++ syncthing_gtk/configuration.py +@@ -30,7 +30,7 @@ class _Configuration(object): + "autokill_daemon" : (int, 2), # 0 - never kill, 1 - always kill, 2 - ask + "daemon_priority" : (int, 0), # uses nice values + "max_cpus" : (int, 0), # 0 for all cpus +- "syncthing_binary" : (str, "/usr/bin/syncthing"), ++ "syncthing_binary" : (str, "%%LOCALBASE%%/bin/syncthing"), + "minimize_on_start" : (bool, False), + "folder_as_path" : (bool, True), + "use_inotify" : (list, []), Added: head/deskutils/syncthing-gtk/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/syncthing-gtk/pkg-descr Tue Oct 6 19:18:23 2015 (r398715) @@ -0,0 +1,10 @@ +GTK3 & Python based GUI and notification area icon for Syncthing + +Supported Syncthing features: + Everything what WebUI can display + Adding / editing / deleting nodes + Adding / editing / deleting repositories + Restart / shutdown server + Editing daemon settings + +WWW: https://syncthing.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510061918.t96JINBP000251>