Caleb Cushing's Blog Also known as XenoTerraCide

mpd overlay

I’m adding the MPD overlay courtesy of Rullzer who’s kind enough to merge and maintain it in tree. Nothing big here, just some more up to date ebuilds, and more clients for MPD.–This workby Caleb Cushingis licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

Funtoo gets the new Perl

Soon, Dan Robbins will be merging my perl-experimental branch which contains the perl-experimental overlay. This overlay contains a handful of packages, the most important of which is perl-5.10.0 which has been out for about a year now and Gentoo still hasn’t put in portage. One nuisance of the perl-experimental overlay is they don’t use changelogs which means if you want to know what’s going on with a package from this you’ll have to check out git log as well as the changelog.

Sunrise's over Funtoo

Sunrisea Gentoooverlayis 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.

Recovering from a deleted /etc

Last night I inadvertently deleted /etc and had to recover my system which was still running, and for my own sanity avoid downtime. Everything was still running when I realized what had happened so without logging out most things would continue to if I didn’t stop them.I run a mix of stable and unstable. If you are on one or the other you will probably be able to simply extract /etc from a recent tarball, I tried doing this from drobbins builds but it was ineffective.

sync target support

HereI explain why emerge –sync should return to it’s original sync form.I think emerge sync should have the ability to have a target. Currently emerge –sync has a target of the SYNC variable in make.conf or the default hardcoded. However, git support is being added to portage. git is a very powerful tool, and the Funtooproject uses it to manage it’s full portage tree. git doesn’t work like rsync, it’s not so straight forward as rsync uri, which is effectively what emerge sync is doing.

--sync should be sync

emerge sync never should have become emerge --sync, of course 2 years ago I thought it was the right thing, it isn’t though, live and learn. sync is currently an argument with the syntax of an option. What’s the difference? An argument is what the command, or executable operates on. Some examples cp file0 file1 copies file0 to file1. ls list the current working directory ls dir0 lists directory dir0 Right, so how is --sync an argument and not an option?

types of use flags

Ok so I have yet another idea for portage and other portage like package managers. actually this is probably more aimed at EAPI. Different types of USE flags. The 2 I’m thinking of off the top of my head could be described as volatile and non-volatile. Basically a use flag marked volatile means a package needs to be recompiled if it gets changed one marked non-volatile most likely just pulls in another dependency or copies files such as documentation.

Download Book, The Ruining of a Good Feature

1-3 Months ago Safari Booksfinally started allowing you to download full books in pdf. It used to be that you had to download chapters of books in pdf. This was annoying even if you had tokens to do it. Tokens are Safari Books way of making sure we aren’t pirating en masse, you get 5 tokens a month and can only keep 3 months worth. So now we can download full books how nice?

Regen2 development has officially begun

That’s right I’m putting my money where my mouth is. It’s small but the first 2 packages when into the regen2 treethis morning. They are MySQL 5.1.30 which was added because the gentoo maintainer refused to add it do to instability. I agree that it is unstable, but we have ~M Hard Masked packages for that reason. It has been added as ~M. The other app added is qsynergy, the ebuild was already on portage and I know it to be good so I added it to the tree, I’ll probably stabilize it in a few weeks.

PostgreSQL \edit and Syntax Highlighting

If you’ve ever used \edit with PostgreSQL you’ve probably noticed that it’s not using syntax highlighting that your favorite editor most likely supports. I’ve wondered why this is for a while, Postgres uses vim on my system which supports robust highlighting among other things. I had a few things suggested to me, such as setting putting settings in my .vimrc, most of which would have forced filetype=sql on files that weren’t sql, and would have been active outside of psql.