Package Details: alsamixergui 0.9.0rc2-7

Git Clone URL: https://aur.archlinux.org/alsamixergui.git (read-only, click to copy)
Package Base: alsamixergui
Description: FLTK based mixer program for use with ALSA.
Upstream URL: https://github.com/LaraCraft304/alsamixergui
Keywords: audio mixer x11
Licenses: GPL
Submitter: bidulock
Maintainer: bidulock
Last Packager: bidulock
Votes: 13
Popularity: 0.000657
First Submitted: 2015-06-18 06:58 (UTC)
Last Updated: 2023-08-10 01:16 (UTC)

Latest Comments

dreieck commented on 2023-08-16 16:41 (UTC)

$url gives me error 404 not found.

nihil commented on 2023-06-23 23:12 (UTC)

# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Lara Maia <lara@craft.net.br>
pkgname=alsamixergui
pkgver=0.9.0rc2
diffver=10.1
pkgrel=6
pkgdesc="FLTK based mixer program for use with ALSA."
arch=('i686' 'x86_64')
url='https://github.com/LaraCraft304/alsamixergui'
license=('GPL')
depends=('fltk' 'alsa-lib')
#source=('https://github.com/LaraCraft304/alsamixergui/archive/0.9.1.tar.gz'
source=("http://ftp.de.debian.org/debian/pool/main/a/${pkgname}/${pkgname}_${pkgver}-1.orig.tar.gz"
        "http://ftp.de.debian.org/debian/pool/main/a/${pkgname}/${pkgname}_${pkgver}-1-${diffver}.diff.gz"
        #strsignal.patch
        "${pkgname}.desktop"
        "${pkgname}.xpm")
md5sums=('af942a41b81ba27e2e4d0a1e1ab0decb'
         'fdad41229222d8641136838224fdff41'
         #'ff44a5223efec322a11c9e9ac29902cb'
         '723f64293c24a7283d3d4b3dca442958'
         'ac46a80f8f5ea954e4dd70ef806d1374')

prepare() {
  [ -f ${pkgname}_${pkgver}-1-${diffver}.diff ] || \
    gzip -dc ${pkgname}_${pkgver}-1-${diffver}.diff.gz > ${pkgname}_${pkgver}-1-${diffver}.diff
  cd ${pkgname}-$pkgver-1.orig
  patch -Np1 -b -z .orig -i ../${pkgname}_${pkgver}-1-${diffver}.diff
  #patch -Np2 -b -z .was -i ../strsignal.patch
  chmod +x configure
  autoreconf -fi # aclocal-1.7 missing should only need it if you modified acinclude.m4 or configure.in
}

build() {
  cd ${pkgname}-$pkgver-1.orig
  ./configure
  make
}

package() {
  cd ${pkgname}-$pkgver-1.orig
  make install DESTDIR="$pkgdir"
  install -Dm644 ../${pkgname}.xpm "$pkgdir"/usr/share/pixmaps/${pkgname}.xpm
  install -Dm644 ../${pkgname}.desktop "$pkgdir"/usr/share/applications/${pkgname}.desktop
}

nihil commented on 2023-06-23 23:10 (UTC)

I got build errors because the version on the Debian upstream has changed. I fixed up the PKGBUILD as best I could but it needed several changes before it worked. I removed the patch because that failed the build and I thought the new version may have dealt with that anyway. I had to add an autoreconf -fi for some reason because it said aclocal-1.7 missing. It is now building installing and running with my new PKGBUILD. I will post this in the next comment.

However, I can't use this after all because it defaults to a card that I'm not using and doesn't offer a way to change to the default card. The ncurses alsamixer is better.

leledumbo commented on 2021-05-08 23:57 (UTC) (edited on 2021-05-08 23:57 (UTC) by leledumbo)

Got this patch below from gentoo, it builds the package, but it's still the maintainer's responsibility to update this package's PKGBUILD.

diff --git a/src/alsamixer.cxx b/src/alsamixer.cxx
index c7fda51..0d17e21 100644
--- a/src/alsamixer.cxx
+++ b/src/alsamixer.cxx
@@ -2081,7 +2081,7 @@ static void
 mixer_signal_handler (int signal)
 {
   if (signal != SIGSEGV)
-    mixer_abort (ERR_SIGNAL, sys_siglist[signal], 0);
+    mixer_abort (ERR_SIGNAL, strsignal(signal), 0);
   else
     {
       fprintf (stderr, "\nSegmentation fault.\n");

Unsubtle7826 commented on 2021-03-15 14:35 (UTC) (edited on 2021-03-15 14:35 (UTC) by Unsubtle7826)

Hi, during build I get the following error:

alsamixer.cxx: In function ‘void mixer_signal_handler(int)’:
alsamixer.cxx:2089:30: error: ‘sys_siglist’ was not declared in this scope
 2089 |     mixer_abort (ERR_SIGNAL, sys_siglist[signal], 0);
      |                              ^~~~~~~~~~~
make[2]: *** [Makefile:231: alsamixer.o] Error 1
make[2]: Leaving directory '/home/minef/aur/alsamixergui/src/alsamixergui-0.9.0rc2-1.orig/src'
make[1]: *** [Makefile:163: all] Error 2
make[1]: Leaving directory '/home/minef/aur/alsamixergui/src/alsamixergui-0.9.0rc2-1.orig/src'
make: *** [Makefile:160: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

bidulock commented on 2019-07-24 23:47 (UTC)

Updated to unzip the patch if not already unzipped (which was done automatically before).

dreieck commented on 2019-07-24 18:06 (UTC)

A file is missing:

==> Starting prepare()...
patch: **** Can't open patch file ../alsamixergui_0.9.0rc2-1-9.1.diff : No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...
==> ERROR: Makepkg was unable to build alsamixergui.

bidulock commented on 2015-12-19 05:14 (UTC)

Works for me.

mozo commented on 2015-12-18 20:49 (UTC)

Failed to install with error: make[1]: *** No rule to make target '.deps/alsamixer.Po'. Stop. make[1]: Leaving directory '/tmp/makepkg/alsamixergui/src/alsamixergui-0.9.0rc2-1.orig/src' Makefile:1651: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1