mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
leftwm: update to 0.5.3
This commit is contained in:
parent
1e0b471a28
commit
3e10994504
2 changed files with 3 additions and 31 deletions
|
@ -1,24 +0,0 @@
|
||||||
From 75257283248c99347089225befee851e2d6e2895 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Adrian <github@eskaan.de>
|
|
||||||
Date: Mon, 1 Jan 2024 07:55:18 +0100
|
|
||||||
Subject: [PATCH] Fix the 32 bit builds by changing a type cast (#1202)
|
|
||||||
|
|
||||||
`i64::from` was replaced by a direct `as` type cast.
|
|
||||||
|
|
||||||
Tested on i686-unknown-linux-gnu
|
|
||||||
---
|
|
||||||
display-servers/xlib-display-server/src/xwrap/setters.rs | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/display-servers/xlib-display-server/src/xwrap/setters.rs b/display-servers/xlib-display-server/src/xwrap/setters.rs
|
|
||||||
index f0cb569ed..efd4034b7 100644
|
|
||||||
--- a/display-servers/xlib-display-server/src/xwrap/setters.rs
|
|
||||||
+++ b/display-servers/xlib-display-server/src/xwrap/setters.rs
|
|
||||||
@@ -94,7 +94,7 @@ impl XWrap {
|
|
||||||
|
|
||||||
/// Sets a desktop property.
|
|
||||||
pub fn set_desktop_prop(&self, data: &[u32], atom: c_ulong) {
|
|
||||||
- let x_data: Vec<c_long> = data.iter().map(|x| i64::from(*x)).collect();
|
|
||||||
+ let x_data: Vec<c_long> = data.iter().map(|x| *x as c_long).collect();
|
|
||||||
self.replace_property_long(self.root, atom, xlib::XA_CARDINAL, &x_data);
|
|
||||||
}
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'leftwm'
|
# Template file for 'leftwm'
|
||||||
pkgname=leftwm
|
pkgname=leftwm
|
||||||
version=0.5.1
|
version=0.5.3
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
configure_args="--no-default-features --features lefthk,sys-log"
|
configure_args="--no-default-features --features lefthk,sys-log,x11rb,xlib"
|
||||||
makedepends="libX11-devel libXinerama-devel libXrandr-devel xorg-server-devel"
|
makedepends="libX11-devel libXinerama-devel libXrandr-devel xorg-server-devel"
|
||||||
depends="libX11 libXinerama xorg-server xrandr"
|
depends="libX11 libXinerama xorg-server xrandr"
|
||||||
short_desc="Tiling window manager for Adventurers"
|
short_desc="Tiling window manager for Adventurers"
|
||||||
|
@ -12,11 +12,7 @@ license="MIT"
|
||||||
homepage="https://github.com/leftwm/leftwm"
|
homepage="https://github.com/leftwm/leftwm"
|
||||||
changelog="https://raw.githubusercontent.com/leftwm/leftwm/main/CHANGELOG"
|
changelog="https://raw.githubusercontent.com/leftwm/leftwm/main/CHANGELOG"
|
||||||
distfiles="https://github.com/leftwm/leftwm/archive/refs/tags/${version}.tar.gz"
|
distfiles="https://github.com/leftwm/leftwm/archive/refs/tags/${version}.tar.gz"
|
||||||
checksum=3c8ab0fdbfe205b33ad7ae108d3a604bdd22663458bf803e0a3a4a924aad963a
|
checksum=b0576a18bd73b6a4372b8eba08c04da432a8643ebca15ee46340a77ba31b1bfc
|
||||||
|
|
||||||
post_patch() {
|
|
||||||
cargo update --package time@0.3.30 --precise 0.3.36
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vdoc README.md
|
vdoc README.md
|
||||||
|
|
Loading…
Add table
Reference in a new issue