|
|
@ -3,22 +3,19 @@ |
|
|
|
;; SPDX-License-Identifier: GPL-3.0-or-later |
|
|
|
;; SPDX-License-Identifier: GPL-3.0-or-later |
|
|
|
|
|
|
|
|
|
|
|
(define-module (rosenthal packages wm) |
|
|
|
(define-module (rosenthal packages wm) |
|
|
|
#:use-module (srfi srfi-26) |
|
|
|
|
|
|
|
#:use-module ((guix licenses) #:prefix license:) |
|
|
|
#:use-module ((guix licenses) #:prefix license:) |
|
|
|
#:use-module (guix download) |
|
|
|
|
|
|
|
#:use-module (guix gexp) |
|
|
|
|
|
|
|
#:use-module (guix git-download) |
|
|
|
|
|
|
|
#:use-module (guix packages) |
|
|
|
|
|
|
|
#:use-module (guix build-system cmake) |
|
|
|
#:use-module (guix build-system cmake) |
|
|
|
#:use-module (guix build-system gnu) |
|
|
|
#:use-module (guix build-system gnu) |
|
|
|
#:use-module (guix build-system meson) |
|
|
|
#:use-module (guix build-system meson) |
|
|
|
#:use-module (guix build-system qt) |
|
|
|
#:use-module (guix build-system qt) |
|
|
|
#:use-module (gnu packages admin) |
|
|
|
#:use-module (guix download) |
|
|
|
|
|
|
|
#:use-module (guix gexp) |
|
|
|
|
|
|
|
#:use-module (guix git-download) |
|
|
|
|
|
|
|
#:use-module (guix packages) |
|
|
|
|
|
|
|
#:use-module (guix utils) |
|
|
|
#:use-module (gnu packages autotools) |
|
|
|
#:use-module (gnu packages autotools) |
|
|
|
#:use-module (gnu packages base) |
|
|
|
#:use-module (gnu packages base) |
|
|
|
#:use-module (gnu packages bash) |
|
|
|
#:use-module (gnu packages bash) |
|
|
|
#:use-module (gnu packages cmake) |
|
|
|
|
|
|
|
#:use-module (gnu packages commencement) |
|
|
|
|
|
|
|
#:use-module (gnu packages compression) |
|
|
|
#:use-module (gnu packages compression) |
|
|
|
#:use-module (gnu packages cpp) |
|
|
|
#:use-module (gnu packages cpp) |
|
|
|
#:use-module (gnu packages freedesktop) |
|
|
|
#:use-module (gnu packages freedesktop) |
|
|
@ -39,22 +36,49 @@ |
|
|
|
#:use-module (gnu packages wm) |
|
|
|
#:use-module (gnu packages wm) |
|
|
|
#:use-module (gnu packages xdisorg) |
|
|
|
#:use-module (gnu packages xdisorg) |
|
|
|
#:use-module (gnu packages xml) |
|
|
|
#:use-module (gnu packages xml) |
|
|
|
#:use-module (gnu packages xorg)) |
|
|
|
#:use-module (rosenthal packages freedesktop)) |
|
|
|
|
|
|
|
|
|
|
|
(define libinput-minimal-for-hyprland |
|
|
|
(define cairo-for-hyprland |
|
|
|
(package |
|
|
|
(package |
|
|
|
(inherit libinput-minimal) |
|
|
|
(inherit cairo) |
|
|
|
(name "libinput-minimal") |
|
|
|
(name "cairo") |
|
|
|
(version "1.26.0") |
|
|
|
(version "1.18.0") |
|
|
|
(source (origin |
|
|
|
(source (origin |
|
|
|
(method git-fetch) |
|
|
|
(method url-fetch) |
|
|
|
(uri (git-reference |
|
|
|
(uri (string-append "https://cairographics.org/releases/cairo-" |
|
|
|
(url "https://gitlab.freedesktop.org/libinput/libinput.git") |
|
|
|
version ".tar.xz")) |
|
|
|
(commit version))) |
|
|
|
(sha256 |
|
|
|
(file-name (git-file-name name version)) |
|
|
|
(base32 |
|
|
|
|
|
|
|
"0r0by563s75xyzz0d0j1nmjqmdrk2x9agk7r57p3v8vqp4v0ffi4")))) |
|
|
|
|
|
|
|
(build-system meson-build-system) |
|
|
|
|
|
|
|
(arguments |
|
|
|
|
|
|
|
(list #:tests? #f |
|
|
|
|
|
|
|
#:glib-or-gtk? #t |
|
|
|
|
|
|
|
#:configure-flags |
|
|
|
|
|
|
|
#~(list "-Dspectre=disabled"))) |
|
|
|
|
|
|
|
(outputs '("out")))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define hwdata-for-hyprland |
|
|
|
|
|
|
|
(package |
|
|
|
|
|
|
|
(inherit hwdata) |
|
|
|
|
|
|
|
(arguments |
|
|
|
|
|
|
|
(substitute-keyword-arguments (package-arguments hwdata) |
|
|
|
|
|
|
|
((#:phases _) #~%standard-phases))) |
|
|
|
|
|
|
|
(outputs '("out")))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define libdrm-for-hyprland |
|
|
|
|
|
|
|
(package |
|
|
|
|
|
|
|
(inherit libdrm) |
|
|
|
|
|
|
|
(name "libdrm") |
|
|
|
|
|
|
|
(version "2.4.120") |
|
|
|
|
|
|
|
(source (origin |
|
|
|
|
|
|
|
(method url-fetch) |
|
|
|
|
|
|
|
(uri (string-append |
|
|
|
|
|
|
|
"https://dri.freedesktop.org/libdrm/libdrm-" |
|
|
|
|
|
|
|
version ".tar.xz")) |
|
|
|
(sha256 |
|
|
|
(sha256 |
|
|
|
(base32 |
|
|
|
(base32 |
|
|
|
"010bqvic471prhja1j5xqni9dhqc36ikqpxi8ih0fs13wph70p4s")))))) |
|
|
|
"0yijzgg6rdsa68bz03sw0lcfa2nclv9m3as1cja50wkcyxim7x9v")))))) |
|
|
|
|
|
|
|
|
|
|
|
(define udis86-for-hyprland |
|
|
|
(define udis86-for-hyprland |
|
|
|
(let ((revision "186") |
|
|
|
(let ((revision "186") |
|
|
@ -81,124 +105,60 @@ set architectures. It consists of a C library called @code{libudis86} and a |
|
|
|
command line tool called @code{udcli} that incorporates the library.") |
|
|
|
command line tool called @code{udcli} that incorporates the library.") |
|
|
|
(license license:bsd-2)))) |
|
|
|
(license license:bsd-2)))) |
|
|
|
|
|
|
|
|
|
|
|
(define wayland-for-hyprland |
|
|
|
(define wayland-protocols-for-hyprland |
|
|
|
(package |
|
|
|
(package |
|
|
|
(inherit wayland) |
|
|
|
(inherit wayland-protocols) |
|
|
|
(name "wayland") |
|
|
|
(name "wayland-protocols") |
|
|
|
(version "1.23.1") |
|
|
|
(version "1.36") |
|
|
|
(source (origin |
|
|
|
(source (origin |
|
|
|
(method url-fetch) |
|
|
|
(method url-fetch) |
|
|
|
(uri (string-append "https://gitlab.freedesktop.org/" name |
|
|
|
(uri (string-append |
|
|
|
"/" name "/-/releases/" version "/downloads/" |
|
|
|
"https://gitlab.freedesktop.org/wayland/wayland-protocols" |
|
|
|
name "-" version ".tar.xz")) |
|
|
|
"/-/releases/" version "/downloads/" |
|
|
|
|
|
|
|
"wayland-protocols-" version ".tar.xz")) |
|
|
|
(sha256 |
|
|
|
(sha256 |
|
|
|
(base32 |
|
|
|
(base32 |
|
|
|
"1vg5h6d94hglh7724q6wx9dpg4y0afvxksankp1hwbcy76lb4kw6")))))) |
|
|
|
"14kyxywpfkgpjpkrybs28q1s2prnz30k1b4zap5a3ybrbvh4vzbi")))))) |
|
|
|
|
|
|
|
|
|
|
|
(define-public aquamarine |
|
|
|
(define wlroots-for-hyprland |
|
|
|
(package |
|
|
|
(let ((base wlroots) |
|
|
|
(name "aquamarine") |
|
|
|
|
|
|
|
(version "0.4.3") |
|
|
|
|
|
|
|
(source (origin |
|
|
|
|
|
|
|
(method git-fetch) |
|
|
|
|
|
|
|
(uri (git-reference |
|
|
|
|
|
|
|
(url "https://github.com/hyprwm/aquamarine") |
|
|
|
|
|
|
|
(commit (string-append "v" version)))) |
|
|
|
|
|
|
|
(file-name (git-file-name name version)) |
|
|
|
|
|
|
|
(sha256 |
|
|
|
|
|
|
|
(base32 |
|
|
|
|
|
|
|
"0x1zz1ywchs0awkjkvdgskgqnp6pz5lqwmgr8g0zc0i7inhyg1p3")))) |
|
|
|
|
|
|
|
(build-system cmake-build-system) |
|
|
|
|
|
|
|
(arguments |
|
|
|
|
|
|
|
(list #:cmake cmake-3.30 |
|
|
|
|
|
|
|
;; TODO |
|
|
|
|
|
|
|
#:tests? #f)) |
|
|
|
|
|
|
|
(native-inputs |
|
|
|
|
|
|
|
(list gcc-13 hyprwayland-scanner pkg-config)) |
|
|
|
|
|
|
|
(inputs |
|
|
|
|
|
|
|
(list eudev |
|
|
|
|
|
|
|
hwdata |
|
|
|
|
|
|
|
hyprutils |
|
|
|
|
|
|
|
libdisplay-info |
|
|
|
|
|
|
|
libglvnd |
|
|
|
|
|
|
|
libinput-minimal-for-hyprland |
|
|
|
|
|
|
|
libseat |
|
|
|
|
|
|
|
mesa |
|
|
|
|
|
|
|
pixman |
|
|
|
|
|
|
|
wayland |
|
|
|
|
|
|
|
wayland-protocols-next)) |
|
|
|
|
|
|
|
(home-page "https://hyprland.org/") |
|
|
|
|
|
|
|
(synopsis "Linux rendering backend library") |
|
|
|
|
|
|
|
(description |
|
|
|
|
|
|
|
"Aquamarine is a C++-only Linux rendering backend library. It provides |
|
|
|
|
|
|
|
basic abstractions for an application to render on a Wayland session (in a |
|
|
|
|
|
|
|
window) or a native DRM session. It is agnostic of the rendering |
|
|
|
|
|
|
|
API (Vulkan / OpenGL).") |
|
|
|
|
|
|
|
(license license:bsd-3))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define-public grimblast |
|
|
|
|
|
|
|
(let ((version "0.1") |
|
|
|
|
|
|
|
(revision "1") |
|
|
|
(revision "1") |
|
|
|
(commit "9d67858b437d4a1299be496d371b66fc0d3e01f6")) |
|
|
|
(commit "5c1d51c5a2793480f5b6c4341ad0797052aec2ea")) |
|
|
|
(package |
|
|
|
(package |
|
|
|
(name "grimblast") |
|
|
|
(inherit base) |
|
|
|
(version (git-version version revision commit)) |
|
|
|
(name "wlroots") |
|
|
|
|
|
|
|
(version (git-version "0.18.0-dev-hyprland" revision commit)) |
|
|
|
(source (origin |
|
|
|
(source (origin |
|
|
|
(method git-fetch) |
|
|
|
(method git-fetch) |
|
|
|
(uri (git-reference |
|
|
|
(uri (git-reference |
|
|
|
(url "https://github.com/hyprwm/contrib") |
|
|
|
(url "https://github.com/hyprwm/wlroots-hyprland") |
|
|
|
(commit commit))) |
|
|
|
(commit commit))) |
|
|
|
(file-name (git-file-name name version)) |
|
|
|
(file-name (git-file-name name version)) |
|
|
|
(sha256 |
|
|
|
(sha256 |
|
|
|
(base32 |
|
|
|
(base32 |
|
|
|
"1v0v5j7ingx80b5zpyz8ilfhz0kh9dcssnx6iwwl45zzgp915cpv")))) |
|
|
|
"0gy0g0kxb3q1wjqrypnvmrxcb4ld3advikchygpwpfp4s9v0mmvd")))) |
|
|
|
(build-system gnu-build-system) |
|
|
|
|
|
|
|
(arguments |
|
|
|
(arguments |
|
|
|
(list #:tests? #f ;No tests. |
|
|
|
(substitute-keyword-arguments (package-arguments wlroots) |
|
|
|
#:make-flags |
|
|
|
((#:phases phases #~%standard-phases) |
|
|
|
#~(list (string-append "PREFIX=" #$output)) |
|
|
|
#~(modify-phases #$phases |
|
|
|
#:phases |
|
|
|
(add-after 'unpack 'adjust-patching-script |
|
|
|
#~(modify-phases %standard-phases |
|
|
|
(lambda _ |
|
|
|
(delete 'configure) |
|
|
|
(substitute* "patches/apply.sh" |
|
|
|
(add-after 'unpack 'chdir |
|
|
|
(("apply \\|\\| check_applied \\|\\| fail") |
|
|
|
(lambda _ |
|
|
|
"patch -Np1 < $PATCH")))))))) |
|
|
|
(chdir "grimblast"))) |
|
|
|
(propagated-inputs |
|
|
|
(add-after 'chdir 'fix-paths |
|
|
|
(modify-inputs (package-propagated-inputs wlroots) |
|
|
|
(lambda* (#:key inputs #:allow-other-keys) |
|
|
|
(prepend libdrm-for-hyprland) |
|
|
|
(substitute* "grimblast" |
|
|
|
(replace "libinput-minimal" libinput-minimal-1.24.0) |
|
|
|
(((string-append "\\<(" (string-join |
|
|
|
(replace "wayland-protocols" wayland-protocols-for-hyprland))) |
|
|
|
'("date" |
|
|
|
(native-inputs |
|
|
|
"grim" |
|
|
|
(modify-inputs (package-native-inputs base) |
|
|
|
"slurp" |
|
|
|
(replace "hwdata" `(,hwdata-for-hyprland "out"))))))) |
|
|
|
"hyprctl" |
|
|
|
|
|
|
|
"hyprpicker" |
|
|
|
|
|
|
|
"wl-copy" |
|
|
|
|
|
|
|
"jq" |
|
|
|
|
|
|
|
"notify-send") |
|
|
|
|
|
|
|
"|") |
|
|
|
|
|
|
|
")\\>") |
|
|
|
|
|
|
|
cmd) |
|
|
|
|
|
|
|
(search-input-file |
|
|
|
|
|
|
|
inputs (string-append "bin/" cmd))))))))) |
|
|
|
|
|
|
|
(native-inputs (list scdoc)) |
|
|
|
|
|
|
|
(inputs |
|
|
|
|
|
|
|
(list coreutils-minimal |
|
|
|
|
|
|
|
grim |
|
|
|
|
|
|
|
jq |
|
|
|
|
|
|
|
libnotify |
|
|
|
|
|
|
|
slurp |
|
|
|
|
|
|
|
hyprland |
|
|
|
|
|
|
|
hyprpicker |
|
|
|
|
|
|
|
wl-clipboard)) |
|
|
|
|
|
|
|
(home-page "https://github.com/hyprwm/contrib") |
|
|
|
|
|
|
|
(synopsis "Hyprland version of Grimshot") |
|
|
|
|
|
|
|
(description "A Hyprland version of Grimshot.") |
|
|
|
|
|
|
|
(license license:expat)))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define-public hyprcursor |
|
|
|
(define-public hyprcursor |
|
|
|
(package |
|
|
|
(package |
|
|
|
(name "hyprcursor") |
|
|
|
(name "hyprcursor") |
|
|
|
(version "0.1.9") |
|
|
|
(version "0.1.7") |
|
|
|
(source (origin |
|
|
|
(source (origin |
|
|
|
(method git-fetch) |
|
|
|
(method git-fetch) |
|
|
|
(uri (git-reference |
|
|
|
(uri (git-reference |
|
|
@ -207,21 +167,54 @@ API (Vulkan / OpenGL).") |
|
|
|
(file-name (git-file-name name version)) |
|
|
|
(file-name (git-file-name name version)) |
|
|
|
(sha256 |
|
|
|
(sha256 |
|
|
|
(base32 |
|
|
|
(base32 |
|
|
|
"0z3ar580n630145nq80qw0p8v0kai6knvhi6nr9z0y1jrb07b0ql")))) |
|
|
|
"0s5x3nk2f48xl2z797f8s5jddmhpkg0ndw0jl7mirv9l23xmajag")))) |
|
|
|
(build-system cmake-build-system) |
|
|
|
(build-system cmake-build-system) |
|
|
|
(arguments (list #:tests? #f)) ;TODO: No themes currently packaged. |
|
|
|
(arguments (list #:tests? #f)) ;TODO: No themes packaged. |
|
|
|
|
|
|
|
(inputs (list cairo-for-hyprland hyprlang librsvg libzip tomlplusplus)) |
|
|
|
(native-inputs (list gcc-13 pkg-config)) |
|
|
|
(native-inputs (list gcc-13 pkg-config)) |
|
|
|
(inputs (list cairo hyprlang (librsvg-for-system) libzip tomlplusplus)) |
|
|
|
|
|
|
|
(home-page "https://hyprland.org/") |
|
|
|
(home-page "https://hyprland.org/") |
|
|
|
(synopsis "Hyprland cursor format, library and utilities") |
|
|
|
(synopsis "Hyprland cursor format, library and utilities") |
|
|
|
(description |
|
|
|
(description |
|
|
|
"This package provides Hyprland cursor format, library and utilities.") |
|
|
|
"This package provides Hyprland cursor format, library and utilities.") |
|
|
|
(license license:bsd-3))) |
|
|
|
(license license:bsd-3))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define-public hyprland-protocols |
|
|
|
|
|
|
|
(package |
|
|
|
|
|
|
|
(name "hyprland-protocols") |
|
|
|
|
|
|
|
(version "0.2") |
|
|
|
|
|
|
|
(source (origin |
|
|
|
|
|
|
|
(method git-fetch) |
|
|
|
|
|
|
|
(uri (git-reference |
|
|
|
|
|
|
|
(url "https://github.com/hyprwm/hyprland-protocols") |
|
|
|
|
|
|
|
(commit (string-append "v" version)))) |
|
|
|
|
|
|
|
(file-name (git-file-name name version)) |
|
|
|
|
|
|
|
(sha256 |
|
|
|
|
|
|
|
(base32 |
|
|
|
|
|
|
|
"1drjznj7fn6m5m6skhzh0p031cb5x0bb4i56jxnxwpwaa71g1z20")))) |
|
|
|
|
|
|
|
(build-system meson-build-system) |
|
|
|
|
|
|
|
(home-page "https://hyprland.org") |
|
|
|
|
|
|
|
(synopsis "Wayland protocol extensions for Hyprland") |
|
|
|
|
|
|
|
(description |
|
|
|
|
|
|
|
"This package provides Wayland protocol extensions for Hyprland and it |
|
|
|
|
|
|
|
exists in an effort to bridge the gap between Hyprland and KDE/Gnome's |
|
|
|
|
|
|
|
functionality. Since @code{wlr-protocols} is closed for new submissions, and |
|
|
|
|
|
|
|
@code{wayland-protocols} is very slow with changes, this package will hold |
|
|
|
|
|
|
|
protocols used by Hyprland to bridge the aforementioned gap.") |
|
|
|
|
|
|
|
(license license:bsd-3))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define hyprland-unbundle-wlroots-patch |
|
|
|
|
|
|
|
(origin |
|
|
|
|
|
|
|
(method url-fetch) |
|
|
|
|
|
|
|
(uri (string-append "https://github.com/hyprwm/Hyprland" "/raw/" |
|
|
|
|
|
|
|
"cba1ade848feac44b2eda677503900639581c3f4" |
|
|
|
|
|
|
|
"/nix/patches/meson-build.patch")) |
|
|
|
|
|
|
|
(sha256 |
|
|
|
|
|
|
|
(base32 "0fwvsshz3k6061p3hdl175pydmj80vnw5rm4xfcn64w1ssfq7liw")))) |
|
|
|
|
|
|
|
|
|
|
|
(define-public hyprland |
|
|
|
(define-public hyprland |
|
|
|
(package |
|
|
|
(package |
|
|
|
(name "hyprland") |
|
|
|
(name "hyprland") |
|
|
|
(version "0.44.1") |
|
|
|
(version "0.40.0") |
|
|
|
(source (origin |
|
|
|
(source (origin |
|
|
|
(method url-fetch) |
|
|
|
(method url-fetch) |
|
|
|
(uri (string-append "https://github.com/hyprwm/Hyprland" |
|
|
|
(uri (string-append "https://github.com/hyprwm/Hyprland" |
|
|
@ -231,90 +224,61 @@ API (Vulkan / OpenGL).") |
|
|
|
(snippet |
|
|
|
(snippet |
|
|
|
'(begin |
|
|
|
'(begin |
|
|
|
;; Remove bundled sources and hyprpm utility. |
|
|
|
;; Remove bundled sources and hyprpm utility. |
|
|
|
(substitute* "CMakeLists.txt" |
|
|
|
(substitute* "meson.build" |
|
|
|
(("^add_subdirectory\\(hyprpm\\).*") "")) |
|
|
|
((".*hyprpm/src.*") "")) |
|
|
|
(for-each delete-file-recursively |
|
|
|
(for-each delete-file-recursively |
|
|
|
'("hyprpm" |
|
|
|
'("hyprpm" |
|
|
|
"subprojects")))) |
|
|
|
"subprojects")))) |
|
|
|
|
|
|
|
(patches (list hyprland-unbundle-wlroots-patch)) |
|
|
|
(sha256 |
|
|
|
(sha256 |
|
|
|
(base32 |
|
|
|
(base32 |
|
|
|
"0qzwdlj0bwj267285l3gjklhafn3bln90z985yws4j5cbp7bj0d9")))) |
|
|
|
"0f4hs8qzmfmg4lr491b2inanb02xn4xa0gwb8a0ks3m64iwzx589")))) |
|
|
|
(build-system cmake-build-system) |
|
|
|
(build-system meson-build-system) |
|
|
|
(arguments |
|
|
|
(arguments |
|
|
|
(list #:cmake cmake-3.30 |
|
|
|
(list #:build-type "release" |
|
|
|
#:tests? #f ;No tests. |
|
|
|
|
|
|
|
#:phases |
|
|
|
#:phases |
|
|
|
#~(modify-phases %standard-phases |
|
|
|
#~(modify-phases %standard-phases |
|
|
|
(add-after 'unpack 'fix-path |
|
|
|
(add-after 'unpack 'fix-path |
|
|
|
(lambda* (#:key inputs #:allow-other-keys) |
|
|
|
(lambda* (#:key inputs #:allow-other-keys) |
|
|
|
(substitute* "src/xwayland/Server.cpp" |
|
|
|
|
|
|
|
(("Xwayland( \\{\\})" _ suffix) |
|
|
|
|
|
|
|
(string-append |
|
|
|
|
|
|
|
(search-input-file inputs "bin/Xwayland") |
|
|
|
|
|
|
|
suffix))) |
|
|
|
|
|
|
|
(substitute* (find-files "src" "\\.cpp$") |
|
|
|
(substitute* (find-files "src" "\\.cpp$") |
|
|
|
(("/usr/local(/bin/Hyprland)" _ path) |
|
|
|
(("/usr/local(/bin/Hyprland)" _ path) |
|
|
|
(string-append #$output path)) |
|
|
|
(string-append #$output path)) |
|
|
|
(("/usr") #$output) |
|
|
|
(("/usr") #$output) |
|
|
|
(("\\<(addr2line|cat|lspci|nm)\\>" cmd) |
|
|
|
(("(execAndGet\\(\")\\<(cat|fc-list|lspci)\\>" |
|
|
|
(search-input-file |
|
|
|
_ pre cmd) |
|
|
|
inputs (string-append "bin/" cmd))))))))) |
|
|
|
(string-append |
|
|
|
(native-inputs (list gcc-14 hyprwayland-scanner ld-wrapper pkg-config)) |
|
|
|
pre (search-input-file |
|
|
|
|
|
|
|
inputs (string-append "bin/" cmd)))) |
|
|
|
|
|
|
|
(("\\<cc\\>") (search-input-file inputs "bin/gcc")) |
|
|
|
|
|
|
|
;; NOTE: Add binutils to inputs will override ld-wrapper. |
|
|
|
|
|
|
|
(("(execAndGet\\(\\(\")\\<nm\\>" _ pre) |
|
|
|
|
|
|
|
(string-append pre #$binutils "/bin/nm")) |
|
|
|
|
|
|
|
(("\\<(addr2line|objcopy)\\>" _ cmd) |
|
|
|
|
|
|
|
(string-append #$binutils "/bin/" cmd)))))))) |
|
|
|
|
|
|
|
(native-inputs (list gcc-13 hyprwayland-scanner jq pkg-config)) |
|
|
|
(inputs |
|
|
|
(inputs |
|
|
|
(list aquamarine |
|
|
|
(list cairo-for-hyprland |
|
|
|
binutils |
|
|
|
gcc-13 |
|
|
|
cairo |
|
|
|
|
|
|
|
hyprcursor |
|
|
|
hyprcursor |
|
|
|
hyprland-protocols |
|
|
|
hyprland-protocols |
|
|
|
hyprlang |
|
|
|
hyprlang |
|
|
|
hyprutils |
|
|
|
|
|
|
|
libinput-minimal-for-hyprland |
|
|
|
|
|
|
|
libxcursor |
|
|
|
|
|
|
|
libxkbcommon |
|
|
|
|
|
|
|
mesa |
|
|
|
|
|
|
|
pango |
|
|
|
pango |
|
|
|
pciutils |
|
|
|
pciutils |
|
|
|
udis86-for-hyprland |
|
|
|
udis86-for-hyprland |
|
|
|
wayland-for-hyprland |
|
|
|
wlroots-for-hyprland)) |
|
|
|
wayland-protocols-next |
|
|
|
|
|
|
|
xcb-util-errors |
|
|
|
|
|
|
|
xcb-util-wm |
|
|
|
|
|
|
|
xorg-server-xwayland)) |
|
|
|
|
|
|
|
(home-page "https://hyprland.org/") |
|
|
|
|
|
|
|
(synopsis "Dynamic tiling Wayland compositor") |
|
|
|
|
|
|
|
(description |
|
|
|
|
|
|
|
"Hyprland is a dynamic tiling Wayland compositor that doesn't sacrifice on |
|
|
|
|
|
|
|
its looks.") |
|
|
|
|
|
|
|
(license license:bsd-3))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define-public hyprland-protocols |
|
|
|
|
|
|
|
(package |
|
|
|
|
|
|
|
(name "hyprland-protocols") |
|
|
|
|
|
|
|
(version "0.4.0") |
|
|
|
|
|
|
|
(source (origin |
|
|
|
|
|
|
|
(method git-fetch) |
|
|
|
|
|
|
|
(uri (git-reference |
|
|
|
|
|
|
|
(url "https://github.com/hyprwm/hyprland-protocols") |
|
|
|
|
|
|
|
(commit (string-append "v" version)))) |
|
|
|
|
|
|
|
(file-name (git-file-name name version)) |
|
|
|
|
|
|
|
(sha256 |
|
|
|
|
|
|
|
(base32 |
|
|
|
|
|
|
|
"0x86w7z3415qvixfhk9a8v5fnbnxdydzx366qz0mpmfg5h86qyha")))) |
|
|
|
|
|
|
|
(build-system meson-build-system) |
|
|
|
|
|
|
|
(home-page "https://hyprland.org") |
|
|
|
(home-page "https://hyprland.org") |
|
|
|
(synopsis "Wayland protocol extensions for Hyprland") |
|
|
|
(synopsis "Dynamic tiling Wayland compositor based on wlroots") |
|
|
|
(description |
|
|
|
(description |
|
|
|
"This package provides Wayland protocol extensions for Hyprland and it |
|
|
|
"Hyprland is a dynamic tiling Wayland compositor based on @code{wlroots} |
|
|
|
exists in an effort to bridge the gap between Hyprland and KDE/Gnome's |
|
|
|
that doesn't sacrifice on its looks. It supports multiple layouts, fancy |
|
|
|
functionality. Since @code{wlr-protocols} is closed for new submissions, and |
|
|
|
effects, has a very flexible IPC model allowing for a lot of customization, and |
|
|
|
@code{wayland-protocols} is very slow with changes, this package will hold |
|
|
|
more.") |
|
|
|
protocols used by Hyprland to bridge the aforementioned gap.") |
|
|
|
|
|
|
|
(license license:bsd-3))) |
|
|
|
(license license:bsd-3))) |
|
|
|
|
|
|
|
|
|
|
|
(define-public hyprlang |
|
|
|
(define-public hyprlang |
|
|
|
(package |
|
|
|
(package |
|
|
|
(name "hyprlang") |
|
|
|
(name "hyprlang") |
|
|
|
(version "0.5.3") |
|
|
|
(version "0.5.0") |
|
|
|
(source (origin |
|
|
|
(source (origin |
|
|
|
(method git-fetch) |
|
|
|
(method git-fetch) |
|
|
|
(uri (git-reference |
|
|
|
(uri (git-reference |
|
|
@ -323,10 +287,9 @@ protocols used by Hyprland to bridge the aforementioned gap.") |
|
|
|
(file-name (git-file-name name version)) |
|
|
|
(file-name (git-file-name name version)) |
|
|
|
(sha256 |
|
|
|
(sha256 |
|
|
|
(base32 |
|
|
|
(base32 |
|
|
|
"0yvfrz3hdyxzhngzhr0bgc5279ra5fv01hbfi6pdj84pz0lpaw02")))) |
|
|
|
"0f8mahg6d6wylybvh6hgayls57miwwv4w69fbaskd8d7dkg2h7kd")))) |
|
|
|
(build-system cmake-build-system) |
|
|
|
(build-system cmake-build-system) |
|
|
|
(native-inputs (list gcc-13 pkg-config)) |
|
|
|
(native-inputs (list gcc-13)) |
|
|
|
(inputs (list hyprutils)) |
|
|
|
|
|
|
|
(home-page "https://hyprland.org/hyprlang/") |
|
|
|
(home-page "https://hyprland.org/hyprlang/") |
|
|
|
(synopsis "Official implementation library for hypr config language") |
|
|
|
(synopsis "Official implementation library for hypr config language") |
|
|
|
(description |
|
|
|
(description |
|
|
@ -334,73 +297,10 @@ protocols used by Hyprland to bridge the aforementioned gap.") |
|
|
|
language used in @code{hyprland}.") |
|
|
|
language used in @code{hyprland}.") |
|
|
|
(license license:gpl3+))) |
|
|
|
(license license:gpl3+))) |
|
|
|
|
|
|
|
|
|
|
|
(define-public hyprpicker |
|
|
|
|
|
|
|
(package |
|
|
|
|
|
|
|
(name "hyprpicker") |
|
|
|
|
|
|
|
(version "0.4.1") |
|
|
|
|
|
|
|
(source (origin |
|
|
|
|
|
|
|
(method git-fetch) |
|
|
|
|
|
|
|
(uri (git-reference |
|
|
|
|
|
|
|
(url "https://github.com/hyprwm/hyprpicker") |
|
|
|
|
|
|
|
(commit (string-append "v" version)))) |
|
|
|
|
|
|
|
(file-name (git-file-name name version)) |
|
|
|
|
|
|
|
(sha256 |
|
|
|
|
|
|
|
(base32 |
|
|
|
|
|
|
|
"11r06c62dqj81r27qhf36f3smnjyk3vz8naa655m8khv4qqvmvc2")))) |
|
|
|
|
|
|
|
(build-system cmake-build-system) |
|
|
|
|
|
|
|
(arguments |
|
|
|
|
|
|
|
(list #:tests? #f ;No tests. |
|
|
|
|
|
|
|
#:phases |
|
|
|
|
|
|
|
#~(modify-phases %standard-phases |
|
|
|
|
|
|
|
(add-after 'unpack 'fix-path |
|
|
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys) |
|
|
|
|
|
|
|
(substitute* "src/clipboard/Clipboard.cpp" |
|
|
|
|
|
|
|
(("wl-copy" cmd) |
|
|
|
|
|
|
|
(search-input-file |
|
|
|
|
|
|
|
inputs (string-append "bin/" cmd))))))))) |
|
|
|
|
|
|
|
(native-inputs (list gcc-13 hyprwayland-scanner pkg-config)) |
|
|
|
|
|
|
|
(inputs |
|
|
|
|
|
|
|
(list cairo |
|
|
|
|
|
|
|
hyprutils |
|
|
|
|
|
|
|
libjpeg-turbo |
|
|
|
|
|
|
|
libxkbcommon |
|
|
|
|
|
|
|
pango |
|
|
|
|
|
|
|
wayland |
|
|
|
|
|
|
|
wayland-protocols-next |
|
|
|
|
|
|
|
wl-clipboard)) |
|
|
|
|
|
|
|
(home-page "https://hyprland.org/") |
|
|
|
|
|
|
|
(synopsis "@code{wlroots}-compatible Wayland color picker") |
|
|
|
|
|
|
|
(description |
|
|
|
|
|
|
|
"This package provides a @code{wlroots}-compatible Wayland color picker.") |
|
|
|
|
|
|
|
(license license:bsd-3))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define-public hyprutils |
|
|
|
|
|
|
|
(package |
|
|
|
|
|
|
|
(name "hyprutils") |
|
|
|
|
|
|
|
(version "0.2.3") |
|
|
|
|
|
|
|
(source (origin |
|
|
|
|
|
|
|
(method git-fetch) |
|
|
|
|
|
|
|
(uri (git-reference |
|
|
|
|
|
|
|
(url "https://github.com/hyprwm/hyprutils") |
|
|
|
|
|
|
|
(commit (string-append "v" version)))) |
|
|
|
|
|
|
|
(file-name (git-file-name name version)) |
|
|
|
|
|
|
|
(sha256 |
|
|
|
|
|
|
|
(base32 |
|
|
|
|
|
|
|
"01dh24rf62gb6xm32f7mfv6wx0dxprr1q9y73hvv7xanrjyia2zn")))) |
|
|
|
|
|
|
|
(build-system cmake-build-system) |
|
|
|
|
|
|
|
(native-inputs (list gcc-13 pkg-config)) |
|
|
|
|
|
|
|
(inputs (list pixman)) |
|
|
|
|
|
|
|
(home-page "https://hyprland.org/") |
|
|
|
|
|
|
|
(synopsis "C++ library for utilities used across Hyprland ecosystem") |
|
|
|
|
|
|
|
(description |
|
|
|
|
|
|
|
"This package provides a C++ library for utilities used across Hyprland |
|
|
|
|
|
|
|
ecosystem.") |
|
|
|
|
|
|
|
(license license:bsd-3))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define-public hyprwayland-scanner |
|
|
|
(define-public hyprwayland-scanner |
|
|
|
(package |
|
|
|
(package |
|
|
|
(name "hyprwayland-scanner") |
|
|
|
(name "hyprwayland-scanner") |
|
|
|
(version "0.4.2") |
|
|
|
(version "0.3.4") |
|
|
|
(source (origin |
|
|
|
(source (origin |
|
|
|
(method git-fetch) |
|
|
|
(method git-fetch) |
|
|
|
(uri (git-reference |
|
|
|
(uri (git-reference |
|
|
@ -409,7 +309,7 @@ ecosystem.") |
|
|
|
(file-name (git-file-name name version)) |
|
|
|
(file-name (git-file-name name version)) |
|
|
|
(sha256 |
|
|
|
(sha256 |
|
|
|
(base32 |
|
|
|
(base32 |
|
|
|
"0r7ay4zjkfyr0xd73wz99qhnqjq7nma98gm51wm9lmai4igw90qw")))) |
|
|
|
"0mi0kawfw311ybiy4xipy1n20nvjphkfqzgnd8jxxbkhjkwn0jhg")))) |
|
|
|
(build-system cmake-build-system) |
|
|
|
(build-system cmake-build-system) |
|
|
|
(arguments (list #:tests? #f)) ;No tests. |
|
|
|
(arguments (list #:tests? #f)) ;No tests. |
|
|
|
(inputs (list pugixml)) |
|
|
|
(inputs (list pugixml)) |
|
|
@ -421,10 +321,51 @@ ecosystem.") |
|
|
|
for C++.") |
|
|
|
for C++.") |
|
|
|
(license license:bsd-3))) |
|
|
|
(license license:bsd-3))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define-public grimblast |
|
|
|
|
|
|
|
(package |
|
|
|
|
|
|
|
(name "grimblast") |
|
|
|
|
|
|
|
(version "0.1") |
|
|
|
|
|
|
|
(source (origin |
|
|
|
|
|
|
|
(method git-fetch) |
|
|
|
|
|
|
|
(uri (git-reference |
|
|
|
|
|
|
|
(url "https://github.com/hyprwm/contrib") |
|
|
|
|
|
|
|
(commit (string-append "v" version)))) |
|
|
|
|
|
|
|
(file-name (git-file-name name version)) |
|
|
|
|
|
|
|
(sha256 |
|
|
|
|
|
|
|
(base32 |
|
|
|
|
|
|
|
"0ld0sj7ahf9jf8cqzbqkhj3m2w60027ixic24ih26nwy90b5qjwx")))) |
|
|
|
|
|
|
|
(build-system gnu-build-system) |
|
|
|
|
|
|
|
(arguments |
|
|
|
|
|
|
|
(list #:tests? #f ;no tests |
|
|
|
|
|
|
|
#:make-flags |
|
|
|
|
|
|
|
#~(list (string-append "PREFIX=" #$output)) |
|
|
|
|
|
|
|
#:phases |
|
|
|
|
|
|
|
#~(modify-phases %standard-phases |
|
|
|
|
|
|
|
(delete 'configure) |
|
|
|
|
|
|
|
(add-after 'unpack 'chdir |
|
|
|
|
|
|
|
(lambda _ |
|
|
|
|
|
|
|
(chdir "grimblast"))) |
|
|
|
|
|
|
|
(add-after 'install 'wrap |
|
|
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys) |
|
|
|
|
|
|
|
(let ((grimblast (string-append #$output "/bin/grimblast"))) |
|
|
|
|
|
|
|
(wrap-script grimblast |
|
|
|
|
|
|
|
`("PATH" suffix |
|
|
|
|
|
|
|
,(map (lambda (program) |
|
|
|
|
|
|
|
(dirname (search-input-file |
|
|
|
|
|
|
|
inputs (string-append "/bin/" program)))) |
|
|
|
|
|
|
|
'("grim" "slurp" "hyprctl" "wl-copy" "jq" |
|
|
|
|
|
|
|
"notify-send" "date")))))))))) |
|
|
|
|
|
|
|
(native-inputs (list scdoc)) |
|
|
|
|
|
|
|
(inputs (list grim guile-3.0 jq libnotify slurp hyprland wl-clipboard)) |
|
|
|
|
|
|
|
(home-page "https://github.com/hyprwm/contrib") |
|
|
|
|
|
|
|
(synopsis "Hyprland version of Grimshot") |
|
|
|
|
|
|
|
(description "A Hyprland version of Grimshot.") |
|
|
|
|
|
|
|
(license license:expat))) |
|
|
|
|
|
|
|
|
|
|
|
(define-public xdg-desktop-portal-hyprland |
|
|
|
(define-public xdg-desktop-portal-hyprland |
|
|
|
(package |
|
|
|
(package |
|
|
|
(name "xdg-desktop-portal-hyprland") |
|
|
|
(name "xdg-desktop-portal-hyprland") |
|
|
|
(version "1.3.6") |
|
|
|
(version "1.3.1") |
|
|
|
(source (origin |
|
|
|
(source (origin |
|
|
|
(method git-fetch) |
|
|
|
(method git-fetch) |
|
|
|
(uri (git-reference |
|
|
|
(uri (git-reference |
|
|
@ -433,7 +374,7 @@ for C++.") |
|
|
|
(file-name (git-file-name name version)) |
|
|
|
(file-name (git-file-name name version)) |
|
|
|
(sha256 |
|
|
|
(sha256 |
|
|
|
(base32 |
|
|
|
(base32 |
|
|
|
"17ba9jkccyp8gv79ds70khgm5wm6x8zs5m9nkilq4n2j7fsa8cfl")))) |
|
|
|
"0fdbzxanmmzrvb9wfzg1pdsnlg7dl6v5k8bl44w10n48s7bbbzn0")))) |
|
|
|
(build-system qt-build-system) |
|
|
|
(build-system qt-build-system) |
|
|
|
(arguments |
|
|
|
(arguments |
|
|
|
(list #:tests? #f ;No tests |
|
|
|
(list #:tests? #f ;No tests |
|
|
@ -445,25 +386,22 @@ for C++.") |
|
|
|
(substitute* (find-files "." "\\.cp?*$") |
|
|
|
(substitute* (find-files "." "\\.cp?*$") |
|
|
|
(("/bin/sh") "sh") |
|
|
|
(("/bin/sh") "sh") |
|
|
|
(("\\<(sh|grim|hyprctl|slurp)\\>" _ cmd) |
|
|
|
(("\\<(sh|grim|hyprctl|slurp)\\>" _ cmd) |
|
|
|
(search-input-file inputs (string-append "bin/" cmd)))) |
|
|
|
(search-input-file inputs (string-append "/bin/" cmd))) |
|
|
|
(substitute* "src/shared/ScreencopyShared.cpp" |
|
|
|
|
|
|
|
(("\\<(hyprland-share-picker)\\>" _ cmd) |
|
|
|
(("\\<(hyprland-share-picker)\\>" _ cmd) |
|
|
|
(string-append #$output "/bin/" cmd)))))))) |
|
|
|
(string-append #$output "/bin/" cmd)))))))) |
|
|
|
(native-inputs |
|
|
|
(native-inputs |
|
|
|
(list gcc-13 hyprwayland-scanner pkg-config)) |
|
|
|
(list gcc-13 pkg-config wayland)) |
|
|
|
(inputs |
|
|
|
(inputs |
|
|
|
(list bash-minimal |
|
|
|
(list bash-minimal |
|
|
|
grim |
|
|
|
grim |
|
|
|
hyprland |
|
|
|
hyprland |
|
|
|
hyprland-protocols |
|
|
|
hyprland-protocols |
|
|
|
hyprlang |
|
|
|
hyprlang |
|
|
|
hyprutils |
|
|
|
|
|
|
|
mesa |
|
|
|
mesa |
|
|
|
pipewire |
|
|
|
pipewire |
|
|
|
qtwayland |
|
|
|
qtwayland |
|
|
|
sdbus-c++ |
|
|
|
sdbus-c++ |
|
|
|
slurp |
|
|
|
slurp |
|
|
|
wayland |
|
|
|
|
|
|
|
wayland-protocols)) |
|
|
|
wayland-protocols)) |
|
|
|
(home-page "https://github.com/hyprwm/xdg-desktop-portal-hyprland") |
|
|
|
(home-page "https://github.com/hyprwm/xdg-desktop-portal-hyprland") |
|
|
|
(synopsis "XDG Desktop Portal backend for Hyprland") |
|
|
|
(synopsis "XDG Desktop Portal backend for Hyprland") |
|
|
|