# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gbdfed # gbdfed/pkg-descr # gbdfed/files # gbdfed/files/patch-glyphedit.c # gbdfed/files/patch-Makefile.in # gbdfed/files/patch-gtkcompat.h # gbdfed/files/patch-bdf.c # gbdfed/files/patch-fontgrid.c # gbdfed/Makefile # gbdfed/distinfo # echo c - gbdfed mkdir -p gbdfed > /dev/null 2>&1 echo x - gbdfed/pkg-descr sed 's/^X//' >gbdfed/pkg-descr << '767c07b8725141314b4d9268bab4c2a8' Xgbdfed is a GTK-based BDF font editor. It can import Metafont PK/GF fonts, XHan Bitmap Font Format (HBF) fonts, Linux console (PSF, CP, and EGA/VGA) fonts, XSun VF fonts, OpenType (OTF & TTF) fonts, or load a font from the X server. XIt can export PSF2 Linux console fonts and HEX fonts. X XWWW: http://sofia.nmsu.edu/~mleisher/Software/gbdfed/ 767c07b8725141314b4d9268bab4c2a8 echo c - gbdfed/files mkdir -p gbdfed/files > /dev/null 2>&1 echo x - gbdfed/files/patch-glyphedit.c sed 's/^X//' >gbdfed/files/patch-glyphedit.c << '75db24e6043df52ce2b87981c170c37b' X--- glyphedit.c~ 2010-04-16 09:39:04.000000000 -0500 X+++ glyphedit.c 2012-06-05 12:08:22.488759533 -0500 X@@ -114,7 +114,7 @@ enum { X **************************************************************************/ X X static GtkWidgetClass *parent_class = 0; X-static guint glyphedit_signals[OPERATION_CHANGE + 1]; X+static guint glyphedit_signals[COLOR_CHANGE + 1]; X X /************************************************************************** X * 75db24e6043df52ce2b87981c170c37b echo x - gbdfed/files/patch-Makefile.in sed 's/^X//' >gbdfed/files/patch-Makefile.in << '86fa9c63d7ed2bc7f2332185e5110ed0' X--- Makefile.in~ 2010-04-16 09:38:59.000000000 -0500 X+++ Makefile.in 2012-06-05 11:54:08.209833058 -0500 X@@ -27,9 +27,7 @@ MKINSTALLDIRS = ./mkinstalldirs X CC = @CC@ X CFLAGS = @XX_CFLAGS@ @CFLAGS@ X X-DEFINES = @DEFINES@ -DG_DISABLE_DEPRECATED \ X- -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED \ X- -DGTK_DISABLE_DEPRECATED X+DEFINES = @DEFINES@ X X SRCS = bdf.c \ X bdfcons.c \ 86fa9c63d7ed2bc7f2332185e5110ed0 echo x - gbdfed/files/patch-gtkcompat.h sed 's/^X//' >gbdfed/files/patch-gtkcompat.h << '7431caa9134cc6f39a030f473210d0b9' X--- gtkcompat.h~ 2010-04-16 09:39:05.000000000 -0500 X+++ gtkcompat.h 2012-06-05 12:01:03.340069638 -0500 X@@ -24,7 +24,7 @@ X X #include X X-#if GTK_MAJOR_VERSION >= (2) && GTK_MINOR_VERSION >= (20) X+#if 0 X #define GTK_WIDGET_REALIZED gtk_widget_get_realized X #define GTK_WIDGET_STATE gtk_widget_get_state X #define GTK_WIDGET_HAS_FOCUS gtk_widget_has_focus 7431caa9134cc6f39a030f473210d0b9 echo x - gbdfed/files/patch-bdf.c sed 's/^X//' >gbdfed/files/patch-bdf.c << '1a3d6665e44418d0bf137865836fe484' X--- bdf.c~ 2010-04-16 09:38:59.000000000 -0500 X+++ bdf.c 2012-06-05 12:14:59.810640261 -0500 X@@ -1654,6 +1654,9 @@ _bdf_parse_properties(char *line, unsign X next = (_bdf_line_func_t *) call_data; X p = (_bdf_parse_t *) client_data; X X+ while (*line == ' ' || *line == '\t') X+ ++line; X+ X /* X * Check for the end of the properties. X */ 1a3d6665e44418d0bf137865836fe484 echo x - gbdfed/files/patch-fontgrid.c sed 's/^X//' >gbdfed/files/patch-fontgrid.c << '14cda7ac00659f3d92862ac927bc1991' X--- fontgrid.c~ 2010-04-16 09:39:02.000000000 -0500 X+++ fontgrid.c 2012-06-05 12:50:41.558078595 -0500 X@@ -4711,10 +4711,7 @@ fontgrid_select_next_glyph(Fontgrid *fw, X return FALSE; X } X X- if (fw->orientation == GTK_ORIENTATION_VERTICAL) X- code += (fw->cell_rows * count); X- else X- code += count; X+ code += count; X X if (fw->unencoded && code > gp->encoding) X code = gp->encoding; X@@ -4794,10 +4791,7 @@ fontgrid_select_previous_glyph(Fontgrid X return FALSE; X } X X- if (fw->orientation == GTK_ORIENTATION_VERTICAL) X- code -= (fw->cell_rows * count); X- else X- code -= count; X+ code -= count; X X if (code < 0) X code = 0; 14cda7ac00659f3d92862ac927bc1991 echo x - gbdfed/Makefile sed 's/^X//' >gbdfed/Makefile << 'e438f9a387409fd0fb23fd7e8cabc09d' X# New ports collection makefile for: gbdfed X# Date created: June 05 2012 X# Whom: Zhihao Yuan X# X# $FreeBSD$ X# X XPORTNAME= gbdfed XPORTVERSION= 1.6 XCATEGORIES= x11-fonts XMASTER_SITES= http://sofia.nmsu.edu/~mleisher/Software/gbdfed/ X XMAINTAINER= lichray@gmail.com XCOMMENT= A GTK2 bitmap font editor X XLICENSE= MIT X XLIB_DEPENDS= intl:${PORTSDIR}/devel/gettext X XMAN1= gbdfed.1 XPLIST_FILES= bin/gbdfed X XUSE_BZIP2= yes XUSE_GNOME= gtk20 pkgconfig XGNU_CONFIGURE= yes XCPPFLAGS+= -I${LOCALBASE}/include X X.include e438f9a387409fd0fb23fd7e8cabc09d echo x - gbdfed/distinfo sed 's/^X//' >gbdfed/distinfo << '218d57c988718fef3fced45015455605' XSHA256 (gbdfed-1.6.tar.bz2) = 5db25d4ce688dcb188dee056e58614a94a5e4fce4b6066fbb310951ab999093c XSIZE (gbdfed-1.6.tar.bz2) = 236166 218d57c988718fef3fced45015455605 exit