* Re: [PR PATCH] [Updated] New package: wtype-0.3
2021-03-06 22:20 [PR PATCH] New package: wtype-0.3 ajshell1
@ 2021-03-07 3:20 ` ajshell1
2021-03-07 11:38 ` tibequadorian
` (4 subsequent siblings)
5 siblings, 0 replies; 15+ messages in thread
From: ajshell1 @ 2021-03-07 3:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1589 bytes --]
There is an updated pull request by ajshell1 against master on the void-packages repository
https://github.com/ajshell1/void-packages wtype
https://github.com/void-linux/void-packages/pull/29280
New package: wtype-0.3
<!-- Mark items with [x] where applicable -->
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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/29280.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wtype-29280.patch --]
[-- Type: text/x-diff, Size: 1028 bytes --]
From 9bd3fd9627a4c3350be1b25eb85b42ac42e8f1f7 Mon Sep 17 00:00:00 2001
From: ajshell1 <11084981+ajshell1@users.noreply.github.com>
Date: Sat, 6 Mar 2021 22:16:52 +0000
Subject: [PATCH] New package: wtype-0.3
---
srcpkgs/wtype/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/wtype/template
diff --git a/srcpkgs/wtype/template b/srcpkgs/wtype/template
new file mode 100644
index 00000000000..9fcf2413913
--- /dev/null
+++ b/srcpkgs/wtype/template
@@ -0,0 +1,17 @@
+# Template file for 'wtype'
+pkgname=wtype
+version=0.3
+revision=1
+build_style=meson
+hostmakedepends="pkg-config wayland-devel"
+makedepends="wayland-devel libxkbcommon-devel"
+short_desc="xdotool type for wayland"
+maintainer="ajshell1 <ajshell1@protonmail.com>"
+license="MIT"
+homepage="https://github.com/atx/wtype"
+distfiles="https://github.com/atx/wtype/archive/v${version}.tar.gz"
+checksum=35615e61e57576a240d10308f9101ceb2ec7b3554fac60119b1416b84c1694b2
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: New package: wtype-0.3
2021-03-06 22:20 [PR PATCH] New package: wtype-0.3 ajshell1
2021-03-07 3:20 ` [PR PATCH] [Updated] " ajshell1
@ 2021-03-07 11:38 ` tibequadorian
2021-03-07 11:41 ` tibequadorian
` (3 subsequent siblings)
5 siblings, 0 replies; 15+ messages in thread
From: tibequadorian @ 2021-03-07 11:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 260 bytes --]
New comment by tibequadorian on void-packages repository
https://github.com/void-linux/void-packages/pull/29280#issuecomment-792262919
Comment:
Looks like they got a patch for musl https://github.com/atx/wtype/commit/fb8cb526470308d36b28c33620fcb74916f952e8
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: New package: wtype-0.3
2021-03-06 22:20 [PR PATCH] New package: wtype-0.3 ajshell1
2021-03-07 3:20 ` [PR PATCH] [Updated] " ajshell1
2021-03-07 11:38 ` tibequadorian
@ 2021-03-07 11:41 ` tibequadorian
2021-03-07 11:41 ` tibequadorian
` (2 subsequent siblings)
5 siblings, 0 replies; 15+ messages in thread
From: tibequadorian @ 2021-03-07 11:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 260 bytes --]
New comment by tibequadorian on void-packages repository
https://github.com/void-linux/void-packages/pull/29280#issuecomment-792262919
Comment:
Looks like they got a patch for musl https://github.com/atx/wtype/commit/fb8cb526470308d36b28c33620fcb74916f952e8
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: New package: wtype-0.3
2021-03-06 22:20 [PR PATCH] New package: wtype-0.3 ajshell1
` (2 preceding siblings ...)
2021-03-07 11:41 ` tibequadorian
@ 2021-03-07 11:41 ` tibequadorian
2021-03-07 15:21 ` ajshell1
2021-03-07 15:21 ` [PR PATCH] [Closed]: " ajshell1
5 siblings, 0 replies; 15+ messages in thread
From: tibequadorian @ 2021-03-07 11:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 163 bytes --]
New comment by tibequadorian on void-packages repository
https://github.com/void-linux/void-packages/pull/29280#issuecomment-792263322
Comment:
Duplicate #27375
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: New package: wtype-0.3
2021-03-06 22:20 [PR PATCH] New package: wtype-0.3 ajshell1
` (3 preceding siblings ...)
2021-03-07 11:41 ` tibequadorian
@ 2021-03-07 15:21 ` ajshell1
2021-03-07 15:21 ` [PR PATCH] [Closed]: " ajshell1
5 siblings, 0 replies; 15+ messages in thread
From: ajshell1 @ 2021-03-07 15:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 203 bytes --]
New comment by ajshell1 on void-packages repository
https://github.com/void-linux/void-packages/pull/29280#issuecomment-792295666
Comment:
My apologies for missing this. Closing in favor of the other.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Closed]: New package: wtype-0.3
2021-03-06 22:20 [PR PATCH] New package: wtype-0.3 ajshell1
` (4 preceding siblings ...)
2021-03-07 15:21 ` ajshell1
@ 2021-03-07 15:21 ` ajshell1
5 siblings, 0 replies; 15+ messages in thread
From: ajshell1 @ 2021-03-07 15:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]
There's a closed pull request on the void-packages repository
New package: wtype-0.3
https://github.com/void-linux/void-packages/pull/29280
Description:
<!-- Mark items with [x] where applicable -->
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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] 15+ messages in thread
* Re: [PR PATCH] [Updated] New package: wtype-0.3
2020-12-23 14:04 [PR PATCH] " Eluminae
@ 2020-12-23 14:49 ` Eluminae
2020-12-23 14:54 ` Eluminae
` (6 subsequent siblings)
7 siblings, 0 replies; 15+ messages in thread
From: Eluminae @ 2020-12-23 14:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 312 bytes --]
There is an updated pull request by Eluminae against master on the void-packages repository
https://github.com/Eluminae/void-packages wtype
https://github.com/void-linux/void-packages/pull/27375
New package: wtype-0.3
A patch file from https://github.com/void-linux/void-packages/pull/27375.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wtype-27375.patch --]
[-- Type: text/x-diff, Size: 1002 bytes --]
From 81f97509f9ebff964a45968ead9cd450b3cb8145 Mon Sep 17 00:00:00 2001
From: Reed Wade <reedwade@misterbanal.net>
Date: Wed, 23 Dec 2020 15:03:26 +0100
Subject: [PATCH] New package: wtype-0.3
---
srcpkgs/wtype/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/wtype/template
diff --git a/srcpkgs/wtype/template b/srcpkgs/wtype/template
new file mode 100644
index 00000000000..8dfa1dd2c32
--- /dev/null
+++ b/srcpkgs/wtype/template
@@ -0,0 +1,17 @@
+# Template file for 'wtype'
+pkgname=wtype
+version=0.3
+revision=1
+build_style=meson
+hostmakedepends="pkg-config wayland-devel"
+makedepends="libxkbcommon-devel"
+short_desc="Wayland version of xdotool"
+maintainer="Stacy Harper <contact@stacyharper.net>"
+license="MIT"
+homepage="https://github.com/atx/wtype"
+distfiles="https://github.com/atx/${pkgname}/archive/v${version}.tar.gz"
+checksum=35615e61e57576a240d10308f9101ceb2ec7b3554fac60119b1416b84c1694b2
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] New package: wtype-0.3
2020-12-23 14:04 [PR PATCH] " Eluminae
2020-12-23 14:49 ` [PR PATCH] [Updated] " Eluminae
@ 2020-12-23 14:54 ` Eluminae
2020-12-23 15:21 ` Eluminae
` (5 subsequent siblings)
7 siblings, 0 replies; 15+ messages in thread
From: Eluminae @ 2020-12-23 14:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 312 bytes --]
There is an updated pull request by Eluminae against master on the void-packages repository
https://github.com/Eluminae/void-packages wtype
https://github.com/void-linux/void-packages/pull/27375
New package: wtype-0.3
A patch file from https://github.com/void-linux/void-packages/pull/27375.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wtype-27375.patch --]
[-- Type: text/x-diff, Size: 1002 bytes --]
From 4c47e5c29b6616faa7dd8b6b8ede44635f4abfdf Mon Sep 17 00:00:00 2001
From: Reed Wade <reedwade@misterbanal.net>
Date: Wed, 23 Dec 2020 15:03:26 +0100
Subject: [PATCH] New package: wtype-0.3
---
srcpkgs/wtype/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/wtype/template
diff --git a/srcpkgs/wtype/template b/srcpkgs/wtype/template
new file mode 100644
index 00000000000..2866eacbcb9
--- /dev/null
+++ b/srcpkgs/wtype/template
@@ -0,0 +1,17 @@
+# Template file for 'wtype'
+pkgname=wtype
+version=0.3
+revision=1
+build_style=meson
+hostmakedepends="pkg-config"
+makedepends="libxkbcommon-devel wayland-devel"
+short_desc="Wayland version of xdotool"
+maintainer="Stacy Harper <contact@stacyharper.net>"
+license="MIT"
+homepage="https://github.com/atx/wtype"
+distfiles="https://github.com/atx/${pkgname}/archive/v${version}.tar.gz"
+checksum=35615e61e57576a240d10308f9101ceb2ec7b3554fac60119b1416b84c1694b2
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] New package: wtype-0.3
2020-12-23 14:04 [PR PATCH] " Eluminae
2020-12-23 14:49 ` [PR PATCH] [Updated] " Eluminae
2020-12-23 14:54 ` Eluminae
@ 2020-12-23 15:21 ` Eluminae
2020-12-23 16:21 ` Eluminae
` (4 subsequent siblings)
7 siblings, 0 replies; 15+ messages in thread
From: Eluminae @ 2020-12-23 15:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 312 bytes --]
There is an updated pull request by Eluminae against master on the void-packages repository
https://github.com/Eluminae/void-packages wtype
https://github.com/void-linux/void-packages/pull/27375
New package: wtype-0.3
A patch file from https://github.com/void-linux/void-packages/pull/27375.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wtype-27375.patch --]
[-- Type: text/x-diff, Size: 1049 bytes --]
From 4b8b80fc01d8c7a1fec96f6b84125bd0d94bd316 Mon Sep 17 00:00:00 2001
From: Reed Wade <reedwade@misterbanal.net>
Date: Wed, 23 Dec 2020 15:03:26 +0100
Subject: [PATCH] New package: wtype-0.3
---
srcpkgs/wtype/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/wtype/template
diff --git a/srcpkgs/wtype/template b/srcpkgs/wtype/template
new file mode 100644
index 00000000000..c4b889de9c8
--- /dev/null
+++ b/srcpkgs/wtype/template
@@ -0,0 +1,18 @@
+# Template file for 'wtype'
+pkgname=wtype
+version=0.3
+revision=1
+build_style=meson
+hostmakedepends="pkg-config wayland-devel"
+makedepends="libxkbcommon-devel wayland-devel"
+depends="libxkbcommon wayland"
+short_desc="Wayland version of xdotool"
+maintainer="Stacy Harper <contact@stacyharper.net>"
+license="MIT"
+homepage="https://github.com/atx/wtype"
+distfiles="https://github.com/atx/${pkgname}/archive/v${version}.tar.gz"
+checksum=35615e61e57576a240d10308f9101ceb2ec7b3554fac60119b1416b84c1694b2
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] New package: wtype-0.3
2020-12-23 14:04 [PR PATCH] " Eluminae
` (2 preceding siblings ...)
2020-12-23 15:21 ` Eluminae
@ 2020-12-23 16:21 ` Eluminae
2020-12-23 16:51 ` Eluminae
` (3 subsequent siblings)
7 siblings, 0 replies; 15+ messages in thread
From: Eluminae @ 2020-12-23 16:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 312 bytes --]
There is an updated pull request by Eluminae against master on the void-packages repository
https://github.com/Eluminae/void-packages wtype
https://github.com/void-linux/void-packages/pull/27375
New package: wtype-0.3
A patch file from https://github.com/void-linux/void-packages/pull/27375.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wtype-27375.patch --]
[-- Type: text/x-diff, Size: 1067 bytes --]
From 28093bd6ccff786115e1fefa1b11f2591aff746f Mon Sep 17 00:00:00 2001
From: Reed Wade <reedwade@misterbanal.net>
Date: Wed, 23 Dec 2020 15:03:26 +0100
Subject: [PATCH] New package: wtype-0.3
---
srcpkgs/wtype/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/wtype/template
diff --git a/srcpkgs/wtype/template b/srcpkgs/wtype/template
new file mode 100644
index 00000000000..309ed0d8448
--- /dev/null
+++ b/srcpkgs/wtype/template
@@ -0,0 +1,19 @@
+# Template file for 'wtype'
+pkgname=wtype
+version=0.3
+revision=1
+archs="~*-musl"
+build_style=meson
+hostmakedepends="pkg-config wayland-devel"
+makedepends="libxkbcommon-devel wayland-devel"
+depends="libxkbcommon wayland"
+short_desc="Wayland version of xdotool"
+maintainer="Stacy Harper <contact@stacyharper.net>"
+license="MIT"
+homepage="https://github.com/atx/wtype"
+distfiles="https://github.com/atx/${pkgname}/archive/v${version}.tar.gz"
+checksum=35615e61e57576a240d10308f9101ceb2ec7b3554fac60119b1416b84c1694b2
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] New package: wtype-0.3
2020-12-23 14:04 [PR PATCH] " Eluminae
` (3 preceding siblings ...)
2020-12-23 16:21 ` Eluminae
@ 2020-12-23 16:51 ` Eluminae
2020-12-30 14:25 ` Eluminae
` (2 subsequent siblings)
7 siblings, 0 replies; 15+ messages in thread
From: Eluminae @ 2020-12-23 16:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 312 bytes --]
There is an updated pull request by Eluminae against master on the void-packages repository
https://github.com/Eluminae/void-packages wtype
https://github.com/void-linux/void-packages/pull/27375
New package: wtype-0.3
A patch file from https://github.com/void-linux/void-packages/pull/27375.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wtype-27375.patch --]
[-- Type: text/x-diff, Size: 1034 bytes --]
From 9896bfe4476a6ae5073d07d3c90a4b332061e3f0 Mon Sep 17 00:00:00 2001
From: Reed Wade <reedwade@misterbanal.net>
Date: Wed, 23 Dec 2020 15:03:26 +0100
Subject: [PATCH] New package: wtype-0.3
---
srcpkgs/wtype/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/wtype/template
diff --git a/srcpkgs/wtype/template b/srcpkgs/wtype/template
new file mode 100644
index 00000000000..27bcf79aebc
--- /dev/null
+++ b/srcpkgs/wtype/template
@@ -0,0 +1,18 @@
+# Template file for 'wtype'
+pkgname=wtype
+version=0.3
+revision=1
+archs="~*-musl"
+build_style=meson
+hostmakedepends="pkg-config wayland-devel"
+makedepends="libxkbcommon-devel wayland-devel"
+short_desc="Wayland version of xdotool"
+maintainer="Stacy Harper <contact@stacyharper.net>"
+license="MIT"
+homepage="https://github.com/atx/wtype"
+distfiles="https://github.com/atx/${pkgname}/archive/v${version}.tar.gz"
+checksum=35615e61e57576a240d10308f9101ceb2ec7b3554fac60119b1416b84c1694b2
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] New package: wtype-0.3
2020-12-23 14:04 [PR PATCH] " Eluminae
` (4 preceding siblings ...)
2020-12-23 16:51 ` Eluminae
@ 2020-12-30 14:25 ` Eluminae
2021-06-10 20:07 ` Eluminae
2021-06-10 20:16 ` Eluminae
7 siblings, 0 replies; 15+ messages in thread
From: Eluminae @ 2020-12-30 14:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 312 bytes --]
There is an updated pull request by Eluminae against master on the void-packages repository
https://github.com/Eluminae/void-packages wtype
https://github.com/void-linux/void-packages/pull/27375
New package: wtype-0.3
A patch file from https://github.com/void-linux/void-packages/pull/27375.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wtype-27375.patch --]
[-- Type: text/x-diff, Size: 2456 bytes --]
From 814cefde340b70a6f75bdb7ebab54ac7b987e854 Mon Sep 17 00:00:00 2001
From: Reed Wade <reedwade@misterbanal.net>
Date: Wed, 23 Dec 2020 15:03:26 +0100
Subject: [PATCH] New package: wtype-0.3
---
srcpkgs/wtype/patches/fix_reallocarray.patch | 39 ++++++++++++++++++++
srcpkgs/wtype/template | 17 +++++++++
2 files changed, 56 insertions(+)
create mode 100644 srcpkgs/wtype/patches/fix_reallocarray.patch
create mode 100644 srcpkgs/wtype/template
diff --git a/srcpkgs/wtype/patches/fix_reallocarray.patch b/srcpkgs/wtype/patches/fix_reallocarray.patch
new file mode 100644
index 00000000000..30468f26135
--- /dev/null
+++ b/srcpkgs/wtype/patches/fix_reallocarray.patch
@@ -0,0 +1,39 @@
+From fb8cb526470308d36b28c33620fcb74916f952e8 Mon Sep 17 00:00:00 2001
+From: Josef Gajdusek <atx@atx.name>
+Date: Mon, 28 Dec 2020 20:45:36 +0100
+Subject: [PATCH] Do not use reallocarray
+
+Not available in musl.
+
+Closes #20
+
+Signed-off-by: Reed Wade <reedwade@misterbanal.net>
+---
+ main.c | 6 ++----
+ 1 file changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/main.c b/main.c
+index cbdbb0f..cec1cc2 100644
+--- main.c
++++ main.c
+@@ -1,6 +1,4 @@
+
+-#define _GNU_SOURCE
+-
+ #include <fcntl.h>
+ #include <locale.h>
+ #include <stdbool.h>
+@@ -140,8 +138,8 @@ unsigned int get_key_code(struct wtype *wtype, wchar_t ch)
+ return i;
+ }
+ }
+- wtype->keymap = reallocarray(
+- wtype->keymap, ++wtype->keymap_len, sizeof(wtype->keymap[0])
++ wtype->keymap = realloc(
++ wtype->keymap, ++wtype->keymap_len * sizeof(wtype->keymap[0])
+ );
+ wtype->keymap[wtype->keymap_len - 1] = ch;
+ return wtype->keymap_len - 1;
+--
+2.29.2
+
diff --git a/srcpkgs/wtype/template b/srcpkgs/wtype/template
new file mode 100644
index 00000000000..962c7cf82be
--- /dev/null
+++ b/srcpkgs/wtype/template
@@ -0,0 +1,17 @@
+# Template file for 'wtype'
+pkgname=wtype
+version=0.3
+revision=1
+build_style=meson
+hostmakedepends="pkg-config wayland-devel"
+makedepends="libxkbcommon-devel wayland-devel"
+short_desc="Wayland version of xdotool"
+maintainer="Stacy Harper <contact@stacyharper.net>"
+license="MIT"
+homepage="https://github.com/atx/wtype"
+distfiles="https://github.com/atx/${pkgname}/archive/v${version}.tar.gz"
+checksum=35615e61e57576a240d10308f9101ceb2ec7b3554fac60119b1416b84c1694b2
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] New package: wtype-0.3
2020-12-23 14:04 [PR PATCH] " Eluminae
` (5 preceding siblings ...)
2020-12-30 14:25 ` Eluminae
@ 2021-06-10 20:07 ` Eluminae
2021-06-10 20:16 ` Eluminae
7 siblings, 0 replies; 15+ messages in thread
From: Eluminae @ 2021-06-10 20:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 312 bytes --]
There is an updated pull request by Eluminae against master on the void-packages repository
https://github.com/Eluminae/void-packages wtype
https://github.com/void-linux/void-packages/pull/27375
New package: wtype-0.3
A patch file from https://github.com/void-linux/void-packages/pull/27375.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wtype-27375.patch --]
[-- Type: text/x-diff, Size: 2460 bytes --]
From 188dc16ad78adb69706643f9781328651f720ceb Mon Sep 17 00:00:00 2001
From: Reed Wade <reedwade@misterbanal.net>
Date: Wed, 23 Dec 2020 15:03:26 +0100
Subject: [PATCH] New package: wtype-0.3
---
srcpkgs/wtype/patches/fix_reallocarray.patch | 39 ++++++++++++++++++++
srcpkgs/wtype/template | 17 +++++++++
2 files changed, 56 insertions(+)
create mode 100644 srcpkgs/wtype/patches/fix_reallocarray.patch
create mode 100644 srcpkgs/wtype/template
diff --git a/srcpkgs/wtype/patches/fix_reallocarray.patch b/srcpkgs/wtype/patches/fix_reallocarray.patch
new file mode 100644
index 000000000000..30468f26135b
--- /dev/null
+++ b/srcpkgs/wtype/patches/fix_reallocarray.patch
@@ -0,0 +1,39 @@
+From fb8cb526470308d36b28c33620fcb74916f952e8 Mon Sep 17 00:00:00 2001
+From: Josef Gajdusek <atx@atx.name>
+Date: Mon, 28 Dec 2020 20:45:36 +0100
+Subject: [PATCH] Do not use reallocarray
+
+Not available in musl.
+
+Closes #20
+
+Signed-off-by: Reed Wade <reedwade@misterbanal.net>
+---
+ main.c | 6 ++----
+ 1 file changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/main.c b/main.c
+index cbdbb0f..cec1cc2 100644
+--- main.c
++++ main.c
+@@ -1,6 +1,4 @@
+
+-#define _GNU_SOURCE
+-
+ #include <fcntl.h>
+ #include <locale.h>
+ #include <stdbool.h>
+@@ -140,8 +138,8 @@ unsigned int get_key_code(struct wtype *wtype, wchar_t ch)
+ return i;
+ }
+ }
+- wtype->keymap = reallocarray(
+- wtype->keymap, ++wtype->keymap_len, sizeof(wtype->keymap[0])
++ wtype->keymap = realloc(
++ wtype->keymap, ++wtype->keymap_len * sizeof(wtype->keymap[0])
+ );
+ wtype->keymap[wtype->keymap_len - 1] = ch;
+ return wtype->keymap_len - 1;
+--
+2.29.2
+
diff --git a/srcpkgs/wtype/template b/srcpkgs/wtype/template
new file mode 100644
index 000000000000..962c7cf82bec
--- /dev/null
+++ b/srcpkgs/wtype/template
@@ -0,0 +1,17 @@
+# Template file for 'wtype'
+pkgname=wtype
+version=0.3
+revision=1
+build_style=meson
+hostmakedepends="pkg-config wayland-devel"
+makedepends="libxkbcommon-devel wayland-devel"
+short_desc="Wayland version of xdotool"
+maintainer="Stacy Harper <contact@stacyharper.net>"
+license="MIT"
+homepage="https://github.com/atx/wtype"
+distfiles="https://github.com/atx/${pkgname}/archive/v${version}.tar.gz"
+checksum=35615e61e57576a240d10308f9101ceb2ec7b3554fac60119b1416b84c1694b2
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] New package: wtype-0.3
2020-12-23 14:04 [PR PATCH] " Eluminae
` (6 preceding siblings ...)
2021-06-10 20:07 ` Eluminae
@ 2021-06-10 20:16 ` Eluminae
7 siblings, 0 replies; 15+ messages in thread
From: Eluminae @ 2021-06-10 20:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 312 bytes --]
There is an updated pull request by Eluminae against master on the void-packages repository
https://github.com/Eluminae/void-packages wtype
https://github.com/void-linux/void-packages/pull/27375
New package: wtype-0.3
A patch file from https://github.com/void-linux/void-packages/pull/27375.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wtype-27375.patch --]
[-- Type: text/x-diff, Size: 2460 bytes --]
From aff52af14df4db1b9d1807a831347f2923b9fb30 Mon Sep 17 00:00:00 2001
From: Reed Wade <reedwade@misterbanal.net>
Date: Wed, 23 Dec 2020 15:03:26 +0100
Subject: [PATCH] New package: wtype-0.3
---
srcpkgs/wtype/patches/fix_reallocarray.patch | 39 ++++++++++++++++++++
srcpkgs/wtype/template | 17 +++++++++
2 files changed, 56 insertions(+)
create mode 100644 srcpkgs/wtype/patches/fix_reallocarray.patch
create mode 100644 srcpkgs/wtype/template
diff --git a/srcpkgs/wtype/patches/fix_reallocarray.patch b/srcpkgs/wtype/patches/fix_reallocarray.patch
new file mode 100644
index 000000000000..30468f26135b
--- /dev/null
+++ b/srcpkgs/wtype/patches/fix_reallocarray.patch
@@ -0,0 +1,39 @@
+From fb8cb526470308d36b28c33620fcb74916f952e8 Mon Sep 17 00:00:00 2001
+From: Josef Gajdusek <atx@atx.name>
+Date: Mon, 28 Dec 2020 20:45:36 +0100
+Subject: [PATCH] Do not use reallocarray
+
+Not available in musl.
+
+Closes #20
+
+Signed-off-by: Reed Wade <reedwade@misterbanal.net>
+---
+ main.c | 6 ++----
+ 1 file changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/main.c b/main.c
+index cbdbb0f..cec1cc2 100644
+--- main.c
++++ main.c
+@@ -1,6 +1,4 @@
+
+-#define _GNU_SOURCE
+-
+ #include <fcntl.h>
+ #include <locale.h>
+ #include <stdbool.h>
+@@ -140,8 +138,8 @@ unsigned int get_key_code(struct wtype *wtype, wchar_t ch)
+ return i;
+ }
+ }
+- wtype->keymap = reallocarray(
+- wtype->keymap, ++wtype->keymap_len, sizeof(wtype->keymap[0])
++ wtype->keymap = realloc(
++ wtype->keymap, ++wtype->keymap_len * sizeof(wtype->keymap[0])
+ );
+ wtype->keymap[wtype->keymap_len - 1] = ch;
+ return wtype->keymap_len - 1;
+--
+2.29.2
+
diff --git a/srcpkgs/wtype/template b/srcpkgs/wtype/template
new file mode 100644
index 000000000000..962c7cf82bec
--- /dev/null
+++ b/srcpkgs/wtype/template
@@ -0,0 +1,17 @@
+# Template file for 'wtype'
+pkgname=wtype
+version=0.3
+revision=1
+build_style=meson
+hostmakedepends="pkg-config wayland-devel"
+makedepends="libxkbcommon-devel wayland-devel"
+short_desc="Wayland version of xdotool"
+maintainer="Stacy Harper <contact@stacyharper.net>"
+license="MIT"
+homepage="https://github.com/atx/wtype"
+distfiles="https://github.com/atx/${pkgname}/archive/v${version}.tar.gz"
+checksum=35615e61e57576a240d10308f9101ceb2ec7b3554fac60119b1416b84c1694b2
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 15+ messages in thread