From 25f6620695890b70df7b3b4d1e485e5e45824053c0571e7918a23ff4a9ff9e44 Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Tue, 7 Jan 2025 11:40:11 +0000 Subject: [PATCH] Add Refine to the Flatpak list and remove GIMP OBS-URL: https://build.opensuse.org/package/show/devel:microos:aeon/gnome-branding-Aeon?expand=0&rev=40 --- .gitattributes | 23 +++++ .gitignore | 1 + 49-aeon.rules | 3 + 50-aeon | 2 + 50-desktop.conf | 1 + Aeon.gschema.override | 38 +++++++ COPYING | 32 ++++++ aeon-firstboot | 146 +++++++++++++++++++++++++++ aeon-firstboot.desktop | 8 ++ aeon-mig-firstboot | 60 +++++++++++ aeonwallpaper.png | 3 + distrobox-upgrade-all.service | 13 +++ distrobox-upgrade-all.timer | 12 +++ flathub.flatpakrepo | 8 ++ gnome-branding-Aeon.changes | 183 ++++++++++++++++++++++++++++++++++ gnome-branding-Aeon.spec | 144 ++++++++++++++++++++++++++ vendor.conf | 2 + wallpaper-branding-Aeon.xml | 10 ++ 18 files changed, 689 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 49-aeon.rules create mode 100644 50-aeon create mode 100644 50-desktop.conf create mode 100644 Aeon.gschema.override create mode 100644 COPYING create mode 100644 aeon-firstboot create mode 100644 aeon-firstboot.desktop create mode 100644 aeon-mig-firstboot create mode 100644 aeonwallpaper.png create mode 100644 distrobox-upgrade-all.service create mode 100644 distrobox-upgrade-all.timer create mode 100644 flathub.flatpakrepo create mode 100644 gnome-branding-Aeon.changes create mode 100644 gnome-branding-Aeon.spec create mode 100644 vendor.conf create mode 100644 wallpaper-branding-Aeon.xml diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/49-aeon.rules b/49-aeon.rules new file mode 100644 index 0000000..1c48165 --- /dev/null +++ b/49-aeon.rules @@ -0,0 +1,3 @@ +polkit.addAdminRule(function(action, subject) { + return ["unix-group:wheel"]; +}); diff --git a/50-aeon b/50-aeon new file mode 100644 index 0000000..bac7585 --- /dev/null +++ b/50-aeon @@ -0,0 +1,2 @@ +Defaults:%wheel !targetpw +%wheel ALL = (root) ALL diff --git a/50-desktop.conf b/50-desktop.conf new file mode 100644 index 0000000..d39c2d2 --- /dev/null +++ b/50-desktop.conf @@ -0,0 +1 @@ +REBOOT_METHOD=notify diff --git a/Aeon.gschema.override b/Aeon.gschema.override new file mode 100644 index 0000000..fad2c75 --- /dev/null +++ b/Aeon.gschema.override @@ -0,0 +1,38 @@ +[org.gnome.software] +install-bundles-system-wide = false +enable-repos-dialog = false + +[org.gnome.shell] +favorite-apps=['org.mozilla.firefox.desktop', 'org.gnome.Software.desktop', 'org.gnome.Nautilus.desktop'] + +[org.gnome.desktop.interface] +accent-color='green' +color-scheme='prefer-dark' +clock-show-weekday=true +show-battery-percentage=true +font-antialiasing='rgba' + +[org.gnome.desktop.background] +picture-uri='file:///usr/share/wallpapers/aeonwallpaper.png' +picture-uri-dark='file:///usr/share/wallpapers/aeonwallpaper.png' + +[org.gnome.Console] +use-system-font=false +custom-font='Monospace 12' + +[org.gnome.settings-daemon.plugins.media-keys] +custom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/'] + +[org.gnome.settings-daemon.plugins.media-keys.custom-keybindings.custom0] +binding='Return' +command='kgx -e distrobox enter' +name='Distrobox Console' + +[org.gnome.settings-daemon.plugins.media-keys.custom-keybindings.custom1] +binding='Return' +command='kgx' +name='Local Console' + +[org.gnome.desktop.applications.terminal.exec-arg] +exec='kgx' +exec-arg='-e' diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..8c59347 --- /dev/null +++ b/COPYING @@ -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. + diff --git a/aeon-firstboot b/aeon-firstboot new file mode 100644 index 0000000..e2d0834 --- /dev/null +++ b/aeon-firstboot @@ -0,0 +1,146 @@ +#!/bin/bash + +# SPDX-License-Identifier: MIT +# SPDX-FileCopyrightText: Copyright 2024 SUSE LLC +# SPDX-FileCopyrightText: Copyright 2024 Richard Brown +# SPDX-FileCopyrightText: Copyright 2024 Raymond Yip + +installFlatpakRepo(){ + /usr/bin/flatpak remote-add --user --if-not-exists flathub /usr/share/aeon/flathub.flatpakrepo + if [ "$?" != 0 ] ; then + zenity --error \ + --text="Adding Flathub Repo Failed" + exit 1 + fi +} + +installFlatpakPackage(){ + /usr/bin/flatpak install --user --noninteractive flathub $1 + if [ "$?" != 0 ] ; then + zenity --error \ + --text="Installing $1 Failed" + exit 1 + fi +} + +waitforNet(){ +until /usr/bin/curl -s --max-time 5 https://flathub.org > /dev/null; do sleep 1; done +} + +defaultOptions() { + pkgs=("org.mozilla.firefox" "org.gnome.Calculator" "org.gnome.TextEditor") +} + +customizeOptions() { + #User has decided to customize their installed flatpaks + selection=$(zenity --list --width=1000 --height=1025 --title="Choose software to install" \ + --text="Select which software you would like to install\nMore software can be found in the Software App" \ + --checklist --column="" --column="AppName" --column="Application" --column="Description" \ + --hide-column=2 \ +TRUE org.mozilla.firefox "Mozilla Firefox" "Default Web Browser" \ +TRUE org.gnome.TextEditor "Text Editor" "Basic Text Editor" \ +TRUE app.devsuite.Ptyxis "Ptyxis" "Advanced Terminal Emulator" \ +TRUE page.tesk.Refine "Refine" "Tweak advanced settings in GNOME" \ +FALSE com.mattjakeman.ExtensionManager "Extension Manager" "Shell Extensions Manager" \ +FALSE com.github.tchx84.Flatseal "Flatseal" "Application Permissions Manager" \ +FALSE com.valvesoftware.Steam "Steam" "Steam Games Launcher" \ +FALSE org.gnome.Papers "Papers" "Document & PDF Viewer" \ +FALSE org.gnome.Loupe "Image Viewer" "Basic Image Viewer" \ +FALSE org.gnome.gThumb "gThumb" "Advanced Image Viewer" \ +FALSE org.gnome.Showtime "Showtime" "Basic Video Player" \ +FALSE io.github.celluloid_player.Celluloid "Celluloid" "Advanced Video Player" \ +FALSE org.telegram.desktop "Telegram Desktop" "Telegram Messaging Client" \ +FALSE org.libreoffice.LibreOffice "LibreOffice" "LibreOffice Office Suite" \ +FALSE org.gnome.Builder "Builder" "Graphical IDE" \ +FALSE io.github.dvlv.boxbuddyrs "BoxBuddy" "Distrobox Container Manager" \ +FALSE org.gnome.Boxes "Boxes" "Virtualisation" \ +FALSE org.gnome.World.PikaBackup "Pika Backup" "Basic Backup Tool" \ +FALSE org.gnome.SimpleScan "Document Scanner" "Basic Document Scanner" \ +) + #the above command outputs pipe-delimeted lists of all the flathub app names people chose..eg + #org.mozilla.firefox|org.gnome.Calculator|org.gnome.TextEditor|com.github.tchx84.Flatseal|com.valvesoftware.Steam|org.telegram.desktop + #So that could be parsed to figure out the number of apps chosen and fed into flatpak —user —noninteractive flathub and allow people to pick what they install on first boot + if [[ -z "${selection}" ]]; then + #if cancel is pressed, $custom variable is empty so we go back to use the default options + defaultOptions + else + IFS='|' read -a pkgs <<< "$selection" + fi +} + +firstMSG() { + #Insert Welcome message here + zenity --question --icon=distributor-logo-Aeon-symbolic --no-wrap --title 'Welcome to openSUSE Aeon' \ + --text 'Almost done, there is one last step\n\nWe need to download some applications to get you started\n\nYou can add more software later using the Software App' \ + --width 300 --height 300 \ + --ok-label OK \ + --cancel-label Customise + option=$? + if [ "$option" != 0 ]; then + #User wants to customize software + customizeOptions + else + #OK Button selected, running with defaults + defaultOptions + fi +} + +lastMSG() { + #Insert Welcome message here + zenity --info --icon=distributor-logo-Aeon-symbolic --no-wrap --title 'Welcome to openSUSE Aeon' \ + --text 'Congratulations!\n\nYour system is ready to be used\n\nWe hope you enjoy using openSUSE Aeon' \ + --width 300 --height 300 + rm ~/.config/autostart/aeon-firstboot.desktop +} + +detectLocale() { + if [[ ! "${LANG}" =~ ^en_ ]]; then + need_locale=${LANG} + fi + +} + +show_progress() { + ( + sleep 1 + echo "# Waiting for Internet connection" + waitforNet + while /usr/bin/pgrep -f '/usr/bin/flatpak|/usr/sbin/transactional-update|/usr/bin/pkexec' >/dev/null; do + echo "# Installing Packages" + sleep 1 + done + )| zenity --progress --title="Final Setup" --width=300 --pulsate --auto-close --no-cancel +} + +install_locale() { + pkexec sh -c "/usr/sbin/transactional-update -n run zypper -n aloc ${need_locale} && /usr/sbin/transactional-update -n apply" + if [ "$?" != 0 ] ; then + zenity --error \ + --text="Installing Locales Failed" + exit 1 + fi + for i in "$HOME/Desktop" "$HOME/Downloads" "$HOME/Templates" "$HOME/Public" "$HOME/Documents" "$HOME/Music" "$HOME/Pictures" "$HOME/Videos" + do + rmdir $i + done + rm $HOME/.config/user-dirs.dirs + rm $HOME/.config/user-dirs.locale + xdg-user-dirs-update --force +} + +run_tasks() { + waitforNet + if [[ -n "${need_locale}" ]]; then + install_locale & + fi + installFlatpakRepo + for pkg in "${pkgs[@]}"; do + installFlatpakPackage $pkg & + done +} + +detectLocale +firstMSG +run_tasks & +show_progress +lastMSG diff --git a/aeon-firstboot.desktop b/aeon-firstboot.desktop new file mode 100644 index 0000000..6731024 --- /dev/null +++ b/aeon-firstboot.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Aeon FirstBoot Setup +Comment=Sets up Aeon Correctly On FirstBoot +Exec=/usr/bin/aeon-firstboot +Icon=org.gnome.Terminal +Type=Application +Categories=Utility;System; +Name[en_GB]=startup diff --git a/aeon-mig-firstboot b/aeon-mig-firstboot new file mode 100644 index 0000000..28df9cb --- /dev/null +++ b/aeon-mig-firstboot @@ -0,0 +1,60 @@ +#!/bin/bash + +firstMSG() { + #Insert Welcome message here + zenity --info --icon=distributor-logo-Aeon-symbolic --no-wrap --title 'Welcome to openSUSE Aeon' \ + --text 'Almost done, there is one last step\n\nWe need perform some checks to make\nsure your migration has gone smoothly\n\nPlease click OK to Continue' \ + --width 300 --height 300 +} + +show_progress() { + ( + sleep 1 + echo "# Waiting for Internet connection" + waitforNet + while /usr/bin/pgrep -f '/usr/bin/flatpak|/usr/sbin/transactional-update|/usr/bin/pkexec' >/dev/null; do + echo "# Tuning Installation" + sleep 1 + done + )| zenity --progress --title="Final Setup" --width=300 --pulsate --auto-close --no-cancel +} + +installFlatpakRepo(){ + waitforNet + /usr/bin/flatpak remote-add --user --if-not-exists flathub /usr/share/aeon/flathub.flatpakrepo + if [ "$?" != 0 ] ; then + zenity --error \ + --text="Adding Flathub Repo Failed" + exit 1 + fi +} + +install_locale() { + waitforNet + pkexec sh -c "/usr/sbin/transactional-update -n run zypper -n aloc ${LANG} && /usr/sbin/transactional-update -n apply" + if [ "$?" != 0 ] ; then + zenity --error \ + --text="Installing Locales Failed" + exit 1 + fi +} + +lastMSG() { + #Insert Welcome message here + zenity --info --icon=distributor-logo-Aeon-symbolic --no-wrap --title 'Welcome to openSUSE Aeon' \ + --text 'Congratulations!\n\nYour system is ready to be used\n\nWe hope you enjoy using openSUSE Aeon' \ + --width 300 --height 300 + rm ~/.config/autostart/aeon-mig-firstboot.desktop +} + +waitforNet(){ +until /usr/bin/curl -s --max-time 5 https://flathub.org > /dev/null; do sleep 1; done +} + +firstMSG +installFlatpakRepo & +if [[ ! "${LANG}" =~ ^en_ ]]; then + install_locale & +fi +show_progress +lastMSG \ No newline at end of file diff --git a/aeonwallpaper.png b/aeonwallpaper.png new file mode 100644 index 0000000..17adc99 --- /dev/null +++ b/aeonwallpaper.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a11d2409c99be0c744360bb416bb94ac550e244752fe2d6da1aa5f3233b428e2 +size 13315529 diff --git a/distrobox-upgrade-all.service b/distrobox-upgrade-all.service new file mode 100644 index 0000000..1ec3238 --- /dev/null +++ b/distrobox-upgrade-all.service @@ -0,0 +1,13 @@ +[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 + +[Install] +WantedBy=default.target diff --git a/distrobox-upgrade-all.timer b/distrobox-upgrade-all.timer new file mode 100644 index 0000000..7034d3a --- /dev/null +++ b/distrobox-upgrade-all.timer @@ -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 diff --git a/flathub.flatpakrepo b/flathub.flatpakrepo new file mode 100644 index 0000000..7cb0ca8 --- /dev/null +++ b/flathub.flatpakrepo @@ -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+wjrQ7lzoGlZGFFrQXSs2WI0WaYHWDeCwymtohXryF8lcWQkhH8Uhf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aijwGo0ymt9MWvS9yNKMyT0JhN2/BdeOVWrHk7wXXJn/ZjpXilicXKPx4udCF76meE+6N2u/T+RYZ7fP1QMEtNZNmYDOfA6sViuPDfQSHLNbauJBo/n1sRYAsL5mcG22UDchJrlKvmK3EOADCQg+myrm8006LltubNB4wWNzHDJ0Ls2JGzQZCd/xGyVmUiidCBUrD537WdknOYE4FD7P0cHaM9brKJ/M8LkEH0zUlo73bY4XagbnCqve6PvQb5G2Z55qhWphd6f4B6DGed86zJEa/RhS diff --git a/gnome-branding-Aeon.changes b/gnome-branding-Aeon.changes new file mode 100644 index 0000000..07244d8 --- /dev/null +++ b/gnome-branding-Aeon.changes @@ -0,0 +1,183 @@ +------------------------------------------------------------------- +Sat Jan 4 20:16:38 UTC 2025 - Di Lorenzo + +- Add Refine to the Flatpak list and remove GIMP + +------------------------------------------------------------------- +Sun Dec 29 16:33:56 UTC 2024 - Richard Brown + +- Correctly populate custom-keybindings gschema structure + +------------------------------------------------------------------- +Mon Dec 9 17:57:50 UTC 2024 - Di Lorenzo + +- A more modern choice of applications in aeon-firstboot - evince -> papers; celluloid -> showtime; vlc -> celluloid + +------------------------------------------------------------------- +Wed Oct 23 08:56:36 UTC 2024 - Richard Brown + +- Change default recommended flatpaks, install Ptyxis, offer a PDF + viewer + +------------------------------------------------------------------- +Tue Oct 15 15:15:41 UTC 2024 - Richard Brown + +- Don't own /usr/etc/skel/.config (owned by filesystem pkg) + +------------------------------------------------------------------- +Tue Oct 15 12:14:47 UTC 2024 - Richard Brown + +- Configure gnome-console as default terminal, not ptyxis + +------------------------------------------------------------------- +Mon Oct 14 13:53:44 UTC 2024 - Richard Brown + +- Move skel and sudoers config for /usr/etc +- Configure new default terminal 'ptyxis' by default + +------------------------------------------------------------------- +Mon Oct 14 10:01:00 UTC 2024 - Richard Brown + +- Set Aeon's default accent-color to 'green' + +------------------------------------------------------------------- +Thu Jun 13 18:21:19 UTC 2024 - Richard Brown + +- Remove systemd hardening from distrobox-upgrade-all.service. + Prevents automatic update of containers. + +------------------------------------------------------------------- +Mon May 27 15:19:36 UTC 2024 - Richard Brown + +- Skip privacy page in gnome-initial-setup. + It doesn't currently work and we prefer geolocation disabled + by default + +------------------------------------------------------------------- +Thu May 23 20:00:38 UTC 2024 - Richard Brown + +- Wait for network for all aeon-mig-firstboot tasks + +------------------------------------------------------------------- +Thu May 23 16:05:53 UTC 2024 - Richard Brown + +- Introduce aeon-mig-firstboot to help tuneup home directories + after migration + +------------------------------------------------------------------- +Thu May 23 15:00:50 UTC 2024 - Richard Brown + +- Minor locale bugfixes and cleanup + +------------------------------------------------------------------- +Thu May 23 12:53:48 UTC 2024 - Richard Brown + +- Rewrite aeon-firstboot to be multi-threaded and install locales + (boo#1224328, boo#1213055, boo#1208869, boo#1217466, boo#1223608) + +------------------------------------------------------------------- +Thu Dec 28 14:52:59 UTC 2023 - dopice <0xdopice@protonmail.com> + +- Use cURL instead of ping for online check + +------------------------------------------------------------------- +Mon Sep 25 09:06:27 UTC 2023 - Richard Brown + +- Tune up polkit/sudo drop in permissions, require/buildrequire + sudo/polkit to avoid needing to own their drop-in folders + +------------------------------------------------------------------- +Thu Sep 7 11:40:52 UTC 2023 - Richard Brown + +- Add polkit rule to match sudo behaviour on Aeon + +------------------------------------------------------------------- +Thu Sep 7 08:18:12 UTC 2023 - Richard Brown + +- Add gnome-background-properties xml + +------------------------------------------------------------------- +Wed Sep 6 15:02:13 UTC 2023 - Richard Brown + +- Add favourite settings + +------------------------------------------------------------------- +Tue Sep 5 14:54:57 UTC 2023 - Richard Brown + +- Add distrobox-upgrade-all timer and service +- 20231005 + +------------------------------------------------------------------- +Sat Jun 17 12:41:44 UTC 2023 - Richard Brown + +- Rename to gnome-branding-Aeon +- 20230617 + +------------------------------------------------------------------- +Thu Apr 20 10:47:48 UTC 2023 - Richard Brown + +- Remove unneeded cleanup of desktop drop-in +- 20230420 + +------------------------------------------------------------------- +Wed Apr 19 16:04:49 UTC 2023 - Richard Brown + +- 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 + +- Use new transactional-update drop-in config for Desktop + notification configuration +- 20230323 + +------------------------------------------------------------------- +Thu Jan 26 12:02:13 UTC 2023 - Richard Brown + +- Correct the transactional-update reboot method for GNOME Desktop +- 20230126 + +------------------------------------------------------------------- +Fri Sep 23 16:31:32 UTC 2022 - Dario Faggioli + +- Add zenity as an hard-dep, as we need it for mod-firstboot + +------------------------------------------------------------------- +Thu Aug 4 17:21:54 UTC 2022 - Shawn Dunn + +- Add Conflicts: plasma-branding-MicroOS + +------------------------------------------------------------------- +Sat Jan 29 11:43:01 UTC 2022 - Dario Faggioli + +- fix firstboot script: we should not go over 100% as anything that is + after "echo 100", will just be ignored (currently, it was the cleanup) + +------------------------------------------------------------------- +Mon Jan 12 14:00:00 UTC 2022 - Syds Bearda + +- added an extra flatpak to Manage Extensions so a rpm based chromium or firefox browser is no longer necessary "com.mattjakeman.ExtensionManager" + +------------------------------------------------------------------- +Mon Oct 11 13:53:03 UTC 2021 - Richard Brown + +- Use "Text Editor" instead of the less-supported "gEdit" + +------------------------------------------------------------------- +Tue Apr 27 23:37:33 UTC 2021 - Michał Rostecki + +- Wait for Internet connectivity before proceeding with next steps. + Before this change, the mod-firstboot script was failing when: + * there was no network configured on the first boot (happens + when using NetworkManager, since it's not configured by YaST + during installation) + * the script started before wifi connection was properly + established +- 20210427 + +------------------------------------------------------------------- +Mon Mar 22 10:21:05 UTC 2021 - Richard Brown + +- Initial Package diff --git a/gnome-branding-Aeon.spec b/gnome-branding-Aeon.spec new file mode 100644 index 0000000..8ebdaaf --- /dev/null +++ b/gnome-branding-Aeon.spec @@ -0,0 +1,144 @@ +# +# spec file for package gnome-branding-Aeon +# +# Copyright (c) 2025 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: gnome-branding-Aeon +Summary: Aeon default settings +License: BSD-3-Clause +Group: System/GUI/GNOME +URL: http://www.gtk.org/ +Source: COPYING +Source1: Aeon.gschema.override +Source2: flathub.flatpakrepo +Source3: aeon-firstboot.desktop +Source4: aeon-firstboot +Source5: 50-desktop.conf +Source6: aeonwallpaper.png +Source7: distrobox-upgrade-all.service +Source8: distrobox-upgrade-all.timer +Source9: 50-aeon +Source10: wallpaper-branding-Aeon.xml +Source11: 49-aeon.rules +Source12: aeon-mig-firstboot +Source13: vendor.conf +BuildArch: noarch +BuildRequires: flatpak +BuildRequires: gio-branding-openSUSE +BuildRequires: gnome-initial-setup +BuildRequires: polkit +BuildRequires: sudo +BuildRequires: systemd-rpm-macros +BuildRequires: transactional-update +Requires: flatpak +Requires: gio-branding-openSUSE +Requires: gnome-initial-setup +Requires: polkit +Requires: sound-theme-freedesktop +Requires: sudo +Requires: transactional-update +Requires: zenity +Obsoletes: gnome-branding-MicroOS +Provides: gnome-branding-MicroOS +Conflicts: plasma-branding-MicroOS +Version: 20231005 +Release: 0 + +%description +This package provides Aeon defaults for GNOME settings. + +%prep +%setup -q -T -c %{name}-%{version} +cp -a %{SOURCE0} COPYING +cp -a %{SOURCE1} 30_Aeon.gschema.override +cp -a %{SOURCE2} flathub.flatpakrepo +cp -a %{SOURCE3} aeon-firstboot.desktop +cp -a %{SOURCE4} aeon-firstboot +cp -a %{SOURCE5} 50-desktop.conf +cp -a %{SOURCE6} aeonwallpaper.png +cp -a %{SOURCE7} distrobox-upgrade-all.service +cp -a %{SOURCE8} distrobox-upgrade-all.timer +cp -a %{SOURCE9} 50-aeon +cp -a %{SOURCE10} wallpaper-branding-Aeon.xml +cp -a %{SOURCE11} 49-aeon.rules +cp -a %{SOURCE12} aeon-mig-firstboot +cp -a %{SOURCE13} vendor.conf + +%build + +%install +install -d %{buildroot}%{_datadir}/glib-2.0/schemas +install -m0644 30_Aeon.gschema.override %{buildroot}%{_datadir}/glib-2.0/schemas/ +install -d %{buildroot}%{_prefix}/share/aeon +install -m0644 flathub.flatpakrepo %{buildroot}%{_prefix}/share/aeon +install -d %{buildroot}%{_prefix}%{_sysconfdir}/skel/.config/autostart +install -m0644 aeon-firstboot.desktop %{buildroot}%{_prefix}%{_sysconfdir}/skel/.config/autostart/aeon-firstboot.desktop +install -d %{buildroot}%{_bindir} +install -m0755 aeon-firstboot %{buildroot}%{_bindir}/aeon-firstboot +install -m0755 aeon-mig-firstboot %{buildroot}%{_bindir}/aeon-mig-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}%{_datadir}/wallpapers +install -m0644 aeonwallpaper.png %{buildroot}%{_datadir}/wallpapers/aeonwallpaper.png +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}%{_prefix}%{_sysconfdir}/sudoers.d/ +install -m0640 50-aeon %{buildroot}%{_prefix}%{_sysconfdir}/sudoers.d/50-aeon +install -d %{buildroot}%{_datadir}/gnome-background-properties +install -m0644 wallpaper-branding-Aeon.xml %{buildroot}%{_datadir}/gnome-background-properties/wallpaper-branding-Aeon.xml +install -d %{buildroot}%{_datadir}/polkit-1/rules.d/ +install -m0444 49-aeon.rules %{buildroot}%{_datadir}/polkit-1/rules.d/49-aeon.rules +install -d %{buildroot}%{_datadir}/gnome-initial-setup/ +install -m0644 vendor.conf %{buildroot}%{_datadir}/gnome-initial-setup/vendor.conf + +%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 +%{_datadir}/glib-2.0/schemas/30_Aeon.gschema.override +%dir %{_prefix}/share/aeon +%{_prefix}/share/aeon/flathub.flatpakrepo +%dir %{_prefix}%{_sysconfdir}/skel/.config/autostart +%{_prefix}%{_sysconfdir}/skel/.config/autostart/aeon-firstboot.desktop +%{_bindir}/aeon-firstboot +%{_bindir}/aeon-mig-firstboot +%dir %{_prefix}%{_sysconfdir}/transactional-update.conf.d +%{_prefix}%{_sysconfdir}/transactional-update.conf.d/50-desktop.conf +%dir %{_datadir}/wallpapers +%{_datadir}/wallpapers/aeonwallpaper.png +%{_userunitdir}/distrobox-upgrade-all.service +%{_userunitdir}/distrobox-upgrade-all.timer +%{_prefix}%{_sysconfdir}/sudoers.d/50-aeon +%dir %{_datadir}/gnome-background-properties +%{_datadir}/gnome-background-properties/wallpaper-branding-Aeon.xml +%{_datadir}/polkit-1/rules.d/49-aeon.rules +%{_datadir}/gnome-initial-setup/vendor.conf + +%changelog diff --git a/vendor.conf b/vendor.conf new file mode 100644 index 0000000..0439f86 --- /dev/null +++ b/vendor.conf @@ -0,0 +1,2 @@ +[pages] +skip=privacy diff --git a/wallpaper-branding-Aeon.xml b/wallpaper-branding-Aeon.xml new file mode 100644 index 0000000..108ade5 --- /dev/null +++ b/wallpaper-branding-Aeon.xml @@ -0,0 +1,10 @@ + + + + + /usr/share/wallpapers/aeonwallpaper.png + zoom + openSUSE Aeon + + +