diff options
author | rh <rh> | 2001-08-16 10:49:52 +0000 |
---|---|---|
committer | rh <rh> | 2001-08-16 10:49:52 +0000 |
commit | 014932e8da4dbb06e3bf239aaa931d1ccf8fba1d (patch) | |
tree | bde1be70113eae9a77f62b3c06c73404471fddc4 /graphics/imlib2 | |
parent | 0f8bb6aa92008ab33ef81473df3d762755352975 (diff) | |
download | pkgsrc-014932e8da4dbb06e3bf239aaa931d1ccf8fba1d.tar.gz |
Initial import of imlib2-1.0.3, an image manipulation library (the
successor to imlib).
Diffstat (limited to 'graphics/imlib2')
-rw-r--r-- | graphics/imlib2/Makefile | 34 | ||||
-rw-r--r-- | graphics/imlib2/buildlink.mk | 54 | ||||
-rw-r--r-- | graphics/imlib2/distinfo | 5 | ||||
-rw-r--r-- | graphics/imlib2/patches/patch-aa | 13 | ||||
-rw-r--r-- | graphics/imlib2/pkg/DESCR | 22 | ||||
-rw-r--r-- | graphics/imlib2/pkg/PLIST | 50 |
6 files changed, 178 insertions, 0 deletions
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile new file mode 100644 index 00000000000..bc79a68e861 --- /dev/null +++ b/graphics/imlib2/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/08/16 10:49:52 rh Exp $ +# + +DISTNAME= imlib2-1.0.3 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/} + +MAINTAINER= rh@netbsd.org +HOMEPAGE= http://www.enlightenment.org/pages/imlib2.html +COMMENT= image manipulation library + +GNU_CONFIGURE= YES +USE_X11BASE= YES +USE_LIBINTL= YES +USE_LIBTOOL= YES + +LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig + +.include "../../mk/bsd.prefs.mk" + +IMLIB2_USE_MMX?= NO + +.if ${MACHINE_ARCH} == "i386" && ${IMLIB2_USE_MMX} != "NO" +CONFIGURE_ARGS+= --enable-mmx +.endif + +.include "../../devel/gettext-lib/buildlink.mk" +.include "../../graphics/freetype-lib/buildlink.mk" +.include "../../graphics/jpeg/buildlink.mk" +.include "../../graphics/libungif/buildlink.mk" +.include "../../graphics/png/buildlink.mk" +.include "../../graphics/tiff/buildlink.mk" +.include "../../databases/edb/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/imlib2/buildlink.mk b/graphics/imlib2/buildlink.mk new file mode 100644 index 00000000000..73864db9384 --- /dev/null +++ b/graphics/imlib2/buildlink.mk @@ -0,0 +1,54 @@ +# $NetBSD: buildlink.mk,v 1.1.1.1 2001/08/16 10:49:52 rh Exp $ +# +# This Makefile fragment is included by packages that use imlib2. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.imlib2 to the dependency pattern +# for the version of imlib2 desired. +# (2) Include this Makefile fragment in the package Makefile, +# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(IMLIB2_BUILDLINK_MK) +IMLIB2_BUILDLINK_MK= # defined + +.include "../../mk/bsd.buildlink.mk" + +BUILDLINK_DEPENDS.imlib2?= imlib2>=1.0.3 +DEPENDS+= ${BUILDLINK_DEPENDS.imlib2}:../../graphics/imlib2 + +EVAL_PREFIX+= BUILDLINK_PREFIX.imlib2=imlib2 +BUILDLINK_PREFIX.imlib2_DEFAULT= ${X11PREFIX} +BUILDLINK_FILES.imlib2= include/Imlib2.h +BUILDLINK_FILES.imlib2+= lib/libImlib2.* +BUILDLINK_FILES.imlib2+= lib/loaders/image/* + +.include "../../devel/gettext-lib/buildlink.mk" +.include "../../graphics/freetype-lib/buildlink.mk" +.include "../../graphics/jpeg/buildlink.mk" +.include "../../graphics/libungif/buildlink.mk" +.include "../../graphics/png/buildlink.mk" +.include "../../graphics/tiff/buildlink.mk" +.include "../../databases/edb/buildlink.mk" +.include "../../x11/gtk/buildlink.mk" + +BUILDLINK_TARGETS.imlib2= imlib2-buildlink +BUILDLINK_TARGETS.imlib2+= imlib2-buildlink-config-wrapper +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.imlib2} + +BUILDLINK_CONFIG.imlib2= ${BUILDLINK_PREFIX.imlib2}/bin/imlib2-config +BUILDLINK_CONFIG_WRAPPER.imlib2= ${BUILDLINK_DIR}/bin/imlib2-config + +.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE) +IMLIB2_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.imlib2} +CONFIGURE_ENV+= IMLIB2_CONFIG="${IMLIB2_CONFIG}" +.endif + +pre-configure: ${BUILDLINK_TARGETS.imlib2} +imlib2-buildlink: _BUILDLINK_USE +imlib2-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE + +.endif # IMLIB2_BUILDLINK_MK diff --git a/graphics/imlib2/distinfo b/graphics/imlib2/distinfo new file mode 100644 index 00000000000..6db835b6301 --- /dev/null +++ b/graphics/imlib2/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/08/16 10:49:52 rh Exp $ + +SHA1 (imlib2-1.0.3.tar.gz) = ca0cc0285af6e38e41d26c0b379d09c95e7f1f45 +Size (imlib2-1.0.3.tar.gz) = 688197 bytes +SHA1 (patch-aa) = 41fab46215fb0c4ca305ba2c958990589279a073 diff --git a/graphics/imlib2/patches/patch-aa b/graphics/imlib2/patches/patch-aa new file mode 100644 index 00000000000..4afbf37060b --- /dev/null +++ b/graphics/imlib2/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/08/16 10:49:52 rh Exp $ + +--- src/Makefile.in.orig Sun Apr 29 07:54:34 2001 ++++ src/Makefile.in +@@ -93,7 +93,7 @@ + # A list of all the files in the current directory which can be regenerated + MAINTAINERCLEANFILES = Makefile.in loaderpath.h + +-LDFLAGS = -L/usr/X11R6/lib ++LDFLAGS = @LDFLAGS@ + INCLUDES = -I/usr/X11R6/include -I$(top_srcdir)/libltdl $(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I. -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/loaders + + MMX_SRCS = asm_blend.S asm_rgba.S asm_scale.S asm_rotate.S asm_blend_cmod.S diff --git a/graphics/imlib2/pkg/DESCR b/graphics/imlib2/pkg/DESCR new file mode 100644 index 00000000000..bfd3291ac88 --- /dev/null +++ b/graphics/imlib2/pkg/DESCR @@ -0,0 +1,22 @@ + Imlib 2 is the successor to Imlib. It is NOT a newer version - it is a +completely new library. Imlib 2 can be installed alongside Imlib 1.x +without any problems since they are effectively different libraries - BUT +they have very similar functionality. + +Imlib 2 does the following: + + * Load/Save image files from disk in one of many formats + * Render image data onto other images or an X-Windows drawable + * Produce pixmaps and pixmap masks of Images + * Apply filters and transformations to images + * Accept RGBA Data for images and apply colour correction/modifications + * Alpha blend Images on other images or drawables + * Render truetype anti-aliased text straight and at angles + * Render rectangles, anti-aliased lines, and multi-coloured gradients + * Cache data intelligently for maximum performance + * Allocate colours automatically + * Allow full control over caching and color allocation + * Provide highly optimized MMX assembly for core routines + * Provide plug-in filter interface + * Provide on-the-fly runtime plug-in image loading and saving interface + * Fastest image compositing, rendering and manipulation library for X diff --git a/graphics/imlib2/pkg/PLIST b/graphics/imlib2/pkg/PLIST new file mode 100644 index 00000000000..f2a3ea09c7a --- /dev/null +++ b/graphics/imlib2/pkg/PLIST @@ -0,0 +1,50 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/08/16 10:49:52 rh Exp $ +bin/imlib2-config +include/Imlib2.h +lib/libImlib2.a +lib/libImlib2.la +lib/libImlib2.so +lib/libImlib2.so.1 +lib/libImlib2.so.1.3 +lib/loaders/filter/bump_map.a +lib/loaders/filter/bump_map.la +lib/loaders/filter/bump_map.so +lib/loaders/filter/colormod.a +lib/loaders/filter/colormod.la +lib/loaders/filter/colormod.so +lib/loaders/filter/testfilter.a +lib/loaders/filter/testfilter.la +lib/loaders/filter/testfilter.so +lib/loaders/image/argb.a +lib/loaders/image/argb.la +lib/loaders/image/argb.so +lib/loaders/image/bmp.a +lib/loaders/image/bmp.la +lib/loaders/image/bmp.so +lib/loaders/image/db.a +lib/loaders/image/db.la +lib/loaders/image/db.so +lib/loaders/image/gif.a +lib/loaders/image/gif.la +lib/loaders/image/gif.so +lib/loaders/image/jpeg.a +lib/loaders/image/jpeg.la +lib/loaders/image/jpeg.so +lib/loaders/image/png.a +lib/loaders/image/png.la +lib/loaders/image/png.so +lib/loaders/image/pnm.a +lib/loaders/image/pnm.la +lib/loaders/image/pnm.so +lib/loaders/image/tga.a +lib/loaders/image/tga.la +lib/loaders/image/tga.so +lib/loaders/image/tiff.a +lib/loaders/image/tiff.la +lib/loaders/image/tiff.so +lib/loaders/image/xpm.a +lib/loaders/image/xpm.la +lib/loaders/image/xpm.so +@dirrm lib/loaders/image +@dirrm lib/loaders/filter +@dirrm lib/loaders |