Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deskutils/todour: new port had been added (+)
Todour is a cross-platform application for handling todo.txt files. PR: 260243 Submitted by: mizhka
- Loading branch information
Alexey Dokuchaev
authored and
Alexey Dokuchaev
committed
Dec 6, 2021
1 parent
8ac3694
commit a1eb3ae
Showing
5 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/ |