rio: update to 0.1.12

This commit is contained in:
tranzystorekk 2024-09-07 19:30:31 +02:00
parent 903a91a680
commit f2fc84a58d
2 changed files with 24 additions and 2 deletions

View File

@ -0,0 +1,22 @@
From ff3afb7f28ee427590547cc260a7d78c5ae59140 Mon Sep 17 00:00:00 2001
From: Raphael Amorim <rapha850@gmail.com>
Date: Mon, 9 Sep 2024 09:30:53 +0200
Subject: [PATCH] use correct ffi::XPointer on ime/context.rs for x11
---
rio-window/src/platform_impl/linux/x11/ime/context.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rio-window/src/platform_impl/linux/x11/ime/context.rs b/rio-window/src/platform_impl/linux/x11/ime/context.rs
index ebfeba74f..d924ed5c4 100644
--- a/rio-window/src/platform_impl/linux/x11/ime/context.rs
+++ b/rio-window/src/platform_impl/linux/x11/ime/context.rs
@@ -174,7 +174,7 @@ impl PreeditCallbacks {
let start_callback = create_xim_callback(client_data, unsafe {
mem::transmute::<
usize,
- unsafe extern "C" fn(*mut x11_dl::xlib::_XIM, *mut i8, *mut i8),
+ unsafe extern "C" fn(ffi::XIM, ffi::XPointer, ffi::XPointer),
>(preedit_start_callback as usize)
});
let done_callback = create_xim_callback(client_data, preedit_done_callback);

View File

@ -1,6 +1,6 @@
# Template file for 'rio'
pkgname=rio
version=0.1.10
version=0.1.12
revision=1
build_style=cargo
build_wrksrc="frontends/rioterm"
@ -13,7 +13,7 @@ license="MIT"
homepage="https://raphamorim.io/rio/"
changelog="https://raw.githubusercontent.com/raphamorim/rio/main/CHANGELOG.md"
distfiles="https://github.com/raphamorim/rio/archive/refs/tags/v${version}.tar.gz"
checksum=74a366d8c59d780843ed05a2fd10837d3e6795c4d73a90d600ed7637152b89a5
checksum=7fe4a0e462e8a474cbcf7da4085dfe3d72ed2bb1fb801a851447a72d0c62be7e
post_install() {
vinstall ${wrksrc}/misc/logo.svg 644 usr/share/icons/hicolor/scalable/apps rio.svg