Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

ebuild with git and a special branch

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
kingfame_147
Apprentice
Apprentice
Posts: 171
Joined: Sat Oct 11, 2008 11:14 am

ebuild with git and a special branch

  • Quote

Post by kingfame_147 » Thu Sep 23, 2010 9:26 am

Hi,

I'm using the xf86-video-ati from the x11 overlay, which uses the xorg-git.

Because of a problem with those drives I would like to use a special branch from that git repository named "origin/evergreen_accel". Is there a way to edit the ebuild to get use it with that branch? Would be mutch cleaner to have it all in portage and not compiling it by myself outside of portage.

I've never created an ebuild by my own, so please don't hurt me :D



Thanks for your help!



Regards,
fame
Top
kingfame_147
Apprentice
Apprentice
Posts: 171
Joined: Sat Oct 11, 2008 11:14 am

  • Quote

Post by kingfame_147 » Thu Sep 23, 2010 3:40 pm

Hi,

I found the solution.

I copied the xf86-video-ati-9999.ebuild to my local_overlay (renamed it to 9999-r1) and added

Code: Select all

EGIT_BRANCH="evergreen_accel"
.

That's all :) This will work with other git versions, too. I didn't find any official documentation about this.


Regards,
fame
Top
chithanh
Retired Dev
Retired Dev
User avatar
Posts: 2158
Joined: Sat Aug 05, 2006 10:16 pm
Location: Berlin, Germany

  • Quote

Post by chithanh » Thu Sep 23, 2010 11:33 pm

Rather than modifying the ebuild, you can use per-package environment in /etc/portage/env
Top
kingfame_147
Apprentice
Apprentice
Posts: 171
Joined: Sat Oct 11, 2008 11:14 am

  • Quote

Post by kingfame_147 » Thu Sep 23, 2010 11:41 pm

Thanks for that hint. Works like it should. That is a better way of doing such a "hack" :)
Top
kernelOfTruth
Watchman
Watchman
User avatar
Posts: 6111
Joined: Tue Dec 20, 2005 10:34 pm
Location: Vienna, Austria; Germany; hello world :)
Contact:
Contact kernelOfTruth
Website

  • Quote

Post by kernelOfTruth » Sun May 26, 2013 11:14 am

... aaaannd resurrected :roll:



yes, great advice

also needed that change for my zfs-ebuilds for experimenting :)


even though I remember that it's also used on some overlay-embedded ebuilds I didn't now the exact line anymore ^^
https://github.com/kernelOfTruth/ZFS-fo ... scCD-4.9.0
https://github.com/kernelOfTruth/pulsea ... zer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Top
Post Reply

5 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy