* [PR PATCH] libwebp: update to 1.3.0.
@ 2023-04-24 21:29 mhmdanas
2023-04-24 21:30 ` [PR REVIEW] " mhmdanas
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: mhmdanas @ 2023-04-24 21:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]
There is a new pull request by mhmdanas against master on the void-packages repository
https://github.com/mhmdanas/void-packages libwebp-1.3.0
https://github.com/void-linux/void-packages/pull/43601
libwebp: update to 1.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
@leahneukirchen
<!--
#### 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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/43601.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libwebp-1.3.0-43601.patch --]
[-- Type: text/x-diff, Size: 3666 bytes --]
From c58a80d906c0c5b7f7a4465e7f229fd1047c9ade Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Mon, 24 Apr 2023 22:17:25 +0100
Subject: [PATCH 1/2] libwebp: update to 1.3.0.
---
common/shlibs | 1 +
srcpkgs/libwebp/template | 9 +++++----
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index 21cafd798519..d5f893678129 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -865,6 +865,7 @@ libquadmath.so.0 libquadmath-4.4.0_1
libgfortran.so.5 libgfortran-8.2.0_1
libgnarl-12.so libada-12.2.0_1
libgnat-12.so libada-12.2.0_1
+libsharpyuv.so.0 libwebp-1.3.0_1
libwebp.so.7 libwebp-0.6.0_1
libwebpmux.so.3 libwebp-0.6.0_1
libwebpdemux.so.2 libwebp-0.5.0_1
diff --git a/srcpkgs/libwebp/template b/srcpkgs/libwebp/template
index 6a938186d803..054ee9e9b22e 100644
--- a/srcpkgs/libwebp/template
+++ b/srcpkgs/libwebp/template
@@ -1,7 +1,7 @@
# Template file for 'libwebp'
pkgname=libwebp
-version=1.2.4
-revision=2
+version=1.3.0
+revision=1
build_style=gnu-configure
configure_args="--enable-libwebpmux --enable-libwebpdemux --enable-libwebpdecoder"
hostmakedepends="pkg-config"
@@ -10,8 +10,9 @@ short_desc="WebP image format"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://developers.google.com/speed/webp/"
-distfiles="http://downloads.webmproject.org/releases/webp/${pkgname}-${version}.tar.gz"
-checksum=7bf5a8a28cc69bcfa8cb214f2c3095703c6b73ac5fba4d5480c205331d9494df
+changelog="https://chromium.googlesource.com/webm/libwebp/+/refs/heads/main/NEWS"
+distfiles="http://downloads.webmproject.org/releases/webp/libwebp-${version}.tar.gz"
+checksum=64ac4614db292ae8c5aa26de0295bf1623dbb3985054cb656c55e67431def17c
case "$XBPS_TARGET_MACHINE" in
armv6*) configure_args+=" --disable-neon";;
From ca0a4777c881b3bde270499c5a0662de0b6e7b11 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Mon, 24 Apr 2023 22:21:37 +0100
Subject: [PATCH 2/2] libavif: enable sharpyuv support.
---
srcpkgs/libavif/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/libavif/template b/srcpkgs/libavif/template
index 1edeb56fc725..2a1654dc1909 100644
--- a/srcpkgs/libavif/template
+++ b/srcpkgs/libavif/template
@@ -1,13 +1,13 @@
# Template file for 'libavif'
pkgname=libavif
version=0.11.1
-revision=2
+revision=3
build_style=cmake
configure_args="-DAVIF_BUILD_APPS=ON -DAVIF_BUILD_GDK_PIXBUF=ON
-DAVIF_CODEC_AOM=ON $(vopt_bool dav1d AVIF_CODEC_DAV1D) $(vopt_bool rav1e AVIF_CODEC_RAV1E)
$(vopt_bool svt AVIF_CODEC_SVT)"
hostmakedepends="gdk-pixbuf-devel pkg-config"
-makedepends="gdk-pixbuf-devel libaom-devel
+makedepends="gdk-pixbuf-devel libaom-devel libwebp-devel
libjpeg-turbo-devel libpng-devel zlib-devel
$(vopt_if dav1d "libdav1d-devel") $(vopt_if rav1e "rav1e-devel")
$(vopt_if svt "libsvt-av1-devel")"
@@ -15,7 +15,7 @@ short_desc="Library for encoding and decoding .avif files"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-2-Clause"
homepage="https://github.com/AOMediaCodec/libavif"
-changelog="https://github.com/AOMediaCodec/libavif/blob/main/CHANGELOG.md"
+changelog="https://raw.githubusercontent.com/AOMediaCodec/libavif/main/CHANGELOG.md"
distfiles="https://github.com/AOMediaCodec/libavif/archive/refs/tags/v${version}.tar.gz"
checksum=0eb49965562a0e5e5de58389650d434cff32af84c34185b6c9b7b2fccae06d4e
@@ -39,7 +39,7 @@ libavif-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
- vmove usr/lib/*.so
+ vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR REVIEW] libwebp: update to 1.3.0.
2023-04-24 21:29 [PR PATCH] libwebp: update to 1.3.0 mhmdanas
@ 2023-04-24 21:30 ` mhmdanas
2023-04-25 11:25 ` leahneukirchen
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: mhmdanas @ 2023-04-24 21:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 345 bytes --]
New review comment by mhmdanas on void-packages repository
https://github.com/void-linux/void-packages/pull/43601#discussion_r1175800244
Comment:
libsharpyuv is a separate library from libwebp that can be used independently (libwebp itself even depends on libsharpyuv). In light of that, should I split libsharpyuv into a separate subpackage?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR REVIEW] libwebp: update to 1.3.0.
2023-04-24 21:29 [PR PATCH] libwebp: update to 1.3.0 mhmdanas
2023-04-24 21:30 ` [PR REVIEW] " mhmdanas
@ 2023-04-25 11:25 ` leahneukirchen
2023-04-26 20:49 ` [PR PATCH] [Updated] " mhmdanas
2023-04-27 13:35 ` [PR PATCH] [Merged]: " leahneukirchen
3 siblings, 0 replies; 5+ messages in thread
From: leahneukirchen @ 2023-04-25 11:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 178 bytes --]
New review comment by leahneukirchen on void-packages repository
https://github.com/void-linux/void-packages/pull/43601#discussion_r1176375565
Comment:
Sounds reasonable, yes.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] libwebp: update to 1.3.0.
2023-04-24 21:29 [PR PATCH] libwebp: update to 1.3.0 mhmdanas
2023-04-24 21:30 ` [PR REVIEW] " mhmdanas
2023-04-25 11:25 ` leahneukirchen
@ 2023-04-26 20:49 ` mhmdanas
2023-04-27 13:35 ` [PR PATCH] [Merged]: " leahneukirchen
3 siblings, 0 replies; 5+ messages in thread
From: mhmdanas @ 2023-04-26 20:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]
There is an updated pull request by mhmdanas against master on the void-packages repository
https://github.com/mhmdanas/void-packages libwebp-1.3.0
https://github.com/void-linux/void-packages/pull/43601
libwebp: update to 1.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
@leahneukirchen
<!--
#### 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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/43601.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libwebp-1.3.0-43601.patch --]
[-- Type: text/x-diff, Size: 5143 bytes --]
From 3d6fcd7bf5b06c87bd99dea35f73b1c0542293ea Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Mon, 24 Apr 2023 22:17:25 +0100
Subject: [PATCH 1/2] libwebp: update to 1.3.0.
---
common/shlibs | 1 +
srcpkgs/libsharpyuv | 1 +
srcpkgs/libsharpyuv-devel | 1 +
srcpkgs/libwebp/template | 28 +++++++++++++++++++++++-----
4 files changed, 26 insertions(+), 5 deletions(-)
create mode 120000 srcpkgs/libsharpyuv
create mode 120000 srcpkgs/libsharpyuv-devel
diff --git a/common/shlibs b/common/shlibs
index 21cafd798519..cb22b40e83f9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -865,6 +865,7 @@ libquadmath.so.0 libquadmath-4.4.0_1
libgfortran.so.5 libgfortran-8.2.0_1
libgnarl-12.so libada-12.2.0_1
libgnat-12.so libada-12.2.0_1
+libsharpyuv.so.0 libsharpyuv-1.3.0_1
libwebp.so.7 libwebp-0.6.0_1
libwebpmux.so.3 libwebp-0.6.0_1
libwebpdemux.so.2 libwebp-0.5.0_1
diff --git a/srcpkgs/libsharpyuv b/srcpkgs/libsharpyuv
new file mode 120000
index 000000000000..41871e71d6b8
--- /dev/null
+++ b/srcpkgs/libsharpyuv
@@ -0,0 +1 @@
+libwebp
\ No newline at end of file
diff --git a/srcpkgs/libsharpyuv-devel b/srcpkgs/libsharpyuv-devel
new file mode 120000
index 000000000000..41871e71d6b8
--- /dev/null
+++ b/srcpkgs/libsharpyuv-devel
@@ -0,0 +1 @@
+libwebp
\ No newline at end of file
diff --git a/srcpkgs/libwebp/template b/srcpkgs/libwebp/template
index 6a938186d803..0727f099042f 100644
--- a/srcpkgs/libwebp/template
+++ b/srcpkgs/libwebp/template
@@ -1,7 +1,7 @@
# Template file for 'libwebp'
pkgname=libwebp
-version=1.2.4
-revision=2
+version=1.3.0
+revision=1
build_style=gnu-configure
configure_args="--enable-libwebpmux --enable-libwebpdemux --enable-libwebpdecoder"
hostmakedepends="pkg-config"
@@ -10,8 +10,9 @@ short_desc="WebP image format"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://developers.google.com/speed/webp/"
-distfiles="http://downloads.webmproject.org/releases/webp/${pkgname}-${version}.tar.gz"
-checksum=7bf5a8a28cc69bcfa8cb214f2c3095703c6b73ac5fba4d5480c205331d9494df
+changelog="https://chromium.googlesource.com/webm/libwebp/+/refs/heads/main/NEWS"
+distfiles="http://downloads.webmproject.org/releases/webp/libwebp-${version}.tar.gz"
+checksum=64ac4614db292ae8c5aa26de0295bf1623dbb3985054cb656c55e67431def17c
case "$XBPS_TARGET_MACHINE" in
armv6*) configure_args+=" --disable-neon";;
@@ -32,7 +33,7 @@ libwebp-tools_package() {
}
libwebp-devel_package() {
- depends="${makedepends/libfreeglut-devel/} ${sourcepkg}>=${version}_${revision}"
+ depends="${makedepends/libfreeglut-devel/} libsharpyuv-devel>=${version}_${revision} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
@@ -41,3 +42,20 @@ libwebp-devel_package() {
vmove "usr/lib/*.a"
}
}
+
+libsharpyuv_package() {
+ short_desc="Library to expose libwebp's sharpyuv functionality"
+ pkg_install() {
+ vmove "usr/lib/libsharpyuv.so.*"
+ }
+}
+
+libsharpyuv-devel_package() {
+ short_desc="Library to expose libwebp's sharpyuv functionality - development files"
+ pkg_install() {
+ vmove usr/include/webp/sharpyuv
+ vmove usr/lib/pkgconfig/libsharpyuv.pc
+ vmove usr/lib/libsharpyuv.so
+ vmove usr/lib/libsharpyuv.a
+ }
+}
From 487ca3424e06a99a9a737be0a1d8c8e6513985a2 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Mon, 24 Apr 2023 22:21:37 +0100
Subject: [PATCH 2/2] libavif: enable sharpyuv support.
---
srcpkgs/libavif/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/libavif/template b/srcpkgs/libavif/template
index 1edeb56fc725..2aa05423e208 100644
--- a/srcpkgs/libavif/template
+++ b/srcpkgs/libavif/template
@@ -1,13 +1,13 @@
# Template file for 'libavif'
pkgname=libavif
version=0.11.1
-revision=2
+revision=3
build_style=cmake
configure_args="-DAVIF_BUILD_APPS=ON -DAVIF_BUILD_GDK_PIXBUF=ON
-DAVIF_CODEC_AOM=ON $(vopt_bool dav1d AVIF_CODEC_DAV1D) $(vopt_bool rav1e AVIF_CODEC_RAV1E)
$(vopt_bool svt AVIF_CODEC_SVT)"
hostmakedepends="gdk-pixbuf-devel pkg-config"
-makedepends="gdk-pixbuf-devel libaom-devel
+makedepends="gdk-pixbuf-devel libaom-devel libsharpyuv-devel
libjpeg-turbo-devel libpng-devel zlib-devel
$(vopt_if dav1d "libdav1d-devel") $(vopt_if rav1e "rav1e-devel")
$(vopt_if svt "libsvt-av1-devel")"
@@ -15,7 +15,7 @@ short_desc="Library for encoding and decoding .avif files"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-2-Clause"
homepage="https://github.com/AOMediaCodec/libavif"
-changelog="https://github.com/AOMediaCodec/libavif/blob/main/CHANGELOG.md"
+changelog="https://raw.githubusercontent.com/AOMediaCodec/libavif/main/CHANGELOG.md"
distfiles="https://github.com/AOMediaCodec/libavif/archive/refs/tags/v${version}.tar.gz"
checksum=0eb49965562a0e5e5de58389650d434cff32af84c34185b6c9b7b2fccae06d4e
@@ -39,7 +39,7 @@ libavif-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
- vmove usr/lib/*.so
+ vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Merged]: libwebp: update to 1.3.0.
2023-04-24 21:29 [PR PATCH] libwebp: update to 1.3.0 mhmdanas
` (2 preceding siblings ...)
2023-04-26 20:49 ` [PR PATCH] [Updated] " mhmdanas
@ 2023-04-27 13:35 ` leahneukirchen
3 siblings, 0 replies; 5+ messages in thread
From: leahneukirchen @ 2023-04-27 13:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1084 bytes --]
There's a merged pull request on the void-packages repository
libwebp: update to 1.3.0.
https://github.com/void-linux/void-packages/pull/43601
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
@leahneukirchen
<!--
#### 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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-04-27 13:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-24 21:29 [PR PATCH] libwebp: update to 1.3.0 mhmdanas
2023-04-24 21:30 ` [PR REVIEW] " mhmdanas
2023-04-25 11:25 ` leahneukirchen
2023-04-26 20:49 ` [PR PATCH] [Updated] " mhmdanas
2023-04-27 13:35 ` [PR PATCH] [Merged]: " leahneukirchen
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).