[Pkg-octave-devel] graceplot building problem
Rafael Laboissiere
rafael at debian.org
Fri Jun 20 21:21:56 UTC 2008
* Thomas Weber <thomas.weber.mail at gmail.com> [2008-06-20 14:35]:
> Am Mittwoch, den 18.06.2008, 16:29 +0200 schrieb Rafael Laboissiere:
> > Okay, I will check this again over the weekend.
>
> dget -x -u http://tw-math.de/~weber/debian/unstable/octave-graceplot_1.0.5-1.dsc
>
> should give you the sources I used. The debian/ directory still contains
> the .svn stuff, so you can work normally in there.
Thanks but I found where the problem comes from. It is caused by the
presence of PKG_ADD when the command "pkg -verbose -nodeps install ." is
executed. In PKG_ADD, the command toggle_grace_use is called (what, BTW, is
essentially wrong, IMO) and that only works if a X display is available.[B
I can build graceplot if I aplly the following patch to the
octave-pkg-dev package:
--- octave-pkg.mk.in (revision 1945)
+++ octave-pkg.mk.in (working copy)
@@ -54,10 +54,10 @@
[pwd(),'/$(debpkg)/$(bpath)']); \
pkg ('local_list', [pwd(),'.']); \
pkg ('global_list', [pwd(),'.']); \
+ pkg -verbose -nodeps install .; \
if (glob ('PKG_ADD.bak')), \
movefile ('PKG_ADD.bak', 'PKG_ADD'); \
- endif; \
- pkg -verbose -nodeps install ."
+ endif;"
$(shrpkg)/dh/octave-pkg-helper
dh_install --package=$(package)
I think the movefile command came before "pkg install" because PKG_ADD was
expected to be also installed. However, it seems that the use of PKG_ADD is
now deprecated.
If nobody objects, I will patch graceplot to include the autoload calls
directly in the source files. Also, I will patch octave-pkg-dev as above
and upload it.
--
Rafael
More information about the Pkg-octave-devel
mailing list