Github messages for voidlinux
 help / color / mirror / Atom feed
From: Eluminae <Eluminae@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: wtype-0.3
Date: Thu, 10 Jun 2021 22:16:22 +0200	[thread overview]
Message-ID: <20210610201622.02MxloVPa-iD82KsI7pGPjR-5RsZwFUh_mJCkuNFOi4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27375@inbox.vuxu.org>

[-- 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
+}

  parent reply	other threads:[~2021-06-10 20:16 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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
2020-12-23 16:38 ` [PR REVIEW] " pullmoll
2020-12-23 16:51 ` [PR PATCH] [Updated] " Eluminae
2020-12-23 16:51 ` [PR REVIEW] " Eluminae
2020-12-29 14:39 ` mcbloch
2020-12-29 15:12 ` Eluminae
2020-12-30  6:38 ` the-maldridge
2020-12-30 14:25 ` [PR PATCH] [Updated] " Eluminae
2020-12-30 14:29 ` Eluminae
2021-03-07 15:20 ` ajshell1
2021-03-07 15:20 ` ajshell1
2021-06-10 17:20 ` Eluminae
2021-06-10 17:27 ` ericonr
2021-06-10 17:27 ` ericonr
2021-06-10 17:28 ` ericonr
2021-06-10 20:07 ` [PR PATCH] [Updated] " Eluminae
2021-06-10 20:10 ` Eluminae
2021-06-10 20:16 ` Eluminae [this message]
2021-06-11 18:36 ` ericonr
2021-06-11 19:38 ` ericonr
2021-06-11 19:38 ` [PR PATCH] [Merged]: " ericonr
2021-03-06 22:20 [PR PATCH] " ajshell1
2021-03-07  3:20 ` [PR PATCH] [Updated] " ajshell1

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210610201622.02MxloVPa-iD82KsI7pGPjR-5RsZwFUh_mJCkuNFOi4@z \
    --to=eluminae@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).