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

Git Clone URL: https://aur.archlinux.org/alsa-scarlett-gui-git.git (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: https://github.com/geoffreybennett/alsa-scarlett-gui
Licenses: GPL3
Provides: alsa-scarlett-gui
Submitter: akura
Maintainer: None
Last Packager: akura
Votes: 1
Popularity: 0.012309
First Submitted: 2022-03-30 18:00 (UTC)
Last Updated: 2023-04-27 18:06 (UTC)

Dependencies (7)

Required by (0)

Sources (1)

Pinned Comments

akura commented on 2024-04-03 19:28 (UTC)

since alsa-scarlett-gui is now provided in the extra packages of pacman, I'll stop maintaining the git version of this package. I advise people to switch to the official repository version

Latest Comments

akura commented on 2024-04-03 19:28 (UTC)

since alsa-scarlett-gui is now provided in the extra packages of pacman, I'll stop maintaining the git version of this package. I advise people to switch to the official repository version

fenugrec commented on 2024-01-24 20:27 (UTC)

@luckdragon no, this is a -git package so as long as it still builds, it doesn't become "out of date". When you makepkg it should generate the proper version string.

luckdragon commented on 2024-01-24 19:10 (UTC)

I think this is out of date? https://github.com/geoffreybennett/alsa-scarlett-gui/releases/tag/0.3.3

latest tag is 0.3.3 also there's a debian build now

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)

@Ralf_Mardorf

currently, CFLAGS contain -Werror in src/Makefile . I filed a ticket upstream about this https://github.com/geoffreybennett/alsa-scarlett-gui/issues/50

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
[snip]
==> Updated version: alsa-scarlett-gui-git 0.2.7.g65c0-1
==> Starting build()...
[snip]
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().
    Aborting...
==> 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.

<deleted-account> 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