[SCM] gmtk/master: Add 0001-fix-buildsystem.patch from upstream

sramacher-guest at users.alioth.debian.org sramacher-guest at users.alioth.debian.org
Mon Jan 2 14:43:25 UTC 2012


The following commit has been merged in the master branch:
commit 5deb41b1e6ca880c46b8a320820da0383400844a
Author: Sebastian Ramacher <s.ramacher at gmx.at>
Date:   Mon Jan 2 15:12:24 2012 +0100

    Add 0001-fix-buildsystem.patch from upstream

diff --git a/debian/patches/0001-fix-buildsystem.patch b/debian/patches/0001-fix-buildsystem.patch
new file mode 100644
index 0000000..b5e07d6
--- /dev/null
+++ b/debian/patches/0001-fix-buildsystem.patch
@@ -0,0 +1,45 @@
+Index: src/Makefile.am
+===================================================================
+--- src/Makefile.am	(revision 76)
++++ src/Makefile.am	(revision 79)
+@@ -28,13 +28,16 @@
+ 
+ libgmtk_la_CFLAGS = -fPIC \
+ 	$(GTK_CFLAGS) \
+-	$(ALSA_CFLAGS)
++	$(ALSA_CFLAGS) \
++	$(PULSE_CFLAGS)	
+ 
+-libgmtk_la_LDFLAGS = 
++libgmtk_la_LDFLAGS = -L.libs
+ 
+ libgmtk_la_LIBADD = \
++    -lgmlib \
+     $(GTK_LIBS) \
+-    $(ALSA_LIBS)
++    $(ALSA_LIBS) \
++    $(PULSE_LIBS)
+     
+ 
+ libgmlib_la_SOURCES = \
+@@ -65,6 +68,7 @@
+ libgmlib_la_LDFLAGS = 
+ 
+ libgmlib_la_LIBADD = \
++    $(LIBS) \
+ 	$(GLIB_LIBS) \
+ 	$(GCONF_LIBS) \
+ 	$(GIO_LIBS) \
+Index: configure.ac
+===================================================================
+--- configure.ac	(revision 76)
++++ configure.ac	(revision 79)
+@@ -55,7 +55,7 @@
+ PKG_CHECK_MODULES([X11], [x11],[AC_DEFINE([X11_ENABLED],[1],[Define to 1 if X11 support is needed])],[AC_MSG_NOTICE([Compiling without X11 support])])
+ AC_SUBST(X11_LIBS)
+ 
+-
++AC_CHECK_LIB([m],[floor])
+ AC_ARG_ENABLE(gtk3,
+     AC_HELP_STRING([--enable-gtk3],[compile using GTK3]),
+     [case "${enableval}" in
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..405151d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-fix-buildsystem.patch

-- 
gmtk packaging



More information about the pkg-multimedia-commits mailing list