[sumo] 13/18: Use system packaged OpenLayers.js.
Anton Gladky
gladk at moszumanska.debian.org
Tue Jan 12 21:37:12 UTC 2016
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository sumo.
commit 5e839de3b9ffea4dca2c60fe9d49e678fe1813c9
Author: Anton Gladky <gladk at debian.org>
Date: Tue Jan 12 20:09:18 2016 +0100
Use system packaged OpenLayers.js.
---
debian/control | 1 +
debian/patches/50_use_system_openlayers.patch | 15 +++++++++++++++
debian/patches/series | 1 +
3 files changed, 17 insertions(+)
diff --git a/debian/control b/debian/control
index 3626bc4..b25e80e 100644
--- a/debian/control
+++ b/debian/control
@@ -51,6 +51,7 @@ Description: Simulation of Urban MObility (SUMO), documentation and examples
Package: sumo-tools
Architecture: all
Depends: jarwrapper,
+ libjs-openlayers,
${python:Depends},
${misc:Depends}
Recommends: sumo
diff --git a/debian/patches/50_use_system_openlayers.patch b/debian/patches/50_use_system_openlayers.patch
new file mode 100644
index 0000000..5e9e4ea
--- /dev/null
+++ b/debian/patches/50_use_system_openlayers.patch
@@ -0,0 +1,15 @@
+Description: Use system packaged OpenLayers.js
+Author: Anton Gladky <gladk at debian.org>
+Last-Update: 2015-01-12
+
+--- sumo-0.25.0+dfsg1.orig/tools/webWizard/index.html
++++ sumo-0.25.0+dfsg1/tools/webWizard/index.html
+@@ -5,7 +5,7 @@
+ <meta charset="utf-8" />
+ <link rel="stylesheet" href="style.css" />
+ <script type="text/javascript" src="lib.js"></script>
+- <script type="text/javascript" src="http://www.openlayers.org/api/OpenLayers.js"></script>
++ <script type="text/javascript" src="/usr/share/javascript/openlayers/OpenLayers.js"></script>
+ <script type="text/javascript" src="script.js"></script>
+ </head>
+ <body>
diff --git a/debian/patches/series b/debian/patches/series
index dc1fa94..c6f0819 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
20_fix_scripts_headers.patch
30_add_missing_link.patch
40_drop_some_buildflags.patch
+50_use_system_openlayers.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sumo.git
More information about the debian-science-commits
mailing list