Package Details: shortwave 1:3.2.0-1

Git Clone URL: https://aur.archlinux.org/shortwave.git (read-only, click to copy)
Package Base: shortwave
Description: Find and listen to internet radio stations
Upstream URL: https://gitlab.gnome.org/World/Shortwave
Licenses: GPL3
Submitter: ValHue
Maintainer: igor-dyatlov
Last Packager: igor-dyatlov
Votes: 58
Popularity: 0.40
First Submitted: 2019-03-16 10:34 (UTC)
Last Updated: 2023-02-08 16:20 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 13 Next › Last »

JoSHElBarto commented on 2021-04-17 20:36 (UTC)

Hi! I've tried to update from 1.1 to 2.0 but I got the following error when the pamac-manager is trying to compile the program:

 error[E0658]: const generics are unstable
  --> /var/tmp/pamac-build-yoshi/shortwave/src/Shortwave-2.0.0/builddir/cargo-home/registry/src/github.com-1ecc6299db9ec823/array-init-2.0.0/src/lib.rs:70:31
   |
70 | pub fn array_init<F, T, const N: usize>(mut initializer: F) -> [T; N]
   |                               ^
   |
   = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information

error[E0658]: const generics are unstable
   --> /var/tmp/pamac-build-yoshi/shortwave/src/Shortwave-2.0.0/builddir/cargo-home/registry/src/github.com-1ecc6299db9ec823/array-init-2.0.0/src/lib.rs:108:37
    |
108 | pub fn from_iter<Iterable, T, const N: usize>(iterable: Iterable) -> Option<[T; N]>
    |                                     ^
    |
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information

error[E0658]: const generics are unstable
   --> /var/tmp/pamac-build-yoshi/shortwave/src/Shortwave-2.0.0/builddir/cargo-home/registry/src/github.com-1ecc6299db9ec823/array-init-2.0.0/src/lib.rs:150:40
    |
150 | pub fn try_array_init<Err, F, T, const N: usize>(mut initializer: F) -> Result<[T; N], Err>
    |                                        ^
    |
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0658`.
error: could not compile `array-init`.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
[3/4] Generating de.haeckerfelix.Shortwave.metainfo.xml_data_merge with a custom command
FAILED: src/shortwave 
/var/tmp/pamac-build-yoshi/shortwave/src/Shortwave-2.0.0/build-aux/cargo.sh /var/tmp/pamac-build-yoshi/shortwave/src/Shortwave-2.0.0/builddir /var/tmp/pamac-build-yoshi/shortwave/src/Shortwave-2.0.0 src/shortwave /usr/share/locale default
ninja: build stopped: subcommand failed.

Any advise to avoid these and get a good compilation?

GeBo commented on 2021-04-17 09:48 (UTC) (edited on 2021-04-17 09:52 (UTC) by GeBo)

@Moilleadoir: No idea. But I had installed rustup / cargo and after replacing that with rust, Shortwave compiled with no error.

@keithy: Thanks for nudging me in the right direction!

Edit Ah, after reading Keithy's remark again, it finally made sense to me! Rusty, like in old. :) My version of rust indeed is newer than what was previously installed.

Moilleadoir commented on 2021-04-15 07:06 (UTC)

@keithy “a less rusty version of rust”

Details?

keithy commented on 2021-04-11 20:53 (UTC)

Fixed it!

I needed a less rusty version of rust :)

pawan commented on 2021-04-11 20:52 (UTC)

@mielouk I created .config/gtk-3.0/settings.ini with the following: [Settings] gtk-icon-theme-name=Suru++-Asprómauros gtk-theme-name=SolArc-Dark gtk-application-prefer-dark-theme=true

But it made no difference.

However, I found that both the settings.ini files in /usr/share/gtk-3.0/ and /usr/share/gtk-4.0/ have Adwaita as my GTK theme.

mielouk commented on 2021-04-11 20:33 (UTC)

@keithy unfortunate

@pawan It might be that the themes I've chosen are compatible with GTK 4.0. Try to write your theme in the mentioned file as shown with the example file.

pawan commented on 2021-04-11 20:27 (UTC)

@mielouk I have Cinnamon DE on my system and I didn't find any settings.ini file in .config/gtk-3.0. Is that why it's not respecting my GTK theme?

keithy commented on 2021-04-11 20:25 (UTC)

@mielouk

Thanks, I'd already tried that. Still get the same error :(

mielouk commented on 2021-04-11 20:08 (UTC) (edited on 2021-04-11 20:10 (UTC) by mielouk)

@keithy and @jose1711, probably you just need to delete the folder

/home/$USER/.cache/yay/shortwave

As for pawan, my GTK theme is still respected:

cat .config/gtk-3.0/settings.ini [Settings] gtk-theme-name=Matcha-dark-azul gtk-icon-theme-name=Papirus-Dark gtk-application-prefer-dark-theme=true

juxuanu commented on 2021-04-11 20:06 (UTC)

It's now based on GTK4. So, your theme must support it.