Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/editors
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28115

Modified Files:
        bluefish.info bluefish.patch 
Log Message:
Backported patch from cvs to delete backup project file on close depending on 
preferences, as for normal files

Index: bluefish.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/editors/bluefish.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- bluefish.info       20 Feb 2006 07:23:40 -0000      1.5
+++ bluefish.info       21 Feb 2006 08:07:33 -0000      1.6
@@ -2,7 +2,7 @@
 Package: bluefish%type_pkg[bluefish]
 Type: bluefish (. -gnome2 -gnomevfs2)
 Version: 1.0.4
-Revision: 1022
+Revision: 1023
 Source: http://pkedu.fbt.eitn.wau.nl/~olivier/downloads/bluefish-%v.tar.bz2
 Source-MD5: 8d5c1b7315cdc935aa024954093d2b32
 Depends: aspell-shlibs (>= 0.50.5-1002), default-icon-theme, gettext (>= 
0.10.40-19), glib2 (>= 2.6.6-1113), glib2-shlibs (>= 2.6.6-1113), 
gnome-icon-theme (>= 1.2.3-15), libjpeg-shlibs (>= 6b-16), libtiff-shlibs (>= 
3.6.1-4), pango1-xft2 (>= 1.6.0-1002), pango1-xft2-shlibs (>= 1.6.0-1002), 
pcre-shlibs (>= 4.5-1), popt-shlibs (>= 1.7-5), libxml2-shlibs (>= 
2.6.22-1002), libxml2-bin (>= 2.6.22-1002), shared-mime-info (>= 0.14-7), 
atk1-shlibs (>= 1.6.1-1003), libpng3-shlibs (>= 1:1.2.8-1), gtk+2 (>= 
2.4.9-1009), gtk+2-shlibs (>= 2.4.9-1009), libiconv (>= 1.9.1-11), x11, 
(%type_raw[bluefish] = -gnomevfs2) gnome-base, (%type_raw[bluefish] = -gnome2) 
gnome-base, (%type_raw[bluefish] = -gnomevfs2) gnome-mime-data (>= 2.4.1-5), 
(%type_raw[bluefish] = -gnome2) gnome-mime-data (>= 2.4.1-5), 
(%type_raw[bluefish] = -gnomevfs2) libidl2-shlibs (>= 0.8.3-1002), 
(%type_raw[bluefish] = -gnome2) libidl2-shlibs (>= 0.8.3-1002), 
(%type_raw[bluefish] = -gnomevfs2) orbit2 (>= 2.10.3-1008), (%typ
 e_raw[bluefish] = -gnome2) orbit2 (>= 2.10.3-1008), (%type_raw[bluefish] = 
-gnomevfs2) orbit2-shlibs (>= 2.10.3-1008), (%type_raw[bluefish] = -gnome2) 
orbit2-shlibs (>= 2.10.3-1008), (%type_raw[bluefish] = -gnomevfs2) gconf2 (>= 
2.6.3-1011), (%type_raw[bluefish] = -gnome2) gconf2 (>= 2.6.3-1011), 
(%type_raw[bluefish] = -gnomevfs2) gconf2-shlibs (>= 2.6.3-1011), 
(%type_raw[bluefish] = -gnome2) gconf2-shlibs (>= 2.6.3-1011), 
(%type_raw[bluefish] = -gnomevfs2) libbonobo2 (>= 2.6.2-1009), 
(%type_raw[bluefish] = -gnome2) libbonobo2 (>= 2.6.2-1009), 
(%type_raw[bluefish] = -gnomevfs2) libbonobo2-shlibs (>= 2.6.2-1009), 
(%type_raw[bluefish] = -gnome2) libbonobo2-shlibs (>= 2.6.2-1009), 
(%type_raw[bluefish] = -gnomevfs2) gnome-vfs2 (>= 2.6.1.1-1017), 
(%type_raw[bluefish] = -gnome2) gnome-vfs2 (>= 2.6.1.1-1017), 
(%type_raw[bluefish] = -gnomevfs2) gnome-vfs2-shlibs (>= 2.6.1.1-1017), 
(%type_raw[bluefish] = -gnome2) gnome-vfs2-shlibs (>= 2.6.1.1-1017), 
(%type_raw[bluefish] = -gnome2) au
 diofile-shlibs, (%type_raw[bluefish] = -gnome2) audiofile-bin, 
(%type_raw[bluefish] = -gnome2) esound (>= 0.2.35-8), (%type_raw[bluefish] = 
-gnome2) esound-bin (>= 0.2.35-8), (%type_raw[bluefish] = -gnome2) 
esound-common (>= 0.2.35-8), (%type_raw[bluefish] = -gnome2) esound-shlibs (>= 
0.2.35-8), (%type_raw[bluefish] = -gnome2) libart2-shlibs (>= 2.3.16-3), 
(%type_raw[bluefish] = -gnome2) libgnome2 (>= 2.6.1.2-1021), 
(%type_raw[bluefish] = -gnome2) libgnome2-shlibs (>= 2.6.1.2-1021), 
(%type_raw[bluefish] = -gnome2) libglade2-shlibs (>= 2.3.6-1017), 
(%type_raw[bluefish] = -gnome2) libgnomecanvas2 (>= 2.6.1.1-1008), 
(%type_raw[bluefish] = -gnome2) libgnomecanvas2-shlibs (>= 2.6.1.1-1008),  
(%type_raw[bluefish] = -gnome2) gnome-keyring-shlibs (>= 0.2.1-1004), 
(%type_raw[bluefish] = -gnome2) gnome-keyring (>= 0.2.1-1004), 
(%type_raw[bluefish] = -gnome2) libbonoboui2 (>= 2.6.1-1010), 
(%type_raw[bluefish] = -gnome2) libbonoboui2-shlibs (>= 2.6.1-1010), 
(%type_raw[bluefish] = -gnome
 2) libgnomeui2 (>= 2.6.1.1-1010), (%type_raw[bluefish] = -gnome2) 
libgnomeui2-shlibs (>= 2.6.1.1-1010), x11-shlibs
@@ -94,6 +94,8 @@
  Patch for size of files in src/document.c which was not
  correct on Mac. (Dirty hack at the moment, will b improved
  for the next release.
+ Patch for initialisation of aspell dictionary
+ Patch for deletion of backup project file on close.
  Added bind-at-load flag for libiconv-libintl conflicts. 
  Patching fr.po file (upstream version is bogus)
  <<

Index: bluefish.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/editors/bluefish.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- bluefish.patch      20 Feb 2006 05:30:35 -0000      1.2
+++ bluefish.patch      21 Feb 2006 08:07:33 -0000      1.3
@@ -46,6 +46,81 @@
        DEBUG_MSG("spell_start, default 
lang=%s\n",main_v->props.spell_default_lang);
        /*
         * it is unclear from the manual if aspell supports utf-8 in the
+diff -Naur bluefish-1.0.4/src/project.c bluefish-1.0.4-new/src/project.c
+--- bluefish-1.0.4/src/project.c       2005-05-30 22:48:41.000000000 +0200
++++ bluefish-1.0.4-new/src/project.c   2006-02-21 08:31:06.000000000 +0100
+@@ -1,7 +1,7 @@
+ /* Bluefish HTML Editor
+  * project.c - project functionality
+  *
+- * Copyright (C) 2003-2004 Olivier Sessink
++ * Copyright (C) 2003-2006 Olivier Sessink
+  *
+  * This program is free software; you can redistribute it and/or modify
+  * it under the terms of the GNU General Public License as published by
+@@ -15,25 +15,27 @@
+  *
+  * You should have received a copy of the GNU General Public License
+  * along with this program; if not, write to the Free Software
+- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
++ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, 
USA.
+  */
++
+ /* #define DEBUG */
+ 
+ #include <gtk/gtk.h>
+-#include <string.h>
+ #include <stdlib.h>
++#include <string.h>
++#include <unistd.h>    /* unlink() */
+ 
+ #include "bluefish.h"
+ #include "project.h"
+-#include "stringlist.h"
+-#include "gui.h"
+-#include "document.h"
+-#include "gtk_easy.h"
+-#include "rcfile.h"
+ #include "bf_lib.h"
++#include "bookmark.h"
++#include "document.h"
+ #include "filebrowser.h"
++#include "gtk_easy.h"
++#include "gui.h"
+ #include "menu.h"
+-#include "bookmark.h"
++#include "rcfile.h"
++#include "stringlist.h"
+ 
+ static void free_session(Tsessionvars *session) {
+       free_stringlist(session->classlist);
+@@ -390,11 +392,26 @@
+       }
+       /* test if we should save */
+       if (!dont_save) {
++              gchar *backupfile = NULL;
+               if (!project_save(bfwin, FALSE)) {
+                       DEBUG_MSG("project_save failed, returning\n");
+                       return FALSE;
+               }
+               add_to_recent_list(bfwin,bfwin->project->filename, TRUE, TRUE);
++              
++        if (main_v->props.backup_cleanuponclose) {
++            backupfile = g_strconcat (bfwin->project->filename, 
main_v->props.backup_filestring, NULL);
++            if (file_exists_and_readable(backupfile)) {
++                gchar * ondiskencodingbckup = 
get_filename_on_disk_encoding(backupfile);
++#ifdef HAVE_GNOME_VFS
++                gnome_vfs_unlink(ondiskencodingbckup);
++#else
++                      unlink(ondiskencodingbckup);                            
++#endif
++                g_free (ondiskencodingbckup);
++            }
++            g_free (backupfile);
++        }
+       }
+       bfwin_close_all_documents(bfwin, TRUE);
+       if (!test_only_empty_doc_left(bfwin->documentlist)) {
 diff -Naur bluefish-1.0.4/po/fr.po bluefish-1.0.4-new/po/fr.po
 --- bluefish-1.0.4/po/fr.po    2005-08-28 18:28:49.000000000 +0200
 +++ bluefish-1.0.4-new//po/fr.po       2006-02-17 23:15:43.000000000 +0100



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to