Package Details: alsa-scarlett-gui-git 0.2.7.g65c0-1

Git Clone URL: (read-only, click to copy)
Package Base: alsa-scarlett-gui-git
Description: Gtk4 GUI for the Focusrite Scarlett Gen 2/3 ALSA Mixer Driver.
Upstream URL:
Licenses: GPL3
Provides: alsa-scarlett-gui
Submitter: akura
Maintainer: akura
Last Packager: akura
Votes: 0
Popularity: 0.000000
First Submitted: 2022-03-30 18:00 (UTC)
Last Updated: 2023-04-27 18:06 (UTC)

Latest Comments

akura commented on 2023-04-27 18:07 (UTC)

@fenugrec I was a bit in doubt both on how to patch things in a robust way and on how to generate the shasum for the extra file.

Replaced the patch file with your suggested sed command, thanks for the suggestions.

fenugrec commented on 2023-04-27 17:51 (UTC)

@akura nice, that was fast.

I still think sed -i 's/-Werror//' src/Makefile would be more robust (if i.e. upstream doesn't immediately addresses the problem but makes unrelated changes that would break our .patch). No big deal though, this is probably fine and definitely an improvement.

I would suggest makepkg --geninteg : I think it's good practice to have shasum entries even for local patches that don't come from "outside".

akura commented on 2023-04-27 17:01 (UTC)

I've included a patch removing -Werror, seems to build here. Let me know if it works for you.

fenugrec commented on 2023-04-27 13:55 (UTC)


currently, CFLAGS contain -Werror in src/Makefile . I filed a ticket upstream about this

In the meantime, you can simply modify src/Makefile and compile normally.

@akura, maybe a simple sed line in prepare() could be a temporary workaround ?

Ralf_Mardorf commented on 2023-04-16 15:39 (UTC)

Hi, it fails to build.

$ makechrootpkg -c -r $CHROOT
==> Updated version: alsa-scarlett-gui-git 0.2.7.g65c0-1
==> Starting build()...
error.c: In function ‘show_error’:
error.c:12:3: error: ‘gtk_message_dialog_new’ is deprecated [-Werror=deprecated-declarations]
   12 |   GtkWidget *dialog = gtk_message_dialog_new(
      |   ^~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:187,
                 from error.h:6,
                 from error.c:4:
/usr/include/gtk-4.0/gtk/deprecated/gtkmessagedialog.h:82:12: note: declared here
   82 | GtkWidget* gtk_message_dialog_new      (GtkWindow      *parent,
      |            ^~~~~~~~~~~~~~~~~~~~~~
error.c:20:3: error: ‘gtk_widget_show’ is deprecated: Use 'gtk_widget_set_visible or gtk_window_present' instead [-Werror=deprecated-declarations]
   20 |   gtk_widget_show(dialog);
      |   ^~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtkapplication.h:27,
                 from /usr/include/gtk-4.0/gtk/gtkwindow.h:33,
                 from /usr/include/gtk-4.0/gtk/gtkaboutdialog.h:30,
                 from /usr/include/gtk-4.0/gtk/gtk.h:34:
/usr/include/gtk-4.0/gtk/gtkwidget.h:273:12: note: declared here
  273 | void       gtk_widget_show                (GtkWidget           *widget);
      |            ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:35: error.o] Error 1
make: *** Waiting for unfinished jobs....
rm alsa-scarlett-gui-resources.c
make: Leaving directory '/build/alsa-scarlett-gui-git/src/alsa-scarlett-gui/src'
==> ERROR: A failure occurred in build().
==> ERROR: Build failed, check /mnt/build/alsa-scarlett-gui-git/alsa-scarlett-gui-git/chroot/rocketmouse/build

Regards, Ralf

akura commented on 2022-04-02 16:56 (UTC)

I've added PREFIX to the build command, that should fix the .desktop file.

usrmusicman commented on 2022-04-01 22:11 (UTC)

Please add this line to the end of the package() function

sed -i -e "s|/usr/local/bin/|/usr/bin/|" "$pkgdir/usr/share/applications/vu.b4.alsa-scarlett-gui.desktop"

Without this the mixer will not launch from the .desktop file