From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nikolay Kudryavtsev Newsgroups: gmane.emacs.devel Subject: emacs-win-builder Date: Tue, 30 Aug 2016 22:47:48 +0300 Message-ID: <1137fded-fc14-2445-bc6b-e8f2aceed56c@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------3FA2EDBD1013F402B1525A14" X-Trace: blaine.gmane.org 1472586536 16074 195.159.176.226 (30 Aug 2016 19:48:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 Aug 2016 19:48:56 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 30 21:48: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 1bep1b-0003Oo-Uu for ged-emacs-devel@m.gmane.org; Tue, 30 Aug 2016 21:48:48 +0200 Original-Received: from localhost ([::1]:50975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bep1Z-0002XJ-LT for ged-emacs-devel@m.gmane.org; Tue, 30 Aug 2016 15:48:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bep0s-0002Wx-29 for emacs-devel@gnu.org; Tue, 30 Aug 2016 15:48:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bep0o-0006vp-A4 for emacs-devel@gnu.org; Tue, 30 Aug 2016 15:48:01 -0400 Original-Received: from mail-lf0-x233.google.com ([2a00:1450:4010:c07::233]:34514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bep0n-0006vi-TT for emacs-devel@gnu.org; Tue, 30 Aug 2016 15:47:58 -0400 Original-Received: by mail-lf0-x233.google.com with SMTP id p41so2886045lfi.1 for ; Tue, 30 Aug 2016 12:47:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:message-id:date:user-agent:mime-version; bh=k37k4YBRZHu1zLmfvsXObEeybAUdb626PfC61g9i8Vs=; b=XbNtZkZfIF3nMcwQ1LwSkEDjYkd7WATBOpAr4ug20ITKj62bWGDYcqlkqwJJhkkBy8 M1gAIKYdru2LZtC7MOeZIOFV+Iv/WQ2wiSySXD2fKgOfvWkF4Mys3iLU/+6Y6g576bMQ KuRsAy9Q0FhcYXy7bggGDpt03FfAALCcmNDcMiJhKq2yiEZMX6fc7D06YwlEZxkhzdUl 18/n8OQSD3zZj7r2oUBwLwVzwrbBtaBjzvbQYeCkAJIVsKF0a/itzggAX5nQ0I1NhMCB daSMVUimuOb8S5puQ01jJUwntnWDPehOwDgthFekWj3MMsWVo9odGuUM97be+YHzC8Y1 T6vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version; bh=k37k4YBRZHu1zLmfvsXObEeybAUdb626PfC61g9i8Vs=; b=XKTBh6Y4AwAoyGZmfb1j/tqZq4LXk5ggB4pZRZBk8b4NoTTbjl+4Sq+1+e3Tvgtqvr eNdGEHj5+SD4YEIkA0qTks00iXwVjAlFPwjvdbZOMIsR2cO2URxzfM5uxb8LSz6M9Ix7 McB4o5owr6QKfshgN9v9/nppNlzF4V3ZBMEiDL3uZFKGEOAJsKYPkWI9Ex7NYJ+8X8tw cGGVv1OXMaaZEZPJmIZVDXvuomEl26pGtw9rDQ/sa63+sLsp2qo8gX9WhiBwmD6IHYLq 8/rd25hJIssZYwXVGMUXL1pnKZJNKCtony+69yocstM0ZrpCtUqSn7TGFwGRIczCnWvu 7W1A== X-Gm-Message-State: AE9vXwO1sWINVq+4W2+V0djoJBNXGio0ZSZ5YacyY2Ip9xhSXFTb75wAmEm54lFlZnuLvQ== X-Received: by 10.25.83.85 with SMTP id h82mr1587336lfb.97.1472586475173; Tue, 30 Aug 2016 12:47:55 -0700 (PDT) Original-Received: from [192.168.199.2] (broadband-95-84-209-126.nationalcablenetworks.ru. [95.84.209.126]) by smtp.gmail.com with ESMTPSA id p21sm7753379lfp.4.2016.08.30.12.47.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Aug 2016 12:47:54 -0700 (PDT) X-Google-Original-From: Nikolay Kudryavtsev X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::233 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:207002 Archived-At: This is a multi-part message in MIME format. --------------3FA2EDBD1013F402B1525A14 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello. Here's something I would like to propose for inclusion into GNU Emacs early on, before it gets any contributors that didn't assign copyrights to FSF. Ladies and gentlemen, presenting emacs-win-builder, an Elisp script for building Emacs on Windows. Currently I published it here . The general idea is very simple. You start with only wget installed and Emacs sources, run a single function and get a new version of Emacs built for you. This installs the appropriate toolchain(MinGW and Msys2 are both supported), then goes through the whole autogen -> configure -> make -> make install cycle. I believe this would save some time, both for maintainers of Emacs on Windows and general users. This also allows Emacs developers to keep the build procedure as complex as required, without having to worry about making it too hard for users to follow. Also, this lowers the dependency on any toolchain, since we can always add some of our own patches or non standard versions of packages into the process(MinGW build already uses quite few of them). People who want to hack around the build process would always have a working place to start from. Also users would be able to test bug fixes immediately without having to wait for a third party or the next RC. Currently there are a few hacky pats, some parts should be better documented, but the main build procedure works for every currently possible build. Out of optional things, for MinGW only gnutls is currently built, but this is solvable. Also, I'm not so sure on the versions of MinGW libraries, this needs review from someone with better knowledge. I haven't thoroughly tested the resulting builds, but since this script does not do any magic, any possible problems with them seem solvable. -- Best Regards, Nikolay Kudryavtsev --------------3FA2EDBD1013F402B1525A14 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

Hello.

Here's something I would like to propose for inclusion into GNU Emacs early on, before it gets any contributors that didn't assign copyrights to FSF.

Ladies and gentlemen, presenting emacs-win-builder, an Elisp script for building Emacs on Windows. Currently I published it here.

The general idea is very simple. You start with only wget installed and Emacs sources, run a single function and get a new version of Emacs built for you. This installs the appropriate toolchain(MinGW and Msys2 are both supported), then goes through the whole autogen -> configure -> make -> make install cycle.

I believe this would save some time, both for maintainers of Emacs on Windows and general users. This also allows Emacs developers to keep the build procedure as complex as required, without having to worry about making it too hard for users to follow. Also, this lowers the dependency on any toolchain, since we can always add some of our own patches or non standard versions of packages into the process(MinGW build already uses quite few of them). People who want to hack around the build process would always have a working place to start from. Also users would be able to test bug fixes immediately without having to wait for a third party or the next RC.

Currently there are a few hacky pats, some parts should be better documented, but the main build procedure works for every currently possible build. Out of optional things, for MinGW only gnutls is currently built, but this is solvable. Also, I'm not so sure on the versions of MinGW libraries, this needs review from someone with better knowledge. I haven't thoroughly tested the resulting builds, but since this script does not do any magic, any possible problems with them seem solvable.

-- 
Best Regards,
Nikolay Kudryavtsev
--------------3FA2EDBD1013F402B1525A14--