Gnus development mailing list
 help / color / mirror / Atom feed
* compface-1.2
@ 2000-05-12 13:15 Katsumi Yamaoka
  2000-05-12 14:30 ` compface-1.2 Shenghuo ZHU
  0 siblings, 1 reply; 3+ messages in thread
From: Katsumi Yamaoka @ 2000-05-12 13:15 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 252 bytes --]

Does anyone know who is the maintainer of compface-1.2 package?
Shenghuo?  I would like to give notice that the option "-X" of
uncompface does not work.  If it works, it might make Gnus display
X-Face a little bit faster.  The patches for it follows.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: compface-1.2.patch --]
[-- Type: text/x-patch, Size: 392 bytes --]

--- compface-1.2/uncmain.c~	Fri Aug 20 04:10:23 1999
+++ compface-1.2/uncmain.c	Fri Dec 24 02:27:53 1999
@@ -48,8 +48,6 @@
 int outfile   = 1;
 char *outname = "<stdout>";
 
-int xbitmap=0;
-
 /* basename of executable */
 char *cmdname;
 
@@ -84,7 +82,7 @@
 
   if (argc > 1 && !strcmp(argv[1], "-X"))
     {
-      xbitmap++;
+      compface_xbitmap++;
       argc--;
       argv++;
     }

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: Gnus.patch --]
[-- Type: text/x-patch, Size: 1959 bytes --]

--- gnus-art.el~	Sun May  7 21:42:54 2000
+++ gnus-art.el	Fri May 12 13:03:45 2000
@@ -203,7 +203,7 @@
 	   (or (image-type-available-p 'xpm)
 	       (image-type-available-p 'xbm)))
       'gnus-article-display-xface
-    "{ echo '/* Width=48, Height=48 */'; uncompface; } | icontopbm | display -")
+    "uncompface -X | 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."
--- gnus-ems.el~	Sun May  7 21:42:54 2000
+++ gnus-ems.el	Fri May 12 13:03:45 2000
@@ -209,10 +209,9 @@
 
 (defun gnus-article-display-xface (beg end)
   "Display an XFace header from between BEG and END in the current article.
-This requires support images in your Emacs and the external programs
-`uncompface', `icontopbm' and `ppmtoxbm'.  On a GNU/Linux system these
-might be in packages with names like `compface' or `faces-xface' and
-`netpbm' or `libgr-progs', for instance.
+This requires support images in your Emacs and the external program
+`uncompface'.  On a GNU/Linux system this might be in package with names like
+`compface' or `faces-xface', for instance.
 
 This function is for Emacs 21+.  See `gnus-xmas-article-display-xface'
 for XEmacs."
@@ -235,15 +234,7 @@
 	      (insert data)
 	      (and (eq 0 (call-process-region (point-min) (point-max)
 					      "uncompface"
-					      'delete '(t nil)))
-		   (goto-char (point-min))
-		   (progn (insert "/* Width=48, Height=48 */\n") t)
-		   (eq 0 (call-process-region (point-min) (point-max)
-					      "icontopbm"
-					      'delete '(t nil)))
-		   (eq 0 (call-process-region (point-min) (point-max)
-					      "pbmtoxbm"
-					      'delete '(t nil)))
+					      'delete '(t nil) nil "-X"))
 		   (setq image (create-image (buffer-string) 'xbm t)))))
 	  (ring-insert gnus-article-xface-ring-internal (cons data image))))
       (when image

[-- Attachment #4: Type: text/plain, Size: 95 bytes --]

I'm not sure whether Gnus does work under Emacs 21+. :-p
-- 
Katsumi Yamaoka <yamaoka@jpl.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compface-1.2
  2000-05-12 13:15 compface-1.2 Katsumi Yamaoka
@ 2000-05-12 14:30 ` Shenghuo ZHU
  2000-05-15  0:09   ` compface-1.2 Katsumi Yamaoka
  0 siblings, 1 reply; 3+ messages in thread
From: Shenghuo ZHU @ 2000-05-12 14:30 UTC (permalink / raw)


>>>>> "Katsumi" == Katsumi Yamaoka <yamaoka@jpl.org> writes:

Katsumi> Does anyone know who is the maintainer of compface-1.2
Katsumi> package?  Shenghuo?  I would like to give notice that the
Katsumi> option "-X" of uncompface does not work.  If it works, it
Katsumi> might make Gnus display X-Face a little bit faster.  The
Katsumi> patches for it follows.

The maintainer is Ken Yap <ken.yap@acm.org>.

-- 
Shenghuo



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compface-1.2
  2000-05-12 14:30 ` compface-1.2 Shenghuo ZHU
@ 2000-05-15  0:09   ` Katsumi Yamaoka
  0 siblings, 0 replies; 3+ messages in thread
From: Katsumi Yamaoka @ 2000-05-15  0:09 UTC (permalink / raw)


>>>>> In <2n4s83alji.fsf@tiger.jia.vnet> 
>>>>>	Shenghuo ZHU <zsh@cs.rochester.edu> wrote:

Katsumi> Does anyone know who is the maintainer of compface-1.2
Katsumi> package?  Shenghuo?

ZSH> The maintainer is Ken Yap <ken.yap@acm.org>.

Thank you.  I've tried the address <ken@acm.org> in the file README,
but it is for a different person.
-- 
Katsumi Yamaoka <yamaoka@jpl.org>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-05-15  0:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-12 13:15 compface-1.2 Katsumi Yamaoka
2000-05-12 14:30 ` compface-1.2 Shenghuo ZHU
2000-05-15  0:09   ` compface-1.2 Katsumi Yamaoka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).