[gnus git] branch master updated: n0-17-413-g1fefa9d =1= Update the header format of icon data for the most recent icontopbm program.

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  1fefa9db20422640251e1b3920278529c9fb7d32 (commit)
      from  eb1db9d188ee90635731a93c0769872ca59b29c0 (commit)


- Log -----------------------------------------------------------------
commit 1fefa9db20422640251e1b3920278529c9fb7d32
Author: Katsumi Yamaoka <[email protected]>
Date:   Fri Dec 2 03:58:56 2011 +0000

    Update the header format of icon data for the most recent icontopbm program.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cc76699..4a4bb0a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2011-12-02  Katsumi Yamaoka  <[email protected]>
+
+	* compface.el (uncompface):
+	* gnus-art.el (gnus-article-x-face-command): Update the header format
+	of icon data for the most recent icontopbm program.
+
 2011-12-01  Katsumi Yamaoka  <[email protected]>
 
 	* gnus-msg.el (gnus-inews-do-gcc):
diff --git a/lisp/compface.el b/lisp/compface.el
index 2a23837..e132f73 100644
--- a/lisp/compface.el
+++ b/lisp/compface.el
@@ -42,7 +42,8 @@ or `faces-xface' and `netpbm' or `libgr-progs', for instance."
 			'delete '(t nil) nil))
 	   (progn
 	     (goto-char (point-min))
-	     (insert "/* Width=48, Height=48 */\n")
+	     (insert "/* Format_version=1, Width=48, Height=48, Depth=1,\
+ Valid_bits_per_item=16 */\n")
 	     ;; I just can't get "icontopbm" to work correctly on its
 	     ;; own in XEmacs.  And Emacs doesn't understand un-raw pbm
 	     ;; files.
diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index 60cd369..555c715 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -268,11 +268,14 @@ This can also be a list of the above values."
       (if (or (gnus-image-type-available-p 'xface)
 	      (gnus-image-type-available-p 'pbm))
 	  'gnus-display-x-face-in-from
-	"{ echo '/* Width=48, Height=48 */'; uncompface; } | icontopbm | ee -")
+	"{ echo \
+'/* Format_version=1, Width=48, Height=48, Depth=1, Valid_bits_per_item=16 */'\
+; uncompface; } | icontopbm | ee -")
     (if (gnus-image-type-available-p 'pbm)
 	'gnus-display-x-face-in-from
-      "{ echo '/* Width=48, Height=48 */'; uncompface; } | icontopbm | \
-display -"))
+      "{ echo \
+'/* Format_version=1, Width=48, Height=48, Depth=1, Valid_bits_per_item=16 */'\
+; uncompface; } | icontopbm | display -"))
   "*String or function to be executed to display an X-Face header.
 If it is a string, the command will be executed in a sub-shell
 asynchronously.  The compressed face will be piped to this command."

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog   |    6 ++++++
 lisp/compface.el |    3 ++-
 lisp/gnus-art.el |    9 ++++++---
 3 files changed, 14 insertions(+), 4 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.