From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: compface-1.2
Date: 12 May 2000 09:15:52 -0400 (EDT) [thread overview]
Message-ID: <yosur9b81v47.fsf@jpl.org> (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>
next reply other threads:[~2000-05-12 13:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-12 13:15 Katsumi Yamaoka [this message]
2000-05-12 14:30 ` compface-1.2 Shenghuo ZHU
2000-05-15 0:09 ` compface-1.2 Katsumi Yamaoka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yosur9b81v47.fsf@jpl.org \
--to=yamaoka@jpl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).