bazzite/spec_files/steamdeck-kde-presets/steamdeck-kde-presets.spec
Zeglius 62ac9424e3
chore: Bring latest changes to unstable with dnf5 (#2222)
* chore(deps): update dataaxiom/ghcr-cleanup-action action to v1.0.16

* chore(yafti): Remove scrcpy from the Bazzite Portal (#2139)

* Remove scrcpy from Bazzite Portal (desktop)

Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues.

* Remove scrcpy from Bazzite Portal (deck)

Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues.

* fix(docs): Replace offline docs build action (attempt 3) (#2112)

* fix(deck): Add new override videos to the just (#2100)

* chore(repo): Update opengraph images

* Revert "feat: Update to kernel 6.12.8-207"

This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba.

* chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Add new override videos

---------

Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(docs): Replace offline docs build action (attempt 3)

This centralizes the logic to build the docs in a single repo
(https://github.com/KyleGospo/docs.bazzite.gg) and fixes offline docs
not building

---------

Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com>
Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation (#2153)

* Revert "chore: Remove stb from fallbacks"

This reverts commit 0f6d85ef1037945c3fea3a139e06f4e8fc1d39f5.

* Revert "fix(gamescope): add more fallbacks, remove force fallback, use latest again (#2062)"

This reverts commit 06bec935d796435bb9b777f2c5bff5d0a5d85458.

* Revert "chore: Update gamescope commit"

This reverts commit 1fece8b72edcc283a6a6f1e07ff147945583dad8.

* feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation

* feat(hhd): add new legion dmi (#2154)

* chore(docs): download github-pages artifacts instead of building them (#2149)

Way simpler than relying in the docs build action across repos

* feat: more readable ujust changelogs (#2137)

* feat: more readable ujust changelogs

* fix: simplified just recipe

* feat(waydroid): add force waydroid restart shortcut (#2131)

Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com>

* feat(fixes): add toggle-i915-sleep-fix script for power-saving issues #2073) (#2145)

* feat(fixes): add toggle-i915-sleep-fix script for power-saving issues (#2073)

* chore: syntax cleanup

* chore: forgot a commented out line

* feat: add missing kargs for higher power saving

* rm DS_store

* feat: change openrazer just recipe (#2136)

* feat: change openrazer just recipe and use polychromatic and razer genie from flathub

* fix: small things on openrabtledriver recipe

* fix(virt): Enhance service setup and restrict root execution for virtualization script (#2116)

* fix(service): enhance bazzite-libvirtd-setup.service to restore SELinux context

* fix(virt): ensure user doesnt run setup-virtualization as root

* fix(virt): create /var/log/libvirt

* feat: update kvmfr selinux type enforcement rules & give qemu/libvirt access to read ISO files from users home directory when enabling virtualization (#2111)

* feat: update selinux type enforcement for kvmfr
existing setups not affected, if they complain about it appearing in the logs, all they have to do is just re-run the ujust for kvmfr

* fix: let qemu/libvirt access ISO files from users home directory when enabling virtualization

* feat: added ujust get-decky-bazzite-buddy to view changelogs in game mode (#2108)

* chore(repo): Update opengraph images

* Revert "feat: Update to kernel 6.12.8-207"

This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba.

* chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update bazzite-steam (#2099)

* feat: ujust install-bazzite-buddy to view changelogs in game mode

* fix: moved install-bazzite-buddy to deck specific just file

* fix: rename get-decky-bazzite-buddy, move to 80-bazzite.just

* remove script from 85-bazzite-image

* chore(deps): bump dataaxiom/ghcr-cleanup-action from 1.0.15 to 1.0.16 (#2124)

Bumps [dataaxiom/ghcr-cleanup-action](https://github.com/dataaxiom/ghcr-cleanup-action) from 1.0.15 to 1.0.16.
- [Release notes](https://github.com/dataaxiom/ghcr-cleanup-action/releases)
- [Commits](https://github.com/dataaxiom/ghcr-cleanup-action/compare/v1.0.15...v1.0.16)

---
updated-dependencies:
- dependency-name: dataaxiom/ghcr-cleanup-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump hhd-dev/rechunk from 1.1.1 to 1.1.2 (#2123)

Bumps [hhd-dev/rechunk](https://github.com/hhd-dev/rechunk) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/hhd-dev/rechunk/releases)
- [Changelog](https://github.com/hhd-dev/rechunk/blob/master/example_changelog.md)
- [Commits](https://github.com/hhd-dev/rechunk/compare/v1.1.1...v1.1.2)

---
updated-dependencies:
- dependency-name: hhd-dev/rechunk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(ci): Complete rechunker update

* feat: change opentabletdriver installation to flathub version (#2128)

* Revert "Merge branch 'ublue-os:main' into changelog-decky"

This reverts commit b3f692a64236166d8d9d38dab853081e2fd9376a, reversing
changes made to 315f8132600398131acd4553322fdb2a85bd031f.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com>

* fix typo (#2157)

* fix(deck): Work around Steam marking some non-deck devices as pre-release hardware

* chore: Fix patch name

* chore: Use valve script in hwsupport

* fix: Add hhd.steamos to polkit

* chore: pkexec when selecting branch

* chore: Update default wallpaper for lockscreen

* chore: Use specific version

* fix: Drop asus-firmware since it's been killed upstream

* chore(ci): Always update openldap

* chore(deps): update hhd-dev/rechunk action to v1.1.2 (#2117)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(ci): Update rechunk to 1.1.2

* feat: add rocm-smi to non-nvidia images (#2165)

* fix(deck): don't force scaling each time desktop loads (#2166)

It is now set once and not touched unless `~/.config/bazzite/fixups/scaling_fixup` is removed.

* fix: Don't allow tuned to enforce an audio timeout

* add more legion go s variants and dedup (#2175)

* feat: Update to kernel 6.12.10-202

* chore: Update mesa to 24.3.4

* chore: Update valve patch for Mesa

* chore: Downgrade mesa to 24.3.3

* fix: Drop nct6687 due to crashes on some hardware

* feat: Update kernel to 6.12.11-202

* fix: Whole github 404 page was fetched into `/etc/distrobox/incus`.ini (#2189)

Because filename changes from origin

* feat: easier troubleshooting with 'ujust get-logs', depreciate gamescope-logs (#2118)

* resolve conflicts

* chore: fix merge issues

* fix: add source to get-logs

* fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro  (#2186)

* Adding X1 Pro to the OneXPlayer block in the Kernel Arguments section to fix panel rotation.

* fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro

* fix (justfile): Add '--reinstall' flag (#2171)

This ensure us that we replace preinstalled fedora flatpaks instead of suffering collision.

Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com>

* fix (docs): Missing GH_TOKEN for pulling offline docs (#2168)

github-cli requires be given a token in order work inside github actions

Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com>

* feat: add wake on lan toggle ujust per (#1708) (#2151)

* feat: add wake on lan toggle ujust per (#1708)

* chore: fix just syntax post conflict merge

* feat: add systemd service for persistant WOL

* fix: adjusted service option description

* fix: revert option name change, parens breaks stuff

* Update 81-bazzite-fixes.just

Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com>

---------

Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com>

* feat: 'ujust ssh-toggle' to enable persistent SSH and display Hostname and IP (#2129)

* add toggle-ssh script w ugum picker

* feat: add color, improve readability

* chore: fix just syntax

* chore: remove dupe color declarations

* chore: fix bold syntax

* chore: refine syntax

* Revert "Merge branch 'ublue-os:main' into ssh-toggle"

This reverts commit c75d214c2a92d6801f76edc6d4e85e4dc52259cd, reversing
changes made to 5c7265c37e8a6f4c2b9a22e2a00b96eed52b9e18.

* Add ametrine art (#2198)

* chore(ci): delete .github/dependabot.yml (#2197)

renovate is doing this for us, removing this to avoid duplicate PRs.

* feat: add ujust get-framegen (#2208)

* feat: add get-framegen ujust groundwork

* add new ujust script file to containerfile

* feat: add ugum styling, install, uninstall, exit options

* add decky plugin opt

* chore: re-arranged options

* add status checks, ugum styling colors

* chore: lint just syntax

* chore: styling and readability

* chore: more minor spacing fixes

* fix: restore arguments, add to yafti for baz portal integration

* chore: spacing

* chore: rm linebreaks for linter

* fix: Correct path of Tuned profiles

* feat: add `kcm-fcitx5` for better integration with KDE (#2205)

* fix(ujust): fix suspend video override ujust (#2211)

Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com>

* feat: Update to kernel 6.12.11-203

* feat: Update Kernel to 6.12.11-205

* Update 80-bazzite.just (#2216)

* Plugin check again (#2215)

* fix: restore-gnome-de-settings - indent syntax, handle empty dirs, add error checks (#2217)

* fix: indent syntax, handle empty dirs, add error checks

* fix: rm set -e to fail gracefully

* chore(repo): Move ISSUE_TEMPLATE back

* fix: rm sudo -A causing plugin install to root (#2220)

* fix(Containerfile): restore stranded setup firmware step

* chore: Remove now redundant asus firmware git pull

* fix(Containerfile): Add missing escaping char

* fix(install-kernel-akmods): Use dnf5 to remove kernel

* chore(build-initramfs): Use dnf5 to query qualified kernel

* fix (install-kernel-akmods): Exclude kernel-devel and kernel-core when installing kmods

* Update install-kernel-akmods

* fix (install-kernel-akmods): remove redundant package exclusion

* Update install-kernel-akmods

* fix: remove versionlock for kernel-headers

* fix: use patched nvidia-install.sh

* fix: Nvidia repos

* fix: spelling

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch>
Co-authored-by: Pat Connors <121328689+nicknamenamenick@users.noreply.github.com>
Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com>
Co-authored-by: Antheas Kapenekakis <5252246+antheas@users.noreply.github.com>
Co-authored-by: JSON Derulo <136133082+xXJSONDeruloXx@users.noreply.github.com>
Co-authored-by: Aarron Lee <lee.aarron.c@gmail.com>
Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com>
Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com>
Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Girón <contacto@duhowpi.net>
Co-authored-by: Jorge O. Castro <jorge.castro@gmail.com>
Co-authored-by: COxDE <63153334+coxde@users.noreply.github.com>
Co-authored-by: pk-kampanart <43566401+pk-kampanart@users.noreply.github.com>
Co-authored-by: Jay <42806800+jRob2k@users.noreply.github.com>
Co-authored-by: Valerie <155010216+valerie-tar-gz@users.noreply.github.com>
Co-authored-by: m2 <69128853+m2Giles@users.noreply.github.com>
2025-02-02 21:57:34 -08:00

123 lines
4.8 KiB
RPMSpec

%define packagename steamdeck-kde-presets
%define packagever 0.23
%global _default_patch_fuzz 2
Name: steamdeck-kde-presets
Version: {{{ git_dir_version }}}
Release: 1%{?dist}
Summary: KDE Presets from Valve's SteamOS 3.0
License: GPLv2
URL: https://github.com/ublue-os/bazzite
Source0: https://gitlab.com/evlaV/%{packagename}/-/archive/%{packagever}/%{packagename}-%{packagever}.tar.gz
Source1: steamdeck-le.svg
Source2: bazzite_logo.svgz
Source3: metadata_vapor.json
Source4: metadata_vgui2.json
Source5: plasmarc
BuildArch: noarch
Patch0: fedora.patch
Patch1: nested-desktop-resolution.patch
Patch2: kdeglobals.patch
Patch3: bazzite_logo.patch
Patch4: ublue.patch
Patch5: wayland-remove-env.patch
Patch6: splash.patch
Requires: kde-filesystem
Conflicts: steamdeck-kde-presets-desktop
Conflicts: steamdeck-backgrounds
Conflicts: steameck-gnome-presets
%description
KDE Presets from Valve's SteamOS 3.0
# Disable debug packages
%define debug_package %{nil}
%prep
%autosetup -p1 -n %{packagename}-%{packagever}
%build
%install
mkdir -p %{buildroot}%{_datadir}/
mkdir -p %{buildroot}%{_bindir}/
mkdir -p %{buildroot}%{_prefix}/lib/
mkdir -p %{buildroot}%{_sysconfdir}/
cp -rv usr/share/* %{buildroot}%{_datadir}
cp -rv usr/bin/* %{buildroot}%{_bindir}
cp -rv usr/lib/* %{buildroot}%{_prefix}/lib
cp -rv etc/* %{buildroot}%{_sysconfdir}
mv %{buildroot}%{_datadir}/icons/hicolor/scalable/places/distributor-logo-steamdeck.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/places/steamdeck.svg
cp %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/scalable/places/steamdeck-le.svg
cp %{SOURCE5} %{buildroot}%{_datadir}/plasma/desktoptheme/Vapor/plasmarc
# Remove unneeded files
rm %{buildroot}%{_sysconfdir}/sddm.conf.d/steamdeck.conf
rm %{buildroot}%{_datadir}/icons/hicolor/scalable/places/distributor-logo.svg
rm %{buildroot}%{_sysconfdir}/xdg/autostart/steam.desktop
rm %{buildroot}%{_datadir}/applications/org.mozilla.firefox.desktop
rm %{buildroot}%{_sysconfdir}/profile.d/kde.sh
rm %{buildroot}%{_sysconfdir}/xdg/kcm-about-distrorc
rm %{buildroot}%{_sysconfdir}/X11/Xsession.d/50rotate-screen
rm %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/images/deck_logo.svgz
rm %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/images/deck_logo.svgz
rm %{buildroot}%{_sysconfdir}/xdg/autostart/jupiter-plasma-bootstrap.desktop
rm %{buildroot}%{_bindir}/jupiter-plasma-bootstrap
cp %{SOURCE2} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/images/bazzite_logo.svgz
cp %{SOURCE2} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/images/bazzite_logo.svgz
cp %{SOURCE3} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/metadata.json
cp %{SOURCE4} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/metadata.json
mkdir -p %{buildroot}%{_datadir}/kio/servicemenus
mv %{buildroot}%{_datadir}/kservices5/ServiceMenus/steam.desktop %{buildroot}%{_datadir}/kio/servicemenus/steam.desktop
rm -rf %{buildroot}%{_datadir}/kservices5
# Do post-installation
%post
# Do before uninstallation
%preun
# Do after uninstallation
%postun
# This lists all the files that are included in the rpm package and that
# are going to be installed into target system where the rpm is installed.
%files
%{_datadir}/color-schemes/Vapor.colors
%{_datadir}/color-schemes/VGUI.colors
%{_sysconfdir}/skel/Desktop/Return.desktop
%{_sysconfdir}/xdg/autostart/ibus.desktop
%{_sysconfdir}/xdg/gtk-2.0/gtkrc
%{_sysconfdir}/xdg/gtk-3.0/settings.ini
%{_sysconfdir}/xdg/baloofilerc
%{_sysconfdir}/xdg/kcminputrc
%{_sysconfdir}/xdg/kdeglobals
%{_sysconfdir}/xdg/kscreenlockerrc
%{_sysconfdir}/xdg/ktrashrc
%{_sysconfdir}/xdg/kwinrc
%{_sysconfdir}/xdg/kwinrulesrc
%{_sysconfdir}/xdg/plasma-nm
%{_sysconfdir}/xdg/plasma-workspace/env/ibus.sh
%{_sysconfdir}/xdg/powermanagementprofilesrc
%{_bindir}/steamos-add-to-steam
%{_bindir}/steamos-nested-desktop
%{_prefix}/lib/udev/rules.d/99-kwin-ignore-tablet-mode.rules
%{_datadir}/applications/steam/steamos-nested-desktop
%{_datadir}/X11/xorg.conf.d/99-pointer.conf
%{_datadir}/icons/*
%{_datadir}/konsole/*
%{_datadir}/kio/servicemenus/steam.desktop
%{_datadir}/plasma/avatars/*
%{_datadir}/plasma/desktoptheme/*
%{_datadir}/plasma/kickeractions/steam.desktop
%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/*
%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/*
%{_datadir}/themes/*
%{_datadir}/wallpapers/*
# Finally, changes from the latest release of your application are generated from
# your project's Git history. It will be empty until you make first annotated Git tag.
%changelog
{{{ git_dir_changelog }}}