pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import wl-clipboard
Module Name: pkgsrc-wip
Committed By: kikadf <kikadf.01%gmail.com@localhost>
Pushed By: kikadf
Date: Thu Mar 5 18:51:09 2026 +0100
Changeset: 009f0af1bbeebbf9e0e070db4e37e503eeb92e8b
Modified Files:
Makefile
Added Files:
wl-clipboard/DESCR
wl-clipboard/Makefile
wl-clipboard/PLIST
wl-clipboard/distinfo
wl-clipboard/patches/patch-src_wl-paste.c
Log Message:
Import wl-clipboard
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=009f0af1bbeebbf9e0e070db4e37e503eeb92e8b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
wl-clipboard/DESCR | 4 ++++
wl-clipboard/Makefile | 18 ++++++++++++++++++
wl-clipboard/PLIST | 10 ++++++++++
wl-clipboard/distinfo | 6 ++++++
wl-clipboard/patches/patch-src_wl-paste.c | 15 +++++++++++++++
6 files changed, 54 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index dd0ab6cac9..8b9010ae5c 100644
--- a/Makefile
+++ b/Makefile
@@ -6067,6 +6067,7 @@ SUBDIR+= wise3
SUBDIR+= witchblast
SUBDIR+= with-editor
SUBDIR+= wjelement
+SUBDIR+= wl-clipboard
SUBDIR+= wl-git
SUBDIR+= wl-snapshot
SUBDIR+= wla-dx
diff --git a/wl-clipboard/DESCR b/wl-clipboard/DESCR
new file mode 100644
index 0000000000..66926dfd4a
--- /dev/null
+++ b/wl-clipboard/DESCR
@@ -0,0 +1,4 @@
+This project implements two command-line Wayland clipboard
+utilities, wl-copy and wl-paste, that let you easily copy
+data between the clipboard and Unix pipes, sockets, files
+and so on.
diff --git a/wl-clipboard/Makefile b/wl-clipboard/Makefile
new file mode 100644
index 0000000000..9c87ab2852
--- /dev/null
+++ b/wl-clipboard/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME= wl-clipboard-2.2.1
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_GITHUB:=bugaevc/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= kikadf.01%gmail.com@localhost
+HOMEPAGE= https://github.com/bugaevc/wl-clipboard
+COMMENT= Command-line copy/paste utilities for Wayland
+LICENSE= gnu-gpl-v3
+
+USE_TOOLS+= pkg-config
+
+.include "../../devel/meson/build.mk"
+.include "../../devel/wayland/buildlink3.mk"
+.include "../../devel/wayland-protocols/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/wl-clipboard/PLIST b/wl-clipboard/PLIST
new file mode 100644
index 0000000000..47d8ad3424
--- /dev/null
+++ b/wl-clipboard/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD$
+bin/wl-copy
+bin/wl-paste
+man/man1/wl-clipboard.1
+man/man1/wl-copy.1
+man/man1/wl-paste.1
+share/bash-completion/completions/wl-copy
+share/bash-completion/completions/wl-paste
+share/zsh/site-functions/_wl-copy
+share/zsh/site-functions/_wl-paste
diff --git a/wl-clipboard/distinfo b/wl-clipboard/distinfo
new file mode 100644
index 0000000000..0faccf8c54
--- /dev/null
+++ b/wl-clipboard/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (wl-clipboard-2.2.1.tar.gz) = f96a788f51652529e953ac4dceb72d56b51a4830896548f2698ac3a21b559487
+SHA512 (wl-clipboard-2.2.1.tar.gz) = fdda519df42e1dbfb112ab7d8195a0f36cf5cf18fffffa8f32ac4688a08009e206b96a169da641f909c9acf244eb6a5201811842b4d3111e1ccdb1ce8fb4db43
+Size (wl-clipboard-2.2.1.tar.gz) = 49421 bytes
+SHA1 (patch-src_wl-paste.c) = f4e56358a72999cd182300b12136059295c7d8b0
diff --git a/wl-clipboard/patches/patch-src_wl-paste.c b/wl-clipboard/patches/patch-src_wl-paste.c
new file mode 100644
index 0000000000..9d8eb1c126
--- /dev/null
+++ b/wl-clipboard/patches/patch-src_wl-paste.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+* Fix ctype usage
+
+--- src/wl-paste.c.orig 2026-03-05 17:45:33.262067890 +0000
++++ src/wl-paste.c
+@@ -139,7 +139,7 @@ static const char *mime_type_to_request(
+ try_any_text;
+ } else if (strchr(options.explicit_type, '/') != NULL) {
+ try_explicit;
+- } else if (isupper(options.explicit_type[0])) {
++ } else if (isupper((unsigned char)options.explicit_type[0])) {
+ try_explicit;
+ } else {
+ try_explicit;
Home |
Main Index |
Thread Index |
Old Index