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 EAF039E05 for ; Sun, 23 Oct 2011 21:32:21 +0000 (UTC) Received: (qmail 67272 invoked by uid 500); 23 Oct 2011 21:32:21 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 67237 invoked by uid 500); 23 Oct 2011 21:32:21 -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 67229 invoked by uid 99); 23 Oct 2011 21:32:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Oct 2011 21:32:21 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcaiod-ooo-dev@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Oct 2011 21:32:13 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RI5e2-0000Kd-IH for ooo-dev@incubator.apache.org; Sun, 23 Oct 2011 23:31:50 +0200 Received: from 31-18-89-182-dynip.superkabel.de ([31.18.89.182]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Oct 2011 23:31:50 +0200 Received: from mst by 31-18-89-182-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Oct 2011 23:31:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ooo-dev@incubator.apache.org From: Michael Stahl Subject: Re: Clarification on treatment of "weak copyleft" components Date: Sun, 23 Oct 2011 23:31:37 +0200 Lines: 45 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 31-18-89-182-dynip.superkabel.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 In-Reply-To: On 20.10.2011 23:27, Sam Ruby wrote: > On Tue, Oct 18, 2011 at 12:08 PM, Rob Weir wrote: >> Now, for our SVN, we need to host the actual source of the MPL >> components, since we need to build the binaries on the platforms that >> we support. And in several cases we have patches the original source. >> Is this a problem? > > That normally is highly discouraged / not allowed. Why can't the > patches be contributed back to the original projects? reasons why patches to external libraries exist include: 1) to add missing features/fix bugs. these should usually be submitable to upstream; reasons why they exist anyway: a) the patch was submitted and accepted, but OOo does not use the new release yet b) the patch was submitted but upstream is unresponsive c) the patch was submitted but upstream has NACKed it d) the patch was never submitted because upstream is dead e) the patch was never submitted upstream due to lack of time 2) to get it to build in our build system. quite often some C/C++ library does not come with a build system that works with MSVC on windows (and also OS/2), so we patch in some dmakefile to get it to build (the dmake build system requires the makefile to be in the same directory as the source files, hence the patch), and perhaps a config header. of course it does not make sense to upstream these patches. 3) the patch is actually taken from upstream, and backported to an older version. this may happen for critical bugfixes (esp. security), when there was not enough time to evaluate and test a full update to a new upstream version. a big problem in managing patches is that up until about 2 years ago, the build system could only apply a single patch to an unpacked tarball. so there are perhaps still some big patches left that contain fixes for various distinct problems from various different categories. of course, once you have a 10k-line patch like that it becomes all the more difficult to figure out what the heck it does. regards, michael