Github messages for voidlinux
 help / color / mirror / Atom feed
From: Positive205 <Positive205@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: swww-v0.7.2
Date: Sun, 16 Apr 2023 18:40:05 +0200	[thread overview]
Message-ID: <20230416164005.MwGpC_j_FHlqUflOzmsNr6od0BTYLDF5AhmeMKR8LMU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43441@inbox.vuxu.org>

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

There is an updated pull request by Positive205 against master on the void-packages repository

https://github.com/Positive205/void-packages new-packages
https://github.com/void-linux/void-packages/pull/43441

New package: swww-v0.7.2
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc

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

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

From 87cbb13eb704469696ff81ef5a7964c40286375c Mon Sep 17 00:00:00 2001
From: Faizudin bin Taufik Tuah <faizudinproman@gmail.com>
Date: Sat, 15 Apr 2023 23:53:25 +0800
Subject: [PATCH 1/2] Fixed vbin() path

---
 srcpkgs/swww/template | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/swww/template

diff --git a/srcpkgs/swww/template b/srcpkgs/swww/template
new file mode 100644
index 000000000000..1ba1c5694ba0
--- /dev/null
+++ b/srcpkgs/swww/template
@@ -0,0 +1,34 @@
+# Template file for 'swww'
+pkgname=swww
+version=0.7.2
+revision=1
+build_style=cargo
+hostmakedepends="rust cargo"
+makedepends="scdoc pkg-config libxkbcommon-devel"
+depends="lz4"
+short_desc="Efficient animated wallpaper daemon for wayland, controlled at runtime"
+maintainer="Posi+ive <faizudinproman@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/Horus645/swww"
+changelog="https://github.com/Horus645/swww/blob/main/CHANGELOG.md"
+distfiles="https://github.com/Horus645/swww/archive/refs/tags/v${version}.tar.gz"
+checksum=bb961577387aefd64b54090b3a7d0db5a393120edc24fe71d149e77fe132025c
+
+do_install() {
+	vbin target/${XBPS_TARGET_MACHINE}-unknown-linux-gnu/release/swww
+	vbin target/${XBPS_TARGET_MACHINE}-unknown-linux-gnu/release/swww-daemon
+	vman doc/generated/swww-clear.1
+	vman doc/generated/swww-daemon.1
+	vman doc/generated/swww-img.1
+	vman doc/generated/swww-init.1
+	vman doc/generated/swww-kill.1
+	vman doc/generated/swww-query.1
+	vman doc/generated/swww.1
+
+	vcompletion completions/swww.bash bash
+	vcompletion completions/swww.fish fish
+}
+
+post_build() {
+	./doc/gen.sh
+}

From a34690c5179b5f97fedd5935c448a7910e512ed7 Mon Sep 17 00:00:00 2001
From: Faizudin bin Taufik Tuah <faizudinproman@gmail.com>
Date: Mon, 17 Apr 2023 00:39:17 +0800
Subject: [PATCH 2/2] Use post_install() instead of do_install() and minor
 fixes

---
 srcpkgs/swww/template | 31 ++++++++++++++-----------------
 1 file changed, 14 insertions(+), 17 deletions(-)

diff --git a/srcpkgs/swww/template b/srcpkgs/swww/template
index 1ba1c5694ba0..1e00b550bcdc 100644
--- a/srcpkgs/swww/template
+++ b/srcpkgs/swww/template
@@ -3,32 +3,29 @@ pkgname=swww
 version=0.7.2
 revision=1
 build_style=cargo
-hostmakedepends="rust cargo"
-makedepends="scdoc pkg-config libxkbcommon-devel"
+hostmakedepends="scdoc pkg-config"
+makedepends="libxkbcommon-devel"
 depends="lz4"
 short_desc="Efficient animated wallpaper daemon for wayland, controlled at runtime"
 maintainer="Posi+ive <faizudinproman@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/Horus645/swww"
-changelog="https://github.com/Horus645/swww/blob/main/CHANGELOG.md"
+changelog="https://github.com/Horus645/swww/raw/main/CHANGELOG.md"
 distfiles="https://github.com/Horus645/swww/archive/refs/tags/v${version}.tar.gz"
 checksum=bb961577387aefd64b54090b3a7d0db5a393120edc24fe71d149e77fe132025c
 
-do_install() {
-	vbin target/${XBPS_TARGET_MACHINE}-unknown-linux-gnu/release/swww
-	vbin target/${XBPS_TARGET_MACHINE}-unknown-linux-gnu/release/swww-daemon
-	vman doc/generated/swww-clear.1
-	vman doc/generated/swww-daemon.1
-	vman doc/generated/swww-img.1
-	vman doc/generated/swww-init.1
-	vman doc/generated/swww-kill.1
-	vman doc/generated/swww-query.1
-	vman doc/generated/swww.1
+post_build() {
+	./doc/gen.sh
+}
+
+post_install() {
+	for f in doc/generated/*.?; do
+		vman $f
+	done
 
 	vcompletion completions/swww.bash bash
 	vcompletion completions/swww.fish fish
-}
-
-post_build() {
-	./doc/gen.sh
+	vcompletion completions/_swww zsh
+	
+	vbin target/${XBPS_RUST_TARGET}/release/swww-daemon
 }

  parent reply	other threads:[~2023-04-16 16:40 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-14 14:37 [PR PATCH] Added swww package Positive205
2023-04-14 14:48 ` [PR PATCH] [Updated] New package: swww Positive205
2023-04-15  1:08 ` Positive205
2023-04-15 15:53 ` [PR PATCH] [Updated] New package: swww-v0.7.2 Positive205
2023-04-15 18:10 ` paper42
2023-04-15 18:33 ` Positive205
2023-04-15 18:34 ` Positive205
2023-04-15 22:08 ` [PR PATCH] [Updated] " Positive205
2023-04-15 22:09 ` Positive205
2023-04-15 22:10 ` [PR PATCH] [Updated] " Positive205
2023-04-15 22:26 ` Positive205
2023-04-15 22:41 ` Positive205
2023-04-16  2:41 ` [PR REVIEW] " classabbyamp
2023-04-16  2:41 ` classabbyamp
2023-04-16  2:41 ` classabbyamp
2023-04-16  2:41 ` classabbyamp
2023-04-16  2:41 ` classabbyamp
2023-04-16 11:39 ` Positive205
2023-04-16 12:11 ` classabbyamp
2023-04-16 13:00 ` Positive205
2023-04-16 13:00 ` Positive205
2023-04-16 14:19 ` classabbyamp
2023-04-16 16:37 ` Positive205
2023-04-16 16:40 ` Positive205 [this message]
2023-04-16 16:47 ` [PR PATCH] [Updated] " Positive205
2023-04-16 17:31 ` Positive205
2023-04-16 18:24 ` classabbyamp
2023-04-16 22:57 ` Positive205
2023-04-17  0:12 ` [PR PATCH] [Updated] " Positive205
2023-04-20 12:26 ` abenson
2023-04-20 21:55 ` [PR PATCH] [Updated] " Positive205
2023-05-06 12:32 ` Positive205
2023-08-05  1:48 ` github-actions
2023-08-20  1:44 ` [PR PATCH] [Closed]: " github-actions
2023-11-02  3:41 ` Positive205
2023-11-02  3:46 ` [PR PATCH] [Updated] " classabbyamp
2023-11-02  4:11 ` Positive205
2023-11-02  4:47 ` [PR PATCH] [Updated] " Positive205
2023-11-02  4:50 ` New package: swww-v0.8.1 Positive205
2023-11-02 11:35 ` Positive205
2023-11-03 10:06 ` [PR PATCH] [Updated] " Positive205
2023-11-05  1:52 ` Positive205
2023-11-08  5:18 ` Positive205
2023-11-09 13:42 ` Positive205
2023-11-09 13:42 ` Positive205
2023-11-09 17:13 ` Positive205
2023-11-09 17:13 ` Positive205
2023-12-21  3:30 ` [PR PATCH] [Updated] " Positive205
2023-12-21  4:02 ` Positive205
2024-03-02 10:33 ` [PR PATCH] [Updated] " Posiplusive

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230416164005.MwGpC_j_FHlqUflOzmsNr6od0BTYLDF5AhmeMKR8LMU@z \
    --to=positive205@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).