Loading...
This is Tikiwiki v1.10 (CVS) -Arcturus- © 2002–2007 by the Tiki community - Contact
This is a logo
Welcome to ThisCoW !
Last Images
blueproximity-pref.png

gnome-phone-manager-pref.png

gnome-phone-manager-send.png

gentoo-ebuild

Print

Ebuild and overlay stuff


Very good documentation to start with ebuild : http://devmanual.gentoo.org/

PORTDIR_OVERLAY variable in /etc/make.conf : look at http://en.gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds

Exemple with a puredata ebuild
mkdir -p /usr/local/portage/media-sound/pd
cp pd-0.39_p2.ebuild /usr/local/portage/media-sound/pd
cd /usr/local/portage/media-sound/pd
ebuild pd-0.39_p2.ebuild digest
emerge pd -vp


patch integration example
diff -urN pdp-0.12.4.orig/configure pdp-0.12.4/configure
mkdir -p /usr/local/portage/media-gfx/pdp/files
cp pdp-0.12.4-fPIC.patch /usr/local/portage/media-gfx/pdp/files
cp pdp-0.12.4.ebuild /usr/local/portage/media-gfx/pdp/files
cd /usr/local/portage/media-gfx/pdp/
ebuild pdp-0.12.4.ebuild digest


hot patching and merging
cd /var/tmp/portage/media-sound/pd-extended-9999/work/pd/src/
patch -p0 < thePatchIsendToYouThruNoPaste.patch
ebuild /usr/local/portage/media-sound/pd-extended/pd-extended-9999.ebuild install
ebuild /usr/local/portage/media-sound/pd-extended/pd-extended-9999.ebuild qmerge


Todo

  • rewrite this doc correctly
  • -fPIC stuff
  • debugging with gdb


Created by: r1. Last Modification: Monday 27 of August, 2007 21:15:00 CEST by r1.


RSS feed Wiki RSS feed Blogs RSS feed Image Galleries RSS feed File Galleries RSS feed Directories