Package Details: timew-git r3124.814956b9-1

Git Clone URL: https://aur.archlinux.org/timew-git.git (read-only, click to copy)
Package Base: timew-git
Description: A command-line time tracker (also known as timewarrior)
Upstream URL: https://github.com/GothenburgBitFactory/timewarrior
Licenses: MIT
Conflicts: timew
Provides: timew
Submitter: cmdd
Maintainer: jose1711
Last Packager: jose1711
Votes: 12
Popularity: 0.000023
First Submitted: 2016-06-09 19:52 (UTC)
Last Updated: 2023-06-04 22:17 (UTC)

Dependencies (5)

Required by (1)

Sources (2)

Latest Comments

1 2 Next › Last »

jose1711 commented on 2021-11-15 22:06 (UTC)

upstream url needs an update

aspirogrammer commented on 2018-12-04 22:02 (UTC)

Error:

Submodule 'src/libshared' (https://github.com/GothenburgBitFactory/libshared.git) registered for path 'src/libshared'
fatal: No url found for submodule path 'test/googletest' in .gitmodules

skrylar commented on 2018-08-19 13:53 (UTC)

==> Starting prepare()... /home/skrylar/Packages-Staging/timew-git/PKGBUILD: line 28: cd: timew: No such file or directory

Changing variables in the PKGBUILD off of packagename-git and hardcoding "timewarrior" progresses from this error to a hunk apply error. I was able to get past that by commenting out the patches and "on-modify" bits, resulting in a successful build.

noonie2k commented on 2018-06-19 14:31 (UTC)

I had to make the following changes to get the latest code from git to install...

https://gist.github.com/noonie2k/4b62d7aacdd69b30f77f10d0b2a220f7

aspirogrammer commented on 2017-11-27 06:00 (UTC)

The changes mentioned by shubhamshuklaer did the trick. PKGBUILD should be modified accordingly.

shubhamshuklaer commented on 2017-07-17 15:34 (UTC) (edited on 2017-07-17 15:37 (UTC) by shubhamshuklaer)

@akendo on-modify-python2.patch fails to apply. In the source code there is no empty line between #!/usr/bin/env python and the comments. https://git.tasktools.org/TM/timew/src/master/ext/on-modify.timewarrior Solution is the remove the empty line b/w "#!/usr/bin/env python" and comments from patch file.

akendo commented on 2017-07-14 07:49 (UTC) (edited on 2017-07-14 07:51 (UTC) by akendo)

Hi my current system has trouble building timew. It abort with following error message: ==> Starting prepare()... Submodule 'src/libshared' (https://git.tasktools.org/scm/tm/libshared.git) registered for path 'src/libshared' Cloning into '/tmp/yaourt-tmp-akendo/aur-timew-git/src/timew/src/libshared'... done. Submodule path 'src/libshared': checked out '577c22e4c78dbcb9b0bc605d54650e791f3ff4ba' patching file doc/holidays/refresh patching file ext/on-modify.timewarrior Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file ext/on-modify.timewarrior.rej any idea what went wrong?

cmdd commented on 2017-06-03 20:49 (UTC)

@hikhvar I've updated the package accordingly

hikhvar commented on 2017-06-02 06:00 (UTC)

Hey, here is a patch to fix the on-modify hook. It uses python3 by default but is actually python2 code. From e65bcde371378afab1d5304d0ab4a2ae9191a6e6 Mon Sep 17 00:00:00 2001 From: hikhvar <chrobbert@gmail.com> Date: Fri, 2 Jun 2017 07:55:30 +0200 Subject: [PATCH] Patch on-modify hook for python2 --- PKGBUILD | 7 ++++--- on-modify-python2.patch | 8 ++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 on-modify-python2.patch diff --git a/PKGBUILD b/PKGBUILD index ad34789..bc63ec8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -15,8 +15,9 @@ conflicts=('timew') install=timew-git.install source=('git+https://git.tasktools.org/tm/timew.git' 'git+https://git.tasktools.org/tm/libshared.git' - 'timew-refresh-python2.patch') -md5sums=('SKIP' 'SKIP' 'SKIP') + 'timew-refresh-python2.patch' + 'on-modify-python2.patch') +md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP') pkgver() { cd "${pkgname%-git}" @@ -30,7 +31,7 @@ prepare() { git submodule update src/libshared patch -p1 -i "${srcdir}/timew-refresh-python2.patch" - + patch -p1 -i "${srcdir}/on-modify-python2.patch" cp "${srcdir}/${pkgname%-git}/ext/on-modify.timewarrior" "${srcdir}" } diff --git a/on-modify-python2.patch b/on-modify-python2.patch new file mode 100644 index 0000000..91fdd6f --- /dev/null +++ b/on-modify-python2.patch @@ -0,0 +1,8 @@ +--- old/ext/on-modify.timewarrior 2017-06-02 07:46:18.714635980 +0200 ++++ new/ext/on-modify.timewarrior 2017-06-02 07:46:33.827892286 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + ################################################################################ + # + # Copyright 2015 - 2016, Paul Beckingham, Federico Hernandez. -- 2.13.0

cmdd commented on 2017-05-11 03:11 (UTC)

Sorry for the late reply! The package has been updated & fixed.