Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: buffyboard-0.2.0
@ 2022-02-27 17:18 JamiKettunen
  2022-02-27 19:49 ` the-maldridge
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: JamiKettunen @ 2022-02-27 17:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1227 bytes --]

There is a new pull request by JamiKettunen against master on the void-packages repository

https://github.com/JamiKettunen/void-packages buffyboard
https://github.com/void-linux/void-packages/pull/35876

New package: buffyboard-0.2.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/35876.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-buffyboard-35876.patch --]
[-- Type: text/x-diff, Size: 2743 bytes --]

From 937049740a4d20a6fd5a6138814bdeb5be3071c6 Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Sun, 27 Feb 2022 19:16:00 +0200
Subject: [PATCH] New package: buffyboard-0.2.0

---
 srcpkgs/buffyboard/files/buffyboard/run |  9 ++++++
 srcpkgs/buffyboard/template             | 37 +++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 srcpkgs/buffyboard/files/buffyboard/run
 create mode 100644 srcpkgs/buffyboard/template

diff --git a/srcpkgs/buffyboard/files/buffyboard/run b/srcpkgs/buffyboard/files/buffyboard/run
new file mode 100644
index 000000000000..8ab9c2272067
--- /dev/null
+++ b/srcpkgs/buffyboard/files/buffyboard/run
@@ -0,0 +1,9 @@
+#!/bin/sh
+[ -e /dev/uinput ] || modprobe uinput || exit 1
+[ -r conf ] && . ./conf
+if [ -z "$OPTS" ]; then
+	# match current framebuffer rotation if no OPTS specified
+	ROTATION=$(cat /sys/class/graphics/fbcon/rotate 2>/dev/null)
+	OPTS="-r ${ROTATION:-0}"
+fi
+exec buffyboard ${OPTS}
diff --git a/srcpkgs/buffyboard/template b/srcpkgs/buffyboard/template
new file mode 100644
index 000000000000..77d67f55bd57
--- /dev/null
+++ b/srcpkgs/buffyboard/template
@@ -0,0 +1,37 @@
+# Template file for 'buffyboard'
+pkgname=buffyboard
+version=0.2.0
+revision=1
+_lv_drivers_commit=33983bcb0a9bfd0a4cf44dba67617b9f537e76f3
+_lvgl_commit=a2b555e096f7d401b5d8e877a6b5e81ff81c747a
+_squeek2lvgl_commit=e3ce01bc38020b21bc61844fa1fed1a4f41097c5
+build_style=meson
+hostmakedepends="pkg-config"
+makedepends="libinput-devel libxkbcommon-devel eudev-libudev-devel linux-headers"
+short_desc="Touch-enabled framebuffer keyboard (not only) for vampire slayers"
+maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.com/cherrypicker/buffyboard"
+distfiles="
+	https://gitlab.com/cherrypicker/buffyboard/-/archive/${version}/${pkgname}-${version}.tar.gz
+	https://github.com/lvgl/lv_drivers/archive/${_lv_drivers_commit}/lv_drivers-${_lv_drivers_commit}.tar.gz
+	https://github.com/lvgl/lvgl/archive/${_lvgl_commit}/lvgl-${_lvgl_commit}.tar.gz
+	https://gitlab.com/cherrypicker/squeek2lvgl/-/archive/${_squeek2lvgl_commit}/squeek2lvgl-${_squeek2lvgl_commit}.tar.gz
+"
+checksum="
+	936cb01609defb26d8f57cd4893d7ad54d1b019e0e735f1e2aece2b8185a4eb8
+	4605f6aa933049d21d06fc342674057bf97bc4ad343245de08317c7ff6d51289
+	ccc38659c1fa64df5de84c3fe533afeef50a826dbcd1bdc960348767c0807286
+	1c4ba6540ecb06eafabe920f1f9c2e95271382873b3f13189c27006527bfd5e7
+"
+
+post_extract() {
+	rmdir lv_drivers lvgl squeek2lvgl
+	mv ../lv_drivers-${_lv_drivers_commit} lv_drivers
+	mv ../lvgl-${_lvgl_commit} lvgl
+	mv ../squeek2lvgl-${_squeek2lvgl_commit} squeek2lvgl
+}
+
+post_install() {
+	vsv buffyboard
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: buffyboard-0.2.0
  2022-02-27 17:18 [PR PATCH] New package: buffyboard-0.2.0 JamiKettunen
@ 2022-02-27 19:49 ` the-maldridge
  2022-02-27 20:01 ` classabbyamp
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: the-maldridge @ 2022-02-27 19:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

New comment by the-maldridge on void-packages repository

https://github.com/void-linux/void-packages/pull/35876#issuecomment-1053659528

Comment:
I'm pulling out a touch enabled device to test this now.  As is this can't be merged due to the excessive pinning to git hashes for dependencies.  Please package the dependencies as distinct packages as required per policy.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: buffyboard-0.2.0
  2022-02-27 17:18 [PR PATCH] New package: buffyboard-0.2.0 JamiKettunen
  2022-02-27 19:49 ` the-maldridge
@ 2022-02-27 20:01 ` classabbyamp
  2022-02-27 20:56 ` JamiKettunen
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2022-02-27 20:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 241 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/35876#issuecomment-1053662572

Comment:
works decently for me on a touchscreen laptop, x86_64-glibc: https://i.qrm.cat/7f626d4b552.jpg

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: buffyboard-0.2.0
  2022-02-27 17:18 [PR PATCH] New package: buffyboard-0.2.0 JamiKettunen
  2022-02-27 19:49 ` the-maldridge
  2022-02-27 20:01 ` classabbyamp
@ 2022-02-27 20:56 ` JamiKettunen
  2022-02-27 20:57 ` JamiKettunen
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: JamiKettunen @ 2022-02-27 20:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 774 bytes --]

New comment by JamiKettunen on void-packages repository

https://github.com/void-linux/void-packages/pull/35876#issuecomment-1053678473

Comment:
> As is this can't be merged due to the excessive pinning to git hashes for dependencies. Please package the dependencies as distinct packages as required per policy.

@the-maldridge This doesn't make sense for [LVGL](https://github.com/lvgl/lvgl) which is meant to be customized via header configs on a per-project basis and is built-in to the final executable (it's also included as a submodule in the git repo); so far there haven't been any packages which use LVGL is srcpkgs.

I'll see what I can do about [`squeek2lvgl`](https://gitlab.com/cherrypicker/squeek2lvgl) though, that could maybe get packaged separately.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: buffyboard-0.2.0
  2022-02-27 17:18 [PR PATCH] New package: buffyboard-0.2.0 JamiKettunen
                   ` (2 preceding siblings ...)
  2022-02-27 20:56 ` JamiKettunen
@ 2022-02-27 20:57 ` JamiKettunen
  2022-03-03  7:58 ` classabbyamp
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: JamiKettunen @ 2022-02-27 20:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 774 bytes --]

New comment by JamiKettunen on void-packages repository

https://github.com/void-linux/void-packages/pull/35876#issuecomment-1053678473

Comment:
> As is this can't be merged due to the excessive pinning to git hashes for dependencies. Please package the dependencies as distinct packages as required per policy.

@the-maldridge This doesn't make sense for [LVGL](https://github.com/lvgl/lvgl) which is meant to be customized via header configs on a per-project basis and is built-in to the final executable (it's also included as a submodule in the git repo); so far there haven't been any packages which use LVGL in srcpkgs.

I'll see what I can do about [`squeek2lvgl`](https://gitlab.com/cherrypicker/squeek2lvgl) though, that could maybe get packaged separately.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: buffyboard-0.2.0
  2022-02-27 17:18 [PR PATCH] New package: buffyboard-0.2.0 JamiKettunen
                   ` (3 preceding siblings ...)
  2022-02-27 20:57 ` JamiKettunen
@ 2022-03-03  7:58 ` classabbyamp
  2022-06-26  2:17 ` github-actions
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2022-03-03  7:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 325 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/35876#issuecomment-1057774968

Comment:
ok I've had the service for this active for a bit, and I believe it's causing ctrl to be stuck on in my x session when it's running. downing the service made this behaviour stop.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: buffyboard-0.2.0
  2022-02-27 17:18 [PR PATCH] New package: buffyboard-0.2.0 JamiKettunen
                   ` (4 preceding siblings ...)
  2022-03-03  7:58 ` classabbyamp
@ 2022-06-26  2:17 ` github-actions
  2022-07-11  2:13 ` [PR PATCH] [Closed]: " github-actions
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2022-06-26  2:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/35876#issuecomment-1166399961

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Closed]: New package: buffyboard-0.2.0
  2022-02-27 17:18 [PR PATCH] New package: buffyboard-0.2.0 JamiKettunen
                   ` (5 preceding siblings ...)
  2022-06-26  2:17 ` github-actions
@ 2022-07-11  2:13 ` github-actions
  2022-11-10 19:17 ` Johennes
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2022-07-11  2:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]

There's a closed pull request on the void-packages repository

New package: buffyboard-0.2.0
https://github.com/void-linux/void-packages/pull/35876

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

Here's a preview of it:

https://user-images.githubusercontent.com/47358222/155892713-80544008-6e77-4e7e-82ef-a571b6e2dc03.mp4

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: buffyboard-0.2.0
  2022-02-27 17:18 [PR PATCH] New package: buffyboard-0.2.0 JamiKettunen
                   ` (6 preceding siblings ...)
  2022-07-11  2:13 ` [PR PATCH] [Closed]: " github-actions
@ 2022-11-10 19:17 ` Johennes
  2022-11-10 19:24 ` classabbyamp
  2022-11-10 19:32 ` Johennes
  9 siblings, 0 replies; 11+ messages in thread
From: Johennes @ 2022-11-10 19:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

New comment by Johennes on void-packages repository

https://github.com/void-linux/void-packages/pull/35876#issuecomment-1310782333

Comment:
@classabbyamp sorry for checking in on this so late. I'm following up from https://gitlab.com/cherrypicker/buffyboard/-/issues/21. Do you remember by any chance what kind of actions you've done in Buffyboard before switching to X? Buffyboard emulates a physical keyboard under the hood so I assume it's possible for keys to get stuck somehow though I haven't so far seen this myself.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: buffyboard-0.2.0
  2022-02-27 17:18 [PR PATCH] New package: buffyboard-0.2.0 JamiKettunen
                   ` (7 preceding siblings ...)
  2022-11-10 19:17 ` Johennes
@ 2022-11-10 19:24 ` classabbyamp
  2022-11-10 19:32 ` Johennes
  9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2022-11-10 19:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/35876#issuecomment-1310789922

Comment:
I'm going to guess it would be caused by using ctrl+alt+f# to switch ttys

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: buffyboard-0.2.0
  2022-02-27 17:18 [PR PATCH] New package: buffyboard-0.2.0 JamiKettunen
                   ` (8 preceding siblings ...)
  2022-11-10 19:24 ` classabbyamp
@ 2022-11-10 19:32 ` Johennes
  9 siblings, 0 replies; 11+ messages in thread
From: Johennes @ 2022-11-10 19:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 440 bytes --]

New comment by Johennes on void-packages repository

https://github.com/void-linux/void-packages/pull/35876#issuecomment-1310799698

Comment:
Hm, I just tested that locally but CTRL did not end up stuck for me. I could see how it would get stuck when the CTRL key on buffyboard was left active before switching the VT. However, the modifiers in buffyboard auto-release after the first non-modifier key. Will have to poke at this some more.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-11-10 19:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-27 17:18 [PR PATCH] New package: buffyboard-0.2.0 JamiKettunen
2022-02-27 19:49 ` the-maldridge
2022-02-27 20:01 ` classabbyamp
2022-02-27 20:56 ` JamiKettunen
2022-02-27 20:57 ` JamiKettunen
2022-03-03  7:58 ` classabbyamp
2022-06-26  2:17 ` github-actions
2022-07-11  2:13 ` [PR PATCH] [Closed]: " github-actions
2022-11-10 19:17 ` Johennes
2022-11-10 19:24 ` classabbyamp
2022-11-10 19:32 ` Johennes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).