ports/147873: [PATCH] mail/mail-notification: [fix broken icons]

Denis Shaposhnikov dsh at wizard.volgograd.ru
Tue Jun 15 12:00:07 UTC 2010


>Number:         147873
>Category:       ports
>Synopsis:       [PATCH] mail/mail-notification: [fix broken icons]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 15 12:00:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Denis Shaposhnikov
>Release:        FreeBSD 8.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD localhost.my.domain 8.0-STABLE FreeBSD 8.0-STABLE #11: Sat Nov 28 02:44:51 MSK 2009
>Description:
Since the release of gnome-icon-theme 2.30, the stock icons are not
provided anymore, see

  https://bugs.launchpad.net/mail-notification/+bug/557137

and

  https://bugzilla.redhat.com/show_bug.cgi?id=573809

I've extracted the patch from

   http://kojipkgs.fedoraproject.org/packages/mail-notification/5.4/20.fc13/src/mail-notification-5.4-20.fc13.src.rpm

Added file(s):
- files/patch-src-mn-stock.c

Port maintainer (mwisnicki+freebsd at gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- mail-notification-5.4_7.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/mail-notification/Makefile /home/dsh/ports/mail/mail-notification/Makefile
--- /usr/ports/mail/mail-notification/Makefile	2010-05-31 05:59:42.000000000 +0400
+++ /home/dsh/ports/mail/mail-notification/Makefile	2010-06-08 14:54:07.000000000 +0400
@@ -7,7 +7,7 @@
 
 PORTNAME=	mail-notification
 DISTVERSION=	5.4
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	mail ipv6
 MASTER_SITES=	${MASTER_SITE_SAVANNAH}
 MASTER_SITE_SUBDIR=	mailnotify
diff -ruN --exclude=CVS /usr/ports/mail/mail-notification/files/patch-src-mn-stock.c /home/dsh/ports/mail/mail-notification/files/patch-src-mn-stock.c
--- /usr/ports/mail/mail-notification/files/patch-src-mn-stock.c	1970-01-01 03:00:00.000000000 +0300
+++ /home/dsh/ports/mail/mail-notification/files/patch-src-mn-stock.c	2010-06-08 14:53:31.000000000 +0400
@@ -0,0 +1,39 @@
+diff -Nrbu src/mn-stock.c.orig src/mn-stock.c
+--- src/mn-stock.c.orig	2008-05-22 19:45:35.000000000 +0400
++++ src/mn-stock.c	2010-05-24 19:36:03.000000000 +0400
+@@ -32,11 +32,11 @@
+     const char	*icon_name;
+     const char	*source_stock_id;
+   } icons[] = {
+-    { MN_STOCK_MAIL,			NULL, "stock_mail" },
+-    { MN_STOCK_NO_MAIL,			NULL, "stock_inbox" },
+-    { MN_STOCK_LOCAL,			NULL, "stock_folder" },
+-    { MN_STOCK_REMOTE,			NULL, "stock_internet" },
+-    { MN_STOCK_UNKNOWN,			NULL, "stock_unknown" },
++    { MN_STOCK_MAIL,			NULL, "mail-message-new" },
++    { MN_STOCK_NO_MAIL,			NULL, "mail-notification" },
++    { MN_STOCK_LOCAL,			NULL, "folder" },
++    { MN_STOCK_REMOTE,			NULL, "applications-internet" },
++    { MN_STOCK_UNKNOWN,			NULL, "dialog-question" },
+     { MN_STOCK_ERROR,			NULL, NULL, GTK_STOCK_DIALOG_ERROR },
+ #if WITH_GMAIL
+     { MN_STOCK_GMAIL,			PKGDATADIR G_DIR_SEPARATOR_S "gmail.png" },
+@@ -48,14 +48,14 @@
+     { MN_STOCK_HOTMAIL,			PKGDATADIR G_DIR_SEPARATOR_S "hotmail.png" },
+ #endif
+ #if WITH_MBOX || WITH_MOZILLA || WITH_MH || WITH_MAILDIR || WITH_SYLPHEED
+-    { MN_STOCK_SYSTEM_MAILBOX,		NULL, "system" },
++    { MN_STOCK_SYSTEM_MAILBOX,		NULL, "applications-system" },
+ #endif
+ #if WITH_EVOLUTION
+     { MN_STOCK_EVOLUTION_MAILBOX,	NULL, "evolution" },
+ #endif
+-    { MN_STOCK_MAIL_READER,		NULL, "stock_mail-handling" },
+-    { MN_STOCK_OPEN_MESSAGE,		NULL, "stock_mail-open" },
+-    { MN_STOCK_CONSIDER_NEW_MAIL_AS_READ, NULL, "stock_mark" }
++    { MN_STOCK_MAIL_READER,		NULL, "mail-unread" },
++    { MN_STOCK_OPEN_MESSAGE,		NULL, "mail-read" },
++    { MN_STOCK_CONSIDER_NEW_MAIL_AS_READ, NULL, "mail-mark-read" }
+   };
+   GtkIconFactory *factory;
+   GtkIconTheme *icon_theme;
--- mail-notification-5.4_7.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list