On June 26, 2019 8:59:35 PM CDT, hykwok1--- via blfs-dev 
<[email protected]> wrote:
>1. Xinit 1.4.1
>
>Can anyone expain why we have to use the parameter
>"--with-xinitdir=/etc/X11/app-defaults" for Xinit?
>

Not sure what happened to my earlier response, but this dates back to 2007. 
Once upon a time, XFree86, and later Xorg, were distributed as a single 
package. When that one package became ~250, I tried to mimic the layout of the 
monolithic build as closely as possible. This is one of those that had hung 
around.

>That's because I find that the folder "/etc/X11/app-defaults/xinitrc.d"
>is not created while some applications will install thier "sh" files to
>"/etc/X11/xinit/xinitrc.d". As a result, those "sh" files will not be
>read by Xinit program.
>

To be honest, this is the first time I'd heard of an app-defaults.d directory. 
I generally lean toward using .d directories when possible, so probably a good 
idea, but how are the files sourced? Is this a function of xinit, or do we need 
to source them manually from the default xinitrc (and personal ones?)? 
Additionally, I don't particularly like the unnecessary change for xinit 
subdirectory. The directory, as in the book should probably stay - as mentioned 
above, this is somewhat of a staple, at least for longtime users. The packages 
that aren't pulling from pkg-config should be fixed upstream, and patched or 
configured locally until those patches land in a release.

>2. Qt
>
>The instruction "cat >> /etc/ld.so.conf << EOF" can be changed to "cat
>> /etc/ld.so.conf.d/qt5.conf".
>

Not as the book is now. ld.so.conf.d is optional, so it can't be a direct 
dependency in the book. In general, .d directories are cleaner especially in 
the context of slowly building a system, so I'm on board with making it not 
optional, but there might be some resistance. Anybody else want to chime in?

>3. KDE Frameworks 5 Pre-installation Configuration 
>
>In the section "Installing in /opt", I think the follow lines are
>missing for the file "/etc/profile.d/qt5.sh":
>
>pathappend /usr/lib/qt5/plugins    QT_PLUGIN_PATH
>pathappend /usr/lib/qt5/qml        QML2_IMPORT_PATH
>
>Also, it is better to add the following line in the "sh" file:
>
>pathappend $QT5DIR/plugins/kcms        QT_PLUGIN_PATH
>
>That's because KDE application "sytemsetting5" will report "the plugin
>kcm_xxxxxx was not found" if the above setting is not set.

Not seen this, but Gnone is my primary environment.

-- DJ



-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to