Re: productivity/timewarrior - WIP
On Sun, May 27, 2018 at 07:52:28PM +0100, Raf Czlonka wrote: There's only one way[0][1] to find out ;^) [0] http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/productivity/timewarrior/ [1] well, not *just* one, i.e. 'pkg_info timewarrior', etc. Thanks Raf, next time I'll search before asking..
Re: productivity/timewarrior - WIP
On Sun, May 27, 2018 at 07:45:01PM BST, Matthieu Guegan wrote: > ping ? I'm not sure if it was pushed to the tree or if something is still > missing ? There's only one way[0][1] to find out ;^) [0] http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/productivity/timewarrior/ [1] well, not *just* one, i.e. 'pkg_info timewarrior', etc.
Re: productivity/timewarrior - WIP
ping ? I'm not sure if it was pushed to the tree or if something is still missing ? thanks !
Re: productivity/timewarrior - WIP
On Mon 14/05/2018 21:30, Stuart Henderson wrote: > On 2018/05/14 21:38, Matthieu Guegan wrote: > > Hello ports@ > > > > What can I do for this port to be pushed into the tree please ? > > Thanks ! > > > > Slightly cleaned up version. Any OKs to import? (or somebody > else can import with my ok). OK bket@
Re: productivity/timewarrior - WIP
On 2018/05/14 21:38, Matthieu Guegan wrote: > Hello ports@ > > What can I do for this port to be pushed into the tree please ? > Thanks ! > Slightly cleaned up version. Any OKs to import? (or somebody else can import with my ok). timewarrior.tgz Description: application/tar-gz
Re: productivity/timewarrior - WIP
Hello ports@ What can I do for this port to be pushed into the tree please ? Thanks !
Re: productivity/timewarrior - WIP
On Thu, Apr 26, 2018 at 11:56:22PM +0200, Erling Westenvik wrote: May I ask you to try with my last patch please ? https://marc.info/?l=openbsd-ports&m=152438482714081&w=2 Done. No problems. Regards, Erling Thanks again Erling, @ports -> ok ?
Re: productivity/timewarrior - WIP
On Thu, Apr 26, 2018 at 10:13:02PM +0200, Matthieu Guegan wrote: > On Wed, Apr 25, 2018 at 09:44:22PM +0200, Erling Westenvik wrote: > > Compiles and installs without problems here on my current/amd64. Hope it > > gets ok'ed. > > May I ask you to try with my last patch please ? > https://marc.info/?l=openbsd-ports&m=152438482714081&w=2 Done. No problems. Regards, Erling
Re: productivity/timewarrior - WIP
On Wed, Apr 25, 2018 at 09:44:22PM +0200, Erling Westenvik wrote: Compiles and installs without problems here on my current/amd64. Hope it gets ok'ed. Erling Thanks for the test ! May I ask you to try with my last patch please ? https://marc.info/?l=openbsd-ports&m=152438482714081&w=2 Matthieu
Re: productivity/timewarrior - WIP
On Sat, Apr 21, 2018 at 04:13:37PM +0200, Matthieu Guegan wrote: > On Sat, Apr 21, 2018 at 03:03:39PM +0200, Erling Westenvik wrote: > > See this thread. Kent R. Spillner posted an initial port effort back in > > August 2016. It worked for me and I for one would surely welcome it in > > the tree/packages. > > http://openbsd-archive.7691.n7.nabble.com/RFC-productivity-timewarrior-td301172.html#a301180 > > Thanks Erling ! > I was already working on it, and seeing this thread gave me some nice > inputs. Please see/test the following attachment Compiles and installs without problems here on my current/amd64. Hope it gets ok'ed. Erling > Index: timewarrior/Makefile > === > RCS file: timewarrior/Makefile > diff -N timewarrior/Makefile > --- /dev/null 1 Jan 1970 00:00:00 - > +++ timewarrior/Makefile 21 Apr 2018 13:58:32 - > @@ -0,0 +1,33 @@ > +# $OpenBSD$ > + > +COMMENT =command line tracking time tool > + > +VERSION =1.1.1 > +DISTNAME = timew-${VERSION} > +PKGNAME =timewarrior-${VERSION} > +CATEGORIES = productivity > + > +HOMEPAGE = https://taskwarrior.org/ > + > +MASTER_SITES = ${HOMEPAGE}download/ > + > +# MIT > +PERMIT_PACKAGE_CDROM = Yes > + > +COMPILER = base-clang > +MODULES =devel/cmake > + > +WANTLIB += c m ${COMPILER_LIBCXX} > + > +CONFIGURE_STYLE =cmake > + > +CONFIGURE_ARGS +=-DCMAKE_BUILD_TYPE=release > +CONFIGURE_ARGS +=-DTIMEW_DOCDIR=share/doc/timewarrior > +CONFIGURE_ARGS +=-DTIMEW_RCDIR=share/doc/timewarrior/rc > +CONFIGURE_ARGS +=-DTIMEW_MAN1DIR=man/man1 > + > +SEPARATE_BUILD = concurrent > + > +NO_TEST =Yes > + > +.include > Index: timewarrior/distinfo > === > RCS file: timewarrior/distinfo > diff -N timewarrior/distinfo > --- /dev/null 1 Jan 1970 00:00:00 - > +++ timewarrior/distinfo 21 Apr 2018 13:58:32 - > @@ -0,0 +1,2 @@ > +SHA256 (timew-1.1.1.tar.gz) = H32aYuVfxaMSZDNlTMsf19LRNfBvBWl/hxiXydt3zMk= > +SIZE (timew-1.1.1.tar.gz) = 166484 > Index: timewarrior/pkg/DESCR > === > RCS file: timewarrior/pkg/DESCR > diff -N timewarrior/pkg/DESCR > --- /dev/null 1 Jan 1970 00:00:00 - > +++ timewarrior/pkg/DESCR 21 Apr 2018 13:58:32 - > @@ -0,0 +1,4 @@ > +Timewarrior is a command line time tracking application, which allows you to > +record time spent on activities. A Taskwarrior hook script provides > integration > +with the matching start and stop commands, thereby enabling proper time > tracking > +for Taskwarrior users. > Index: timewarrior/pkg/PLIST > === > RCS file: timewarrior/pkg/PLIST > diff -N timewarrior/pkg/PLIST > --- /dev/null 1 Jan 1970 00:00:00 - > +++ timewarrior/pkg/PLIST 21 Apr 2018 13:58:32 - > @@ -0,0 +1,25 @@ > +@comment $OpenBSD$ > +@bin bin/timew > +@man man/man1/timew.1 > +share/doc/timewarrior/ > +share/doc/timewarrior/AUTHORS > +share/doc/timewarrior/COPYING > +share/doc/timewarrior/ChangeLog > +share/doc/timewarrior/INSTALL > +share/doc/timewarrior/LICENSE > +share/doc/timewarrior/NEWS > +share/doc/timewarrior/README.md > +share/doc/timewarrior/doc/ > +share/doc/timewarrior/doc/holidays/ > +share/doc/timewarrior/doc/holidays/README > +share/doc/timewarrior/doc/holidays/holidays.en-US > +share/doc/timewarrior/doc/holidays/refresh > +share/doc/timewarrior/doc/themes/ > +share/doc/timewarrior/doc/themes/README > +share/doc/timewarrior/doc/themes/dark.theme > +share/doc/timewarrior/doc/themes/dark_blue.theme > +share/doc/timewarrior/doc/themes/dark_green.theme > +share/doc/timewarrior/doc/themes/dark_red.theme > +share/doc/timewarrior/ext/ > +share/doc/timewarrior/ext/on-modify.timewarrior > +share/doc/timewarrior/ext/totals.py
Re: productivity/timewarrior - WIP
ping ? Is there anything I can do for ports@ approval ?
Re: productivity/timewarrior - WIP
On Sat, Apr 21, 2018 at 11:58:38PM +0100, Stuart Henderson wrote: +SEPARATE_BUILD = concurrent skip this line. not sure where it was copied it from, but concurrent was removed some time ago (and even when it was used, it was only for multi-flavour ports). FYI it was directly copied from the Porting Guide on 16. https://www.openbsd.org/faq/ports/guide.html Thanks for your help, that's greatly appreciated ! Following your advices, I've updated the whole thing, see the attachments. timewarrior-1.1.1.tgz Description: Binary data Index: Makefile === RCS file: Makefile diff -N Makefile --- /dev/null 1 Jan 1970 00:00:00 - +++ Makefile22 Apr 2018 07:49:26 - @@ -0,0 +1,32 @@ +# $OpenBSD$ + +COMMENT = command line tracking time tool + +VERSION = 1.1.1 +DISTNAME = timew-${VERSION} +PKGNAME = timewarrior-${VERSION} +CATEGORIES = productivity + +MASTER_SITES = https://taskwarrior.org/download/ + +# MIT +PERMIT_PACKAGE_CDROM = Yes + +COMPILER = base-clang ports-gcc +MODULES = devel/cmake lang/python + +MODPY_RUNDEP = No +MODPY_BUILDDEP = No +MODPY_ADJ_FILES = ext/totals.py + +WANTLIB += c m ${COMPILER_LIBCXX} + +CONFIGURE_STYLE = cmake + +CONFIGURE_ARGS += -DTIMEW_DOCDIR=share/doc/timewarrior +CONFIGURE_ARGS += -DTIMEW_RCDIR=share/doc/timewarrior/rc +CONFIGURE_ARGS += -DTIMEW_MAN1DIR=man/man1 + +NO_TEST = Yes + +.include Index: distinfo === RCS file: distinfo diff -N distinfo --- /dev/null 1 Jan 1970 00:00:00 - +++ distinfo22 Apr 2018 07:49:26 - @@ -0,0 +1,2 @@ +SHA256 (timew-1.1.1.tar.gz) = H32aYuVfxaMSZDNlTMsf19LRNfBvBWl/hxiXydt3zMk= +SIZE (timew-1.1.1.tar.gz) = 166484 Index: pkg/DESCR === RCS file: pkg/DESCR diff -N pkg/DESCR --- /dev/null 1 Jan 1970 00:00:00 - +++ pkg/DESCR 22 Apr 2018 07:49:26 - @@ -0,0 +1,6 @@ +Timewarrior is a command line time tracking application, which allows +you to record time spent on activities. + +It can be used as a companion program for Taskwarrior - a hook script +provides integration with the matching start and stop commands, thereby +enabling proper time tracking for Taskwarrior users. Index: pkg/PLIST === RCS file: pkg/PLIST diff -N pkg/PLIST --- /dev/null 1 Jan 1970 00:00:00 - +++ pkg/PLIST 22 Apr 2018 07:49:26 - @@ -0,0 +1,25 @@ +@comment $OpenBSD$ +@bin bin/timew +@man man/man1/timew.1 +share/doc/timewarrior/ +share/doc/timewarrior/AUTHORS +share/doc/timewarrior/COPYING +share/doc/timewarrior/ChangeLog +share/doc/timewarrior/INSTALL +share/doc/timewarrior/LICENSE +share/doc/timewarrior/NEWS +share/doc/timewarrior/README.md +share/doc/timewarrior/doc/ +share/doc/timewarrior/doc/holidays/ +share/doc/timewarrior/doc/holidays/README +share/doc/timewarrior/doc/holidays/holidays.en-US +share/doc/timewarrior/doc/holidays/refresh +share/doc/timewarrior/doc/themes/ +share/doc/timewarrior/doc/themes/README +share/doc/timewarrior/doc/themes/dark.theme +share/doc/timewarrior/doc/themes/dark_blue.theme +share/doc/timewarrior/doc/themes/dark_green.theme +share/doc/timewarrior/doc/themes/dark_red.theme +share/doc/timewarrior/ext/ +share/doc/timewarrior/ext/on-modify.timewarrior +share/doc/timewarrior/ext/totals.py
Re: productivity/timewarrior - WIP
On 2018/04/21 16:13, Matthieu Guegan wrote: > +HOMEPAGE = https://taskwarrior.org/ > +MASTER_SITES = ${HOMEPAGE}download/ we made a general decision to have MASTER_SITES stand alone some time ago rather than reference HOMEPAGE, i.e. please use MASTER_SITES = https://taskwarrior.org/download/ > +COMPILER = base-clang so this does need C++11, but I don't see why it would need to be clang. this line should probably be "base-clang ports-gcc". > +CONFIGURE_ARGS +=-DCMAKE_BUILD_TYPE=release this is default, don't set it because it will do things wrong for builds done with MODCMAKE_DEBUG set (see cmake.port.mk). > +SEPARATE_BUILD = concurrent skip this line. not sure where it was copied it from, but concurrent was removed some time ago (and even when it was used, it was only for multi-flavour ports). SEPARATE_BUILD=Yes is set by default for cmake ports anyway as it's usually required. > +share/doc/timewarrior/ext/totals.py this has "#!/usr/bin/env python" which won't work. probably wants patching via MODPY_ADJ_FILES which will need MODULES=lang/python. if it doesn't warrant build/run deps then set MODPY_BUILDDEP=No MODPY_RUNDEP=No. pkg/DESCR is formatted a bit wide (hard against 80 columns). I think a quick reader may mistake Taskwarrior and Timewarrior in the text; maybe go for this instead? --- Timewarrior is a command line time tracking application, which allows you to record time spent on activities. It can be used as a companion program for Taskwarrior - a hook script provides integration with the matching start and stop commands, thereby enabling proper time tracking for Taskwarrior users. ---
Re: productivity/timewarrior - WIP
On Sat, Apr 21, 2018 at 03:03:39PM +0200, Erling Westenvik wrote: See this thread. Kent R. Spillner posted an initial port effort back in August 2016. It worked for me and I for one would surely welcome it in the tree/packages. http://openbsd-archive.7691.n7.nabble.com/RFC-productivity-timewarrior-td301172.html#a301180 Thanks Erling ! I was already working on it, and seeing this thread gave me some nice inputs. Please see/test the following attachment Matthieu timewarrior-1.1.1.tgz Description: Binary data Index: timewarrior/Makefile === RCS file: timewarrior/Makefile diff -N timewarrior/Makefile --- /dev/null 1 Jan 1970 00:00:00 - +++ timewarrior/Makefile21 Apr 2018 13:58:32 - @@ -0,0 +1,33 @@ +# $OpenBSD$ + +COMMENT = command line tracking time tool + +VERSION = 1.1.1 +DISTNAME = timew-${VERSION} +PKGNAME = timewarrior-${VERSION} +CATEGORIES = productivity + +HOMEPAGE = https://taskwarrior.org/ + +MASTER_SITES = ${HOMEPAGE}download/ + +# MIT +PERMIT_PACKAGE_CDROM = Yes + +COMPILER = base-clang +MODULES = devel/cmake + +WANTLIB += c m ${COMPILER_LIBCXX} + +CONFIGURE_STYLE = cmake + +CONFIGURE_ARGS += -DCMAKE_BUILD_TYPE=release +CONFIGURE_ARGS += -DTIMEW_DOCDIR=share/doc/timewarrior +CONFIGURE_ARGS += -DTIMEW_RCDIR=share/doc/timewarrior/rc +CONFIGURE_ARGS += -DTIMEW_MAN1DIR=man/man1 + +SEPARATE_BUILD = concurrent + +NO_TEST = Yes + +.include Index: timewarrior/distinfo === RCS file: timewarrior/distinfo diff -N timewarrior/distinfo --- /dev/null 1 Jan 1970 00:00:00 - +++ timewarrior/distinfo21 Apr 2018 13:58:32 - @@ -0,0 +1,2 @@ +SHA256 (timew-1.1.1.tar.gz) = H32aYuVfxaMSZDNlTMsf19LRNfBvBWl/hxiXydt3zMk= +SIZE (timew-1.1.1.tar.gz) = 166484 Index: timewarrior/pkg/DESCR === RCS file: timewarrior/pkg/DESCR diff -N timewarrior/pkg/DESCR --- /dev/null 1 Jan 1970 00:00:00 - +++ timewarrior/pkg/DESCR 21 Apr 2018 13:58:32 - @@ -0,0 +1,4 @@ +Timewarrior is a command line time tracking application, which allows you to +record time spent on activities. A Taskwarrior hook script provides integration +with the matching start and stop commands, thereby enabling proper time tracking +for Taskwarrior users. Index: timewarrior/pkg/PLIST === RCS file: timewarrior/pkg/PLIST diff -N timewarrior/pkg/PLIST --- /dev/null 1 Jan 1970 00:00:00 - +++ timewarrior/pkg/PLIST 21 Apr 2018 13:58:32 - @@ -0,0 +1,25 @@ +@comment $OpenBSD$ +@bin bin/timew +@man man/man1/timew.1 +share/doc/timewarrior/ +share/doc/timewarrior/AUTHORS +share/doc/timewarrior/COPYING +share/doc/timewarrior/ChangeLog +share/doc/timewarrior/INSTALL +share/doc/timewarrior/LICENSE +share/doc/timewarrior/NEWS +share/doc/timewarrior/README.md +share/doc/timewarrior/doc/ +share/doc/timewarrior/doc/holidays/ +share/doc/timewarrior/doc/holidays/README +share/doc/timewarrior/doc/holidays/holidays.en-US +share/doc/timewarrior/doc/holidays/refresh +share/doc/timewarrior/doc/themes/ +share/doc/timewarrior/doc/themes/README +share/doc/timewarrior/doc/themes/dark.theme +share/doc/timewarrior/doc/themes/dark_blue.theme +share/doc/timewarrior/doc/themes/dark_green.theme +share/doc/timewarrior/doc/themes/dark_red.theme +share/doc/timewarrior/ext/ +share/doc/timewarrior/ext/on-modify.timewarrior +share/doc/timewarrior/ext/totals.py
Re: productivity/timewarrior - WIP
On Sat, Apr 21, 2018 at 09:26:41AM +0200, Matthieu Guegan wrote: > Hello ! > I'm working on the productivity/timewarrior[1] port for OpenBSD. > It should be a nice addition of the existing taskwarrior. > > Is someone already working on it ? See this thread. Kent R. Spillner posted an initial port effort back in August 2016. It worked for me and I for one would surely welcome it in the tree/packages. http://openbsd-archive.7691.n7.nabble.com/RFC-productivity-timewarrior-td301172.html#a301180 Regards, Erling > -- > Matthieu Guegan > > [1] https://taskwarrior.org/docs/timewarrior/what.html >
productivity/timewarrior - WIP
Hello ! I'm working on the productivity/timewarrior[1] port for OpenBSD. It should be a nice addition of the existing taskwarrior. Is someone already working on it ? -- Matthieu Guegan [1] https://taskwarrior.org/docs/timewarrior/what.html