From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Fixing imagemagick on W32 Date: Sun, 17 Apr 2016 16:46:31 -0500 Message-ID: <868u0bj4co.fsf_-_@stephe-leake.org> References: <56CCD91E.6070507@alice.it> <570F4EC7.3060403@alice.it> <83twj4dx7q.fsf@gnu.org> <878u0gyyge.fsf_-_@wanadoo.es> <570FC0BC.8030709@cs.ucla.edu> <874mb4yxqi.fsf@wanadoo.es> <83potsduv5.fsf@gnu.org> <87vb3kxho5.fsf@wanadoo.es> <83mvowdru7.fsf@gnu.org> <87r3e8x88h.fsf@wanadoo.es> <571102B8.8010004@cs.ucla.edu> <87inziyjb5.fsf@wanadoo.es> <57112544.5050508@cs.ucla.edu> <87d1pqycsz.fsf@wanadoo.es> <57113DC4.4010303@cs.ucla.edu> <878u0ey81k.fsf@wanadoo.es> <83lh4ed4ht.fsf@gnu.org> <87zisuwrng.fsf@wanadoo.es> <868u0ea6zm.fsf@stephe-leake.org> <87vb3iwmi5.fsf@wanadoo.es> <83bn5acawn.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1460929647 2820 80.91.229.3 (17 Apr 2016 21:47:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Apr 2016 21:47:27 +0000 (UTC) Cc: =?utf-8?Q?=C3=93scar?= Fuentes , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 17 23:47:14 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aruXB-0004P5-UQ for ged-emacs-devel@m.gmane.org; Sun, 17 Apr 2016 23:47:14 +0200 Original-Received: from localhost ([::1]:52542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aruXB-0002pd-9k for ged-emacs-devel@m.gmane.org; Sun, 17 Apr 2016 17:47:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aruWt-0002m3-Iy for emacs-devel@gnu.org; Sun, 17 Apr 2016 17:46:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aruWo-0000cd-DQ for emacs-devel@gnu.org; Sun, 17 Apr 2016 17:46:55 -0400 Original-Received: from gproxy4-pub.mail.unifiedlayer.com ([69.89.23.142]:55165) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1aruWo-0000YM-4G for emacs-devel@gnu.org; Sun, 17 Apr 2016 17:46:50 -0400 Original-Received: (qmail 16155 invoked by uid 0); 17 Apr 2016 21:46:40 -0000 Original-Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy4.mail.unifiedlayer.com with SMTP; 17 Apr 2016 21:46:40 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw3 with id jgmW1s00g2UdiVW01gmZn3; Sun, 17 Apr 2016 22:46:37 -0600 X-Authority-Analysis: v=2.1 cv=Maz/5fPf c=1 sm=1 tr=0 a=CQdxDb2CKd3SRg4I0/XZPQ==:117 a=CQdxDb2CKd3SRg4I0/XZPQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=hEr_IkYJT6EA:10 a=x_XPkuGwIRMA:10 a=kziv93cY1bsA:10 a=mDV3o1hIAAAA:8 a=BnYLhq52AKoQmuontngA:9 Original-Received: from [76.218.37.33] (port=63637 helo=TAKVER4) by host114.hostmonster.com with esmtpa (Exim 4.86_2) (envelope-from ) id 1aruWX-0007Qo-TJ; Sun, 17 Apr 2016 15:46:34 -0600 In-Reply-To: <83bn5acawn.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 16 Apr 2016 09:42:16 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) X-Identified-User: {2442:host114.hostmonster.com:stephele:stephe-leake.org} {sentby:smtp auth 76.218.37.33 authed with stephen_leake@stephe-leake.org} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 69.89.23.142 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:203024 Archived-At: Eli Zaretskii writes: > The Imagemagick build is not officially supported in the MS-Windows > build, because no one submitted patches to make it behave like all the > other optional image libraries. By that I mean: be able to run an > Emacs binary built with Imagemagick support on a system that doesn't > have the Imagemagick DLLs installed. AFAIU, the image.c.diff hack > allows one to build Emacs with Imagemagick, but the resulting binary > will refuse to run on a system where it cannot load the Imagemagick > DLLs at startup. That is not how we handle optional libraries in the > Windows build. > > So the right way of handling this problem is to modify the Emacs > Imagemagick support code in image.c so that it uses LOAD_DLL_FN etc. > (There's one complication with Imagemagick: it needs to load 2 DLLs > rather than one, and figuring out how to deal with that is part of the > job.) I'd like to work on this. First I need a test; what elisp level functions use the imagemagick functions in image.c? -- -- Stephe