Package Details: surfer-waveform-git 0.3.0.r13.gdcee591-1

Git Clone URL: https://aur.archlinux.org/surfer-waveform-git.git (read-only, click to copy)
Package Base: surfer-waveform-git
Description: A waveform viewer with a focus on a snappy usable interface, and extensibility.
Upstream URL: https://gitlab.com/surfer-project/surfer
Licenses: EUPL-1.2
Conflicts: surfer-waveform
Provides: surfer-waveform
Submitter: delta64
Maintainer: delta64 (TheZoq2)
Last Packager: delta64
Votes: 1
Popularity: 0.002844
First Submitted: 2024-02-27 23:49 (UTC)
Last Updated: 2025-01-02 03:56 (UTC)

Latest Comments

5hayanB commented on 2025-03-10 13:12 (UTC)

Error while building package.

   Compiling surfer v0.4.0-dev ($HOME/.cache/paru/clone/surfer-waveform-git/src/surfer-waveform-git/surfer)
error: could not compile `surfer` (bin "surfer")

Caused by:
  process didn't exit successfully: `$HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name surfer --edition=2021 surfer/src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=213 --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --cfg 'feature="accesskit"' --cfg 'feature="default"' --cfg 'feature="f128"' --cfg 'feature="performance_plot"' --cfg 'feature="python"' --cfg 'feature="spade"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("accesskit", "default", "f128", "performance_plot", "python", "spade"))' -C metadata=cc6bbb88b13ed5c8 -C extra-filename=-916c2736deb11dd8 --out-dir $HOME/.cache/paru/clone/surfer-waveform-git/src/surfer-waveform-git/target/release/deps -C strip=debuginfo -L dependency=$HOME/.cache/paru/clone/surfer-waveform-git/src/surfer-waveform-git/target/release/deps --extern camino=$HOME/.cache/paru/clone/surfer-waveform-git/src/surfer-waveform-git/target/release/deps/libcamino-a76ac63c44c10291.rlib --extern clap=$HOME/.cache/paru/clone/surfer-waveform-git/src/surfer-waveform-git/target/release/deps/libclap-57f1e3986e462e51.rlib --extern color_eyre=$HOME/.cache/paru/clone/surfer-waveform-git/src/surfer-waveform-git/target/release/deps/libcolor_eyre-f8fb27d0a352dba1.rlib --extern eframe=$HOME/.cache/paru/clone/surfer-waveform-git/src/surfer-waveform-git/target/release/deps/libeframe-5ba781b740868e93.rlib --extern egui=$HOME/.cache/paru/clone/surfer-waveform-git/src/surfer-waveform-git/target/release/deps/libegui-f8af586033d7ebdd.rlib --extern libsurfer=$HOME/.cache/paru/clone/surfer-waveform-git/src/surfer-waveform-git/target/release/deps/liblibsurfer.rlib --extern log=$HOME/.cache/paru/clone/surfer-waveform-git/src/surfer-waveform-git/target/release/deps/liblog-ce5e422f1983e6e3.rlib --extern ron=$HOME/.cache/paru/clone/surfer-waveform-git/src/surfer-waveform-git/target/release/deps/libron-82e1ccbeaff8eba1.rlib --extern surver=$HOME/.cache/paru/clone/surfer-waveform-git/src/surfer-waveform-git/target/release/deps/libsurver-f19d3de7808444e8.rlib --extern tokio=$HOME/.cache/paru/clone/surfer-waveform-git/src/surfer-waveform-git/target/release/deps/libtokio-6a0175594563971b.rlib -Cforce-frame-pointers=yes -C debuginfo=2 --remap-path-prefix=$HOME/.cache/paru/clone/surfer-waveform-git/src=/usr/src/debug/surfer-waveform-git -L native=$HOME/.cache/paru/clone/surfer-waveform-git/src/surfer-waveform-git/target/release/build/f128_internal-8946b4c9b0209d02/out -L native=/usr/lib -L native=$HOME/.cache/paru/clone/surfer-waveform-git/src/surfer-waveform-git/target/release/build/psm-a0dcdf1f4c34aa20/out` (signal: 9, SIGKILL: kill)
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'surfer-waveform-git-0.3.0.r13.gdcee591-1': 
error: packages failed to build: surfer-waveform-git-0.3.0.r13.gdcee591-1

delta64 commented on 2025-01-02 03:57 (UTC)

I've applied a workaround for the recent PyO3 build failures, thanks for flagging.

delta64 commented on 2024-08-23 20:02 (UTC)

Ok, I think those are just used by check(). So I've added them in checkdepends. Let me know if there's still an issue

thotypous commented on 2024-08-23 01:07 (UTC)

Please add fontconfig and freetype2 as depends, otherwise build fails with

  = note: /usr/sbin/ld: cannot find -lfontconfig: No such file or directory
          /usr/sbin/ld: cannot find -lfreetype: No such file or directory
          collect2: error: ld returned 1 exit status

delta64 commented on 2024-08-17 19:47 (UTC)

Done, thanks for the PR!

sornas commented on 2024-08-17 07:33 (UTC)

Surfer has a new optional feature flag for Python integration. Since this PKGBUILD builds with --all-features, Python needs to be added as a dependency.

Right now, pkgctl build fails with:

error: failed to run custom build command for `pyo3-build-config v0.21.2`

Caused by:
  process didn't exit successfully: `/build/surfer-waveform-git/src/surfer-waveform-git/target/release/build/pyo3-build-config-6b6b8adf46c90947/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=PYO3_CONFIG_FILE
  cargo:rerun-if-env-changed=PYO3_NO_PYTHON
  cargo:rerun-if-env-changed=PYO3_ENVIRONMENT_SIGNATURE
  cargo:rerun-if-env-changed=PYO3_PYTHON
  cargo:rerun-if-env-changed=VIRTUAL_ENV
  cargo:rerun-if-env-changed=CONDA_PREFIX
  cargo:rerun-if-env-changed=PATH

  --- stderr
  error: no Python 3.x interpreter found

delta64 commented on 2024-07-23 12:13 (UTC)

Done.

Jogt commented on 2024-07-21 10:07 (UTC) (edited on 2024-07-21 10:08 (UTC) by Jogt)

The package is not installing anymore because the .desktop file has changed location. In package() the line should be:

desktop-file-install -m 644 --dir "$pkgdir/usr/share/applications/" "surfer/assets/Surfer.desktop

Also, for me the package is not building with LTO enabled. This seems to be a common problem with rust packages and the advice is to put

options=(!lto)

into the PKGBUILD (reference: https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/issues/20)

delta64 commented on 2024-04-04 19:59 (UTC)

Can you please add: provides=(surfer-waveform)

Done, thanks.

leuko commented on 2024-04-03 09:24 (UTC)

Can you please add:

provides=(surfer-waveform)

so that your package conflicts with https://aur.archlinux.org/packages/surfer-waveform-git-bin ?