all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Karl Otness <karl@karlotness.com>
To: rgm@gnu.org
Cc: 25967@debbugs.gnu.org
Subject: bug#25967: [PATCH] Add support for ImageMagick 7 (Bug#25967)
Date: Tue, 28 Aug 2018 15:32:26 -0500	[thread overview]
Message-ID: <CAGk_8X+BG0dX+XC46++e_buoLeiqQoRM9QC7xzi8akS2d-a0=A@mail.gmail.com> (raw)
In-Reply-To: <cjh8jfckbw.fsf@fencepost.gnu.org>

I hate to say this, but it looks like the modified patch might not be
linking up quite right. It seems like the issue has to do with the new
"IMAGEMAGICK7" prefix for EMACS_CHECK_MODULES. Some of the downstream
tests, specifically looking for MagickRelinquishMemory try to use the
IMAGEMAGICK_CFLAGS which won't be defined if configure finds version
7. The test will then fail ImageMagick and it won't be linked.

I don't remember exactly, but I think this may have been the reason
why I had initially set it up to use the same HAVE_IMAGEMAGICK prefix
for both pkg-config checks, and then manually added the
IMAGEMAGICK_MAJOR definition to sort out which was actually found.

Using separate test variables can probably work, but will require
updating the AC_CHECK_FUNCS tests later on. When I put together the
initial patch, I think I wanted to touch as little of configure as
possible, so I left those alone.

It may be simpler to go back to using the same IMAGEMAGICK prefix for
both package checks, but I agree it is nicer to not re-use the same
pkg-config variables.

Thanks for helping get this checked in.

Karl
On Mon, Aug 27, 2018 at 9:10 PM Glenn Morris <rgm@gnu.org> wrote:
>
> Karl Otness wrote:
>
> > I have attached a patch which adds support for ImageMagick version 7.
>
> Thanks very much! It looks much simpler than I was expecting.
>
> I applied it as 5729486, then tweaked it in bf1b147 (mainly to avoid
> printing two identical "checking for imagemagick"); it would be good if you
> check I did not break it. :)
>
> We normally like to get copyright assignments for Emacs; see eg
> https://www.gnu.org/licenses/why-assign.en.html
>
> I think your patch is just small enought not to require this.
> But if you would like to contribute more in future, or just would like
> to, you can start the assignment process by filing out the form at
>
> http://git.savannah.gnu.org/cgit/gnulib.git/tree/doc/Copyright/request-assign.future
>
> Thanks again!





  reply	other threads:[~2018-08-28 20:32 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-04 16:17 bug#25967: 25.1; Support for ImageMagick 7 Tej Chajed
2017-03-10 19:03 ` Paul Eggert
2017-07-24 16:41   ` Glenn Morris
2017-07-24 22:15     ` Paul Eggert
2017-07-25  1:25       ` Glenn Morris
2017-09-02 13:06         ` Eli Zaretskii
2017-09-03  1:10           ` Glenn Morris
2017-12-12 16:59             ` Glenn Morris
2017-12-12 17:15               ` Marcin Borkowski
2017-12-12 17:44                 ` Glenn Morris
2018-06-01 19:17 ` bug#25967: [PATCH] Add support for ImageMagick 7 (Bug#25967) Karl Otness
2018-06-23 10:09   ` Kévin Le Gouguec
2018-06-25 21:08     ` Karl Otness
2018-08-28  2:10   ` Glenn Morris
2018-08-28 20:32     ` Karl Otness [this message]
2018-08-30 18:00       ` Glenn Morris
2018-08-30 21:53         ` Karl Otness
2018-08-29  3:21     ` Karl Otness
2018-09-03 22:57   ` Andy Moreton
2018-09-04 17:11     ` Eli Zaretskii
2018-09-04 19:03       ` Andy Moreton
2018-09-05  2:38         ` Eli Zaretskii
2018-08-28  2:12 ` bug#25967: 25.1; Support for ImageMagick 7 Glenn Morris

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='CAGk_8X+BG0dX+XC46++e_buoLeiqQoRM9QC7xzi8akS2d-a0=A@mail.gmail.com' \
    --to=karl@karlotness.com \
    --cc=25967@debbugs.gnu.org \
    --cc=rgm@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.