Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] swayimg: update to 2.1.
@ 2024-02-08 21:52 voidbert
  2024-02-08 22:23 ` [PR PATCH] [Updated] " voidbert
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: voidbert @ 2024-02-08 21:52 UTC (permalink / raw)
  To: ml

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

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

https://github.com/voidbert/void-packages swayimg
https://github.com/void-linux/void-packages/pull/48615

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

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l-musl


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

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

From 9268c7257d925cbfa94162c0ee3f37e874aaed79 Mon Sep 17 00:00:00 2001
From: voidbert <humbertogilgomes@protonmail.com>
Date: Thu, 8 Feb 2024 21:50:29 +0000
Subject: [PATCH] swayimg: update to 2.1.

---
 srcpkgs/swayimg/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/swayimg/template b/srcpkgs/swayimg/template
index 34b353098abc6..13b4020bfc1d7 100644
--- a/srcpkgs/swayimg/template
+++ b/srcpkgs/swayimg/template
@@ -1,7 +1,7 @@
 # Template file for 'swayimg'
 pkgname=swayimg
-version=2.0
-revision=2
+version=2.1
+revision=1
 build_style=meson
 hostmakedepends="pkg-config wayland-devel"
 makedepends="wayland-devel cairo-devel json-c-devel libxkbcommon-devel
@@ -13,7 +13,7 @@ maintainer="voidbert <humbertogilgomes@protonmail.com>"
 license="MIT"
 homepage="https://github.com/artemsen/swayimg"
 distfiles="https://github.com/artemsen/swayimg/archive/v${version}.tar.gz"
-checksum=afcf69d9c69d826e010065dd08732fc5b0c0402c26f98d977f27b77ebd2bdee1
+checksum=d82fb8e75cdabf470677797444ec19b00c83e0e06d80be774727194404624e7e
 
 post_install() {
 	vcompletion extra/bash.completion bash

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

* Re: [PR PATCH] [Updated] swayimg: update to 2.1.
  2024-02-08 21:52 [PR PATCH] swayimg: update to 2.1 voidbert
@ 2024-02-08 22:23 ` voidbert
  2024-02-08 22:29 ` voidbert
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: voidbert @ 2024-02-08 22:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/voidbert/void-packages swayimg
https://github.com/void-linux/void-packages/pull/48615

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

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l-musl


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

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

From 48269406aa0ddc74231d37ede96e3a3152517141 Mon Sep 17 00:00:00 2001
From: voidbert <humbertogilgomes@protonmail.com>
Date: Thu, 8 Feb 2024 21:50:29 +0000
Subject: [PATCH] swayimg: update to 2.1.

---
 srcpkgs/swayimg/patches/version.patch | 11 +++++++++++
 srcpkgs/swayimg/template              |  6 +++---
 2 files changed, 14 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/swayimg/patches/version.patch

diff --git a/srcpkgs/swayimg/patches/version.patch b/srcpkgs/swayimg/patches/version.patch
new file mode 100644
index 0000000000000..bb4a2cf1d13cf
--- /dev/null
+++ b/srcpkgs/swayimg/patches/version.patch
@@ -0,0 +1,11 @@
+diff --git a/meson_options.txt b/meson_options.txt
+index b45a53f..d6156cb 100644
+--- a/meson_options.txt
++++ b/meson_options.txt
+@@ -67,5 +67,5 @@ option('desktop',
+ # project version
+ option('version',
+        type : 'string',
+-       value : '0.0.0',
++       value : '1.2',
+        description : 'project version')
diff --git a/srcpkgs/swayimg/template b/srcpkgs/swayimg/template
index 34b353098abc6..42a509be2386b 100644
--- a/srcpkgs/swayimg/template
+++ b/srcpkgs/swayimg/template
@@ -1,7 +1,7 @@
 # Template file for 'swayimg'
 pkgname=swayimg
-version=2.0
-revision=2
+version=2.1 # Keep version.patch up to date
+revision=1
 build_style=meson
 hostmakedepends="pkg-config wayland-devel"
 makedepends="wayland-devel cairo-devel json-c-devel libxkbcommon-devel
@@ -13,7 +13,7 @@ maintainer="voidbert <humbertogilgomes@protonmail.com>"
 license="MIT"
 homepage="https://github.com/artemsen/swayimg"
 distfiles="https://github.com/artemsen/swayimg/archive/v${version}.tar.gz"
-checksum=afcf69d9c69d826e010065dd08732fc5b0c0402c26f98d977f27b77ebd2bdee1
+checksum=d82fb8e75cdabf470677797444ec19b00c83e0e06d80be774727194404624e7e
 
 post_install() {
 	vcompletion extra/bash.completion bash

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

* Re: [PR PATCH] [Updated] swayimg: update to 2.1.
  2024-02-08 21:52 [PR PATCH] swayimg: update to 2.1 voidbert
  2024-02-08 22:23 ` [PR PATCH] [Updated] " voidbert
@ 2024-02-08 22:29 ` voidbert
  2024-02-09 18:14 ` mikarpenko
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: voidbert @ 2024-02-08 22:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/voidbert/void-packages swayimg
https://github.com/void-linux/void-packages/pull/48615

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

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l-musl

This PR also solves `swayimg --version` showing `0.0.0`. Could some more experienced maintainer provide a way of solving this issue without a patch? Would using `sed` be preferred?

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

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

From f1554f34b675472ef9b96f2e8d0f71e1d908435f Mon Sep 17 00:00:00 2001
From: voidbert <humbertogilgomes@protonmail.com>
Date: Thu, 8 Feb 2024 21:50:29 +0000
Subject: [PATCH] swayimg: update to 2.1.

---
 srcpkgs/swayimg/patches/version.patch | 11 +++++++++++
 srcpkgs/swayimg/template              |  6 +++---
 2 files changed, 14 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/swayimg/patches/version.patch

diff --git a/srcpkgs/swayimg/patches/version.patch b/srcpkgs/swayimg/patches/version.patch
new file mode 100644
index 0000000000000..ac2e580e4c3a2
--- /dev/null
+++ b/srcpkgs/swayimg/patches/version.patch
@@ -0,0 +1,11 @@
+diff --git a/meson_options.txt b/meson_options.txt
+index b45a53f..d6156cb 100644
+--- a/meson_options.txt
++++ b/meson_options.txt
+@@ -67,5 +67,5 @@ option('desktop',
+ # project version
+ option('version',
+        type : 'string',
+-       value : '0.0.0',
++       value : '2.1',
+        description : 'project version')
diff --git a/srcpkgs/swayimg/template b/srcpkgs/swayimg/template
index 34b353098abc6..42a509be2386b 100644
--- a/srcpkgs/swayimg/template
+++ b/srcpkgs/swayimg/template
@@ -1,7 +1,7 @@
 # Template file for 'swayimg'
 pkgname=swayimg
-version=2.0
-revision=2
+version=2.1 # Keep version.patch up to date
+revision=1
 build_style=meson
 hostmakedepends="pkg-config wayland-devel"
 makedepends="wayland-devel cairo-devel json-c-devel libxkbcommon-devel
@@ -13,7 +13,7 @@ maintainer="voidbert <humbertogilgomes@protonmail.com>"
 license="MIT"
 homepage="https://github.com/artemsen/swayimg"
 distfiles="https://github.com/artemsen/swayimg/archive/v${version}.tar.gz"
-checksum=afcf69d9c69d826e010065dd08732fc5b0c0402c26f98d977f27b77ebd2bdee1
+checksum=d82fb8e75cdabf470677797444ec19b00c83e0e06d80be774727194404624e7e
 
 post_install() {
 	vcompletion extra/bash.completion bash

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

* Re: swayimg: update to 2.1.
  2024-02-08 21:52 [PR PATCH] swayimg: update to 2.1 voidbert
  2024-02-08 22:23 ` [PR PATCH] [Updated] " voidbert
  2024-02-08 22:29 ` voidbert
@ 2024-02-09 18:14 ` mikarpenko
  2024-02-09 22:27 ` [PR PATCH] [Updated] " voidbert
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mikarpenko @ 2024-02-09 18:14 UTC (permalink / raw)
  To: ml

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

New comment by mikarpenko on void-packages repository

https://github.com/void-linux/void-packages/pull/48615#issuecomment-1936393275

Comment:
You can pass an argument with package version to the build system using configuration options in the template file:
```
configure_args="-D version=${version}"
```

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

* Re: [PR PATCH] [Updated] swayimg: update to 2.1.
  2024-02-08 21:52 [PR PATCH] swayimg: update to 2.1 voidbert
                   ` (2 preceding siblings ...)
  2024-02-09 18:14 ` mikarpenko
@ 2024-02-09 22:27 ` voidbert
  2024-02-09 22:29 ` voidbert
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: voidbert @ 2024-02-09 22:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/voidbert/void-packages swayimg
https://github.com/void-linux/void-packages/pull/48615

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

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l-musl

This PR also solves `swayimg --version` showing `0.0.0`. Could some more experienced maintainer provide a way of solving this issue without a patch? Would using `sed` be preferred?

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

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

From 443b7897c2a406da4c7ad6b5cbcbc80fd01bd5fe Mon Sep 17 00:00:00 2001
From: voidbert <humbertogilgomes@protonmail.com>
Date: Thu, 8 Feb 2024 21:50:29 +0000
Subject: [PATCH] swayimg: update to 2.1.

---
 srcpkgs/swayimg/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/swayimg/template b/srcpkgs/swayimg/template
index 34b353098abc6..5ba0d0ad8ec43 100644
--- a/srcpkgs/swayimg/template
+++ b/srcpkgs/swayimg/template
@@ -1,8 +1,9 @@
 # Template file for 'swayimg'
 pkgname=swayimg
-version=2.0
-revision=2
+version=2.1 # Keep version.patch up to date
+revision=1
 build_style=meson
+configure_args="-D version=${version}"
 hostmakedepends="pkg-config wayland-devel"
 makedepends="wayland-devel cairo-devel json-c-devel libxkbcommon-devel
  wayland-protocols libheif-devel giflib-devel libjpeg-turbo-devel
@@ -13,7 +14,7 @@ maintainer="voidbert <humbertogilgomes@protonmail.com>"
 license="MIT"
 homepage="https://github.com/artemsen/swayimg"
 distfiles="https://github.com/artemsen/swayimg/archive/v${version}.tar.gz"
-checksum=afcf69d9c69d826e010065dd08732fc5b0c0402c26f98d977f27b77ebd2bdee1
+checksum=d82fb8e75cdabf470677797444ec19b00c83e0e06d80be774727194404624e7e
 
 post_install() {
 	vcompletion extra/bash.completion bash

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

* Re: swayimg: update to 2.1.
  2024-02-08 21:52 [PR PATCH] swayimg: update to 2.1 voidbert
                   ` (3 preceding siblings ...)
  2024-02-09 22:27 ` [PR PATCH] [Updated] " voidbert
@ 2024-02-09 22:29 ` voidbert
  2024-02-10 17:05 ` [PR REVIEW] " mikarpenko
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: voidbert @ 2024-02-09 22:29 UTC (permalink / raw)
  To: ml

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

New comment by voidbert on void-packages repository

https://github.com/void-linux/void-packages/pull/48615#issuecomment-1936687839

Comment:
> You can pass an argument with package version to the build system using configuration options in the template file:
> 
> ```
> configure_args="-D version=${version}"
> ```

Thank you for the tip! My lack of Meson experience shows :sweat_smile: .

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

* Re: [PR REVIEW] swayimg: update to 2.1.
  2024-02-08 21:52 [PR PATCH] swayimg: update to 2.1 voidbert
                   ` (4 preceding siblings ...)
  2024-02-09 22:29 ` voidbert
@ 2024-02-10 17:05 ` mikarpenko
  2024-02-11 20:46 ` [PR PATCH] [Updated] " voidbert
  2024-02-11 20:53 ` [PR PATCH] [Merged]: " cinerea0
  7 siblings, 0 replies; 9+ messages in thread
From: mikarpenko @ 2024-02-10 17:05 UTC (permalink / raw)
  To: ml

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

New review comment by mikarpenko on void-packages repository

https://github.com/void-linux/void-packages/pull/48615#discussion_r1485202450

Comment:
I guess the comment should be removed as it is not relevant any more.

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

* Re: [PR PATCH] [Updated] swayimg: update to 2.1.
  2024-02-08 21:52 [PR PATCH] swayimg: update to 2.1 voidbert
                   ` (5 preceding siblings ...)
  2024-02-10 17:05 ` [PR REVIEW] " mikarpenko
@ 2024-02-11 20:46 ` voidbert
  2024-02-11 20:53 ` [PR PATCH] [Merged]: " cinerea0
  7 siblings, 0 replies; 9+ messages in thread
From: voidbert @ 2024-02-11 20:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/voidbert/void-packages swayimg
https://github.com/void-linux/void-packages/pull/48615

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

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l-musl

This PR also solves `swayimg --version` showing `0.0.0`. ~~Could some more experienced maintainer provide a way of solving this issue without a patch? Would using `sed` be preferred?~~

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

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

From 38313615650e368b1c80ff6f825640e43e83d16f Mon Sep 17 00:00:00 2001
From: voidbert <humbertogilgomes@protonmail.com>
Date: Thu, 8 Feb 2024 21:50:29 +0000
Subject: [PATCH] swayimg: update to 2.1.

---
 srcpkgs/swayimg/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/swayimg/template b/srcpkgs/swayimg/template
index 34b353098abc6..364f1cca6688e 100644
--- a/srcpkgs/swayimg/template
+++ b/srcpkgs/swayimg/template
@@ -1,8 +1,9 @@
 # Template file for 'swayimg'
 pkgname=swayimg
-version=2.0
-revision=2
+version=2.1
+revision=1
 build_style=meson
+configure_args="-D version=${version}"
 hostmakedepends="pkg-config wayland-devel"
 makedepends="wayland-devel cairo-devel json-c-devel libxkbcommon-devel
  wayland-protocols libheif-devel giflib-devel libjpeg-turbo-devel
@@ -13,7 +14,7 @@ maintainer="voidbert <humbertogilgomes@protonmail.com>"
 license="MIT"
 homepage="https://github.com/artemsen/swayimg"
 distfiles="https://github.com/artemsen/swayimg/archive/v${version}.tar.gz"
-checksum=afcf69d9c69d826e010065dd08732fc5b0c0402c26f98d977f27b77ebd2bdee1
+checksum=d82fb8e75cdabf470677797444ec19b00c83e0e06d80be774727194404624e7e
 
 post_install() {
 	vcompletion extra/bash.completion bash

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

* Re: [PR PATCH] [Merged]: swayimg: update to 2.1.
  2024-02-08 21:52 [PR PATCH] swayimg: update to 2.1 voidbert
                   ` (6 preceding siblings ...)
  2024-02-11 20:46 ` [PR PATCH] [Updated] " voidbert
@ 2024-02-11 20:53 ` cinerea0
  7 siblings, 0 replies; 9+ messages in thread
From: cinerea0 @ 2024-02-11 20:53 UTC (permalink / raw)
  To: ml

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

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

swayimg: update to 2.1.
https://github.com/void-linux/void-packages/pull/48615

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

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l-musl

This PR also solves `swayimg --version` showing `0.0.0`. ~~Could some more experienced maintainer provide a way of solving this issue without a patch? Would using `sed` be preferred?~~

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

end of thread, other threads:[~2024-02-11 20:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-08 21:52 [PR PATCH] swayimg: update to 2.1 voidbert
2024-02-08 22:23 ` [PR PATCH] [Updated] " voidbert
2024-02-08 22:29 ` voidbert
2024-02-09 18:14 ` mikarpenko
2024-02-09 22:27 ` [PR PATCH] [Updated] " voidbert
2024-02-09 22:29 ` voidbert
2024-02-10 17:05 ` [PR REVIEW] " mikarpenko
2024-02-11 20:46 ` [PR PATCH] [Updated] " voidbert
2024-02-11 20:53 ` [PR PATCH] [Merged]: " cinerea0

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