>On 6/27/19 1:03 PM, Bruce Dubbs via blfs-dev wrote:
>> On 6/26/19 9:23 PM, hykwok1--- via blfs-dev wrote:
>>>>> 1. Xinit 1.4.1
>>>>> Can anyone expain why we have to use the parameter 
>>>>> "--with-xinitdir=/etc/X11/app-defaults" for Xinit?
>>>>> 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.
>>>>> 2. Qt
>>>>> The instruction "cat >> /etc/ld.so.conf << EOF" can be changed to 
>>>>> "cat > /etc/ld.so.conf.d/qt5.conf".
>>>>> 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.
>>>
>>> Sorry for the mistake.
>>>
>>> The line "pathappend $QT5DIR/plugins/kcms" should be changed to 
>>> "pathappend $KF5_PREFIX/lib/plugins/kcms        QT_PLUGIN_PATH"
>>>
>>
>>> All the files in $KF5_PREFIX/lib/plugins/kcms are libraries. Changing 
>> the PATH wouldn't normally help.
>>
>>   -- Bruce
>>
>>
>In this case, it would because it's appending to the QT_PLUGIN_PATH 
>path, not the standard user's PATH where it looks for binaries
>I've added Ticket #12206 
>(http://wiki.linuxfromscratch.org/blfs/ticket/12206#ticket) so that we 
>remember to take care of this.

I found another setting issus if KF5 is installed in "/opt":

Similar to DBus case, we have to add the following line for "Polkit" during 
"Pre-installation Configuration" stage:

ln -sfv /usr/share/polkit-1   $KF5_PREFIX/share
-- 
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