Github messages for voidlinux
 help / color / mirror / Atom feed
From: joshuakraemer <joshuakraemer@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New packages: highway, libjxl, qt-jpegxl-image-plugin
Date: Thu, 10 Jun 2021 11:12:02 +0200
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31397@inbox.vuxu.org> (raw)

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

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

https://github.com/joshuakraemer/void-packages jpeg-xl
https://github.com/void-linux/void-packages/pull/31397

New packages: highway, libjxl, qt-jpegxl-image-plugin
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me

These packages provide support for the JPEG XL image format.

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

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

From f1829395f05f6398e254e7c968f237bc80fd951c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joshua=20Kr=C3=A4mer?= <joshua@kraemer.link>
Date: Wed, 9 Jun 2021 00:44:37 +0200
Subject: [PATCH 1/3] New package: highway-0.12.2

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

diff --git a/srcpkgs/highway/template b/srcpkgs/highway/template
new file mode 100644
index 000000000000..462df78a4888
--- /dev/null
+++ b/srcpkgs/highway/template
@@ -0,0 +1,12 @@
+# Template file for 'highway'
+pkgname=highway
+version=0.12.2
+revision=1
+build_style=cmake
+configure_args="-DBUILD_TESTING=OFF"
+short_desc="C++ library for SIMD (Single Instruction, Multiple Data)"
+maintainer="Joshua Krämer <joshua@kraemer.link>"
+license="Apache-2.0"
+homepage="https://github.com/google/highway"
+distfiles="https://github.com/google/highway/archive/${version}.tar.gz"
+checksum=e1d47ce510429fdcf31f41697ca74fb0dcd59d933196e531a86d51751a56f4cc

From 0e52480b216656f2397e3c45d9a87cc96081de17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joshua=20Kr=C3=A4mer?= <joshua@kraemer.link>
Date: Wed, 9 Jun 2021 01:52:29 +0200
Subject: [PATCH 2/3] New package: libjxl-0.3.8

---
 common/shlibs           |  2 ++
 srcpkgs/libjxl-devel    |  1 +
 srcpkgs/libjxl-plugins  |  1 +
 srcpkgs/libjxl-tools    |  1 +
 srcpkgs/libjxl/template | 63 +++++++++++++++++++++++++++++++++++++++++
 5 files changed, 68 insertions(+)
 create mode 120000 srcpkgs/libjxl-devel
 create mode 120000 srcpkgs/libjxl-plugins
 create mode 120000 srcpkgs/libjxl-tools
 create mode 100644 srcpkgs/libjxl/template

diff --git a/common/shlibs b/common/shlibs
index 7cfb4f583c9c..4cfeeba24fd9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4007,3 +4007,5 @@ libbasu.so.0 basu-0.2.0_1
 libXcomp.so.3 nx-libs-3.5.99.24_1
 libXcompshad.so.3 nx-libs-3.5.99.24_1
 libNX_X11.so.6 nx-libs-3.5.99.24_1
+libjxl.so.0 libjxl-0.3.7_1
+libjxl_threads.so.0 libjxl-0.3.7_1
diff --git a/srcpkgs/libjxl-devel b/srcpkgs/libjxl-devel
new file mode 120000
index 000000000000..ddc1abf827d9
--- /dev/null
+++ b/srcpkgs/libjxl-devel
@@ -0,0 +1 @@
+libjxl
\ No newline at end of file
diff --git a/srcpkgs/libjxl-plugins b/srcpkgs/libjxl-plugins
new file mode 120000
index 000000000000..ddc1abf827d9
--- /dev/null
+++ b/srcpkgs/libjxl-plugins
@@ -0,0 +1 @@
+libjxl
\ No newline at end of file
diff --git a/srcpkgs/libjxl-tools b/srcpkgs/libjxl-tools
new file mode 120000
index 000000000000..ddc1abf827d9
--- /dev/null
+++ b/srcpkgs/libjxl-tools
@@ -0,0 +1 @@
+libjxl
\ No newline at end of file
diff --git a/srcpkgs/libjxl/template b/srcpkgs/libjxl/template
new file mode 100644
index 000000000000..0f4b3a380589
--- /dev/null
+++ b/srcpkgs/libjxl/template
@@ -0,0 +1,63 @@
+# Template file for 'libjxl'
+pkgname=libjxl
+version=33a23b32adeb0cc4e7892a0a877262193b0e39f9
+revision=1
+build_style=cmake
+configure_args="-DBUILD_TESTING=OFF -DJPEGXL_ENABLE_BENCHMARK=OFF -DJPEGXL_ENABLE_EXAMPLES=OFF -DJPEGXL_ENABLE_SJPEG=OFF -DJPEGXL_ENABLE_PLUGINS=ON"
+hostmakedepends="tar pkg-config asciidoc"
+makedepends="brotli-devel highway libpng-devel giflib-devel libjpeg-turbo-devel libopenexr-devel gdk-pixbuf-devel gimp-devel"
+short_desc="JPEG XL image format reference implementation"
+maintainer="Joshua Krämer <joshua@kraemer.link>"
+license="BSD-3-Clause, custom:Patent grant"
+homepage="https://github.com/libjxl/libjxl"
+_lodepng_hash=48e5364ef48ec2408f44c727657ac1b6703185f8
+_skcms_hash=64374756e03700d649f897dbd98c95e78c30c7da
+distfiles="https://github.com/libjxl/libjxl/archive/${version}.tar.gz
+ https://github.com/lvandeve/lodepng/archive/${_lodepng_hash}.tar.gz>lodepng-${_lodepng_hash}.tar.gz
+ https://skia.googlesource.com/skcms/+archive/${_skcms_hash}.tar.gz>skcms-${_skcms_hash}.tar.gz"
+checksum="230801ea4eada6f5769c3b874b01d6a7e00f94d63dd9f79424959ddc0ee668c1
+ c47c48c77a205f1af484b7b5a847290af65de3ea6f15817aa27c5ec7cc5208fd
+ @a69230c7b6f03a178c93abc6edc832c040d6e198340193b27c3d04afecf8f617"
+skip_extraction="lodepng-${_lodepng_hash}.tar.gz
+ skcms-${_skcms_hash}.tar.gz"
+
+post_extract() {
+	cd ${XBPS_SRCDISTDIR}/libjxl-${version}
+	tar -xf lodepng-${_lodepng_hash}.tar.gz --strip-components=1 -C ${wrksrc}/third_party/lodepng
+	tar -xf skcms-${_skcms_hash}.tar.gz -C ${wrksrc}/third_party/skcms
+}
+
+post_install() {
+	vlicense LICENSE
+	vlicense PATENTS
+}
+
+libjxl-devel_package() {
+	short_desc+=" - development files"
+	depends="libjxl>=${version}_${revision} brotli-devel"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/lib/pkgconfig
+	}
+}
+
+libjxl-tools_package() {
+	short_desc+=" - tools"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/man
+	}
+}
+
+libjxl-plugins_package() {
+	short_desc+=" - plugins"
+	depends="desktop-file-utils"
+	pkg_install() {
+		vmove usr/lib/gdk-pixbuf-2.0
+		vmove usr/lib/gimp
+		vmove usr/share/mime
+		vmove usr/share/thumbnailers
+	}
+}

From 96936e389279e69c89cac577605df21eb1520cb9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joshua=20Kr=C3=A4mer?= <joshua@kraemer.link>
Date: Thu, 10 Jun 2021 11:04:56 +0200
Subject: [PATCH 3/3] New package: qt-jpegxl-image-plugin

---
 srcpkgs/qt-jpegxl-image-plugin/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/qt-jpegxl-image-plugin/template

diff --git a/srcpkgs/qt-jpegxl-image-plugin/template b/srcpkgs/qt-jpegxl-image-plugin/template
new file mode 100644
index 000000000000..2f66e459ed95
--- /dev/null
+++ b/srcpkgs/qt-jpegxl-image-plugin/template
@@ -0,0 +1,15 @@
+# Template file for 'qt-jpegxl-image-plugin'
+pkgname=qt-jpegxl-image-plugin
+version=7d19098b4111819a33cac142449d13c185854aed
+revision=1
+build_style=qmake
+configure_args="qt-jpegxl-image-plugin.pro"
+depends="libjxl-plugins"
+hostmakedepends="qt5-qmake"
+makedepends="libjxl-devel qt5-devel"
+short_desc="Qt5 plugin to support the JPEG XL image format"
+maintainer="Joshua Krämer <joshua@kraemer.link>"
+license="GPL-3.0-only"
+homepage="https://github.com/novomesk/qt-jpegxl-image-plugin"
+distfiles="https://github.com/novomesk/qt-jpegxl-image-plugin/archive/${version}.tar.gz"
+checksum=5634745983fa32becc58a656b5f1104ca5ad3393cdad3fc53ab7f1bab6061b9a

             reply	other threads:[~2021-06-10  9:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-10  9:12 joshuakraemer [this message]
2021-06-10  9:30 ` [PR PATCH] [Updated] " joshuakraemer
2021-06-11 22:29 ` joshuakraemer

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31397@inbox.vuxu.org \
    --to=joshuakraemer@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

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ http://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git