Package Details: ttyd-git r1.5.2_d8903e1-1

Git Clone URL: https://aur.archlinux.org/ttyd-git.git (read-only, click to copy)
Package Base: ttyd-git
Description: Share your terminal over the web
Upstream URL: https://github.com/tsl0922/ttyd.git
Licenses: MIT
Submitter: ksira
Maintainer: ksira
Last Packager: ksira
Votes: 2
Popularity: 0.000000
First Submitted: 2017-02-10 18:07 (UTC)
Last Updated: 2019-09-09 21:52 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

m040601 commented on 2022-03-01 05:09 (UTC)

As of March 2022 it also fails to build on x86_64

-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11")
CMake Error at /usr/lib64/cmake/libwebsockets/libwebsockets-config.cmake:35 (include):
  include could not find requested file:

    LwsCheckRequirements
Call Stack (most recent call first):
  CMakeLists.txt:54 (find_package)
-- Configuring incomplete, errors occurred!
See also "/dev/shm/aurydesty/ttyd-git/src/ttyd/build/CMakeFiles/CMakeOutput.log".
See also "/dev/shm/aurydesty/ttyd-git/src/ttyd/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: ttyd-git

m040601 commented on 2020-07-22 16:46 (UTC) (edited on 2020-07-22 17:00 (UTC) by m040601)

Trying to build this on armv7h, Raspberry Pi 2.

arch=('any')

There should be absolutely no reason why this thing would not build and work flawlessly here like similar packages.

However,

==> Starting build()...
/dev/shm/yaybuilddiry/ttyd-git/src/ttyd/build
/dev/shm/yaybuilddiry/ttyd-git/PKGBUILD: line 22: cmake: command not found
==> ERROR: A failure occurred in build().
    Aborting...
error making: %!s(func() string=0x845098)

As already mentioned by @esotericnonsense , cmake is also a dependency for compilation. Manually installed it. Problem solved.

m040601 commented on 2020-07-22 16:41 (UTC)

Same request as @onny, for including the systemd service file, https://aur.archlinux.org/cgit/aur.git/tree/ttyd.service?h=ttyd just like the package "ttyd" does.

onny commented on 2020-03-24 13:03 (UTC)

Could you also please include the service file? https://aur.archlinux.org/cgit/aur.git/tree/ttyd.service?h=ttyd

onny commented on 2020-03-22 11:22 (UTC) (edited on 2020-03-22 11:22 (UTC) by onny)

please use "makedepends" instead of "builddepends". Then use

provides=("ttyd")

conflicts=("ttyd")

ksira commented on 2019-09-09 21:53 (UTC)

Thanks for the patch, updated

esotericnonsense commented on 2019-08-21 01:09 (UTC)

The following patch is required to get this to install on my machine. cmake is also a dependency for compilation.

From 55681652a568c55210e641a479947b069fe96ba5 Mon Sep 17 00:00:00 2001
From: Daniel Edgecumbe <esotericnonsense@danedgecumbe.com>
Date: Wed, 21 Aug 2019 02:06:43 +0100
Subject: [PATCH] Package contents should not go in /usr/local

---
 PKGBUILD | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/PKGBUILD b/PKGBUILD
index f05db5c..934138e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,6 +26,8 @@ build() {
 package() {
   cd $srcdir/$_gitname/build
   make DESTDIR="${pkgdir}" install
+  mv $pkgdir/usr/local/bin $pkgdir/usr/
+  mv $pkgdir/usr/local/share $pkgdir/usr/
 }

 # vim:set ts=2 sw=2 et:
-- 
2.23.0

TheGentlChainsaw commented on 2019-07-06 09:05 (UTC)

The libwebsockets-git and libwebsockets-static packages seem to have both been removed, leaving us with little choice but to try and link against ABS libwebsockets. Package should be updated to reflect this.

Also the only part of vim needed for building the package is xxd, so having it list xxd as a make dependency instead of vim would be nice just so it doesn't get confused by vim replacements like neovim that don't provide xxd...

polyzen commented on 2017-08-06 09:05 (UTC)

https://aur.archlinux.org/packages/libwebsockets-static/ Please add ttyd to conflicts() and provides(). Edit: Your libwebsockets dep must have a matching pkgver to the -static build.