mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: swww: Update to 0.9.5.
* gnu/packages/wm.scm (swww): Update to 0.9.5. [native-inputs]: Add pkg-config. [inputs]: Use ‘cargo-inputs’. [arguments]: Remove #:cargo-inputs, #:cargo-development-inputs. <#:phases>: Add 'use-guix-vendored-dependencies. * gnu/packages/rust-crates.scm (lookup-cargo-inputs)[swww]: New entry. Change-Id: I7ea115dc6387fd6f9acb77e8fa6487d7fe043ba9
This commit is contained in:
parent
b8cda35a87
commit
64fb6ed848
2 changed files with 243 additions and 25 deletions
|
@ -649,6 +649,10 @@
|
|||
(crate-source "bit-vec" "0.8.0"
|
||||
"1xxa1s2cj291r7k1whbxq840jxvmdsq9xgh7bvrxl46m80fllxjy"))
|
||||
|
||||
(define rust-bitcode-0.6.0.5f25a59 rust-bitcode-for-swww)
|
||||
|
||||
(define rust-bitcode-derive-0.6.0.5f25a59 rust-bitcode-for-swww)
|
||||
|
||||
(define rust-bitfield-0.14.0
|
||||
(crate-source "bitfield" "0.14.0"
|
||||
"1b26k9acwss4qvrl60lf9n83l17d4hj47n5rmpd3iigf9j9n0zid"))
|
||||
|
@ -2189,6 +2193,10 @@
|
|||
(crate-source "fancy-regex" "0.14.0"
|
||||
"162j2qx2ikgl79grq12mawyflwkirnjzrvxh11a1xbmwjidcn93f"))
|
||||
|
||||
(define rust-fast-image-resize-3.0.4
|
||||
(crate-source "fast_image_resize" "3.0.4"
|
||||
"12vyjp14nk49kk25jgbfvl2gyrvp1wzig5jmh9rasd53r3x51m69"))
|
||||
|
||||
(define rust-faster-hex-0.9.0
|
||||
(crate-source "faster-hex" "0.9.0"
|
||||
"10wi4vqbdpkamw4qvra1ijp4as2j7j1zc66g4rdr6h0xv8gb38m2"))
|
||||
|
@ -4697,6 +4705,10 @@
|
|||
(crate-source "miniz_oxide" "0.8.8"
|
||||
"0al9iy33flfgxawj789w2c8xxwg1n2r5vv6m6p5hl2fvd2vlgriv"))
|
||||
|
||||
(define rust-mint-0.5.9
|
||||
(crate-source "mint" "0.5.9"
|
||||
"1zw5glv8z2d99c82jy2za97hh9p6377xmf4rbwz7jynsdfxfngg5"))
|
||||
|
||||
(define rust-mio-0.8.11
|
||||
(crate-source "mio" "0.8.11"
|
||||
"034byyl0ardml5yliy1hmvx8arkmn9rv479pid794sm07ia519m4"))
|
||||
|
@ -7330,6 +7342,10 @@
|
|||
(crate-source "spin" "0.9.8"
|
||||
"0rvam5r0p3a6qhc18scqpvpgb3ckzyqxpgdfyjnghh8ja7byi039"))
|
||||
|
||||
(define rust-spin-sleep-1.3.1
|
||||
(crate-source "spin_sleep" "1.3.1"
|
||||
"0yshlvkr4y3q6yxi13q0sw2h4pp0ajsw9i4bpywbxgp0yz75xnqp"))
|
||||
|
||||
(define rust-spki-0.7.3
|
||||
(crate-source "spki" "0.7.3"
|
||||
"17fj8k5fmx4w9mp27l970clrh5qa7r5sjdvbsln987xhb34dc7nr"
|
||||
|
@ -8533,6 +8549,10 @@
|
|||
(crate-source "wayland-protocols" "0.29.5"
|
||||
"1ihbjyd0w460gd7w22g9qabbwd4v8x74f8vsh7p25csljcgn4l5r"))
|
||||
|
||||
(define rust-wayland-protocols-0.31.2
|
||||
(crate-source "wayland-protocols" "0.31.2"
|
||||
"1x310l1p6p3p3l76nl1l2yava9408dy77s605917zadlp1jz70cg"))
|
||||
|
||||
(define rust-wayland-protocols-0.32.6
|
||||
(crate-source "wayland-protocols" "0.32.6"
|
||||
"1z0yahh48x8qzdbcallmxn5am5897hkk5d7p51ly6dwvhr3cz087"))
|
||||
|
@ -8545,6 +8565,10 @@
|
|||
(crate-source "wayland-protocols-plasma" "0.3.6"
|
||||
"1cs6gpgxybjvr60j6j824blsvz4hnmjwaah2cdkzvzh3cz3srjkw"))
|
||||
|
||||
(define rust-wayland-protocols-wlr-0.2.0
|
||||
(crate-source "wayland-protocols-wlr" "0.2.0"
|
||||
"1mjww9psk2nc5hm2q4s3qas30rbzfg1sb6qgw518fbbcdfvn27xd"))
|
||||
|
||||
(define rust-wayland-protocols-wlr-0.3.6
|
||||
(crate-source "wayland-protocols-wlr" "0.3.6"
|
||||
"1cpqb0d4ryf87x2wgca5n71wilhvc0jjva0zasbdgalmypk052i4"))
|
||||
|
@ -18701,6 +18725,215 @@
|
|||
rust-zerofrom-derive-0.1.6
|
||||
rust-zerovec-0.10.4
|
||||
rust-zerovec-derive-0.10.3))
|
||||
(swww =>
|
||||
(list rust-adler2-2.0.0
|
||||
rust-aho-corasick-1.1.3
|
||||
rust-aligned-vec-0.5.0
|
||||
rust-anes-0.1.6
|
||||
rust-anstream-0.6.18
|
||||
rust-anstyle-1.0.10
|
||||
rust-anstyle-parse-0.2.6
|
||||
rust-anstyle-query-1.1.2
|
||||
rust-anstyle-wincon-3.0.7
|
||||
rust-anyhow-1.0.97
|
||||
rust-arbitrary-1.4.1
|
||||
rust-arg-enum-proc-macro-0.3.4
|
||||
rust-arrayvec-0.7.6
|
||||
rust-assert-cmd-2.0.16
|
||||
rust-autocfg-1.4.0
|
||||
rust-av1-grain-0.2.3
|
||||
rust-avif-serialize-0.8.3
|
||||
rust-bit-field-0.10.2
|
||||
rust-bitcode-0.6.0.5f25a59
|
||||
rust-bitcode-derive-0.6.0.5f25a59
|
||||
rust-bitflags-1.3.2
|
||||
rust-bitflags-2.9.0
|
||||
rust-bitstream-io-2.6.0
|
||||
rust-bstr-1.12.0
|
||||
rust-built-0.7.7
|
||||
rust-bumpalo-3.17.0
|
||||
rust-bytemuck-1.22.0
|
||||
rust-byteorder-lite-0.1.0
|
||||
rust-cast-0.3.0
|
||||
rust-cc-1.2.19
|
||||
rust-cfg-expr-0.15.8
|
||||
rust-cfg-if-1.0.0
|
||||
rust-ciborium-0.2.2
|
||||
rust-ciborium-io-0.2.2
|
||||
rust-ciborium-ll-0.2.2
|
||||
rust-clap-4.5.35
|
||||
rust-clap-builder-4.5.35
|
||||
rust-clap-complete-4.5.47
|
||||
rust-clap-derive-4.5.32
|
||||
rust-clap-lex-0.7.4
|
||||
rust-color-quant-1.1.0
|
||||
rust-colorchoice-1.0.3
|
||||
rust-crc32fast-1.4.2
|
||||
rust-criterion-0.5.1
|
||||
rust-criterion-plot-0.5.0
|
||||
rust-crossbeam-deque-0.8.6
|
||||
rust-crossbeam-epoch-0.9.18
|
||||
rust-crossbeam-utils-0.8.21
|
||||
rust-crunchy-0.2.3
|
||||
rust-deranged-0.4.0
|
||||
rust-difflib-0.4.0
|
||||
rust-doc-comment-0.3.3
|
||||
rust-downcast-rs-1.2.1
|
||||
rust-either-1.15.0
|
||||
rust-equivalent-1.0.2
|
||||
rust-errno-0.3.11
|
||||
rust-exr-1.73.0
|
||||
rust-fast-image-resize-3.0.4
|
||||
rust-fdeflate-0.3.7
|
||||
rust-flate2-1.1.1
|
||||
rust-getrandom-0.2.15
|
||||
rust-getrandom-0.3.2
|
||||
rust-gif-0.13.1
|
||||
rust-half-2.6.0
|
||||
rust-hashbrown-0.15.2
|
||||
rust-heck-0.5.0
|
||||
rust-hermit-abi-0.5.0
|
||||
rust-image-0.25.6
|
||||
rust-image-webp-0.2.1
|
||||
rust-imgref-1.11.0
|
||||
rust-indexmap-2.9.0
|
||||
rust-interpolate-name-0.2.4
|
||||
rust-is-terminal-0.4.16
|
||||
rust-is-terminal-polyfill-1.70.1
|
||||
rust-itertools-0.10.5
|
||||
rust-itertools-0.12.1
|
||||
rust-itoa-1.0.15
|
||||
rust-jobserver-0.1.33
|
||||
rust-jpeg-decoder-0.3.1
|
||||
rust-js-sys-0.3.77
|
||||
rust-keyframe-1.1.1
|
||||
rust-lebe-0.5.2
|
||||
rust-libc-0.2.171
|
||||
rust-libfuzzer-sys-0.4.9
|
||||
rust-libm-0.2.11
|
||||
rust-linux-raw-sys-0.4.15
|
||||
rust-linux-raw-sys-0.9.4
|
||||
rust-log-0.4.27
|
||||
rust-loop9-0.1.5
|
||||
rust-maybe-rayon-0.1.1
|
||||
rust-memchr-2.7.4
|
||||
rust-minimal-lexical-0.2.1
|
||||
rust-miniz-oxide-0.8.8
|
||||
rust-mint-0.5.9
|
||||
rust-new-debug-unreachable-1.0.6
|
||||
rust-nom-7.1.3
|
||||
rust-noop-proc-macro-0.3.0
|
||||
rust-num-bigint-0.4.6
|
||||
rust-num-conv-0.1.0
|
||||
rust-num-derive-0.4.2
|
||||
rust-num-integer-0.1.46
|
||||
rust-num-rational-0.4.2
|
||||
rust-num-traits-0.2.19
|
||||
rust-num-threads-0.1.7
|
||||
rust-once-cell-1.21.3
|
||||
rust-oorandom-11.1.5
|
||||
rust-paste-1.0.15
|
||||
rust-pkg-config-0.3.32
|
||||
rust-plotters-0.3.7
|
||||
rust-plotters-backend-0.3.7
|
||||
rust-plotters-svg-0.3.7
|
||||
rust-png-0.17.16
|
||||
rust-powerfmt-0.2.0
|
||||
rust-ppv-lite86-0.2.21
|
||||
rust-predicates-3.1.3
|
||||
rust-predicates-core-1.0.9
|
||||
rust-predicates-tree-1.0.12
|
||||
rust-proc-macro2-1.0.94
|
||||
rust-profiling-1.0.16
|
||||
rust-profiling-procmacros-1.0.16
|
||||
rust-qoi-0.4.1
|
||||
rust-quick-error-2.0.1
|
||||
rust-quick-xml-0.37.4
|
||||
rust-quote-1.0.40
|
||||
rust-r-efi-5.2.0
|
||||
rust-rand-0.8.5
|
||||
rust-rand-chacha-0.3.1
|
||||
rust-rand-core-0.6.4
|
||||
rust-rav1e-0.7.1
|
||||
rust-ravif-0.11.11
|
||||
rust-rayon-1.10.0
|
||||
rust-rayon-core-1.12.1
|
||||
rust-regex-1.11.1
|
||||
rust-regex-automata-0.4.9
|
||||
rust-regex-syntax-0.8.5
|
||||
rust-rgb-0.8.50
|
||||
rust-rustix-0.38.44
|
||||
rust-rustix-1.0.5
|
||||
rust-rustversion-1.0.20
|
||||
rust-ryu-1.0.20
|
||||
rust-same-file-1.0.6
|
||||
rust-sd-notify-0.4.5
|
||||
rust-serde-1.0.219
|
||||
rust-serde-derive-1.0.219
|
||||
rust-serde-json-1.0.140
|
||||
rust-serde-spanned-0.6.8
|
||||
rust-shlex-1.3.0
|
||||
rust-simd-adler32-0.3.7
|
||||
rust-simd-helpers-0.1.0
|
||||
rust-simplelog-0.12.2
|
||||
rust-smallvec-1.15.0
|
||||
rust-spin-sleep-1.3.1
|
||||
rust-strsim-0.11.1
|
||||
rust-syn-2.0.100
|
||||
rust-system-deps-6.2.2
|
||||
rust-target-lexicon-0.12.16
|
||||
rust-termcolor-1.4.1
|
||||
rust-terminal-size-0.4.2
|
||||
rust-termtree-0.5.1
|
||||
rust-thiserror-1.0.69
|
||||
rust-thiserror-impl-1.0.69
|
||||
rust-tiff-0.9.1
|
||||
rust-time-0.3.41
|
||||
rust-time-core-0.1.4
|
||||
rust-time-macros-0.2.22
|
||||
rust-tinytemplate-1.2.1
|
||||
rust-toml-0.8.20
|
||||
rust-toml-datetime-0.6.8
|
||||
rust-toml-edit-0.22.24
|
||||
rust-unicode-ident-1.0.18
|
||||
rust-utf8parse-0.2.2
|
||||
rust-v-frame-0.3.8
|
||||
rust-version-compare-0.2.0
|
||||
rust-wait-timeout-0.2.1
|
||||
rust-walkdir-2.5.0
|
||||
rust-wasi-0.11.0+wasi-snapshot-preview1
|
||||
rust-wasi-0.14.2+wasi-0.2.4
|
||||
rust-wasm-bindgen-0.2.100
|
||||
rust-wasm-bindgen-backend-0.2.100
|
||||
rust-wasm-bindgen-macro-0.2.100
|
||||
rust-wasm-bindgen-macro-support-0.2.100
|
||||
rust-wasm-bindgen-shared-0.2.100
|
||||
rust-wayland-backend-0.3.8
|
||||
rust-wayland-client-0.31.8
|
||||
rust-wayland-protocols-0.31.2
|
||||
rust-wayland-protocols-wlr-0.2.0
|
||||
rust-wayland-scanner-0.31.6
|
||||
rust-wayland-sys-0.31.6
|
||||
rust-web-sys-0.3.77
|
||||
rust-weezl-0.1.8
|
||||
rust-winapi-util-0.1.9
|
||||
rust-windows-sys-0.59.0
|
||||
rust-windows-targets-0.52.6
|
||||
rust-windows-aarch64-gnullvm-0.52.6
|
||||
rust-windows-aarch64-msvc-0.52.6
|
||||
rust-windows-i686-gnu-0.52.6
|
||||
rust-windows-i686-gnullvm-0.52.6
|
||||
rust-windows-i686-msvc-0.52.6
|
||||
rust-windows-x86-64-gnu-0.52.6
|
||||
rust-windows-x86-64-gnullvm-0.52.6
|
||||
rust-windows-x86-64-msvc-0.52.6
|
||||
rust-winnow-0.7.6
|
||||
rust-wit-bindgen-rt-0.39.0
|
||||
rust-zerocopy-0.8.24
|
||||
rust-zerocopy-derive-0.8.24
|
||||
rust-zune-core-0.4.12
|
||||
rust-zune-inflate-0.2.54
|
||||
rust-zune-jpeg-0.4.14))
|
||||
(tmux-plugin-sessionizer =>
|
||||
(list rust-aho-corasick-1.1.3
|
||||
rust-allocator-api2-0.2.21
|
||||
|
|
|
@ -2468,7 +2468,7 @@ works on Wayland compositors supporting the wlr-layer-shell protocol.")
|
|||
(define-public swww
|
||||
(package
|
||||
(name "swww")
|
||||
(version "0.8.2")
|
||||
(version "0.9.5")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
|
@ -2477,7 +2477,7 @@ works on Wayland compositors supporting the wlr-layer-shell protocol.")
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1ps10dv6a8a0hiw7p8kg64mf81pvavskmyn5xpbfw6hrc991vdlz"))
|
||||
"1ivfaw1ff5z68cw15s5qgshk8gqdx9fjslgvfr9xnn9c28gbvp4m"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin (substitute* "utils/Cargo.toml"
|
||||
|
@ -2487,29 +2487,14 @@ works on Wayland compositors supporting the wlr-layer-shell protocol.")
|
|||
(arguments
|
||||
(list
|
||||
#:install-source? #f
|
||||
#:cargo-inputs
|
||||
`(("rust-log" ,rust-log-0.4)
|
||||
("rust-simplelog" ,rust-simplelog-0.12)
|
||||
("rust-wayland-client" ,rust-wayland-client-0.31)
|
||||
("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.18)
|
||||
("rust-nix" ,rust-nix-0.27)
|
||||
("rust-keyframe" ,rust-keyframe-1)
|
||||
("rust-rkyv" ,rust-rkyv-0.7)
|
||||
("rust-rayon" ,rust-rayon-1)
|
||||
("rust-spin-sleep" ,rust-spin-sleep-1)
|
||||
("rust-sd-notify" ,rust-sd-notify-0.4)
|
||||
("rust-image" ,rust-image-0.24)
|
||||
("rust-fast-image-resize" ,rust-fast-image-resize-2)
|
||||
("rust-clap" ,rust-clap-4)
|
||||
("rust-rand" ,rust-rand-0.8)
|
||||
("rust-lazy-static" ,rust-lazy-static-1)
|
||||
("rust-lzzzz" ,rust-lzzzz-1))
|
||||
#:cargo-development-inputs
|
||||
`(("rust-rand" ,rust-rand-0.8)
|
||||
("rust-assert-cmd" ,rust-assert-cmd-2)
|
||||
("rust-criterion" ,rust-criterion-0.5))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'use-guix-vendored-dependencies
|
||||
(lambda _
|
||||
(substitute* '("daemon/Cargo.toml"
|
||||
"utils/Cargo.toml")
|
||||
(("git.*rev.*, default-features")
|
||||
"version = \"*\", default-features"))))
|
||||
(add-before 'build 'build-documentation
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(invoke "doc/gen.sh")))
|
||||
|
@ -2544,8 +2529,8 @@ works on Wayland compositors supporting the wlr-layer-shell protocol.")
|
|||
`("PATH" prefix (,(string-append lz4 "/bin"))))
|
||||
(wrap-program (string-append out "/bin/swww-daemon")
|
||||
`("PATH" prefix (,(string-append lz4 "/bin"))))))))))
|
||||
(native-inputs (list scdoc))
|
||||
(inputs (list bash-minimal lz4))
|
||||
(native-inputs (list pkg-config scdoc))
|
||||
(inputs (cons* bash-minimal lz4 (cargo-inputs 'swww)))
|
||||
(home-page "https://github.com/LGFae/swww")
|
||||
(synopsis
|
||||
"Efficient animated wallpaper daemon for wayland controlled at runtime")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue