Package Details: gossip 0.13.0-1

Git Clone URL: https://aur.archlinux.org/gossip.git (read-only, click to copy)
Package Base: gossip
Description: gossip nostr client, rust, egui based.
Upstream URL: https://github.com/mikedilger/gossip
Licenses: MIT
Conflicts: ffmpeg-git
Submitter: soloturn
Maintainer: soloturn (zero66, mikedilger, itsfarseen)
Last Packager: mikedilger
Votes: 7
Popularity: 0.012462
First Submitted: 2023-02-13 19:50 (UTC)
Last Updated: 2024-12-20 22:00 (UTC)

Latest Comments

1 2 3 4 Next › Last »

troxor commented on 2026-07-05 19:18 (UTC)

I got 0.14.0 to build by vendoring and patching nostr-types.

diff --git a/.SRCINFO b/.SRCINFO
index 6570eba..147ba08 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = gossip
    pkgdesc = gossip nostr client, rust, egui based.
-   pkgver = 0.13.0
+   pkgver = 0.14.0
    pkgrel = 1
    url = https://github.com/mikedilger/gossip
    arch = x86_64
@@ -8,14 +8,11 @@ pkgbase = gossip
    makedepends = cargo
    makedepends = clang
    makedepends = cmake
-   makedepends = ffmpeg
    makedepends = git
    makedepends = mold
-   optdepends = xdg-utils
+   optdepends = xdg-utils: open nostr: links
    conflicts = ffmpeg-git
-   source = gossip-0.13.0.tar.gz::https://github.com/mikedilger/gossip/archive/refs/tags/v0.13.0.tar.gz
-   source = gossip.desktop
-   sha256sums = ac8fc3da9ec7a6dfa3c31827008e93bb3a6b42244c00050e30eed819939ed248
-   sha256sums = cf28c5863c0f5f6766d98cb18189761f95f2a0a7c166a39afa4ffa2578a703af
+   source = gossip-0.14.0.tar.gz::https://github.com/mikedilger/gossip/archive/refs/tags/v0.14.0.tar.gz
+   sha256sums = b1d8abc359c11c8d8993354c737d980a66a9b8e251bd6ecbdd605f5f0ab55665

 pkgname = gossip
diff --git a/PKGBUILD b/PKGBUILD
index 3c31e17..96ec082 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,29 +2,36 @@
 # Maintainer: soloturn@gmail.com

 pkgname=gossip
-pkgver=0.13.0
+pkgver=0.14.0
 pkgrel=1
 pkgdesc="gossip nostr client, rust, egui based."
 arch=('x86_64')
 url="https://github.com/mikedilger/gossip"
 license=(MIT)
 conflicts=(ffmpeg-git)
-makedepends=(cargo clang cmake ffmpeg git mold)
-optdepends=(xdg-utils)
+makedepends=(cargo clang cmake git mold)
+optdepends=('xdg-utils: open nostr: links')
 source=(
   "$pkgname-$pkgver.tar.gz::https://github.com/mikedilger/gossip/archive/refs/tags/v${pkgver}.tar.gz"
-  "$pkgname.desktop"
-)
-sha256sums=(
-  'ac8fc3da9ec7a6dfa3c31827008e93bb3a6b42244c00050e30eed819939ed248'
-  'cf28c5863c0f5f6766d98cb18189761f95f2a0a7c166a39afa4ffa2578a703af'
 )
+sha256sums=('b1d8abc359c11c8d8993354c737d980a66a9b8e251bd6ecbdd605f5f0ab55665')

 prepare() {
   cd $pkgname-$pkgver
+  git clone --quiet https://github.com/mikedilger/nostr-types.git nostr-types-patched
+  cd nostr-types-patched
+  git checkout -q a4d5c8f94b19c1306edcfeea51644541b02172bd
+  sed -i 's|lightning-invoice = { git = "https://github.com/mikedilger/rust-lightning", rev = "7a62cb4106d449bc4d1724920b73918d501bb3a9" }|lightning-invoice = "0.33"|' Cargo.toml
+  cd ..
+  cat >> .cargo/config.toml <<'EOF'
+
+[patch."https://github.com/mikedilger/nostr-types"]
+nostr-types = { path = "nostr-types-patched" }
+EOF
   export RUSTUP_TOOLCHAIN=stable
   export CARGO_TARGET_DIR=target
-  RUSTFLAGS="-C link-arg=-fuse-ld=mold -C target-cpu=native --cfg tokio_unstable"
+  export RUSTFLAGS="-C link-arg=-fuse-ld=mold -C target-cpu=native --cfg tokio_unstable"
+  cargo update -p nostr-types
   cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }

@@ -32,8 +39,8 @@ build() {
   cd $pkgname-$pkgver
   export RUSTUP_TOOLCHAIN=stable
   export CARGO_TARGET_DIR=target
-  RUSTFLAGS="-C link-arg=-fuse-ld=mold -C target-cpu=native --cfg tokio_unstable"
-  cargo build --locked --offline --release --all-features
+  export RUSTFLAGS="-C link-arg=-fuse-ld=mold -C target-cpu=native --cfg tokio_unstable"
+  cargo build --locked --offline --release --features lang-cjk
 }

 package() {
@@ -41,5 +48,5 @@ package() {
   install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
   install -Dm644 "LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
   install -Dm644 "logo/gossip.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg"
-  install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+  install -Dm644 "packaging/debian/gossip.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
 }

soloturn commented on 2025-05-03 10:35 (UTC)

added you as co-maintainer itsfarssen if you want to commit that change please?

itsfarseen commented on 2025-04-24 13:23 (UTC) (edited on 2025-04-24 13:24 (UTC) by itsfarseen)

v0.13.0-1 fails to build as of Apr 24, 2025.

The fix is to change the following line:

  cargo build --locked --offline --release --all-features

to:

  cargo build --locked --offline --release

More details can be found here: https://github.com/mikedilger/gossip/issues/982


Error logs:

error: failed to run custom build command for `sdl2-sys v0.37.0`

Caused by:
  process didn't exit successfully: `/home/farseen/.cache/yay/gossip/src/gossip-0.13.0/target/releas
  --- stdout
  CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
  CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_TOOLCHAIN_FILE = None
  CMAKE_TOOLCHAIN_FILE = None
  CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
  CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_GENERATOR = None
  CMAKE_GENERATOR = None
  CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
  CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = None
  CMAKE_x86_64-unknown-linux-gnu = None
  CMAKE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE = None
  CMAKE = None
  running: cd "/home/farseen/.cache/yay/gossip/src/gossip-0.13.0/target/release/build/sdl2-sys-18a28
  -- Configuring incomplete, errors occurred!

  --- stderr
  CMake Error at CMakeLists.txt:5 (cmake_minimum_required):
    Compatibility with CMake < 3.5 has been removed from CMake.

    Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
    to tell CMake that the project requires at least <min> but has been updated
    to work with policies introduced by <max> or earlier.

    Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


  thread 'main' panicked at /home/farseen/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.52/src/lib.rs:1115:5:

  command did not execute successfully, got: exit status: 1

  build script failed, must exit now
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: gossip-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
gossip - exit status 4

mikedilger commented on 2024-07-18 17:19 (UTC)

I'm not updating to 0.11.0 because it won't compile against ffmpeg 7.0.0.

I am fixing several bugs and will instead update this to 0.11.1 with all the patches.

soloturn commented on 2024-06-16 18:01 (UTC)

dreieck added you to maintainers. feel free to adjust. i do not understand why ffmpeg-git should conflict? the goal was to permit both, the git and normal version to be installed in parallel, isn't it?

nqdtdz29bq commented on 2024-05-20 21:08 (UTC) (edited on 2024-05-20 21:09 (UTC) by nqdtdz29bq)

If you try building it in a clean chroot you'll run into two missing makedepends: ffmpeg cmake

After adding those two it builds successfully.

dreieck commented on 2024-03-02 19:21 (UTC)

xdg-utils needs to be added as optional dependency since xdg-open is in the shabeng-line of the .desktop file.

dreieck commented on 2024-02-28 18:57 (UTC)

Can you please add ffmpeg-git to the conflicts array?:
https://github.com/mikedilger/gossip/issues/653#issuecomment-1969641377

dreieck commented on 2024-02-28 10:08 (UTC)

Information:
Build fails for me with

  • error[E0004]: non-exhaustive patterns: `sys::AVPixelFormat::AV_PIX_FMT_D3D12` not covered,
  • error[E0004]: non-exhaustive patterns: `sys::AVCodecID::AV_CODEC_ID_LEAD` and `sys::AVCodecID::AV_CODEC_ID_QOA` not covered and
  • error[E0004]: non-exhaustive patterns: `sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_MIX_GAIN_PARAM`, `sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM`, `sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM` and 1 more not covered.

↗ Upstream issue report.

dreieck commented on 2024-02-28 08:57 (UTC)

Please remove the conflicts and provides entries, since they just list the package's name.