Return-Path: X-Original-To: apmail-corinthia-dev-archive@minotaur.apache.org Delivered-To: apmail-corinthia-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D8487108BF for ; Wed, 31 Dec 2014 19:42:07 +0000 (UTC) Received: (qmail 41442 invoked by uid 500); 31 Dec 2014 19:42:08 -0000 Delivered-To: apmail-corinthia-dev-archive@corinthia.apache.org Received: (qmail 41417 invoked by uid 500); 31 Dec 2014 19:42:08 -0000 Mailing-List: contact dev-help@corinthia.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@corinthia.incubator.apache.org Delivered-To: mailing list dev@corinthia.incubator.apache.org Received: (qmail 41395 invoked by uid 99); 31 Dec 2014 19:42:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Dec 2014 19:42:02 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of dennis.hamilton@acm.org does not designate 216.234.124.50 as permitted sender) Received: from [216.234.124.50] (HELO barracuda.supercp.com) (216.234.124.50) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Dec 2014 19:41:57 +0000 X-ASG-Debug-ID: 1420054878-08c1cb0f9f969050001-KCmPzH Received: from a2s42.a2hosting.com (a2s42.a2hosting.com [216.119.133.2]) by barracuda.supercp.com with ESMTP id BKHzFVh41rMzGfjG for ; Wed, 31 Dec 2014 14:41:18 -0500 (EST) X-Barracuda-Envelope-From: dennis.hamilton@acm.org X-Barracuda-Apparent-Source-IP: 216.119.133.2 Received: from 97-113-57-118.tukw.qwest.net ([97.113.57.118]:33690 helo=Astraendo2) by a2s42.a2hosting.com with esmtpa (Exim 4.82) (envelope-from ) id 1Y6P8w-000q42-8U for dev@corinthia.incubator.apache.org; Wed, 31 Dec 2014 14:41:18 -0500 Reply-To: From: "Dennis E. Hamilton" To: Subject: Building on Windows (was RE: Anybody who know how to write .cmd or .bat files for windows ?) Date: Wed, 31 Dec 2014 11:41:16 -0800 X-ASG-Orig-Subj: Building on Windows (was RE: Anybody who know how to write .cmd or .bat files for windows ?) Organization: NuovoDoc Message-ID: <00ae01d02531$c0e56a30$42b03e90$@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-index: AdAlKDO0ngDMtXPyQt+nMHkF70GhyA== Content-Language: en-us X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s42.a2hosting.com X-AntiAbuse: Original Domain - corinthia.incubator.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - acm.org X-Get-Message-Sender-Via: a2s42.a2hosting.com: authenticated_id: himself+orcmid.com/only user confirmed/virtual account not confirmed X-Barracuda-Connect: a2s42.a2hosting.com[216.119.133.2] X-Barracuda-Start-Time: 1420054878 X-Barracuda-URL: https://216.234.124.50:443/cgi-mod/mark.cgi Received-SPF: softfail (supercp.com: domain of transitioning dennis.hamilton@acm.org does not designate 97.113.57.118 as permitted sender) X-Virus-Scanned: by bsmtpd at supercp.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=4.0 KILL_LEVEL=5.0 tests=BSF_SPF_SOFTFAIL X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.13727 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 BSF_SPF_SOFTFAIL Custom Rule SPF Softfail X-Virus-Checked: Checked by ClamAV on apache.org -- replying below to -- From: jan i [mailto:jani@apache.org]=20 Sent: Wednesday, December 31, 2014 09:22 To: dev@corinthia.incubator.apache.org; Dennis Hamilton Subject: Re: Anybody who know how to write .cmd or .bat files for = windows ? On 31 December 2014 at 17:32, Dennis E. Hamilton = wrote: > -1 on using a prepackaged combination of the dependencies. > > It is only simpler locally, not globally. > > That is just moving the pea, and it means there is now an external > activity that committers must understand and someone has to maintain = when > there are updates, security patches, etc., to the dependencies. It = also > raises provenance issues. (I note that none of the sources have = hashes or > signatures already, or else I missed them, and they include a variety = of > .exe files.) > > If we are concerned about obsolescence or inaccessibility of the = sources, > there might need to be a backup arrangement. That might be a better = use of > Apache Extras. > May I say in a positive tone, I really hope to meet you in person at = ACNA. You have a way of expressing the small undefinable worries in my = stomach. A -1 with a good reason, calls for a discussion !!! so let me try to = break this down into a couple of questions: (feel free to flame me, it I got it wrong). Assumption: we want windows developer to have an easy start with = corinthia, and we dont want people to install things like cygwin. I think it is more that we don't want Cygwin *required* to build on Windows. I just used MSYS2 to run the batch script this way: orcmid@Astraendo2 /d/Apache/corinthia/git/incubator-corinthia $ ./external/fetch_downloads.bat "zlib128-dll.zip" "iconv-1.9.2.win32.zip" "libxml2-2.7.8.win32.zip" "SDL2-devel-2.0.3-VC.zip" "SDL2_image-devel-2.0.0-VC.zip" orcmid@Astraendo2 /d/Apache/corinthia/git/incubator-corinthia $ I don't know if Cygwin will do the same. A shame if not. Notice that differences in file-system path approaches are avoided by no parameters into fetch_downloads.bat, and everything internal to the batch file operates in the native Windows view. Questions: - Dennis already made a .bat to download the original source (which I clearly prefer), can we make the extraction as a .bat also (from what I understand it is doable, but need to be adjusted if we upgrade) ? Yes, I believe the extraction can be done using batch scripts too. I assume anything we have might need to be adjusted on upgrades, even the fetch procedures. I am investigating whether I can have the extraction done without any new tool requirement. If not, it will be necessary to have a Windows version of 7zip or unzip installed. Stay tuned. - What is the back side of having to simple .bat scripts ? - Products like Cygwin, have scared AOO developers, so I dont want we depend on such products, do we agree on this ? (Windows developers in general only like visual studio, and maybe a couple of external libs) We haven't dealt with compiling and building yet. There is more to figure out for that. I think it should be viewed as independent of the fetching and extraction of external dependencies though. - Is this a temporary situation or will we always need external = libraries ? - Peter made a suggestion, can we somehow learn from that, if we cannot make a .bat for extraction. Um, Peter's suggestion involves fetching a .zip, so we are back to = the previously-unsolved problem. My objection is not about downloading Zips, but where they come from and who builds them. rgds jan i > > - Dennis > > -- above in reply to -- > From: jan i [mailto:jani@apache.org] > Sent: Tuesday, December 30, 2014 23:17 > To: dev@corinthia.incubator.apache.org > Subject: Re: Anybody who know how to write .cmd or .bat files for = windows ? > > On Wednesday, December 31, 2014, Peter Kelly = wrote: > > [ ... ] > > I propose a simpler solution ;) > > > > > > > = http://downloads.uxproductivity.com/corinthia/corinthia-externals-2014123= 1.zip > > > @dennis thanks fir all your investigation work. > +1 to having the prepared files at uxproductivity (and later apache = extras) > and then use the script from dennis to fetch is. > > [ ... ] > >