From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs binaries for Windows Date: Fri, 19 Aug 2016 17:50:23 +0300 Message-ID: <83wpjcdd8w.fsf@gnu.org> References: <86mvk9jj6i.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1471618259 11080 195.159.176.226 (19 Aug 2016 14:50:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2016 14:50:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: Arash Esbati Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 19 16:50:51 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bal8E-0002Pi-DH for ged-emacs-devel@m.gmane.org; Fri, 19 Aug 2016 16:50:50 +0200 Original-Received: from localhost ([::1]:57624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bal8B-0004i5-Du for ged-emacs-devel@m.gmane.org; Fri, 19 Aug 2016 10:50:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bal82-0004gV-H1 for emacs-devel@gnu.org; Fri, 19 Aug 2016 10:50:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bal7x-0005Zk-GJ for emacs-devel@gnu.org; Fri, 19 Aug 2016 10:50:37 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bal7x-0005ZS-CJ; Fri, 19 Aug 2016 10:50:33 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4483 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bal7t-0001ct-G4; Fri, 19 Aug 2016 10:50:32 -0400 In-reply-to: <86mvk9jj6i.fsf@gmail.com> (message from Arash Esbati on Fri, 19 Aug 2016 09:45:41 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:206674 Archived-At: > From: Arash Esbati > Date: Fri, 19 Aug 2016 09:45:41 +0200 > > While building Emacs on Windows with Msys2/MinGW-w64 is quite straight > forward, the main issue is providing the sources of the libraries when > DLLs should be provided as well. I wrote a simple script to determine > the dependencies of the required packages mentioned here: > > http://git.savannah.gnu.org/cgit/emacs.git/tree/nt/INSTALL.W64#n60 > > It downloads the original sources mentioned in every PKGBUILD file and > includes patches from here: > > https://github.com/Alexpux/MINGW-packages > > Resulting in: > > -> du -hc *.tar.gz > 780K mingw-w64-bzip2-1.0.6-5.src.tar.gz > 36M mingw-w64-cairo-1.15.2-2.src.tar.gz > 400K mingw-w64-expat-2.1.1-1.src.tar.gz > 1.6M mingw-w64-fontconfig-2.12.0-2.src.tar.gz > 1.8M mingw-w64-freetype-2.6.5-1.src.tar.gz > 95M mingw-w64-gcc-6.1.0-2.src.tar.gz > 2.6M mingw-w64-gdk-pixbuf2-2.35.1-1.src.tar.gz > 19M mingw-w64-gettext-0.19.7-1.src.tar.gz > 628K mingw-w64-giflib-5.1.4-1.src.tar.gz > 7.2M mingw-w64-glib2-2.48.1-1.src.tar.gz > 1.9M mingw-w64-gmp-6.1.1-1.src.tar.gz > 6.6M mingw-w64-gnutls-3.5.2-1.src.tar.gz > 3.5M mingw-w64-graphite2-1.3.8-4.src.tar.gz > 1.3M mingw-w64-harfbuzz-1.2.7-2.src.tar.gz > 1.4M mingw-w64-jasper-1.900.1-4.src.tar.gz > 468K mingw-w64-libcroco-0.6.11-1.src.tar.gz > 920K mingw-w64-libffi-3.2.1-4.src.tar.gz > 4.3M mingw-w64-libiconv-1.14-5.src.tar.gz > 3.4M mingw-w64-libidn-1.32-3.src.tar.gz > 1.5M mingw-w64-libjpeg-turbo-1.4.2-2.src.tar.gz > 936K mingw-w64-libpng-1.6.21-1.src.tar.gz > 552K mingw-w64-librsvg-2.40.16-1.src.tar.gz > 220K mingw-w64-libsystre-1.0.1-2.src.tar.gz > 1.8M mingw-w64-libtasn1-4.8-1.src.tar.gz > 2.1M mingw-w64-libtiff-4.0.6-1.src.tar.gz > 396K mingw-w64-libtre-git-r122.c2f5d13-4.src.tar.gz > 5.2M mingw-w64-libxml2-2.9.4-1.src.tar.gz > 584K mingw-w64-lzo2-2.09-2.src.tar.gz > 1.8M mingw-w64-nettle-3.2-1.src.tar.gz > 1012K mingw-w64-p11-kit-0.23.2-2.src.tar.gz > 1.1M mingw-w64-pango-1.40.1-1.src.tar.gz > 1.5M mingw-w64-pcre-8.38-2.src.tar.gz > 724K mingw-w64-pixman-0.34.0-2.src.tar.gz > 92K mingw-w64-wineditline-2.101-4.src.tar.gz > 30M mingw-w64-winpthreads-git-5.0.0.4670.00cda6f-1.src.tar.gz > 144K mingw-w64-xpm-nox-4.2.0-4.src.tar.gz > 1.4M mingw-w64-xz-5.2.2-1.src.tar.gz > 1.5M mingw-w64-zlib-1.2.8-9.src.tar.gz > 239M total > > Is this a way to go for Emacs? > > Personally, I recommend another approach where only Msys2 package > directories (which Emacs was built against) are provided and downloading > and packaging can be done when a developer/user wants to have it, e.g.: > > cd mingw-w64-bzip2 > makepkg-mingw --allsource -sLf > > This is actually what my script does. Collecting all directories for > the packages above gives: > > -> du -h emacs-25.1-rc1-libs.tar.xz > 464K emacs-25.1-rc1-libs.tar.xz > > Does this approach comply with GPL? It's not clear to me what exactly is the question(s) you are asking. The upshot of the GPL requirements is that the sources -- the same sources that were used for building the binaries, with any changes made for that purpose -- should be available for download from the same site as the binaries. If the above fulfills this requirement, it complies with the GPL. (I cannot tell if this is so because I don't know what makepkg-mingw does, or what those command-line switches mean.) Thanks.