Questions about Gentoo
Hi!
|
Quote:
Quote:
Code:
rc-service servicename start Quote:
|
TobiSGD, thanks, got your answers in both threads. :hattip:
Quote:
|
Also: is OpenCDE present in Gentoo's repositories?
|
Quote:
Quote:
|
Quote:
Quote:
|
Some bits here and there...
Regarding starting and managing services, you can just take a look at the handbook, which is the only supported method to get Gentoo installed. In that process you will learn how to do all that stuff. The default init system for Gentoo is OpenRC. However, the handbook includes a link to a separate document on how to use systemd instead (you probably don't want that, but it's there for those who do). As for Gtk+3, that entirely depends on the package, as someone said above. First, the software has to support it upstream; and then, the ebuild needs to contemplate that possibility (to choose between gtk+2 or gtk+3. Sometimes, the application doesn't have support for one or the other gtk+ version. Sometimes the ebuild doesn't offer the USE flags. The later can be solved by opening a bug report, which will get more love if it includes a patch, a modified ebuild with the USE flags, or, at least, a confirmation that it can be done (meaning that you know beforehand that that version of the application compiles against the two gtk+ versions unmodified or with trivial patches, and that you know it before you already did it and it worked ;) ). Note however that everything is moving towards gtk+3. I know first hand because I maintain myself a local overlay where I save modified ebuilds and patch things like evince, bluefish and some xfce components to keep them running with gtk+2. That can only get worse in the future unless I freeze my install and never update again. Regarding the device managing stuff, for now you can go the systemd route, the consolekit/policykit route, or even maintain a static /dev using mdev. You can find docs about all that stuff around, and the official gentoo forums are full of posts about that. I also have a patched version of bashmount that works fine with udevil, so if you are paranoid about udisks-*kit*-udev you can live without all that. For now, the default Gentoo installation will be with OpenRC, and it still uses the *kits to manage multiuser, permissions on devices and that stuff. And no, no OpenCDE there, not even in any overlay (that I know of). I am not sure it's even usable. |
Will it help to improve speed of programs if I add certain USE flags of CPU instructions globally like adding "sse sse2 sse3 ssse3 sse4_1"? And if yes, which to add aside from these?
|
Quote:
But those flags are only applicable to a very small subset of the packages (mplayer comes to mind). Note that those USE flags activate some special code paths in those programs. That is, some alternative code is used instead of the standard (generic) code path which will work for all the cpus. This is quite different from what CFLAGS with similar names do (and these days you don't need to use those anyway, usually). CFLAGS will apply to all the packages, with a few exceptions. As for which others to add, don't worry, you'll discover over time. A big part of it is to always run emerge with -va and carefully watch at the output, then ask for help if you have doubts. :) |
Quote:
|
Quote:
|
Gentoo should still have upower-0.9.23 available. I think this was the last release that was system agnostic.
|
Quote:
Most cpu flags don't have a matching USE, and some others are worded in a different way. As an example, the 'pni' cpu flag means that your cpu has sse3 support and matches the 'sse3' USE (not to be mixed with the 'ssse3' one). |
Quote:
|
Not really (that I am aware of).
However, there are not that much USEs that relate to this. I can only remember mmx, 3dnow, 3dnowext, ssse3 and all the sse* derivatives. Note that I can only speak about x86 and x86_64. No idea about other architectures. And those affect a very small subset of packages. About "pni", it stands for "prescott new instructions", honoring the first cpu that shipped that instruction set (or so I believe). It was a new version of the old sse and sse2 sets, so it was only natural that people started calling it "sse3" rather than "pni". Don't quote me on that though. It's been long since I stopped caring about all this stuff and about knowing about every single chip in the market, and wikipedia probably knows better than I do anyway ;) |
All times are GMT -5. The time now is 03:54 PM. |