Hi Brent,

5.  I forgot to mention.  I'm using Debian 12 with GNOME and on that, both
libsndfile and GTK3 break quickplot; though "apt install quickplot" works,
but it installs a broken program.  I can't test your fix very easily on my
system.  I'd rather refactor quickplot than downgrade my OS. (ya, I know,
VMs, but I worry about slow displays and lots of unknowns ...; and VMs turn
me off in general) GTK3 uses a Wayland Display (on Debain 12 GNOME) and the
X11/wayland wrapper stuff seems to be broken.   You see, quickplot uses raw
libX11 code to get more speed than that is gotten from the cairo/x11
wrapper crap in GDK (GTK3), on older systems.   My refactoring will use
WaylandDisplay and not libX11, and that promises to be much faster than
libX11 ever was.   Wayland should be better and faster, but it has been a
long time coming; and has totally broken lots of my code.
GdkWaylandDisplay (GTK3 sub-library) is now giving me pain...   I feel that
the GTK3 and GTK4 developers are sadists.

Linus is talking about my pain in this video:
https://www.youtube.com/watch?v=Pzl1B7nB9Kc


Thanks again for your help.  Very helpful feedback.

cheers
lance


On Sun, Jul 9, 2023 at 1:29 PM Lance Arsenault <lance...@vt.edu> wrote:

>
> Hi Brent,
>
> 1. First thank you for submitting this bug ticket.  I'm not sure if I have
> write access to the debian bug system, but we'll see.
>
> 2.  I'm the sole downstream developer of quickplot.  quickplot as
> distributed by Debian GNU/Linux was pretty cool stuff.  It currently has
> some package dependencies that have broken it.  In particular, libsndfile
> and GTK3.  And so, quickplot is in need of refactoring, maybe dropping the
> libsndfile dependency and removing deprecated GTK3 API usage.  As it turns
> out, I just happened to have released (alpha) a much larger software
> package that kind-of needs a "quickplot" like tool to help my current
> work.  So I need to fix quickplot for my own use.  I have not used it in a
> while.
>
> 3. I looked at your bio.  We seem to have a little bit of overlap in
> professional interests,  my CV is at http://107.191.96.171/cv.html ,
> sorry it's http without https yet.
>
> 4. My new alpha software package is at
> https://github.com/lanceman2/quickstream  , you might find it interesting.
>
> cheers
> lance
>
>
> On Fri, Jul 7, 2023 at 11:30 PM Brent Roman <br...@mbari.org> wrote:
> >
> > Package: quickplot
> > Version: 1.0.1~rc-1+b3
> >
> > Any attempt to read an input file or pipe fails with the error message:
> >
> > Failed to read file /home/brent/quickplot/plot.dat: lseek() failed
> >
> > A workaround is the link the quickplot binary with the upstream
> > libsndfile-1.0.28
> > rather than the libsndfile-1.0.31 packaged with Debian 11
> >
> > For instance, after installing libsndfile-1.0.28 in /usr/local/lib,
> > quickplot
> > will work if started with this shell script:
> >
> > #!/bin/sh #force linkage with our local version of libsndfile
> > # (1.0.28 rather than Debian's 1.0.31)
> > LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH exec /usr/bin/quickplot
> "$@"
> >
> > I am using Debian 11 on x86 (tested both 32 or 64-bit) with various
> > Linux 5.x kernels.
> >
> > --
> >   Brent Roman                                   MBARI
> >   Software Engineer               Tel: (831) 775-1808
> >   mailto:br...@mbari.org  http://www.mbari.org/~brent
> >
>

Reply via email to