Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kompilations-Optionen ohne Use-Flag - wie? [gelöst]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
bitpicker
Apprentice
Apprentice


Joined: 28 Dec 2005
Posts: 163
Location: Germany

PostPosted: Fri Jan 13, 2006 9:59 am    Post subject: Kompilations-Optionen ohne Use-Flag - wie? [gelöst] Reply with quote

Hoffentlich ist diese Frage nicht zu anfängerig... :oops:

Ich habe ein Wacom-Grafiktablett, das ich in gimp benutzen will. Dazu muss ich gtk+ mit der Option --with-xinput=xfree konfigurieren und kompilieren. Nun gibt es für diese Option aber kein USE-Flag. Was muss ich tun, damit ich die Option trotzdem übergeben kann?

Robin


Last edited by bitpicker on Fri Jan 13, 2006 10:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Fri Jan 13, 2006 11:04 am    Post subject: Reply with quote

1. Ein portage overlay anlegen
Code:

$ mkdir /usr/local/portage-overlay
$ echo 'PPORTDIR_OVERLAY="/usr/local/portage-overlay" ' >> /etc/make.conf

2. In deinem Overlay die benötigten Kategorien anlegen und das ebuild rein kopieren.
Code:

$ mkdir /usr/local/portage-overlay/x11-libs
$ mkdir /usr/local/portage-overlay/x11-libs/gtk+
$ cp /usr/portage/x11-libs/gtk+/<DAS_EBUILD>.ebuild /usr/local/portage-overlay/x11-libs/gtk+/

3. Das ebuild deinen Ansprüchen anpassen
Code:

$ nano /usr/local/portage-overlay/x11-libs/gtk+/<DAS_EBUILD>.ebuild

4. Digest neu berechnen etc.
Code:

$ ebuild /usr/local/portage-overlay/x11-libs/gtk+/<DAS_EBUILD>.ebuild digest

5. Installieren

Beim installieren wird automatisch die Version aus dem overlay benutzt, auch wenn im offiziellen Portage tree die gleiche Version liegt.

Mfg

Sino
Back to top
View user's profile Send private message
bitpicker
Apprentice
Apprentice


Joined: 28 Dec 2005
Posts: 163
Location: Germany

PostPosted: Fri Jan 13, 2006 10:42 pm    Post subject: Reply with quote

Danke, jetzt weiß ich wenigstens, wie das funktioniert. Anscheinend gibt es bereits zumindest die voreingestellte Option --with-xinput, allerdings ohne =xfree. Ich probier einfach beides aus, sobald ich die Treiber fürs Tablett am Laufen habe.

Robin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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