Changeset 21a55df0 for kde/plasma5


Ignore:
Timestamp:
01/13/2024 05:50:27 PM (9 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
12.1, 12.2, gimp3, ken/TL2024, lazarus, plabs/newcss, rahul/power-profiles-daemon, trunk, xry111/for-12.3, xry111/llvm18, xry111/spidermonkey128
Children:
9fbf060
Parents:
d93c6b0
git-author:
Pierre Labastie <pierre.labastie@…> (01/13/2024 05:46:11 PM)
git-committer:
Pierre Labastie <pierre.labastie@…> (01/13/2024 05:50:27 PM)
Message:

Fix xdg-desktop-portal-kde when kde in /opt

For some reason, although XDG_DATA_DIRS contains /opt/kf5/share and
xdg-desktop-portal should use config files from XDG_DATA_DIRS,
xdg-desktop-portal-kde is not started unless the configuration files are
copied to /usr/share. Do that after building plasma (as we already fo
for the .desktop files). We don't copy but just symlink them...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kde/plasma5/plasma-all.xml

    rd93c6b0 r21a55df0  
    332332cd /usr/share/wayland-sessions/                            &amp;&amp;
    333333[ -e plasmawayland.desktop ]                               ||
    334 as_root ln -sfv $KF5_PREFIX/share/wayland-sessions/plasmawayland.desktop<!--
    335 cd $KF5_PREFIX/share/plasma/plasmoids
    336 
    337 for j in $(find -name \*.js); do
    338   as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
    339 done--></userinput></screen>
     334as_root ln -sfv $KF5_PREFIX/share/wayland-sessions/plasmawayland.desktop
     335<!-- work around a bug in xdg-desktop-portal
     336-->as_root install -dvm 755 /usr/share/xdg-desktop-portal     &amp;&amp;
     337cd /usr/share/xdg-desktop-portal/                          &amp;&amp;
     338[ -e kde-portals.conf ]                                    ||
     339as_root ln -sfv $KF5_PREFIX/share/xdg-desktop-portal/kde-portals.conf
     340as_root install -dvm 755 /usr/share/xdg-desktop-portal/portals &amp;&amp;
     341cd /usr/share/xdg-desktop-portal/portals                       &amp;&amp;
     342[ -e kde.portal ]                                              ||
     343as_root ln -sfv $KF5_PREFIX/share/xdg-desktop-portal/portals/kde.portal
     344</userinput></screen>
    340345
    341346    <para revision="sysv">
Note: See TracChangeset for help on using the changeset viewer.