From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q1SJFQF9021292 for ; Tue, 28 Feb 2012 20:15:26 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoYFAF8nTU/U4xEKk2dsb2JhbABDFoJrgiauLSIBAQEBCQkLCRQDJIF3AQEEASNWBQsLGgIjAwICRgMBDQYTCYd6CQemdoQ9jXKBL4hPgnwZEgoCAgMBAgIDBAYPCQMHBxMBCQKFBwMFNAEBBAIGBAMJDwWCHYEWBI0/jV6FNoddgVM X-IronPort-AV: E=Sophos;i="4.73,497,1325458800"; d="scan'208";a="133427548" Received: from moutng.kundenserver.de ([212.227.17.10]) by mail4-smtp-sop.national.inria.fr with ESMTP; 28 Feb 2012 20:15:24 +0100 Received: from office1.lan.sumadev.de (dslb-094-219-222-121.pools.arcor-ip.net [94.219.222.121]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MYJFd-1Rxpp03xRJ-00Uw1e; Tue, 28 Feb 2012 20:14:56 +0100 Received: from [192.168.178.17] (546BF816.cm-12-4d.dynamic.ziggo.nl [84.107.248.22]) by office1.lan.sumadev.de (Postfix) with ESMTPSA id 11450C00CB; Tue, 28 Feb 2012 20:14:54 +0100 (CET) From: Gerd Stolpmann To: malc Cc: caml-list@inria.fr In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Tue, 28 Feb 2012 20:14:53 +0100 Message-ID: <1330456493.2826.64.camel@thinkpad> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:uWAjeGC69hic6W4SWPiUWX37Hrf30rDGAKAARLHfCxP KrtyuxHtu+UGs4m9fnlzJewSCGVR7B8ynNCsMGXAygLBScKpt9 s+lvEsOSoPokCjfTC30aL7R4llrQwdifLjMxOZpmsRMl7IK1iB D9TmSjKuChdBP/ek3OKLe6+lnGAZDEB7VNx03Ptpl68It8D5Mv DVNuydLXjaTtBFoJ5O3qjztLKN6iny4fVHQwPLpv7i9kcDuO6R iUiXFlHVmydX5hZO3hICAQ+pJ+iqzkvTj/qmrYeuuWWZK3A5jv /Kkf2IxzgS7GsB6qQe9P4m/TGO3WNM2GHrZvPv6URXrOH3FBLB gbm+F2OigSSd3KZj5ELa8VTug9ZBkBXHVMRVmm5yH Subject: Re: [Caml-list] [ANNOUNCE] llpp v11 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. ------------------------------------------------------------