From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E4MIk-0003sd-MR for garchives@archives.gentoo.org; Sun, 14 Aug 2005 17:29:39 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7EHRugK010757; Sun, 14 Aug 2005 17:27:56 GMT Received: from smtp2.iway.na (smtp2.iway.na [196.44.136.4]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7EHKvJ4014296 for ; Sun, 14 Aug 2005 17:20:58 GMT Received: from vscan.iway.na ([196.44.136.13]) by smtp2.iway.na (Netscape Messaging Server 4.15) with ESMTP id IL85M101.32J for ; Sun, 14 Aug 2005 18:20:25 +0000 Received: from mx2.iway.na ([196.44.136.13]) by vscan.iway.na (Netscape Messaging Server 4.15) with ESMTP id IL82VE01.FR4 for ; Sun, 14 Aug 2005 18:21:14 +0100 Received: from uwix.alt.na ([196.44.132.142]) by mx2.iway.na (Netscape Messaging Server 4.15) with ESMTP id IL82VF01.51Z for ; Sun, 14 Aug 2005 18:21:15 +0100 Received: from uwe by uwix.alt.na with local (Exim 4.50) id 1E4M6W-0001KA-A5 for gentoo-user@lists.gentoo.org; Sun, 14 Aug 2005 18:17:00 +0100 From: Uwe Thiem Organization: SysEx (Pty) Ltd. To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Locale definition for OpenOffice Date: Sun, 14 Aug 2005 18:17:00 +0100 User-Agent: KMail/1.8.1 References: <200508141216.52170.uwix@iway.na> <42FF308E.1060305@planet.nl> In-Reply-To: <42FF308E.1060305@planet.nl> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508141817.00072.uwix@iway.na> Sender: Uwe Thiem X-Archives-Salt: 33f6763f-8e6e-442d-96a1-988bd825cc0b X-Archives-Hash: 67efda15cf99356c243fef3646b8ef18 On 14 August 2005 12:52, Holly Bostick wrote: > Uwe Thiem schreef: > > Hi folks, > > > > I am in the process of writing the locale definition for Namibia for > > OpenOffice. Before I submit it, I'd like to test it locally. I thought of > > doing it this way: > > > > Untar OOo_1.1.4_source.tar.gz manually. > > Add my locale definition to resulting source tree. > > Hack the Makefile in that directory (seems easy enough). > > Tar everything up again and mv it to /usr/portage/distfiles. > > Emerge OO again. > > > > Certainly I have to adjust some checksums before emerging it again. When > > I do a "md5sum /usr/portage/distfiles/OOo_1.1.4_source.tar.gz" (before > > changing anything, of course), the resulting checksum does not match any > > of those in the Manifest. I am unsure now what I have to adjust. The only > > file I am going to change is the tarball itself. Anybody to the rescue? > > ;-) > > > > Uwe > > First of all, I would suggest copying the original ebuild to > /usr/local/portage/app-office/openoffice (or wherever you keep your > overlay), along with any files in the /files folder (and the folder > itself) in Portage (so if the build is normally patched by Gentoo, those > patches are available to the overlay build as well). > > I would then revise the ebuild to change the name to something that > specifies that this is your ebuild and not the one in portage > (openoffice-1.1.4-ut, or whatever. IIrc, you also have to edit the > header of the ebuild to conform with the new name, and possibly also the > 'name' of the tarball within the ebuild, if you change the tarball name). > > Tar up your revised source (you might have to/want to name it > OOo_1.1.4_source-ut.tar.gz, which wouldn't be a bad idea in any case) in > /usr/portage/distfiles. > > Then digest the overlay ebuild with > > ebuild > /usr/local/portage/app-office/openoffice/openoffice-1.1.4-ut.ebuild digest > > This will create a manifest using the newly-generated checksum for your > ebuild and tarball. > > Emerge OOo normally-- since your ebuild is newer than the one in > Portage, it should be the one emerged. > > These instructions should be generally valid, but possibly inexact, > since I don't do this that often, but I've done it often enough to > generally remember how it's done when necessary. > > Of course all this pre-supposes that you have an overlay set up in your > /etc/make.conf, but I would imagine that you do, if you're making these > sort of adjustments for upstream programs. I usually don't but have no choice with OO, need a couple of settings. Nonetheless, I do have an overlay from the days when deltup was not in portage. So I am lucky here. Anyway, thanks a lot, Holly! Uwe -- 95% of all programmers rate themselves among the top 5% of all software developers. - Linus Torvalds http://www.uwix.iway.na (last updated: 20.06.2004) -- gentoo-user@gentoo.org mailing list