* [PR PATCH] uhubctl: update to 2.4.0
@ 2022-03-14 6:02 Animeshz
2022-06-28 2:16 ` github-actions
2022-06-28 14:48 ` [PR PATCH] [Merged]: " Duncaen
0 siblings, 2 replies; 3+ messages in thread
From: Animeshz @ 2022-03-14 6:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 381 bytes --]
There is a new pull request by Animeshz against master on the void-packages repository
https://github.com/Animeshz/void-packages uhubctl
https://github.com/void-linux/void-packages/pull/36128
uhubctl: update to 2.4.0
#### Testing the changes
- I tested the changes in this PR: **YES**
A patch file from https://github.com/void-linux/void-packages/pull/36128.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-uhubctl-36128.patch --]
[-- Type: text/x-diff, Size: 2128 bytes --]
From 3719492790dd42f3d0d679e59fdbfc3bab577a40 Mon Sep 17 00:00:00 2001
From: Animesh Sahu <animeshsahu19@yahoo.com>
Date: Mon, 21 Feb 2022 13:19:55 +0530
Subject: [PATCH] uhubctl: update to 2.4.0
---
srcpkgs/uhubctl/patches/Makefile.patch | 15 ++-------------
srcpkgs/uhubctl/template | 6 ++++--
2 files changed, 6 insertions(+), 15 deletions(-)
diff --git a/srcpkgs/uhubctl/patches/Makefile.patch b/srcpkgs/uhubctl/patches/Makefile.patch
index 429a805e354c..cd24ad3870a3 100644
--- a/srcpkgs/uhubctl/patches/Makefile.patch
+++ b/srcpkgs/uhubctl/patches/Makefile.patch
@@ -1,21 +1,10 @@
-diff --git Makefile Makefile
-index f6d69d3..58a9d98 100644
--- a/Makefile
+++ b/Makefile
-@@ -4,7 +4,7 @@ UNAME_S := $(shell uname -s)
-
- DESTDIR ?=
- prefix ?= /usr
--sbindir ?= $(prefix)/sbin
-+sbindir ?= $(prefix)/bin
-
- INSTALL := install
- INSTALL_DIR := $(INSTALL) -m 755 -d
-@@ -14,7 +14,7 @@ RM := rm -rf
+@@ -14,7 +14,7 @@
CC ?= gcc
CFLAGS ?= -g -O0
CFLAGS += -Wall -Wextra -std=c99 -pedantic
--GIT_VERSION := $(shell git describe --abbrev=8 --dirty --always --tags)
+-GIT_VERSION := $(shell git describe --match "v[0-9]*" --abbrev=8 --dirty --tags | cut -c2-)
+GIT_VERSION := $(shell basename "$(CURDIR)" | cut -d '-' -f 2)
ifeq ($(GIT_VERSION),)
GIT_VERSION := $(shell cat VERSION)
diff --git a/srcpkgs/uhubctl/template b/srcpkgs/uhubctl/template
index 748b10a9b32a..8f14794092e5 100644
--- a/srcpkgs/uhubctl/template
+++ b/srcpkgs/uhubctl/template
@@ -1,13 +1,15 @@
# Template file for 'uhubctl'
pkgname=uhubctl
-version=2.1.0
+version=2.4.0
revision=1
build_style=gnu-makefile
make_use_env=yes
+make_install_args="sbindir=/usr/bin"
+hostmakedepends="pkg-config which"
makedepends="libusb-devel"
short_desc="USB hub per-port power control"
maintainer="Pavel Fatin <mail@pavelfatin.com>"
license="GPL-2.0-only"
homepage="https://github.com/mvp/uhubctl"
distfiles="https://github.com/mvp/uhubctl/archive/v${version}.tar.gz"
-checksum=227fdd541067b84eaa0e15cdc171458a56de7591f7a1deaff3e6d42d2809450b
+checksum=391f24fd1f89cacce801df38ecc289b34c3627bc08ee69eec515af7e1a283d97
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: uhubctl: update to 2.4.0
2022-03-14 6:02 [PR PATCH] uhubctl: update to 2.4.0 Animeshz
@ 2022-06-28 2:16 ` github-actions
2022-06-28 14:48 ` [PR PATCH] [Merged]: " Duncaen
1 sibling, 0 replies; 3+ messages in thread
From: github-actions @ 2022-06-28 2:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/36128#issuecomment-1168136804
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Merged]: uhubctl: update to 2.4.0
2022-03-14 6:02 [PR PATCH] uhubctl: update to 2.4.0 Animeshz
2022-06-28 2:16 ` github-actions
@ 2022-06-28 14:48 ` Duncaen
1 sibling, 0 replies; 3+ messages in thread
From: Duncaen @ 2022-06-28 14:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 228 bytes --]
There's a merged pull request on the void-packages repository
uhubctl: update to 2.4.0
https://github.com/void-linux/void-packages/pull/36128
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-28 14:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-14 6:02 [PR PATCH] uhubctl: update to 2.4.0 Animeshz
2022-06-28 2:16 ` github-actions
2022-06-28 14:48 ` [PR PATCH] [Merged]: " Duncaen
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).