Päiväcirja

Subscribe to RSS feed

Posts tagged with "gentoo"

Piping commands till it hurts

, ,

(Just to save a useful and complex construct for future reference)

List all the overlay maintainers who hasn't migrated their packages to virtual/pkgconfig:
ack --files-with-matches dev-util/pkgconfig | xargs dirname | uniq \
       | xargs -I {} grep '<name>' '{}/metadata.xml' \
       | sed 's:\s\+<name>\(.\+\)</name>:\1:' | sort -u

Yes, I use ack instead of grep, being too lazy to add all the neccessary options.

Gentoo: PostgreSQL server service fails to start, but server is running

,

If your `/etc/init.d/postgresql-8.4 start` fails after timeout, but server runs in the background unharnessed, and `/etc/init.d/postgresql-8.4 restart` fails with "Socket conflict", make sure you haven't deleted "postgres" database and recreate it in that case.

{hg, git} bisect + portage

, , , ...

Не так давно имел я счастье вляпаться в неприятную ошибочку с моим любимым awesome. Разрабы попросили сделать git bisect, чтоб найти причину косяка, но выяснилось, что просто запуском свежесобранного бинарника не отделаться. Пришлось немного подумать и сопрячь bisect и Portage.
Recently I did stumble into a annoying bug in awesome WM. Devs asked me to do git bisect in order to help fixing it, but it appeared that simple compiling and running the binary wasn't enough for reproducing it, so I though a bit and managed to couple bisecting and Portage.

Read more...

Eselect'ing xorg.conf

, ,

В ходе экспериментов с nvidia/nouveau родилась идея забабахать модуль к app-admin/eselect для удобного выбора нужного файла /etc/X11/xorg.conf. Ну и вот он. Берите, пользуйтесь, отписывайтесь на GoogleCode (или тут). Ебилд есть в оверлее rion.
While experimenting with nvidia/nouveau I've decided to write module for app-admin/eselect to eselect required /etc/X11/xorg.conf from list. So here it is. Get it, use it, report bugs in it (here or, better, open issue on GoogleCode). Ebuilds are in rion overlay.

PostgreSQL on Gentoo: split ebuilds

,

Just a note for those who looks for info on Gentoo & PostgreSQL (like I did today):
  • yes, as you might be already suspecting, PostgreSQL has been split
  • yes, there's a little howto there was one. Just install dev-db/postgresql-base (if you don't need server; also it's a dep for lots of packages, for example, those with USE="postgres") or dev-db/postgresql-server (PostgreSQL server)



Got stable now, old-style packages are masked and will be removed.