all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arash Esbati <arash.esbati@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs binaries for Windows
Date: Fri, 19 Aug 2016 18:33:06 +0200	[thread overview]
Message-ID: <86k2fc7m7x.fsf@gmail.com> (raw)
In-Reply-To: <83wpjcdd8w.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 19 Aug 2016 17:50:23 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> 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:
>> [...]
>>     400K    mingw-w64-expat-2.1.1-1.src.tar.gz
>> [...]
>> 
>> Is this a way to go for Emacs?
>
> 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 for your response.  I try to give an example: Currently, Msys2
delivers a package named

    mingw-w64-x86_64-expat-2.1.1-1-any.pkg.tar.xz

containing `libexpat-1.dll'.  If you clon the repository from

    https://github.com/Alexpux/MINGW-packages.git

and cd to `./MINGW-packages/mingw-w64-expat', the command

    makepkg-mingw --allsource -sLf

downloads the original sources from

    https://downloads.sourceforge.net/expat/expat-2.1.1.tar.bz2

and makes an archive

    mingw-w64-expat-2.1.1-1.src.tar.gz

containing the archive from sourceforge and a Msys2 specific patch
called `001-fix-extension.patch' (plus PKGBUILD & .SRCINFO files).

My first question is: With the provision made above, can the file
`libexpat-1.dll' be distributed along with an Emacs binary, which is
also built against this DLL file? (I will come back with a second
question later).

Best, Arash



  reply	other threads:[~2016-08-19 16:33 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
2016-08-19 16:33   ` Arash Esbati [this message]
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=86k2fc7m7x.fsf@gmail.com \
    --to=arash.esbati@gmail.com \
    --cc=eliz@gnu.org \
    --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.