From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: imagemagick support on W32 Date: Sat, 02 Oct 2010 11:31:35 +0800 Message-ID: <8762xlnuco.fsf@home.jasonrumney.net> References: <4CA53CE5.1020702@gmail.com> <4CA54727.6010900@gmail.com> <4CA54834.4020106@gmail.com> <4CA54E67.5040703@gmail.com> <4CA560A0.50901@gmail.com> <4CA5D033.5010503@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1285990321 13130 80.91.229.12 (2 Oct 2010 03:32:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Oct 2010 03:32:01 +0000 (UTC) Cc: Christoph , Juanma Barranquero , emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 02 05:31:59 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P1spE-0003AE-PW for ged-emacs-devel@m.gmane.org; Sat, 02 Oct 2010 05:31:57 +0200 Original-Received: from localhost ([127.0.0.1]:57201 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1sp9-0007ak-MG for ged-emacs-devel@m.gmane.org; Fri, 01 Oct 2010 23:31:47 -0400 Original-Received: from [140.186.70.92] (port=57208 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1sp5-0007af-5G for emacs-devel@gnu.org; Fri, 01 Oct 2010 23:31:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1sp3-0001zL-R8 for emacs-devel@gnu.org; Fri, 01 Oct 2010 23:31:42 -0400 Original-Received: from mail-pv0-f169.google.com ([74.125.83.169]:36240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1sp3-0001zE-Mc for emacs-devel@gnu.org; Fri, 01 Oct 2010 23:31:41 -0400 Original-Received: by pvc7 with SMTP id 7so2153078pvc.0 for ; Fri, 01 Oct 2010 20:31:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=KTSVYOMRA+9dBizzivQoMw9nRiixO+0InJOpwzo7e64=; b=HWQdVlBp7q3o4T1kX/8uqgktLh5y9S40xv8s34anDyXJ+nfCbXlYVx/QLKEf7fSGpH sklOt24jMCJ0P4/4312fanNjW6ePdXwCTemRSUyrcJJaH44UsQZQI6uS5R6jgBBzG7SP 9Z+B1FILpktN/tNtFZ0k2WghwIbwAc3BFp5CI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=I//Evg3WB2aoTrR0bBIPPkqTos5fMsAlWU9F4GrvaAbScZ2lvzs8ks3I/gREmmlMdQ 5PfFSMNb6AkNA3/fut5yrdkRdCKVkZy8Po3py3r43lzjYvMaMiqR/nWn9jS73goLQe/Y XiSVtS9o+pYjwbFnxyakjY21hwZpUfy2vYcHs= Original-Received: by 10.142.139.11 with SMTP id m11mr5603873wfd.195.1285990300435; Fri, 01 Oct 2010 20:31:40 -0700 (PDT) Original-Received: from home.jasonrumney.net ([202.87.221.130]) by mx.google.com with ESMTPS id v6sm2176694wfg.3.2010.10.01.20.31.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 01 Oct 2010 20:31:39 -0700 (PDT) Original-Received: by home.jasonrumney.net (Postfix, from userid 1000) id 340BA88B; Sat, 2 Oct 2010 11:31:35 +0800 (MYT) In-Reply-To: (joakim@verona.se's message of "Fri, 01 Oct 2010 14:38:19 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:131212 Archived-At: joakim@verona.se writes: > Im not really sure, but from reading image.c it seems that on non w32 > plattforms the library stubs are just compiled in and called directly, > which means not having the library there would be runtime linkage error. > > On w32 something different seems to happen, but no real effort seems to > be done to avoid errors if the desired library isnt there. I might be > wrong. If the desired library is not there, then image-type-available-p will return nil for that image type (as if the library support were not compiled in). That should be sufficient to avoid errors. On other platforms, a missing library will result in Emacs failing to start, but since modern GNU/Linux systems have good packaging tools that resolve dependencies well, this shouldn't be a problem (and it shouldn't be a problem for users who compile Emacs themselves unless they later remove a library that was there before).