From 854cecfc9832e2933e27771ba2ee4a6013b62d74 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 25 Dec 2013 18:48:15 +0100 Subject: [PATCH] Hint the possibility to build with Gtk+ 3.0 --- src/project.conf | 2 ++ tools/gallery.c | 2 +- tools/project.conf | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/project.conf b/src/project.conf index c152779..f91bef7 100644 --- a/src/project.conf +++ b/src/project.conf @@ -1,6 +1,8 @@ targets=camera +#cflags_force=-W `pkg-config --cflags libDesktop gtk+-x11-3.0` cflags_force=-W `pkg-config --cflags libDesktop` cflags=-Wall -g -O2 +#ldflags_force=`pkg-config --libs libDesktop gtk+-x11-3.0` -lintl ldflags_force=`pkg-config --libs libDesktop` -lintl dist=Makefile,camera.h,overlay.h,window.h diff --git a/tools/gallery.c b/tools/gallery.c index dc2c83e..5a6b5f6 100644 --- a/tools/gallery.c +++ b/tools/gallery.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include /* for GTK_CHECK_VERSION */ #include "../config.h" #define _(string) gettext(string) diff --git a/tools/project.conf b/tools/project.conf index 91efeb9..6004eee 100644 --- a/tools/project.conf +++ b/tools/project.conf @@ -1,6 +1,8 @@ targets=gallery +#cflags_force=-W `pkg-config --cflags gtk+-3.0` cflags_force=-W `pkg-config --cflags gtk+-2.0` cflags=-Wall -g -O2 +#ldflags=`pkg-config --libs glib-3.0` ldflags=`pkg-config --libs glib-2.0` dist=Makefile