Move cairo-util to shared/

dev
Kristian Høgsberg 13 years ago
parent 5adb480e60
commit 5a315bc72d
  1. 4
      clients/Makefile.am
  2. 2
      clients/desktop-shell.c
  3. 2
      clients/dnd.c
  4. 2
      clients/image.c
  5. 2
      clients/tablet-shell.c
  6. 2
      clients/window.c
  7. 10
      configure.ac
  8. 8
      shared/Makefile.am
  9. 0
      shared/cairo-util.c
  10. 0
      shared/cairo-util.h

@ -57,9 +57,7 @@ noinst_LIBRARIES = libtoytoolkit.a
libtoytoolkit_a_SOURCES = \
window.c \
window.h \
cairo-util.c \
cairo-util.h
window.h
toolkit_libs = \
libtoytoolkit.a \

@ -33,8 +33,8 @@
#include <linux/input.h>
#include <wayland-client.h>
#include "cairo-util.h"
#include "window.h"
#include "../shared/cairo-util.h"
#include "../shared/config-parser.h"
#include "desktop-shell-client-protocol.h"

@ -34,7 +34,7 @@
#include <wayland-client.h>
#include "window.h"
#include "cairo-util.h"
#include "../shared/cairo-util.h"
struct dnd {
struct window *window;

@ -35,7 +35,7 @@
#include <wayland-client.h>
#include "window.h"
#include "cairo-util.h"
#include "../shared/cairo-util.h"
struct image {
struct window *window;

@ -27,7 +27,7 @@
#include <sys/wait.h>
#include "window.h"
#include "cairo-util.h"
#include "../shared/cairo-util.h"
#include "../shared/config-parser.h"
#include "tablet-shell-client-protocol.h"

@ -59,7 +59,7 @@
#include <linux/input.h>
#include <wayland-client.h>
#include "cairo-util.h"
#include "../shared/cairo-util.h"
#include "window.h"

@ -109,10 +109,12 @@ PKG_CHECK_MODULES(PNG, [libpng])
PKG_CHECK_MODULES(WEBP, [libwebp], [have_webp=yes], [have_webp=no])
AS_IF([test "x$have_webp" = "xyes"],
[AC_DEFINE([HAVE_WEBP], [1], [Have webp])])
IMAGE_LIBS="$PIXMAN_LIBS $PNG_LIBS $WEBP_LIBS"
IMAGE_CFLAGS="$PIXMAN_CFLAGS $PNG_CFLAGS $WEBP_CFLAGS"
AC_SUBST(IMAGE_LIBS)
AC_SUBST(IMAGE_CFLAGS)
PKG_CHECK_MODULES(CAIRO, [cairo])
SHARED_LIBS="$CAIRO_LIBS $PIXMAN_LIBS $PNG_LIBS $WEBP_LIBS"
SHARED_CFLAGS="$CAIRO_CFLAGS $PIXMAN_CFLAGS $PNG_CFLAGS $WEBP_CFLAGS"
AC_SUBST(SHARED_LIBS)
AC_SUBST(SHARED_CFLAGS)
AC_CHECK_LIB([jpeg], [jpeg_CreateDecompress], have_jpeglib=yes)
if test x$have_jpeglib = xyes; then

@ -1,5 +1,5 @@
libconfig_parser_la_LIBADD = $(IMAGE_LIBS)
AM_CPPFLAGS = $(IMAGE_CFLAGS)
libconfig_parser_la_LIBADD = $(SHARED_LIBS)
AM_CPPFLAGS = $(SHARED_CFLAGS)
AM_CFLAGS = $(GCC_CFLAGS)
noinst_LTLIBRARIES = libconfig-parser.la
@ -7,4 +7,6 @@ libconfig_parser_la_SOURCES = \
config-parser.c \
option-parser.c \
image-loader.c \
config-parser.h
config-parser.h \
cairo-util.c \
cairo-util.h

Loading…
Cancel
Save