Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 2021 11:29:53 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a1eb3aeeecad - main - deskutils/todour: new port had been added (+)
Message-ID:  <202112061129.1B6BTrCA068058@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a1eb3aeeecad529d09729406cf300f41609b3f85

commit a1eb3aeeecad529d09729406cf300f41609b3f85
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2021-12-06 11:28:56 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2021-12-06 11:28:57 +0000

    deskutils/todour: new port had been added (+)
    
    Todour is a cross-platform application for handling todo.txt files.
    
    PR:             260243
    Submitted by:   mizhka
---
 deskutils/Makefile                    |  1 +
 deskutils/todour/Makefile             | 36 +++++++++++++++++++++++++++++++++++
 deskutils/todour/distinfo             |  7 +++++++
 deskutils/todour/files/patch-main.cpp | 10 ++++++++++
 deskutils/todour/pkg-descr            |  7 +++++++
 5 files changed, 61 insertions(+)

diff --git a/deskutils/Makefile b/deskutils/Makefile
index f2ec2fea3a38..b20c2d78f6e6 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -245,6 +245,7 @@
     SUBDIR += thinkingrock
     SUBDIR += timewarrior
     SUBDIR += todo
+    SUBDIR += todour
     SUBDIR += toolboxkit
     SUBDIR += tpb
     SUBDIR += treeline
diff --git a/deskutils/todour/Makefile b/deskutils/todour/Makefile
new file mode 100644
index 000000000000..b978b154eec1
--- /dev/null
+++ b/deskutils/todour/Makefile
@@ -0,0 +1,36 @@
+PORTNAME=	${GH_PROJECT:tl}
+PORTVERSION=	2.20
+DISTVERSIONPREFIX=	v
+CATEGORIES=	deskutils
+
+MAINTAINER=	mizhka@FreeBSD.org
+COMMENT=	Qt-based UI for editing of todo.txt files
+
+LICENSE=	GPLv2
+
+USES=		qmake qt:5
+USE_QT=		buildtools_build core gui network widgets
+USE_GITHUB=	yes
+GH_ACCOUNT=	SverrirValgeirsson
+GH_PROJECT=	Todour
+GH_TUPLE=	gamecreature:QtAwesome:86f3bb8:gamecreature/QtAwesome \
+		falceeffect:UGlobalHotkey:2edc485:falceeffect/UGlobalHotkey
+
+DESKTOP_ENTRIES="${GH_PROJECT}" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" \
+		"Utility;TextTools;" false
+
+PLIST_FILES=	bin/${PORTNAME} \
+		share/icons/hicolor/512x512/apps/${PORTNAME}.png
+
+post-patch:
+	@${REINPLACE_CMD} -e 's,$$$$system(perl ver.*,${PORTVERSION},' \
+		${WRKSRC}/Todour.pro
+
+do-install:
+	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/Todour \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps
+	${INSTALL_DATA} ${INSTALL_WRKSRC}/newicon.png \
+		${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps/${PORTNAME}.png
+
+.include <bsd.port.mk>
diff --git a/deskutils/todour/distinfo b/deskutils/todour/distinfo
new file mode 100644
index 000000000000..3f83cf24a6eb
--- /dev/null
+++ b/deskutils/todour/distinfo
@@ -0,0 +1,7 @@
+TIMESTAMP = 1615671221
+SHA256 (SverrirValgeirsson-Todour-v2.20_GH0.tar.gz) = f6a145ef9558697e3f9cf0c4ac4344419854f6bae1cd688a9d4bf865a78f6bc6
+SIZE (SverrirValgeirsson-Todour-v2.20_GH0.tar.gz) = 176971
+SHA256 (gamecreature-QtAwesome-86f3bb8_GH0.tar.gz) = c6d3ab27e1598ed5864cbf0c04c1cb542dec15a41eda1e79c16b28f8ce4c218b
+SIZE (gamecreature-QtAwesome-86f3bb8_GH0.tar.gz) = 125556
+SHA256 (falceeffect-UGlobalHotkey-2edc485_GH0.tar.gz) = 87e40b98e5d775f257aa4eb0d9683526426d20adb45491ab4b430915218c8b4b
+SIZE (falceeffect-UGlobalHotkey-2edc485_GH0.tar.gz) = 5857
diff --git a/deskutils/todour/files/patch-main.cpp b/deskutils/todour/files/patch-main.cpp
new file mode 100644
index 000000000000..26c21ee9cd73
--- /dev/null
+++ b/deskutils/todour/files/patch-main.cpp
@@ -0,0 +1,10 @@
+--- main.cpp.orig	2021-03-13 21:33:41 UTC
++++ main.cpp
+@@ -5,6 +5,7 @@ int main(int argc, char *argv[])
+ {
+     QApplication a(argc, argv);
+     MainWindow w;
++    a.setWindowIcon(QIcon(":/icons/newicon.png"));
+     w.show();
+     
+     return a.exec();
diff --git a/deskutils/todour/pkg-descr b/deskutils/todour/pkg-descr
new file mode 100644
index 000000000000..22d74c27bb70
--- /dev/null
+++ b/deskutils/todour/pkg-descr
@@ -0,0 +1,7 @@
+Todour is an application for handling todo.txt files (as made famous by
+Gina Trapani of Lifehacker) on Windows, macOS, and Unix-like operating
+systems.  The format is especially practical for an approach similar to
+the one suggested in the book ``Getting Things Done'' by David Allen,
+often referred to as GTD.
+
+WWW: https://nerdur.com/todour-pl/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112061129.1B6BTrCA068058>