]> git.eshelyaron.com Git - emacs.git/commitdiff
Gnus: Update the header format of icon data for the most recent icontopbm program.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 2 Dec 2011 04:00:32 +0000 (04:00 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 2 Dec 2011 04:00:32 +0000 (04:00 +0000)
lisp/gnus/ChangeLog
lisp/gnus/compface.el
lisp/gnus/gnus-art.el

index b517c81b2b930c0e67f7ab9cc6c60096d407d5dd..fbfcda57b53d6f08019a2968fd1cbeee30725fcf 100644 (file)
@@ -1,3 +1,9 @@
+2011-12-02  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * 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  <yamaoka@jpl.org>
 
        * gnus-msg.el (gnus-inews-do-gcc):
index 2a2383777cbb797836b50648ade545c2ede5bdfe..e132f736269d7b63370a81b2562a7efd5826453d 100644 (file)
@@ -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.
index 60cd369875dee9b902eb0c5fd850033314adedc7..555c715bc2f7d853ea3d5baf2a4deea3ca4c56eb 100644 (file)
@@ -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."