pkgsrc/fonts/gbdfed/patches/patch-aa
bjs 39a0370250 Import gbdfed-1.4 + distribution patch.
gbdfed is a GTK-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 and vice-versa.
  o  Font property & comment editor.
  o  Supports unencoded glyphs (ENCODING of -1).
  o  Display of glyph encodings in octal, decimal, or hex.
  o  Builtin on-line help.

gbdfed imports and/or exports the following formats:

  o PK/GF, HBF (Han Bitmap Font)
  o PSF, CP, FNT (linux) and vfont (Sun) console fonts
  o X server built-in fonts
  o Windows FON/FNT
  o OpenType/TrueType fonts and collections
  o PSF/HEX fonts
2008-08-09 19:52:02 +00:00

35 lines
1.1 KiB
Text

$NetBSD: patch-aa,v 1.1.1.1 2008/08/09 19:52:02 bjs Exp $
--- Makefile.in.orig 2008-05-21 17:41:46.000000000 -0400
+++ Makefile.in
@@ -27,9 +27,9 @@ MKINSTALLDIRS = ./mkinstalldirs
CC = @CC@
CFLAGS = @XX_CFLAGS@ @CFLAGS@
-DEFINES = @DEFINES@ -DG_DISABLE_DEPRECATED \
- -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED \
- -DGTK_DISABLE_DEPRECATED
+DEFINES = @DEFINES@ #-DG_DISABLE_DEPRECATED \
+ #-DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED \
+ #-DGTK_DISABLE_DEPRECATED
SRCS = bdf.c \
bdfcons.c \
@@ -97,7 +97,7 @@ mandir = @mandir@
all: gbdfed
gbdfed: $(OBJS)
- $(CC) $(STATIC) $(LDFLAGS) -o gbdfed $(OBJS) $(LIBS)
+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o gbdfed $(OBJS:.o=.lo) $(LIBS)
clean:
$(RM) -f *.o *BAK *CKP *~ core
@@ -109,7 +109,7 @@ distclean: clean
$(RM) -rf gbdfed config.* Makefile autom4te.cache
.c.o:
- $(CC) $(DEFINES) $(CFLAGS) $(INCS) -c $< -o $@
+ $(LIBTOOL) --mode=compile $(CC) $(DEFINES) $(CFLAGS) $(INCS) -c $< -o $(@:.o=.lo)
install: gbdfed
$(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1