Github messages for voidlinux
 help / color / mirror / Atom feed
From: ndowens <ndowens@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] GraphicsMagick: update to 1.3.36.
Date: Sun, 27 Dec 2020 21:44:01 +0100	[thread overview]
Message-ID: <20201227204401.Y9cg4vRFXNBGP_RTK_6O-NH6DYny3JAqi8PpEBTDGI4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27478@inbox.vuxu.org>

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

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

https://github.com/ndowens/void-packages graphicsmagick
https://github.com/void-linux/void-packages/pull/27478

GraphicsMagick: update to 1.3.36.


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

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

From cab1adcdf91fb6bec7352c46b1a979b5bf056cba Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Sun, 27 Dec 2020 13:36:20 -0600
Subject: [PATCH] GraphicsMagick: update to 1.3.36.

---
 srcpkgs/GraphicsMagick/INSTALL.msg |  5 -----
 srcpkgs/GraphicsMagick/template    | 25 ++++++++++++++++++++++---
 srcpkgs/PerlMagick                 |  1 +
 3 files changed, 23 insertions(+), 8 deletions(-)
 create mode 120000 srcpkgs/PerlMagick

diff --git a/srcpkgs/GraphicsMagick/INSTALL.msg b/srcpkgs/GraphicsMagick/INSTALL.msg
index 8edd2838f58..e42da0a6362 100644
--- a/srcpkgs/GraphicsMagick/INSTALL.msg
+++ b/srcpkgs/GraphicsMagick/INSTALL.msg
@@ -4,9 +4,4 @@
 
    /usr/share/doc/GraphicsMagick/www
 
- - GraphicsMagick PERL extension.
-   To install this extension follow the instructions in:
-
-   /usr/share/doc/GraphicsMagick/PerlMagick/README.txt
-
   The Void Linux Team
diff --git a/srcpkgs/GraphicsMagick/template b/srcpkgs/GraphicsMagick/template
index a1c4e4e93d4..a54f1a5f525 100644
--- a/srcpkgs/GraphicsMagick/template
+++ b/srcpkgs/GraphicsMagick/template
@@ -1,8 +1,9 @@
 # Template file for 'GraphicsMagick'
 pkgname=GraphicsMagick
-version=1.3.35
+version=1.3.36
 revision=1
 build_style=gnu-configure
+make_build_target="all all-perl"
 configure_args="--with-quantum-depth=16 --with-gs-font-dir=/usr/share/fonts/Type1
  --with-modules --with-perl --without-lcms --without-jp2 --enable-shared --disable-static"
 hostmakedepends="pkg-config perl"
@@ -17,9 +18,18 @@ license="MIT"
 homepage="http://www.graphicsmagick.org/"
 changelog="http://www.graphicsmagick.org/NEWS.html"
 distfiles="${SOURCEFORGE_SITE}/graphicsmagick/graphicsmagick/${version}/${pkgname}-${version}.tar.gz"
-checksum=d96d5ce2ef7e0e90166551e38742713728bfd33d6f18495a9ddda938700fc055
+checksum=1e6723c48c4abbb31197fadf8396b2d579d97e197123edc70a4f057f0533d563
 keep_libtool_archives=yes
 
+# Build does not automaticly build PerlMagick
+# like it should using --with-perl
+
+post_build() {
+	cd PerlMagick
+	perl Makefile.PL
+	make DESTDIR=${DESTDIR} install
+}
+
 post_install() {
 	vlicense Copyright.txt LICENSE
 }
@@ -32,6 +42,7 @@ libgraphicsmagick_package() {
 		vmove "usr/share/GraphicsMagick*"
 	}
 }
+
 libgraphicsmagick-devel_package() {
 	short_desc="GraphicsMagick image manipulation libraries - development files"
 	depends="libgraphicsmagick>=${version}_${revision}"
@@ -43,6 +54,14 @@ libgraphicsmagick-devel_package() {
 		vmove "usr/lib/*.so"
 		vmove "usr/lib/*.la"
 		vmove "usr/share/man/man1/*-config.1"
-		vcopy ${wrksrc}/PerlMagick usr/share/doc/GraphicsMagick*/
+	}
+}
+
+PerlMagick_package() {
+	depends="${sourcepkg}>=${version}_${revision} perl"
+	short_desc+=" - perl module"
+	pkg_install() {
+		vmove usr/lib/perl5
+		vmove usr/share/man/man3/Graphics::Magick.3p
 	}
 }
diff --git a/srcpkgs/PerlMagick b/srcpkgs/PerlMagick
new file mode 120000
index 00000000000..012eba99f80
--- /dev/null
+++ b/srcpkgs/PerlMagick
@@ -0,0 +1 @@
+GraphicsMagick
\ No newline at end of file

  reply	other threads:[~2020-12-27 20:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-27 19:35 [PR PATCH] " ndowens
2020-12-27 20:44 ` ndowens [this message]
2020-12-27 20:45 ` [PR REVIEW] " ndowens
2020-12-27 20:59 ` [PR PATCH] [Updated] " ndowens
2020-12-27 21:20 ` ndowens
2020-12-27 21:26 ` ndowens
2020-12-27 22:19 ` [PR PATCH] [Closed]: " ndowens
2021-02-14  7:26 [PR PATCH] GraphicsMagick: bump " heliocat
2021-02-14 20:20 ` [PR PATCH] [Updated] GraphicsMagick: update " heliocat
2021-02-14 20:27 ` heliocat

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=20201227204401.Y9cg4vRFXNBGP_RTK_6O-NH6DYny3JAqi8PpEBTDGI4@z \
    --to=ndowens@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).