[Pkg-javascript-commits] [leaflet-markercluster] 34/49: Fix example file paths during install, and drop coresponding patch 2002.

Jonas Smedegaard js at moszumanska.debian.org
Tue Jan 28 17:54:47 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository leaflet-markercluster.

commit 470f43964f8380d9e745308c4b20ef5bceb4339a
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Mon Nov 4 17:38:10 2013 +0100

    Fix example file paths during install, and drop coresponding patch 2002.
---
 ...02-set-examples-to-use-packaged-libraries.patch | 342 ---------------------
 debian/patches/series                              |   1 -
 debian/rules                                       |   6 +
 3 files changed, 6 insertions(+), 343 deletions(-)

diff --git a/debian/patches/2002-set-examples-to-use-packaged-libraries.patch b/debian/patches/2002-set-examples-to-use-packaged-libraries.patch
deleted file mode 100644
index 9014339..0000000
--- a/debian/patches/2002-set-examples-to-use-packaged-libraries.patch
+++ /dev/null
@@ -1,342 +0,0 @@
-Description: change examples to use the packaged libraries
- This patch ensures that the examples use the packaged Leaflet and
- Leaflet.markercluster libraries, rather than their remote counterparts.
-Author: Andrew Harvey<andrew.harvey4 at gmail.com>
-Origin: vendor
-Forwarded: not-needed
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- leaflet-markercluster.orig/example/marker-clustering-convexhull.html
-+++ leaflet-markercluster/example/marker-clustering-convexhull.html
-@@ -3,16 +3,16 @@
- <head>
- 	<title>Leaflet debug page</title>
- 
--	<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.ie.css" /><![endif]-->
--	<script src="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet/leaflet.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet/leaflet.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet/leaflet.js"></script>
- 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
- 	<link rel="stylesheet" href="screen.css" />
- 
--	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
--	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
--	<script src="../dist/leaflet.markercluster-src.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.css" />
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet-markercluster/leaflet.markercluster-src.js"></script>
- </head>
- <body>
- 
---- leaflet-markercluster.orig/example/marker-clustering-custom.html
-+++ leaflet-markercluster/example/marker-clustering-custom.html
-@@ -3,14 +3,14 @@
- <head>
- 	<title>Leaflet debug page</title>
- 
--	<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.ie.css" /><![endif]-->
--	<script src="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet/leaflet.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet/leaflet.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet/leaflet.js"></script>
- 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
- 	<link rel="stylesheet" href="screen.css" />
- 	
--	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
--	<script src="../dist/leaflet.markercluster-src.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.css" />
-+	<script src="/javascript/leaflet-markercluster/leaflet.markercluster-src.js"></script>
- 
- 	<style>
- 		.mycluster {
---- leaflet-markercluster.orig/example/marker-clustering-everything.html
-+++ leaflet-markercluster/example/marker-clustering-everything.html
-@@ -3,16 +3,16 @@
- <head>
- 	<title>Leaflet debug page</title>
- 
--	<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.ie.css" /><![endif]-->
--	<script src="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet/leaflet.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet/leaflet.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet/leaflet.js"></script>
- 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
- 	<link rel="stylesheet" href="screen.css" />
- 
--	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
--	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
--	<script src="../dist/leaflet.markercluster-src.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.css" />
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet-markercluster/leaflet.markercluster-src.js"></script>
- </head>
- <body>
- 
---- leaflet-markercluster.orig/example/marker-clustering-realworld-maxzoom.388.html
-+++ leaflet-markercluster/example/marker-clustering-realworld-maxzoom.388.html
-@@ -3,16 +3,16 @@
- <head>
- 	<title>Leaflet debug page</title>
- 
--	<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.ie.css" /><![endif]-->
--	<script src="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet/leaflet.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet/leaflet.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet/leaflet.js"></script>
- 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
- 	<link rel="stylesheet" href="screen.css" />
- 
--	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
--	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
--	<script src="../dist/leaflet.markercluster-src.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.css" />
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet-markercluster/leaflet.markercluster-src.js"></script>
- 	<script src="realworld.388.js"></script>
- 
- </head>
---- leaflet-markercluster.orig/example/marker-clustering-realworld-mobile.388.html
-+++ leaflet-markercluster/example/marker-clustering-realworld-mobile.388.html
-@@ -3,16 +3,16 @@
- <head>
- 	<title>Leaflet debug page</title>
- 
--	<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.ie.css" /><![endif]-->
--	<script src="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet/leaflet.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet/leaflet.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet/leaflet.js"></script>
- 	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
- 	<link rel="stylesheet" href="mobile.css" />
- 
--	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
--	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
--	<script src="../dist/leaflet.markercluster-src.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.css" />
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet-markercluster/leaflet.markercluster-src.js"></script>
- 	<script src="realworld.388.js"></script>
- </head>
- <body>
---- leaflet-markercluster.orig/example/marker-clustering-realworld.10000.html
-+++ leaflet-markercluster/example/marker-clustering-realworld.10000.html
-@@ -3,16 +3,16 @@
- <head>
- 	<title>Leaflet debug page</title>
- 
--	<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.ie.css" /><![endif]-->
--	<script src="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet/leaflet.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet/leaflet.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet/leaflet.js"></script>
- 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
- 	<link rel="stylesheet" href="screen.css" />
- 
--	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
--	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
--	<script src="../dist/leaflet.markercluster-src.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.css" />
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet-markercluster/leaflet.markercluster-src.js"></script>
- 	
- 	<script src="realworld.10000.js"></script>
- 
---- leaflet-markercluster.orig/example/marker-clustering-realworld.388.html
-+++ leaflet-markercluster/example/marker-clustering-realworld.388.html
-@@ -3,16 +3,16 @@
- <head>
- 	<title>Leaflet debug page</title>
- 
--	<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.ie.css" /><![endif]-->
--	<script src="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet/leaflet.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet/leaflet.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet/leaflet.js"></script>
- 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
- 	<link rel="stylesheet" href="screen.css" />
- 
--	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
--	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
--	<script src="../dist/leaflet.markercluster-src.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.css" />
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet-markercluster/leaflet.markercluster-src.js"></script>
- 	<script src="realworld.388.js"></script>
- 
- </head>
---- leaflet-markercluster.orig/example/marker-clustering-realworld.50000.html
-+++ leaflet-markercluster/example/marker-clustering-realworld.50000.html
-@@ -3,16 +3,16 @@
- <head>
- 	<title>Leaflet debug page</title>
- 
--	<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.ie.css" /><![endif]-->
--	<script src="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet/leaflet.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet/leaflet.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet/leaflet.js"></script>
- 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
- 	<link rel="stylesheet" href="screen.css" />
- 
--	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
--	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
--	<script src="../dist/leaflet.markercluster-src.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.css" />
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet-markercluster/leaflet.markercluster-src.js"></script>
- 	
- 	<script src="realworld.50000.1.js"></script>
- 	<script src="realworld.50000.2.js"></script>
---- leaflet-markercluster.orig/example/marker-clustering-singlemarkermode.html
-+++ leaflet-markercluster/example/marker-clustering-singlemarkermode.html
-@@ -3,16 +3,16 @@
- <head>
- 	<title>Leaflet debug page</title>
- 
--	<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.ie.css" /><![endif]-->
--	<script src="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet/leaflet.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet/leaflet.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet/leaflet.js"></script>
- 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
- 	<link rel="stylesheet" href="screen.css" />
- 
--	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
--	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
--	<script src="../dist/leaflet.markercluster-src.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.css" />
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet-markercluster/leaflet.markercluster-src.js"></script>
- </head>
- <body>
- 
---- leaflet-markercluster.orig/example/marker-clustering-spiderfier.html
-+++ leaflet-markercluster/example/marker-clustering-spiderfier.html
-@@ -3,16 +3,16 @@
- <head>
- 	<title>Leaflet debug page</title>
- 
--	<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.ie.css" /><![endif]-->
--	<script src="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet/leaflet.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet/leaflet.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet/leaflet.js"></script>
- 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
- 	<link rel="stylesheet" href="screen.css" />
- 
--	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
--	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
--	<script src="../dist/leaflet.markercluster-src.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.css" />
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet-markercluster/leaflet.markercluster-src.js"></script>
- </head>
- <body>
- 
---- leaflet-markercluster.orig/example/marker-clustering-zoomtobounds.html
-+++ leaflet-markercluster/example/marker-clustering-zoomtobounds.html
-@@ -3,16 +3,16 @@
- <head>
- 	<title>Leaflet debug page</title>
- 
--	<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.ie.css" /><![endif]-->
--	<script src="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet/leaflet.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet/leaflet.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet/leaflet.js"></script>
- 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
- 	<link rel="stylesheet" href="screen.css" />
- 
--	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
--	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
--	<script src="../dist/leaflet.markercluster-src.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.css" />
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet-markercluster/leaflet.markercluster-src.js"></script>
- </head>
- <body>
- 
---- leaflet-markercluster.orig/example/marker-clustering-zoomtoshowlayer.html
-+++ leaflet-markercluster/example/marker-clustering-zoomtoshowlayer.html
-@@ -3,16 +3,16 @@
- <head>
- 	<title>Leaflet debug page</title>
- 
--	<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.ie.css" /><![endif]-->
--	<script src="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet/leaflet.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet/leaflet.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet/leaflet.js"></script>
- 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
- 	<link rel="stylesheet" href="screen.css" />
- 
--	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
--	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
--	<script src="../dist/leaflet.markercluster-src.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.css" />
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet-markercluster/leaflet.markercluster-src.js"></script>
- 	<script src="realworld.388.js"></script>
- 
- </head>
---- leaflet-markercluster.orig/example/marker-clustering.html
-+++ leaflet-markercluster/example/marker-clustering.html
-@@ -3,16 +3,16 @@
- <head>
- 	<title>Leaflet debug page</title>
- 
--	<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.ie.css" /><![endif]-->
--	<script src="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet/leaflet.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet/leaflet.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet/leaflet.js"></script>
- 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
- 	<link rel="stylesheet" href="screen.css" />
- 
--	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
--	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
--	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
--	<script src="../dist/leaflet.markercluster-src.js"></script>
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.css" />
-+	<link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.css" />
-+	<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet-markercluster/MarkerCluster.Default.ie.css" /><![endif]-->
-+	<script src="/javascript/leaflet-markercluster/leaflet.markercluster-src.js"></script>
- </head>
- <body>
- 
diff --git a/debian/patches/series b/debian/patches/series
index 3d20ce1..490f4b3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
 2001-dont-run-jshint-checks.patch
-2002-set-examples-to-use-packaged-libraries.patch
diff --git a/debian/rules b/debian/rules
index 52dba11..7bada32 100755
--- a/debian/rules
+++ b/debian/rules
@@ -66,3 +66,9 @@ DEB_INSTALL_CHANGELOGS_$(pkg) = CHANGELOG.md
 # rule for building project from source
 build/$(pkg)::
 	jake
+
+# Fix paths in example files
+html-examples = $(cdbs_curdestdir)usr/share/doc/$(cdbs_curpkg)/examples/*.html
+binary-fixup/$(pkg)::
+	perl -i -pe 's,(href|src)="\Khttp://cdn.leafletjs.com/leaflet-0.4.4,/javascript/leaflet,g' $(html-examples)
+	perl -i -pe 's,(href|src)="\K../dist,/javascript/leaflet-markercluster,g' $(html-examples)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-markercluster.git



More information about the Pkg-javascript-commits mailing list