rio: update to 0.1.13

This commit is contained in:
tranzystorekk 2024-09-10 12:01:13 +02:00
parent 11cd930a6b
commit 579ce88e89
2 changed files with 2 additions and 24 deletions

View File

@ -1,22 +0,0 @@
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.12
version=0.1.13
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=7fe4a0e462e8a474cbcf7da4085dfe3d72ed2bb1fb801a851447a72d0c62be7e
checksum=7baa5e76430e6ca62643691875eb20e66fe793cc260cc409fd63aa3e6d014299
post_install() {
vinstall ${wrksrc}/misc/logo.svg 644 usr/share/icons/hicolor/scalable/apps rio.svg