aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2006-12-28 20:41:42 +0800
committeroliver <oliver@FreeBSD.org>2006-12-28 20:41:42 +0800
commita1add55dedb8f1de17e3c03c8d3145d58b9fd9cb (patch)
treed184b8ce948d412cdfe1c9e6d994bf11cff479b5 /mail
parent9481a7f4d70af4a36f02e594ce2c1e70023862c9 (diff)
downloadfreebsd-ports-gnome-a1add55dedb8f1de17e3c03c8d3145d58b9fd9cb.tar.gz
freebsd-ports-gnome-a1add55dedb8f1de17e3c03c8d3145d58b9fd9cb.tar.zst
freebsd-ports-gnome-a1add55dedb8f1de17e3c03c8d3145d58b9fd9cb.zip
fix page generation for printing
Diffstat (limited to 'mail')
-rw-r--r--mail/sylpheed2/Makefile2
-rw-r--r--mail/sylpheed2/files/patch-src-printing.c22
-rw-r--r--mail/sylpheed3/Makefile2
-rw-r--r--mail/sylpheed3/files/patch-src-printing.c22
4 files changed, 46 insertions, 2 deletions
diff --git a/mail/sylpheed2/Makefile b/mail/sylpheed2/Makefile
index c4044f7424dd..a269375786ef 100644
--- a/mail/sylpheed2/Makefile
+++ b/mail/sylpheed2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sylpheed
PORTVERSION= 2.3.0
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= http://sylpheed.sraoss.jp/sylpheed/v${PORTVERSION:C/\.[^\.]*$//}/
diff --git a/mail/sylpheed2/files/patch-src-printing.c b/mail/sylpheed2/files/patch-src-printing.c
new file mode 100644
index 000000000000..f13f0b756bfd
--- /dev/null
+++ b/mail/sylpheed2/files/patch-src-printing.c
@@ -0,0 +1,22 @@
+--- src/printing.c.orig Wed Dec 27 15:50:14 2006
++++ src/printing.c Wed Dec 27 16:28:28 2006
+@@ -149,8 +149,6 @@
+
+ desc = pango_font_description_from_string(prefs_common_get()->textfont);
+ size = pango_font_description_get_size(desc);
+- pango_font_description_free(desc);
+- desc = gtkut_get_default_font_desc();
+ pango_font_description_set_size(desc, size);
+ pango_layout_set_font_description(layout, desc);
+ pango_font_description_free(desc);
+@@ -406,10 +404,6 @@
+ }
+ g_print("count = %d\n", count);
+
+- desc = gtkut_get_default_font_desc();
+- pango_font_description_set_size(desc, font_size);
+- pango_layout_set_font_description(layout, desc);
+- pango_font_description_free(desc);
+ g_snprintf(buf, sizeof(buf), "- %d -", pinfo->page_nr_per_msg + 1);
+ pango_layout_set_text(layout, buf, -1);
+ pango_layout_set_alignment(layout, PANGO_ALIGN_CENTER);
diff --git a/mail/sylpheed3/Makefile b/mail/sylpheed3/Makefile
index c4044f7424dd..a269375786ef 100644
--- a/mail/sylpheed3/Makefile
+++ b/mail/sylpheed3/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sylpheed
PORTVERSION= 2.3.0
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= http://sylpheed.sraoss.jp/sylpheed/v${PORTVERSION:C/\.[^\.]*$//}/
diff --git a/mail/sylpheed3/files/patch-src-printing.c b/mail/sylpheed3/files/patch-src-printing.c
new file mode 100644
index 000000000000..f13f0b756bfd
--- /dev/null
+++ b/mail/sylpheed3/files/patch-src-printing.c
@@ -0,0 +1,22 @@
+--- src/printing.c.orig Wed Dec 27 15:50:14 2006
++++ src/printing.c Wed Dec 27 16:28:28 2006
+@@ -149,8 +149,6 @@
+
+ desc = pango_font_description_from_string(prefs_common_get()->textfont);
+ size = pango_font_description_get_size(desc);
+- pango_font_description_free(desc);
+- desc = gtkut_get_default_font_desc();
+ pango_font_description_set_size(desc, size);
+ pango_layout_set_font_description(layout, desc);
+ pango_font_description_free(desc);
+@@ -406,10 +404,6 @@
+ }
+ g_print("count = %d\n", count);
+
+- desc = gtkut_get_default_font_desc();
+- pango_font_description_set_size(desc, font_size);
+- pango_layout_set_font_description(layout, desc);
+- pango_font_description_free(desc);
+ g_snprintf(buf, sizeof(buf), "- %d -", pinfo->page_nr_per_msg + 1);
+ pango_layout_set_text(layout, buf, -1);
+ pango_layout_set_alignment(layout, PANGO_ALIGN_CENTER);