From 3627df5c8f9b747420d69b599c1a46d5082f989a Mon Sep 17 00:00:00 2001 From: madomado Date: Mon, 23 Dec 2024 09:45:25 +0800 Subject: [PATCH] chore(sync): frawhide -> f41 (#2706) --- anda/apps/envision/envision.spec | 4 +- .../apps/legcord/nightly/legcord-nightly.spec | 4 +- anda/apps/mpv/mpv-nightly.spec | 4 +- .../budgie/budgie-extras/budgie-extras.spec | 223 ++--- .../latte-dock-nightly.spec | 2 +- anda/devs/flow/flow-control-nightly.spec | 4 +- anda/devs/tmon/anda.hcl | 5 + anda/devs/tmon/tmon.spec | 48 ++ anda/devs/tmon/update.rhai | 6 + anda/devs/zed/nightly/zed-nightly.spec | 6 +- anda/games/inputplumber/inputplumber.spec | 1 + .../prismlauncher-nightly.spec | 4 +- anda/langs/nim/nim-nightly/nim-nightly.spec | 4 +- anda/langs/rust/jellyfin-rpc/anda.hcl | 5 + .../jellyfin-rpc/rust-jellyfin-rpc-cli.spec | 58 ++ anda/langs/rust/jellyfin-rpc/update.rhai | 1 + .../langs/vala/vala-nightly/vala-nightly.spec | 4 +- .../Mesa-MLAA-License-Clarification-Email.txt | 117 +++ anda/lib/mesa/anda.hcl | 9 + anda/lib/mesa/mesa.spec | 773 ++++++++++++++++++ anda/lib/mesa/update.rhai | 3 + anda/misc/sass/sass.spec | 2 +- anda/multimedia/carla/Carla-nightly.spec | 8 +- anda/stardust/server/stardust-server.spec | 4 + anda/stardust/server/update.rhai | 6 +- .../telescope/stardust-telescope.spec | 6 +- .../system/mesa-freeworld/mesa-freeworld.spec | 2 +- anda/system/nvidia-patch/nvidia-patch.spec | 4 +- .../opentabletdriver-nightly.spec | 6 +- anda/themes/klassy/klassy.spec | 2 +- anda/themes/lightly-qt6/VER6.txt | 2 +- anda/tools/rpi-utils/rpi-utils.spec | 6 +- anda/tools/spotx-bash/spotx-bash.spec | 4 +- 33 files changed, 1187 insertions(+), 150 deletions(-) create mode 100644 anda/devs/tmon/anda.hcl create mode 100644 anda/devs/tmon/tmon.spec create mode 100644 anda/devs/tmon/update.rhai create mode 100644 anda/langs/rust/jellyfin-rpc/anda.hcl create mode 100644 anda/langs/rust/jellyfin-rpc/rust-jellyfin-rpc-cli.spec create mode 100644 anda/langs/rust/jellyfin-rpc/update.rhai create mode 100644 anda/lib/mesa/Mesa-MLAA-License-Clarification-Email.txt create mode 100644 anda/lib/mesa/anda.hcl create mode 100644 anda/lib/mesa/mesa.spec create mode 100644 anda/lib/mesa/update.rhai diff --git a/anda/apps/envision/envision.spec b/anda/apps/envision/envision.spec index 8bd7760667..15f0362cf8 100644 --- a/anda/apps/envision/envision.spec +++ b/anda/apps/envision/envision.spec @@ -1,5 +1,5 @@ -%global commit f04723c1c4753f3d1451e0a8da18953b16d0a947 -%global commit_date 20241215 +%global commit e69a7a9bd62bef27f3d84b8d037bafe55bbed483 +%global commit_date 20241222 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: envision diff --git a/anda/apps/legcord/nightly/legcord-nightly.spec b/anda/apps/legcord/nightly/legcord-nightly.spec index 695f68688e..9099e4890c 100644 --- a/anda/apps/legcord/nightly/legcord-nightly.spec +++ b/anda/apps/legcord/nightly/legcord-nightly.spec @@ -1,5 +1,5 @@ -%global commit 6888db743d73a8cd7fd2b5d035e7025c09148912 -%global commit_date 20241213 +%global commit fa72d91d14e538bd0054ab7793f912aa0de64e0f +%global commit_date 20241218 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %define debug_package %nil diff --git a/anda/apps/mpv/mpv-nightly.spec b/anda/apps/mpv/mpv-nightly.spec index e344298679..a389ec394b 100644 --- a/anda/apps/mpv/mpv-nightly.spec +++ b/anda/apps/mpv/mpv-nightly.spec @@ -1,6 +1,6 @@ -%global commit e52f975842196e1581299312b9c160aa16c81d04 +%global commit d82701962f99051a18d65c215b70d41ebadd9a22 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20241214 +%global commit_date 20241222 %global ver 0.39.0 Name: mpv-nightly diff --git a/anda/desktops/budgie/budgie-extras/budgie-extras.spec b/anda/desktops/budgie/budgie-extras/budgie-extras.spec index b967a86d9f..0bae6eb5ee 100644 --- a/anda/desktops/budgie/budgie-extras/budgie-extras.spec +++ b/anda/desktops/budgie/budgie-extras/budgie-extras.spec @@ -1,115 +1,114 @@ -Name: budgie-extras -Version: 1.8.0 -Release: 1%{?dist} +Name: budgie-extras +Version: 1.8.0 +Release: 2%{?dist} -License: GPL-3.0 -Summary: Additional Budgie Desktop enhancements for user experience -URL: https://ubuntubudgie.org/ +License: GPL-3.0 +Summary: Additional Budgie Desktop enhancements for user experience +URL: https://ubuntubudgie.org/ -Source0: https://github.com/UbuntuBudgie/budgie-extras/releases/download/v%{version}/budgie-extras-%{version}.tar.xz -Patch0: 0001-fix-weathershow-desktop-widget-icon-path.patch +Source0: https://github.com/UbuntuBudgie/budgie-extras/releases/download/v%{version}/budgie-extras-%{version}.tar.xz +Patch0: 0001-fix-weathershow-desktop-widget-icon-path.patch -BuildRequires: rpm_macro(fdupes) -BuildRequires: cmake -BuildRequires: meson -BuildRequires: vala -BuildRequires: intltool +BuildRequires: rpm_macro(fdupes) +BuildRequires: cmake +BuildRequires: meson +BuildRequires: vala +BuildRequires: intltool -BuildRequires: pkgconfig(budgie-1.0) -BuildRequires: pkgconfig(gee-0.8) -BuildRequires: pkgconfig(gnome-settings-daemon) -BuildRequires: pkgconfig(json-glib-1.0) -BuildRequires: pkgconfig(keybinder-3.0) -BuildRequires: pkgconfig(libgnome-menu-3.0) -BuildRequires: pkgconfig(libnm) -BuildRequires: pkgconfig(libnma) -BuildRequires: pkgconfig(libnotify) -BuildRequires: pkgconfig(libsoup-2.4) -BuildRequires: pkgconfig(libwnck-3.0) +BuildRequires: pkgconfig(budgie-1.0) +BuildRequires: pkgconfig(gee-0.8) +BuildRequires: pkgconfig(gnome-settings-daemon) +BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(keybinder-3.0) +BuildRequires: pkgconfig(libgnome-menu-3.0) +BuildRequires: pkgconfig(libnm) +BuildRequires: pkgconfig(libnma) +BuildRequires: pkgconfig(libnotify) +BuildRequires: pkgconfig(libsoup-2.4) +BuildRequires: pkgconfig(libwnck-3.0) -BuildRequires: pkgconfig(appstream) -BuildRequires: pkgconfig(granite) -BuildRequires: pkgconfig(libhandy-1) -BuildRequires: pkgconfig(zeitgeist-2.0) +BuildRequires: pkgconfig(appstream) +BuildRequires: pkgconfig(granite) +BuildRequires: pkgconfig(libhandy-1) +BuildRequires: pkgconfig(zeitgeist-2.0) -Requires: budgie-applet-applications-menu -Requires: budgie-applet-weathershow - -Requires: budgie-applet-app-launcher -Requires: budgie-applet-brightness-controller -Requires: budgie-applet-clockworks -Requires: budgie-applet-countdown -Requires: budgie-applet-dropby -Requires: budgie-applet-fuzzyclock -Requires: budgie-applet-hotcorners -Requires: budgie-applet-kangaroo -Requires: budgie-applet-keyboard-autoswitch -Requires: budgie-applet-network-manager -Requires: budgie-applet-quickchar -Requires: budgie-applet-quicknote -Requires: budgie-applet-recentlyused -Requires: budgie-applet-rotation-lock -Requires: budgie-applet-showtime -Requires: budgie-applet-takeabreak -Requires: budgie-applet-visualspace -Requires: budgie-applet-wallstreet -Requires: budgie-applet-window-shuffler -Requires: budgie-applet-workspace-stopwatch -Requires: budgie-applet-wpreviews -Requires: budgie-applet-wswitcher +Requires: budgie-applet-app-launcher +Requires: budgie-applet-applications-menu +Requires: budgie-applet-brightness-controller +Requires: budgie-applet-clockworks +Requires: budgie-applet-countdown +Requires: budgie-applet-dropby +Requires: budgie-applet-fuzzyclock +Requires: budgie-applet-hotcorners +Requires: budgie-applet-kangaroo +Requires: budgie-applet-keyboard-autoswitch +Requires: budgie-applet-network-manager +Requires: budgie-applet-quickchar +Requires: budgie-applet-quicknote +Requires: budgie-applet-recentlyused +Requires: budgie-applet-rotation-lock +Requires: budgie-applet-showtime +Requires: budgie-applet-takeabreak +Requires: budgie-applet-visualspace +Requires: budgie-applet-wallstreet +Requires: budgie-applet-weathershow +Requires: budgie-applet-window-shuffler +Requires: budgie-applet-workspace-stopwatch +Requires: budgie-applet-wpreviews +Requires: budgie-applet-wswitcher # Fix for https://github.com/UbuntuBudgie/budgie-extras/issues/233, don't know how stenstorp did not notice this -Requires: xinput +Requires: xinput %description This is part of a suite of python3 and Vala based applets for the Budgie Desktop that provide additional user orientated capabilities. The applets can be used individually or as a set. -%package common -Requires: budgie-desktop -Summary: Shared component of budgie-extras applets -BuildArch: noarch -%description common +%package common +Requires: budgie-desktop +Summary: Shared component of budgie-extras applets +BuildArch: noarch +%description common The shared component provides for capabilities that are utilised between budgie-extra applets. -%package daemon -Summary: Manages keyboard shortcuts -Requires: budgie-extras-common -%description daemon +%package daemon +Summary: Manages keyboard shortcuts +Requires: budgie-extras-common +%description daemon This on logon process manages keyboard shortcuts delivered via .bde files for various extras-plugins. %package -n budgie-applet-app-launcher -Requires: budgie-extras-common -Summary: Applet to provide an alternative means to launch applications +Requires: budgie-extras-common +Summary: Applet to provide an alternative means to launch applications %description -n budgie-applet-app-launcher The app-launcher applet allows the ability to add favorite apps to the panel as well as finding and launching applications. The list of applications listed can be easily configured to be visible or hidden. %package -n budgie-applet-applications-menu -Requires: budgie-extras-common -Summary: Lightweight and stylish app launcher +Requires: budgie-extras-common +Summary: Lightweight and stylish app launcher %description -n budgie-applet-applications-menu %{summary} %package -n budgie-applet-brightness-controller -Requires: budgie-extras-common -Summary: A Budgie Desktop applet for productivity +Requires: budgie-extras-common +Summary: A Budgie Desktop applet for productivity %description -n budgie-applet-brightness-controller %{summary} %package -n budgie-applet-clockworks -Requires: budgie-extras-common -Summary: Applet to display clock across multiple time zones +Requires: budgie-extras-common +Summary: Applet to display clock across multiple time zones %description -n budgie-applet-clockworks The Clockworks applet displays the current time across multiple time zones. %package -n budgie-applet-countdown -Requires: budgie-extras-common -Summary: Applet providing a countdown capability on the Budgie Desktop +Requires: budgie-extras-common +Summary: Applet providing a countdown capability on the Budgie Desktop %description -n budgie-applet-countdown The Countdown applet provides the user the ability to start an action when the countdown reaches 0 seconds. Actions include flashing @@ -117,8 +116,8 @@ an icon in the panel, opening a notification window, sounding a bell or running a custom command. %package -n budgie-applet-dropby -Requires: budgie-extras-common -Summary: Applet to popup when a USB device is connected +Requires: budgie-extras-common +Summary: Applet to popup when a USB device is connected %description -n budgie-applet-dropby The DropBy applet pops up in the panel when connecting a usb device. The applet subsequently offers the option(s) to mount, unmount/eject @@ -126,29 +125,29 @@ and in case of a flash drive, to make a local copy of the drive's content. The info shows the free space on the volume. %package -n budgie-applet-fuzzyclock -Requires: budgie-extras-common -Summary: Shows the time in a Fuzzy Way +Requires: budgie-extras-common +Summary: Shows the time in a Fuzzy Way %description -n budgie-applet-fuzzyclock %{summary} %package -n budgie-applet-hotcorners -Requires: budgie-extras-common -Summary: Applet providing hotcorners capabilities for the Budgie Desktop +Requires: budgie-extras-common +Summary: Applet providing hotcorners capabilities for the Budgie Desktop %description -n budgie-applet-hotcorners The hotcorners applet allow user defined commands to be executed when the mouse cursor is pushed into a corner of the main desktop. %package -n budgie-applet-kangaroo -Requires: budgie-extras-common -Summary: Applet to allow quick file-browsing +Requires: budgie-extras-common +Summary: Applet to allow quick file-browsing %description -n budgie-applet-kangaroo The kangaroo applet allows for quick & easy browsing, across (possibly) many directory layers, without having to do a single mouse click. %package -n budgie-applet-keyboard-autoswitch -Requires: budgie-extras-common -Summary: Applet adding the ability to set a different keyboard layout per application +Requires: budgie-extras-common +Summary: Applet adding the ability to set a different keyboard layout per application %description -n budgie-applet-keyboard-autoswitch The Keyboard Auto Switcher applet provides the user the ability to set a different keyboard layout per application. Exceptions to the default @@ -156,50 +155,51 @@ layout can be set by simply choosing a different layout using the Keyboard Layout applet. %package -n budgie-applet-network-manager -Requires: budgie-extras-common -Summary: A fork of Wingpanel Network Indicator, ported to budgie desktop +Requires: budgie-extras-common +Summary: A fork of Wingpanel Network Indicator, ported to budgie desktop %description -n budgie-applet-network-manager %{summary} %package -n budgie-applet-quickchar -Requires: budgie-extras-common -Summary: A mini-app to quickly choose and insert equivalents of ascii characters +Requires: budgie-extras-common +Requires: budgie-extras-daemon +Summary: A mini-app to quickly choose and insert equivalents of ascii characters %description -n budgie-applet-quickchar QuickChar is a mini-app to quickly choose and insert equivalents of ascii characters. QuickChar is activated via the Budgie Menu. %package -n budgie-applet-quicknote -Requires: budgie-extras-common -Summary: Applet providing simple notes capability for the Budgie Desktop +Requires: budgie-extras-common +Summary: Applet providing simple notes capability for the Budgie Desktop %description -n budgie-applet-quicknote The quicknote applet allows a user to record a text based note. The applet supports multiple undo and redo capabilities. %package -n budgie-applet-recentlyused -Requires: budgie-extras-common -Summary: Applet displays files recently accessed for the Budgie Desktop +Requires: budgie-extras-common +Summary: Applet displays files recently accessed for the Budgie Desktop %description -n budgie-applet-recentlyused The recentlyused applet displays the users files that have been opened or created within a configurable period of time. %package -n budgie-applet-rotation-lock -Requires: budgie-extras-common -Summary: Applet to lock or unlock the screen rotation +Requires: budgie-extras-common +Summary: Applet to lock or unlock the screen rotation %description -n budgie-applet-rotation-lock The Rotation Lock applet provides the user an easy way to lock or unlock the screen rotation. %package -n budgie-applet-showtime -Requires: budgie-extras-common -Summary: Applet displaying date and time on the Budgie Desktop +Requires: budgie-extras-common +Summary: Applet displaying date and time on the Budgie Desktop %description -n budgie-applet-showtime The ShowTime applet is a digital desktop clock, showing time and/or date. Text color of both the displayed time and date can be set separately from the applet's menu %package -n budgie-applet-takeabreak -Requires: budgie-extras-common -Summary: A pomodoro-like applet, to make sure to take regular breaks from working +Requires: budgie-extras-common +Summary: A pomodoro-like applet, to make sure to take regular breaks from working %description -n budgie-applet-takeabreak Budgie TakeaBreak is a pomodoro- like applet, to make sure to take regular breaks from working. Options from Budgie Settings include turning the screen @@ -208,35 +208,36 @@ time. The applet can be accessed quickly from the panel to temporarily switch it off. %package -n budgie-applet-visualspace -Requires: budgie-extras-common -Summary: Shows the current workspace(s), as bullet(s) +Requires: budgie-extras-common +Summary: Shows the current workspace(s), as bullet(s) %description -n budgie-applet-visualspace Budgie VisualSpace shows the current workspace(s), as bullet(s). The applet includes a menu to navigate to either one of the windows or their corresponding workspace. %package -n budgie-applet-wallstreet -Requires: budgie-extras-common -Summary: A mini-app to switch wallpapers on regular intervalls +Requires: budgie-extras-common +Summary: A mini-app to switch wallpapers on regular intervalls %description -n budgie-applet-wallstreet Budgie WallStreet is a mini-app to switch wallpapers on regular intervalls. %package -n budgie-applet-weathershow -Requires: budgie-extras-common -Summary: Applet to display the weather and forecast +Requires: budgie-extras-common +Summary: Applet to display the weather and forecast %description -n budgie-applet-weathershow The weathershow applet displays daily and three hourly weather forecasts on both the desktop and a Popover. %package -n budgie-applet-window-shuffler -Requires: budgie-extras-common -Summary: Budgie Window Shuffler +Requires: budgie-extras-common +Requires: budgie-extras-daemon +Summary: Budgie Window Shuffler %description -n budgie-applet-window-shuffler %{summary} %package -n budgie-applet-workspace-stopwatch -Requires: budgie-extras-common -Summary: An applet to keep track of usage per workspace +Requires: budgie-extras-common +Summary: An applet to keep track of usage per workspace %description -n budgie-applet-workspace-stopwatch Workspace Timer Applet is an applet to keep track of usage per workspace, e.g. to find out how much minutes/hours were actually spent on a job. Workspaces can @@ -246,14 +247,16 @@ onworkspace switch/clicking the icon for popup or else every 30 seconds. Time during suspend is automatically retracted from a workspace' time. %package -n budgie-applet-wpreviews -Requires: budgie-extras-common +Requires: budgie-extras-common +Requires: budgie-extras-daemon Summary: Applet providing window previews capabilities for the Budgie Desktop %description -n budgie-applet-wpreviews The Previews applet shows an overview of windows in an expose like way. %package -n budgie-applet-wswitcher -Requires: budgie-extras-common -Summary: An applet to show a different wallpaper on each of the workspaces +Requires: budgie-extras-common +Requires: budgie-extras-daemon +Summary: An applet to show a different wallpaper on each of the workspaces %description -n budgie-applet-wswitcher Budgie Wallpaper Workspace Switcher is an application (applet) to show a different wallpaper on each of the workspaces. Usage is simple: add the applet diff --git a/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec b/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec index bc6051f1b4..f877e67b1e 100644 --- a/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec +++ b/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/KDE/latte-dock/ -%global commit 6e21efcd2b9259705fa261c20419148ec138f878 +%global commit f79594dd01d4ff4d7e86ac7bf70d1c371d6d9e4e %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global commit_date %(date '+%Y%m%d') %global snapshot_info %{commit_date}.%{shortcommit} diff --git a/anda/devs/flow/flow-control-nightly.spec b/anda/devs/flow/flow-control-nightly.spec index 1a663929d7..99942591d0 100644 --- a/anda/devs/flow/flow-control-nightly.spec +++ b/anda/devs/flow/flow-control-nightly.spec @@ -1,6 +1,6 @@ -%global commit c83d9387ef3058ffb25ac5cf8a700cbeb9a2d430 +%global commit 072d41867257d4dad6b8de36e4676a92af6b7d4e %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20241214 +%global commit_date 20241222 Name: flow-control-nightly Version: %commit_date.%shortcommit diff --git a/anda/devs/tmon/anda.hcl b/anda/devs/tmon/anda.hcl new file mode 100644 index 0000000000..e72e5561c8 --- /dev/null +++ b/anda/devs/tmon/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "tmon.spec" + } +} diff --git a/anda/devs/tmon/tmon.spec b/anda/devs/tmon/tmon.spec new file mode 100644 index 0000000000..525ef254cd --- /dev/null +++ b/anda/devs/tmon/tmon.spec @@ -0,0 +1,48 @@ +%global commit e8cae0d88dc8d51cb0e34e3fd3553bcbdaf04ca5 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commit_date 20241215 +%global debug_package %{nil} + +Name: tmon +Version: %{commit_date}.git~%{shortcommit} +Release: 1%{?dist} +Summary: A tiny system monitor for Linux + +License: GPL-3.0-only +URL: https://github.com/pondda/%{name} +Source0: %{url}/archive/%{commit}.tar.gz + +Requires: lm_sensors +Conflicts: kernel-tools + +Recommends: google-noto-color-emoji-fonts + +BuildRequires: make gcc-c++ ncurses-devel + +Packager: sadlerm + +%description +%{summary}. + +%prep +%autosetup -n %{name}-%{commit} + +%build +%make_build + +%install +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{name} %{buildroot}%{_bindir}/%{name} +install -m 0755 -vd %{buildroot}%{_sysconfdir}/%{name} +install -m 0644 -vp default.conf %{buildroot}%{_sysconfdir}/%{name}/ + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{_sysconfdir}/%{name}/default.conf + +%changelog +* Tue Dec 17 2024 sadlerm +- Initial package + diff --git a/anda/devs/tmon/update.rhai b/anda/devs/tmon/update.rhai new file mode 100644 index 0000000000..9e475ef20f --- /dev/null +++ b/anda/devs/tmon/update.rhai @@ -0,0 +1,6 @@ +rpm.global("commit", gh_commit("pondda/tmon")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); +} + diff --git a/anda/devs/zed/nightly/zed-nightly.spec b/anda/devs/zed/nightly/zed-nightly.spec index bed4d32774..0e457a6e15 100644 --- a/anda/devs/zed/nightly/zed-nightly.spec +++ b/anda/devs/zed/nightly/zed-nightly.spec @@ -1,7 +1,7 @@ -%global commit af50261ae240a2c44bc742f434be46032e47256e +%global commit b51a28b75fbf5e94c69ef81d279d3f7000807367 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20241216 -%global ver 0.167.0 +%global commit_date 20241222 +%global ver 0.168.0 %bcond_with check diff --git a/anda/games/inputplumber/inputplumber.spec b/anda/games/inputplumber/inputplumber.spec index 99170340b9..b2f0005701 100644 --- a/anda/games/inputplumber/inputplumber.spec +++ b/anda/games/inputplumber/inputplumber.spec @@ -42,6 +42,7 @@ keyboards) and translate their input to a variety of virtual device formats. %license LICENSE %_bindir/inputplumber %_unitdir/inputplumber.service +%_unitdir/inputplumber-suspend.service %_udevhwdbdir/59-inputplumber.hwdb %_datadir/dbus-1/system.d/org.shadowblip.InputPlumber.conf %_datadir/inputplumber/ diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index d6d7a3a29d..8d00c2f8d0 100644 --- a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec +++ b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec @@ -1,11 +1,11 @@ %global real_name prismlauncher %global nice_name PrismLauncher -%global commit 507faf9f0078c909d661db21273254ee0a3eed7d +%global commit 0b6ce5525dbe4d617788b740dc4fefc93bee0e5f %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global libnbtplusplus_commit 23b955121b8217c1c348a9ed2483167a6f3ff4ad -%global commit_date 20241215 +%global commit_date 20241220 %global snapshot_info %{commit_date}.%{shortcommit} %bcond_without qt6 diff --git a/anda/langs/nim/nim-nightly/nim-nightly.spec b/anda/langs/nim/nim-nightly/nim-nightly.spec index acdaeabe8c..027e0365c9 100644 --- a/anda/langs/nim/nim-nightly/nim-nightly.spec +++ b/anda/langs/nim/nim-nightly/nim-nightly.spec @@ -1,8 +1,8 @@ %global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10 -%global commit d31cce557bc800f61664b7b67faae3ef8d789505 +%global commit 63c884038d3db2e09947279531e70da52934c934 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global ver 2.3.1 -%global commit_date 20241214 +%global commit_date 20241221 %global debug_package %nil Name: nim-nightly diff --git a/anda/langs/rust/jellyfin-rpc/anda.hcl b/anda/langs/rust/jellyfin-rpc/anda.hcl new file mode 100644 index 0000000000..9a335cfcef --- /dev/null +++ b/anda/langs/rust/jellyfin-rpc/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-jellyfin-rpc-cli.spec" + } +} diff --git a/anda/langs/rust/jellyfin-rpc/rust-jellyfin-rpc-cli.spec b/anda/langs/rust/jellyfin-rpc/rust-jellyfin-rpc-cli.spec new file mode 100644 index 0000000000..cda74d4895 --- /dev/null +++ b/anda/langs/rust/jellyfin-rpc/rust-jellyfin-rpc-cli.spec @@ -0,0 +1,58 @@ +# Generated by rust2rpm 26 +%bcond_without check +%bcond_without mold + +%global crate jellyfin-rpc-cli + +Name: rust-jellyfin-rpc-cli +Version: 1.3.0 +Release: %autorelease +Summary: Displays the content you're currently watching on Discord! + +License: GPL-3.0-or-later +URL: https://crates.io/crates/jellyfin-rpc-cli +Source0: %{crates_source} +Source1: https://raw.githubusercontent.com/Radiicall/jellyfin-rpc/%version/LICENSE +Packager: madonuko + +BuildRequires: mold anda-srpm-macros cargo-rpm-macros >= 24 + +%global _description %{expand: +Displays the content you're currently watching on Discord!.} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} +License: GPL-3.0-or-later +Provides: jellyfin-rpc + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license %_datadir/licenses/%name/LICENSE +%license LICENSE.dependencies +%doc README.md +%{_bindir}/jellyfin-rpc + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep_online + +%build +#{cargo_license_summary_online} +%{cargo_license_online} > LICENSE.dependencies + +%install +%cargo_install + +install -Dpm644 %SOURCE1 %buildroot%_datadir/licenses/%name/LICENSE + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Thu Aug 15 2024 madonuko - 1.2.2-1 +- Initial package diff --git a/anda/langs/rust/jellyfin-rpc/update.rhai b/anda/langs/rust/jellyfin-rpc/update.rhai new file mode 100644 index 0000000000..1f28f314e5 --- /dev/null +++ b/anda/langs/rust/jellyfin-rpc/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("jellyfin-rpc-cli")); diff --git a/anda/langs/vala/vala-nightly/vala-nightly.spec b/anda/langs/vala/vala-nightly/vala-nightly.spec index 95a4be0274..134d4782c3 100644 --- a/anda/langs/vala/vala-nightly/vala-nightly.spec +++ b/anda/langs/vala/vala-nightly/vala-nightly.spec @@ -3,11 +3,11 @@ %global priority 90 %global real_name vala -%global commit 196d3ad6839ee158ef6d3fe485764d1e1d996a05 +%global commit 0732bb119d968a8bab154c308d1498a31aa7d6af %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global repo https://gitlab.gnome.org/GNOME/%{real_name}.git -%global commit_date 20240913 +%global commit_date 20241101 %global snapshot_info %{commit_date}.%{shortcommit} Name: vala-nightly diff --git a/anda/lib/mesa/Mesa-MLAA-License-Clarification-Email.txt b/anda/lib/mesa/Mesa-MLAA-License-Clarification-Email.txt new file mode 100644 index 0000000000..30bdf2e9dd --- /dev/null +++ b/anda/lib/mesa/Mesa-MLAA-License-Clarification-Email.txt @@ -0,0 +1,117 @@ + +Subject: RE: Question about Mesa MLAA license +From: Jorge Jimenez +Date: 01/08/2013 12:50 PM +To: Tom Callaway +CC: "jorge@iryoku.com" + +Yes to both questions. + +Thanks, +Jorge + +From: Tom Callaway +Sent: January 8, 2013 6:49 PM +To: Jorge Jimenez +CC: jorge@iryoku.com +Subject: Re: Question about Mesa MLAA license + +On 01/08/2013 12:39 PM, Jorge Jimenez wrote: +> Hi Tom, +> +> What we meant with that is that we made an exception for clause 2. +> Instead of clause 2, in the case of the Mesa project, you have to name +> the technique Jimenez's MLAA in the config options of Mesa. We did that +> just to allow them to solve license issues. This exception should be for +> the Mesa project, and any project using Mesa, like Fedora. +> +> We want to widespread usage of our MLAA, so we want to avoid any kind of +> license complications. Hope current one is good for Fedora, if not +> please tell, and we'll see what we can do! + +Okay, a few more questions: + +* If Fedora decides to simply reproduce the quoted statement: +"Uses Jimenez's MLAA. Copyright (C) 2010 by Jorge Jimenez, Belen Masia, +Jose I. Echevarria, Fernando Navarro and Diego Gutierrez." + +Specifically, if this is done as part of documentation included with +Mesa, is that sufficient to meet clause 2 even if the Mesa config option +is not set as described in your exception? + +* Currently, the Mesa config option for MLAA says: "Morphological +anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default +quality". Is this in compliance with your exception? + +Thanks again, + +~tom + +== +Fedora Project + +Subject: RE: Question about Mesa MLAA license +From: Jorge Jimenez +Date: 01/08/2013 12:39 PM +To: "jorge@iryoku.com" , Tom Callaway + +Hi Tom, + +What we meant with that is that we made an exception for clause 2. +Instead of clause 2, in the case of the Mesa project, you have to name +the technique Jimenez's MLAA in the config options of Mesa. We did that +just to allow them to solve license issues. This exception should be for +the Mesa project, and any project using Mesa, like Fedora. + +We want to widespread usage of our MLAA, so we want to avoid any kind of +license complications. Hope current one is good for Fedora, if not +please tell, and we'll see what we can do! + +Cheers, +Jorge + +From: Tom Callaway +Sent: January 8, 2013 6:30 PM +To: jorge@iryoku.com +Subject: Question about Mesa MLAA license + +Jorge, + +Thanks for all of your fantastic graphics work! I have been auditing +Fedora (a popular distribution of Linux) for license compliance and I +came across your MLAA code in Mesa. + +The license says: + + * 2. Redistributions in binary form must reproduce the following +statement: + * + * "Uses Jimenez's MLAA. Copyright (C) 2010 by Jorge Jimenez, Belen Masia, + * Jose I. Echevarria, Fernando Navarro and Diego Gutierrez." + * + * Only for use in the Mesa project, this point 2 is filled by naming the + * technique Jimenez's MLAA in the Mesa config options. + +That wording is unclear. When you say "Only for use in the Mesa +project...", it seems like you could either be saying: + +- This code may only be used as part of Mesa. + +OR + +- In Mesa, you can comply with clause 2 by simply selecting "Jimenez's +MLAA" in the Mesa config options. + +***** + +If the first item is true, then we may have to remove the MLAA code from +Fedora's copy of Mesa. However, looking at the license on your SMAA +code, I do not believe it to be the case. Please let me know either way! + +Thanks in advance, + +Tom Callaway +Fedora Legal + +== +Fedora Project diff --git a/anda/lib/mesa/anda.hcl b/anda/lib/mesa/anda.hcl new file mode 100644 index 0000000000..7714a0b452 --- /dev/null +++ b/anda/lib/mesa/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + rpm { + spec = "mesa.spec" + } + labels { + multilib = 1 + extra = 1 + } +} diff --git a/anda/lib/mesa/mesa.spec b/anda/lib/mesa/mesa.spec new file mode 100644 index 0000000000..d56508b27f --- /dev/null +++ b/anda/lib/mesa/mesa.spec @@ -0,0 +1,773 @@ +%global srcname mesa + +%ifnarch s390x +%global with_hardware 1 +%global with_radeonsi 1 +%global with_vmware 1 +%global with_vulkan_hw 1 +%global with_vdpau 1 +%global with_va 1 +%if !0%{?rhel} +%global with_r300 1 +%global with_r600 1 +%global with_nine 1 +%if 0%{?with_vulkan_hw} +%global with_nvk %{with_vulkan_hw} +%endif +%global with_opencl 1 +%endif +%global base_vulkan %{?with_vulkan_hw:,amd}%{!?with_vulkan_hw:%{nil}} +%endif + +%ifnarch %{ix86} +%if !0%{?rhel} +%global with_teflon 1 +%endif +%endif + +%ifarch %{ix86} x86_64 +%global with_crocus 1 +%global with_i915 1 +%global with_iris 1 +%global with_xa 1 +%global with_intel_clc 1 +%global intel_platform_vulkan %{?with_vulkan_hw:,intel,intel_hasvk}%{!?with_vulkan_hw:%{nil}} +%endif +%ifarch x86_64 +%if !0%{?with_vulkan_hw} +%global with_intel_vk_rt 1 +%endif +%endif + +%ifarch aarch64 x86_64 %{ix86} +%global with_kmsro 1 +%if !0%{?rhel} +%global with_lima 1 +%global with_vc4 1 +%global with_etnaviv 1 +%global with_tegra 1 +%endif +%global with_freedreno 1 +%global with_panfrost 1 +%global with_v3d 1 +%global with_xa 1 +%global extra_platform_vulkan %{?with_vulkan_hw:,broadcom,freedreno,panfrost,imagination-experimental}%{!?with_vulkan_hw:%{nil}} +%endif + +%if !0%{?rhel} +%global with_libunwind 1 +%global with_lmsensors 1 +%endif + +%ifarch %{valgrind_arches} +%bcond_without valgrind +%else +%bcond_with valgrind +%endif + +%global vulkan_drivers swrast,virtio%{?base_vulkan}%{?intel_platform_vulkan}%{?extra_platform_vulkan}%{?with_nvk:,nouveau} +%global vulkan_drivers swrast%{?base_vulkan}%{?intel_platform_vulkan}%{?extra_platform_vulkan}%{?with_nvk:,nouveau} +Name: %{srcname} +Summary: Mesa graphics libraries +%global ver 24.3.2 +Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)} +Release: 2%?dist +License: MIT AND BSD-3-Clause AND SGI-B-2.0 +URL: http://www.mesa3d.org + +# define macro for providing srcname and ver +# %replace_pkg subpackage +%define replace_pkg() \ +Provides: %{srcname}-%1 = %{?epoch:%{epoch}:}%{version}-%{release} \ +Provides: %{srcname}-%1%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} \ +Conflicts: %{srcname}-%1 < %{?epoch:%{epoch}:}%{version}-%{release} \ +Conflicts: %{srcname}-%1%{?_isa} < %{?epoch:%{epoch}:}%{version}-%{release} + + + +Source0: https://archive.mesa3d.org/%{srcname}-%{ver}.tar.xz +# src/gallium/auxiliary/postprocess/pp_mlaa* have an ... interestingly worded license. +# Source1 contains email correspondence clarifying the license terms. +# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD. +Source1: Mesa-MLAA-License-Clarification-Email.txt + +#Patch10: https://src.fedoraproject.org/rpms/mesa/raw/e89544b7a4d811a64ca23b402add29524cc6f704/f/gnome-shell-glthread-disable.patch +# Patch11: https://src.fedoraproject.org/rpms/mesa/raw/e89544b7a4d811a64ca23b402add29524cc6f704/f/0001-llvmpipe-Init-eglQueryDmaBufModifiersEXT-num_modifie.patch +#Patch12: https://src.fedoraproject.org/rpms/mesa/raw/e89544b7a4d811a64ca23b402add29524cc6f704/f/0001-Revert-ac-radeonsi-remove-has_syncobj-has_fence_to_h.patch +# s390x: fix build +# Patch100: https://src.fedoraproject.org/rpms/mesa/raw/e89544b7a4d811a64ca23b402add29524cc6f704/f/fix-egl-on-s390x.patch + +BuildRequires: meson >= 1.3.0 +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: gettext +%if 0%{?with_hardware} +BuildRequires: kernel-headers +%endif +# We only check for the minimum version of pkgconfig(libdrm) needed so that the +# SRPMs for each arch still have the same build dependencies. See: +# https://bugzilla.redhat.com/show_bug.cgi?id=1859515 +BuildRequires: pkgconfig(libdrm) >= 2.4.122 +%if 0%{?with_libunwind} +BuildRequires: pkgconfig(libunwind) +%endif +BuildRequires: pkgconfig(expat) +BuildRequires: pkgconfig(zlib) >= 1.2.3 +BuildRequires: pkgconfig(libzstd) +BuildRequires: pkgconfig(libselinux) +BuildRequires: pkgconfig(wayland-scanner) +BuildRequires: pkgconfig(wayland-protocols) >= 1.34 +BuildRequires: pkgconfig(wayland-client) >= 1.11 +BuildRequires: pkgconfig(wayland-server) >= 1.11 +BuildRequires: pkgconfig(wayland-egl-backend) >= 3 +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(xdamage) >= 1.1 +BuildRequires: pkgconfig(xfixes) +BuildRequires: pkgconfig(xcb-glx) >= 1.8.1 +BuildRequires: pkgconfig(xxf86vm) +BuildRequires: pkgconfig(xcb) +BuildRequires: pkgconfig(x11-xcb) +BuildRequires: pkgconfig(xcb-dri2) >= 1.8 +BuildRequires: pkgconfig(xcb-dri3) +BuildRequires: pkgconfig(xcb-present) +BuildRequires: pkgconfig(xcb-sync) +BuildRequires: pkgconfig(xshmfence) >= 1.1 +BuildRequires: pkgconfig(dri2proto) >= 2.8 +BuildRequires: pkgconfig(glproto) >= 1.4.14 +BuildRequires: pkgconfig(xcb-xfixes) +BuildRequires: pkgconfig(xcb-randr) +BuildRequires: pkgconfig(xrandr) >= 1.3 +BuildRequires: bison +BuildRequires: flex +%if 0%{?with_lmsensors} +BuildRequires: lm_sensors-devel +%endif +%if 0%{?with_vdpau} +BuildRequires: pkgconfig(vdpau) >= 1.1 +%endif +%if 0%{?with_va} +BuildRequires: pkgconfig(libva) >= 0.38.0 +%endif +BuildRequires: pkgconfig(libelf) +BuildRequires: pkgconfig(libglvnd) >= 1.3.2 +BuildRequires: llvm-devel >= 7.0.0 +%if 0%{?with_teflon} +BuildRequires: flatbuffers-devel +BuildRequires: flatbuffers-compiler +BuildRequires: xtensor-devel +%endif +%if 0%{?with_opencl} || 0%{?with_nvk} || 0%{?with_intel_clc} +BuildRequires: clang-devel +BuildRequires: pkgconfig(libclc) +BuildRequires: pkgconfig(SPIRV-Tools) +BuildRequires: pkgconfig(LLVMSPIRVLib) +%endif +%if 0%{?with_opencl} || 0%{?with_nvk} +BuildRequires: bindgen +BuildRequires: rust-packaging +%endif +%if 0%{?with_nvk} +BuildRequires: cbindgen +BuildRequires: (crate(paste) >= 1.0.14 with crate(paste) < 2) +BuildRequires: (crate(proc-macro2) >= 1.0.56 with crate(proc-macro2) < 2) +BuildRequires: (crate(quote) >= 1.0.25 with crate(quote) < 2) +BuildRequires: (crate(syn/clone-impls) >= 2.0.15 with crate(syn/clone-impls) < 3) +BuildRequires: (crate(unicode-ident) >= 1.0.6 with crate(unicode-ident) < 2) +%endif +%if %{with valgrind} +BuildRequires: pkgconfig(valgrind) +%endif +BuildRequires: python3-devel +BuildRequires: python3-mako +%if 0%{?with_intel_clc} +BuildRequires: python3-ply +%endif +BuildRequires: python3-pycparser +BuildRequires: python3-pyyaml +BuildRequires: vulkan-headers +BuildRequires: glslang +%if 0%{?with_vulkan_hw} +BuildRequires: pkgconfig(vulkan) +%endif + +%description +%{summary}. + +%package filesystem +%replace_pkg filesystem +Summary: Mesa driver filesystem +Provides: mesa-dri-filesystem = %{?epoch:%{epoch}:}%{version}-%{release} + +%description filesystem +%{summary}. + +%package libGL +%replace_pkg libGL +Summary: Mesa libGL runtime libraries +Requires: %{name}-libglapi%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libglvnd-glx%{?_isa} >= 1:1.3.2 +Recommends: %{name}-dri-drivers%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description libGL +%{summary}. + +%package libGL-devel +%replace_pkg libGL-devel +Summary: Mesa libGL development package +Requires: %{name}-libGL%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libglvnd-devel%{?_isa} >= 1:1.3.2 +Provides: libGL-devel +Provides: libGL-devel%{?_isa} +Recommends: gl-manpages + +%description libGL-devel +%{summary}. + +%package libEGL +%replace_pkg libEGL +Summary: Mesa libEGL runtime libraries +Requires: libglvnd-egl%{?_isa} >= 1:1.3.2 +Requires: %{name}-libgbm%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-libglapi%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Recommends: %{name}-dri-drivers%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +%description libEGL +%{summary}. + +%package libEGL-devel +%replace_pkg libEGL-devel +Summary: Mesa libEGL development package +Requires: %{name}-libEGL%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libglvnd-devel%{?_isa} >= 1:1.3.2 +Requires: %{name}-khr-devel%{?_isa} +Provides: libEGL-devel +Provides: libEGL-devel%{?_isa} + +%description libEGL-devel +%{summary}. + +%package dri-drivers +%replace_pkg dri-drivers +Summary: Mesa-based DRI drivers +Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-libglapi%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +%if 0%{?with_va} +Recommends: %{name}-va-drivers%{?_isa} +%endif + +%description dri-drivers +%{summary}. + +%if 0%{?with_omx} +%package omx-drivers +%replace_pkg omx-drivers +Summary: Mesa-based OMX drivers +Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description omx-drivers +%{summary}. +%endif + +%if 0%{?with_va} +%package va-drivers +%replace_pkg va-drivers +Provides: %{srcname}-va-drivers = %{?epoch:%{epoch}:}%{version}-%{release} +Summary: Mesa-based VA-API video acceleration drivers +Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-vaapi-drivers < 22.2.0-5 + +%description va-drivers +%{summary}. +%endif + +%if 0%{?with_vdpau} +%package vdpau-drivers +%replace_pkg vdpau-drivers +Summary: Mesa-based VDPAU drivers +Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description vdpau-drivers +%{summary}. +%endif + +%package libOSMesa +%replace_pkg libOSMesa +Summary: Mesa offscreen rendering libraries +Requires: %{name}-libglapi%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libOSMesa +Provides: libOSMesa%{?_isa} + +%description libOSMesa +%{summary}. + +%package libOSMesa-devel +%replace_pkg libOSMesa-devel +Summary: Mesa offscreen rendering development package +Requires: %{name}-libOSMesa%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description libOSMesa-devel +%{summary}. + +%package libgbm +%replace_pkg libgbm +Summary: Mesa gbm runtime library +Provides: libgbm +Provides: libgbm%{?_isa} +Recommends: %{name}-dri-drivers%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +# If mesa-dri-drivers are installed, they must match in version. This is here to prevent using +# older mesa-dri-drivers together with a newer mesa-libgbm and its dependants. +# See https://bugzilla.redhat.com/show_bug.cgi?id=2193135 . +Requires: (%{name}-dri-drivers%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} if %{name}-dri-drivers%{?_isa}) + +%description libgbm +%{summary}. + +%package libgbm-devel +%replace_pkg libgbm-devel +Summary: Mesa libgbm development package +Requires: %{name}-libgbm%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libgbm-devel +Provides: libgbm-devel%{?_isa} + +%description libgbm-devel +%{summary}. + +%if 0%{?with_xa} +%package libxatracker +%replace_pkg libxatracker +Summary: Mesa XA state tracker +Provides: libxatracker +Provides: libxatracker%{?_isa} + +%description libxatracker +%{summary}. + +%package libxatracker-devel +%replace_pkg libxatracker-devel +Summary: Mesa XA state tracker development package +Requires: %{name}-libxatracker%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libxatracker-devel +Provides: libxatracker-devel%{?_isa} + +%description libxatracker-devel +%{summary}. +%endif + +%package libglapi +%replace_pkg libglapi +Summary: Mesa shared glapi +Provides: libglapi +Provides: libglapi%{?_isa} +# If mesa-dri-drivers are installed, they must match in version. This is here to prevent using +# older mesa-dri-drivers together with a newer mesa-libglapi or its dependants. +# See https://bugzilla.redhat.com/show_bug.cgi?id=2193135 . +Requires: (%{name}-dri-drivers%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} if %{name}-dri-drivers%{?_isa}) + +%description libglapi +%{summary}. + +%if 0%{?with_opencl} +%package libOpenCL +%replace_pkg libOpenCL +Summary: Mesa OpenCL runtime library +Requires: ocl-icd%{?_isa} +Requires: libclc%{?_isa} +Requires: %{name}-libgbm%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: opencl-filesystem + +%description libOpenCL +%{summary}. + +%package libOpenCL-devel +%replace_pkg libOpenCL-devel +Summary: Mesa OpenCL development package +Requires: %{name}-libOpenCL%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description libOpenCL-devel +%{summary}. +%endif + +%if 0%{?with_teflon} +%package libTeflon +%replace_pkg libTeflon +Summary: Mesa TensorFlow Lite delegate + + +%description libTeflon +%{summary}. +%endif + +%if 0%{?with_nine} +%package libd3d +%replace_pkg libd3d +Summary: Mesa Direct3D9 state tracker + +%description libd3d +%{summary}. + +%package libd3d-devel +%replace_pkg libd3d-devel +Summary: Mesa Direct3D9 state tracker development package +Requires: %{name}-libd3d%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description libd3d-devel +%{summary}. +%endif + +%package vulkan-drivers +%replace_pkg vulkan-drivers +Summary: Mesa Vulkan drivers +Requires: vulkan%{_isa} +Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: mesa-vulkan-devel < %{?epoch:%{epoch}:}%{version}-%{release} + +%description vulkan-drivers +The drivers with support for the Vulkan API. + +%prep +%autosetup -n %{srcname}-%{ver} -p1 +cp %{SOURCE1} docs/ + +%build +# ensure standard Rust compiler flags are set +export RUSTFLAGS="%build_rustflags" + +%if 0%{?with_nvk} +export MESON_PACKAGE_CACHE_DIR="%{cargo_registry}/" +# So... Meson can't actually find them without tweaks +%define inst_crate_nameversion() %(basename %{cargo_registry}/%{1}-*) +%define rewrite_wrap_file() sed -e "/source.*/d" -e "s/%{1}-.*/%{inst_crate_nameversion %{1}}/" -i subprojects/%{1}.wrap + +%rewrite_wrap_file proc-macro2 +%rewrite_wrap_file quote +%rewrite_wrap_file syn +%rewrite_wrap_file unicode-ident +%rewrite_wrap_file paste +%endif + +# We've gotten a report that enabling LTO for mesa breaks some games. See +# https://bugzilla.redhat.com/show_bug.cgi?id=1862771 for details. +# Disable LTO for now +%define _lto_cflags %{nil} + +%meson \ + -Dplatforms=x11,wayland \ + -Dosmesa=true \ +%if 0%{?with_hardware} + -Dgallium-drivers=swrast,virgl,nouveau%{?with_r300:,r300}%{?with_crocus:,crocus}%{?with_i915:,i915}%{?with_iris:,iris}%{?with_vmware:,svga}%{?with_radeonsi:,radeonsi}%{?with_r600:,r600}%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_v3d:,v3d}%{?with_lima:,lima}%{?with_panfrost:,panfrost}%{?with_vulkan_hw:,zink} \ +%else + -Dgallium-drivers=swrast,virgl \ +%endif + -Dgallium-vdpau=%{?with_vdpau:enabled}%{!?with_vdpau:disabled} \ + -Dgallium-va=%{?with_va:enabled}%{!?with_va:disabled} \ + -Dgallium-xa=%{?with_xa:enabled}%{!?with_xa:disabled} \ + -Dgallium-nine=%{?with_nine:true}%{!?with_nine:false} \ + -Dteflon=%{?with_teflon:true}%{!?with_teflon:false} \ + -Dgallium-opencl=%{?with_opencl:icd}%{!?with_opencl:disabled} \ +%if 0%{?with_opencl} + -Dgallium-rusticl=true \ +%endif + -Dvulkan-drivers=%{?vulkan_drivers} \ + -Dvulkan-layers=device-select \ + -Dshared-glapi=enabled \ + -Dgles1=enabled \ + -Dgles2=enabled \ + -Dopengl=true \ + -Dgbm=enabled \ + -Dglx=dri \ + -Degl=enabled \ + -Dglvnd=enabled \ +%if 0%{?with_intel_clc} + -Dintel-clc=enabled \ +%endif + -Dintel-rt=%{?with_intel_vk_rt:enabled}%{!?with_intel_vk_rt:disabled} \ + -Dmicrosoft-clc=disabled \ + -Dllvm=enabled \ + -Dshared-llvm=enabled \ + -Dvalgrind=%{?with_valgrind:enabled}%{!?with_valgrind:disabled} \ + -Dbuild-tests=false \ + -Dselinux=true \ +%if !0%{?with_libunwind} + -Dlibunwind=disabled \ +%endif +%if !0%{?with_lmsensors} + -Dlmsensors=disabled \ +%endif + -Dandroid-libbacktrace=disabled \ +%ifarch %{ix86} + -Dglx-read-only-text=true \ +%endif + %{nil} +%meson_build + +%install +%meson_install + +# libvdpau opens the versioned name, don't bother including the unversioned +rm -vf %{buildroot}%{_libdir}/vdpau/*.so +# likewise glvnd +rm -vf %{buildroot}%{_libdir}/libGLX_mesa.so +rm -vf %{buildroot}%{_libdir}/libEGL_mesa.so +# XXX can we just not build this +rm -vf %{buildroot}%{_libdir}/libGLES* + +# glvnd needs a default provider for indirect rendering where it cannot +# determine the vendor +ln -s %{_libdir}/libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_system.so.0 + +# this keeps breaking, check it early. note that the exit from eu-ftr is odd. +pushd %{buildroot}%{_libdir} +for i in libOSMesa*.so libGL.so ; do + eu-findtextrel $i && exit 1 +done +popd + +%files filesystem +%doc docs/Mesa-MLAA-License-Clarification-Email.txt +%dir %{_libdir}/dri +%dir %{_datadir}/drirc.d + +%files libGL +%{_libdir}/libGLX_mesa.so.0* +%{_libdir}/libGLX_system.so.0* +%files libGL-devel +%dir %{_includedir}/GL +%dir %{_includedir}/GL/internal +%{_includedir}/GL/internal/dri_interface.h +%{_libdir}/pkgconfig/dri.pc +%{_libdir}/libglapi.so + +%files libEGL +%{_datadir}/glvnd/egl_vendor.d/50_mesa.json +%{_libdir}/libEGL_mesa.so.0* +%files libEGL-devel +%dir %{_includedir}/EGL +%{_includedir}/EGL/eglext_angle.h +%{_includedir}/EGL/eglmesaext.h + +%files libglapi +%{_libdir}/libglapi.so.0 +%{_libdir}/libglapi.so.0.* + +%files libOSMesa +%{_libdir}/libOSMesa.so.8* +%files libOSMesa-devel +%dir %{_includedir}/GL +%{_includedir}/GL/osmesa.h +%{_libdir}/libOSMesa.so +%{_libdir}/pkgconfig/osmesa.pc + +%files libgbm +%{_libdir}/gbm/dri_gbm.so +%{_libdir}/libgbm.so.1 +%{_libdir}/libgbm.so.1.* +%files libgbm-devel +%{_libdir}/libgbm.so +%{_includedir}/gbm.h +%{_libdir}/pkgconfig/gbm.pc + +%if 0%{?with_xa} +%files libxatracker +%if 0%{?with_hardware} +%{_libdir}/libxatracker.so.2 +%{_libdir}/libxatracker.so.2.* +%endif + +%files libxatracker-devel +%if 0%{?with_hardware} +%{_libdir}/libxatracker.so +%{_includedir}/xa_tracker.h +%{_includedir}/xa_composite.h +%{_includedir}/xa_context.h +%{_libdir}/pkgconfig/xatracker.pc +%endif +%endif + +%if 0%{?with_teflon} +%files libTeflon +%{_libdir}/libteflon.so +%endif + +%if 0%{?with_opencl} +%files libOpenCL +%{_libdir}/libMesaOpenCL.so.* +%{_libdir}/libRusticlOpenCL.so.* +%{_sysconfdir}/OpenCL/vendors/mesa.icd +%{_sysconfdir}/OpenCL/vendors/rusticl.icd + +%files libOpenCL-devel +%{_libdir}/libMesaOpenCL.so +%{_libdir}/libRusticlOpenCL.so +%endif + +%if 0%{?with_nine} +%files libd3d +%dir %{_libdir}/d3d/ +%{_libdir}/d3d/*.so.* + +%files libd3d-devel +%{_libdir}/pkgconfig/d3d.pc +%{_includedir}/d3dadapter/ +%{_libdir}/d3d/*.so +%endif + +%files dri-drivers +%{_datadir}/drirc.d/00-mesa-defaults.conf +%{_libdir}/libgallium-*.so +%{_libdir}/dri/kms_swrast_dri.so +%{_libdir}/dri/libdril_dri.so +%{_libdir}/dri/swrast_dri.so +%{_libdir}/dri/virtio_gpu_dri.so + +%if 0%{?with_hardware} +%if 0%{?with_r300} +%{_libdir}/dri/r300_dri.so +%endif +%if 0%{?with_radeonsi} +%if 0%{?with_r600} +%{_libdir}/dri/r600_dri.so +%endif +%{_libdir}/dri/radeonsi_dri.so +%endif +%ifarch %{ix86} x86_64 +%{_libdir}/dri/crocus_dri.so +%{_libdir}/dri/i915_dri.so +%{_libdir}/dri/iris_dri.so +%endif +%ifarch aarch64 x86_64 %{ix86} +%{_libdir}/dri/ingenic-drm_dri.so +%{_libdir}/dri/imx-drm_dri.so +%{_libdir}/dri/imx-lcdif_dri.so +%{_libdir}/dri/kirin_dri.so +%{_libdir}/dri/komeda_dri.so +%{_libdir}/dri/mali-dp_dri.so +%{_libdir}/dri/mcde_dri.so +%{_libdir}/dri/mxsfb-drm_dri.so +%{_libdir}/dri/rcar-du_dri.so +%{_libdir}/dri/stm_dri.so +%endif +%if 0%{?with_vc4} +%{_libdir}/dri/vc4_dri.so +%endif +%if 0%{?with_v3d} +%{_libdir}/dri/v3d_dri.so +%endif +%if 0%{?with_freedreno} +%{_libdir}/dri/kgsl_dri.so +%{_libdir}/dri/msm_dri.so +%endif +%if 0%{?with_etnaviv} +%{_libdir}/dri/etnaviv_dri.so +%endif +%if 0%{?with_tegra} +%{_libdir}/dri/tegra_dri.so +%endif +%if 0%{?with_lima} +%{_libdir}/dri/lima_dri.so +%endif +%if 0%{?with_panfrost} +%{_libdir}/dri/panfrost_dri.so +%{_libdir}/dri/panthor_dri.so +%endif +%{_libdir}/dri/nouveau_dri.so +%if 0%{?with_vmware} +%{_libdir}/dri/vmwgfx_dri.so +%endif +%endif +%if 0%{?with_opencl} +%dir %{_libdir}/gallium-pipe +%{_libdir}/gallium-pipe/*.so +%endif +%if 0%{?with_kmsro} +%{_libdir}/dri/armada-drm_dri.so +%{_libdir}/dri/exynos_dri.so +%{_libdir}/dri/gm12u320_dri.so +%{_libdir}/dri/hdlcd_dri.so +%{_libdir}/dri/hx8357d_dri.so +%{_libdir}/dri/ili9163_dri.so +%{_libdir}/dri/ili9225_dri.so +%{_libdir}/dri/ili9341_dri.so +%{_libdir}/dri/ili9486_dri.so +%{_libdir}/dri/imx-dcss_dri.so +%{_libdir}/dri/mediatek_dri.so +%{_libdir}/dri/meson_dri.so +%{_libdir}/dri/mi0283qt_dri.so +%{_libdir}/dri/panel-mipi-dbi_dri.so +%{_libdir}/dri/pl111_dri.so +%{_libdir}/dri/repaper_dri.so +%{_libdir}/dri/rockchip_dri.so +%{_libdir}/dri/rzg2l-du_dri.so +%{_libdir}/dri/ssd130x_dri.so +%{_libdir}/dri/st7586_dri.so +%{_libdir}/dri/st7735r_dri.so +%{_libdir}/dri/sti_dri.so +%{_libdir}/dri/sun4i-drm_dri.so +%{_libdir}/dri/udl_dri.so +%{_libdir}/dri/vkms_dri.so +%{_libdir}/dri/zynqmp-dpsub_dri.so +%endif +%if 0%{?with_vulkan_hw} +%{_libdir}/dri/zink_dri.so +%endif + +%if 0%{?with_va} +%files va-drivers +%{_libdir}/dri/nouveau_drv_video.so +%if 0%{?with_r600} +%{_libdir}/dri/r600_drv_video.so +%endif +%if 0%{?with_radeonsi} +%{_libdir}/dri/radeonsi_drv_video.so +%endif +%{_libdir}/dri/virtio_gpu_drv_video.so +%endif + +%if 0%{?with_vdpau} +%files vdpau-drivers +%dir %{_libdir}/vdpau +%{_libdir}/vdpau/libvdpau_nouveau.so.1* +%if 0%{?with_r600} +%{_libdir}/vdpau/libvdpau_r600.so.1* +%endif +%if 0%{?with_radeonsi} +%{_libdir}/vdpau/libvdpau_radeonsi.so.1* +%endif +%{_libdir}/vdpau/libvdpau_virtio_gpu.so.1* +%endif + +%files vulkan-drivers +%{_libdir}/libvulkan_lvp.so +%{_datadir}/vulkan/icd.d/lvp_icd.*.json +%dnl %{_libdir}/libvulkan_virtio.so +%dnl %{_datadir}/vulkan/icd.d/virtio_icd.*.json +%{_libdir}/libVkLayer_MESA_device_select.so +%{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json +%if 0%{?with_vulkan_hw} +%{_libdir}/libvulkan_radeon.so +%{_datadir}/drirc.d/00-radv-defaults.conf +%{_datadir}/vulkan/icd.d/radeon_icd.*.json +%if 0%{?with_nvk} +%{_libdir}/libvulkan_nouveau.so +%{_datadir}/vulkan/icd.d/nouveau_icd.*.json +%endif +%ifarch %{ix86} x86_64 +%{_libdir}/libvulkan_intel.so +%{_datadir}/vulkan/icd.d/intel_icd.*.json +%{_libdir}/libvulkan_intel_hasvk.so +%{_datadir}/vulkan/icd.d/intel_hasvk_icd.*.json +%endif +%ifarch aarch64 x86_64 %{ix86} +%{_libdir}/libvulkan_broadcom.so +%{_datadir}/vulkan/icd.d/broadcom_icd.*.json +%{_libdir}/libvulkan_freedreno.so +%{_datadir}/vulkan/icd.d/freedreno_icd.*.json +%{_libdir}/libvulkan_panfrost.so +%{_datadir}/vulkan/icd.d/panfrost_icd.*.json +%{_libdir}/libpowervr_rogue.so +%{_libdir}/libvulkan_powervr_mesa.so +%{_datadir}/vulkan/icd.d/powervr_mesa_icd.*.json +%endif +%endif + +%changelog +%autochangelog diff --git a/anda/lib/mesa/update.rhai b/anda/lib/mesa/update.rhai new file mode 100644 index 0000000000..5bfae0c21c --- /dev/null +++ b/anda/lib/mesa/update.rhai @@ -0,0 +1,3 @@ +let v = gitlab_tag("gitlab.freedesktop.org", "176"); +v.crop(5); +rpm.global("ver", v); diff --git a/anda/misc/sass/sass.spec b/anda/misc/sass/sass.spec index d1794ccd76..49e6129bb2 100644 --- a/anda/misc/sass/sass.spec +++ b/anda/misc/sass/sass.spec @@ -4,7 +4,7 @@ %define _build_id_links none Name: sass -Version: 1.81.0 +Version: 1.83.0 Release: 1%?dist Summary: The reference implementation of Sass, written in Dart License: MIT diff --git a/anda/multimedia/carla/Carla-nightly.spec b/anda/multimedia/carla/Carla-nightly.spec index 1114d41ce1..b3b107be00 100644 --- a/anda/multimedia/carla/Carla-nightly.spec +++ b/anda/multimedia/carla/Carla-nightly.spec @@ -1,12 +1,12 @@ %global pname carla -%global ver 2.5.9 -%global commit be2f1056ab48c0ec6a3877a19597cb36a44f1e30 +%global ver v2.5.9 +%global commit 17000e7fe99459b25a50094a8b00bdfa12f2bfbc %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20241103 +%global commit_date 20241205 Name: Carla-nightly Version: %ver^%commit_date.git~%shortcommit -Release: 1%{?dist} +Release: 1%?dist Summary: Audio plugin host # The entire source code is GPLv2+ except diff --git a/anda/stardust/server/stardust-server.spec b/anda/stardust/server/stardust-server.spec index edccb8b0eb..195de310b9 100644 --- a/anda/stardust/server/stardust-server.spec +++ b/anda/stardust/server/stardust-server.spec @@ -1,3 +1,7 @@ +%global commit c830becbff8907809c87dc0949f9a0abd4d77ed6 +%global commit_date 20241102 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +# Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-server diff --git a/anda/stardust/server/update.rhai b/anda/stardust/server/update.rhai index 89a05318d8..16db710969 100644 --- a/anda/stardust/server/update.rhai +++ b/anda/stardust/server/update.rhai @@ -1 +1,5 @@ -rpm.version(gh("StardustXR/server")); +rpm.global("commit", gh_commit("StardustXR/server")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); +} diff --git a/anda/stardust/telescope/stardust-telescope.spec b/anda/stardust/telescope/stardust-telescope.spec index aab4b13552..835672d994 100644 --- a/anda/stardust/telescope/stardust-telescope.spec +++ b/anda/stardust/telescope/stardust-telescope.spec @@ -1,12 +1,12 @@ %define debug_package %nil -%global commit ec4218fb938b0a098285c4a97af45493d22673fa -%global commit_date 20241023 +%global commit 77e95c0c67ff7143366a4ef1be731819382cfa8e +%global commit_date 20241102 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: stardust-xr-telescope Version: %commit_date.git~%shortcommit -Release: 2%?dist +Release: 1%?dist Summary: See the stars! Easy stardust setups to run on your computer. License: MIT URL: https://github.com/StardustXR/telescope diff --git a/anda/system/mesa-freeworld/mesa-freeworld.spec b/anda/system/mesa-freeworld/mesa-freeworld.spec index 64cb7de501..2dc2b27268 100644 --- a/anda/system/mesa-freeworld/mesa-freeworld.spec +++ b/anda/system/mesa-freeworld/mesa-freeworld.spec @@ -71,7 +71,7 @@ algorithms and decoding only VC1 algorithm. Name: %{srcname}-freeworld Summary: Mesa graphics libraries -%global ver 24.2.8 +%global ver 24.3.0 Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)} Release: 2%{?dist} License: MIT AND BSD-3-Clause AND SGI-B-2.0 diff --git a/anda/system/nvidia-patch/nvidia-patch.spec b/anda/system/nvidia-patch/nvidia-patch.spec index 4b62c425cc..b833634be2 100644 --- a/anda/system/nvidia-patch/nvidia-patch.spec +++ b/anda/system/nvidia-patch/nvidia-patch.spec @@ -1,7 +1,7 @@ %global debug_package %{nil} -%global commit 5db577ccef1dbc48e8c22738612d6c86ac30f237 +%global commit e3bc2fac20835c7687c483fe10f46608b7190d77 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20241212 +%global commit_date 20241217 %global patches %{_datadir}/src/nvidia-patch diff --git a/anda/system/opentabletdriver-nightly/opentabletdriver-nightly.spec b/anda/system/opentabletdriver-nightly/opentabletdriver-nightly.spec index c0c8ea7070..8c3f971929 100644 --- a/anda/system/opentabletdriver-nightly/opentabletdriver-nightly.spec +++ b/anda/system/opentabletdriver-nightly/opentabletdriver-nightly.spec @@ -1,7 +1,7 @@ -%global commit 4f8539e4b9ab56299999daa9d1cf47222e22b931 +%global commit 1c01880a6e9088208a9dffda8a46fe72623ba4e3 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20241215 -%global ver 0.6.4.0 +%global commit_date 20241219 +%global ver 0.6.5.0 # We aren't using Mono but RPM expected Mono %global __requires_exclude_from ^/usr/lib/opentabletdriver/.*$ diff --git a/anda/themes/klassy/klassy.spec b/anda/themes/klassy/klassy.spec index 514bc95e2d..ef58ebe8be 100644 --- a/anda/themes/klassy/klassy.spec +++ b/anda/themes/klassy/klassy.spec @@ -2,7 +2,7 @@ Name: klassy %global forgeurl https://github.com/paulmcauley/%{name} %global tag 6.2.breeze6.2.1 -%global date 20241019 +%global date 20241018 %forgemeta Version: %{tag} diff --git a/anda/themes/lightly-qt6/VER6.txt b/anda/themes/lightly-qt6/VER6.txt index 7f8f011eb7..45a4fb75db 100644 --- a/anda/themes/lightly-qt6/VER6.txt +++ b/anda/themes/lightly-qt6/VER6.txt @@ -1 +1 @@ -7 +8 diff --git a/anda/tools/rpi-utils/rpi-utils.spec b/anda/tools/rpi-utils/rpi-utils.spec index dacef53ebf..bc97c65c2d 100644 --- a/anda/tools/rpi-utils/rpi-utils.spec +++ b/anda/tools/rpi-utils/rpi-utils.spec @@ -1,12 +1,12 @@ -%global commit 9d884c7ed214cc6aad5f498b53a1253e177239fd -%global commit_date 20241213 +%global commit 0c02957911da1c661be201236c4f2a2be1778b3e +%global commit_date 20241220 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %define _unpackaged_files_terminate_build 0 Name: rpi-utils Version: %{commit_date}.%{shortcommit} -Release: 1%{?dist} +Release: 1%?dist Summary: A collection of scripts and simple applications for Raspberry Pi devices License: BSD-3-Clause URL: https://github.com/raspberrypi/utils diff --git a/anda/tools/spotx-bash/spotx-bash.spec b/anda/tools/spotx-bash/spotx-bash.spec index 05c7fb476e..ceaff27052 100644 --- a/anda/tools/spotx-bash/spotx-bash.spec +++ b/anda/tools/spotx-bash/spotx-bash.spec @@ -1,5 +1,5 @@ -%global commit 21481cea97bac720590c2aad8b1fc2c58c9ec8f9 -%global commit_date 20241215 +%global commit fa0ea870b878fa38d6aa33d61d4191d3854d0e71 +%global commit_date 20241221 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: spotx-bash