osc copypac from project:home:sfalken:kalpa package:plasma-branding-Kalpa revision:6
OBS-URL: https://build.opensuse.org/package/show/devel:microos:kalpa/plasma-branding-Kalpa?expand=0&rev=1
This commit is contained in:
commit
9923f4ace1
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
3
49-kalpa.rules
Normal file
3
49-kalpa.rules
Normal file
@ -0,0 +1,3 @@
|
||||
polkit.addAdminRule(function(action, subject) {
|
||||
return ["unix-group:wheel"];
|
||||
]);
|
1
50-desktop.conf
Normal file
1
50-desktop.conf
Normal file
@ -0,0 +1 @@
|
||||
REBOOT_METHOD=notify
|
32
COPYING
Normal file
32
COPYING
Normal file
@ -0,0 +1,32 @@
|
||||
Copyright (c) 2021, SUSE Software Solutions GmbH.
|
||||
All rights reserved.
|
||||
|
||||
This package (other than those portions that are trademarks, logos, and trade
|
||||
dress of SUSE Software Solutions GmbH), is made available under the following terms:
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of the SUSE nor the names of its contributors may be
|
||||
used to endorse or promote products derived from this software without
|
||||
specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
20
distrobox-upgrade-all.service
Normal file
20
distrobox-upgrade-all.service
Normal file
@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=Distrobox automatic update for %I
|
||||
After=network.target
|
||||
StartLimitIntervalSec=60
|
||||
StartLimitBurst=4
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/distrobox-upgrade --all
|
||||
Restart=on-failure
|
||||
RestartSec=1
|
||||
|
||||
# Hardening
|
||||
ProtectSystem=full
|
||||
PrivateTmp=true
|
||||
SystemCallArchitectures=native
|
||||
MemoryDenyWriteExecute=true
|
||||
NoNewPrivileges=true
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
12
distrobox-upgrade-all.timer
Normal file
12
distrobox-upgrade-all.timer
Normal file
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Daily update of all distroboxes
|
||||
After=network.target local-fs.target
|
||||
|
||||
[Timer]
|
||||
OnCalendar=daily
|
||||
AccuracySec=1m
|
||||
RandomizedDelaySec=2h
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
8
flathub.flatpakrepo
Normal file
8
flathub.flatpakrepo
Normal file
@ -0,0 +1,8 @@
|
||||
[Flatpak Repo]
|
||||
Title=Flathub
|
||||
Url=https://dl.flathub.org/repo/
|
||||
Homepage=https://flathub.org/
|
||||
Comment=Central repository of Flatpak applications
|
||||
Description=Central repository of Flatpak applications
|
||||
Icon=https://dl.flathub.org/repo/logo.svg
|
||||
GPGKey=mQINBFlD2sABEADsiUZUOYBg1UdDaWkEdJYkTSZD68214m8Q1fbrP5AptaUfCl8KYKFMNoAJRBXn9FbE6q6VBzghHXj/rSnA8WPnkbaEWR7xltOqzB1yHpCQ1l8xSfH5N02DMUBSRtD/rOYsBKbaJcOgW0K21sX+BecMY/AI2yADvCJEjhVKrjR9yfRX+NQEhDcbXUFRGt9ZT+TI5yT4xcwbvvTu7aFUR/dH7+wjrQ7lzoGlZGFFrQXSs2WI0WaYHWDeCwymtohXryF8lcWQkhH8UhfNJVBJFgCY8Q6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S9yNKMyT0JhN2/BdeOVWrHk7wXXJn/ZjpXilicXKPx4udCF76meE+6N2u/T+RYZ7fP1QMEtNZNmYDOfA6sViuPDfQSHLNbauJBo/n1sRYAsL5mcG22UDchJrlKvmK3EOADCQg+myrm8006LltubNB4wWNzHDJ0Ls2JGzQZCd/xGyVmUiidCBUrD537WdknOYE4FD7P0cHaM9brKJ/M8LkEH0zUlo73bY4XagbnCqve6PvQb5G2Z55qhWphd6f4B6DGed86zJEa/RhS
|
30
kalpa-firstboot
Normal file
30
kalpa-firstboot
Normal file
@ -0,0 +1,30 @@
|
||||
#!/bin/sh
|
||||
|
||||
dbusRef=$(kdialog --title "openSUSE Kalpa Desktop Firstboot" --geometry 600x400 --progressbar "openSUSE Kalpa Desktop Firstboot" 8)
|
||||
|
||||
run_task() {
|
||||
local step="$1"
|
||||
local label="$2"
|
||||
shift 2
|
||||
|
||||
qdbus-qt5 "$dbusRef" setLabelText "$label"
|
||||
|
||||
if "$@"; then
|
||||
qdbus-qt5 "$dbusRef" Set "" value "$step"
|
||||
else
|
||||
kdialog --error "Operation Failed: $label"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
run_task 1 "Waiting for Internet connection" 'until /usr/bin/ping -q -c 1 flathub.org; do sleep 1; done'
|
||||
run_task 2 "Adding Flathub Repository" /usr/bin/flatpak remote-add --user --if-not-exists flathub /usr/share/microos-desktop/flathub.flatpakrepo
|
||||
run_task 3 "Installing Firefox" /usr/bin/flatpak install --user --noninteractive flathub org.mozilla.firefox
|
||||
run_task 4 "Installing KCalc" /usr/bin/flatpak install --user --noninteractive flathub org.kde.kcalc
|
||||
run_task 5 "Installing Ark" /usr/bin/flatpak install --user --noninteractive flathub org.kde.ark
|
||||
run_task 6 "Installing KWrite" /usr/bin/flatpak install --user --noninteractive flathub org.kde.kwrite
|
||||
run_task 7 "Setting Default Browser" kwriteconfig5 --file ~/.config/kdeglobals --group General --key BrowserApplication org.mozilla.firefox.desktop
|
||||
|
||||
run_task 8 "Cleaning up" rm -f ~/.config/autostart/kalpa-firstboot.desktop
|
||||
|
||||
qdbus-qt5 "$dbusRef" close
|
9
kalpa-firstboot.desktop
Normal file
9
kalpa-firstboot.desktop
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=Kalpa Desktop FirstBoot Setup
|
||||
Comment=Sets up Kalpa Desktop Correctly On FirstBoot
|
||||
Exec=/usr/bin/kalpa-firstboot
|
||||
Icon=org.kde.konsole
|
||||
Type=Application
|
||||
Categories=Utility;System;
|
||||
Name[en_GB]=startup
|
||||
Name[en_US]=startup
|
77
plasma-branding-Kalpa.changes
Normal file
77
plasma-branding-Kalpa.changes
Normal file
@ -0,0 +1,77 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 4 15:50:36 UTC 2023 - Shawn Dunn <sfalken@opensuse.org>
|
||||
|
||||
- Add:
|
||||
* 50-kalpa
|
||||
* 49-kalpa.rules
|
||||
- Enables new sudo rule to use userpass for sudo
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 22 15:07:31 UTC 2023 - Enrico Belleri <kilgore.trout@idesmi.eu>
|
||||
|
||||
- Simplify kalpa-firstboot
|
||||
- Add distrobox-upgrade-all.{service,timer} (from Aeon)
|
||||
- Provides plasma-branding-MicroOS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 27 16:55:30 UTC 2023 - Shawn Dunn <sfalken@opensuse.org>
|
||||
|
||||
- Rename to plasma-branding-Kalpa
|
||||
- 20230627
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 19 15:18:45 UTC 2023 - Shawn Dunn <sfalken@opensuse.org>
|
||||
|
||||
- Add Ark to default flatpak installation script (boo#1211555)
|
||||
- 20230519
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 20 10:48:13 UTC 2023 - Richard Brown <rbrown@suse.com>
|
||||
|
||||
- Remove unneeded cleanup of desktop drop-in
|
||||
- 20230420
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 19 16:04:49 UTC 2023 - Richard Brown <rbrown@suse.com>
|
||||
|
||||
- Correct location for Desktop drop-in config
|
||||
- Clean up invalid desktop drop-in file
|
||||
- 20230419
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 24 16:26:45 UTC 2023 - Richard Brown <rbrown@suse.com>
|
||||
|
||||
- Use new transactional-update drop-in config for Desktop
|
||||
notification configuration
|
||||
- 20230323
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 14 18:07:18 UTC 2023 - Shawn Dunn <sfalken@opensuse.org>
|
||||
|
||||
- Reverted prior commit, will investigate alternate method.
|
||||
* https://build.opensuse.org/request/show/1065543
|
||||
- 20230214
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 2 22:24:51 UTC 2023 - Shawn Dunn <sfalken@opensuse.org>
|
||||
|
||||
- Added kcm-about-distrorc (boo#1207873)
|
||||
* Changes kinfocenter "About" to display MicroOS logo and Link to
|
||||
MicroOS Desktop wiki, rather than Geeko and the main website.
|
||||
- 20230202
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 26 12:24:00 UTC 2023 - Syds Bearda <opensuse@syds.eu>
|
||||
|
||||
- Correct the transactional-update reboot method for KDE Desktop
|
||||
- 20230126
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 4 17:25:55 UTC 2022 - Shawn Dunn <sfalken@cloverleaf-linux.org>
|
||||
|
||||
- Add Conflicts: gnome-branding-MicroOS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 11 22:09:22 UTC 2022 - Shawn Dunn <sfalken@cloverleaf-linux.org>
|
||||
|
||||
- Removed kwrite from the flatpak installations. Kate is already in the base image.
|
111
plasma-branding-Kalpa.spec
Normal file
111
plasma-branding-Kalpa.spec
Normal file
@ -0,0 +1,111 @@
|
||||
#
|
||||
# spec file for package plasma-branding-Kalpa
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE Software Solutions GmbH
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: plasma-branding-Kalpa
|
||||
Version: 20230922
|
||||
Release: 0
|
||||
Summary: Kalpa Desktop default settings
|
||||
License: BSD-3-Clause
|
||||
Source: COPYING
|
||||
Source1: flathub.flatpakrepo
|
||||
Source2: kalpa-firstboot.desktop
|
||||
Source3: kalpa-firstboot
|
||||
Source4: 50-desktop.conf
|
||||
Source7: distrobox-upgrade-all.service
|
||||
Source8: distrobox-upgrade-all.timer
|
||||
Source9: 49-kalpa.rules
|
||||
Source10: 50-kalpa
|
||||
BuildRequires: flatpak
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: transactional-update
|
||||
Requires: flatpak
|
||||
Requires: kdialog
|
||||
Requires: libqt5-qdbus
|
||||
Requires: sound-theme-freedesktop
|
||||
Requires: transactional-update
|
||||
Conflicts: gnome-branding-MicroOS
|
||||
Provides: plasma-branding-MicroOS
|
||||
Obsoletes: plasma-branding-MicroOS
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
This package provides default configurations and applications for openSUSE Kalpa.
|
||||
|
||||
%prep
|
||||
%setup -q -T -c %{name}-%{version}
|
||||
cp -a %{SOURCE0} COPYING
|
||||
cp -a %{SOURCE1} flathub.flatpakrepo
|
||||
cp -a %{SOURCE2} kalpa-firstboot.desktop
|
||||
cp -a %{SOURCE3} kalpa-firstboot
|
||||
cp -a %{SOURCE4} 50-desktop.conf
|
||||
cp -a %{SOURCE7} distrobox-upgrade-all.service
|
||||
cp -a %{SOURCE8} distrobox-upgrade-all.timer
|
||||
cp -a %{SOURCE9} 49-kalpa.rules
|
||||
cp -a %{SOURCE10} 50-kalpa
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -d %{buildroot}%{_datadir}/kalpa
|
||||
install -m0644 flathub.flatpakrepo %{buildroot}%{_datadir}/kalpa
|
||||
install -d %{buildroot}%{_sysconfdir}/skel/.config/autostart
|
||||
install -m0644 kalpa-firstboot.desktop %{buildroot}%{_sysconfdir}/skel/.config/autostart/kalpa-firstboot.desktop
|
||||
install -d %{buildroot}%{_bindir}
|
||||
install -m0755 kalpa-firstboot %{buildroot}%{_bindir}/kalpa-firstboot
|
||||
install -d %{buildroot}%{_prefix}%{_sysconfdir}/transactional-update.conf.d
|
||||
install -m644 50-desktop.conf %{buildroot}%{_prefix}%{_sysconfdir}/transactional-update.conf.d/50-desktop.conf
|
||||
install -d %{buildroot}%{_userunitdir}
|
||||
install -m0644 distrobox-upgrade-all.service %{buildroot}%{_userunitdir}/distrobox-upgrade-all.service
|
||||
install -m0644 distrobox-upgrade-all.timer %{buildroot}%{_userunitdir}/distrobox-upgrade-all.timer
|
||||
install -d %{buildroot}%{_sysconfdir}/sudoers.d/
|
||||
install -m0640 50-kalpa %{buildroot}%{_sysconfdir}/sudoers.d/50-kalpa
|
||||
install -d %{buildroot}%{_datadir}/polkit-1/rules.d/
|
||||
install -m0444 49-kalpa.rules %{buildroot}%{_datadir}/polkit-1/rules.d/49-kalpa.rules
|
||||
|
||||
%pre
|
||||
%systemd_user_pre distrobox-upgrade-all.service
|
||||
%systemd_user_pre distrobox-upgrade-all.timer
|
||||
|
||||
%post
|
||||
%systemd_user_post distrobox-upgrade-all.service
|
||||
%systemd_user_post distrobox-upgrade-all.timer
|
||||
|
||||
%preun
|
||||
%systemd_user_preun distrobox-upgrade-all.service
|
||||
%systemd_user_preun distrobox-upgrade-all.timer
|
||||
|
||||
%postun
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%dir %{_datadir}/kalpa
|
||||
%{_datadir}/kalpa/flathub.flatpakrepo
|
||||
%dir %{_sysconfdir}/skel/.config
|
||||
%dir %{_sysconfdir}/skel/.config/autostart
|
||||
%config(noreplace) %{_sysconfdir}/skel/.config/autostart/kalpa-firstboot.desktop
|
||||
%{_bindir}/kalpa-firstboot
|
||||
%dir %{_prefix}%{_sysconfdir}/transactional-update.conf.d
|
||||
%{_prefix}%{_sysconfdir}/transactional-update.conf.d/50-desktop.conf
|
||||
%{_userunitdir}/distrobox-upgrade-all.service
|
||||
%{_userunitdir}/distrobox-upgrade-all.timer
|
||||
%dir %{_sysconfdir}/sudoers.d
|
||||
%{_sysconfdir}/sudoers.d/50-kalpa
|
||||
%{_datadir}/polkit-1/rules.d/49-kalpa.rules
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user