diff options
author | kei <kei@pkgsrc.org> | 2002-03-19 16:17:11 +0000 |
---|---|---|
committer | kei <kei@pkgsrc.org> | 2002-03-19 16:17:11 +0000 |
commit | dbdd1dbe9a84866cd3d5da9e59756189236c9756 (patch) | |
tree | 27d895ad0f260e99230a8c5ed5c60228fe8ca230 /graphics | |
parent | a3f6e6858e426c6be5bb38871573a809f14d76f1 (diff) | |
download | pkgsrc-dbdd1dbe9a84866cd3d5da9e59756189236c9756.tar.gz |
imported xmbdfed-4.4 to the NetBSD packages collection.
XmBDFEditor is a Motif-based BDF font editor with the following features:
o Multiple fonts can be loaded from the command line.
o Multiple fonts can be open at the same time.
o Cutting and pasting glyphs between fonts.
o Multiple glyph bitmap editors can be open at the same time.
o Cutting and pasting between glyph bitmap editors.
o Export of XBM files from glyph bitmap editors.
o Automatic correction of certain metrics when a font is loaded.
o Generation of XLFD font names for fonts without XLFD names.
o Update an XLFD font name from the font properties.
o Update the font properties from an XLFD font name.
o Font property editor.
o Font comment editor.
o Supports unencoded glyphs (ENCODING of -1).
o Display of glyph encodings in octal, decimal, or hex.
o Builtin on-line help.
o Imports PK/GF fonts.
o Imports HBF (Han Bitmap Font) fonts.
o Imports Linux console fonts (PSF, CP, and FNT).
o Imports Sun console fonts (vfont format).
o Imports fonts from the X server.
o Imports Windows FON/FNT fonts.
o Imports TrueType fonts and collections.
o Exports PSF fonts.
o Exports HEX fonts.
o Edits two and four bits per pixel gray scale fonts.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/xmbdfed/DESCR | 29 | ||||
-rw-r--r-- | graphics/xmbdfed/Makefile | 21 | ||||
-rw-r--r-- | graphics/xmbdfed/PLIST | 3 | ||||
-rw-r--r-- | graphics/xmbdfed/distinfo | 6 | ||||
-rw-r--r-- | graphics/xmbdfed/patches/patch-aa | 41 | ||||
-rw-r--r-- | graphics/xmbdfed/patches/patch-ab | 13 |
6 files changed, 113 insertions, 0 deletions
diff --git a/graphics/xmbdfed/DESCR b/graphics/xmbdfed/DESCR new file mode 100644 index 00000000000..15a12da96d7 --- /dev/null +++ b/graphics/xmbdfed/DESCR @@ -0,0 +1,29 @@ +From README: + +XmBDFEditor is a Motif-based BDF font editor with the following features: + + o Multiple fonts can be loaded from the command line. + o Multiple fonts can be open at the same time. + o Cutting and pasting glyphs between fonts. + o Multiple glyph bitmap editors can be open at the same time. + o Cutting and pasting between glyph bitmap editors. + o Export of XBM files from glyph bitmap editors. + o Automatic correction of certain metrics when a font is loaded. + o Generation of XLFD font names for fonts without XLFD names. + o Update an XLFD font name from the font properties. + o Update the font properties from an XLFD font name. + o Font property editor. + o Font comment editor. + o Supports unencoded glyphs (ENCODING of -1). + o Display of glyph encodings in octal, decimal, or hex. + o Builtin on-line help. + o Imports PK/GF fonts. + o Imports HBF (Han Bitmap Font) fonts. + o Imports Linux console fonts (PSF, CP, and FNT). + o Imports Sun console fonts (vfont format). + o Imports fonts from the X server. + o Imports Windows FON/FNT fonts. + o Imports TrueType fonts and collections. + o Exports PSF fonts. + o Exports HEX fonts. + o Edits two and four bits per pixel gray scale fonts. diff --git a/graphics/xmbdfed/Makefile b/graphics/xmbdfed/Makefile new file mode 100644 index 00000000000..39f6aca14f6 --- /dev/null +++ b/graphics/xmbdfed/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/03/19 16:17:11 kei Exp $ + +DISTNAME= xmbdfed-4.4 +CATEGORIES= graphics x11 +MASTER_SITES= ftp://crl.nmsu.edu/CLR/multiling/General/ + +MAINTAINER= kei@netbsd.org +HOMEPAGE= http://crl.nmsu.edu/~mleisher/xmbdfed.html +COMMENT= Motif-based BDF font editor with lots of features + +USE_BUILDLINK_X11= yes +NO_CONFIGURE= # defined + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/xmbdfed ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/xmbdfed.man ${PREFIX}/man/man1/xmbdfed.1 + +.include "../../graphics/freetype-lib/buildlink.mk" +.include "../../mk/x11.buildlink.mk" +.include "../../mk/motif.buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/xmbdfed/PLIST b/graphics/xmbdfed/PLIST new file mode 100644 index 00000000000..fb643ce19d3 --- /dev/null +++ b/graphics/xmbdfed/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/03/19 16:17:11 kei Exp $ +bin/xmbdfed +man/man1/xmbdfed.1 diff --git a/graphics/xmbdfed/distinfo b/graphics/xmbdfed/distinfo new file mode 100644 index 00000000000..c1a727772d0 --- /dev/null +++ b/graphics/xmbdfed/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/03/19 16:17:11 kei Exp $ + +SHA1 (xmbdfed-4.4.tar.gz) = 34cf268d1d69ef6ee486f1ca2d898f2fe4ec309c +Size (xmbdfed-4.4.tar.gz) = 281619 bytes +SHA1 (patch-aa) = c56292901cfe776c26fc21da2b851aa2fccf2e02 +SHA1 (patch-ab) = eb5c46e723988cf9febf65f64e0b142ce8dccde3 diff --git a/graphics/xmbdfed/patches/patch-aa b/graphics/xmbdfed/patches/patch-aa new file mode 100644 index 00000000000..9a7d0ab049c --- /dev/null +++ b/graphics/xmbdfed/patches/patch-aa @@ -0,0 +1,41 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/03/19 16:17:11 kei Exp $ + +--- Makefile.orig Fri Mar 17 05:08:49 2000 ++++ Makefile Wed Mar 20 00:37:53 2002 +@@ -24,4 +24,4 @@ + # +-CC = gcc +-CFLAGS = -g -Wall ++#CC = gcc ++#CFLAGS = -g -Wall + +@@ -48,5 +48,5 @@ + # +-#FTYPE_INCS = -I/usr/local/include +-#FTYPE_LIBS = -L/user/local/lib -lttf +-#FTYPE_DEFS = -DHAVE_FREETYPE ++FTYPE_INCS = -I${LOCALBASE}/include/freetype ++FTYPE_LIBS = -L${LOCALBASE}/lib -lttf ++FTYPE_DEFS = -DHAVE_FREETYPE + +@@ -66,3 +66,3 @@ + # +-HBFDEFS = -Dunix -DIN_MEMORY -DGUNZIP_CMD="\"/usr/local/bin/gunzip -c\"" ++#HBFDEFS = -Dunix -DIN_MEMORY -DGUNZIP_CMD="\"${PREFIX}/bin/gunzip -c\"" + +@@ -73,2 +73,6 @@ + ++INCS = -I${X11BASE}/include -I${LOCALBASE}/include ${FTYPE_INCS} ++LIBS = -L${X11BASE}/lib -R${X11BASE}/lib -L${LOCALBASE}/lib -R${LOCALBASE}/lib \ ++ -lXm -lXmu -lXt -lXext -lX11 ${FTYPE_LIBS} ++ + # +@@ -84,5 +88,5 @@ + # +-INCS = -I/usr/openwin/include -I/usr/dt/include $(FTYPE_INCS) +-LIBS = -R/usr/openwin/lib -R/usr/dt/lib -L/usr/dt/lib -lXm \ +- -L/usr/openwin/lib -lXmu -lXt -lXext -lX11 $(FTYPE_LIBS) ++#INCS = -I/usr/openwin/include -I/usr/dt/include $(FTYPE_INCS) ++#LIBS = -R/usr/openwin/lib -R/usr/dt/lib -L/usr/dt/lib -lXm \ ++# -L/usr/openwin/lib -lXmu -lXt -lXext -lX11 $(FTYPE_LIBS) + diff --git a/graphics/xmbdfed/patches/patch-ab b/graphics/xmbdfed/patches/patch-ab new file mode 100644 index 00000000000..aa57fd95a66 --- /dev/null +++ b/graphics/xmbdfed/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/03/19 16:17:11 kei Exp $ + +--- bdf.h.orig Wed Jul 4 10:21:42 2001 ++++ bdf.h Wed Jul 4 10:22:01 2001 +@@ -41,7 +41,7 @@ + + #ifdef HAVE_FREETYPE + #include <freetype.h> +-#include <extend/ftxsbit.h> ++#include <ftxsbit.h> + #endif /* HAVE_FREETYPE */ + + #ifdef __cplusplus |