Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] xsel: update to 1.2.1.
@ 2023-04-29  8:24 hazen2215
  2023-04-30  1:42 ` [PR PATCH] [Merged]: " abenson
  0 siblings, 1 reply; 2+ messages in thread
From: hazen2215 @ 2023-04-29  8:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1077 bytes --]

There is a new pull request by hazen2215 against master on the void-packages repository

https://github.com/hazen2215/void-packages xsel
https://github.com/void-linux/void-packages/pull/43667

xsel: update to 1.2.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)


A patch file from https://github.com/void-linux/void-packages/pull/43667.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xsel-43667.patch --]
[-- Type: text/x-diff, Size: 2084 bytes --]

From 67267208de7b9797c20b4dc96498621ef8b21bbe Mon Sep 17 00:00:00 2001
From: hazen2215 <haz@disroot.org>
Date: Thu, 27 Apr 2023 23:00:58 +0900
Subject: [PATCH] xsel: update to 1.2.1.

---
 srcpkgs/xsel/patches/strncpy.patch | 13 -------------
 srcpkgs/xsel/template              | 13 +++++++++----
 2 files changed, 9 insertions(+), 17 deletions(-)
 delete mode 100644 srcpkgs/xsel/patches/strncpy.patch

diff --git a/srcpkgs/xsel/patches/strncpy.patch b/srcpkgs/xsel/patches/strncpy.patch
deleted file mode 100644
index fc08b667b012..000000000000
--- a/srcpkgs/xsel/patches/strncpy.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git xsel.c xsel.c
-index 79cc68b..556585e 100644
---- a/xsel.c
-+++ b/xsel.c
-@@ -1983,7 +1983,7 @@ main(int argc, char *argv[])
-       dont_output = True;
-     } else if (OPT("--logfile") || OPT("-l")) {
-       i++; if (i >= argc) goto usage_err;
--      strncpy (logfile, argv[i], MAXFNAME);
-+      strncpy (logfile, argv[i], MAXFNAME-1);
-     } else {
-       goto usage_err;
-     }
diff --git a/srcpkgs/xsel/template b/srcpkgs/xsel/template
index d83385cdcbe2..d3a5aacdb0ff 100644
--- a/srcpkgs/xsel/template
+++ b/srcpkgs/xsel/template
@@ -1,16 +1,21 @@
 # Template file for 'xsel'
 pkgname=xsel
-version=1.2.0
-revision=5
+version=1.2.1
+revision=1
 build_style="gnu-configure"
+hostmakedepends="autoconf automake pkg-config"
 makedepends="libXt-devel"
 short_desc="Command-line getting and setting the contents of the X selection"
 maintainer="Steven R <dev@styez.com>"
 license="HPND-sell-variant"
 homepage="http://www.kfish.org/software/xsel/"
 changelog="https://raw.githubusercontent.com/kfish/xsel/master/release_notes/xsel-${version}.txt"
-distfiles="http://www.kfish.org/software/xsel/download/xsel-${version}.tar.gz"
-checksum=b927ce08dc82f4c30140223959b90cf65e1076f000ce95e520419ec32f5b141c
+distfiles="https://github.com/kfish/xsel/archive/refs/tags/${version}.tar.gz"
+checksum=18487761f5ca626a036d65ef2db8ad9923bf61685e06e7533676c56d7d60eb14
+
+pre_configure() {
+	autoreconf -fi
+}
 
 post_install() {
 	vlicense COPYING LICENSE

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: xsel: update to 1.2.1.
  2023-04-29  8:24 [PR PATCH] xsel: update to 1.2.1 hazen2215
@ 2023-04-30  1:42 ` abenson
  0 siblings, 0 replies; 2+ messages in thread
From: abenson @ 2023-04-30  1:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 925 bytes --]

There's a merged pull request on the void-packages repository

xsel: update to 1.2.1.
https://github.com/void-linux/void-packages/pull/43667

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-30  1:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-29  8:24 [PR PATCH] xsel: update to 1.2.1 hazen2215
2023-04-30  1:42 ` [PR PATCH] [Merged]: " abenson

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).