From f4475c32eaa76d0bd6484008c45cd83026f3ced5 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:37:21 +0100 Subject: [PATCH] require and set breeze theme, added other requirements [release 0.15.0-5mamba;Fri Oct 16 2020] --- ...sion-0.15.0-openmamba-default-config.patch | 17 ++++++--- lxqt-session.spec | 38 +++++++++---------- 2 files changed, 30 insertions(+), 25 deletions(-) diff --git a/lxqt-session-0.15.0-openmamba-default-config.patch b/lxqt-session-0.15.0-openmamba-default-config.patch index f25f429..9b89875 100644 --- a/lxqt-session-0.15.0-openmamba-default-config.patch +++ b/lxqt-session-0.15.0-openmamba-default-config.patch @@ -1,12 +1,19 @@ ---- lxqt-session-0.15.0/config/lxqt.conf.orig 2020-10-03 19:07:55.628000000 +0200 -+++ lxqt-session-0.15.0/config/lxqt.conf 2020-10-03 19:10:04.819000000 +0200 -@@ -1,7 +1,7 @@ +diff -Nru lxqt-session-0.15.0.orig/config/lxqt.conf lxqt-session-0.15.0/config/lxqt.conf +--- lxqt-session-0.15.0.orig/config/lxqt.conf 2020-10-02 20:37:23.000000000 +0200 ++++ lxqt-session-0.15.0/config/lxqt.conf 2020-10-16 15:39:28.518000000 +0200 +@@ -1,11 +1,11 @@ [General] -theme=frost -+theme=kde-plasma - icon_theme=oxygen +-icon_theme=oxygen -single_click_activate=false ++theme=kde-plasma ++icon_theme=breeze +single_click_activate=true tool_button_style=ToolButtonTextBesideIcon [Qt] + font="Sans,11,-1,5,50,0,0,0,0,0" + doubleClickInterval=400 +-style=Fusion ++style=Breeze + wheelScrollLines=3 diff --git a/lxqt-session.spec b/lxqt-session.spec index c8d60b0..f03d3ee 100644 --- a/lxqt-session.spec +++ b/lxqt-session.spec @@ -1,6 +1,6 @@ Name: lxqt-session Version: 0.15.0 -Release: 4mamba +Release: 5mamba Summary: Tools to handle LXQt sessions Group: Graphical Desktop/Applications/Environment Vendor: openmamba @@ -42,9 +42,16 @@ Requires: lxqt-kcm-integration Requires: pcmanfm-qt Requires: lxqt-archiver Requires: qterminal -Requires: oxygen-icons5 -Requires: plasma-nm Requires: libqt5-plugins +Requires: breeze-icons +Requires: breeze +Requires: breeze-gtk +Requires: lxqt-sudo +Requires: network-manager-applet +Requires: xsettingsd +Requires: openbox +Requires: obconf-qt +Requires(post): shared-mime-info BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -57,7 +64,7 @@ Binary lxqt-leave deals with interrupting or terminating sessions. It comes with %prep %setup -q -%patch0 -p1 +#%patch0 -p1 %build %cmake -d build @@ -73,25 +80,13 @@ while read line; do echo "%lang(${bn/.*}) ${line/*-root}" >> %{name}.lang done -%posttrans -[ -e %{_sysconfdir}/gtk-3.0/settings.ini ] || { - cat > %{_sysconfdir}/gtk-3.0/settings.ini << _EOF -[Settings] -gtk-font-name=Bitstream Vera Sans Roman 9 -gtk-theme-name=Oxygen -gtk-icon-theme-name=oxygen -gtk-fallback-icon-theme=Adwaita -gtk-toolbar-style=GTK_TOOLBAR_ICONS -gtk-menu-images=0 -gtk-button-images=1 -_EOF - -} -: - %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%posttrans +update-mime-database /usr/share/mime >/dev/null 2>&1 +: + %files -f %{name}.lang %defattr(-,root,root) %{_sysconfdir}/xdg/autostart/lxqt-xscreensaver-autostart.desktop @@ -120,6 +115,9 @@ _EOF %doc AUTHORS LICENSE %changelog +* Fri Oct 16 2020 Silvan Calarco 0.15.0-5mamba +- require and set breeze theme, added other requirements + * Sun Oct 04 2020 Silvan Calarco 0.15.0-4mamba - require libqt5-plugins