Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] pngquant: update to 3.0.1.
Date: Thu, 29 Jun 2023 15:51:43 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44719@inbox.vuxu.org> (raw)

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

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

https://github.com/icp1994/void-packages pngquant
https://github.com/void-linux/void-packages/pull/44719

pngquant: update to 3.0.1.
#### 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**

@leahneukirchen this is somewhat of an overhaul of the template due to upstream changes. But I tested quite a bit and seems to work file. Also nothing else depends on it.

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

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

From 16a8870f791c61ea454b204a951fa2e20bd3388b Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 29 Jun 2023 01:29:09 +0530
Subject: [PATCH] pngquant: update to 3.0.1.

---
 srcpkgs/pngquant/template | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/pngquant/template b/srcpkgs/pngquant/template
index 3e93e4cdf81b..2c98a7abe75c 100644
--- a/srcpkgs/pngquant/template
+++ b/srcpkgs/pngquant/template
@@ -1,20 +1,13 @@
 # Template file for 'pngquant'
 pkgname=pngquant
-version=2.18.0
+version=3.0.1
 revision=1
-build_style=gnu-configure
-configure_args="--with-openmp"
+build_style=cargo
 hostmakedepends="pkg-config"
-makedepends="lcms2-devel libgomp-devel libimagequant-devel libpng-devel"
+makedepends="lcms2-devel libpng-devel"
 short_desc="Lossy PNG compressor"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="GPL-3.0-or-later"
 homepage="https://pngquant.org/"
-distfiles="https://github.com/kornelski/pngquant/archive/${version}.tar.gz"
-checksum=424ff432e51dfc3cf5ff8001ad1b64198850686c5e3c26ecd477e4b69ef4fade
-make_check_target=test
-
-case "$XBPS_TARGET_MACHINE" in
-	x86_64*) configure_args+=" --enable-sse";;
-	*) configure_args+=" --disable-sse";;
-esac
+distfiles="https://static.crates.io/crates/pngquant/pngquant-${version}.crate"
+checksum=f5ff78ab2fc7b2c58eefe4e37dc68c4757f95380874d478ec3a52e9fdf363ae3

             reply	other threads:[~2023-06-29 13:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-29 13:51 icp1994 [this message]
2023-06-30 15:40 ` [PR PATCH] [Merged]: " leahneukirchen

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-44719@inbox.vuxu.org \
    --to=icp1994@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).