Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] mypaint: update to 1.2.2
Date: Wed, 01 Jan 2020 17:06:49 +0100	[thread overview]
Message-ID: <20200101160649.F3VOp92AafYyrquVjupQPv0M0GAxTcqiirLuSIT4bMc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17970@inbox.vuxu.org>

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

There is an updated pull request by teh-jazzman against master on the void-packages repository

https://github.com/teh-jazzman/void-packages mypaint
https://github.com/void-linux/void-packages/pull/17970

mypaint: update to 1.2.2
SWIG compatibility update and SVG icon fixes

Fixes #17841

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

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

From 5ec93acdc7d8cbbcb3383d568131308e0d54ced9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20M=C3=BChlinghaus?= <jazzman@alphabreed.com>
Date: Wed, 1 Jan 2020 15:50:06 +0100
Subject: [PATCH] mypaint: update to 1.2.2

---
 srcpkgs/mypaint/template | 25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/mypaint/template b/srcpkgs/mypaint/template
index 75bbd965d7e..1205b91964c 100644
--- a/srcpkgs/mypaint/template
+++ b/srcpkgs/mypaint/template
@@ -1,19 +1,28 @@
 # Template file for 'mypaint'
 pkgname=mypaint
-version=1.2.1
-revision=5
+version=1.2.2
+revision=1
+_sversion=beta.0
+_libcommit=f6278c97aa5af443e30069099c6461b056cdfe63
+wrksrc="${pkgname}-${version}-${_sversion}"
+pycompile_dirs="/usr/share/mypaint"
 hostmakedepends="scons swig pkg-config"
 makedepends="libgomp-devel json-c-devel python-numpy libglib-devel libpng-devel
  lcms2-devel gtk+3-devel python-gobject-devel"
-depends="librsvg python-numpy python-gobject"
-pycompile_dirs="/usr/share/mypaint"
+depends="librsvg python-numpy python-gobject hicolor-icon-theme"
 short_desc="Graphics application for digital painters"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-or-later"
 homepage="http://mypaint.org"
-distfiles="https://github.com/mypaint/mypaint/releases/download/v${version}/mypaint-${version}.tar.xz"
-checksum=ed2349382f6a0c583d7defae06427e97ac7d14acb77b9e2c0fc7171ddd96d3c7
+distfiles="https://github.com/mypaint/mypaint/archive/v${version}-${_sversion}.tar.gz
+ https://github.com/mypaint/libmypaint/archive/${_libcommit}.tar.gz"
+checksum="c13130f9675787c2f51f38c03ca206aa80984e7673f674569caf3a06e503db08
+ bb9579d4d2d2a59b2343aa021887091845e0e8a2ff115312d87b9d975210b263"
 
+post_extract() {
+	rm -rf "${wrksrc}/brushlib"
+	mv "${XBPS_BUILDDIR}/libmypaint-${_libcommit}" "${wrksrc}/brushlib"
+}
 do_build() {
 	scons ${makejobs} enable_openmp=1
 }
@@ -23,4 +32,6 @@ do_install() {
 	rm -rf ${DESTDIR}/usr/include
 	rm -f ${DESTDIR}/usr/lib/*.a
 	rm -rf ${DESTDIR}/usr/lib/pkgconfig
+	# Fix SVG icons
+	vsed -i 's/xmlns:ns7/xmlns:xlink/g' ${DESTDIR}/usr/share/icons/hicolor/{24x24,scalable}/actions/mypaint-*.svg
 }

  reply	other threads:[~2020-01-01 16:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-01 15:20 [PR PATCH] " voidlinux-github
2020-01-01 16:06 ` voidlinux-github [this message]
2020-01-01 16:30 ` [PR PATCH] [Updated] " voidlinux-github
2020-01-01 18:35 ` voidlinux-github
2020-01-04  8:21 ` [PR PATCH] [Merged]: " voidlinux-github

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=20200101160649.F3VOp92AafYyrquVjupQPv0M0GAxTcqiirLuSIT4bMc@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).