Package Details: helvum-git 0.1.0.r13.g3fccff0-1

Git Clone URL: https://aur.archlinux.org/helvum-git.git (read-only, click to copy)
Package Base: helvum-git
Description: GTK-based patchbay for pipewire, inspired by the JACK tool catia
Upstream URL: https://gitlab.freedesktop.org/ryuukyu/helvum
Licenses: GPL3
Conflicts: helvum
Provides: helvum
Submitter: linkmauve
Maintainer: linkmauve
Last Packager: linkmauve
Votes: 1
Popularity: 0.66
First Submitted: 2021-03-13 23:34
Last Updated: 2021-03-14 08:00

Latest Comments

souravdas142 commented on 2021-05-13 03:19

Confirming the current PKGBUILD compiles and creates the package successfully. However clang should be added to makedepends array. Without this the building may failed. Also check whether LIBCLANG_PATH environment variable sets to the path of any (libclang.so, libclang-*.so, libclang.so.*, libclang-*.so.*) of this soname.

wcasanova commented on 2021-04-29 17:10

it does not compile, here is one that works


pkgname='helvum-dev-git'
_pkgname='helvum'
pkgver=0.1.0.43.g2cb155c
pkgrel=1
pkgdesc="A GTK patchbay for pipewire."
arch=('i686' 'x86_64')
url="https://gitlab.freedesktop.org/ryuukyu/helvum"
license=('GPL3')
depends=('pipewire' 'gtk4')
makedepends=('rust' 'cargo' 'git')
provides=('helvum')
conflicts=('helvum' 'helvum-git')
source=("$_pkgname::git+https://gitlab.freedesktop.org/ryuukyu/helvum.git")
sha384sums=('SKIP')

pkgver() {
    cd "$_pkgname"
    echo "$(grep '^version =' Cargo.toml | head -n1 | awk -F '"' '{print $2}').$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
}

build() {
    cd $_pkgname
    RUSTUP_TOOLCHAIN=stable cargo build --release --locked --all-features --target-dir=target
 }

package() {
    cd "$srcdir/$_pkgname"
    install -Dm 755 target/release/${_pkgname} -t "${pkgdir}/usr/bin"
    install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

lecyntho commented on 2021-04-25 09:28

The cargo install in the PKGBUILD needs a --locked flag to avoid pulling in too new commits from the packages git dependencies to fix the failing build posted below.

juxuanu commented on 2021-04-21 10:07

Hello, thanks for your application! Unfortunately, it won't build on my machine.

warning: unused import: `self`
 --> src/controller.rs:3:17
  |
3 | use gtk::glib::{self, clone};
  |                 ^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: unused import: `self`
 --> src/pipewire_connection.rs:1:17
  |
1 | use gtk::glib::{self, clone};
  |                 ^^^^

warning: unused import: `self`
  --> src/view/mod.rs:13:12
   |
13 |     glib::{self, clone},
   |            ^^^^

error[E0599]: no method named `expect` found for struct `gtk4::Application` in the current scope
  --> src/view/mod.rs:55:14
   |
55 |             .expect("Application creation failed");
   |              ^^^^^^ method not found in `gtk4::Application`

error[E0599]: no function or associated item named `get_default` found for struct `gtk4::gdk4::Display` in the current scope
  --> src/view/mod.rs:62:37
   |
62 |                 &gtk::gdk::Display::get_default().expect("Error initializing gtk css provider."),
   |                                     ^^^^^^^^^^^ function or associated item not found in `gtk4::gdk4::Display`

error[E0599]: no method named `get_settings` found for struct `ApplicationWindow` in the current scope
  --> src/view/mod.rs:78:18
   |
78 |                 .get_settings()
   |                  ^^^^^^^^^^^^ method not found in `ApplicationWindow`

error[E0061]: this function takes 0 arguments but 1 argument was supplied
  --> src/view/mod.rs:95:18
   |
95 |         self.app.run(&std::env::args().collect::<Vec<_>>())
   |                  ^^^ ------------------------------------- supplied 1 argument
   |                  |
   |                  expected 0 arguments
   |
note: associated function defined here
  --> /home/icar/.cargo/git/checkouts/gtk-rs-48ef14c1f17c79fb/f042a44/gio/src/application.rs:15:8
   |
15 |     fn run(&self) -> i32;
   |        ^^^

error[E0599]: no method named `get_widget` found for reference `&EventControllerMotion` in the current scope
  --> src/view/graph_view.rs:41:22
   |
41 |                     .get_widget()
   |                      ^^^^^^^^^^ method not found in `&EventControllerMotion`

error[E0599]: no method named `get_current_event` found for reference `&EventControllerMotion` in the current scope
  --> src/view/graph_view.rs:49:26
   |
49 |                         .get_current_event()
   |                          ^^^^^^^^^^^^^^^^^ method not found in `&EventControllerMotion`

error[E0599]: no method named `get_allocation` found for reference `&graph_view::GraphView` in the current scope
  --> src/view/graph_view.rs:74:32
   |
74 |             let alloc = widget.get_allocation();
   |                                ^^^^^^^^^^^^^^ method not found in `&graph_view::GraphView`

error[E0599]: no method named `get_style_context` found for reference `&graph_view::GraphView` in the current scope
  --> src/view/graph_view.rs:86:40
   |
86 |             if let Some(rgba) = widget.get_style_context().lookup_color("text_view_bg") {
   |                                        ^^^^^^^^^^^^^^^^^ method not found in `&graph_view::GraphView`

error[E0599]: no method named `get_instance` found for reference `&graph_view::imp::GraphView` in the current scope
   --> src/view/graph_view.rs:125:39
    |
125 |                 .for_each(|node| self.get_instance().snapshot_child(node, snapshot));
    |                                       ^^^^^^^^^^^^ method not found in `&graph_view::imp::GraphView`

error[E0599]: no method named `get_allocation` found for reference `&gtk4::Button` in the current scope
   --> src/view/graph_view.rs:146:27
    |
146 |             } = from_port.get_allocation();
    |                           ^^^^^^^^^^^^^^ method not found in `&gtk4::Button`

error[E0599]: no method named `get_ancestor` found for reference `&gtk4::Button` in the current scope
   --> src/view/graph_view.rs:148:18
    |
148 |                 .get_ancestor(Node::static_type())
    |                  ^^^^^^^^^^^^ method not found in `&gtk4::Button`

error[E0599]: no method named `get_allocation` found for reference `&gtk4::Button` in the current scope
   --> src/view/graph_view.rs:160:25
    |
160 |             } = to_port.get_allocation();
    |                         ^^^^^^^^^^^^^^ method not found in `&gtk4::Button`

error[E0599]: no method named `get_ancestor` found for reference `&gtk4::Button` in the current scope
   --> src/view/graph_view.rs:162:18
    |
162 |                 .get_ancestor(Node::static_type())
    |                  ^^^^^^^^^^^^ method not found in `&gtk4::Button`

error[E0599]: no method named `get_layout_manager` found for reference `&graph_view::GraphView` in the current scope
   --> src/view/graph_view.rs:252:14
    |
252 |             .get_layout_manager()
    |              ^^^^^^^^^^^^^^^^^^ method not found in `&graph_view::GraphView`

error[E0599]: no method named `get_widget` found for reference `&EventControllerMotion` in the current scope
  --> src/view/node.rs:41:22
   |
41 |                     .get_widget()
   |                      ^^^^^^^^^^ method not found in `&EventControllerMotion`

error[E0599]: no method named `get_widget` found for reference `&EventControllerMotion` in the current scope
  --> src/view/node.rs:56:22
   |
56 |                     .get_widget()
   |                      ^^^^^^^^^^ method not found in `&EventControllerMotion`

error: aborting due to 16 previous errors; 3 warnings emitted

Some errors have detailed explanations: E0061, E0599.
For more information about an error, try `rustc --explain E0061`.
error: could not compile `helvum`