Gentoo Linux

Zelf de broncode veranderen: Meer details: http://www.gentoo.org/doc/en/handbook/2004.2/handbook-ppc.xml?style=printable&part=3&chap=6
 * Patching source before emerge: http://forums.gentoo.org/viewtopic.php?t=5378
 * modifying source code of existing application gentoo
 * 1) ebuild myebuild fetch (if you don't have it in distfiles)
 * 2) ebuild myebuild unpack (unpacked to /var/tmp/portage/packagename/something)
 * 3) ebuild myebuild compile
 * 4) ebuild myebuild install
 * 5) ebuild myebuild qmerge

Zie verder aantekeningen in Handbook.


 * Descriptions of USE variables. gentoo.
 * Localization. gentoo.

$ emerge -p totem [ebuild  R    ] media-video/totem-2.32.0-r2 $ sudo ebuild /usr/portage/media-video/totem/totem-2.32.0-r2.ebuild fetch $ sudo ebuild /usr/portage/media-video/totem/totem-2.32.0-r2.ebuild unpack >>> Source unpacked in /var/tmp/portage/media-video/totem-2.32.0-r2/work $ cd /var/tmp/portage/media-video/totem-2.32.0-r2/ $ sudo su $ sudo ebuild /usr/portage/media-video/totem/totem-2.32.0-r2.ebuild compile $ sudo ebuild /usr/portage/media-video/totem/totem-2.32.0-r2.ebuild install   #Let op, dit installeert het alleen in een tijdelijke directory. $ sudo ebuild /usr/portage/media-video/totem/totem-2.32.0-r2.ebuild qmerge
 * 1) cd /var/tmp/portage/media-video/totem-2.32.0-r2/work/totem-2.32.0   #Let op, hier is dus nog geen revisie/gentoo-patch overheen gegaan.
 * 2) MAAK AANPASSINGEN DIE JE WIL MAKEN IN BRON CODE (PATCHEN HEET DAT)