diff options
author | hubertf <hubertf@pkgsrc.org> | 2002-07-19 01:13:52 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2002-07-19 01:13:52 +0000 |
commit | cc7b2e10186de14c27706cba8596d286b998ed3d (patch) | |
tree | 164b0acb37f098599d5db107d64995ef060d6b6d | |
parent | 8d35e04c671eca874889ed6ba81a2b5dcb73def7 (diff) | |
download | pkgsrc-cc7b2e10186de14c27706cba8596d286b998ed3d.tar.gz |
Add compface 1.4: 48x48x1 image compression and decompression (X-face utility)
The programme (two programmes really - but they're just links to each
other) converts 48x48x1 images to and from a compressed format. The
uncompressed images are expected to contain 48x48/4 (576) hex digits.
All other characters and any `0's followed by `X' or `x' are ignored.
Usually the files are 48 lines of "0x%04X,0x%04X,0x%04X,". The
compressed images contain some number of printable characters. Non
printable characters, including ` ' are ignored. The purpose of the
programme is to allow the inclusion of face images within mail headers
using the field name `X-face: '.
Submitted by Osamu OISHI <oishi@alef.ims.ac.jp> in PR 17541
-rw-r--r-- | graphics/compface/DESCR | 9 | ||||
-rw-r--r-- | graphics/compface/Makefile | 15 | ||||
-rw-r--r-- | graphics/compface/PLIST | 7 | ||||
-rw-r--r-- | graphics/compface/buildlink.mk | 34 | ||||
-rw-r--r-- | graphics/compface/distinfo | 4 |
5 files changed, 69 insertions, 0 deletions
diff --git a/graphics/compface/DESCR b/graphics/compface/DESCR new file mode 100644 index 00000000000..b9382ac0c66 --- /dev/null +++ b/graphics/compface/DESCR @@ -0,0 +1,9 @@ +The programme (two programmes really - but they're just links to each +other) converts 48x48x1 images to and from a compressed format. The +uncompressed images are expected to contain 48x48/4 (576) hex digits. +All other characters and any `0's followed by `X' or `x' are ignored. +Usually the files are 48 lines of "0x%04X,0x%04X,0x%04X,". The +compressed images contain some number of printable characters. Non +printable characters, including ` ' are ignored. The purpose of the +programme is to allow the inclusion of face images within mail headers +using the field name `X-face: '. diff --git a/graphics/compface/Makefile b/graphics/compface/Makefile new file mode 100644 index 00000000000..c8e87b34f20 --- /dev/null +++ b/graphics/compface/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/07/19 01:13:52 hubertf Exp $ + +DISTNAME= compface-1.4 +CATEGORIES= graphics +MASTER_SITES= http://freshmeat.net/redir/compface/1439/url_tgz/ + +MAINTAINER= oishi@ims.ac.jp +HOMEPAGE= http://freshmeat.net/projects/compface/ +COMMENT= 48x48x1 image compression and decompression (X-face utility) + +GNU_CONFIGURE= yes +USE_GMAKE= yes +CONFIGURE_ARGS+=--prefix=${LOCALBASE} + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/compface/PLIST b/graphics/compface/PLIST new file mode 100644 index 00000000000..43e4e985d3d --- /dev/null +++ b/graphics/compface/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/19 01:13:52 hubertf Exp $ +bin/compface +bin/uncompface +lib/libcompface.a +include/compface.h +man/man1/compface.1 +man/man3/compface.3 diff --git a/graphics/compface/buildlink.mk b/graphics/compface/buildlink.mk new file mode 100644 index 00000000000..f45383b268c --- /dev/null +++ b/graphics/compface/buildlink.mk @@ -0,0 +1,34 @@ +# $NetBSD: buildlink.mk,v 1.1.1.1 2002/07/19 01:13:52 hubertf Exp $ +# +# This Makefile fragment is included by packages that use COMPFACE. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.compface to the dependency pattern +# for the version of COMPFACE 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(COMPFACE_BUILDLINK_MK) +COMPFACE_BUILDLINK_MK= # defined + +.include "../../mk/bsd.buildlink.mk" + +BUILDLINK_DEPENDS.compface?= compface>=1.4 +DEPENDS+= ${BUILDLINK_DEPENDS.compface}:../../graphics/compface + +EVAL_PREFIX+= BUILDLINK_PREFIX.compface=compface +BUILDLINK_PREFIX.compface_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.compface+= include/compface.h +BUILDLINK_FILES.compface+= lib/libcompface.* + +BUILDLINK_TARGETS.compface= compface-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.compface} + +pre-configure: ${BUILDLINK_TARGETS.compface} +compface-buildlink: _BUILDLINK_USE + +.endif # COMPFACE_BUILDLINK_MK diff --git a/graphics/compface/distinfo b/graphics/compface/distinfo new file mode 100644 index 00000000000..8261275c024 --- /dev/null +++ b/graphics/compface/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/07/19 01:13:52 hubertf Exp $ + +SHA1 (compface-1.4.tar.gz) = ca9e0370e595c25c12c446f7c677d2f2e4b7ae7d +Size (compface-1.4.tar.gz) = 29154 bytes |