Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Creating Patches for Ebuilds
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Tue Jul 13, 2004 2:59 am    Post subject: HOWTO: Creating Patches for Ebuilds Reply with quote

Creating Patches for Ebuilds

This guide will show you how to:

Create a patch for use with an ebuild
or
Import an existing patch you'd like to add.

Tools Needed:

  • app-portage/abeni version 0.0.18 or later


Steps to import a patch for use in an ebuild:

  1. Run 'abeni', open your ebuild.
  2. Click the save icon on the toolbar
  3. Press F1 to create a digest
  4. Select "Import patch" under the Tools menu
  5. Select the patch file



Steps to create your own patch:

  1. Run 'abeni', open your ebuild.
  2. Click the save icon on the toolbar
  3. Press F1 to create a digest
  4. Press F2 to unpack the source
  5. Select "Create patch in ${S}" under the Tools menu
  6. Select the file you want to create a patch for
  7. Edit file, save and exit.
  8. Enter name of your patch in dialog


Click the save icon and you're ready to emerge the ebuild with your patch.

Note:
The above steps will add a src_unpack() function if it isn't present already and add the appropriate "epatch <patch filename" code, inherit eutils, and copy the patch to your $FILESDIR.
Back to top
View user's profile Send private message
hurricane
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2004
Posts: 100

PostPosted: Thu Mar 01, 2012 9:36 pm    Post subject: Reply with quote

Using a graphical user interface to add a patch to an ebuild…?

DAFUQ IS WRONG WITH YOU?

Seriously… people nowadays…
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1085

PostPosted: Thu Mar 01, 2012 9:58 pm    Post subject: Reply with quote

Hilarious! you resurrected a 8 year old post with your 100. post.
Anyway, it was not just for patches, but for creating an ebuild from scratch. Not a bad idea, it was like an IDE for ebuilds.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum