PSA: If the program panics and coredumps, try launching with the following variable:
ICED_BACKEND=tiny-skia ludusavi
Git Clone URL: | https://aur.archlinux.org/ludusavi.git (read-only, click to copy) |
---|---|
Package Base: | ludusavi |
Description: | Backup tool for PC game saves |
Upstream URL: | https://github.com/mtkennerly/ludusavi |
Licenses: | MIT |
Submitter: | ragouel |
Maintainer: | yochananmarqos |
Last Packager: | yochananmarqos |
Votes: | 10 |
Popularity: | 1.07 |
First Submitted: | 2020-08-12 21:44 (UTC) |
Last Updated: | 2024-11-20 17:24 (UTC) |
PSA: If the program panics and coredumps, try launching with the following variable:
ICED_BACKEND=tiny-skia ludusavi
Why does check
script compiles the program second time?
I've created a binary package for those who don't want to build this from source: ludusavi-bin
@Frogboy: I can't reproduce in a clean chroot.
This error has been happening since forever and I try to recompile with every release to no avail.
Compiling iced_graphics v0.5.0
error[E0658]: generic associated types are unstable
--> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/iced_graphics-0.5.0/src/image/storage.rs:12:5
|
12 | type State<'a>;
| ^^^^^^^^^^^^^^^
|
= note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
For more information about this error, try `rustc --explain E0658`.
error: could not compile `iced_graphics` due to previous error
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
Aborting...
-> error making: ludusavi
@prettyvanilla: You're right, I've dropped the dependency.
The ttf-material-design-icons
dependency is not necessary as the font file is statically compiled into the executable from the source tree, so there is no runtime dependency on having that font installed system-wide by any package.
@michaldybczak: Yes, you'll need to deal with the conflicting file on your own. The easiest way is to uninstall and reinstall.
There is a problem with the update to the current version. A new dependency was added: ttf-material-design-icons. Naturally, any AUR helper wants to install it, but it comes to an obstacle. The file the package brings already exists, because previous versions of ludusavi included it. So there is no way to clean update it. Of course, with some manual work it is possible, but I'm just saying, the usual update is not possible. By the way, why require some obscure font? This is a bad design decision.
diff --git a/PKGBUILD b/PKGBUILD index c1561a0..d454528 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,7 +7,7 @@ pkgdesc="Backup tool for PC game saves" arch=('x86_64') url="https://github.com/mtkennerly/ludusavi" license=('MIT') -depends=('gcc-libs' 'libxcb' 'fontconfig') +depends=('gcc-libs' 'libxcb' 'fontconfig' 'ttf-material-design-icons') makedepends=('cargo' 'git' 'libx11' 'python') options=('!lto') source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" @@ -44,7 +44,6 @@ package() { install -Dm644 assets/icon.svg \ "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg" install -Dm644 "assets/$pkgname.desktop" -t "$pkgdir/usr/share/applications/" - install -Dm644 assets/MaterialIcons-Regular.ttf -t "$pkgdir/usr/share/fonts/TTF/" install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" install -Dm644 "$srcdir/$pkgname-v$pkgver-legal.txt" \ "$pkgdir/usr/share/licenses/$pkgname/legal.txt"
Pinned Comments
yochananmarqos commented on 2024-10-29 20:48 (UTC)
PSA: If the program panics and coredumps, try launching with the following variable: