From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.devel Subject: Re: Emacs binaries for Windows Date: Fri, 19 Aug 2016 18:33:06 +0200 Message-ID: <86k2fc7m7x.fsf@gmail.com> References: <86mvk9jj6i.fsf@gmail.com> <83wpjcdd8w.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1471628929 8288 195.159.176.226 (19 Aug 2016 17:48:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2016 17:48:49 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 19 19:48:45 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 1banuN-0001ru-Bj for ged-emacs-devel@m.gmane.org; Fri, 19 Aug 2016 19:48:43 +0200 Original-Received: from localhost ([::1]:58426 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1banuK-0002Kc-It for ged-emacs-devel@m.gmane.org; Fri, 19 Aug 2016 13:48:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1banXO-0004D0-A3 for emacs-devel@gnu.org; Fri, 19 Aug 2016 13:24:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1banXK-0005Yo-0E for emacs-devel@gnu.org; Fri, 19 Aug 2016 13:24:57 -0400 Original-Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:34563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1banXJ-0005Yk-PH; Fri, 19 Aug 2016 13:24:53 -0400 Original-Received: by mail-wm0-x243.google.com with SMTP id q128so4212075wma.1; Fri, 19 Aug 2016 10:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=vjrmcJIsR9GIR8sSzS/HOO5rmJSyhoE93PTgQNLbI98=; b=T8ejZPRbh7nkxAg5WbiNVshl1FGF/3etnb6b26eEN89ok7hwgM5jyv3YU/kQrY7hIo dhtWlHJVYyaIf9cmDCz9opzBMnRkHI2R+L3LdQLAFS8yv0mTn9H6pSRqUf3tnFWw7/wh UwiP6VclhB382FDx2NPKojgYfNE0qx89wAwh4oPxM5igAeIkvXyoA8Z8cLAv1sB9o1yV p2JfDafpbWTnmJDlHxUIA/czCW5koRKHr9Aww3Gwz/vFZVzFiBT5HIpx3kLUwrU1hTea LFPTVbrJ6dl3NnRSw+vTzU6528WVNIVXxIH3Ip/hf5mniTxLHS6I+OoZ0TVW02RORVUO CaNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=vjrmcJIsR9GIR8sSzS/HOO5rmJSyhoE93PTgQNLbI98=; b=GeynaXuqBFpBHq2SIocn6hV9d6RBZBXRr25IPNifLwF/g5GeAIXWKHN9PU3ywXPHGp rlYQ8X0E4eVj03pfYSQna+kSHM38ZVcg0+vkyHwo3mMO5ITVFg8yts7CNvPmVlAdvhXG ULK9k0hklKXfI3jHBdWbqs6WH+TTaW9s7UNlJDsxROCpVhKFP1ilzwM3LsBWGuErVxp3 4xtE8H5/F6ZDeabByC9W21WkU3fod4alPtc+17Zlz/06ony/Q7ht5R7omAKZKPtVcjSp XC48LgNaVhrO3+8fp4o5TERlozWbtrb8BrpnkJIWzvA/11iq+nL3u8mFPEXLVf0kJ8eY kMAQ== X-Gm-Message-State: AEkoousPRbPFx2TvVvd786hhEoEN/0+Z/KAm8R/tJB4FdbOcxY40j3ISvNs1m0IYOsbQyA== X-Received: by 10.28.157.148 with SMTP id g142mr5324749wme.2.1471627492698; Fri, 19 Aug 2016 10:24:52 -0700 (PDT) Original-Received: from mutant (p54ACE0FB.dip0.t-ipconnect.de. [84.172.224.251]) by smtp.gmail.com with ESMTPSA id vv2sm7956306wjc.29.2016.08.19.10.24.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Aug 2016 10:24:52 -0700 (PDT) In-Reply-To: <83wpjcdd8w.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 19 Aug 2016 17:50:23 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::243 X-Mailman-Approved-At: Fri, 19 Aug 2016 13:47:45 -0400 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:206680 Archived-At: Eli Zaretskii writes: >> 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: >> [...] >> 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