Calebotomy

Sunrise’s over Funtoo

Sunrise a Gentoo overlay is being added to Funtoo. So if you’ve got layman tracking sunrise and you’re using funtoo you’ll be able to delete sunrise from your overlays as I’ll be merging sunrise’s reviewed ebuilds daily.

The hardest part of the whole process was merging package.mask, use.local.desc and categories. Since this is new be on the lookout for bugs or problems.

Want to add an overlay to funtoo yourself? First, it’ll have to be a git or svn overlay. If it’s git you can skip steps involving git svn.

git svn clone uri://mysvnuri.tld

this imports an entire svn repository into git and will take a while, sunrise had import over 7000 commits. Next check to see if any changes need to be made to the structure of the overlay, in sunrise’s case it’s not branched properly… they had a subdirectory structure including reviewed and non-reviewed ebuilds, I had to remove that so the top level directory was that of a portdir for merging. if it’s already in a nice portdir format move to the next step.

start by cd-ing into your funtoo portdir checkout, then run git pull uri://mygit-svn-cloned-repo, this will attempt to merge the 2 and most likely you will have conflicts. Resolve ebuild, and changelog conflicts first, these are easiest with git mergetool, imho, but don’t try to use that to merge manifests. Instead of merging manifests just regenerate them with ebuild ebuildWithScrewedManifest digest. once you’ve resolved all conflicts run git commit. That’s it your done. you’ve now merged an overlay into your local funtoo tree. If you’d like to see it in funtoo you’ll have to talk to Dan Robbins. He’s on #funtoo on freenode regularly.

Enjoy!


Share

comments powered by Disqus