forked from pool/openSUSEway
Accepting request 833814 from home:dkondratenko
- New in 0.11 release * greetd support fixes #27 * correct environment for sway session, fixes #28, bsc#1176195 - Remove old files from environment enforcing, bsc#1176195 - Add greetd support OBS-URL: https://build.opensuse.org/request/show/833814 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/openSUSEway?expand=0&rev=19
This commit is contained in:
parent
5e1bdd218a
commit
d4418562d6
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6292c68850b3948da7f901fed986c61aca6e292e0d2ad7a0cc8b11df30d04171
|
||||
size 6846
|
3
openSUSEway-0.11.tar.gz
Normal file
3
openSUSEway-0.11.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e6503204004d17cc0c664d2ea05e7b9333859c7eb0c28936d7f4aac0397d9691
|
||||
size 7674
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 11 09:43:40 UTC 2020 - Denis Kondratenko <denis.kondratenko@suse.com>
|
||||
|
||||
- New in 0.11 release
|
||||
* greetd support fixes #27
|
||||
* correct environment for sway session, fixes #28, bsc#1176195
|
||||
- Remove old files from environment enforcing, bsc#1176195
|
||||
- Add greetd support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 8 14:51:38 UTC 2020 - Denis Kondratenko <denis.kondratenko@suse.com>
|
||||
|
||||
- Add gfxboot and gfxboot-branding-openSUSE to have better boot experience
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 30 09:13:29 UTC 2020 - Denis Kondratenko <denis.kondratenko@suse.com>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%define waybar_version %(rpm -q --queryformat "%%{version}" waybar)
|
||||
|
||||
Name: openSUSEway
|
||||
Version: 0.10
|
||||
Version: 0.11
|
||||
Release: 0
|
||||
Summary: The openSUSEway desktop environment meta package
|
||||
Group: Metapackages
|
||||
@ -58,6 +58,9 @@ Requires: adwaita-qt5
|
||||
Requires: wob
|
||||
Requires: pamixer
|
||||
Requires: command-not-found
|
||||
Requires: gfxboot-branding-openSUSE
|
||||
Requires: greetd
|
||||
Requires: gtkgreet
|
||||
|
||||
%description
|
||||
This meta package aggregates openSUSEway desktop enviroment packages.
|
||||
@ -125,20 +128,27 @@ This package provides the openSUSE look and feel for waybar.
|
||||
%install
|
||||
|
||||
## openSUSEway package
|
||||
install -D -p -m 644 openSUSEway.sh %{buildroot}%{_sysconfdir}/profile.d/openSUSEway.sh
|
||||
install -D -p -m 644 .config/sway/env %{buildroot}%{_prefix}/lib/environment.d/50-openSUSEway.conf
|
||||
### qt5ct config to configure dark theme
|
||||
install -D -p -m 644 qt5ct.conf %{buildroot}/%{_sysconfdir}/xdg/qt5ct/qt5ct.conf
|
||||
install -D -p -m 644 qt5ct.conf %{buildroot}%{_sysconfdir}/xdg/qt5ct/qt5ct.conf
|
||||
### greetd as a login manager
|
||||
install -D -p -m 644 greetd/sway-config %{buildroot}%{_sysconfdir}/greetd/sway-config
|
||||
install -D -p -m 644 greetd/config.toml %{buildroot}%{_sysconfdir}/greetd/config.toml.way
|
||||
install -D -p -m 644 greetd/environments %{buildroot}%{_sysconfdir}/greetd/environments
|
||||
|
||||
## openSUSEway pattern package
|
||||
mkdir -p %{buildroot}/%{_defaultdocdir}/patterns/
|
||||
echo 'This file marks the pattern openSUSEway to be installed.' >%{buildroot}/%{_defaultdocdir}/patterns/openSUSEway.txt
|
||||
echo 'This file marks the pattern openSUSEway to be installed.' >%{buildroot}%{_defaultdocdir}/patterns/openSUSEway.txt
|
||||
|
||||
## Sway
|
||||
install -D -p -m 644 .config/sway/config %{buildroot}%{_sysconfdir}/sway/config
|
||||
install -D -p -m 644 .config/sway/env %{buildroot}%{_sysconfdir}/sway/env
|
||||
install -D -p -m 644 .config/sway/config.d/50-openSUSE.conf %{buildroot}%{_sysconfdir}/sway/config.d/50-openSUSE.conf
|
||||
|
||||
install -D -p -m 644 sway/sway-session.target %{buildroot}%{_unitdir}/sway-session.target
|
||||
install -D -p -m 644 sway/sway.service %{buildroot}%{_unitdir}/sway.service
|
||||
install -D -p -m 644 sway/sway.desktop %{buildroot}%{_datadir}/wayland-sessions/sway.desktop.brand
|
||||
install -D -p -m 755 sway/sway-run.sh %{buildroot}%{_bindir}/sway-run.sh
|
||||
|
||||
### alacritty
|
||||
# so far doesn't have special branding package and it doesn't support system wide config
|
||||
install -D -p -m 644 .config/alacritty/alacritty.yml %{buildroot}%{_sysconfdir}/alacritty/alacritty.yml
|
||||
@ -153,11 +163,36 @@ sed -i -e "s|wofi --show.*|wofi --conf=%{_sysconfdir}/wofi/config --style=%{_sys
|
||||
install -D -p -m 644 .config/waybar/config %{buildroot}%{_sysconfdir}/xdg/waybar/config
|
||||
install -D -p -m 644 .config/waybar/style.css %{buildroot}%{_sysconfdir}/xdg/waybar/style.css
|
||||
|
||||
%pre -n openSUSEway
|
||||
# bug #1176195, don't force enviroment, cleaning up old installations
|
||||
test -e %{_sysconfdir}/profile.d/openSUSEway.sh && rm %{_sysconfdir}/profile.d/openSUSEway.sh || true
|
||||
test -e %{_prefix}/lib/environment.d/50-openSUSEway.conf && rm %{_prefix}/lib/environment.d/50-openSUSEway.conf || true
|
||||
|
||||
%post -n openSUSEway
|
||||
test -e %{_sysconfdir}/greetd/config.toml && \
|
||||
mv -n %{_sysconfdir}/greetd/config.toml %{_sysconfdir}/greetd/config.toml.orig || true
|
||||
cp %{_sysconfdir}/greetd/config.toml.way %{_sysconfdir}/greetd/config.toml
|
||||
|
||||
%postun -n openSUSEway
|
||||
test -e %{_sysconfdir}/greetd/config.toml.orig && \
|
||||
mv %{_sysconfdir}/greetd/config.toml.orig %{_sysconfdir}/greetd/config.toml || true
|
||||
|
||||
%post -n sway-branding-openSUSE
|
||||
test -e %{_datadir}/wayland-sessions/sway.desktop && \
|
||||
mv -n %{_datadir}/wayland-sessions/sway.desktop %{_datadir}/wayland-sessions/sway.desktop.orig || true
|
||||
cp %{_datadir}/wayland-sessions/sway.desktop.brand %{_datadir}/wayland-sessions/sway.desktop
|
||||
|
||||
%postun -n sway-branding-openSUSE
|
||||
test -e %{_datadir}/wayland-sessions/sway.desktop.orig && \
|
||||
mv %{_datadir}/wayland-sessions/sway.desktop.orig %{_datadir}/wayland-sessions/sway.desktop || true
|
||||
|
||||
%files
|
||||
%config %{_sysconfdir}/profile.d/openSUSEway.sh
|
||||
%config %{_prefix}/lib/environment.d/50-openSUSEway.conf
|
||||
%dir %{_sysconfdir}/xdg/qt5ct/
|
||||
%config(noreplace) %{_sysconfdir}/xdg/qt5ct/qt5ct.conf
|
||||
%dir %{_sysconfdir}/greetd/
|
||||
%attr(644,greeter,greeter) %config %{_sysconfdir}/greetd/config.toml.way
|
||||
%attr(644,greeter,greeter) %config %{_sysconfdir}/greetd/sway-config
|
||||
%attr(644,greeter,greeter) %config %{_sysconfdir}/greetd/environments
|
||||
|
||||
%files -n patterns-openSUSEway
|
||||
%dir %{_defaultdocdir}/patterns
|
||||
@ -169,6 +204,10 @@ install -D -p -m 644 .config/waybar/style.css %{buildroot}%{_sysconfdir}/xdg/way
|
||||
%config %{_sysconfdir}/sway/env
|
||||
%dir %{_sysconfdir}/sway/config.d
|
||||
%config %{_sysconfdir}/sway/config.d/50-openSUSE.conf
|
||||
%{_unitdir}/sway-session.target
|
||||
%{_unitdir}/sway.service
|
||||
%{_datadir}/wayland-sessions/sway.desktop.brand
|
||||
%{_bindir}/sway-run.sh
|
||||
|
||||
%dir %{_sysconfdir}/alacritty
|
||||
%config(noreplace) %{_sysconfdir}/alacritty/alacritty.yml
|
||||
|
Loading…
Reference in New Issue
Block a user