From 4f7af91682ca981cfb50cd7febff01b44430b0d1 Mon Sep 17 00:00:00 2001 From: madomado Date: Thu, 29 Aug 2024 21:53:26 +0800 Subject: [PATCH] chore(sync): frawhide -> f40 (#2020) * bump: preview Signed-off-by: madonuko * bump: preview Signed-off-by: madonuko * bump: preview stable Signed-off-by: madonuko * bump: preview stable Signed-off-by: madonuko * bump: discord-canary-openasar discord-canary preview Signed-off-by: madonuko * bump: discord-openasar discord preview Signed-off-by: madonuko * add quirks (#1998) Signed-off-by: madonuko * bump: discord-canary-openasar discord-canary Signed-off-by: madonuko * bump: preview stable Signed-off-by: madonuko * bump: discord-canary-openasar discord-canary Signed-off-by: madonuko * bump: discord-openasar discord Signed-off-by: madonuko * bump: preview stable Signed-off-by: madonuko * bump: preview Signed-off-by: madonuko --------- Signed-off-by: madonuko Co-authored-by: Raboneko Co-authored-by: june <159748074+june-fish@users.noreply.github.com> --- .../discord-canary-openasar.spec | 2 +- anda/apps/discord-canary/discord-canary.spec | 2 +- .../discord-openasar/discord-openasar.spec | 2 +- anda/apps/discord/discord.spec | 2 +- anda/devs/zed/preview/zed-preview.spec | 2 +- anda/devs/zed/stable/zed.spec | 2 +- anda/system/duet-quirks/anda.hcl | 8 ++++ anda/system/duet-quirks/duet-quirks.spec | 39 +++++++++++++++++++ anda/system/duet-quirks/update.rhai | 7 ++++ 9 files changed, 60 insertions(+), 6 deletions(-) create mode 100644 anda/system/duet-quirks/anda.hcl create mode 100644 anda/system/duet-quirks/duet-quirks.spec create mode 100644 anda/system/duet-quirks/update.rhai diff --git a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec index cd6871af77..0744454dd8 100644 --- a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec +++ b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-canary-openasar -Version: 0.0.474 +Version: 0.0.477 Release: 1%?dist Summary: A snappier Discord rewrite with features like further customization and theming License: MIT AND https://discord.com/terms diff --git a/anda/apps/discord-canary/discord-canary.spec b/anda/apps/discord-canary/discord-canary.spec index 351b28b18b..0bb6b91e5a 100644 --- a/anda/apps/discord-canary/discord-canary.spec +++ b/anda/apps/discord-canary/discord-canary.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-canary -Version: 0.0.474 +Version: 0.0.477 Release: 1%?dist Summary: Free Voice and Text Chat for Gamers URL: discord.com diff --git a/anda/apps/discord-openasar/discord-openasar.spec b/anda/apps/discord-openasar/discord-openasar.spec index 0d449c92b7..9cb6af6db8 100644 --- a/anda/apps/discord-openasar/discord-openasar.spec +++ b/anda/apps/discord-openasar/discord-openasar.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-openasar -Version: 0.0.64 +Version: 0.0.66 Release: 1%?dist Summary: A snappier Discord rewrite with features like further customization and theming License: MIT AND https://discord.com/terms diff --git a/anda/apps/discord/discord.spec b/anda/apps/discord/discord.spec index 165d374125..77aa410926 100644 --- a/anda/apps/discord/discord.spec +++ b/anda/apps/discord/discord.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord -Version: 0.0.64 +Version: 0.0.66 Release: 1%?dist Summary: Free Voice and Text Chat for Gamers URL: https://discord.com diff --git a/anda/devs/zed/preview/zed-preview.spec b/anda/devs/zed/preview/zed-preview.spec index 34ba726e6f..fa34978e95 100644 --- a/anda/devs/zed/preview/zed-preview.spec +++ b/anda/devs/zed/preview/zed-preview.spec @@ -1,6 +1,6 @@ %bcond_with check -%global ver 0.149.1-pre +%global ver 0.151.0-pre # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ # Use Mold as the linker diff --git a/anda/devs/zed/stable/zed.spec b/anda/devs/zed/stable/zed.spec index eea810892f..94de26a3ae 100644 --- a/anda/devs/zed/stable/zed.spec +++ b/anda/devs/zed/stable/zed.spec @@ -9,7 +9,7 @@ %global app_id dev.zed.Zed Name: zed -Version: 0.148.1 +Version: 0.150.4 Release: 1%?dist Summary: Zed is a high-performance, multiplayer code editor diff --git a/anda/system/duet-quirks/anda.hcl b/anda/system/duet-quirks/anda.hcl new file mode 100644 index 0000000000..1ad2b50c84 --- /dev/null +++ b/anda/system/duet-quirks/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "duet-quirks.spec" + } + labels { + nightly = "1" + } +} diff --git a/anda/system/duet-quirks/duet-quirks.spec b/anda/system/duet-quirks/duet-quirks.spec new file mode 100644 index 0000000000..fc1ff4c313 --- /dev/null +++ b/anda/system/duet-quirks/duet-quirks.spec @@ -0,0 +1,39 @@ +%global commit_date 20240824 +%global commit d22b585a81b8645f1d660b4db22c95231c4301cf +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global debug_package %{nil} +%define __os_install_post %{nil} + +Name: duet-quirks +Version: %commit_date.%shortcommit +Release: 1%?dist + +License: CC-BY-SA-4.0 +Summary: Quirks for the Lenovo Duet Chromebooks on Ultramarine Linux +URL: https://github.com/Ultramarine-Linux/duet-quirks +Source0: https://github.com/Ultramarine-Linux/duet-quirks/archive/%{commit}/duet-quirks-%{commit}.tar.gz + +Requires: udev libinput + +BuildArch: noarch + +%description +Quirks for the Lenovo Duet Chromebooks on Ultramarine Linux. +Including a libinput rule for trackpad configuration and a udev rule for display rotation. + +%prep +%autosetup -n duet-quirks-%commit + +%install +install -Dm644 udev/61-cros-ec-accel.rules %buildroot%{_sysconfdir}/udev/61-cros-ec-accel.rules +install -Dm644 libinput/local-overrides.quirks %buildroot%{_sysconfdir}/libinput/local-overrides.quirks + +%files +%doc README.md +%license LICENSE +%{_sysconfdir}/udev/61-cros-ec-accel.rules +%{_sysconfdir}/libinput/local-overrides.quirks + +%changelog +* Sat Aug 25 2024 junefish +- Initial package diff --git a/anda/system/duet-quirks/update.rhai b/anda/system/duet-quirks/update.rhai new file mode 100644 index 0000000000..8b4075effd --- /dev/null +++ b/anda/system/duet-quirks/update.rhai @@ -0,0 +1,7 @@ +if filters.contains("nightly") { + rpm.global("commit", gh_commit("Ultramarine-Linux/duet-quirks")); + if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); + } +}