Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] azpainter: update to 3.0.6.
@ 2023-05-14 12:53 hazen2215
  2023-05-16 15:27 ` sug0
  2023-05-17  5:01 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: hazen2215 @ 2023-05-14 12:53 UTC (permalink / raw)
  To: ml

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

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

https://github.com/hazen2215/void-packages azpainter
https://github.com/void-linux/void-packages/pull/43869

azpainter: update to 3.0.6.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**|**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, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l-musl (cross)


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

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

From 636bdd9790c5215f0c537929d7261e949f0aaef4 Mon Sep 17 00:00:00 2001
From: hazen2215 <haz@disroot.org>
Date: Sun, 14 May 2023 20:18:44 +0900
Subject: [PATCH] azpainter: update to 3.0.6.

---
 .../patches/0001-fix-configure-error.patch    | 39 -------------------
 srcpkgs/azpainter/template                    | 31 +++++++++++----
 srcpkgs/azpainter/update                      |  2 -
 3 files changed, 23 insertions(+), 49 deletions(-)
 delete mode 100644 srcpkgs/azpainter/patches/0001-fix-configure-error.patch
 delete mode 100644 srcpkgs/azpainter/update

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/template b/srcpkgs/azpainter/template
index 05bd1be32771..09d5a44641fb 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"
-makedepends="$hostmakedepends"
+build_style=configure
+configure_args="--prefix=/usr"
+hostmakedepends="pkg-config ninja"
+makedepends="fontconfig-devel libXcursor-devel libXi-devel libXrender-devel
+ libjpeg-turbo-devel libpng-devel libwebp-devel tiff-devel"
 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="http://azsky2.html.xdomain.jp/soft/azpainter.html"
+distfiles="https://gitlab.com/azelpg/azpainter/-/archive/v${version}/azpainter-v${version}.tar.gz"
+checksum=0b724f043246cadacff47885712e5e0cf35ee993c97261b83c4ff1bfd6a80d33
+
+post_patch() {
+	# attempts to run commands not suited for building process
+	# (gtk-update-icon-cache, update-desktop-database, update-mime-database)
+	vsed -i install.sh.in -e '/update_cache$/d'
+}
+
+do_build() {
+	ninja -C build ${makejobs}
+}
+
+do_install() {
+	DESTDIR=${DESTDIR} ninja -C build install
+}
diff --git a/srcpkgs/azpainter/update b/srcpkgs/azpainter/update
deleted file mode 100644
index c3aed4f13c8e..000000000000
--- a/srcpkgs/azpainter/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site="https://osdn.net/projects/azpainter/"
-pattern="azpainter \K[\d\.]+"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: azpainter: update to 3.0.6.
  2023-05-14 12:53 [PR PATCH] azpainter: update to 3.0.6 hazen2215
@ 2023-05-16 15:27 ` sug0
  2023-05-17  5:01 ` [PR PATCH] [Merged]: " classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: sug0 @ 2023-05-16 15:27 UTC (permalink / raw)
  To: ml

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

New comment by sug0 on void-packages repository

https://github.com/void-linux/void-packages/pull/43869#issuecomment-1549892923

Comment:
seems to be working correctly for me. cheers

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: azpainter: update to 3.0.6.
  2023-05-14 12:53 [PR PATCH] azpainter: update to 3.0.6 hazen2215
  2023-05-16 15:27 ` sug0
@ 2023-05-17  5:01 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2023-05-17  5:01 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

azpainter: update to 3.0.6.
https://github.com/void-linux/void-packages/pull/43869

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**|**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, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l-musl (cross)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-17  5:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-14 12:53 [PR PATCH] azpainter: update to 3.0.6 hazen2215
2023-05-16 15:27 ` sug0
2023-05-17  5:01 ` [PR PATCH] [Merged]: " classabbyamp

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).