Package Details: tut 2.0.1-3

Git Clone URL: https://aur.archlinux.org/tut.git (read-only, click to copy)
Package Base: tut
Description: A TUI for Mastodon with vim inspired keys
Upstream URL: https://github.com/RasmusLindroth/tut
Licenses: MIT
Conflicts: tut-bin
Submitter: rasmus
Maintainer: kchr (rasmus)
Last Packager: kchr
Votes: 13
Popularity: 1.09
First Submitted: 2020-04-09 09:08 (UTC)
Last Updated: 2025-02-09 18:12 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

kchr commented on 2025-02-09 17:41 (UTC) (edited on 2025-02-09 18:13 (UTC) by kchr)

It was not disowned by the developer himself. I submitted an orphan request two weeks ago due to the lack of response and it was approved today since there were no objections by the developer. I have now adopted it and added rasmus as co-maintainer in case he wants to continue to contribute. If not, I am happy to take care of it.

An update to the PKGBUILD that should fix the broken build has just been pushed. Let me know if there are any other issues!

Good to know he has no plans to abandon the upstream source. :-)

m040601 commented on 2025-02-09 00:34 (UTC) (edited on 2025-02-09 00:42 (UTC) by m040601)

FYI, https://github.com/RasmusLindroth/tut/issues/281

August, 2024
Is Tut actively maintained?


  │ I have been asked if tut is abandoned, but it isn't. Jan-jun is the busiest time for me at
  │ work and I've bought a house so I've been busy with life. Tut will continue to get some  
  │ love :)                                                                                  

  ― @tut@fosstodon.org https://fosstodon.org/@tut/110267259254373433, year 2023              

  I guess, life got busier.                                                                  

PKGBUILD was disowned today, 2025-02-09, by the developer himself. Not sure why.

There are 3 in the AUR

His last commits on github as of, 2025-02-09,

  2023-01-26 17:42  2.0.1 (#256)
  2023-01-24 19:28  Create FUNDING.yml
  2023-01-23 19:32  2.0.0 (#253)
  2023-01-01 11:26  1.0.34 (#243)
  2022-12-31 14:30  update man for 1.0.33

Really hope is not abandoned at all.

kchr commented on 2024-12-28 23:24 (UTC) (edited on 2025-01-05 23:37 (UTC) by kchr)

The build seems to fail due to /etc/makepkg.conf setting the LDFLAGS evironment variable to a value with spaces in it. It was introduced with the following commit:

https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/commit/0f10f032b02bc7823b3ac11f4807b5515c996821

The PKGBUILD for the tut package uses the $LDFLAGS variable in the invocation of go build, but does not properly escape it when passed as value for -extldflags (the external linker):

[...]

build() {
  cd $pkgname-$pkgver
  go build \
    -gcflags "all=-trimpath=$PWD" \
    -asmflags "all=-trimpath=$PWD" \
    -ldflags "-extldflags $LDFLAGS" \ <--- not escaped with quotes
    -o $pkgname .
}

[...]

This seems to cause everything after whitespace to be parsed as additional arguments for -ldflags (the internal linker), rather than -extldflags (the external linker).

Adding quotes around $LDFLAGS fixes the issue and the package will build again:

[...]

build() {
  cd $pkgname-$pkgver
  go build \
    -gcflags "all=-trimpath=$PWD" \
    -asmflags "all=-trimpath=$PWD" \
    -ldflags "-extldflags '$LDFLAGS'" \
    -o $pkgname .
}

[...]

I have sent a patch to the maintainer.

jrd commented on 2024-12-21 19:47 (UTC)

Just delete the line with -ldflags "-extldflags $LDFLAGS" in it and it compiles correctly.

BenjaminVoisin commented on 2024-08-08 00:37 (UTC) (edited on 2024-08-08 00:38 (UTC) by BenjaminVoisin)

I have an issue building this package, I get this error :

==> Lancement de build()…
# github.com/RasmusLindroth/tut
flag provided but not defined: -Wl,--sort-common
usage: link [options] main.o

[...A long list of options...]

==> ERREUR : Une erreur s’est produite dans build().
    Abandon…
erreur : échec de la compilation de 'tut-2.0.1-1': 
erreur : la compilation des paquets suivants a échouée : tut-2.0.1-1

I have go version 1.22.6, and using paru as an AUR helper.

robertoqs commented on 2023-04-14 15:40 (UTC)

Thank you very much for this excellent application. It's my favourite Mastodon TUI.

rasmus commented on 2022-12-29 14:11 (UTC)

@quite now themes are included in the location you suggested :)

quite commented on 2022-12-14 07:40 (UTC)

Please also bundle the example themes. Maybe in /usr/share/tut/doc/themes ? (or does tut read /usr/share/tut/themes/ ?)

rasmus commented on 2022-05-27 11:53 (UTC)

Now it includes doc and licenses, thanks @m040601 :)

m040601 commented on 2022-05-24 06:42 (UTC) (edited on 2022-05-24 06:44 (UTC) by m040601)

Small request:

....You can find ... in this repo named config.example.ini. I....
.... copy ./config/toot.tmpl and ./config/user.tmpl from this repo ...

Could you please add the README and all these example/template files to the PKGBUILD of "tut" and "tut-bin" ?

They should end up in something like

/usr/share/tut/doc/README
/usr/share/tut/doc/config.example.ini
/usr/share/tut/doc/toot.tmpl
/usr/share/tut/doc/examples/some_file.bla

Especially the README. It would avoid having to open and go back to the browser.

Also you might want to add that LICENCE file to

/usr/share/licenses/tut/LICENSE