diff --git a/guix/import/firefox.scm b/guix/import/firefox.scm new file mode 100644 index 00000000..7bcaf07e --- /dev/null +++ b/guix/import/firefox.scm @@ -0,0 +1,47 @@ +;;; SPDX-License-Identifier: GPL-3.0-or-later +;;; Copyright © 2025 Nicolas Graves + +;;; This file is not part of GNU Guix but requires this naming scheme +;;; so that the %firefox-updater is properly read when using +;;; `guix refresh -L$(pwd) firefox' in nonguix root. + +(define-module (guix import firefox) + #:use-module (guix import json) + #:use-module (guix memoization) + #:use-module (guix packages) + #:use-module (guix upstream) + #:export (%firefox-updater)) + +(define firefox-json-url "https://product-details.mozilla.org/1.0/firefox_versions.json") + +(define firefox-versions + (memoize + (lambda _ + (let ((alist (json-fetch firefox-json-url))) + (list (cons "firefox" (assoc-ref alist "LATEST_FIREFOX_VERSION")) + (cons "firefox-esr" (assoc-ref alist "FIREFOX_ESR"))))))) + +(define* (latest-release package #:key (version #f) partial-version?) + "Return an for the latest-release of PACKAGE." + (let* ((name (package-name package)) + (version (or version (assoc-ref (firefox-versions) name)))) + (upstream-source + (package name) + (version version) + (urls + (list (string-append "https://archive.mozilla.org/pub/firefox/releases/" + version "/source/firefox-" + version ".source.tar.xz")))))) + +(define (firefox-package? package) + "Return true if PACKAGE is Firefox." + (member (package-name package) (list "firefox" "firefox-esr"))) + +(define %firefox-updater + (upstream-updater + (name 'firefox) + (description "Updater for Firefox packages") + (pred firefox-package?) + (import latest-release))) + +;;; firefox.scm ends here. diff --git a/nongnu/packages/game-client.scm b/nongnu/packages/game-client.scm index 817c97b3..d520821c 100644 --- a/nongnu/packages/game-client.scm +++ b/nongnu/packages/game-client.scm @@ -105,12 +105,13 @@ (description "Heroic is an Open Source Game Launcher. Right now it supports launching games from the Epic Games Store using Legendary, GOG Games using our custom implementation with gogdl and Amazon Games using Nile.") - (license license:gpl3))) + (license license:gpl3) + (supported-systems '("x86_64-linux")))) (define steam-client (package (name "steam-client") - (version "1.0.0.83") + (version "1.0.0.84") (source (origin (method url-fetch) @@ -118,7 +119,7 @@ implementation with gogdl and Amazon Games using Nile.") version ".tar.gz")) (sha256 (base32 - "10lgmjsada0n2a4h1vgrnwcjcka7vp4igy82f1n99zbyrjq845kr")) + "0i3v0zz36x7v81qslvfbiby57hk96hn15w4xxal1lgvrb0npdyii")) (file-name (string-append name "-" version ".tar.gz")))) (build-system gnu-build-system) (arguments @@ -160,7 +161,8 @@ implementation with gogdl and Amazon Games using Nile.") (home-page "https://store.steampowered.com") (synopsis "Digital distribution platform for managing and playing games") (description "Steam is a digital software distribution platform created by Valve.") - (license (license:nonfree "file:///share/doc/steam/steam_subscriber_agreement.txt")))) + (license (license:nonfree "file:///share/doc/steam/steam_subscriber_agreement.txt")) + (supported-systems '("x86_64-linux")))) (define steam-client-libs `(("at-spi2-core" ,at-spi2-core) ; Required (often) for SteamVR interface. diff --git a/nongnu/packages/intune.scm b/nongnu/packages/intune.scm new file mode 100644 index 00000000..83179dae --- /dev/null +++ b/nongnu/packages/intune.scm @@ -0,0 +1,225 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2022 Petr Hodina +;;; +;;; This file is not part of GNU Guix. +;;; +;;; This program is free software: you can redistribute it and/or modify +;;; it under the terms of the GNU General Public License as published by +;;; the Free Software Foundation, either version 3 of the License, or +;;; (at your option) any later version. +;;; +;;; This program is distributed in the hope that it will be useful, +;;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with this program. If not, see . + +(define-module (nongnu packages intune) + #:use-module (guix packages) + #:use-module (guix gexp) + #:use-module (gnu packages) + #:use-module (gnu packages admin) + #:use-module (gnu packages build-tools) + #:use-module (gnu packages base) + #:use-module (gnu packages ninja) + #:use-module (gnu packages curl) + #:use-module (gnu packages gnome) + #:use-module (gnu packages gtk) + #:use-module (gnu packages glib) + #:use-module (gnu packages linux) + #:use-module (gnu packages tls) + #:use-module (gnu packages gcc) + #:use-module (gnu packages compression) + #:use-module (gnu packages sqlite) + #:use-module (gnu packages webkit) + #:use-module (gnu packages xorg) + #:use-module (gnu packages pkg-config) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (nonguix build-system binary) + #:use-module (guix build-system cmake) + #:use-module ((guix licenses) + #:prefix license:)) + +(define-public intune + (package + (name "intune") + (version "1.2211.21") + (source (origin + (method url-fetch) + (uri (string-append + "https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/i/intune-portal/intune-portal_" + version "_amd64.deb")) + (sha256 + (base32 + "1m3d0f0x27c4ahv2h0035yw3ihcihw2r31h0in8r34r45nmq2r39")))) + (build-system binary-build-system) + (arguments + (list #:patchelf-plan #~`(("opt/microsoft/intune/bin/intune-agent" ("atk" + "libx11" + "libsecret" + "openssl" + "libsoup-minimal" + "util-linux" + "gtk+" + "glibc" + "zlib" + "inetutils" + "sqlite" + "curl" + "libstdc++" + "gcc" + "webkitgtk-with-libsoup2" + "glib")) + ("opt/microsoft/intune/bin/intune-portal" ("atk" + "libx11" + "libsecret" + "libsoup-minimal" + "openssl" + "util-linux" + "glibc" + "gtk+" + "zlib" + "sqlite" + "inetutils" + "pango" + "curl" + "libstdc++" + "gcc" + "webkitgtk-with-libsoup2" + "glib"))) + #:install-plan #~`(("opt/microsoft/intune/bin" "bin")) + #:phases #~(modify-phases %standard-phases + (delete 'validate-runpath) + (replace 'unpack + (lambda* (#:key inputs #:allow-other-keys) + (let ((debian-files (assoc-ref inputs "source"))) + (invoke "ar" "x" debian-files) + (invoke "tar" "xJf" "data.tar.xz"))))))) + (inputs (list atk + libx11 + curl + ;; msalsdk-dbusclient + libsecret + libsoup-minimal-2 + glibc + openssl + (make-libstdc++ gcc) + inetutils ;for hostname + `(,util-linux "lib") + webkitgtk-with-libsoup2 + `(,gcc "lib") + pango + gtk+ + sqlite + ;; systemd + zlib + glib)) + (synopsis "Microsoft Intune Endpoint Agent") + (description "This package provides Microsoft Endpoint Manager to protect + organization-owned data on devices.") + (home-page + "https://docs.microsoft.com/en-us/mem/intune/fundamentals/what-is-intune") + ;; Well what to do + ;; https://docs.microsoft.com/en-us/mem/intune/fundamentals/licenses + (license #f))) + +(define-public msalsdk-dbusclient + (package + (name "msalsdk-dbusclient") + (version "1.0.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/m/msalsdk-dbusclient/msalsdk-dbusclient_" + version "_amd64.deb")) + (sha256 + (base32 + "0dhbmwrkqg3swd3y8f6r5xrnvrzc1vkpc10sdw4z6fwx0cbqsn3q")))) + (build-system binary-build-system) + (arguments + (list #:patchelf-plan #~`(("usr/lib/libmsal_dbus_client.so" ("glibc" + "dbus" + "libstdc++" + "gcc"))) + ;; #:install-plan + ;; #~`(("usr/bin" "bin")) + #:phases #~(modify-phases %standard-phases + (replace 'unpack + (lambda* (#:key inputs #:allow-other-keys) + (let ((debian-files (assoc-ref inputs "source"))) + (invoke "ar" "x" debian-files) + (invoke "tar" "xzf" "data.tar.gz"))))))) + (inputs (list dbus glibc + (make-libstdc++ gcc) + `(,gcc "lib") + ;; sdbus-cpp + )) + (synopsis "Microsoft Authentication Library cross platform") + (description "") + (home-page "") + ;; Well what to do + ;; https://docs.microsoft.com/en-us/mem/intune/fundamentals/licenses + (license #f))) + +(define-public sdbus-cpp + (package + (name "sdbus-cpp") + (version "1.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Kistler-Group/sdbus-cpp") + (recursive? #t) + (commit (string-append "v" version)))) + ;; (patches '("patches/sdbus-cpp-remove-systemd.patch")) + (sha256 + (base32 + ;; "1d1fdk47j36mvnmp9lnypj9cfmfkxm3hc507iis775lci7lrjdh2")))) + "1d1fdk47j36mvnmp9lnypj9cfmfkxm3hc507iis775lci7lrjdh2")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list "-DBUILD_LIBSYSTEMD=ON" + "-DBUILD_TESTS=ON") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'fix-mount-package + (lambda* _ + (substitute* "cmake/LibsystemdExternalProject.cmake" + (("MOUNT mount") + "UTIL-LINUX util-linux"))))))) + (native-inputs (list meson ninja pkg-config)) + (inputs (list dbus util-linux libcap)) + (home-page "https://github.com/Kistler-Group/sdbus-cpp") + (synopsis "High-level C++ D-Bus library") + (description "") + (license license:lgpl2.1))) + +; TODO: JAVA based +(define-public msft-identity-broker + (package + (name "msft-identity-broker") + (version "1.0.6") + (source (origin + (method url-fetch) + (uri (string-append + "https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/m/msft-identity-broker/msft-identity-broker_" + version "_amd64.deb")) + (sha256 + (base32 + "1frbqsvsz74w1sms2sdbn402b2aabp4v354g4qs2nl0agcnvw8sm")))) + (build-system binary-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (replace 'unpack + (lambda* (#:key inputs #:allow-other-keys) + (let ((debian-files (assoc-ref inputs "source"))) + (invoke "ar" "x" debian-files) + (invoke "tar" "xzf" "data.tar.gz"))))))) + (synopsis "Microsoft Identity broker") + (description "") + (home-page "") + ;; Well what to do + ;; https://docs.microsoft.com/en-us/mem/intune/fundamentals/licenses + (license #f))) diff --git a/nongnu/packages/linux.scm b/nongnu/packages/linux.scm index ebc9bab4..a12c0563 100644 --- a/nongnu/packages/linux.scm +++ b/nongnu/packages/linux.scm @@ -180,9 +180,6 @@ on hardware which requires nonfree software to function.")))) (define-public linux-6.16 (corrupt-linux linux-libre-6.16)) -(define-public linux-6.15 - (corrupt-linux linux-libre-6.15)) - (define-public linux-6.12 (corrupt-linux linux-libre-6.12)) @@ -364,14 +361,14 @@ stable, responsive and smooth desktop experience."))) (define-public linux-firmware (package (name "linux-firmware") - (version "20250808") + (version "20250917") (source (origin (method url-fetch) (uri (string-append "mirror://kernel.org/linux/kernel/firmware/" "linux-firmware-" version ".tar.xz")) (sha256 (base32 - "0zw3vsmd07yr27y5fz0m357hci00ah5impx5sz4jcnd18ldmaaf0")))) + "0xgvb0fb4s48423asdb1dnkjjskbfmm336gm6vki2nliasvpa18j")))) (build-system gnu-build-system) (arguments (list #:tests? #f @@ -418,8 +415,11 @@ if your hardware is supported by one of the smaller firmware packages.") #~(lambda _ (use-modules (ice-9 regex)) (substitute* "WHENCE" - (("^(File|RawFile|Link): *([^ ]*)(.*)" _ type file rest) - (string-append (if (string-match #$keep file) type "Skip") ": " file rest))))) + (("^(File|RawFile): *([^ ]*)(.*)" _ type file rest) + (string-append (if (string-match #$keep file) type "Skip") ": " file rest)) + (("^Link: *(.*) *-> *(.*)" _ file target) + (string-append (if (string-match #$keep target) "Link" "Skip") + ": " file " -> " target))))) (define-public amdgpu-firmware (package @@ -708,7 +708,7 @@ laptops).") ((#:phases phases #~%standard-phases) #~(modify-phases #$phases (add-after 'unpack 'select-firmware - #$(select-firmware "^iwlwifi-"))))))) + #$(select-firmware "^intel/iwlwifi/"))))))) (home-page "https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi") (synopsis "Nonfree firmware for Intel wifi chips") (description "The proprietary iwlwifi kernel module is required by many diff --git a/nongnu/packages/messaging.scm b/nongnu/packages/messaging.scm index 519c6c6c..54acf433 100644 --- a/nongnu/packages/messaging.scm +++ b/nongnu/packages/messaging.scm @@ -83,7 +83,7 @@ its core.") (define-public signal-desktop (package (name "signal-desktop") - (version "7.69.0") + (version "7.71.0") (source (origin (method url-fetch) @@ -92,7 +92,7 @@ its core.") "https://updates.signal.org/desktop/apt/pool/s/" name "/" name "_" version "_amd64.deb")) (sha256 - (base32 "02hrsgx5jwhm16nvmz2pm8n11jp56g9mn404mymn1kfi2qsxy5mm")))) + (base32 "14lk8s040alj2lxqw30hh54l4p3kpq1mxq64l8sqlph2y9c3hig3")))) (supported-systems '("x86_64-linux")) (build-system chromium-binary-build-system) (arguments diff --git a/nongnu/packages/mozilla.scm b/nongnu/packages/mozilla.scm index 6d0fd849..88f88c3e 100644 --- a/nongnu/packages/mozilla.scm +++ b/nongnu/packages/mozilla.scm @@ -87,19 +87,19 @@ ;; Update this id with every firefox update to its release date. ;; It's used for cache validation and therefore can lead to strange bugs. -(define %firefox-esr-build-id "20250818124956") +(define %firefox-esr-build-id "20250915124517") (define-public firefox-esr (package (name "firefox-esr") - (version "140.2.0esr") + (version "140.3.0esr") (source (origin (method url-fetch) (uri (string-append "https://archive.mozilla.org/pub/firefox/releases/" version "/source/firefox-" version ".source.tar.xz")) (sha256 - (base32 "0mgglah7inji8gyhswdy62w2lqxgm4yfs1xg7ib6sw1vbikwwvcm")) + (base32 "05i3czn3v2qnhir8apcphbqy7rmy1dn7kcwx5yyi2qvmjcyfpipg")) (patches (map (lambda (patch) (search-path @@ -529,20 +529,20 @@ Release (ESR) version.") ;; Update this id with every firefox update to its release date. ;; It's used for cache validation and therefore can lead to strange bugs. -(define %firefox-build-id "20250818122500") +(define %firefox-build-id "20250915125927") (define-public firefox (package (inherit firefox-esr) (name "firefox") - (version "142.0") + (version "143.0") (source (origin (method url-fetch) (uri (string-append "https://archive.mozilla.org/pub/firefox/releases/" version "/source/firefox-" version ".source.tar.xz")) (sha256 - (base32 "03sblq1l5hjlwgqh1vyshrw1161cs5amlx7kjqzmjv1v1zqy2218")) + (base32 "10yz3rz2akf3b19hd2c5v77f038j0h6ci1asjb4w480q14wclibc")) (patches (map (lambda (patch) (search-path diff --git a/nongnu/packages/nvidia.scm b/nongnu/packages/nvidia.scm index 75589389..1a5031bc 100644 --- a/nongnu/packages/nvidia.scm +++ b/nongnu/packages/nvidia.scm @@ -228,9 +228,9 @@ ACTION==\"unbind\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\ (define-public nvidia-driver (package (name "nvidia-driver") - (version "570.181") + (version "580.82.09") (source (nvidia-source - version "1yfwwfwbl5ph7s7zddixa0w8nb1wdg25sjysg98fl0hq7z72avgh")) + version "1dwmardvxb2w6mx7hich5wc06f50qz92jk63kbhf059fv8rgiv1y")) (build-system copy-build-system) (arguments (list #:modules '((guix build copy-build-system) @@ -245,8 +245,8 @@ ACTION==\"unbind\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\ ("x86_64-linux" ".") (_ ".")) "lib/" #:include-regexp ("^./[^/]+\\.so")) - ("." "lib/nvidia/wine/" #:include-regexp ("_?nvngx\\.dll$")) - ("." "share/nvidia/" #:include-regexp ("nvidia-application-profiles")) + ("." "lib/nvidia/wine/" #:include-regexp ("_?nvngx.*?\\.dll$")) + ("." "share/nvidia/" #:include-regexp ("nvidia-application-profiles|nvoptix.bin")) ("." "share/egl/egl_external_platform.d/" #:include-regexp ("(gbm|wayland|xcb|xlib)\\.json")) ("10_nvidia.json" "share/glvnd/egl_vendor.d/") ("90-nvidia.rules" "lib/udev/rules.d/") @@ -287,6 +287,8 @@ ACTION==\"unbind\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\ (substitute* '("nvidia_icd.json" "nvidia_layers.json") (("libGLX_nvidia\\.so\\.." all) + (string-append #$output "/lib/" all)) + (("libnvidia-present\\.so\\.[0-9.]*" all) (string-append #$output "/lib/" all))) ;; VulkanSC ICD configuration @@ -627,9 +629,9 @@ add @code{nvidia_drm.modeset=1} to @code{kernel-arguments} as well.") (define-public nvidia-settings (package (name "nvidia-settings") - (version "570.181") + (version "580.82.09") (source (nvidia-settings-source - name version "0fq72pj1b4iwlyivi9nmqr45iz6aqqdxgdbgk26x9m1yfxgpy748")) + name version "0sy3mrg3vmyba6m87nanzmpvv2hzhb6nqdckhlaxv8wppmr7fvms")) (build-system gnu-build-system) (arguments (list #:tests? #f ;no test suite @@ -849,7 +851,7 @@ variables @code{__GLX_VENDOR_LIBRARY_NAME=nvidia} and (define-public egl-gbm (package (name "egl-gbm") - (version "1.1.2") + (version "1.1.2.1") (source (origin (method git-fetch) (uri (git-reference @@ -858,7 +860,7 @@ variables @code{__GLX_VENDOR_LIBRARY_NAME=nvidia} and (file-name (git-file-name name version)) (sha256 (base32 - "1rfgfi06ry7c7hnzdm4b0dc8r3hmbfn2rd37z3mc4wn38sgz5l3a")))) + "1zcr1jksnh0431marzvgg301aybli29r1xw5vs4wnxgcp9bigvn6")))) (build-system meson-build-system) (native-inputs (list pkg-config)) (inputs (list eglexternalplatform mesa-for-nvda)) @@ -872,7 +874,7 @@ GBM EGL support.") (define-public egl-x11 (package (name "egl-x11") - (version "1.0.2") + (version "1.0.3") (source (origin (method git-fetch) (uri (git-reference @@ -881,7 +883,7 @@ GBM EGL support.") (file-name (git-file-name name version)) (sha256 (base32 - "0s18xpylz16ry51xp1bs2s4hmvwsq49hcfc0gnmmvnymdzm041aq")))) + "1hh1wkdijjhsmym5ab5nw8wyi0w9x7aznnmyg8sczhwdfb5rdnrj")))) (build-system meson-build-system) (native-inputs (list pkg-config)) (inputs (list eglexternalplatform mesa-for-nvda))