Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 1999 16:42:38 +0800
From:      Clive Lin <clive@GnatS.CirX.ORG>
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>
In-Reply-To: <199912250135.RAA08591@freefall.freebsd.org>
References:  <199912250135.RAA08591@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <clive@CirX.ORG>

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 <<EOF
-#define BALSA_RESOURCE_PREFIX "${prefix}"
+#define BALSA_RESOURCE_PREFIX "${prefix}/share/gnome"
 EOF
 
 	

--r5Pyd7+fXNt84Ff3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-ii

--- src/balsa-mblist.c.orig	Tue Dec 28 15:15:33 1999
+++ src/balsa-mblist.c	Tue Dec 28 15:15:58 1999
@@ -372,8 +372,8 @@
 	  
 	  style = gtk_style_copy (gtk_widget_get_style (GTK_WIDGET (ctree)));
 	  gdk_font_unref(style->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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991228164238.A51811>