Compile TinyPTC with Xshm.
authorSteinar H. Gunderson <sesse@samfundet.no>
Mon, 21 Feb 2005 17:49:48 +0000 (17:49 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Mon, 21 Feb 2005 17:49:48 +0000 (17:49 +0000)
bigscreen/Makefile
bigscreen/tinyptc/tinyptc.h

index 07177b6..ddb0f55 100644 (file)
@@ -3,7 +3,7 @@ CXX=g++
 CPPFLAGS=-I/usr/include/postgresql $(shell freetype-config --cflags) -Itinyptc/
 CXXFLAGS=-g -Wall
 LDFLAGS=-L/usr/X11R6/lib
-LIBS=$(shell freetype-config --libs) $(shell libpq3-config) -lpqxx tinyptc/libtinyptc.a -lX11
+LIBS=$(shell freetype-config --libs) $(shell libpq3-config) -lpqxx tinyptc/libtinyptc.a -lX11 -lXext
 CCBS_BIGSCREEN_OBJS=ccbs_bigscreen.o flagtrigger.o widestring.o fetch_current_tournament.o fetch_list_of_active_groups.o fetch_max_score_for_songs.o fetch_max_score_for_players.o fetch_group.o fetch_needs_update.o fetch_highscore.o fonts.o groupscreen.o splitscreen.o rotatescreen.o screen.o
 
 all: ccbs-bigscreen
index 5fee0de..a6cf0aa 100644 (file)
@@ -62,12 +62,12 @@ typedef unsigned char char8;
 
 /* If you uncomment this directive, you'll choose raw xlib video rendering */
 
-#define __PTC_XLIB__
+/* #define __PTC_XLIB__ */
 
 /* If you uncomment this directive, you'll choose X Shared memory extension
  * video rendering */
 
-/* #define __PTC_XSHM__ */
+#define __PTC_XSHM__
 
 /* If you uncomment this directive, you'll choose X Double buffer extension
  * video rendering */