>>>>> Anton Gladky <gladky.an...@gmail.com> writes:
>>>>> 2012/7/1 Ivan Shmakov <oneing...@gmail.com>:

 >> Isn't it possible to build a single /usr/bin/gnuplot binary with all
 >> the relevant support for all the graphical interactive terminals
 >> supported by Debian, and then provide the necessary lib/gnuplot/
 >> driver binaries in three separate packages (gnuplot-x11,
 >> gnuplot-wxt, gnuplot-qt)?

 > I do not think so.

        As I've just checked, while the ‘x11’ and ‘qt’ drivers are
        provided as external binaries (under lib/gnuplot/), the ‘wxt’
        one is apparently compiled into the main gnuplot binary itself.

        If I'm right in my guess that the library dependencies of the
        latter on the Qt libraries are superfluous (I hope to check it
        the next week), then that may be one more reason to keep the
        ‘wxt’ driver separate.

        Should my assumptions be right, I'd suggest the binary packages
        to be as follows:

    gnuplot

        provides /usr/bin/gnuplot compiled /with/ wxWidgets;

    gnuplot-nox (or gnuplot-nowx?)

        provides /usr/bin/gnuplot compiled /without/ wxWidgets;

    gnuplot-x11

        provides gnuplot_x11 only; Depends: gnuplot | gnuplot-nox;

    gnuplot-qt

        provides gnuplot_qt only; Depends: gnuplot | gnuplot-nox.

        Also, the layout above could reduce the package sizes somewhat,
        as there would only be two (instead of three) packages holding
        all the share/ stuff.

        Alternatively, share/ could be split off to a single
        gnuplot-common instead.

 > We have now: gnuplot-nox, gnuplot-x11 and gnuplot-qt.  Such structure
 > is clear and no need to add one more gnuplot-wxt.  That is my point
 > of view.

        First of all, I do not contest the clarity.

        Second, the present state of affairs is that the user isn't
        allowed to install the ‘x11’ driver without also installing
        libwxgtk2.8-0, like:

# apt-get install -V -- gnuplot-x11 libwxgtk2.8-0- 
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gnuplot-x11 : Depends: libwxgtk2.8-0 (>= 2.8.12.1) but it is not going to be 
installed
E: Unable to correct problems, you have held broken packages.
# 

        While I believe that the ‘x11’ driver /per se/ is (still)
        perfectly usable without wxWidgets.

-- 
FSF associate member #7257



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to