Package: sumo-tools
Version: 1.1.0+dfsg1-1
Severity: normal
Tags: patch

The file usr/share/sumo/tools/webWizard/index.html is missing in the
sumo-tools package, resulting in a file-not-found error when you run
the script.

It is present in the upstream orig source tarball and it was present
in the previous 0.32 sumo source and built sumo-tools package.

The issue would seem to be the line:
rm -rf ./tools/webWizard/index.html
in debian.rules (after "#Clean some unneeded files and fix permissions")
This is new since 0.32, so seems deliberate, but I can't see why you'd 
want to remove this file.

All the other files that get removed in there no longer seem to
exist in the orig tarball, so all these deletions seem redundant.

Attached is a patch that fixes the index.html issue. 
qdiff -Nru sumo-1.1.0+dfsg1/debian/changelog sumo-1.1.0+dfsg1/debian/changelog
--- sumo-1.1.0+dfsg1/debian/changelog   2019-02-03 09:17:52.000000000 +0000
+++ sumo-1.1.0+dfsg1/debian/changelog   2019-03-22 02:51:34.000000000 +0000
@@ -1,3 +1,11 @@
+sumo (1.1.0+dfsg1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Stop deleting webWizard index.html (and other files already gone)
+  * Clean docs-build files
+
+ -- Wookey <woo...@debian.org>  Fri, 22 Mar 2019 02:51:34 +0000
+
 sumo (1.1.0+dfsg1-1) unstable; urgency=medium
 
   [ Michael Behrisch ]
diff -Nru sumo-1.1.0+dfsg1/debian/rules sumo-1.1.0+dfsg1/debian/rules
--- sumo-1.1.0+dfsg1/debian/rules       2019-02-03 09:05:51.000000000 +0000
+++ sumo-1.1.0+dfsg1/debian/rules       2019-03-22 02:50:44.000000000 +0000
@@ -26,15 +26,15 @@
        $(MAKE) pydoc
        #Clean some unneeded files and fix permissions
        find ./tools -name '*.pyc' -print0 | xargs -0 rm -f
-       rm -rf ./tools/contributed/traci4j/COPYING
-       rm -rf ./tools/contributed/trafficmodeler/src/resources/icons/Thumbs.db
-       rm -rf ./tools/contributed/traci4j/.gitignore
-       rm -rf ./tools/contributed/traas/license.txt
-       rm -rf ./tools/contributed/traas/javadoc
-       rm -rf ./tools/contributed/traci4matlab/license.txt
-       rm -rf ./tools/contributed/trafficmodeler/LICENSE.txt
-       rm -rf ./tools/webWizard/index.html
-       rm -rf ./tools/game/sounds/license.txt
+       #rm -rf ./tools/contributed/traci4j/COPYING
+       #rm -rf ./tools/contributed/trafficmodeler/src/resources/icons/Thumbs.db
+       #rm -rf ./tools/contributed/traci4j/.gitignore
+       #rm -rf ./tools/contributed/traas/license.txt
+       #rm -rf ./tools/contributed/traas/javadoc
+       #rm -rf ./tools/contributed/traci4matlab/license.txt
+       #rm -rf ./tools/contributed/trafficmodeler/LICENSE.txt
+       #rm -rf ./tools/webWizard/index.html
+       #rm -rf ./tools/game/sounds/license.txt
 
 override_dh_auto_build-arch:
        dh_auto_build -a

Reply via email to