Package Details: deadbeef-plugin-waveform-gtk3-git 0.5.r89.g6c901d5-1

Git Clone URL: https://aur.archlinux.org/deadbeef-plugin-waveform-git.git (read-only, click to copy)
Package Base: deadbeef-plugin-waveform-git
Description: Waveform Seekbar plugin for DeaDBeeF audio player GTK3
Upstream URL: https://github.com/cboxdoerfer/ddb_waveform_seekbar
Licenses: GPL2
Conflicts: deadbeef-plugin-waveform-gtk3
Provides: deadbeef-plugin-waveform-gtk3
Submitter: maz-1
Maintainer: rdoursenaud
Last Packager: rdoursenaud
Votes: 18
Popularity: 0.23
First Submitted: 2015-11-08 13:40 (UTC)
Last Updated: 2022-03-21 12:14 (UTC)

Latest Comments

1 2 Next › Last »

Drommer commented on 2024-03-23 19:50 (UTC)

simonweiss As I recall, I had the same error. I solved it by modifying the build() block:

build() {
  cd $_gitname
  CFLAGS+=' -DDDB_API_LEVEL=15'
  export CFLAGS
  make
}

simonweiss commented on 2024-01-28 05:45 (UTC)

Fails to build on fresh Manjaro with the following:

waveform.c: In function ‘waveform_generate_wavedata’:
waveform.c:690:18: error: ‘ddb_waveformat_t’ has no member named ‘is_bigendian’
  690 |                 .is_bigendian = 0
      |                  ^~~~~~~~~~~~
waveform.c: At top level:
waveform.c:1405:18: warning: 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]
 1405 |     .callback2 = waveform_action_lookup,
      |                  ^~~~~~~~~~~~~~~~~~~~~~
waveform.c:1405:18: note: (near initialization for ‘lookup_action.callback2’)
make: *** [Makefile:95: gtk2/waveform.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'deadbeef-plugin-waveform-git-0.5.r89.g6c901d5-1 (deadbeef-plugin-waveform-gtk3-git)': 
error: packages failed to build: deadbeef-plugin-waveform-git-0.5.r89.g6c901d5-1 (deadbeef-plugin-waveform-gtk3-git)

FabioLolix commented on 2023-10-26 07:18 (UTC)

@fractalf your problem is with deadbeef not deadbeef-plugin-waveform-git, for which I don't have a working patch

fractalf commented on 2023-10-25 23:44 (UTC)

Install fails on a clean EndeavourOS today:

libbinio/binio.cpp:498:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  register long bits;
  ^~~~~~~~~
3 warnings and 1 error generated.
make[2]: *** [Makefile:955: libbinio/adplug_la-binio.lo] Error 1
make[2]: Leaving directory '/home/alf/.cache/yay/deadbeef/src/deadbeef-1.9.5/plugins/adplug'
make[1]: *** [Makefile:1059: all-recursive] Error 1
make[1]: Leaving directory '/home/alf/.cache/yay/deadbeef/src/deadbeef-1.9.5'
make: *** [Makefile:634: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> Failed to install layer, rolling up to next layer.error:error making: deadbeef - exit status 4

..any idea?

dreieck commented on 2023-10-14 08:32 (UTC) (edited on 2023-10-14 08:36 (UTC) by dreieck)

You need to add

CFLAGS+=' -DDDB_API_LEVEL=15'
export CFLAGS

to build() to solve the issue reported on 2023-09-22, according to ↗ this comment in the upstream bugtracker.

I can confirm that it fixes build error, so here is a diff to the current PKGBUILD:

--- PKGBUILD.org    2023-10-14 10:35:17.846887887 +0200
+++ PKGBUILD    2023-10-14 10:33:14.543546080 +0200
@@ -25,2 +25,6 @@
   cd "${_gitname}"
+
+  CFLAGS+=' -DDDB_API_LEVEL=15'
+  export CFLAGS
+
   make

Regards and thanks for maintaining!

dreieck commented on 2023-09-22 20:05 (UTC)

Build fails for me with
waveform.c:690:18: error: ‘ddb_waveformat_t’ has no member named ‘is_bigendian’:

waveform.c: In function ‘waveform_generate_wavedata’:
waveform.c:690:18: error: ‘ddb_waveformat_t’ has no member named ‘is_bigendian’
  690 |                 .is_bigendian = 0
      |                  ^~~~~~~~~~~~
waveform.c: At top level:
waveform.c:1405:18: warning: 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]
 1405 |     .callback2 = waveform_action_lookup,
      |                  ^~~~~~~~~~~~~~~~~~~~~~
waveform.c:1405:18: note: (near initialization for ‘lookup_action.callback2’)
make: *** [Makefile:96: gtk2/waveform.o] Error 1

↗ Upstream issue report.

Phoenix1 commented on 2023-06-18 14:57 (UTC) (edited on 2023-06-18 14:58 (UTC) by Phoenix1)

I get this error when trying to install:

Compiling draw_utils.o waveform.c: In function ‘waveform_generate_wavedata’: waveform.c:690:18: error: ‘ddb_waveformat_t’ has no member named ‘is_bigendian’ 690 | .is_bigendian = 0 | ^~~~~~~~~~~~ waveform.c: At top level: waveform.c:1405:18: warning: 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] 1405 | .callback2 = waveform_action_lookup, | ^~~~~~~~~~~~~~~~~~~~~~ waveform.c:1405:18: note: (near initialization for ‘lookup_action.callback2’) make: *** [Makefile:95: gtk2/waveform.o] Error 1 make: *** Waiting for unfinished jobs.... config_dialog.c: In function ‘on_button_config’: config_dialog.c:82:93: warning: passing argument 1 of ‘gtk_widget_get_toplevel’ from incompatible pointer type [-Wincompatible-pointer-types] 82 | gtk_window_set_transient_for (GTK_WINDOW (waveform_properties), gtk_widget_get_toplevel(menuitem)); | ^~~~~~~~ | | | GtkMenuItem * {aka struct _GtkMenuItem } In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from config_dialog.c:31: /usr/include/gtk-3.0/gtk/gtkwidget.h:997:58: note: expected ‘GtkWidget ’ {aka ‘struct _GtkWidget ’} but argument is of type ‘GtkMenuItem ’ {aka ‘struct _GtkMenuItem ’} 997 | GtkWidget gtk_widget_get_toplevel (GtkWidget widget); | ~~~~~~~~~~~~~~~~^~~~~~ config_dialog.c:82:69: warning: passing argument 2 of ‘gtk_window_set_transient_for’ from incompatible pointer type [-Wincompatible-pointer-types] 82 | gtk_window_set_transient_for (GTK_WINDOW (waveform_properties), gtk_widget_get_toplevel(menuitem)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | GtkWidget * {aka struct _GtkWidget } /usr/include/gtk-3.0/gtk/gtkwindow.h:191:70: note: expected ‘GtkWindow ’ {aka ‘struct _GtkWindow ’} but argument is of type ‘GtkWidget ’ {aka ‘struct _GtkWidget ’} 191 | GtkWindow *parent); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ==> ERROR: A failure occurred in build(). Aborting... -> error making: deadbeef-plugin-waveform-git-exit status 4 -> Failed to install the following packages. Manual intervention is required: deadbeef-plugin-waveform-gtk3-git - exit status 4

rdoursenaud commented on 2022-03-21 12:16 (UTC)

@BachoSeven Sorry for the very late reply and thank you for pointing this out. I just updated the package with gtk2 and gtk3 added to makedepends.

BachoSeven commented on 2021-11-20 21:17 (UTC)

This should make-depend on gtk2, as done by the musical-spectrum PKGBUILD. Otherwise, the build fails with:

Package 'gtk+-2.0', required by 'virtual:world', not found
config_dialog.c:31:10: fatal error: gtk/gtk.h: No such file or directory
   31 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:96: gtk2/config_dialog.o] Error 1
make: *** Waiting for unfinished jobs....
config.c:34:10: fatal error: gtk/gtk.h: No such file or directory
   34 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:96: gtk2/config.o] Error 1
draw_utils.c:34:10: fatal error: gtk/gtk.h: No such file or directory
   34 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:96: gtk2/draw_utils.o] Error 1

rdoursenaud commented on 2019-05-22 09:39 (UTC)

@jadenPete Thanks for pointing that out.