[Asterisk-Dev] Gastman patch to make it compile on SuSE 8.2

Peter Nixon listuser at peternixon.net
Wed Oct 1 07:24:50 MST 2003


Hi Guys

Here is a patch to make gastman compile on SuSE 8.2. It really needs to be 
modified to make it a bit more generic but it may help someone.

The change to gdk-pixbuf-config is probably required by alot of other systems 
also. 

-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc


> cvs diff Makefile
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/gastman/Makefile,v
retrieving revision 1.2
diff -r1.2 Makefile
3,6d2
< # For GTK 2.0
< #
< GTK2FLAGS=$(shell pkg-config gtk+-2.0 --cflags 2>/dev/null)
< GTK2LIBS=$(shell pkg-config gtk+-2.0 --libs 2>/dev/null)
10,11c6,7
< GTKFLAGS=$(shell if [ -z "$(GTK2FLAGS)" ]; then echo `gtk12-config 
--cflags`; else echo $(GTK2FLAGS); fi)
< GTKLIBS=$(shell if [ -z "$(GTK2LIBS)" ]; then echo `gtk12-config --libs`; 
else echo $(GTK2LIBS); fi)
---
> GTKFLAGS=$(shell echo `gdk-pixbuf-config --cflags`)
> GTKLIBS=$(shell echo `gdk-pixbuf-config --libs`)
15c11
< GLIBFLAGS=$(shell echo `glib12-config --cflags`)
---
> GLIBFLAGS=$(shell echo `glib-config --cflags`)
19c15
< LIBS+=$(shell if [ -f /usr/lib/libgdk_pixbuf.so ]; then echo -lgdk_pixbuf ; 
fi)
---
> LIBS+=$(shell if [ -f /opt/gnome/lib/libgdk_pixbuf.so.2 ]; then echo 
-lgdk_pixbuf ; fi)




More information about the asterisk-dev mailing list