Package Details: shortwave-git 2.0.1.r114.gf7c53c5-1

Git Clone URL: https://aur.archlinux.org/shortwave-git.git (read-only, click to copy)
Package Base: shortwave-git
Description: Find and listen to internet radio stations
Upstream URL: https://apps.gnome.org/app/de.haeckerfelix.Shortwave
Licenses: GPL3
Conflicts: shortwave
Provides: shortwave
Submitter: flipflop97
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 8
Popularity: 0.78
First Submitted: 2019-01-30 20:00
Last Updated: 2021-10-22 20:57

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

yochananmarqos commented on 2019-11-20 15:37

@r381581: It turns out you are absolutely correct. I removed it.

r381581 commented on 2019-11-20 12:15

Is there any reason for forcing the removal of Gradio with the installation of this package? I mean, okay it's a complete rewrite whose objective is to replace it, but it's 1/ A different software, with different name and different binaries and file ; 2/ still in early development and can lack features of Gradio or be way more buggy.

A user can want to have both on its computer to try this new one, help on dev and do bug reports while still having Gradio for regular use. Add a note to tell Gradio is deemed to be replaced, why not, but imho you shouldn't forbid Shortwave and Gradio to be both installed: they don't conflict with each other.

Tio commented on 2019-11-12 13:07

I see thanks. I was testing it on Manjaro Gnome Stable

coxackie commented on 2019-11-12 09:27

@ Tio: you have to use the latest version of rust (1.39), where async/await became stable. rustup update

Tio commented on 2019-11-12 01:56

Error:

error[E0658]: async fn is unstable
  --> src/api/client.rs:29:5
   |
29 | /     pub async fn send_station_request(self, request: StationRequest) -> Result<Vec<Station>, Error> {
30 | |         let url = self.build_url(STATION_SEARCH, Some(&request.url_encode()))?;
31 | |         debug!("Station request URL: {}", url);
32 | |         let data = self.send_message(url).await?;
...  |
38 | |         Ok(stations)
39 | |     }
   | |_____^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async/await is unstable
  --> src/api/client.rs:32:20
   |
32 |         let data = self.send_message(url).await?;
   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async fn is unstable
  --> src/api/client.rs:41:5
   |
41 | /     pub async fn get_stations_by_identifiers(self, identifiers: Vec<StationIdentifier>) -> Result<Vec<Station>, Error> {
42 | |         let mut stations = Vec::new();
43 | |
44 | |         for identifier in identifiers {
...  |
55 | |         Ok(stations)
56 | |     }
   | |_____^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async/await is unstable
  --> src/api/client.rs:47:24
   |
47 |             let data = self.send_message(url).await?;
   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async fn is unstable
  --> src/api/client.rs:58:5
   |
58 | /     pub async fn get_stream_url(self, station: Station) -> Result<StationUrl, Error> {
59 | |         let url = self.build_url(&format!("{}{}", PLAYABLE_STATION_URL, station.id), None)?;
60 | |         debug!("Request playable URL: {}", url);
61 | |         let data = self.send_message(url).await?;
...  |
66 | |         Ok(result[0].clone())
67 | |     }
   | |_____^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async/await is unstable
  --> src/api/client.rs:61:20
   |
61 |         let data = self.send_message(url).await?;
   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async fn is unstable
  --> src/api/client.rs:70:5
   |
70 | /     async fn send_message(&self, url: Url) -> std::result::Result<GString, Error> {
71 | |         // Create SOUP message
72 | |         match soup::Message::new("GET", &url.to_string()) {
73 | |             Some(message) => {
...  |
86 | |         }
87 | |     }
   | |_____^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async/await is unstable
  --> src/api/client.rs:75:36
   |
75 |                 let input_stream = self.session.send_async_future(&message).await?;
   |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async/await is unstable
  --> src/api/client.rs:80:30
   |
80 |                 let result = data_input_stream.read_upto_async_future("", glib::PRIORITY_LOW).await?;
   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async fn is unstable
  --> src/api/favicon_downloader.rs:33:5
   |
33 | /     pub async fn download(self, url: Url, size: i32) -> Result<Pixbuf, Error> {
34 | |         match self.get_cached_pixbuf(&url, &size).await {
35 | |             Ok(pixbuf) => return Ok(pixbuf),
36 | |             Err(_) => debug!("No cached favicon available for {:?}", url),
...  |
64 | |         Ok(self.get_cached_pixbuf(&url, &size).await?)
65 | |     }
   | |_____^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async/await is unstable
  --> src/api/favicon_downloader.rs:34:15
   |
34 |         match self.get_cached_pixbuf(&url, &size).await {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async/await is unstable
  --> src/api/favicon_downloader.rs:43:36
   |
43 |                 let input_stream = self.session.send_async_future(&message).await?;
   |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async/await is unstable
  --> src/api/favicon_downloader.rs:50:30
   |
50 |                 let pixbuf = Pixbuf::new_from_stream_at_scale_async_future(&data_input_stream, 192, 192, true).await?;
   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async/await is unstable
  --> src/api/favicon_downloader.rs:55:31
   |
55 |                     let ios = file.create_readwrite_async_future(gio::FileCreateFlags::REPLACE_DESTINATION, glib::PRIORITY_DEFAULT).await?;
   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async/await is unstable
  --> src/api/favicon_downloader.rs:57:21
   |
57 |                     pixbuf.save_to_streamv_async_future(&data_output_stream, "png", &[]).await?;
   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async/await is unstable
  --> src/api/favicon_downloader.rs:64:12
   |
64 |         Ok(self.get_cached_pixbuf(&url, &size).await?)
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async fn is unstable
  --> src/api/favicon_downloader.rs:67:5
   |
67 | /     async fn get_cached_pixbuf(&self, url: &Url, size: &i32) -> Result<Pixbuf, Error> {
68 | |         let file = Self::get_file(&url)?;
69 | |         if Self::exists(&file) {
70 | |             let ios = file.open_readwrite_async_future(glib::PRIORITY_DEFAULT).await.expect("Could not open file");
...  |
76 | |         }
77 | |     }
   | |_____^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async/await is unstable
  --> src/api/favicon_downloader.rs:70:23
   |
70 |             let ios = file.open_readwrite_async_future(glib::PRIORITY_DEFAULT).await.expect("Could not open file");
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error[E0658]: async/await is unstable
  --> src/api/favicon_downloader.rs:73:16
   |
73 |             Ok(Pixbuf::new_from_stream_at_scale_async_future(&data_input_stream, *size, *size, true).await?)
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/50547

error: aborting due to 19 previous errors

For more information about this error, try `rustc --explain E0658`.
error: Could not compile `shortwave`.

To learn more, run the command again with --verbose.
[3/4] Generating de.haeckerfelix.Shortwave.appdata.xml_data_merge with a custom command.
FAILED: src/shortwave 
/var/tmp/pamac-build-tio/shortwave-git/src/Shortwave/build-aux/cargo.sh /var/tmp/pamac-build-tio/shortwave-git/src/build /var/tmp/pamac-build-tio/shortwave-git/src/Shortwave src/shortwave /usr/share/locale beta
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

yochananmarqos commented on 2019-11-11 17:04

Tags are now available:

pkgver() {
    cd "$srcdir/Shortwave"
    printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
0.0.1.r0.cd80fc2

Also, appstream-glib is required to build:

Program appstream-util found: YES (/usr/sbin/appstream-util)

Listing both cargo and rust is redundant, just use one or the other. The project page specifies rust.

gradio should be added to provides() and conflicts().

flipflop97 commented on 2019-03-30 16:27

@nicoulaj

Thanks, added!

nicoulaj commented on 2019-03-29 19:49

I think a makedepends on gst-plugins-base-libs is needed, this is what happens when building in a chroot:

Package gstreamer-audio-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-audio-1.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gstreamer-audio-1.0', required by 'virtual:world', not found


warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `gstreamer-video-sys v0.7.0`
process didn't exit successfully: `/build/shortwave-git/src/build/target/release/build/gstreamer-video-sys-287deda3e527dbee/build-script-bu
ild` (exit code: 1)

Tio commented on 2019-02-06 13:05

@flipflop97 I see thank you very much

flipflop97 commented on 2019-02-06 12:30

@teoretic

The same applies to your error as with @kouros17.

The last line of your error shows what's wrong:
libhandy 0.0.7 is needed while 0.0.6 is installed. Since the repo version is out of date you'll have to fall back and install libhandy-git for now.