From a5dc679619c2b28eab883f89600226a3f16afef4 Mon Sep 17 00:00:00 2001 From: brunoherbelin Date: Tue, 12 May 2026 21:25:03 +0200 Subject: [PATCH] Update filesystem permissions in Flatpak manifest and refine OSCPack conditional compilation --- ext/OSCPack/osc/OscOutboundPacketStream.h | 2 +- flatpak/io.github.brunoherbelin.Vimix.json | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ext/OSCPack/osc/OscOutboundPacketStream.h b/ext/OSCPack/osc/OscOutboundPacketStream.h index 26f3e58..9565915 100644 --- a/ext/OSCPack/osc/OscOutboundPacketStream.h +++ b/ext/OSCPack/osc/OscOutboundPacketStream.h @@ -105,7 +105,7 @@ public: OutboundPacketStream& operator<<( const InfinitumType& rhs ); OutboundPacketStream& operator<<( int32 rhs ); -#if !(defined(__x86_64__) || defined(_M_X64)) +#if !(defined(__LP64__) || defined(_LP64) || defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__ == 8) OutboundPacketStream& operator<<( int rhs ) { *this << (int32)rhs; return *this; } #endif diff --git a/flatpak/io.github.brunoherbelin.Vimix.json b/flatpak/io.github.brunoherbelin.Vimix.json index 978b189..bf30039 100644 --- a/flatpak/io.github.brunoherbelin.Vimix.json +++ b/flatpak/io.github.brunoherbelin.Vimix.json @@ -15,7 +15,11 @@ "--device=dri", "--device=shm", "--device=all", - "--filesystem=home", + "--filesystem=xdg-videos", + "--filesystem=xdg-pictures", + "--filesystem=xdg-music", + "--filesystem=xdg-download", + "--filesystem=xdg-documents", "--filesystem=/run/media", "--filesystem=/media", "--filesystem=xdg-run/vimix:create",