Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-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 408F4B768 for ; Thu, 12 Jan 2012 13:44:17 +0000 (UTC) Received: (qmail 58636 invoked by uid 500); 12 Jan 2012 13:44:12 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 58154 invoked by uid 500); 12 Jan 2012 13:43:50 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 57222 invoked by uid 99); 12 Jan 2012 13:43:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jan 2012 13:43:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [87.253.162.5] (HELO server5.configcenter.info) (87.253.162.5) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jan 2012 13:43:37 +0000 Received: from [9.155.131.25] (deibp9eh1--blueice3n2.emea.ibm.com [195.212.29.180]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: web445p1) by server5.configcenter.info (Postfix) with ESMTP id A284C1BB0AE9 for ; Thu, 12 Jan 2012 14:42:59 +0100 (CET) Message-ID: <4F0EE370.9060106@a-w-f.de> Date: Thu, 12 Jan 2012 14:43:12 +0100 From: Andre Fischer User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: ooo-dev@incubator.apache.org Subject: Re: External libraries References: <4F0EB885.8030201@a-w-f.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-server5-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: A284C1BB0AE9.A588A X-server5-MailScanner: Found to be clean X-server5-MailScanner-From: af@a-w-f.de X-Old-Spam-Status: No On 12.01.2012 14:19, Rob Weir wrote: > On Thu, Jan 12, 2012 at 5:40 AM, Andre Fischer wrote: >> Hi all, >> >> During the work on replacing lp_solve with CoinMP (almost done) I stumbled >> upon the question of where to build the CoinMP libraries. >> >> Following the current pattern I would add a coinmp directory into main/ >> The downside of this is that the main/ directory becomes cluttered with >> modules that basically consist only of a single makefile and maybe some >> patch files. >> >> I would like to propose a different solution: add a new ext_libraries/ >> directory at the same level of main/ and ext_sources/. By reusing some of >> the old source_config functionality (in the form of the SourceConfig.pm in >> solver/bin/modules) the new modules in ext_libraries/ (coinmp in my example) >> can be transparently integrated into the build process. >> >> My plan is to add the ext_sources/ directory and integrate it into our build >> system and then to add modules for coinmp and, when the need arises, for >> other new external libraries. Existing modules in main/, like moz or cairo, >> can be moved later. >> >> Any comments, objections, questions for more information? >> > > What is the difference then between ext_sources and ext_libraries? > How do you decide which goes where? ext_sources contains (and will contain) the source code archives. ext_libraries will contain our makefiles and patches that unpack the archives from ext_sources, configure, build, and finally deliver them. Basically out wrapper and glue code that turns external source code into external libraries. > >> Regards, >> Andre