From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.help Subject: Re: 64 bit official Windows builds Date: Sun, 10 Jan 2016 22:19:01 +0100 Message-ID: References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> <837fk3m141.fsf@gnu.org> <87bn9evefh.fsf@wanadoo.es> <83r3ialic7.fsf@gnu.org> <6b5d747c-7abb-44fc-8f9a-3d629fb892a8@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1452460781 14791 80.91.229.3 (10 Jan 2016 21:19:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Jan 2016 21:19:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 10 22:19:32 2016 Return-path: Envelope-to: geh-help-gnu-emacs@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 1aINOd-0002dy-QL for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Jan 2016 22:19:31 +0100 Original-Received: from localhost ([::1]:49467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aINOd-0000Tp-7B for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Jan 2016 16:19:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aINOR-0000Te-Sz for help-gnu-emacs@gnu.org; Sun, 10 Jan 2016 16:19:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aINON-0004MI-Rs for help-gnu-emacs@gnu.org; Sun, 10 Jan 2016 16:19:19 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:45765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aINON-0004MD-Kz for help-gnu-emacs@gnu.org; Sun, 10 Jan 2016 16:19:15 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aINOL-0002VV-Uf for help-gnu-emacs@gnu.org; Sun, 10 Jan 2016 22:19:14 +0100 Original-Received: from pd9f9334f.dip0.t-ipconnect.de ([217.249.51.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jan 2016 22:19:13 +0100 Original-Received: from esbati by pd9f9334f.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jan 2016 22:19:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 82 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pd9f9334f.dip0.t-ipconnect.de Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108686 Archived-At: Sam Halliday writes: > It sounds like you know how to do this a lot better than I do. No, not really. I just managed to build Emacs after a recipe you can find here: http://sourceforge.net/p/emacsbinw64/wiki/Build%20guideline%20for%20MSYS2-MinGW-w64%20system/ and now here as well: http://git.savannah.gnu.org/cgit/emacs.git/tree/nt/INSTALL.W64?h=emacs-25 After the discussion here, I looked closer at how Msys2/MinGW-w64 manages its packages. http://sourceforge.net/p/msys2/wiki/Contributing%20to%20MSYS2/ https://github.com/Alexpux/MINGW-packages The optional packages for building Emacs are: mingw-w64-libtiff mingw-w64-giflib mingw-w64-libpng mingw-w64-libjpeg-turbo mingw-w64-librsvg mingw-w64-libxml2 mingw-w64-gnutls mingw-w64-xpm-nox and their dependencies are: (`pactree --help') mingw-w64-bzip2 mingw-w64-cairo mingw-w64-expat mingw-w64-fontconfig mingw-w64-freetype mingw-w64-gdk-pixbuf2 mingw-w64-gettext mingw-w64-glib2 mingw-w64-gmp mingw-w64-harfbuzz mingw-w64-jasper mingw-w64-libcroco mingw-w64-libffi mingw-w64-libiconv mingw-w64-lzo2 mingw-w64-pango mingw-w64-pixman mingw-w64-xz mingw-w64-zlib It is possible to build source archives incl. the patches coming from Msys2 project with `makepkg-mingw' command. The process is start the `msys2_shell' and do: --8<---------------cut here---------------start------------->8--- git clone "https://github.com/Alexpux/MINGW-packages" cd MINGW-packages/mingw-w64-libtiff MINGW_INSTALLS=mingw64 makepkg-mingw --nobuild -sL MINGW_INSTALLS=mingw64 makepkg-mingw --allsource -sLf --8<---------------cut here---------------end--------------->8--- I tried this and it worked for all the packages except for `mingw-w64-gettext', `mingw-w64-gmp' and `mingw-w64-gnutls'. I have to take a closer look. So I think it would be possible to provide source tarballs for the DLLs. > Is there any chance you could package this up so that everybody can > get your 64 bit builds of Emacs for Windows from the FSF site? If the > sources are listed already, maybe you could just create a tarball > containing all the sources of the compiler and required libraries? Sources of the compiler? Do you mean gcc? No, I won't go there :-) > It would be really good from an automation point of view if you could > write a little recipe (maybe an appveyor script?) that could be > triggered when new versions of emacs (or the compiler) are released. I'm not familiar with appveyor. Best, Arash