From: Gerd Stolpmann <info@gerd-stolpmann.de>
To: malc <av1474@comtv.ru>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] [ANNOUNCE] llpp v11
Date: Tue, 28 Feb 2012 20:14:53 +0100 [thread overview]
Message-ID: <1330456493.2826.64.camel@thinkpad> (raw)
In-Reply-To: <alpine.LNX.2.00.1202281044340.1624@linmac>
Am Dienstag, den 28.02.2012, 11:13 +0400 schrieb malc:
> Hello,
>
> New version of llpp is now available (tagged v11) at
> http://repo.or.cz/w/llpp.git
>
> Blurb:
>
> llpp a graphical PDF viewer which aims to superficially resemble
> less(1)
>
> Changes:
>
> * Removed dependency on GLUT
> (consequently native Windows and OS X support is also gone)
> (There's a win32 a binary, built just before GLUT removal at:
> http://boblycat.org/~malc/llpp.zip - 3857425 bytes)
> * User modifiable key mappings
> * Keyboard link navigation
> * Probably more, since:
>
> llpp$ git diff --stat v10..v11 | tail -1
> 14 files changed, 4203 insertions(+), 1461 deletions(-)
>
> (That said: keysym2ucs.c | 849 +++++++++++++++++++
> IOW 849 added lines is keysym to unicode conversion code by by Markus G. Kuhn)
>
> How to build/run: http://www.youtube.com/watch?v=9xtIqD_mHRw
A writeup would be more impressive.
> To run it one must have GLX capable X server, chances are good that if
> the video card in ones machine is less than 10 years old things will run.
>
> Known to run with:
> RV280 (aka Radeon 9200) Mesa/linux/ppc
> RV730 (aka Radeon HD 4650) Mesa/freebsd/x86[_64?]
> ???? (aka ???) Mesa/x86[_64?] [1]
> NV94 (aka GeForce 9600 GT) nouveau (Gallium 0.4 on NV94)/Mesa/x86_64 [2]
> binary blob by NVidia
>
> (FWIW the card in this machine (rv280) is more than ten years old)
It would be more interesting whether it works with normal office-type
graphics, e.g. integrated Intel cards with only limited hardware
acceleration. Just wanted to give it a try on my laptop, but building
llpp seems to be non-trivial.
Gerd
> [1] 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
>
> [2] Caveat emptor: with nouveau when window manager resizes windows opaquely
> things might get garbled (same thing happens with GLUT based version too)
> Workarounds:
> a. Instruct the WM to not do opaque resizes
> b. LIBGL_ALWAYS_INDIRET=1 llpp [args]
> c.
> diff --git a/link.c b/link.c
> index 10a9eba..8a6f872 100644
> --- a/link.c
> +++ b/link.c
> @@ -2725,7 +2725,7 @@ CAMLprim value ml_glx (value win_v)
> caml_failwith ("glXChooseVisual");
> }
>
> - glx.ctx = glXCreateContext (glx.dpy, visual, NULL, True);
> + glx.ctx = glXCreateContext (glx.dpy, visual, NULL, False);
> if (!glx.ctx) {
> XCloseDisplay (glx.dpy);
> XFree (visual);
>
>
> --
> mailto:av1474@comtv.ru
>
--
------------------------------------------------------------
Gerd Stolpmann, Darmstadt, Germany gerd@gerd-stolpmann.de
Creator of GODI and camlcity.org.
Contact details: http://www.camlcity.org/contact.html
Company homepage: http://www.gerd-stolpmann.de
*** Searching for new projects! Need consulting for system
*** programming in Ocaml? Gerd Stolpmann can help you.
------------------------------------------------------------
next prev parent reply other threads:[~2012-02-28 19:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-28 7:13 malc
2012-02-28 19:14 ` Gerd Stolpmann [this message]
2012-02-28 19:29 ` Adrien
2012-02-28 19:43 ` malc
2012-02-29 7:57 ` Vu Ngoc San
2012-02-29 8:04 ` malc
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=1330456493.2826.64.camel@thinkpad \
--to=info@gerd-stolpmann.de \
--cc=av1474@comtv.ru \
--cc=caml-list@inria.fr \
/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