Package Details: deadbeef-plugin-lyricbar-git r80.ga1b2dba-4

Git Clone URL: https://aur.archlinux.org/deadbeef-plugin-lyricbar-git.git (read-only, click to copy)
Package Base: deadbeef-plugin-lyricbar-git
Description: DeaDBeeF lyric bar plugin
Upstream URL: https://github.com/loskutov/deadbeef-lyricbar
Licenses: MIT
Conflicts: deadbeef-plugin-lyricbar
Provides: deadbeef-plugin-lyricbar
Submitter: dpirate
Maintainer: dpirate
Last Packager: dpirate
Votes: 5
Popularity: 0.008543
First Submitted: 2019-01-26 06:39 (UTC)
Last Updated: 2024-09-08 18:49 (UTC)

Dependencies (8)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 Next › Last »

wind_mask commented on 2024-10-12 07:45 (UTC)

I found a new version: https://github.com/AsVHEn/deadbeef-lyricbar, considering this.

rek769 commented on 2024-09-04 17:27 (UTC) (edited on 2024-09-04 17:28 (UTC) by rek769)

Copied the linked pkgbuild over the snapshot version and tried again. Success!
Very grateful for your help!

FabioLolix commented on 2024-09-04 17:20 (UTC)

Posting big logs here is not welcome, use my linked pkgbuild

rek769 commented on 2024-09-04 17:12 (UTC) (edited on 2024-09-04 17:13 (UTC) by rek769)

I don't use a helper. I always use terminal and build manually: makepkg -si
Deleted cloned directory and re-downloaded.
Same error.
Can I post or send full terminal output?

FabioLolix commented on 2024-09-04 16:54 (UTC) (edited on 2024-09-04 16:54 (UTC) by FabioLolix)

@rek769 your build method? Are you using an AUR helper?

The changes work

rek769 commented on 2024-09-04 16:45 (UTC)

Re-downloaded as SNAPSHOT, extracted, saw additions in PKGBUILD. Still this:
src/main.c:31:22: note: (near initialization for 'remove_action.callback2')
make: *** [Makefile:31: main.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...

FabioLolix commented on 2024-09-04 16:31 (UTC)

@rek769 you have edit too much or the wrong pkgbuild, here there isn't:

[...]
  cd "${_gitname}"
  make
}

There is:

  cd "${_pkgname}"
  make COPTS="${CFLAGS}" CXXOPTS="${CXXFLAGS}" gtk2
[...]

rek769 commented on 2024-09-04 16:26 (UTC) (edited on 2024-09-04 16:28 (UTC) by rek769)

Seems it did not make a difference:

src/main.c:31:22: note: (near initialization for 'remove_action.callback2') make: *** [Makefile:31: main.o] Error 1 ==> ERROR: A failure occurred in build().

Here is revised build section:

build() { export CFLAGS+=" -Wno-incompatible-pointer-types" export CXXFLAGS+=" -Wno-incompatible-pointer-types" cd "${_gitname}" make }

FabioLolix commented on 2024-09-04 15:36 (UTC)

The error is:

src/main.c:31:22: error: initialization of 'int (*)(struct DB_plugin_action_s *, ddb_action_context_t)' {aka 'int (*)(struct DB_plugin_action_s *, enum ddb_action_context_e)'} from incompatible pointer type 'int (*)(DB_plugin_action_t *, int)' {aka 'int (*)(struct DB_plugin_action_s *, int)'} [-Wincompatible-pointer-types]
   31 |         .callback2 = remove_from_cache_action,
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~

This is due to GCC14 and can be avoided adding this after build()

  export CFLAGS+=" -Wno-incompatible-pointer-types"
  export CXXFLAGS+=" -Wno-incompatible-pointer-types"

rek769 commented on 2024-09-04 15:30 (UTC) (edited on 2024-09-04 15:31 (UTC) by rek769)

Getting this error...don't see anything obvious but I am no expert...any insights greatly appreciated.

src/main.c:31:22: note: (near initialization for 'remove_action.callback2') make: *** [Makefile:31: main.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting...