For those running Arch Linux, GNOME 3.4 has been released and it's installation modifies some of the expected pkg-config files needed by gMTP.
To build gMTP v1.3.1 in a GNOME 3.4 environment a small modification to the Makefile is needed.
In both sets of GTK_CFLAGS and GTK_LDFLAGS settings, 'gthread-2.0' needs to be added to the list of pkg-config files required. (prior to GTK+3.4, gthread-2.0 was automatically included with the other gtk/glib libraries).
Therefore after the addition, the GTK 3.0 lines should read:
Hi Everyone,
For those running Arch Linux, GNOME 3.4 has been released and it's installation modifies some of the expected pkg-config files needed by gMTP.
To build gMTP v1.3.1 in a GNOME 3.4 environment a small modification to the Makefile is needed.
In both sets of GTK_CFLAGS and GTK_LDFLAGS settings, 'gthread-2.0' needs to be added to the list of pkg-config files required. (prior to GTK+3.4, gthread-2.0 was automatically included with the other gtk/glib libraries).
Therefore after the addition, the GTK 3.0 lines should read:
ifeq ($(MAKECMDGOALS),gtk3)
GTK_CFLAGS =
pkg-config --cflags gtk+-3.0 gio-2.0 libmtp id3tag flac vorbisfile gthread-2.0
GTK_LDFLAGS =
pkg-config --libs gtk+-3.0 gio-2.0 libmtp id3tag flac vorbisfile gthread-2.0
CFLAGS += -DGMTP_USE_GTK3
endif
Note the gthread-2.0 is now in the list.
--
Regards,
Darran