Bug#540406: the wxt driver deserves its own package

Ivan Shmakov oneingray at gmail.com
Thu Jul 19 20:18:00 UTC 2012


>>>>> Ivan Shmakov <oneingray at gmail.com> writes:
>>>>> Anton Gladky <gladky.anton at gmail.com> writes:
>>>>> 2012/7/1 Ivan Shmakov <oneingray at 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.

	Unfortunately, it's not the case, as the implementation of the
	‘qt’ terminal (as part of the main Gnuplot binary) itself relies
	on QLocalSocket, and thus depends on the Qt libraries.

	So, I'd like to bring back my original suggestion:

	• the ‘gnuplot’ package is no longer transitional, and contains
	  everything from the former ‘gnuplot-x11’ package, except the
	  ‘gnuplot_x11’ driver binary;

	• the ‘gnuplot-nox’ package is no longer built with
	  ‘--without-x’;

	• the new ‘gnuplot-x11’ package only provides the aforementioned
	  driver binary, and depends on either ‘gnuplot’ or
	  ‘gnuplot-nox’ for the main Gnuplot binary.

	FWIW, I've built the packages as described, and put them there:

http://waterlily.siamics.net/~ivan/mini-dinstall/1gray-misc/amd64/
http://waterlily.siamics.net/~ivan/mini-dinstall/1gray-misc/source/

	A brief testing has revealed no new issues, but I'm yet to
	document my changes properly, and still hope that these changes
	could be accepted for Debian Wheezy.

	TIA.

PS.  Actually, there's a thing I haven't tested so far: should gnuplot
	from gnuplot-nox be started with the DISPLAY environment
	variable set, but without gnuplot-x11 installed, it may fail to
	produce a nice error message.

[…]

-- 
FSF associate member #7257	http://sf-day.org/
deb     http://waterlily.siamics.net/~ivan/mini-dinstall/ 1gray-misc/$(ARCH)/
# deb-src http://waterlily.siamics.net/~ivan/mini-dinstall/ 1gray-misc/source/



More information about the debian-science-maintainers mailing list