Removed Clutter and GdkPixbuf as a dependency
They are not used at all
This commit is contained in:
parent
e0afc8ad72
commit
0f2f79e0c9
@ -36,8 +36,6 @@ AC_CHECK_LIB([m], [sqrt])
|
||||
AC_CHECK_LIB([m], [floor])
|
||||
PKG_PROG_PKG_CONFIG
|
||||
PKG_CHECK_MODULES([GTK], [gtk+-3.0])
|
||||
PKG_CHECK_MODULES([CLUTTERX11], [clutter-x11-1.0])
|
||||
PKG_CHECK_MODULES([PIXBUF], [gdk-pixbuf-2.0])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
LIBSWE_LIBS='$(top_builddir)/swe/src/libswe-1.75.la'
|
||||
|
@ -1,5 +1,5 @@
|
||||
bin_PROGRAMS = gradix
|
||||
|
||||
gradix_SOURCES = gradix.c calculate.c
|
||||
gradix_LDADD = $(LIBSWE_LIBS) $(GTK_LIBS) $(CLUTTERX11_LIBS) $(PIXBUF_LIBS)
|
||||
gradix_CFLAGS = $(CFLAGS) $(GTK_CFLAGS) $(CLUTTERX11_CFLAGS) $(PIXBUF_CFLAGS) -Wall
|
||||
gradix_LDADD = $(LIBSWE_LIBS) $(GTK_LIBS)
|
||||
gradix_CFLAGS = $(CFLAGS) $(GTK_CFLAGS) -Wall
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <cairo.h>
|
||||
#include <clutter/clutter.h>
|
||||
#include <glib.h>
|
||||
|
||||
#include "calculate.h"
|
||||
|
||||
@ -108,9 +108,6 @@ init_graphics(void)
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
#if !CLUTTER_CHECK_VERSION(1, 3, 6)
|
||||
#error "You need Clutter >= 1.3.6 to compile this software"
|
||||
#endif
|
||||
int year = 1981,
|
||||
month = 3,
|
||||
day = 11,
|
||||
|
Loading…
Reference in New Issue
Block a user