From: hervyqa <hervyqa@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] [WIP] azpainter: update to 3.0.6
Date: Thu, 17 Nov 2022 06:17:51 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40566@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 483 bytes --]
There is a new pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages azpainter
https://github.com/void-linux/void-packages/pull/40566
[WIP] azpainter: update to 3.0.6
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/40566.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-azpainter-40566.patch --]
[-- Type: text/x-diff, Size: 3632 bytes --]
From a377a0ba2d4093c5d8eaf6477c131ee876862b51 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 16 Nov 2022 11:27:50 +0700
Subject: [PATCH] azpainter: update to 3.0.6
---
.../patches/0001-fix-configure-error.patch | 39 -------------------
.../patches/fix-configure-error.patch | 14 +++++++
srcpkgs/azpainter/template | 27 ++++++++++---
3 files changed, 35 insertions(+), 45 deletions(-)
delete mode 100644 srcpkgs/azpainter/patches/0001-fix-configure-error.patch
create mode 100644 srcpkgs/azpainter/patches/fix-configure-error.patch
diff --git a/srcpkgs/azpainter/patches/0001-fix-configure-error.patch b/srcpkgs/azpainter/patches/0001-fix-configure-error.patch
deleted file mode 100644
index 25c9483144b8..000000000000
--- a/srcpkgs/azpainter/patches/0001-fix-configure-error.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 460cd59bcc0735ca4e1f4e14b59f4e3459c2044d Mon Sep 17 00:00:00 2001
-From: Nathan Owens <ndowens@artixlinux.org>
-Date: Mon, 30 Nov 2020 09:44:57 -0600
-Subject: [PATCH] fix configure error
-
----
- configure | 3 ---
- 1 file changed, 3 deletions(-)
-
-diff --git configure configure
-index cb9a9f6..06e65e0 100755
---- a/configure
-+++ b/configure
-@@ -203,9 +203,6 @@ for opt;do
- cf_check_lib=no ;;
- *=*)
- eval "$opt" ;;
-- *)
-- echo "unknown option: $opt"
-- exit 1 ;;
- esac
- done
-
---
-2.29.2
-
-diff --git configure configure
-index 06e65e0..b10aed0 100755
---- a/configure
-+++ b/configure
-@@ -201,8 +201,6 @@ for opt;do
- cf_docdir=$tmp1 ;;
- --no-check-lib)
- cf_check_lib=no ;;
-- *=*)
-- eval "$opt" ;;
- esac
- done
-
diff --git a/srcpkgs/azpainter/patches/fix-configure-error.patch b/srcpkgs/azpainter/patches/fix-configure-error.patch
new file mode 100644
index 000000000000..581b0f8141c7
--- /dev/null
+++ b/srcpkgs/azpainter/patches/fix-configure-error.patch
@@ -0,0 +1,14 @@
+diff --git a/configure b/configure
+index 809b98f..a6bfeb1 100755
+--- a/configure
++++ b/configure
+@@ -147,9 +147,6 @@ for opt;do
+ *=*)
+ tmp2=`expr "X$opt" : 'X\([^=]*\)=.*'`
+ eval $tmp2=\'$tmp1\' ;;
+- *)
+- echo "unknown option: $opt"
+- exit 1 ;;
+ esac
+ done
+
diff --git a/srcpkgs/azpainter/template b/srcpkgs/azpainter/template
index 05bd1be32771..c920ba28368a 100644
--- a/srcpkgs/azpainter/template
+++ b/srcpkgs/azpainter/template
@@ -1,15 +1,30 @@
# Template file for 'azpainter'
pkgname=azpainter
-version=2.1.6
+version=3.0.6
revision=1
build_style=gnu-configure
-hostmakedepends="libpng-devel libjpeg-turbo-devel libXi-devel
- fontconfig-devel"
+hostmakedepends="fontconfig-devel libjpeg-turbo-devel libpng-devel libwebp-devel
+ libXi-devel libXcursor-devel libXrender-devel ninja pkg-config tiff-devel
+ desktop-file-utils gtk-update-icon-cache shared-mime-info"
makedepends="$hostmakedepends"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Full-color painting software for illustration drawing"
maintainer="Alexander Mamay <alexander@mamay.su>"
license="GPL-3.0-or-later"
-homepage="https://github.com/Symbian9/azpainter"
-distfiles="https://github.com/Symbian9/azpainter/releases/download/v${version}/${pkgname}-${version}.tar.xz"
-checksum=85f3f935e76b420f2e5e272514368fdfbe4c25c01daa1e161ac28a6e1edb0d2c
+homepage="https://gitlab.com/azelpg/azpainter"
+distfiles="https://gitlab.com/azelpg/azpainter/-/archive/v${version}/azpainter-v${version}.tar.gz"
+checksum=0b724f043246cadacff47885712e5e0cf35ee993c97261b83c4ff1bfd6a80d33
+
+do_configure() {
+ ./configure --prefix=/usr
+}
+
+do_build() {
+ cd build
+ ninja
+}
+
+do_install() {
+ cd build
+ ninja install
+}
next reply other threads:[~2022-11-17 5:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-17 5:17 hervyqa [this message]
2022-11-17 5:21 ` hervyqa
2022-11-17 6:39 ` kruceter
2022-11-20 8:55 ` [PR PATCH] [Updated] " hervyqa
2022-11-20 9:00 ` hervyqa
2022-11-24 6:25 ` [PR REVIEW] " classabbyamp
2022-11-24 8:17 ` kruceter
2023-02-23 2:00 ` github-actions
2023-03-09 2:05 ` [PR PATCH] [Closed]: " github-actions
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-40566@inbox.vuxu.org \
--to=hervyqa@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).