2000-01-05 21:33:58 +00:00
|
|
|
SUBDIRS = pixops
|
|
|
|
|
1999-07-12 20:27:50 +00:00
|
|
|
lib_LTLIBRARIES = \
|
2000-07-14 20:08:10 +00:00
|
|
|
libgdk_pixbuf-1.3.la
|
1999-07-12 20:27:50 +00:00
|
|
|
|
2000-07-14 20:08:10 +00:00
|
|
|
loaderdir = $(libdir)/gtk-2.0/$(GTK_VERSION)/loaders
|
1999-07-12 20:27:50 +00:00
|
|
|
|
2000-02-22 00:29:00 +00:00
|
|
|
#
|
|
|
|
# The PNG plugin.
|
|
|
|
#
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_png_la_SOURCES = io-png.c
|
2000-11-15 01:14:37 +00:00
|
|
|
libpixbufloader_png_la_LDFLAGS = -avoid-version -module
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_png_la_LIBADD = $(LIBPNG)
|
2001-01-09 09:53:28 +00:00
|
|
|
libpixbufloader_static_png_la_SOURCES = io-png.c
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The JPEG loader
|
|
|
|
#
|
2001-01-09 09:53:28 +00:00
|
|
|
libpixbufloader_static_jpeg_la_SOURCES = io-jpeg.c
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_jpeg_la_SOURCES = io-jpeg.c
|
2000-11-15 01:14:37 +00:00
|
|
|
libpixbufloader_jpeg_la_LDFLAGS = -avoid-version -module
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_jpeg_la_LIBADD = $(LIBJPEG)
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The XPM loader
|
|
|
|
#
|
2001-01-09 09:53:28 +00:00
|
|
|
libpixbufloader_static_xpm_la_SOURCES = io-xpm.c
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_xpm_la_SOURCES = io-xpm.c
|
2000-11-15 01:14:37 +00:00
|
|
|
libpixbufloader_xpm_la_LDFLAGS = -avoid-version -module
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_xpm_la_LIBADD =
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The GIF loader
|
|
|
|
#
|
2001-01-09 09:53:28 +00:00
|
|
|
libpixbufloader_static_gif_la_SOURCES = io-gif.c
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_gif_la_SOURCES = io-gif.c
|
2000-11-15 01:14:37 +00:00
|
|
|
libpixbufloader_gif_la_LDFLAGS = -avoid-version -module
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_gif_la_LIBADD =
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The ICO loader
|
|
|
|
#
|
2001-01-09 09:53:28 +00:00
|
|
|
libpixbufloader_static_ico_la_SOURCES = io-ico.c
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_ico_la_SOURCES = io-ico.c
|
2000-11-15 01:14:37 +00:00
|
|
|
libpixbufloader_ico_la_LDFLAGS = -avoid-version -module
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_ico_la_LIBADD =
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The RAS loader
|
|
|
|
#
|
2001-01-09 09:53:28 +00:00
|
|
|
libpixbufloader_static_ras_la_SOURCES = io-ras.c
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_ras_la_SOURCES = io-ras.c
|
2000-11-15 01:14:37 +00:00
|
|
|
libpixbufloader_ras_la_LDFLAGS = -avoid-version -module
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_ras_la_LIBADD =
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The TIFF loader
|
|
|
|
#
|
2001-01-09 09:53:28 +00:00
|
|
|
libpixbufloader_static_tiff_la_SOURCES = io-tiff.c
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_tiff_la_SOURCES = io-tiff.c
|
2000-11-15 01:14:37 +00:00
|
|
|
libpixbufloader_tiff_la_LDFLAGS = -avoid-version -module
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_tiff_la_LIBADD = $(LIBTIFF)
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The PNM loader
|
|
|
|
#
|
2001-01-09 09:53:28 +00:00
|
|
|
libpixbufloader_static_pnm_la_SOURCES = io-pnm.c
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_pnm_la_SOURCES = io-pnm.c
|
2000-11-15 01:14:37 +00:00
|
|
|
libpixbufloader_pnm_la_LDFLAGS = -avoid-version -module
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_pnm_la_LIBADD =
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The BMP loader
|
|
|
|
#
|
2001-01-09 09:53:28 +00:00
|
|
|
libpixbufloader_static_bmp_la_SOURCES = io-bmp.c
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_bmp_la_SOURCES = io-bmp.c
|
2000-11-15 01:14:37 +00:00
|
|
|
libpixbufloader_bmp_la_LDFLAGS = -avoid-version -module
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_bmp_la_LIBADD =
|
2000-02-22 00:29:00 +00:00
|
|
|
|
2000-07-28 00:09:36 +00:00
|
|
|
#
|
|
|
|
# The WBMP loader
|
|
|
|
#
|
2001-01-09 09:53:28 +00:00
|
|
|
libpixbufloader_static_wbmp_la_SOURCES = io-wbmp.c
|
2000-07-28 00:09:36 +00:00
|
|
|
libpixbufloader_wbmp_la_SOURCES = io-wbmp.c
|
2000-11-15 01:14:37 +00:00
|
|
|
libpixbufloader_wbmp_la_LDFLAGS = -avoid-version -module
|
2000-07-28 00:09:36 +00:00
|
|
|
|
2001-01-22 02:08:53 +00:00
|
|
|
#
|
|
|
|
# The XBM loader
|
|
|
|
#
|
|
|
|
libpixbufloader_xbm_la_SOURCES = io-xbm.c
|
|
|
|
libpixbufloader_xbm_la_LDFLAGS = -version-info 1:0:0 -module
|
|
|
|
libpixbufloader_xbm_la_LIBADD =
|
|
|
|
|
1999-07-26 06:39:39 +00:00
|
|
|
if HAVE_PNG
|
2000-04-13 01:18:41 +00:00
|
|
|
PNG_LIB = libpixbufloader-png.la
|
1999-07-26 06:39:39 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_JPEG
|
2000-04-13 01:18:41 +00:00
|
|
|
JPEG_LIB = libpixbufloader-jpeg.la
|
1999-07-26 06:39:39 +00:00
|
|
|
endif
|
|
|
|
|
2000-04-13 01:18:41 +00:00
|
|
|
GIF_LIB = libpixbufloader-gif.la
|
1999-07-26 06:39:39 +00:00
|
|
|
|
2000-04-13 01:18:41 +00:00
|
|
|
ICO_LIB = libpixbufloader-ico.la
|
1999-11-29 16:49:39 +00:00
|
|
|
|
2000-04-13 01:18:41 +00:00
|
|
|
RAS_LIB = libpixbufloader-ras.la
|
1999-11-05 20:37:08 +00:00
|
|
|
|
1999-07-26 06:39:39 +00:00
|
|
|
if HAVE_TIFF
|
2000-04-13 01:18:41 +00:00
|
|
|
TIFF_LIB = libpixbufloader-tiff.la
|
1999-07-26 06:39:39 +00:00
|
|
|
endif
|
|
|
|
|
2000-04-13 01:18:41 +00:00
|
|
|
XPM_LIB = libpixbufloader-xpm.la
|
1999-07-26 06:39:39 +00:00
|
|
|
|
2000-04-13 01:18:41 +00:00
|
|
|
PNM_LIB = libpixbufloader-pnm.la
|
1999-11-09 23:51:35 +00:00
|
|
|
|
2000-04-13 01:18:41 +00:00
|
|
|
BMP_LIB = libpixbufloader-bmp.la
|
1999-11-21 21:28:28 +00:00
|
|
|
|
2000-07-28 00:09:36 +00:00
|
|
|
WBMP_LIB = libpixbufloader-wbmp.la
|
|
|
|
|
2001-01-22 02:08:53 +00:00
|
|
|
XBM_LIB = libpixbufloader-xbm.la
|
|
|
|
|
2000-02-22 00:29:00 +00:00
|
|
|
if BUILD_DYNAMIC_MODULES
|
|
|
|
|
2000-07-14 20:08:10 +00:00
|
|
|
loader_LTLIBRARIES = \
|
1999-07-26 06:39:39 +00:00
|
|
|
$(PNG_LIB) \
|
|
|
|
$(JPEG_LIB) \
|
|
|
|
$(GIF_LIB) \
|
1999-11-29 16:49:39 +00:00
|
|
|
$(ICO_LIB) \
|
1999-11-05 20:37:08 +00:00
|
|
|
$(RAS_LIB) \
|
1999-07-26 06:39:39 +00:00
|
|
|
$(XPM_LIB) \
|
1999-11-09 23:51:35 +00:00
|
|
|
$(TIFF_LIB) \
|
1999-11-21 21:28:28 +00:00
|
|
|
$(PNM_LIB) \
|
2000-07-28 00:09:36 +00:00
|
|
|
$(BMP_LIB) \
|
2001-01-22 02:08:53 +00:00
|
|
|
$(WBMP_LIB) \
|
|
|
|
$(XBM_LIB)
|
1999-07-12 20:27:50 +00:00
|
|
|
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
extra_sources =
|
2001-01-09 09:53:28 +00:00
|
|
|
builtin_objs =
|
2000-02-22 00:29:00 +00:00
|
|
|
else
|
2000-07-14 20:08:10 +00:00
|
|
|
loader_LTLIBRARIES =
|
2000-02-22 00:29:00 +00:00
|
|
|
|
2001-01-09 09:53:28 +00:00
|
|
|
noinst_LTLIBRARIES = \
|
|
|
|
libpixbufloader-static-png.la \
|
|
|
|
libpixbufloader-static-jpeg.la \
|
|
|
|
libpixbufloader-static-gif.la \
|
|
|
|
libpixbufloader-static-ico.la \
|
|
|
|
libpixbufloader-static-ras.la \
|
|
|
|
libpixbufloader-static-tiff.la \
|
|
|
|
libpixbufloader-static-xpm.la \
|
|
|
|
libpixbufloader-static-pnm.la \
|
|
|
|
libpixbufloader-static-bmp.la \
|
|
|
|
libpixbufloader-static-wbmp.la
|
|
|
|
|
|
|
|
builtin_objs = @INCLUDED_LOADER_OBJ@
|
|
|
|
|
|
|
|
static_libs = $(STATIC_LIB_DEPS)
|
|
|
|
|
2000-02-22 00:29:00 +00:00
|
|
|
endif
|
|
|
|
|
2000-06-21 20:47:22 +00:00
|
|
|
noinst_PROGRAMS = test-gdk-pixbuf
|
2000-05-04 14:53:48 +00:00
|
|
|
TESTS = test-gdk-pixbuf
|
1999-10-26 20:43:39 +00:00
|
|
|
|
2000-07-14 20:08:10 +00:00
|
|
|
DEPS = libgdk_pixbuf-1.3.la
|
1999-12-16 16:35:23 +00:00
|
|
|
INCLUDES = -I$(top_srcdir) -I$(top_builddir) \
|
|
|
|
-I$(top_srcdir)/gdk-pixbuf \
|
|
|
|
-I$(top_builddir)/gdk-pixbuf \
|
2001-01-09 09:53:28 +00:00
|
|
|
@INCLUDED_LOADER_DEFINE@ \
|
2000-06-21 20:47:22 +00:00
|
|
|
$(GLIB_CFLAGS)
|
2000-07-14 20:08:10 +00:00
|
|
|
AM_CPPFLAGS = "-DPIXBUF_LIBDIR=\"$(loaderdir)\""
|
1999-09-23 04:58:55 +00:00
|
|
|
|
2000-07-14 20:08:10 +00:00
|
|
|
LDADDS = libgdk_pixbuf-1.3.la $(GLIB_LIBS) $(STATIC_LIB_DEPS)
|
2000-01-10 21:28:03 +00:00
|
|
|
|
2000-07-22 15:21:31 +00:00
|
|
|
test_gdk_pixbuf_LDADD = $(LDADDS)
|
1999-12-17 21:42:47 +00:00
|
|
|
|
Move more text widget headers into the private header list
2000-09-26 Havoc Pennington <hp@redhat.com>
* gtk/Makefile.am (gtk_private_h_sources): Move more text widget
headers into the private header list
* Makefile.am (pkgconfig_DATA): install pkg-config files
* configure.in: add pkg-config files
* gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files
* gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate
outstanding icon caches on theme change.
* gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three
important types:
(GtkIconSource): Specification for creating a pixbuf
appropriate for a direction/state/size triplet from
a source pixbuf or filename
(GtkIconSet): List of GtkIconSource objects that are used to
create the "same" icon (e.g. an OK button icon), and cache for
rendered icons
(GtkIconFactory): Hash from stock ID to GtkIconSet; used to look
up the icon set for a given stock ID. GTK maintains a stack of
GtkIconFactory to search, and applications or libraries can add
additional icon factories on top of the stack
* gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse
the set of GtkIconSource specified for a given stock ID into
a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the
RcStyle, under the specified stock ID.
* gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function
render_icon used to derive a GdkPixbuf from a GtkIconSource.
This allows people to theme how prelight, insensitive, etc. are
done.
(gtk_style_lookup_icon_set): Look up a stock ID in the list of
icon factories for a style, and return the resulting
icon set if any.
(gtk_style_render_icon): Render an icon using the render_icon
method in the GtkStyleClass.
* gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon):
Use the style for a given widget to look up a stock ID, get the
icon set, and render an icon using the render_icon method
of the style
* gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type
(contains information about a stock item), the built-in stock item
IDs, and functions to add/lookup stock items.
* gtk/stock-icons/*: Stock icons that come with GTK
* gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns
a button based on a GtkStockItem
(gtk_button_new_accel): Takes a uline string and accel group, and
installs the accelerator.
* gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic
image-display widget.
2000-09-26 20:22:17 +00:00
|
|
|
bin_PROGRAMS=make-inline-pixbuf
|
|
|
|
|
|
|
|
make_inline_pixbuf_SOURCES=make-inline-pixbuf.c
|
|
|
|
|
|
|
|
make_inline_pixbuf_LDADD = $(LDADDS)
|
|
|
|
|
2000-10-06 18:19:18 +00:00
|
|
|
GDK_PIXBUF_LIBS = $(GLIB_LIBS) $(INTLLIBS)
|
1999-11-13 17:28:11 +00:00
|
|
|
|
1999-01-05 21:27:07 +00:00
|
|
|
#
|
|
|
|
# The GdkPixBuf library
|
|
|
|
#
|
1999-11-30 17:53:02 +00:00
|
|
|
|
2000-07-14 20:08:10 +00:00
|
|
|
libgdk_pixbufincludedir = $(includedir)/gtk-2.0/gdk-pixbuf
|
1999-01-05 21:27:07 +00:00
|
|
|
|
2000-07-14 20:08:10 +00:00
|
|
|
libgdk_pixbuf_1_3_la_SOURCES = \
|
2000-10-06 18:19:18 +00:00
|
|
|
gdk-pixbuf-i18n.h \
|
1999-01-04 23:53:12 +00:00
|
|
|
gdk-pixbuf.c \
|
2000-01-02 03:59:22 +00:00
|
|
|
gdk-pixbuf-animation.c \
|
1999-10-27 23:36:44 +00:00
|
|
|
gdk-pixbuf-data.c \
|
1999-10-08 23:01:05 +00:00
|
|
|
gdk-pixbuf-io.c \
|
2000-01-05 21:33:58 +00:00
|
|
|
gdk-pixbuf-scale.c \
|
2001-01-09 09:53:28 +00:00
|
|
|
gdk-pixbuf-util.c
|
1999-12-12 06:38:57 +00:00
|
|
|
|
2000-07-14 20:08:10 +00:00
|
|
|
libgdk_pixbuf_1_3_la_LDFLAGS = \
|
2000-07-06 15:50:54 +00:00
|
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
2001-01-02 16:15:35 +00:00
|
|
|
@LIBTOOL_EXPORT_OPTIONS@ \
|
2000-07-06 15:50:54 +00:00
|
|
|
$(GLIB_LIBS)
|
2001-01-09 09:53:28 +00:00
|
|
|
libgdk_pixbuf_1_3_la_LIBADD = pixops/libpixops.la $(builtin_objs) $(static_libs)
|
|
|
|
libgdk_pixbuf_1_3_la_DEPENDENCIES = $(builtin_objs)
|
2000-01-05 21:33:58 +00:00
|
|
|
|
1999-01-05 21:27:07 +00:00
|
|
|
libgdk_pixbufinclude_HEADERS = \
|
1999-10-26 03:42:14 +00:00
|
|
|
gdk-pixbuf.h \
|
2000-06-21 20:47:22 +00:00
|
|
|
gdk-pixbuf-features.h
|
1999-01-05 21:27:07 +00:00
|
|
|
|
2000-04-11 07:03:25 +00:00
|
|
|
noinst_HEADERS = \
|
|
|
|
gdk-pixbuf-io.h \
|
|
|
|
gdk-pixbuf-private.h
|
2000-07-22 23:50:19 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
makefile.mingw \
|
|
|
|
makefile.mingw.in \
|
|
|
|
gdk_pixbuf.def \
|
2000-08-11 02:58:59 +00:00
|
|
|
pixbufloader_ico.def \
|
|
|
|
pixbufloader_pnm.def \
|
|
|
|
pixbufloader_xpm.def \
|
|
|
|
pixbufloader_bmp.def \
|
|
|
|
pixbufloader_jpeg.def \
|
|
|
|
pixbufloader_ras.def \
|
|
|
|
pixbufloader_gif.def \
|
|
|
|
pixbufloader_png.def \
|
|
|
|
pixbufloader_tiff.def \
|
2001-01-22 02:08:53 +00:00
|
|
|
pixbufloader_wbmp.def \
|
|
|
|
pixbufloader_xbm.def
|
|
|
|
|