Update of /cvsroot/gtkpod/gtkpod/scripts
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv19952/scripts

Modified Files:
        sync-evolution.sh 
Log Message:
        * scripts/sync-evolution: make syncing of contacts containing
          pictures possible. Thanks to Lars Friedrichs.



Index: sync-evolution.sh
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/scripts/sync-evolution.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- sync-evolution.sh   12 Jun 2005 08:41:46 -0000      1.2
+++ sync-evolution.sh   5 Apr 2007 12:33:59 -0000       1.3
@@ -45,6 +45,9 @@
 #
 # 2004/12/15 (Jorg Schuler <jcsjcs at users dot sourceforge dot net>):
 # Split evolution support into a new file.
+#
+# 2007/04/02 (Jorg Schuler <jcsjcs at users dot sourceforge dot net>):
+# Allow syncing of contacts containing pictures. Thanks to Lars Friedrichs.
 
 
 # overwrite default settings with optional command line arguments
@@ -88,5 +91,5 @@
 # remove all empty lines and recode if necessary
 echo -n "Syncing iPod ... [Contacts] "
 # Redirect STDERR to avoid the "FIXME : wait for completion unimplemented" 
warning
-evolution-addressbook-export 2>&1 | grep -v '^[[:space:]]$\|^$' | $RECODE > 
$IPOD_MOUNT/Contacts/evolution
+evolution-addressbook-export 2>&1 | grep -v '^[[:space:]]$\|^$' | $RECODE | 
sed -e "s/PHOTO;ENCODING=b;TYPE=\"X-EVOLUTION-UNKNOWN\"/PHOTO;BASE64/g" > 
$IPOD_MOUNT/Contacts/evolution
 echo "done!"


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to