* [PR PATCH] New package: SDL3_image
@ 2025-02-04 18:36 Hanuko33
2025-02-04 18:43 ` ahesford
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Hanuko33 @ 2025-02-04 18:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 661 bytes --]
There is a new pull request by Hanuko33 against master on the void-packages repository
https://github.com/Hanuko33/void-packages master
https://github.com/void-linux/void-packages/pull/54216
New package: SDL3_image
#### 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**
#### 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/54216.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-54216.patch --]
[-- Type: text/x-diff, Size: 2242 bytes --]
From a50461b6a5acddaa55e4ad0828ddeabcb21411db Mon Sep 17 00:00:00 2001
From: Piotr Danecki <piotr.a.danecki@gmail.com>
Date: Mon, 3 Feb 2025 19:20:15 +0100
Subject: [PATCH] New package: SDL3_image
Signed-off-by: Piotr Danecki <piotr.a.danecki@gmail.com>
---
common/shlibs | 1 +
srcpkgs/SDL3_image-devel | 1 +
srcpkgs/SDL3_image/template | 30 ++++++++++++++++++++++++++++++
3 files changed, 32 insertions(+)
create mode 120000 srcpkgs/SDL3_image-devel
create mode 100644 srcpkgs/SDL3_image/template
diff --git a/common/shlibs b/common/shlibs
index 998affa4304c10..977a75aedbe1e9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4538,3 +4538,4 @@ libopencore-amrwb.so.0 opencore-amr-0.1.6_1
libilbc.so.3 libilbc-3.0.4_1
libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
libSDL3.so.0 SDL3-3.2.2_1
+libSDL3_image.so.0 SDL3_image-3.2.0_1
diff --git a/srcpkgs/SDL3_image-devel b/srcpkgs/SDL3_image-devel
new file mode 120000
index 00000000000000..78e4ac8ef0b735
--- /dev/null
+++ b/srcpkgs/SDL3_image-devel
@@ -0,0 +1 @@
+SDL3_image
\ No newline at end of file
diff --git a/srcpkgs/SDL3_image/template b/srcpkgs/SDL3_image/template
new file mode 100644
index 00000000000000..13835928d1d9d6
--- /dev/null
+++ b/srcpkgs/SDL3_image/template
@@ -0,0 +1,30 @@
+# Template file for 'SDL3_image'
+pkgname=SDL3_image
+version=3.2.0
+revision=1
+build_style=cmake
+configure_args=""
+hostmakedepends="pkg-config"
+makedepends="SDL3-devel libjpeg-turbo-devel libpng-devel libwebp-devel
+ tiff-devel zlib-devel"
+short_desc="Load images as SDL surfaces (SDL 3.x)"
+maintainer="Piotr Danecki <i3riced@mailfence.com>"
+license="Zlib"
+homepage="https://github.com/libsdl-org/SDL_image"
+distfiles="http://www.libsdl.org/projects/SDL_image/release/SDL3_image-${version}.tar.gz"
+changelog="https://raw.githubusercontent.com/libsdl-org/SDL_image/refs/heads/main/CHANGES.txt"
+checksum=1690baea71b2b4ded9895126cddbc03a1000b027d099a4fb4669c4d23d73b19f
+
+post_install() {
+ vlicense LICENSE.txt LICENSE
+}
+
+SDL3_image-devel_package() {
+ depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: New package: SDL3_image
2025-02-04 18:36 [PR PATCH] New package: SDL3_image Hanuko33
@ 2025-02-04 18:43 ` ahesford
2025-02-04 18:50 ` [PR PATCH] [Updated] " Hanuko33
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ahesford @ 2025-02-04 18:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 238 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/pull/54216#issuecomment-2634782463
Comment:
Can we hold off on SDL3 packages until we have user-facing packages that actually require them?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PR PATCH] [Updated] New package: SDL3_image
2025-02-04 18:36 [PR PATCH] New package: SDL3_image Hanuko33
2025-02-04 18:43 ` ahesford
@ 2025-02-04 18:50 ` Hanuko33
2025-02-04 18:52 ` Hanuko33
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Hanuko33 @ 2025-02-04 18:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 666 bytes --]
There is an updated pull request by Hanuko33 against master on the void-packages repository
https://github.com/Hanuko33/void-packages master
https://github.com/void-linux/void-packages/pull/54216
New package: SDL3_image
#### 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**
#### 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/54216.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-54216.patch --]
[-- Type: text/x-diff, Size: 2222 bytes --]
From 126c5942833b5e274ea179a5e7d61683b9b1b970 Mon Sep 17 00:00:00 2001
From: Piotr Danecki <piotr.a.danecki@gmail.com>
Date: Mon, 3 Feb 2025 19:20:15 +0100
Subject: [PATCH] New package: SDL3_image
Signed-off-by: Piotr Danecki <piotr.a.danecki@gmail.com>
---
common/shlibs | 1 +
srcpkgs/SDL3_image-devel | 1 +
srcpkgs/SDL3_image/template | 29 +++++++++++++++++++++++++++++
3 files changed, 31 insertions(+)
create mode 120000 srcpkgs/SDL3_image-devel
create mode 100644 srcpkgs/SDL3_image/template
diff --git a/common/shlibs b/common/shlibs
index 998affa4304c10..977a75aedbe1e9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4538,3 +4538,4 @@ libopencore-amrwb.so.0 opencore-amr-0.1.6_1
libilbc.so.3 libilbc-3.0.4_1
libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
libSDL3.so.0 SDL3-3.2.2_1
+libSDL3_image.so.0 SDL3_image-3.2.0_1
diff --git a/srcpkgs/SDL3_image-devel b/srcpkgs/SDL3_image-devel
new file mode 120000
index 00000000000000..78e4ac8ef0b735
--- /dev/null
+++ b/srcpkgs/SDL3_image-devel
@@ -0,0 +1 @@
+SDL3_image
\ No newline at end of file
diff --git a/srcpkgs/SDL3_image/template b/srcpkgs/SDL3_image/template
new file mode 100644
index 00000000000000..25e5094d92d8f4
--- /dev/null
+++ b/srcpkgs/SDL3_image/template
@@ -0,0 +1,29 @@
+# Template file for 'SDL3_image'
+pkgname=SDL3_image
+version=3.2.0
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config"
+makedepends="SDL3-devel libjpeg-turbo-devel libpng-devel libwebp-devel
+ tiff-devel zlib-devel"
+short_desc="Load images as SDL surfaces (SDL 3.x)"
+maintainer="Piotr Danecki <i3riced@mailfence.com>"
+license="Zlib"
+homepage="https://github.com/libsdl-org/SDL_image"
+changelog="https://raw.githubusercontent.com/libsdl-org/SDL_image/refs/heads/main/CHANGES.txt"
+distfiles="http://www.libsdl.org/projects/SDL_image/release/SDL3_image-${version}.tar.gz"
+checksum=1690baea71b2b4ded9895126cddbc03a1000b027d099a4fb4669c4d23d73b19f
+
+post_install() {
+ vlicense LICENSE.txt LICENSE
+}
+
+SDL3_image-devel_package() {
+ depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: New package: SDL3_image
2025-02-04 18:36 [PR PATCH] New package: SDL3_image Hanuko33
2025-02-04 18:43 ` ahesford
2025-02-04 18:50 ` [PR PATCH] [Updated] " Hanuko33
@ 2025-02-04 18:52 ` Hanuko33
2025-02-04 18:56 ` Hanuko33
2025-02-04 19:02 ` ahesford
4 siblings, 0 replies; 6+ messages in thread
From: Hanuko33 @ 2025-02-04 18:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 157 bytes --]
New comment by Hanuko33 on void-packages repository
https://github.com/void-linux/void-packages/pull/54216#issuecomment-2634800047
Comment:
yeah, we could
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: New package: SDL3_image
2025-02-04 18:36 [PR PATCH] New package: SDL3_image Hanuko33
` (2 preceding siblings ...)
2025-02-04 18:52 ` Hanuko33
@ 2025-02-04 18:56 ` Hanuko33
2025-02-04 19:02 ` ahesford
4 siblings, 0 replies; 6+ messages in thread
From: Hanuko33 @ 2025-02-04 18:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 186 bytes --]
New comment by Hanuko33 on void-packages repository
https://github.com/void-linux/void-packages/pull/54216#issuecomment-2634808098
Comment:
Wait, what about updating the SDL3 package?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: New package: SDL3_image
2025-02-04 18:36 [PR PATCH] New package: SDL3_image Hanuko33
` (3 preceding siblings ...)
2025-02-04 18:56 ` Hanuko33
@ 2025-02-04 19:02 ` ahesford
4 siblings, 0 replies; 6+ messages in thread
From: ahesford @ 2025-02-04 19:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 279 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/pull/54216#issuecomment-2634820692
Comment:
Updating a package that's already included is fine, I just think we should delay a bunch of new libraries until they're actually needed.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-02-04 19:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-04 18:36 [PR PATCH] New package: SDL3_image Hanuko33
2025-02-04 18:43 ` ahesford
2025-02-04 18:50 ` [PR PATCH] [Updated] " Hanuko33
2025-02-04 18:52 ` Hanuko33
2025-02-04 18:56 ` Hanuko33
2025-02-04 19:02 ` ahesford
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).