Return-Path: X-Original-To: apmail-openoffice-dev-archive@www.apache.org Delivered-To: apmail-openoffice-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 693581075C for ; Tue, 15 Oct 2013 23:09:24 +0000 (UTC) Received: (qmail 92613 invoked by uid 500); 15 Oct 2013 23:09:24 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 92550 invoked by uid 500); 15 Oct 2013 23:09:24 -0000 Mailing-List: contact dev-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list dev@openoffice.apache.org Received: (qmail 92541 invoked by uid 99); 15 Oct 2013 23:09:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 23:09:23 +0000 X-ASF-Spam-Status: No, hits=3.4 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URIBL_JP_SURBL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kay.schenk@gmail.com designates 209.85.160.47 as permitted sender) Received: from [209.85.160.47] (HELO mail-pb0-f47.google.com) (209.85.160.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 23:09:20 +0000 Received: by mail-pb0-f47.google.com with SMTP id rr4so9393252pbb.6 for ; Tue, 15 Oct 2013 16:08:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=H3hmwvk+v4/jlrL1+Zyiwk9nOwO72jp03BOkZWbFyuM=; b=PPUe5xiB6wJmUZf/Bdsg38JGo0RngCW6V44MjcGIoiHhOZg3Mkzq/ou7vAMpDj8JWR Blv4m1NfYF1eb76XI3MThv3gHIK/BRzphHA908+hRGsBH0vOF7j48Y4ntshMDNIqBrtq OTsgGZMMbTeycFQEKVDWfMgUKBM6zAP/1xOFcKAMOntUsYCPJk5hcOuiPOKqKLTuRNF2 AZODf941rd5ioYc0ln2Xw60lN2loG9iMZlwpAP/F+BvIlAemzFQjPvCNoa6ttct/MFrh k4zV0kfCw9NwqZXZXg18U1g3/yYH1BcJo15hF+F5fLhQcWlGMY2H0zBxf7wBM4VTEktK 0mUg== MIME-Version: 1.0 X-Received: by 10.67.11.103 with SMTP id eh7mr238064pad.153.1381878539537; Tue, 15 Oct 2013 16:08:59 -0700 (PDT) Received: by 10.70.81.226 with HTTP; Tue, 15 Oct 2013 16:08:59 -0700 (PDT) In-Reply-To: References: <525B9F85.9030701@googlemail.com> Date: Tue, 15 Oct 2013 16:08:59 -0700 Message-ID: Subject: Re: Mentor a new build system. From: Kay Schenk To: devAOO Content-Type: multipart/alternative; boundary=047d7b15b0e778d5ed04e8cfabea X-Virus-Checked: Checked by ClamAV on apache.org --047d7b15b0e778d5ed04e8cfabea Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Oct 14, 2013 at 2:40 PM, janI wrote: > On 14 October 2013 23:34, Kay Schenk wrote: > > > On Mon, Oct 14, 2013 at 2:02 PM, janI wrote: > > > > > On 14 October 2013 19:44, Kay Schenk wrote: > > > > > > > On Mon, Oct 14, 2013 at 12:38 AM, Andre Fischer > > > wrote: > > > > > > > > > On 11.10.2013 18:10, janI wrote: > > > > > > > > > >> Hi. > > > > >> > > > > >> FYI: as I informed a while ago, I made a project proposal for OS= U > > > > >> capstone. > > > > >> > > > > >> The project has been selected, so we will have 4 students workin= g > > the > > > > next > > > > >> months to achieve the following: > > > > >> > > > > > > > > > > That is great news. Thank you for pushing this forward. > > > > > > > > > > > > > > > > > > > >> > http://eecs.oregonstate.edu/**capstone/viewproposal2013.php?**id=3D16 > > < > > > > http://eecs.oregonstate.edu/capstone/viewproposal2013.php?id=3D16> > > > > >> > > > > >> extract from above: > > > > >> > > > > >> motivation: > > > > >> "Apache OpenOffice is the biggest open source office package, wi= th > > 65 > > > > >> milllion downloads of our last version. A number of other open > > source > > > > >> packages are derived from OpenOffice, and incorporates patches a= nd > > > > >> enhancements from AOO. > > > > >> The AOO source code is very big, 121 languages, 233 modules and > 2933 > > > > >> makefiles (including sub-makefiles). As programming platform, we > use > > > C++ > > > > >> (bulk part), Java, Python, Perl and some special libraries > > > > >> The build system is old, a combination of perl and dmake, and ha= s > > > grown > > > > >> over the years into a non standard, hard to understand non > > documented > > > > >> system. > > > > >> At the same time, we want to attract more developers, therefore = we > > > want > > > > to > > > > >> make a new build system based on modern technology, which are ea= sy > > to > > > > use > > > > >> especially for windows developers." > > > > >> > > > > >> goal: > > > > >> "The goal is to: > > > > >> 1) make a build system suitable for use with microsoft visual > studio > > > > >> 2) make a build system suitable for use on linux (makefiles) > > > > >> One of those systems should be the primary one and the other one > > > should > > > > be > > > > >> automatically generated. > > > > >> > > > > > > > > > > I am not happy with that last sentence. When there is one > 'primary' > > > > > flavor of the build system, then that tends to get much more > > attention > > > > than > > > > > the other flavors. This happened with both build system that we > > have. > > > > > They heavily tend to the Unix side and are slow and hard to use = on > > > > Windows. > > > > > I think that we should treat our major platforms (Windows, Linux > and > > > Mac) > > > > > equal. > > > > > > > > > > > > > > > > I plead absolute ignorance about Visual Studio 2008, but I thought = it > > > could > > > > use "makefile" specifications -- though maybe this is not > > well-integrated > > > > from what I've been reading. > > > > > > > > > > Makefiles have been integrated since VC 6, but once you start using i= t > > you > > > soon find the limits, it would never support a setup like ours. > > > > > > > OK...like I said, complete ignorance. I have ONLY used *nix builds in > the > > course of my life. > > > > it maybe ignorance, I call it "interest", and to me all input are welcome= ! > > > > > > > > > > > > > > > > > > > > > > > > In my mind, it would be great to ditch build.pl if we could, and go > > > with a > > > > straight makefile setup. We've already worked on this aspect. > > > > > > > > > > To ditch build.pl alone, is a very straight forward task, a real nice > > task > > > for a new developer. > > > > > > Remember build only controls the /prj directories and then ca= ll > > > dmake to do the rest. > > > > > > Ditching build.pl (which I have done experimental for helpcontent2 an= d > > > l10ntools) consist of: > > > 1) take the first line of */prj/build.lst and use that to build a > > Makefile > > > in with module dependencies. > > > 2) for each module use the remaining lines in */prj/build.lst to buil= d > a > > > /Makefile that calls dmake for the existing makefiles > > > 3) for each mdoule use */prj/deliver.lst to expand /Makefile > > with a > > > target and a set of copy instructions. > > > > > > It about a little workweek to edit and test the setup. > > > > > > > Thanks for these tips. I would REALLY like to disconnect the help > building > > to try to get tech writers more interested in development/changes of ou= r > > inline help content, with minimal fuss. OK, I will play with that this > > week. > > > > I will be happy to assist, feel free to contact me offlist/onlist. I have > spent the last week debugging the helpcontent2 build part, to make it wor= k > with genLang, and I still have some way to go. > > If we had some resources we should take it one step further, and replace > the current help with standard help methods available. That would make it= a > lot easier for tech. writers. > J=C3=BCrgen suggested this back in April... and you can see the rest of th= e thread as well http://markmail.org/message/tl5lsy4cxaa3s6lx Anyway, I did just install the Help Authoring extension for what it's worth. I think we need a new thread to start down this road again. > rgds > jan I. > > > > > > > > > > > > > > I have not thoroughly investigated the workings of "build.pl", but > > I'm > > > > wondering if it's the mix of what we're trying to build -- e.g. the > > > > helpcontent -- that is a bottleneck here. To me, it seems "code" > > > components > > > > could be built in some standard way and these other aspects built i= n > > > their > > > > own environment and plugged in later at some point. Just some > thoughts > > > I've > > > > had, which might not make any sense. ;} > > > > > > > > > > I have because of the genLang integration been deep into build (and > still > > > are), and e.g. helpcontent2 is solely dmake files, in my ubuntu I hav= e > a > > > helpcontent2/Makefile that replaces build.pl for the module. > postprocess > > > or > > > instsetoo_native might be a level more difficult, but they are still > only > > > dmake make files. > > > > > > I have read the fuzz about having a standard make setup, but I have > never > > > understood the complexity (unless you want to make it complex). I wou= ld > > > gladly help someone who has time to edit the Makefiles we need. > > > > > > rgd > > > jan I. > > > > > > > > > > > > > > But, I'm happy to see this proposal and I hope it gets accepted. Th= e > > more > > > > eyes we have on the build process, the better. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > The team must first understand how the current system works in > > > general, > > > > >> and > > > > >> then build scenarios how a > \\\\\\\\\\\\\\\"perfect\\\\\\\**\\\\\\\\" > > > > >> system > > > > >> would look like. > > > > >> Second task is to implement it, in parallel with the existing > system > > > > >> Third task is to help test it on the different platforms we > > support. " > > > > >> > > > > >> > > > > >> I will mentor the students, but hope that the community will be > > behind > > > > me > > > > >> and help as well. If the students turn out to be motivated they > can, > > > as > > > > >> volunteers and committers, be a real bonus for the project. > > > > >> > > > > >> Another apache committer who lives close to the OSU have promise= d > to > > > > help > > > > >> me as well. > > > > >> > > > > >> I am aware there are very different ideas about how a new build > > system > > > > >> should look like, but lets use this possibility to get moving, i= f > > the > > > > >> result works it cannot be less "nice" than the current system. > > > > >> > > > > > > > > > > I hope that you are right. But the our second build system prove= s > > that > > > > > just working does not necessarily result in an improvement. But I > > don't > > > > > want to sound too negative. This project is a great start and I > > > believe > > > > > that you and the students and our community will be able to impro= ve > > the > > > > > build system greatly. > > > > > > > > > > > > > > > > > > > >> are anybody with knowledge of build.pl etc. interested in helpin= g > > > out ? > > > > >> > > > > > > > > > > As you know, I have already done some reasearch in this area and = I > > > would > > > > > be glad to help. > > > > > > > > > > Regards > > > > > Andre > > > > > > > > > > > > > > ------------------------------**------------------------------**--------- > > > > > To unsubscribe, e-mail: dev-unsubscribe@openoffice.**apache.org< > > > > dev-unsubscribe@openoffice.apache.org> > > > > > > > > > > For additional commands, e-mail: dev-help@openoffice.apache.org > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > -------------------------------------------------------------------------= ------------------------ > > > > MzK > > > > > > > > "Truth is stranger than fiction, but it is because Fiction is oblig= ed > > > > to stick to possibilities. Truth isn't." > > > > -- "Following the Equator", Mark Twain > > > > > > > > > > > > > > > -- > > > > > -------------------------------------------------------------------------= ------------------------ > > MzK > > > > "Truth is stranger than fiction, but it is because Fiction is obliged > > to stick to possibilities. Truth isn't." > > -- "Following the Equator", Mark Twain > > > --=20 ---------------------------------------------------------------------------= ---------------------- MzK "Truth is stranger than fiction, but it is because Fiction is obliged to stick to possibilities. Truth isn't." -- "Following the Equator", Mark Twain --047d7b15b0e778d5ed04e8cfabea--