mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
deskutils/timewarrior: update to 1.3.0
This commit is contained in:
parent
8c7fc49207
commit
8153d2fdb6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543633
@ -1,11 +1,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= timewarrior
|
||||
PORTVERSION= 1.1.1
|
||||
PORTREVISION= 3
|
||||
PORTVERSION= 1.3.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= deskutils
|
||||
MASTER_SITES= https://taskwarrior.org/download/
|
||||
DISTNAME= timew-${PORTVERSION}
|
||||
|
||||
MAINTAINER= swills@FreeBSD.org
|
||||
COMMENT= Track time from the command line
|
||||
@ -13,6 +11,10 @@ COMMENT= Track time from the command line
|
||||
LICENSE= MIT
|
||||
|
||||
USES= cmake compiler:c++11-lang
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= GothenburgBitFactory
|
||||
GH_TUPLE= GothenburgBitFactory:libshared:0d4e31d:libshared/src/libshared
|
||||
CMAKE_ARGS+= -DTIMEW_DOCDIR=${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,5 @@
|
||||
TIMESTAMP = 1529603473
|
||||
SHA256 (timew-1.1.1.tar.gz) = 1f7d9a62e55fc5a3126433654ccb1fd7d2d135f06f05697f871897c9db77ccc9
|
||||
SIZE (timew-1.1.1.tar.gz) = 166484
|
||||
TIMESTAMP = 1595964414
|
||||
SHA256 (GothenburgBitFactory-timewarrior-v1.3.0_GH0.tar.gz) = 6199304fc9697a2eb78c542357aec984924bc2ecad90f3bedf1f6299fe345484
|
||||
SIZE (GothenburgBitFactory-timewarrior-v1.3.0_GH0.tar.gz) = 165036
|
||||
SHA256 (GothenburgBitFactory-libshared-0d4e31d_GH0.tar.gz) = 254ebd19889ec077ce5f48ce4c014e768bf96c2f7928956c1e3b1a55b605c621
|
||||
SIZE (GothenburgBitFactory-libshared-0d4e31d_GH0.tar.gz) = 148753
|
||||
|
10
deskutils/timewarrior/files/patch-src_commands_CmdHelp.cpp
Normal file
10
deskutils/timewarrior/files/patch-src_commands_CmdHelp.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/commands/CmdHelp.cpp.orig 2020-07-28 19:41:05 UTC
|
||||
+++ src/commands/CmdHelp.cpp
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <FS.h>
|
||||
#include <shared.h>
|
||||
#include <additional-help.h>
|
||||
+#include <sys/wait.h>
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdHelpUsage (const Extensions& extensions)
|
20
deskutils/timewarrior/files/patch-src_libshared_src_FS.cpp
Normal file
20
deskutils/timewarrior/files/patch-src_libshared_src_FS.cpp
Normal file
@ -0,0 +1,20 @@
|
||||
--- src/libshared/src/FS.cpp.orig 2020-07-28 19:40:14 UTC
|
||||
+++ src/libshared/src/FS.cpp
|
||||
@@ -478,7 +478,7 @@ bool File::lock ()
|
||||
#ifdef DARWIN
|
||||
// l_start l_len l_pid l_type l_whence
|
||||
struct flock fl = {0, 0, 0, F_WRLCK, SEEK_SET};
|
||||
-#elif FREEBSD
|
||||
+#elif defined FREEBSD
|
||||
// l_type l_whence l_start l_len l_pid l_sysid
|
||||
struct flock fl = {F_WRLCK, SEEK_SET, 0, 0, 0, 0 };
|
||||
#else
|
||||
@@ -501,7 +501,7 @@ void File::unlock ()
|
||||
#ifdef DARWIN
|
||||
// l_start l_len l_pid l_type l_whence
|
||||
struct flock fl = {0, 0, 0, F_WRLCK, SEEK_SET};
|
||||
-#elif FREEBSD
|
||||
+#elif defined FREEBSD
|
||||
// l_type l_whence l_start l_len l_pid l_sysid
|
||||
struct flock fl = {F_WRLCK, SEEK_SET, 0, 0, 0, 0 };
|
||||
#else
|
@ -1,5 +1,44 @@
|
||||
bin/timew
|
||||
man/man1/timew.1.gz
|
||||
man/man1/timew-annotate.1.gz
|
||||
man/man1/timew-cancel.1.gz
|
||||
man/man1/timew-chart.1.gz
|
||||
man/man1/timew-config.1.gz
|
||||
man/man1/timew-continue.1.gz
|
||||
man/man1/timew-day.1.gz
|
||||
man/man1/timew-delete.1.gz
|
||||
man/man1/timew-diagnostics.1.gz
|
||||
man/man1/timew-export.1.gz
|
||||
man/man1/timew-extensions.1.gz
|
||||
man/man1/timew-fill.1.gz
|
||||
man/man1/timew-gaps.1.gz
|
||||
man/man1/timew-get.1.gz
|
||||
man/man1/timew-help.1.gz
|
||||
man/man1/timew-join.1.gz
|
||||
man/man1/timew-lengthen.1.gz
|
||||
man/man1/timew-modify.1.gz
|
||||
man/man1/timew-month.1.gz
|
||||
man/man1/timew-move.1.gz
|
||||
man/man1/timew-report.1.gz
|
||||
man/man1/timew-resize.1.gz
|
||||
man/man1/timew-shorten.1.gz
|
||||
man/man1/timew-show.1.gz
|
||||
man/man1/timew-split.1.gz
|
||||
man/man1/timew-start.1.gz
|
||||
man/man1/timew-stop.1.gz
|
||||
man/man1/timew-summary.1.gz
|
||||
man/man1/timew-tag.1.gz
|
||||
man/man1/timew-tags.1.gz
|
||||
man/man1/timew-track.1.gz
|
||||
man/man1/timew-undo.1.gz
|
||||
man/man1/timew-untag.1.gz
|
||||
man/man1/timew-week.1.gz
|
||||
man/man7/timew-config.7.gz
|
||||
man/man7/timew-dates.7.gz
|
||||
man/man7/timew-dom.7.gz
|
||||
man/man7/timew-durations.7.gz
|
||||
man/man7/timew-hints.7.gz
|
||||
man/man7/timew-ranges.7.gz
|
||||
%%DOCSDIR%%/AUTHORS
|
||||
%%DOCSDIR%%/COPYING
|
||||
%%DOCSDIR%%/ChangeLog
|
||||
|
Loading…
Reference in New Issue
Block a user