caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] [ANNOUNCE] llpp v11
@ 2012-02-28  7:13 malc
  2012-02-28 19:14 ` Gerd Stolpmann
  0 siblings, 1 reply; 6+ messages in thread
From: malc @ 2012-02-28  7:13 UTC (permalink / raw)
  To: caml-list

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

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)

[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

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

* Re: [Caml-list] [ANNOUNCE] llpp v11
  2012-02-28  7:13 [Caml-list] [ANNOUNCE] llpp v11 malc
@ 2012-02-28 19:14 ` Gerd Stolpmann
  2012-02-28 19:29   ` Adrien
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Gerd Stolpmann @ 2012-02-28 19:14 UTC (permalink / raw)
  To: malc; +Cc: caml-list

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.
------------------------------------------------------------


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

* Re: [Caml-list] [ANNOUNCE] llpp v11
  2012-02-28 19:14 ` Gerd Stolpmann
@ 2012-02-28 19:29   ` Adrien
  2012-02-28 19:43   ` malc
  2012-02-29  7:57   ` Vu Ngoc San
  2 siblings, 0 replies; 6+ messages in thread
From: Adrien @ 2012-02-28 19:29 UTC (permalink / raw)
  To: Gerd Stolpmann; +Cc: malc, caml-list

Hi,

On 28/02/2012, Gerd Stolpmann <info@gerd-stolpmann.de> wrote:
> Am Dienstag, den 28.02.2012, 11:13 +0400 schrieb malc:
>> 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.

Recent intel "cards" are actually pretty powerful; like for AMD Fusion
(recent CPU + GPU on the same die), you can play actual 3D games with
them.

Regards,
Adrien Nader

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

* Re: [Caml-list] [ANNOUNCE] llpp v11
  2012-02-28 19:14 ` Gerd Stolpmann
  2012-02-28 19:29   ` Adrien
@ 2012-02-28 19:43   ` malc
  2012-02-29  7:57   ` Vu Ngoc San
  2 siblings, 0 replies; 6+ messages in thread
From: malc @ 2012-02-28 19:43 UTC (permalink / raw)
  To: Gerd Stolpmann; +Cc: caml-list

On Tue, 28 Feb 2012, Gerd Stolpmann wrote:

> 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.

Not sure what you mean by that.

> 
> > 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.

It would be, but i don't have normal office-type graphics, what i have
is aforementioned 10+ years old radeon in a powerpc macmini and NV94 in
the rarely used x86_64 box, the ???? (aka ???) is an Intel card (as
stated bellow) from a friends laptop. Building is very easy actually if
you just do 'sh buildall.sh', you will need OCaml,GCC,sh,wget and unzip.

[..snip..]


-- 
mailto:av1474@comtv.ru

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

* Re: [Caml-list] [ANNOUNCE] llpp v11
  2012-02-28 19:14 ` Gerd Stolpmann
  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
  2 siblings, 1 reply; 6+ messages in thread
From: Vu Ngoc San @ 2012-02-29  7:57 UTC (permalink / raw)
  To: caml-list

Le 28/02/2012 20:14, Gerd Stolpmann a écrit :
> 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
>

I have an "old" (4 years) dell laptop with simple intel card, and it 
works very well.
I must say the compilation is very easy: I just had to call "buildall"

very nice work !

San



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

* Re: [Caml-list] [ANNOUNCE] llpp v11
  2012-02-29  7:57   ` Vu Ngoc San
@ 2012-02-29  8:04     ` malc
  0 siblings, 0 replies; 6+ messages in thread
From: malc @ 2012-02-29  8:04 UTC (permalink / raw)
  To: Vu Ngoc San; +Cc: caml-list

On Wed, 29 Feb 2012, Vu Ngoc San wrote:

> Le 28/02/2012 20:14, Gerd Stolpmann a ?crit :
> > Am Dienstag, den 28.02.2012, 11:13 +0400 schrieb malc:
> > > Hello,

[..snip..]

> 
> I have an "old" (4 years) dell laptop with simple intel card, and it 
> works very well. I must say the compilation is very easy: I just had to 
> call "buildall"

Good to know.

> 
> very nice work !

Thanks.

-- 
mailto:av1474@comtv.ru

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

end of thread, other threads:[~2012-02-29  8:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-28  7:13 [Caml-list] [ANNOUNCE] llpp v11 malc
2012-02-28 19:14 ` Gerd Stolpmann
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

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).