Package Details: helvum-git 0.3.4.r4.gdf72a68-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/pipewire/helvum.git
Licenses: GPL3
Conflicts: helvum
Provides: helvum
Submitter: linkmauve
Maintainer: ami_ba
Last Packager: ami_ba
Votes: 4
Popularity: 0.020881
First Submitted: 2021-03-13 23:34 (UTC)
Last Updated: 2022-09-10 06:27 (UTC)

Latest Comments

xiota commented on 2024-03-02 18:50 (UTC)

Needs following changes:

  • Add depends on libadwaita
  • Add options=(!lto) to prevent linker errors
  • Update license string to GPL-3.0-only
  • Update pkgver() to git describe --tags --long --abbrev=8 | ... to prevent variable hash length.

Netboy3 commented on 2021-08-30 22:24 (UTC)

Your PKGBUILD should really use meson to build helvum as the upstream intended in the 1st place. Using cargo directly to build/install here is detrimental to the project as some upstream modifications are not reflected. As an example, the project just added a .desktop file to the meson build, but as you are not using meson, this change is not reflected in your AUR package.

zopieux commented on 2021-05-23 15:44 (UTC)

Would it be possible to also install a .desktop file so we can launch this from application runners such as dmenu/KDE/GTK?

souravdas142 commented on 2021-05-13 03:19 (UTC)

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 (UTC) (edited on 2021-04-29 17:12 (UTC) by wcasanova)

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"
}

ryuukyu commented on 2021-04-25 09:28 (UTC)

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 (UTC)

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`