From: Eli Zaretskii <eliz@gnu.org>
To: Arash Esbati <arash.esbati@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs binaries for Windows
Date: Fri, 19 Aug 2016 17:50:23 +0300 [thread overview]
Message-ID: <83wpjcdd8w.fsf@gnu.org> (raw)
In-Reply-To: <86mvk9jj6i.fsf@gmail.com> (message from Arash Esbati on Fri, 19 Aug 2016 09:45:41 +0200)
> From: Arash Esbati <arash.esbati@gmail.com>
> 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.
next prev parent reply other threads:[~2016-08-19 14:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-19 7:45 Emacs binaries for Windows Arash Esbati
2016-08-19 14:50 ` Eli Zaretskii [this message]
2016-08-19 16:33 ` Arash Esbati
2016-08-19 17:51 ` Eli Zaretskii
2016-08-19 20:27 ` Óscar Fuentes
2016-08-20 15:49 ` Arash Esbati
2016-08-20 15:58 ` Eli Zaretskii
2016-08-22 10:37 ` Phillip Lord
2016-08-22 14:54 ` Eli Zaretskii
2016-08-23 11:26 ` Phillip Lord
2016-08-23 14:35 ` Eli Zaretskii
2016-08-23 17:02 ` Arash Esbati
2016-08-23 17:21 ` Eli Zaretskii
2016-08-24 10:42 ` Phillip Lord
2016-08-19 15:03 ` Phillip Lord
2016-08-19 17:24 ` Arash Esbati
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83wpjcdd8w.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=arash.esbati@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.