From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Re: 64-bit build on Windows Date: Sat, 21 Jan 2017 20:04:04 +0100 Message-ID: References: <874m0tc0gn.fsf@russet.org.uk> <87efzxn6or.fsf@wanadoo.es> <83y3y5681f.fsf@gnu.org> <83h94s5kzi.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11467a9a5b9d4505469f6f87 X-Trace: blaine.gmane.org 1485025541 25426 195.159.176.226 (21 Jan 2017 19:05:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 21 Jan 2017 19:05:41 +0000 (UTC) Cc: =?UTF-8?Q?=C3=93scar_Fuentes?= , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 21 20:05:36 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cV0yl-00066a-5Z for ged-emacs-devel@m.gmane.org; Sat, 21 Jan 2017 20:05:35 +0100 Original-Received: from localhost ([::1]:32999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cV0yq-000530-2l for ged-emacs-devel@m.gmane.org; Sat, 21 Jan 2017 14:05:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cV0xo-00052q-Fx for emacs-devel@gnu.org; Sat, 21 Jan 2017 14:04:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cV0xj-0004wD-HG for emacs-devel@gnu.org; Sat, 21 Jan 2017 14:04:36 -0500 Original-Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:37058) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cV0xe-0004t0-Uf; Sat, 21 Jan 2017 14:04:27 -0500 Original-Received: by mail-wm0-x232.google.com with SMTP id c206so93861781wme.0; Sat, 21 Jan 2017 11:04:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=2UOk7vpaaY5pXYxowWVnrsLWoacmzko9isMp3msk7hg=; b=ByCLOZw7T+ynig3LhWRLYWWsiAH1QvppWrPVyfJOaavef4HzX9ndP56ZkBN3KK4zY6 aycENfQexnaU7QFJ38Cl0hK9wSCf0ks3xVnn98No7zUZNurYrbjAR5xUJsD5PNqepADk 57f0Eu8xli+5syW9ZwH8ufAOtVk8iQrsnEgBk1FodlOfgl6NwGU/a4CKZuIfa6137+wV pclRbsf8+p5PL7Nag4vc2y0bn+cSkMGXg+igrHt7or4Dr8jQ9e6au9onfqk8VFXIzMLG M0G0MzY1lCjXBoHVwBQnHizOsl+PWP3T8h44pqBYB5oaR7JyX4Fm9WoZjNMF+acvHfG7 sdog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=2UOk7vpaaY5pXYxowWVnrsLWoacmzko9isMp3msk7hg=; b=GAP9dhOmjL4r4P5op5izRMm6jfze5bLCevt49wmURTIY5HruG9cvXeskXplCju4kcE l6b+vchaLNu0VjhyCpdD+TBF93w6L5GD/f5nnFi88c/+AFFUPcXKg9GRMVoNzo2KtwG6 o7YHLDYY60KdZzM5x/MY2vS3/T2xES1Ico3uDFHhAIoUjSiAUxTB7GanI0GDQXnoDXpk yYyVETMkxovnzxbUzh19R/FfeJRWVOMjvI0yh+wKwKMy/KkqWPyMgYtxK1FG5NSTiSoT STPWFazX7LwRcjyb0Ke3gdmMgd0uBi0oupTRmPF0z1uTqbbEtJlWfzI9ZOcpX4FS0zXG xFlg== X-Gm-Message-State: AIkVDXJKGPIeAlZYFwpg9uNseClZzsj3flrXnjFl37zr03NEIHlFy5+MXNsRnPlHYuM7FNCbLj8GSrP74Oq5Jg== X-Received: by 10.28.93.68 with SMTP id r65mr8748019wmb.133.1485025465570; Sat, 21 Jan 2017 11:04:25 -0800 (PST) Original-Received: by 10.28.173.80 with HTTP; Sat, 21 Jan 2017 11:04:04 -0800 (PST) In-Reply-To: <83h94s5kzi.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:211480 Archived-At: --001a11467a9a5b9d4505469f6f87 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2017-01-21 19:25 GMT+01:00 Eli Zaretskii : > > From: Fabrice Popineau > > Date: Fri, 20 Jan 2017 20:51:47 +0100 > > Cc: =C3=93scar Fuentes , > > Emacs developers > > > > AFAIR, the problem with Imagemagick support on Windows is that it can > > only be supported when linked in statically, > > > > I don't think so. The patch I posted recently shows that emacs can be > compiled > > with ImageMagick exactly the same way it is compiled with other dlls. > > Can be built before the patch or after the patch? After the patch. > And after it is > built, will it run on a system where ImageMagick is not installed at > all? > My point is : ImageMagick is made available by dynamically loading 2 dlls. If they are not installed, then the feature is disabled (as far as I remember). What happens if the jpeg or xpm or png dlls are not found ? > > You see, w32-win.el doesn't have ImageMagick-related DLL names in its > value of dynamic-library-alist, and without that Emacs won't know > which libraries to look for when ImageMagick support is requested. > > It is easy enough to add them and if the patch I posted didn't address this issue, this is my mistake. Because it is certainly needed. Fabrice --001a11467a9a5b9d4505469f6f87 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2017-01-21 19:25 GMT+01:00 Eli Zaretskii <eliz@gnu.org>:
=
> From: Fabrice Popineau <fabrice.popineau@gmail.com>
> Date: Fri, 20 Jan 2017 20:51:47 +0100
> Cc: =C3=93scar Fuentes <ofv@wanad= oo.es>,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Emacs developers <emacs-devel@gnu.org>
>
>=C2=A0 AFAIR, the problem with Imagemagick support on Windows is that i= t can
>=C2=A0 only be supported when linked in statically,
>
> I don't think so. The patch I posted recently shows that emacs can= be compiled
> with ImageMagick exactly the same way it is compiled with other dlls.<= br>
Can be built before the patch or after the patch?=C2=A0
=

After the patch.
=C2=A0
And after it is
built, will it run on a system where ImageMagick is not installed at
all?

My point is : ImageMagick is made = available by dynamically loading 2 dlls.
If they are not installe= d, then the feature is disabled (as far as I remember).

What happens if the jpeg or xpm or png dlls are not found ?=C2=A0

You see, w32-win.el doesn't have ImageMagick-related DLL names in its value of dynamic-library-alist, and without that Emacs won't know
which libraries to look for when ImageMagick support is requested.


It is easy enough to add them and if t= he patch I posted didn't address this issue,=C2=A0
this is my= mistake. Because it is certainly needed.

Fabrice<= /div>

--001a11467a9a5b9d4505469f6f87--