LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   Use flags and package.mask question (https://www.linuxquestions.org/questions/gentoo-87/use-flags-and-package-mask-question-795191/)

artur13 03-13-2010 03:40 PM

Use flags and package.mask question[solved]
 
Hello,
I got one question about make.conf file. I want to start buiding my system but i'm not sure if i got all use flags which are needed. I want to reach system for multimedia and dektop. I will use dual monitors. My PC is Sony Vaio VGN-NW21MF

Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="-O2 -march=i686 -pipe"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl "
EMERGE_DEFAULT_OPTS="--ask --verbose"
ACCEPT_KEYWORDS="~x86"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
VIDEO_CARDS="nvidia nv"
INPUT_DEVICES="mouse keyboard synaptics"
USE="X alsa apm acpi bash-completion -cups dbus hal doc dvd dvdr fbcon gif javascript jpeg modules mp3 mozilla mplayer ncurses nls pdf pda smp usb wifi win32codecs xinerama xulrunner xorg zlib truetype type1-fonts unicode"

I also don'y know hot to install package from stable branch to testing. I'm want to install xorg 1.6 not 1.7 and i don't know exactly how to do this. I have read about package.mask but it was mostly written ten it used to mixed stable with testing not reverse.
Thx for any help
P.S it is my first linux so please be tolerant for my little knowledge

troop 03-13-2010 04:03 PM

Quote:

I also don'y know hot to install package from stable branch to testing. I'm want to install xorg 1.6 not 1.7 and i don't know exactly how to do this.
try echo "x11-base/xorg-server x86" >> /etc/portage/package.keywords

i92guboj 03-13-2010 11:23 PM

Quote:

Originally Posted by troop (Post 3897119)
try echo "x11-base/xorg-server x86" >> /etc/portage/package.keywords

~x86 already implies x86. So adding that does nothing.

The closes you can get to my knowledge to that functionality is to mask all the versions above the latest stable one. For example, the latest stable version for gcc is 4.3.4. To stay in that version you would put this in /etc/portage/package.mask

Code:

>sys-devel/gcc-4.3.4
The downside is that you will have to monitor this manually and adjust your package.mask file each time a new gcc version goes stable.

artur13 03-19-2010 04:44 AM

Ok4 thx for help but how i can check the exactly version of package and how i can list the all flags which are avaliable to x package?
Thx in advance
Artur

i92guboj 03-19-2010 05:14 AM

Quote:

Originally Posted by artur13 (Post 3904307)
Ok4 thx for help but how i can check the exactly version of package

Mask sys-devel/gcc, then unmask sys-devel/gcc-<version>.

Quote:

and how i can list the all flags which are avaliable to x package?
Thx in advance
Artur
Code:

equery u <package-name>
The equery tool is part of app-portage/gentoolkit.

d2_racing 03-20-2010 11:21 PM

Are you sure that you want to install a 32 bits distro when your CPU can handle Gentoo in 64 bits ?

artur13 03-22-2010 09:43 AM

Sorry for late response. I guess yes I am a bloody dummy and AFAIK 32 bits make less problems than 64 bits and more software is available under 32 bits. I even can't get portage to work and if i don't do that i will have to ask again...
P.S It seems that gentoo is too hard for now. Maybe later on I will give another shoot. Anyway thx for help.
Best regards
Artur


All times are GMT -5. The time now is 08:35 AM.