[med-svn] r12620 - in trunk/packages/openslide-python/trunk/debian: . patches
Mathieu Malaterre
malat at alioth.debian.org
Thu Dec 13 15:47:22 UTC 2012
Author: malat
Date: 2012-12-13 15:47:22 +0000 (Thu, 13 Dec 2012)
New Revision: 12620
Added:
trunk/packages/openslide-python/trunk/debian/patches/
trunk/packages/openslide-python/trunk/debian/patches/onlineref.patch
trunk/packages/openslide-python/trunk/debian/patches/series
Modified:
trunk/packages/openslide-python/trunk/debian/control
trunk/packages/openslide-python/trunk/debian/rules
Log:
Remove minified js from source
Modified: trunk/packages/openslide-python/trunk/debian/control
===================================================================
--- trunk/packages/openslide-python/trunk/debian/control 2012-12-13 12:02:34 UTC (rev 12619)
+++ trunk/packages/openslide-python/trunk/debian/control 2012-12-13 15:47:22 UTC (rev 12620)
@@ -14,7 +14,7 @@
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libopenslide0, python-imaging
Provides: ${python:Provides}
-Description: python wrapper for reading whole slide image files
+Description: Python wrapper for reading whole slide image files
OpenSlide is a C library that provides a simple interface to read whole-slide
images also known as virtual slides.
.
Added: trunk/packages/openslide-python/trunk/debian/patches/onlineref.patch
===================================================================
--- trunk/packages/openslide-python/trunk/debian/patches/onlineref.patch (rev 0)
+++ trunk/packages/openslide-python/trunk/debian/patches/onlineref.patch 2012-12-13 15:47:22 UTC (rev 12620)
@@ -0,0 +1,21 @@
+Description: Cannot redistribute minified JS
+ Instead use online reference
+Author: Mathieu Malaterre <malat at debian.org>
+Bug-Debian: http://bugs.debian.org/683077
+Forwarded: no
+
+Index: openslide-python-0.4.0/examples/deepzoom/templates/index.html
+===================================================================
+--- openslide-python-0.4.0.orig/examples/deepzoom/templates/index.html 2012-12-13 16:43:14.000000000 +0100
++++ openslide-python-0.4.0/examples/deepzoom/templates/index.html 2012-12-13 16:45:00.749260081 +0100
+@@ -104,7 +104,9 @@
+ </div>
+
+ <script type="text/javascript" src="static/jquery.js"></script>
+-<script type="text/javascript" src="static/OpenSeadragon.js"></script>
++<script type="text/javascript"
++ src="http://openslide.org/demo/OpenSeadragon.js">
++</script>
+ <script type="text/javascript">
+ $(document).ready(function() {
+ var dzi_data = {{ dzi_data|default('{}')|safe }};
Added: trunk/packages/openslide-python/trunk/debian/patches/series
===================================================================
--- trunk/packages/openslide-python/trunk/debian/patches/series (rev 0)
+++ trunk/packages/openslide-python/trunk/debian/patches/series 2012-12-13 15:47:22 UTC (rev 12620)
@@ -0,0 +1 @@
+onlineref.patch
Modified: trunk/packages/openslide-python/trunk/debian/rules
===================================================================
--- trunk/packages/openslide-python/trunk/debian/rules 2012-12-13 12:02:34 UTC (rev 12619)
+++ trunk/packages/openslide-python/trunk/debian/rules 2012-12-13 15:47:22 UTC (rev 12620)
@@ -7,7 +7,7 @@
dh $@ --with python2 --buildsystem=python_distutils
override_dh_installexamples:
- dh_installexamples -Xjquery.js examples/*
+ dh_installexamples -Xjquery.js -XOpenSeadragon.js examples/*
get-orig-source:
uscan --verbose --force-download --rename
More information about the debian-med-commit
mailing list