Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED - how to merge xorg-drivers into system as deps
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Arthur Grandi
n00b
n00b


Joined: 19 Jan 2017
Posts: 24
Location: Stockholm

PostPosted: Wed May 23, 2018 8:29 pm    Post subject: SOLVED - how to merge xorg-drivers into system as deps Reply with quote

From: https://wiki.gentoo.org/wiki/X_server
" If xorg-drivers and/or the mesa packages are emerged directly (IE without the --one-shot option) they will be recorded in the world file and could cause future package upgrade conflicts when Portage is upgrading dependencies. It is a best practice to allow them to be merged into the system as dependencies by setting USE flags or using a graphical profile. "

My understanding is that a desktop profile is a graphical profile, but I have not been able to confirm this with the help of Google. And i can't make my mind about what USE flags to set when emerging x11-base/xorg-drivers in order to " to allow them to be merged into the system as dependencies "

Can any one help me ? If it should make any difference I am installing on a mac ibook G3. (Ati Rage 128)


Last edited by Arthur Grandi on Thu May 24, 2018 4:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 5754
Location: Room 101

PostPosted: Thu May 24, 2018 1:12 am    Post subject: Re: how to merge xorg-drivers into system as deps Reply with quote

Arthur Grandi wrote:
My understanding is that a desktop profile is a graphical profile, but I have not been able to confirm this with the help of Google. And i can't make my mind about what USE flags to set when emerging x11-base/xorg-drivers in order to "to allow them to be merged into the system as dependencies "

Arthur Grandi ... I think you mean x11-base/xorg-server, as xorg-drivers/ is a category.

Arthur Grandi wrote:
Can any one help me ? If it should make any difference I am installing on a mac ibook G3. (Ati Rage 128)

You would set VIDEO_CARDS="r128" and INPUT_DEVICES="keyboard mouse evdev synaptics" in make.conf. I'm not sure about the later, but I'm fairly sure the iBook's MOUSE_APPLETOUCH is synaptics (I expect so as this is the case with macbooks). Also you should probably set USE="xorg -glamor" on x11-base/xorg-server as I don't expect r128 will support glamor.

With the above set this should pull in x11-drivers/xf86-input-keyboard x11-drivers/xf86-input-mouse x11-drivers/xf86-input-synaptics and x11-drivers/xf86-video-r128.

HTH & best ... khay
Back to top
View user's profile Send private message
Arthur Grandi
n00b
n00b


Joined: 19 Jan 2017
Posts: 24
Location: Stockholm

PostPosted: Thu May 24, 2018 4:09 pm    Post subject: Reply with quote

Thanks Khayyam!

You gave me - in the process of answering my request - a better understanding of how meta-packages are used. It had never been quite clear to me.


This forum is great !
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 5754
Location: Room 101

PostPosted: Thu May 24, 2018 5:07 pm    Post subject: Reply with quote

Arthur Grandi wrote:
Thanks Khayyam! You gave me - in the process of answering my request - a better understanding of how meta-packages are used. It had never been quite clear to me.

Arthur Grandi ... you're welcome ... point of note however, xorg-server isn't a meta-package, what you're seeing is the result of DEPEND and the variables INPUT_DEVICES and VIDEO. The package x11-base/xorg-x11 is a meta-package ... if you wanted to compare. The former provides the xserver and the later provides a slew of packages (ie, fonts, a WM, x11-terms/xterm, x11-app's) based on useflags and DEPEND.

best ... khay
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 40808
Location: 56N 3W

PostPosted: Thu May 24, 2018 5:58 pm    Post subject: Reply with quote

Arthur Grandi,

For completeness, INPUT_DEVICES="keyboard mouse" is obsolete.
Xorg will use evdev for pointing devices and keyboards, unless you tell it not to.

They are the keyboard and mouse drivers are small, so it no hardship to build them.

To help your understanding, INPUT_DEVICES= and VIDEO_CARDS= are examples of USE flags generated by the USE expand process in the package manager.
There are many others.

You could write USE="input_device_keyboard input_devices_mouse ..." if you really wanted to but the package manager does the expansion for you.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Arthur Grandi
n00b
n00b


Joined: 19 Jan 2017
Posts: 24
Location: Stockholm

PostPosted: Mon May 28, 2018 7:19 am    Post subject: Reply with quote

Thaanks Khayyam and N Seagoon for taking time to provide me valuable extra instruction.

Khayyam :
I probably interprted the wiki´s text too literally : From: https://wiki.gentoo.org/wiki/X_server :
" If xorg-drivers and/or the mesa packages are emerged directly .... "

My interpretation was that i was going to emerge "xorg-drivers" -- so thanks for clarifying it is a category.

N Seagoon: That "keyboard mouse" did puzzle me cause i had never seen it in the hundreds of texts i have googled genom. Besides solving my doubts your commen also helped me understand that i must beguin to understand the relationship between Kernel and Portage a little better. As a beguinner i find difficulkt to have clear before me what is what, so ofteen I "feel" that UISE variables will determine the conten of My Kernel, which I thanks to you now beguin to suspect is a false assumption.

Thanks for the fantastic support guys ! Wish I had began to ask you earlier! (2 or 3 years ago !)
Back to top
View user's profile Send private message
Arthur Grandi
n00b
n00b


Joined: 19 Jan 2017
Posts: 24
Location: Stockholm

PostPosted: Wed May 30, 2018 12:54 am    Post subject: Reply with quote

Justt to let you guys know that tanks to your support Xfce4 is finally up and running again, after many months, on the old HP Pro Book 4510s, although still many issues to tackle: trim the full genkernel, find the misterious ebuilds for category xfce-extras and read the mountain of warnings it gave me. But it is up and running so far and I feel confident that I will soon be able to restart work on my ibook G3, which is the subject of another - still open - thread. :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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