garnome r6271 - in trunk: . geektoys/mail-notification geektoys/mail-notification/files



Author: jsacco
Date: Sun Feb  3 14:28:14 2008
New Revision: 6271
URL: http://svn.gnome.org/viewvc/garnome?rev=6271&view=rev

Log:
geektoys/mail-notification: patch to build against eel-2.21.x


Added:
   trunk/geektoys/mail-notification/files/
   trunk/geektoys/mail-notification/files/mail-notification-5.0-eelfix.diff
Modified:
   trunk/ChangeLog
   trunk/geektoys/mail-notification/Makefile
   trunk/geektoys/mail-notification/checksums

Modified: trunk/geektoys/mail-notification/Makefile
==============================================================================
--- trunk/geektoys/mail-notification/Makefile	(original)
+++ trunk/geektoys/mail-notification/Makefile	Sun Feb  3 14:28:14 2008
@@ -2,6 +2,7 @@
 GARVERSION = 5.0
 CATEGORIES = geektoys
 DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2
+PATCHFILES = mail-notification-5.0-eelfix.diff
 
 MASTER_SITES = http://savannah.nongnu.org/download/mailnotify/
 

Modified: trunk/geektoys/mail-notification/checksums
==============================================================================
--- trunk/geektoys/mail-notification/checksums	(original)
+++ trunk/geektoys/mail-notification/checksums	Sun Feb  3 14:28:14 2008
@@ -1 +1,2 @@
 66bc819ef62a050627627b3496e4dfe8  download/mail-notification-5.0.tar.bz2
+9bff766257b6c717b393d141811b39b9  download/mail-notification-5.0-eelfix.diff

Added: trunk/geektoys/mail-notification/files/mail-notification-5.0-eelfix.diff
==============================================================================
--- (empty file)
+++ trunk/geektoys/mail-notification/files/mail-notification-5.0-eelfix.diff	Sun Feb  3 14:28:14 2008
@@ -0,0 +1,66 @@
+--- mail-notification-5.0/src/mn-maildir-mailbox-backend.c.orig	2008-01-04 17:03:57.000000000 +0100
++++ mail-notification-5.0/src/mn-maildir-mailbox-backend.c	2008-01-31 20:47:10.000000000 +0100
+@@ -161,7 +161,7 @@
+       {
+ 	char *filename;
+ 
+-	filename = eel_uri_get_basename(info_uri);
++	filename = mn_vfs_uri_get_basename(info_uri);
+ 	if (filename)
+ 	  {
+ 	    if (filename[0] != '.')
+--- mail-notification-5.0/src/mn-mh-mailbox-backend.c.orig	2008-01-04 17:03:57.000000000 +0100
++++ mail-notification-5.0/src/mn-mh-mailbox-backend.c	2008-01-31 20:46:49.000000000 +0100
+@@ -191,7 +191,7 @@
+       {
+ 	char *filename;
+ 
+-	filename = eel_uri_get_basename(info_uri);
++	filename = mn_vfs_uri_get_basename(info_uri);
+ 	if (filename)
+ 	  {
+ 	    if (! strcmp(filename, SEQUENCES_FILE) || mn_str_isnumeric(filename))
+--- mail-notification-5.0/src/mn-sylpheed-mailbox-backend.c.orig	2008-01-04 17:03:58.000000000 +0100
++++ mail-notification-5.0/src/mn-sylpheed-mailbox-backend.c	2008-01-31 20:46:57.000000000 +0100
+@@ -180,7 +180,7 @@
+       {
+ 	char *filename;
+ 
+-	filename = eel_uri_get_basename(info_uri);
++	filename = mn_vfs_uri_get_basename(info_uri);
+ 	if (filename)
+ 	  {
+ 	    /*
+--- mail-notification-5.0/src/mn-vfs.c.orig	2008-01-04 16:40:15.000000000 +0100
++++ mail-notification-5.0/src/mn-vfs.c	2008-01-31 20:45:31.000000000 +0100
+@@ -335,3 +335,21 @@
+   g_set_error(err, 0, 0, "%s", gnome_vfs_result_to_string(result));
+   return FALSE;
+ }
++
++char *
++mn_vfs_uri_get_basename (const char *text_uri)
++{
++  GnomeVFSURI *uri;
++  char *name;
++
++  g_return_val_if_fail(text_uri != NULL, NULL);
++
++  uri = gnome_vfs_uri_new(text_uri);
++  if (! uri)
++    return NULL;
++
++  name = gnome_vfs_uri_extract_short_name(uri);
++  gnome_vfs_uri_unref(uri);
++
++  return name;
++}
+--- mail-notification-5.0/src/mn-vfs.h.orig	2008-01-04 16:40:16.000000000 +0100
++++ mail-notification-5.0/src/mn-vfs.h	2008-01-31 20:45:42.000000000 +0100
+@@ -54,4 +54,6 @@
+ 
+ gboolean mn_vfs_result_to_g_error (GnomeVFSResult result, GError **err);
+ 
++char *mn_vfs_uri_get_basename (const char *text_uri);
++
+ #endif /* _MN_VFS_H */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]