pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import x11/xsel
Module Name: pkgsrc-wip
Committed By: kikadf <kikadf.01%gmail.com@localhost>
Pushed By: kikadf
Date: Sun Aug 10 19:07:47 2025 +0200
Changeset: a798a374dc6ab20f4bfaca525d17e8cb81e30d1d
Modified Files:
Makefile
Added Files:
xsel/DESCR
xsel/Makefile
xsel/PLIST
xsel/distinfo
xsel/patches/patch-aa
Log Message:
Import x11/xsel
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a798a374dc6ab20f4bfaca525d17e8cb81e30d1d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
xsel/DESCR | 3 +++
xsel/Makefile | 20 ++++++++++++++++++++
xsel/PLIST | 3 +++
xsel/distinfo | 6 ++++++
xsel/patches/patch-aa | 13 +++++++++++++
6 files changed, 46 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 91aed1ed9a..738e5ac155 100644
--- a/Makefile
+++ b/Makefile
@@ -6118,6 +6118,7 @@ SUBDIR+= xrdp
SUBDIR+= xrdp09
SUBDIR+= xroar
SUBDIR+= xsb
+SUBDIR+= xsel
SUBDIR+= xspd
SUBDIR+= xspdapp
SUBDIR+= xspread
diff --git a/xsel/DESCR b/xsel/DESCR
new file mode 100644
index 0000000000..1f1e0ca176
--- /dev/null
+++ b/xsel/DESCR
@@ -0,0 +1,3 @@
+XSel is a command-line program for getting and setting the contents of the
+X selection. Normally this is only accessible by manually highlighting
+information and pasting it with the middle mouse button.
diff --git a/xsel/Makefile b/xsel/Makefile
new file mode 100644
index 0000000000..c8cd9e02f4
--- /dev/null
+++ b/xsel/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.5 2023/12/21 02:58:40 zafer Exp $
+#
+
+DISTNAME= xsel-1.2.0
+CATEGORIES= x11
+MASTER_SITES= https://vergenet.net/~conrad/software/xsel/download/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.vergenet.net/~conrad/software/xsel/
+COMMENT= Manipulate the X selection
+
+GNU_CONFIGURE= yes
+
+BUILDLINK_TRANSFORM+= rm:-Werror
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xsel.1x ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xsel.1
+
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/xsel/PLIST b/xsel/PLIST
new file mode 100644
index 0000000000..f2e0547eb2
--- /dev/null
+++ b/xsel/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/05 13:07:35 obache Exp $
+bin/xsel
+man/man1/xsel.1
diff --git a/xsel/distinfo b/xsel/distinfo
new file mode 100644
index 0000000000..41ae9679e0
--- /dev/null
+++ b/xsel/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.5 2021/10/26 11:34:57 nia Exp $
+
+BLAKE2s (xsel-1.2.0.tar.gz) = d6d025764b2eab8984c87a8f541ea680d0c9dd2eb35b7102b0c1e4dd4eb59615
+SHA512 (xsel-1.2.0.tar.gz) = e28623e6cc180f2e2210c20697d21d336633f0a5272ca9b62150a1c535e8de89731acc07230a9977e391e37d3943a9d687f1f967765a15bca5092a6c6d8c4d8f
+Size (xsel-1.2.0.tar.gz) = 169155 bytes
+SHA1 (patch-aa) = 85a45f1baa6a8a788b52e637af337ff06e0ff0d5
diff --git a/xsel/patches/patch-aa b/xsel/patches/patch-aa
new file mode 100644
index 0000000000..5bf09ce80c
--- /dev/null
+++ b/xsel/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2009/07/20 18:51:53 hasso Exp $
+
+--- xsel.c.orig 2009-07-20 21:08:25 +0300
++++ xsel.c 2009-07-20 21:09:11 +0300
+@@ -465,7 +465,7 @@ get_timestamp (void)
+ */
+
+ /* The jmp_buf to longjmp out of the signal handler */
+-static jmp_buf env_alrm;
++static sigjmp_buf env_alrm;
+
+ /*
+ * alarm_handler (sig)
Home |
Main Index |
Thread Index |
Old Index