From owner-freebsd-ports Tue Dec 28 0:39:33 1999 Delivered-To: freebsd-ports@freebsd.org Received: from host.cer.ntnu.edu.tw (cer.ntnu.edu.tw [140.122.119.9]) by hub.freebsd.org (Postfix) with ESMTP id 923E9151C7; Tue, 28 Dec 1999 00:39:08 -0800 (PST) (envelope-from clive@host.cer.ntnu.edu.tw) Received: (from clive@localhost) by host.cer.ntnu.edu.tw (8.9.3/8.9.3) id QAA51917; Tue, 28 Dec 1999 16:42:38 +0800 (CST) (envelope-from clive) Date: Tue, 28 Dec 1999 16:42:38 +0800 From: Clive Lin To: steve@FreeBSD.ORG Cc: tkato@prontomail.ne.jp, freebsd-ports@FreeBSD.ORG Subject: Re: ports/15665: Update port: mail/balsa to 0.6.0 Message-ID: <19991228164238.A51811@host.cer.ntnu.edu.tw> Reply-To: Clive Lin References: <199912250135.RAA08591@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="r5Pyd7+fXNt84Ff3" X-Mailer: Mutt 1.0pre2i In-Reply-To: <199912250135.RAA08591@freefall.freebsd.org> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii On Fri, Dec 24, 1999 at 05:35:07PM -0800, steve@FreeBSD.ORG wrote: > Synopsis: Update port: mail/balsa to 0.6.0 > > State-Changed-From-To: open->closed > State-Changed-By: steve > State-Changed-When: Fri Dec 24 17:34:21 PST 1999 > State-Changed-Why: > Update committed, thanks! Hi, I found that at least need one patch to let balsa works properly. The first patch fix the path for balsa to find .png file for attachment and so on. Without this, balsa will complain that he couldnt' find the attachment.png and never let u attach files :/ The second patch is quite alternative. Just tricky fix for i18n. If maintainer thinks its not important, ignore it. Since every one knows gdk_fontset_load() could fix that himself. -- CirX Clive Lin FreeBSD - The Power to Serve --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-ib --- configure.orig Tue Dec 28 16:25:16 1999 +++ configure Tue Dec 28 16:25:29 1999 @@ -5317,7 +5317,7 @@ EOF cat >> confdefs.h <font); - font = gdk_font_load - ("-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1"); + font = gdk_fontset_load + ("-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1,*"); style->font = font; gdk_font_ref(style->font); --- src/sendmsg-window.c.orig Tue Dec 28 15:16:19 1999 +++ src/sendmsg-window.c Tue Dec 28 15:16:34 1999 @@ -523,7 +523,7 @@ GtkStyle *style; style = gtk_style_new (); - font = gdk_font_load ("-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1"); + font = gdk_fontset_load ("-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1,*"); colormap = gtk_widget_get_colormap (GTK_WIDGET (msg->attachments)); style->font = font; --- src/balsa-app.h.orig Tue Dec 28 15:16:52 1999 +++ src/balsa-app.h Tue Dec 28 15:17:02 1999 @@ -44,7 +44,7 @@ #define MESSAGEBOX_WIDTH 450 #define MESSAGEBOX_HEIGHT 150 -#define DEFAULT_MESSAGE_FONT "-*-fixed-medium-r-normal-*-*-*-*-*-c-*-iso8859-1" +#define DEFAULT_MESSAGE_FONT "-*-fixed-medium-r-normal-*-*-*-*-*-c-*-iso8859-1,*" #define DEFAULT_CHARSET "ISO-8859-1" #define DEFAULT_ENCODING ENC8BIT #define DEFAULT_LINESIZE 78 --- src/balsa-message.c.orig Tue Dec 28 15:18:48 1999 +++ src/balsa-message.c Tue Dec 28 15:18:59 1999 @@ -426,7 +426,7 @@ "x", x, "y", y, "anchor", GTK_ANCHOR_NW, - "font", balsa_app.message_font, + "fontset", balsa_app.message_font, "text", text, NULL); return new; } --r5Pyd7+fXNt84Ff3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message