Control: affects 857510 - fityk Control: tags -1 + patch On Wed, Mar 15, 2017 at 01:32:20PM +0100, Andreas Beckmann wrote: > On 2017-03-15 11:33, Dmitry Shachnev wrote: > > This package is not using dh_sphinxdoc, but it is rather linking the files > > manually (and wrongly), therefore it is not a bug in sphinx. > > Thanks for this analysis. It's the same problem in fityk, which also > doesn't use dh_sphinxdoc ... so cloning the bug accordingly. > > 0m42.2s ERROR: FAIL: Broken symlinks: > /usr/share/fityk/html/_static/websupport.js -> > ../../../javascript/sphinxdoc/1.0/websupport.js
Attaching a patch for fityk. -- Dmitry Shachnev
diff -ruN a/debian/control b/debian/control --- a/debian/control 2017-03-15 15:55:39.000000000 +0300 +++ b/debian/control 2017-03-15 15:56:14.000000000 +0300 @@ -34,7 +34,7 @@ Recommends: gnuplot Suggests: - libjs-sphinxdoc + ${sphinxdoc:Depends} Description: general-purpose nonlinear curve fitting and data analysis Fityk is a flexible and portable program for nonlinear fitting of analytical functions (especially peak-shaped) to data (usually experimental data). In diff -ruN a/debian/links b/debian/links --- a/debian/links 2017-03-15 15:55:39.000000000 +0300 +++ b/debian/links 2017-03-15 15:56:54.000000000 +0300 @@ -1,8 +1,3 @@ usr/share/fityk/html usr/share/doc/fityk/html usr/share/fityk/samples usr/share/doc/fityk/examples -usr/share/javascript/sphinxdoc/1.0/doctools.js usr/share/fityk/html/_static/doctools.js -usr/share/javascript/sphinxdoc/1.0/jquery.js usr/share/fityk/html/_static/jquery.js -usr/share/javascript/sphinxdoc/1.0/searchtools.js usr/share/fityk/html/_static/searchtools.js -usr/share/javascript/sphinxdoc/1.0/underscore.js usr/share/fityk/html/_static/underscore.js -usr/share/javascript/sphinxdoc/1.0/websupport.js usr/share/fityk/html/_static/websupport.js usr/share/man/man1/fityk.1.gz usr/share/man/man1/cfityk.1.gz diff -ruN a/debian/rules b/debian/rules --- a/debian/rules 2017-03-15 15:55:39.000000000 +0300 +++ b/debian/rules 2017-03-15 16:00:23.000000000 +0300 @@ -3,7 +3,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: - dh $@ --buildsystem=autoconf --parallel + dh $@ --buildsystem=autoconf --parallel --with sphinxdoc override_dh_auto_configure: dh_auto_configure -- --disable-shared --enable-static @@ -23,3 +23,6 @@ override_dh_compress: dh_compress --exclude=.dat --exclude=.fit + +override_dh_sphinxdoc: + dh_sphinxdoc usr/share/fityk/html
signature.asc
Description: PGP signature