Package Details: jack-keyboard 2.7.1-1

Git Clone URL: (read-only)
Package Base: jack-keyboard
Description: A virtual MIDI keyboard for JACK.
Upstream URL:
Licenses: BSD
Submitter: leethargo
Maintainer: daniel.appelt
Last Packager: leethargo
Votes: 50
Popularity: 0.160007
First Submitted: 2008-12-30 12:59
Last Updated: 2015-06-27 14:35

Latest Comments

leethargo commented on 2012-08-01 18:46

Added the fix by jwm-art. Let me know if there are further errors (works for me).

senjik commented on 2012-05-05 00:36

Doesn't build

jwm-art commented on 2012-02-19 01:48

add the following to the build() section of the PKGBUILD

# fix undefined reference to symbol 'g_thread_init'
sed -i "s|g_thread_init(NULL);|/*g_thread_init(NULL);*/|" src/jack-keyboard.c

and if you don't want LASH support:

# disable LASH by default
sed -i "s/LashEnable ON/LashEnable OFF/" CMakeLists.txt

jwm-art commented on 2012-02-19 01:32

As no other g_thread functions are used the g_thread_init function is most probably redundant.

Anonymous comment on 2012-01-05 06:00

I don't know if this breaks anything else, but seems to build and run just fine when I delete the NULL g_thread_init function at line 1722 of jack-keyboard.c

Anyone know if this is bad or dangerous? I am a total n00b and don't have any idea what g_threads_init() does.

hollunder commented on 2011-12-29 15:12

Doesn't build. Please fix or notify upstream.

$ makepkg -scfi
==> Making package: jack-keyboard 2.6-1 (Thu Dec 29 16:11:03 CET 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found jack-keyboard-2.6.tar.gz
==> Validating source files with md5sums...
jack-keyboard-2.6.tar.gz ... Passed
==> Extracting Sources...
-> Extracting jack-keyboard-2.6.tar.gz with bsdtar
==> Starting build()...
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Freetype: /usr/lib/
-- Found GTK2_GTK: /usr/lib/
-- Found JACK: /usr/lib/
-- Found LASH: /usr/lib/
-- Looking for XOpenDisplay in /usr/lib/;/usr/lib/
-- Looking for XOpenDisplay in /usr/lib/;/usr/lib/ - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/
-- Configuring done
-- Generating done
-- Build files have been written to: /home/murks/build/other/jack-keyboard/src/jack-keyboard-2.6/build
Scanning dependencies of target jack-keyboard
[ 50%] Building C object CMakeFiles/jack-keyboard.dir/src/jack-keyboard.c.o
[100%] Building C object CMakeFiles/jack-keyboard.dir/src/pianokeyboard.c.o
Linking C executable jack-keyboard
/usr/bin/ld: CMakeFiles/jack-keyboard.dir/src/jack-keyboard.c.o: undefined reference to symbol 'g_thread_init'
/usr/bin/ld: note: 'g_thread_init' is defined in DSO /usr/lib/ so try adding it to the linker command line
/usr/lib/ could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [jack-keyboard] Error 1
make[1]: *** [CMakeFiles/jack-keyboard.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().

leethargo commented on 2011-08-02 09:36

thanks a lot, speps, is updated

speps commented on 2011-08-01 17:47

@leethargo Version 2.6 is out
PKGBUILD > ( added little workaround to prevent failure with ladish )
jack-keyboard.install >