Добавлены шаблоны xfce-base

xfce-base/exo
xfce-base/libxfce4ui
xfce-base/thunar
xfce-base/xfce4-appfinder
xfce-base/xfce4-panel
xfce-base/xfce4-session
xfce-base/xfdesktop
master
parent 6fbeedefd9
commit 8ce8a814bb

@ -52,6 +52,7 @@ merge/sys-apps/portage/syncmodule/calculate содержит код, котор
Обрабатывается ли корректно параметр name='' Обрабатывается ли корректно параметр name=''
Проверить сравнение с версией в dracut 048 Проверить сравнение с версией в dracut 048
Перенести шаблон nginx.conf в live, так как там используется main.hr.cpu.num Перенести шаблон nginx.conf в live, так как там используется main.hr.cpu.num
./uca.xml - проверить переводы строк с учётом {%-
---Учесть при внедрении--- ---Учесть при внедрении---
Удалены шаблоны для plymouth 0.9.4, учесть возможность того, что останутся устаревшие версии Удалены шаблоны для plymouth 0.9.4, учесть возможность того, что останутся устаревшие версии

@ -0,0 +1 @@
{% calculate append='skip' %}

@ -0,0 +1 @@
{% calculate append='skip', package='xfce-base/exo' %}

@ -0,0 +1 @@
{% calculate path='/usr/share' %}

@ -0,0 +1,5 @@
{% calculate format='kde' %}
# Hide icon
[Desktop Entry]
OnlyShowIn=X-NeverShowThis;

@ -0,0 +1,5 @@
{% calculate format='kde' %}
# Hide icon
[Desktop Entry]
OnlyShowIn=X-NeverShowThis;

@ -0,0 +1,5 @@
{% calculate format='kde' %}
# Hide icon
[Desktop Entry]
OnlyShowIn=X-NeverShowThis;

@ -0,0 +1,5 @@
{% calculate format='kde' %}
# Hide icon
[Desktop Entry]
OnlyShowIn=X-NeverShowThis;

@ -0,0 +1 @@
{% calculate path='/usr/share/xfce4' %}

@ -0,0 +1,15 @@
[Desktop Entry]
Name=Chromium
Comment=Open-source version of Google Chrome web browser
Exec=chromium %U
TryExec=chromium
Icon=chromium-browser
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;
Categories=Network;WebBrowser;
X-XFCE-Category=WebBrowser
X-XFCE-Commands=chromium
X-XFCE-CommandsWithParameter=chromium "%s"
Type=X-XFCE-Helper
X-XFCE-Category=WebBrowser
X-XFCE-Commands=chromium
X-XFCE-CommandsWithParameter=chromium "%s"

@ -0,0 +1 @@
{% calculate path='/etc/xdg/xfce4/xfconf', name='xfce-perchannel-xml', package='xfce-base/libxfce4ui' %}

@ -0,0 +1,3 @@
{% calculate format='regex' %}
<reg>\n.*Primary.*Alt.*Delete.*lock.*</reg>
<text></text>

@ -0,0 +1 @@
{% calculate path='/etc/xdg', name='Thunar', package='xfce-base/thunar' %}

@ -0,0 +1,3 @@
{% calculate format='kde', path='/usr/share/applications' %}
[Desktop Entry]
Categories=Utility;Core;GTK;Filesystem;

@ -0,0 +1,3 @@
{% calculate format='kde', path='/usr/share/applications' %}
[Desktop Entry]
Categories=System;

@ -0,0 +1,25 @@
{% calculate format='regex', comment='xml' %}
<reg>&lt;/action&gt;
( &lt;action&gt;
&lt;icon&gt;edit-find&lt;/icon&gt;
&lt;patterns&gt;*&lt;/patterns&gt;
&lt;name&gt;Search&lt;/name&gt;
&lt;name xml:lang="ru"&gt;Поиск&lt;/name&gt;
&lt;command&gt;catfish --fileman=thunar --path=%f&lt;/command&gt;
&lt;description&gt;find files or filders&lt;/description&gt;
&lt;description xml:lang="ru"&gt;найти файлы и папки&lt;/description&gt;
&lt;directories/&gt;
&lt;/action&gt;)?
</reg>
<text>&lt;/action&gt;
{% if pkg('dev-util/catfish') %} &lt;action&gt;
&lt;icon&gt;edit-find&lt;/icon&gt;
&lt;patterns&gt;*&lt;/patterns&gt;
&lt;name&gt;Search&lt;/name&gt;
&lt;name xml:lang="ru"&gt;Поиск&lt;/name&gt;
&lt;command&gt;catfish %f&lt;/command&gt;
&lt;description&gt;find files or filders&lt;/description&gt;
&lt;description xml:lang="ru"&gt;найти файлы и папки&lt;/description&gt;
&lt;directories/&gt;
&lt;/action&gt;
{% endif %}</text>

@ -0,0 +1 @@
{% calculate path='/usr/share', name='applications', package='xfce-base/xfce4-appfinder' %}

@ -0,0 +1,4 @@
{% calculate format='kde' %}
[Desktop Entry]
NoDisplay=true

@ -0,0 +1 @@
{% calculate append='skip', package='xfce-base/xfce4-panel', pkg('x11-themes/calculate-icon-theme') >= '14-r6' %}

@ -0,0 +1 @@
{% calculate path='/usr/share/icons', name='hicolor' %}

@ -0,0 +1 @@
{% calculate append='link', path='/usr/share/icons/hicolor/symbolic/apps', source='/usr/share/pixmaps/calculate/start-here-blue.svg', mirror %}

@ -0,0 +1 @@
{% calculate append='skip', package='xfce-base/xfce4-session' %}

@ -0,0 +1,4 @@
{% calculate format='kde', path='/usr/share/xsessions' %}
[Desktop Entry]
Name[ru]=Сеанс Xfce

@ -0,0 +1,4 @@
{% calculate format='kde', path='/usr/share/applications' %}
[Desktop Entry]
Categories=X-XFCE;X-Xfce-Toplevel;

@ -0,0 +1,66 @@
{% calculate path='/usr/bin', chmod='755', chown='root:root' %}
#!/bin/sh
#
# xfce4
#
# Copyright (C) 1999, 2003 Olivier Fourdan (fourdan@xfce.org)
# Copyright (C) 2011 Guido Berhoerster (guido+xfce.org@berhoerster.name)
# Copyright (C) 2011 Jarno Suni (8@iki.fi)
# Copyright (C) 2013 Mir Calculate (support@calculate-linux.ru)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
PATH=/bin:/usr/bin
export PATH
# spawn xflock4 before suspend contains DISPLAY without dot symbol
# wait several seconds before the dm-tool running if it's the suspend
SLEEPCMD=:
[ "${DISPLAY}" == "${DISPLAY/./}" ] && SLEEPCMD="sleep 2"
# lock screen by gnome-screensaver and activate lightdm user switch
if type dm-tool &>/dev/null; then
if type gnome-screensaver-command &>/dev/null; then
gnome-screensaver-command --lock &>/dev/null &&
$SLEEPCMD && dm-tool switch-to-greeter &>/dev/null && exit
else
dm-tool switch-to-greeter &>/dev/null && exit
fi
fi
# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
for lock_cmd in \
"xscreensaver-command -lock" \
"gnome-screensaver-command --lock"
do
$lock_cmd >/dev/null 2>&1 && exit
done
# else run another access locking utility, if installed
for lock_cmd in \
"xlock -mode blank" \
"slock"
do
set -- $lock_cmd
if command -v -- $1 >/dev/null 2>&1; then
$lock_cmd >/dev/null 2>&1 &
# turn off display backlight:
xset dpms force off
exit
fi
done
# else access locking failed
exit 1

@ -0,0 +1 @@
{% calculate append='skip', package='xfce-base/xfdesktop' %}

@ -0,0 +1,4 @@
{% calculate format='samba', path='/etc/xdg/xfce4/kiosk' %}
[xfce4-session]
!Shutdown=

@ -0,0 +1 @@
{% calculate append='remove', path='/usr/share/backgrounds/xfce' %}
Loading…
Cancel
Save