On 03/11/2012 06:34 PM, Bruce Dubbs wrote:
> 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.
>>
>> /etc/bash_completion.d
>
> I really dislike this one.  It's not a configuration file, it is a
> library file. The user/admin will never change these entries.  Ant I
> don't like the implementation anyway because bash puts everything in the
> environment.  In Fedora, the environment is almost 10000 lines long
> instead of about 70.

Do note, these are just sh files for bash completion. Unless you source 
them in /etc/profile or /etc/bash.bashrc, they won't get added. Also, 
you can disable installations of same.

>
>> /etc/dbus-1
>> /etc/xdg
>
> I can see a /etc/gnome directory as a reasonable location for all the
> files below.  /etc/gdm is OK since it really transcends gnome and
> applies (or can apply) to all window managers.  Versions of /etc/gnome
> is not needed.

People assume --sysconfdir is /etc and those files should be in /etc ... 
If they wanted to put everything into /etc/gnome, they would done that. 
As I said, using something else than /etc for sysconfdir in gnome's case 
can be a nightmare later on. I am against it.

>
>> /etc/rygel.conf
>>
>> /etc/at-spi2
>> /etc/dconf
>> /etc/gconf
>> /etc/gdm
>> /etc/gnome-settings-daemon
>> /etc/libgda-5.0
>> /etc/sound
>>
>> 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).
>
> I do not think it is a mistake.  If building version 3.4 from version
> 3.2, you don't want to install over running programs.  We have this
> capability for Xorg, Trinity, and KDE.  It should be retained for Gnome.

Have I mentioned that using prefix other than /usr in Gnome's case leads 
to failure of several packages? If someone wants to keep two versions of 
Gnome, let them do at their own risk.

>
>> 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.
>>
>> anjuta
>> file-roller
>> gnome-color-manager
>> gtk+3
>> gnome-settings-daemon
>> nautilus
>
> I can't really comment on this.
>
>> 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.
>
> Perhaps we should make a BLFS branch for gnome 3.4 and then merge it
> into trunk when it's ready.

Agreed.

>
>> 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.
>
> I am against systemd because it is overly complex and, IMO, does not add
> anything to the BLFS environment.
>
>> gnome-control-center
>> gnome-screensaver
>> gnome-session
>> gnome-settings-daemon
>> gnome-shell
>> polkit
>>
>> 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.
>
> Then use ConsoleKit.
>
>> 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.
>
>     -- Bruce


See my reply to Andrew regarding systemd and ConsoleKit ...
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to