Last week I helped a friend out with some gnuplot graphs on his SuSE
machine. He asked me why I was typing in the whole filenames in gnuplot
instead of using auto-completion with the "Tab" key. I said, because
gnuplot does not support it. BUT -> On SuSE it does!Back home I tried
it on my sid box, and there is really no auto-completion. Does anybody
know how I can turn that on? What did SuSE do to gnuplot???
thanks
joerg
--
Gib GATES keine Chance!
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
BUt this brings me to another question. now that i have compiled my
pown gnuplot, if gnuplot is upgraded on debian/testing, then apt-get
install does not not download it. I would really like it to download
the new source, compile it with the changes I made and install it, on
the fly. Is there a script that would do this?
Thanks
-sudarshan
Quoting /usr/share/doc/gnuplot/README.Debian:
libreadline
-----------
Yes, the built in readline of gnuplot is bad. However, libreadline
cannot be used instead because it is licensed under the GPL, whereas
gnuplot has special licenses (patches only). Linking those programs
together is forbidden by the GPL. Please don't file bugs telling me to
use libreadline in gnuplot...
--
see shy jo
For this reason I generally build gnuplot from source and add the
necessary config stuff to link to libreadline. Steps, roughly, are:
apt-get install libreadline4
apt-get install libreadline4-dev
cd /usr/local/src
apt-get source gnuplot
cd gnuplot-3.7.3/debian
# Edit the file named "rules" and change
--without-gnu-readline
TO
--with-readline=gnu
cd ..
dpkg-buildpackage
cd ..
dpkg -i gnuplot*3.7.3-1*.deb
Then I go into dselect and put a hold on gnuplot so it doesn't get
upgraded automatically during an "apt-get dist-upgrade".
Of course I don't fully understand all the "GPL implications". I
believe what the Debian gnuplot maintainer means is that it's ok to
use GNU readline library with gnuplot, gnuplot just can't be
distributed that way and so (s)he doesn't distribute it that way with
Debian.
Gary
Correct. You can't take GPL code, link it against non-GPL code (more
specifically code that cannot be distributed under the terms of the GPL;
this means that BSD-minus-advertising-clause and LGPL are not a problem,
for example, but gnuplot's licence is since it imposes additional
restrictions over and above those in the GPL), and distribute the
resulting binary.
However, the GPL explicitly does not cover use, as section 0 says:
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
Cheers,
--
Colin Watson [cjwa...@flatline.org.uk]
> On Fri, Jun 20, 2003 at 04:53:56PM -0600, Gary Hennigan wrote:
> > Joey Hess <jo...@debian.org> writes:
> > > Quoting /usr/share/doc/gnuplot/README.Debian:
> > >
> > > libreadline
> > > -----------
> [...]
> > Of course I don't fully understand all the "GPL implications". I
> > believe what the Debian gnuplot maintainer means is that it's ok to
> > use GNU readline library with gnuplot, gnuplot just can't be
> > distributed that way and so (s)he doesn't distribute it that way with
> > Debian.
>
> Correct. You can't take GPL code, link it against non-GPL code (more
> specifically code that cannot be distributed under the terms of the GPL;
> this means that BSD-minus-advertising-clause and LGPL are not a problem,
> for example, but gnuplot's licence is since it imposes additional
> restrictions over and above those in the GPL), and distribute the
> resulting binary.
What other .debs are in the same situation and would therefore benefit
from a local tweak and rebuild?
Oh, yes, sometimes it IS worth reading the Readme's ... sorry.
> For this reason I generally build gnuplot from source and add the
> necessary config stuff to link to libreadline. Steps, roughly, are:
>
> apt-get install libreadline4
> apt-get install libreadline4-dev
> cd /usr/local/src
> apt-get source gnuplot
> cd gnuplot-3.7.3/debian
> # Edit the file named "rules" and change
> --without-gnu-readline
> TO
> --with-readline=gnu
> cd ..
> dpkg-buildpackage
> cd ..
> dpkg -i gnuplot*3.7.3-1*.deb
Great, that worked for me, too
> Then I go into dselect and put a hold on gnuplot so it doesn't get
> upgraded automatically during an "apt-get dist-upgrade".
Urghh, I hate dselect. It just scares me. However, I'll keep track of it
and reinstall my own .deb when upgrade wants to touch it.
thanks
joerg
--
Gib GATES keine Chance!
| > Then I go into dselect and put a hold on gnuplot so it doesn't get
| > upgraded automatically during an "apt-get dist-upgrade".
|
| Urghh, I hate dselect. It just scares me.
# echo "gnuplot hold" | dpkg --set-selections
-D
--
Even youths grow tired and weary,
and young men stumble and fall;
but those who hope in the Lord
will renew their strength.
They will soar on wings like eagles;
they will run and not grow weary,
they will walk and not be faint.
Isaiah 40:31
http://dman13.dyndns.org/~dman/
> | Urghh, I hate dselect. It just scares me.
>
> # echo "gnuplot hold" | dpkg --set-selections
Yes, I knew such an easy way existed, I was only too lazy to search the
archives...
Thanks, Derrick