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.33
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 10 11 12 13 Next › Last »

ValHue commented on 2020-10-18 10:51 (UTC)

It must be because of my rust configuration but it compiled correctly and I disabled Jonathon's handy.patch, sorry. Now it should compile without problem.

Libhandy is not necessary to compile it, as it is downloaded from the source branch, just like many other packages. Libhandy0 was necessary for its execution and until now I had not realized it because by default it is installed by other packages that I have installed by default.

No matter how clean you want to leave a development environment, a package always slips into you ... thank you for your contributions.

jonathon commented on 2020-10-17 18:07 (UTC) (edited on 2020-10-17 18:07 (UTC) by jonathon)

That's because handy.patch is no longer applied in prepare() - it is still needed to fix the upstream source's now-missing branch.

brunomiguel commented on 2020-10-17 14:36 (UTC) (edited on 2020-10-17 14:38 (UTC) by brunomiguel)

The package is failing to build with the following error:


** RUST VERSION **
rustc 1.47.0
** RELEASE MODE **
    Updating crates.io index
    Updating git repository `https://gitlab.gnome.org/haecker-felix/libhandy-rs.git`
error: failed to get `libhandy` as a dependency of package `shortwave v0.0.0 (/home/brunomiguel/userrepository/pkgbuild/shortwave/src/Shortwave-1.1.1)`

Caused by:
  failed to load source for dependency `libhandy`

Caused by:
  Unable to update https://gitlab.gnome.org/haecker-felix/libhandy-rs.git?branch=update_cargo_version#62e7abf4

Caused by:
  object not found - no match for id (62e7abf44d419cf3fe83da64285f2905da4e333e); class=Odb (9); code=NotFound (-3)
[3/4] Generating de.haeckerfelix.Shortwave.metainfo.xml_data_merge with a custom command

Both extra/libhandy and extra/libhandy0 are installed

ValHue commented on 2020-10-17 08:23 (UTC)

@Schnouki, @freebench, Thanks a lot for your contribution

freebench commented on 2020-10-16 09:17 (UTC)

After system update it failed to start with a message:

shortwave: error while loading shared libraries: libhandy-0.0.so.0: cannot open shared object file: No such file or directory

Installing extra/libhandy0 separately fixes the issue.

Schnouki commented on 2020-10-13 14:01 (UTC)

This package should depend on libhandy0 instead of libhandy. Once I changed this I was able to build and run this.

Majroch commented on 2020-09-13 06:22 (UTC)

Hi, i have problems with this program:

thread 'main' panicked at 'Unable to create recorderbin: Error { domain: gst_parse_error, code: 1, message: "no element \"vorbisenc\"" }', src/audio/backend/gstreamer_backend.rs:300:27
stack backtrace:
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: <unknown>
  11: <unknown>
  12: g_main_context_dispatch
  13: <unknown>
  14: g_main_context_iteration
  15: g_application_run
  16: <unknown>
  17: <unknown>
  18: <unknown>
  19: <unknown>
  20: <unknown>
  21: __libc_start_main
  22: <unknown>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

this happens when song is changing on radio station.

ValHue commented on 2020-09-01 07:22 (UTC)

@jonathon, I know that a new version is already being worked on where there is no reference to the charge version.

That said, and although at the beginning I opted to force the version using rustup for compilation, I create the cleanest option that gives freedom to have rust or rustup in our systems, regardless of its version, it is option 1. When the new one comes out launch, we remove the patch and that's it. And I want to thank you for developing the patch.

Today I have a difficult day, but throughout it I will upload a new release of PKGBUILD.

Thanks again and regards.

jonathon commented on 2020-09-01 01:22 (UTC)

Upstream repo deleted the "update_cargo_version" branch referred to in the Cargo.toml. To work with 1.46.0 the options are to 1) patch the file to remove the reference to the branch (which was merged to master anyway), 2) use the source archive with bundled dependencies, 3) wait for a new upstream version.

ValHue commented on 2020-08-31 16:05 (UTC)

@mielouk, The fact of using rustup instead of rust is because rustup is a script that allows me to use the version of rust that I want. Those adjustments are made by the PKGBUILD.

After installing shortwave you can safely remove it, it is only required for compilation, note that it is marked as makedepends.

If you already have rustup on your system, it will download version 1.45.2 of rust, and choose it as the default version. After installing shortwave if you need to use the latest version of rust again, just run rustup default stable to do so.

There is the option to use the @jonathon patch, but I would wait to see if the developer corrects the error whereby using the latest version of rust it does not find the dependencies that cause the compilation failure.

Either we use rust from the rust package to perform the compilation (it is a dependency) or we use rustup to choose which version of rust we want, and I have opted for this solution. Rust is a programming language and I imagine that the error will come because when upgrading from version (from 1.45.2 to 1.46.0) they have changed something in the syntax that affects this package.