Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56766 - OS X keywording: best practices || getting repoman to work
Summary: OS X keywording: best practices || getting repoman to work
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: osx porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-12 01:21 UTC by Pieter Van den Abeele (RETIRED)
Modified: 2005-02-06 13:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pieter Van den Abeele (RETIRED) gentoo-dev 2004-07-12 01:21:38 UTC
There are currently two ways to set up gentoo MacOS. You can set ARCH to ppc, and ACCEPT_KEYWORDS="ppc". Then your emerge will see all the packages we keyworded for linux ppc. Many of them will fail of course. If you don't have cvs commit access yet, this is probably how you'd like mac os to be set up for you to be able to try out as many packages as possible, and commit stuff to bugzilla. You'll probably have to inject some linux packages that are provided by macos out of the box. There are other macos bugs open about it. Feel free to add your experiences to it by making comments, ...

If you set ARCH=macos and ACCEPT_KEYWORDS=macos (will be the default for the next macos installer); You'll see that some apps are not available because not keyworded. I tested some major apps myself, just saw some other developers testing some other major apps, as time progresses, you'll see more and more things become available. Emerge sync often. You'll also have to inject some packages, but a way to do it automatically will be documented with next installer. (We can still revisit the way to do this later on, but this gets us started).

As a developer with cvs access, you'll definitely want to have both arch and keywords set to macos. Create an UFS blank image (1G should suffice, 520M is not enough), checkout cvs on /Volumes/My-Cvs-image, bind mount it to /usr/portage. Just like on linux, you have to use our QA tool called repoman to interact with CVS. Repoman comes out of the box with the installer, but as you'll notice, complains about missing python readline support. To get repoman to work, emerge dev-python/readline. That will compile a Mac OS X python readline module and install it in the mac OS X python framework. Your repoman should start up fine after that. There is another small problem with repoman, you'll notice as you try to commit. Repoman has troubles determining it's location on the filesystem. The way I made it to work is to hard code your PORTDIR into it. We'll have to look into a better solution for this problem. (any takers? - the code is really simple.)
Comment 1 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-07-12 18:32:14 UTC
The new installer has ARCH="macos" and ACCEPT_KEYWORDS="macos" since most of the base system is keyworded macos. I've seen user reports about postgresql, tetex, ... if you've keyworded something macos but can't commit it, report either to the gentoo-osx@gentoo.org mailinglist or have it committed by somebody with cvs access on irc.
Comment 2 Hasan Khalil (RETIRED) gentoo-dev 2005-02-06 13:33:16 UTC
Closing out bugs that've been resolved for a while now...