pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/wayland/wl-clipboard



Module Name:    pkgsrc
Committed By:   kikadf
Date:           Wed Apr 15 07:49:39 UTC 2026

Added Files:
        pkgsrc/wayland/wl-clipboard: DESCR Makefile PLIST distinfo
        pkgsrc/wayland/wl-clipboard/patches: patch-src_wl-paste.c

Log Message:
wl-clipboard: new package

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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/wayland/wl-clipboard/DESCR \
    pkgsrc/wayland/wl-clipboard/Makefile pkgsrc/wayland/wl-clipboard/PLIST \
    pkgsrc/wayland/wl-clipboard/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/wayland/wl-clipboard/patches/patch-src_wl-paste.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/wayland/wl-clipboard/DESCR
diff -u /dev/null pkgsrc/wayland/wl-clipboard/DESCR:1.1
--- /dev/null   Wed Apr 15 07:49:39 2026
+++ pkgsrc/wayland/wl-clipboard/DESCR   Wed Apr 15 07:49:38 2026
@@ -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.
Index: pkgsrc/wayland/wl-clipboard/Makefile
diff -u /dev/null pkgsrc/wayland/wl-clipboard/Makefile:1.1
--- /dev/null   Wed Apr 15 07:49:39 2026
+++ pkgsrc/wayland/wl-clipboard/Makefile        Wed Apr 15 07:49:38 2026
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2026/04/15 07:49:38 kikadf Exp $
+
+DISTNAME=      wl-clipboard-2.3.0
+CATEGORIES=    wayland
+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"
Index: pkgsrc/wayland/wl-clipboard/PLIST
diff -u /dev/null pkgsrc/wayland/wl-clipboard/PLIST:1.1
--- /dev/null   Wed Apr 15 07:49:39 2026
+++ pkgsrc/wayland/wl-clipboard/PLIST   Wed Apr 15 07:49:39 2026
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2026/04/15 07:49:39 kikadf Exp $
+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
Index: pkgsrc/wayland/wl-clipboard/distinfo
diff -u /dev/null pkgsrc/wayland/wl-clipboard/distinfo:1.1
--- /dev/null   Wed Apr 15 07:49:39 2026
+++ pkgsrc/wayland/wl-clipboard/distinfo        Wed Apr 15 07:49:39 2026
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2026/04/15 07:49:39 kikadf Exp $
+
+BLAKE2s (wl-clipboard-2.3.0.tar.gz) = cb64237c1d680a50d8f45355b9b3157adf336fd58392972700d29d9ef33282ed
+SHA512 (wl-clipboard-2.3.0.tar.gz) = 101dd7a18fbaee0754318cf9ec8403068df4091ccc5d3dd0bd1e46627d56a183c718c206816c08e5dbadf6fd5c747fa0c95eca1925fa27c7eeda133909696f9b
+Size (wl-clipboard-2.3.0.tar.gz) = 51077 bytes
+SHA1 (patch-src_wl-paste.c) = f4e56358a72999cd182300b12136059295c7d8b0

Index: pkgsrc/wayland/wl-clipboard/patches/patch-src_wl-paste.c
diff -u /dev/null pkgsrc/wayland/wl-clipboard/patches/patch-src_wl-paste.c:1.1
--- /dev/null   Wed Apr 15 07:49:39 2026
+++ pkgsrc/wayland/wl-clipboard/patches/patch-src_wl-paste.c    Wed Apr 15 07:49:39 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_wl-paste.c,v 1.1 2026/04/15 07:49:39 kikadf Exp $
+
+* 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