pmaports/main/ttyescape/APKBUILD

35 lines
1.1 KiB
Text
Raw Normal View History

main/ttyescape: new aports (MR 2309) Add ttyescape, a script and triggerhappy configuration to allow mobile device users to access and use a shell without having to plug in to a computer. One of the largest limitations with a mobile device is the lack of keyboard, for mainstream OSs like Android and iOS, this is a non-issue as the whole OS stack is built to automatically recover in case of a crash / hang, hiding the internal state of affairs from users and making use of careful design to minimise the impact. When bringing Linux to mobile, we carry not only the benefits of the Linux desktop but also it's limitations. In the event that your desktop manager goes haywire or hangs completely, or your graphics drivers get unhappy, the ability to quickly jump to a tty and start killing bad behaving programs or reset your display manager is one that most of us take for granted. But when hit by similar errors on a mobile device there is no such recourse available, users either have to reboot and hope that the issue doesn't occur again, or pull out a laptop and pull up a shell (assuming ssh is enabled and the rndis interface comes up). ttyescape proposes to solve this issues by pieceing together several already available tools, notably: - triggerhappy, a tool used to perform actions when certain buttons or key combinations are pressed with no dependencies on the display manager in use. - fbkeyboard, a framebuffer keyboard for tty's, it renders on top of the current tty and uses the device touchscreen as input.
2021-07-04 19:14:58 +00:00
# Maintainer: Caleb Connolly <caleb@connolly.tech>
pkgname=ttyescape
pkgver=0.2
main/ttyescape: new aports (MR 2309) Add ttyescape, a script and triggerhappy configuration to allow mobile device users to access and use a shell without having to plug in to a computer. One of the largest limitations with a mobile device is the lack of keyboard, for mainstream OSs like Android and iOS, this is a non-issue as the whole OS stack is built to automatically recover in case of a crash / hang, hiding the internal state of affairs from users and making use of careful design to minimise the impact. When bringing Linux to mobile, we carry not only the benefits of the Linux desktop but also it's limitations. In the event that your desktop manager goes haywire or hangs completely, or your graphics drivers get unhappy, the ability to quickly jump to a tty and start killing bad behaving programs or reset your display manager is one that most of us take for granted. But when hit by similar errors on a mobile device there is no such recourse available, users either have to reboot and hope that the issue doesn't occur again, or pull out a laptop and pull up a shell (assuming ssh is enabled and the rndis interface comes up). ttyescape proposes to solve this issues by pieceing together several already available tools, notably: - triggerhappy, a tool used to perform actions when certain buttons or key combinations are pressed with no dependencies on the display manager in use. - fbkeyboard, a framebuffer keyboard for tty's, it renders on top of the current tty and uses the device touchscreen as input.
2021-07-04 19:14:58 +00:00
pkgrel=0
pkgdesc="Daemon to allow users to escape to a tty"
url="https://postmarketos.org"
arch="noarch"
main/ttyescape: new aports (MR 2309) Add ttyescape, a script and triggerhappy configuration to allow mobile device users to access and use a shell without having to plug in to a computer. One of the largest limitations with a mobile device is the lack of keyboard, for mainstream OSs like Android and iOS, this is a non-issue as the whole OS stack is built to automatically recover in case of a crash / hang, hiding the internal state of affairs from users and making use of careful design to minimise the impact. When bringing Linux to mobile, we carry not only the benefits of the Linux desktop but also it's limitations. In the event that your desktop manager goes haywire or hangs completely, or your graphics drivers get unhappy, the ability to quickly jump to a tty and start killing bad behaving programs or reset your display manager is one that most of us take for granted. But when hit by similar errors on a mobile device there is no such recourse available, users either have to reboot and hope that the issue doesn't occur again, or pull out a laptop and pull up a shell (assuming ssh is enabled and the rndis interface comes up). ttyescape proposes to solve this issues by pieceing together several already available tools, notably: - triggerhappy, a tool used to perform actions when certain buttons or key combinations are pressed with no dependencies on the display manager in use. - fbkeyboard, a framebuffer keyboard for tty's, it renders on top of the current tty and uses the device touchscreen as input.
2021-07-04 19:14:58 +00:00
license="GPL-3.0-or-later"
depends="hkdm buffyboard terminus-font kbd"
main/ttyescape: new aports (MR 2309) Add ttyescape, a script and triggerhappy configuration to allow mobile device users to access and use a shell without having to plug in to a computer. One of the largest limitations with a mobile device is the lack of keyboard, for mainstream OSs like Android and iOS, this is a non-issue as the whole OS stack is built to automatically recover in case of a crash / hang, hiding the internal state of affairs from users and making use of careful design to minimise the impact. When bringing Linux to mobile, we carry not only the benefits of the Linux desktop but also it's limitations. In the event that your desktop manager goes haywire or hangs completely, or your graphics drivers get unhappy, the ability to quickly jump to a tty and start killing bad behaving programs or reset your display manager is one that most of us take for granted. But when hit by similar errors on a mobile device there is no such recourse available, users either have to reboot and hope that the issue doesn't occur again, or pull out a laptop and pull up a shell (assuming ssh is enabled and the rndis interface comes up). ttyescape proposes to solve this issues by pieceing together several already available tools, notably: - triggerhappy, a tool used to perform actions when certain buttons or key combinations are pressed with no dependencies on the display manager in use. - fbkeyboard, a framebuffer keyboard for tty's, it renders on top of the current tty and uses the device touchscreen as input.
2021-07-04 19:14:58 +00:00
install="$pkgname.post-install"
subpackages="$pkgname-openrc"
main/ttyescape: new aports (MR 2309) Add ttyescape, a script and triggerhappy configuration to allow mobile device users to access and use a shell without having to plug in to a computer. One of the largest limitations with a mobile device is the lack of keyboard, for mainstream OSs like Android and iOS, this is a non-issue as the whole OS stack is built to automatically recover in case of a crash / hang, hiding the internal state of affairs from users and making use of careful design to minimise the impact. When bringing Linux to mobile, we carry not only the benefits of the Linux desktop but also it's limitations. In the event that your desktop manager goes haywire or hangs completely, or your graphics drivers get unhappy, the ability to quickly jump to a tty and start killing bad behaving programs or reset your display manager is one that most of us take for granted. But when hit by similar errors on a mobile device there is no such recourse available, users either have to reboot and hope that the issue doesn't occur again, or pull out a laptop and pull up a shell (assuming ssh is enabled and the rndis interface comes up). ttyescape proposes to solve this issues by pieceing together several already available tools, notably: - triggerhappy, a tool used to perform actions when certain buttons or key combinations are pressed with no dependencies on the display manager in use. - fbkeyboard, a framebuffer keyboard for tty's, it renders on top of the current tty and uses the device touchscreen as input.
2021-07-04 19:14:58 +00:00
source="
togglevt.sh
ttyescape-hkdm.toml
main/ttyescape: new aports (MR 2309) Add ttyescape, a script and triggerhappy configuration to allow mobile device users to access and use a shell without having to plug in to a computer. One of the largest limitations with a mobile device is the lack of keyboard, for mainstream OSs like Android and iOS, this is a non-issue as the whole OS stack is built to automatically recover in case of a crash / hang, hiding the internal state of affairs from users and making use of careful design to minimise the impact. When bringing Linux to mobile, we carry not only the benefits of the Linux desktop but also it's limitations. In the event that your desktop manager goes haywire or hangs completely, or your graphics drivers get unhappy, the ability to quickly jump to a tty and start killing bad behaving programs or reset your display manager is one that most of us take for granted. But when hit by similar errors on a mobile device there is no such recourse available, users either have to reboot and hope that the issue doesn't occur again, or pull out a laptop and pull up a shell (assuming ssh is enabled and the rndis interface comes up). ttyescape proposes to solve this issues by pieceing together several already available tools, notably: - triggerhappy, a tool used to perform actions when certain buttons or key combinations are pressed with no dependencies on the display manager in use. - fbkeyboard, a framebuffer keyboard for tty's, it renders on top of the current tty and uses the device touchscreen as input.
2021-07-04 19:14:58 +00:00
etc-conf-d-ttyescape.conf
"
options="!check"
package() {
install -Dm755 "$srcdir"/togglevt.sh \
"$pkgdir"/usr/bin/togglevt.sh
install -Dm755 "$srcdir"/ttyescape-hkdm.toml \
"$pkgdir"/etc/hkdm/config.d/ttyescape.toml
main/ttyescape: new aports (MR 2309) Add ttyescape, a script and triggerhappy configuration to allow mobile device users to access and use a shell without having to plug in to a computer. One of the largest limitations with a mobile device is the lack of keyboard, for mainstream OSs like Android and iOS, this is a non-issue as the whole OS stack is built to automatically recover in case of a crash / hang, hiding the internal state of affairs from users and making use of careful design to minimise the impact. When bringing Linux to mobile, we carry not only the benefits of the Linux desktop but also it's limitations. In the event that your desktop manager goes haywire or hangs completely, or your graphics drivers get unhappy, the ability to quickly jump to a tty and start killing bad behaving programs or reset your display manager is one that most of us take for granted. But when hit by similar errors on a mobile device there is no such recourse available, users either have to reboot and hope that the issue doesn't occur again, or pull out a laptop and pull up a shell (assuming ssh is enabled and the rndis interface comes up). ttyescape proposes to solve this issues by pieceing together several already available tools, notably: - triggerhappy, a tool used to perform actions when certain buttons or key combinations are pressed with no dependencies on the display manager in use. - fbkeyboard, a framebuffer keyboard for tty's, it renders on top of the current tty and uses the device touchscreen as input.
2021-07-04 19:14:58 +00:00
install -Dm755 "$srcdir"/etc-conf-d-ttyescape.conf \
"$pkgdir"/etc/conf.d/ttyescape.conf
}
sha512sums="
d7447788044b76862688f4fbd722725a787f8fe07ef1d8fde34f01591e680dd782fd4085fd80166a695e0016162d4a8701e749ae4a56a9cf8ae388ab43ef72e1 togglevt.sh
88034b54b06a962ff353a7a5a272352b56fdb564231a13be85b73d9dfc991d1ec8085014ebfcd5c6eaee67e62341dd2c9c7ace91a2c839702ae3b7f6007433f4 ttyescape-hkdm.toml
ac06c2ae2b3b8404d6ed79a046b175abbeb2360033edcaa22c21e1a61c68913e58013e9200ee5b786eee9020a2c78d1bda09c72d87ea0998bf6eeb71da015a2f etc-conf-d-ttyescape.conf
main/ttyescape: new aports (MR 2309) Add ttyescape, a script and triggerhappy configuration to allow mobile device users to access and use a shell without having to plug in to a computer. One of the largest limitations with a mobile device is the lack of keyboard, for mainstream OSs like Android and iOS, this is a non-issue as the whole OS stack is built to automatically recover in case of a crash / hang, hiding the internal state of affairs from users and making use of careful design to minimise the impact. When bringing Linux to mobile, we carry not only the benefits of the Linux desktop but also it's limitations. In the event that your desktop manager goes haywire or hangs completely, or your graphics drivers get unhappy, the ability to quickly jump to a tty and start killing bad behaving programs or reset your display manager is one that most of us take for granted. But when hit by similar errors on a mobile device there is no such recourse available, users either have to reboot and hope that the issue doesn't occur again, or pull out a laptop and pull up a shell (assuming ssh is enabled and the rndis interface comes up). ttyescape proposes to solve this issues by pieceing together several already available tools, notably: - triggerhappy, a tool used to perform actions when certain buttons or key combinations are pressed with no dependencies on the display manager in use. - fbkeyboard, a framebuffer keyboard for tty's, it renders on top of the current tty and uses the device touchscreen as input.
2021-07-04 19:14:58 +00:00
"