Package Details: raw-thumbnailer 47.0.1-4

Git Clone URL: https://aur.archlinux.org/raw-thumbnailer.git (read-only, click to copy)
Package Base: raw-thumbnailer
Description: A lightweight and fast raw image thumbnailer that can be used by file managers.
Upstream URL: https://gitlab.gnome.org/World/gnome-raw-thumbnailer/
Licenses: GPL-2.0-or-later
Conflicts: raw-thumbnailer-entry
Submitter: arojas
Maintainer: gustawho
Last Packager: gustawho
Votes: 9
Popularity: 0.018819
First Submitted: 2022-04-01 18:35 (UTC)
Last Updated: 2025-04-24 17:46 (UTC)

Latest Comments

1 2 Next › Last »

gustawho commented on 2025-04-29 02:17 (UTC)

@applebloom I recommend reading the relevant entry in the Wiki:

https://wiki.archlinux.org/title/Rust_package_guidelines#Depends

applebloom commented on 2025-04-26 17:42 (UTC)

I'm don't know much about rust, but I noticed something. You list cargo as the make dependency. This is provided by two packages, rust and rustup. The first one is default choice. I've chosen the second, since it's much smaller download. But you actually need the rust compiler so the build failed. So I think you should instead make-depend on rust.

gustawho commented on 2025-04-24 17:47 (UTC)

Hi @juxuanu, thank you for pointing that out. I've updated the package.

juxuanu commented on 2025-04-24 13:01 (UTC)

It would seem that this should be building with --profile release. Right now it's building in dev mode (unoptimized + debuginfo).

https://gitlab.gnome.org/World/gnome-raw-thumbnailer/-/blob/master/meson_options.txt?ref_type=heads

Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s

gustawho commented on 2025-04-24 04:58 (UTC)

@sng Oh, that version is very old! You could try updating it before installing/upgrading this raw-thumbnailer with:

rustup toolchain install stable

For reference, this is what I have on my system (the latest available version at the moment of writing this):

$ rustc -V
rustc 1.86.0 (05f9846f8 2025-03-31)

sng commented on 2025-04-24 04:24 (UTC) (edited on 2025-04-24 05:06 (UTC) by sng)

$ rustc -V 
rustc 1.45.2 (d3fb005a3 2020-07-31)
$ pacman -Qo rustc
/usr/bin/rustc is owned by rustup 1.28.1-1

Maybe it's because this is a manjaro box?

EDIT

On both a manjaro and an arch box:

I had to remove rustup and install rust

Then it builds ok!

Sorry for the noise...

gustawho commented on 2025-04-24 03:38 (UTC)

@sng are you using rustup? AFAIK the error you're getting is caused by an outdated rustc. Could you please tell me what's the output of running "rustc -V"?

sng commented on 2025-04-23 06:55 (UTC) (edited on 2025-04-23 06:55 (UTC) by sng)

Error...

Found ninja-1.12.1 at /usr/bin/ninja
INFO: autodetecting backend as ninja                                                                                                                                                           
INFO: calculating backend command to run: /usr/bin/ninja -C /home/user/.cache/yay/raw-thumbnailer/src/build
ninja: Entering directory `/home/user/.cache/yay/raw-thumbnailer/src/build'
[0/1] Generating cargo-build with a custom command
error: failed to parse manifest at `/home/user/.cache/yay/raw-thumbnailer/src/gnome-raw-thumbnailer-47.0.1/Cargo.toml`

Caused by:
  failed to parse the `edition` key

Caused by:
  this version of Cargo is older than the `2021` edition, and only supports `2015` and `2018` editions.
FAILED: raw-thumbnailer 
/usr/bin/env CARGO_HOME=/home/user/.cache/yay/raw-thumbnailer/src/build/cargo-home CARGO_TARGET_DIR=/home/user/.cache/yay/raw-thumbnailer/src/build/target /usr/bin/cargo build --manifest-path /home/user/.cache/yay/raw-thumbnailer/src/gnome-raw-thumbnailer-47.0.1/Cargo.toml --target-dir /home/user/.cache/yay/raw-thumbnailer/src/build/target && cp /home/user/.cache/yay/raw-thumbnailer/src/build/target/debug/raw-thumbnailer ./raw-thumbnailer
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

patlefort commented on 2025-04-23 00:16 (UTC)

Missing git in makedepends:

gnome-raw-thumbnailer-47.0.1/meson.build:16:12: ERROR: Program or command 'git' not found or not executable

Bink commented on 2025-01-28 09:21 (UTC)

Version 0.2.1 was released May 3, 2011.

I'm not sure why this package was flagged out of date. That was the last tagged release.