From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs 24.5 on Windows? Date: Fri, 01 May 2015 16:08:20 +0300 Message-ID: <83383gsawr.fsf@gnu.org> References: <83fv7iub7c.fsf@gnu.org> <83bni4skuc.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1430485744 26102 80.91.229.3 (1 May 2015 13:09:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 May 2015 13:09:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dani Moncayo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 01 15:08:48 2015 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 1YoAgR-00086h-Ms for ged-emacs-devel@m.gmane.org; Fri, 01 May 2015 15:08:47 +0200 Original-Received: from localhost ([::1]:53997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoAgQ-0004GT-Np for ged-emacs-devel@m.gmane.org; Fri, 01 May 2015 09:08:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoAgE-0004GO-Bk for emacs-devel@gnu.org; Fri, 01 May 2015 09:08:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YoAgB-0006UP-5D for emacs-devel@gnu.org; Fri, 01 May 2015 09:08:34 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:44168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoAgA-0006UL-OO for emacs-devel@gnu.org; Fri, 01 May 2015 09:08:31 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NNO00G0095IT700@mtaout29.012.net.il> for emacs-devel@gnu.org; Fri, 01 May 2015 16:07:21 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NNO00EHK9S9LD40@mtaout29.012.net.il>; Fri, 01 May 2015 16:07:21 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 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:186075 Archived-At: > Date: Fri, 1 May 2015 12:58:37 +0200 > From: Dani Moncayo > Cc: Emacs development discussions > > I've just realized that I didn't put a copy of 'libXpm.dll' in the > emacs-24.5-bin package. > > Do you think it's worth uploading the package again with the above DLL > bundled, or perphaps upload the DLL as a new, separate package? > (FWIW, the second option seems cleaner to me; the library is optional > for emacs and is developed separately from it) It's up to you. The downside of the separate upload is that people will need to be told to download the second archive, and relied upon to read those instructions. But we could try that and see how many people complain about colors missing from their tool bar. > Also, I've noticed that the last version of that library seems to be > 3.5.11 (see [1]), which is newer that the last version published in > the emacs/windows folder [2], which is 3.5.8. So I've tried to build > version 3.5.11 (downloaded from [1]) from the same MinGW environment I > use to build Emacs; but it fails like this: > > $ ./autogen.sh > autoreconf: Entering directory `.' > autoreconf: configure.ac: not using Gettext > autoreconf: running: aclocal -I m4 > configure.ac:17: error: must install xorg-macros 1.8 or later before > running autoconf/autogen > configure.ac:17: the top level > autom4te: /usr/bin/m4 failed with exit status: 1 > aclocal-1.15: error: echo failed with exit status: 1 > autoreconf: aclocal failed with exit status: 1 It needs to be hacked to build on Windows, because it originally assumed X Window system only. > However, I can build version 3.5.8 (from [2]) just fine (from the same > build environment): > > $ cd src > $ make > gcc -shared -o libXpm.dll libXpm.def Attrib.o create.o data.o > CrIFrBuf.o hashtab.o Image.o Info.o misc.o parse.o > RdFToI.o rgb.o simx.o -lgdi32 -lcrtdll It's already hacked, look at the diffs. > Should we try to build version 3.5.11 or settle for v3.5.8? If the > former, do you know how to build that version of the library for > MS-Windows? I don't have time to build the newer libXpm; if you do, please feel free. FWIW, I don't see a compelling need, except to have the latest and perhaps submit patches upstream, so that future releases build on Windows out of the box.