On Sun, Mar 11, 2012 at 04:44:34PM +0100, Armin K. wrote: > Hello there. Here are some Gnome recommendations. > > First and one that has been disturbing me since first time I tried to > build gnome with BLFS instructions (where I always failed, of course) is > > Let's remove $GNOME_SYSCONFDIR ... Let everything be installed in /etc, > not in /etc/gnome/version. Below is the list of directories and > configuration files that are installed in /etc by gnome packages. Do > note, I don't count packages that already specify their sysconfdir to > /etc. So if you take out first 3, because other packages will also > create them, there remain 7 directories and 1 configuration file. I am > aware that some of you think that /etc is overloaded. How can 7 > directories be too much in ~100 other dirs/files? To be honest, I always > failed for some reason when I tried to do it BLFS way, and I still don't > get the exact reason. > I much prefer /etc. For my own gnome-3 build I 'reverted' to /etc/gnome to be nearer to the book.
What concerns me is why you failed to get it to work using GNOME_SYSCONFDIR. Probably your requirements for a working gnome system are stronger than mine [ I only need startx to give me a desktop with term, browsers, help ]. If you can give us an indication what was wrong, it might help, because: there remains the 'upgrade an old gnome system' use case. We can't be sure what version of LFS, nor which version of gnome, was previously installed. Up until now, although many of us think that building a new LFS system with current packages is the way to go, there are differnet viewpoints. > > Second one is also incorrect one, and possibly a source of some errors. > Use of $GNOME_PREFIX. Why bother installing something big like Gnome in > other place than /usr or / ? There is one huge mistake, because several > packages have dbus and policykit configuration files installed in > $PREFIX/share/ but are meant to be in standard locations of DBus and > polkit, the /usr/share directory. That one leads to failure of several > packages (not the compile failure, but runtime failure). > Examples would be useful. > Third one, already mentioned several times. The use of packagekit and > gnome-packagekit. I think I've explicitly disabled every package that > can use packagekit. And as I already explained, if packagekit is present > or not, no package will look for it's presence. It will just try to > access it later via DBus/GSettings. Also, if not explicily disabled, > they will still be enabled even if packagekit is not present. Below is > list of packages that need to explicitly include --disable-packagekit. > I saw you removing these switches. I thought you would follow by removing *packagekit ;) Honestly, I have zero love for them, and I guess Wayne only included it because the gnome release managers showed gnome-packagekit as part of the release. I have no objection to removing them, but I still think it would help us understand the problem(s) if you gave an example of what bad things happen when packages try to access the non-existent DBus or gsettings files. Does the system lock up ? Does the package fail to work (e.g. hangs waiting for a response), and if so, what triggers this behaviour ? I don't see many obvious reasons why an application would be looking to a package manager, so I guess you have to do something specific to make it call package manager ? Or, is it just log messages ? > > Fourth one is about next Gnome release, 3.4. I'd volounteer to add it in > the book when it reaches it's last point release (3.4.2 at most). But, > as I already mentioned in first two recommendations, let it be in > standard paths. I've already tested everything with such instructions > with gnome 3.4 beta. Of course, new gnome release includes new packages, > but most of those packages are just split packages from other ones. Eg, > gnome-utils has been split into 5 seperate packages. > gnome-settings-daemon has split libwacom. gnome-keyring has split gcr. > And so on. Only new package that I encountered there was gnome-boxes, > and to be honest, I have no idea what it's for. I didn't even bother to > build it, since it required libvirt and at least 5 other packages. > Accessing remote or virtual systems. Google knows these things. http://live.gnome.org/Boxes Now that we've got a "full" gnome (barring hamster and packagekit), I suppose it belongs in the book. > Fifth one is also about Gnome 3.4. I think that I've also mentioned this > one, but let's revise. Gnome 3.4 has been working on replacing > ConsoleKit sessin management with systemd one. Of course, ConsoleKit can > still be used. Now, I am not sure if explicit disable of systemd is > required if you don't have it, but I had to explicitly disable systemd > usage because I already use systemd. So, if book is going to use systemd > at some point, I'd recommend using systemd instead of ConsoleKit, > because ConsoleKit is deprecated in favour of systemd, and > systemd-logind is far better and functional comparing to ConsoleKit. > Below is the list of the packages that can use systemd instead of > ConsoleKit. > My current view of systemd is that I'm not going to touch it with the proverbial barge-pole. This view might change, but it seems to me to be yet another part of moving away from the KISS principle. So, I prefer ConsoleKit although on my regular systems I have zero use for it. > > Do note, I don't want to start any war on systemd, because I've seen > several of those. This is meant just to be a notice. Also, either good > configured ConsoleKit or systemd is REQUIRED for fully functional Gnome > desktop. Without it's management of seats, many features will be > unavailable, such as shutdown/reboot functionality, disk mounting, > network managing etc. Network management is no doubt important on a portable machine. Personally, I still don't see the problem with specifying mountpoints in fstab and letting suitable user(s) mount sticks or cameras when the "disk" shows up. For shutdown and reboot, ctrl-alt-backspace followed by ctrl-alt-del / user shutdown script / Alt-SysRq-{s,u,{b,h}} work for me - it's only people using a full Desktop Environment who need the extras. > > Please note, this is just my oppinion and point of view. I ask you to > share yours so we can make something of it. I would hate if someone > writes a response on "I can use just dhclient to configure network, or > /etc/fstab to mount my disk", or rather "I hate having more than 10 > files in /etc" ... Why don't you complain about /usr/lib instead? There > are hundreds of *.la files which are not even required to be there and > everything can be done CORRECTLY without them. Note that you are not > alone out there, others will probably expect full functionality, and I > prefer functionality over filesystem cleaness, book and package > minimisation or whatever. Your move. I've given my opinion on .la files in the past. I don't build on 32-bit x86, but everywhere else that I used to build, I found that from time to time I *did* need them - usually when upgrading a package. What you have to remember is that BLFS isn't just one way to do things. Your changes to gnome-3 look good (barring reservations about the commands to disable packagekit). I *hope* to resume sorting out the implied dependencies this week (that is, if my current attempt to run the gutenprint tests ever finishes ;), but building the packages I haven't yet built is mostly deferred until I get a new machine installed. I now feel somewhat more confident that I will be able to get PAM working thanks to the changes you've made, so thank you for those. Hopefully, I'll then be able to find out why the gnome devs moved to clutter. So long as you remember not to use pre-release packages without good reason, I think you'll make a good job of updating gnome. I hope you will allow for people who build less of it than you do, and those who want to upgrade an existing system. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
