From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mirek Kaim Newsgroups: gmane.emacs.devel Subject: unnecessary requirement of X11 for imagemagick in case of cygwin Date: Thu, 13 Feb 2014 16:52:32 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1392307963 12418 80.91.229.3 (13 Feb 2014 16:12:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Feb 2014 16:12:43 +0000 (UTC) To: "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 13 17:12:52 2014 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 1WDyuB-0000iT-Bz for ged-emacs-devel@m.gmane.org; Thu, 13 Feb 2014 17:12:51 +0100 Original-Received: from localhost ([::1]:47339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDyuA-00033F-Ub for ged-emacs-devel@m.gmane.org; Thu, 13 Feb 2014 11:12:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDyu2-000329-FX for emacs-devel@gnu.org; Thu, 13 Feb 2014 11:12:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDytv-0005R9-9Z for emacs-devel@gnu.org; Thu, 13 Feb 2014 11:12:42 -0500 Original-Received: from col0-omc4-s7.col0.hotmail.com ([65.55.34.209]:36968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDytv-0005R2-48 for emacs-devel@gnu.org; Thu, 13 Feb 2014 11:12:35 -0500 Original-Received: from COL131-W3 ([65.55.34.200]) by col0-omc4-s7.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 13 Feb 2014 07:52:32 -0800 X-TMN: [Yz7NFcNqYnZvz20ZqwZvmo4YOKYyBXJO] X-Originating-Email: [mirek.kaim@outlook.com] Importance: Normal X-OriginalArrivalTime: 13 Feb 2014 15:52:32.0466 (UTC) FILETIME=[9B3C3B20:01CF28D3] X-detected-operating-system: by eggs.gnu.org: Windows XP X-Received-From: 65.55.34.209 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:169589 Archived-At: i've just compiled the latest version from repo under cygwin. imagemagick i= nstalled from cygwin package=2C with all dependecies - that includes some X= -libs=2C but no X server per se. emacs configured --with-w32. all i did was= this:=0A= =0A= diff --git a/configure.ac b/configure.ac=0A= index 326d528..bc95daa 100644=0A= --- a/configure.ac=0A= +++ b/configure.ac=0A= @@ -2236=2C7 +2236=2C7 @@ if test "${HAVE_X11}" =3D "yes" || test "${HAVE_N= S}" =3D "yes"=0A= =A0fi=0A= =0A= =A0HAVE_IMAGEMAGICK=3Dno=0A= -if test "${HAVE_X11}" =3D "yes" || test "${HAVE_NS}" =3D "yes"=3B then=0A= +#if test "${HAVE_X11}" =3D "yes" || test "${HAVE_NS}" =3D "yes"=3B then=0A= =A0=A0 if test "${with_imagemagick}" !=3D "no"=3B then=0A= =A0=A0=A0=A0 ## 6.2.8 is the earliest version known to work=2C but earlier = versions=0A= =A0=A0=A0=A0 ## might work - let us know if you find one.=0A= @@ -2254=2C7 +2254=2C7 @@ if test "${HAVE_X11}" =3D "yes" || test "${HAVE_N= S}" =3D "yes"=0A= =A0=A0=A0=A0=A0=A0 AC_CHECK_FUNCS(MagickExportImagePixels MagickMergeImageL= ayers)=0A= =A0=A0=A0=A0 fi=0A= =A0=A0 fi=0A= -fi=0A= +#fi=0A= =0A= =0A= =A0HAVE_GTK=3Dno=0A= =0A= and it works=2C checked with image-dired and pdf page scaling. obviously=2C= imagemagick is independent from the actual gui used by emacs - as long as = there is a gui=2C it makes sense to link with it. shouldn't it be then:=0A= =0A= if test "${HAVE_X11}" =3D "yes" || test "${HAVE_NS}" =3D "yes" || test "${H= AVE_W32}" =3D "yes"=3B then=0A= =0A= or am i missing something? i'm not too familiar with configure and makefile= stuff=2C and i never submitted a patch so i don't have an account=2C so fe= el free to patch that. =