mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 13:30:19 +00:00
Some changes to do a "proper" install.
Some changes to do a "proper" install. Makefile doesnt work, however.
This commit is contained in:
parent
7befe28245
commit
38f428304e
@ -1,13 +1,7 @@
|
||||
|
||||
lib_LTLIBRARIES = \
|
||||
libgdk-pixbuf.la \
|
||||
libpixbuf-png.la \
|
||||
libpixbuf-jpeg.la \
|
||||
libpixbuf-gif.la \
|
||||
libpixbuf-xpm.la \
|
||||
libpixbuf-tiff.la
|
||||
|
||||
common_ldflags = -aviod-version
|
||||
noinst_PROGRAMS = testpixbuf
|
||||
loader_dir=$(libdir)/gdk-pixbuf/loaders
|
||||
DEFS = -DPIXBUF_LIBDIR="$(loader_dir)"
|
||||
DEPS = libgdk-pixbuf.la
|
||||
LDADDS = libgdk-pixbuf.la @GNOME_LIBDIR@ @GNOMEUI_LIBS@
|
||||
|
||||
@ -30,35 +24,45 @@ libgdk_pixbufinclude_HEADERS = \
|
||||
#
|
||||
# The PNG plugin.
|
||||
#
|
||||
libpixbuf_png_la_SOURCES = \
|
||||
io-png.c
|
||||
libpixbuf_png_la_LDFLAGS = -avoid-version
|
||||
libpixbuf_png_la_LIBADD = -lpng -lz
|
||||
libpixbuf_png_la_SOURCES = io-png.c
|
||||
libpixbuf_png_la_LDFLAGS = $(common_ldflags)
|
||||
libpixbuf_png_la_LIBADD = $(PNGLIBS)
|
||||
|
||||
#
|
||||
# The JPEG loader
|
||||
#
|
||||
libpixbuf_jpeg_la_SOURCES = \
|
||||
io-jpeg.c
|
||||
libpixbuf_jpeg_la_LDFLAGS = -avoid-version
|
||||
libpixbuf_jpeg_la_LIBADD = -ljpeg
|
||||
libpixbuf_jpeg_la_SOURCES = io-jpeg.c
|
||||
libpixbuf_jpeg_la_LDFLAGS = $(common_ldflags)
|
||||
libpixbuf_jpeg_la_LIBADD = $(JPEGLIBS)
|
||||
|
||||
#
|
||||
# The XPM loader
|
||||
#
|
||||
libpixbuf_xpm_la_SOURCES = \
|
||||
io-xpm.c
|
||||
libpixbuf_xpm_la_SOURCES = io-xpm.c
|
||||
libpixbuf_xpm_la_LDFLAGS = $(common_ldflags)
|
||||
libpixbuf_xpm_la_LIBADD =
|
||||
|
||||
|
||||
#
|
||||
# The GIF loader
|
||||
#
|
||||
libpixbuf_gif_la_SOURCES = \
|
||||
io-gif.c
|
||||
libpixbuf_gif_la_LDFLAGS = -avoid-version
|
||||
libpixbuf_gif_la_LIBADD= -lungif
|
||||
libpixbuf_gif_la_SOURCES = io-gif.c
|
||||
libpixbuf_gif_la_LDFLAGS = $(common_ldflags)
|
||||
libpixbuf_gif_la_LIBADD= $(GIFLIB)
|
||||
|
||||
#
|
||||
# The TIFF loader
|
||||
#
|
||||
libpixbuf_tiff_la_SOURCES= \
|
||||
io-tiff.c
|
||||
libpixbuf_tiff_la_SOURCES = io-tiff.c
|
||||
libpixbuf_tiff_la_LDFLAGS = $(common_ldflags)
|
||||
libpixbuf_tiff_la_LIBADD = $(TIFFLIB)
|
||||
|
||||
lib_LTLIBRARIES = \
|
||||
libgdk-pixbuf.la
|
||||
|
||||
libpixbufloader_DATA = \
|
||||
libpixbuf-tiff.la \
|
||||
libpixbuf-gif.la \
|
||||
libpixbuf-xpm.la \
|
||||
libpixbuf-jpeg.la \
|
||||
libpixbuf-png.la
|
||||
|
@ -10,8 +10,6 @@
|
||||
#include <gmodule.h>
|
||||
#include "gdk-pixbuf.h"
|
||||
|
||||
#define PIXBUF_LIBDIR "."
|
||||
|
||||
static gboolean
|
||||
pixbuf_check_png (unsigned char *buffer, int size)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user