From owner-freebsd-ports@FreeBSD.ORG Wed Jun 8 05:17:09 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 851E916A41C for ; Wed, 8 Jun 2005 05:17:09 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CC1C43D49 for ; Wed, 8 Jun 2005 05:17:08 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id E5BAB11B94; Wed, 8 Jun 2005 07:21:40 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 38575-01; Wed, 8 Jun 2005 07:21:33 +0200 (CEST) Received: from cream.xbsd.org (cream.xbsd.org [192.168.42.6]) by smtp.xbsd.org (Postfix) with ESMTP id EA61E11B6E; Wed, 8 Jun 2005 07:21:32 +0200 (CEST) From: Florent Thoumie To: "Loren M. Lang" In-Reply-To: <20050607195013.GA26626@alzatex.com> References: <20050607195013.GA26626@alzatex.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-hQC+hCO+QFFqZoWjrXBX" Date: Wed, 08 Jun 2005 07:16:59 +0200 Message-Id: <1118207819.659.0.camel@cream.xbsd.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: freebsd-ports@freebsd.org Subject: Re: Breaking up a monolithic patch X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2005 05:17:09 -0000 --=-hQC+hCO+QFFqZoWjrXBX Content-Type: text/plain; charset=iso8859-15 Content-Transfer-Encoding: quoted-printable Le Mardi 07 juin 2005 =E0 12:50 -0700, Loren M. Lang a =E9crit : > I have been working on porting Cinelerra to freebsd and I currently have > one large monolithic patch that will make cinelerra compile and run on > freebsd. Now I am trying to figure out how to break it up. It looks > like the simplest method would be to break it up for each file that's > modified, then I could use the existing update-patches framework to > maintain it. But I think the better solution would be to break it up > functionally, though it's harder to maintain. I could make a series of > patches to be applied in order, where one patch would modify cinelerra > to have a customizable prefix, another would disable the linux firewire > support. This approach would make several patches that will overlap > some and touch some of the same files, but it would be more useful in > the long run. It would be easy to see what was modified to disable > firewire and figure out how to update it to use the freebsd firewire > support instead of disabling it. If I do this though, I'll probably > need to spend some time making a script to help generate the patches > appropriately. Use Tools/scripts/splitpatch force ! --=20 Florent Thoumie flz@xbsd.org --=-hQC+hCO+QFFqZoWjrXBX Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBCpn9LMxEkbVFH3PQRAiQ3AJ4yhvGzQXOSoWnPPHofjhCMR9DzOACdEhLC fzEfOCXSddaqdK2Ilnosi7M= =ggkd -----END PGP SIGNATURE----- --=-hQC+hCO+QFFqZoWjrXBX--