View previous topic :: View next topic |
Author |
Message |
AaronPeterson n00b
Joined: 29 Jul 2010 Posts: 1
|
Posted: Thu Jul 29, 2010 8:16 pm Post subject: portage for development |
|
|
I want to do some upstream development, When I modified the source, ebuilds would replace it all with code from packages.
Basically, I'm looking for ways to have dependencies met, and source code be editable.
I'm looking for some sort of flag that says "use my source" to build the package, some sort of edit directory/ and a build directory. It would be great if this also generated patch files.
Also looking for it to keep alternate versions readily available, so I could switch between my hacked versions that the supported versions by simple use of a command that swaps environment variables.
also looking to be able to provide this environment variable swapping and installing in individual users directories.
Portage seems like a good start..
There has to be something like this already? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54214 Location: 56N 3W
|
Posted: Thu Jul 29, 2010 9:24 pm Post subject: |
|
|
AaronPeterson,
Welcome to the forums.
You need to use your overlay. Copy the existing ebuilds of interest there, give them a higher version number than the version in the tree and tey will be used in preference to the ones in the tree. In your overlay, you can edit ebuilds, add patches or change entire source tarballs.
The contents of your overlay are not reverted by emerge --sync
See The Gentoo Handbook _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
XQYZ Apprentice
Joined: 19 Jul 2009 Posts: 231 Location: Europe
|
Posted: Thu Jul 29, 2010 9:50 pm Post subject: |
|
|
NeddySeagoon wrote: | give them a higher version number than the version in the tree |
same version number should be fine, too afair. |
|
Back to top |
|
|
|
|
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
|
|