[SCM] librdf-endpoint-perl Debian packaging branch, master, updated. debian/0.04-1-27-gaed461e

Jonas Smedegaard dr at jones.dk
Tue Jun 12 21:02:08 UTC 2012


The following commit has been merged in the master branch:
commit 7fcbe09dfba8a47c534195feaa97385d52dc43ff
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Jun 12 20:55:18 2012 +0200

    Recommend libjs-codemirror, and avoid installing local copy of old Codemirror.

diff --git a/debian/TODO b/debian/TODO
deleted file mode 100644
index 21a4b56..0000000
--- a/debian/TODO
+++ /dev/null
@@ -1,2 +0,0 @@
-  * Patch html to use (separately packaged) libjs-codemirror.
-  * Patch html to use (separately packaged) local libjs-jquery.
diff --git a/debian/rules b/debian/rules
index 8c5ec9f..79a3d96 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,8 +37,7 @@ deps += , libxml-libxml-perl (>= 1.70)
 deps-test = libtest-www-mechanize-psgi-perl
 
 # Needed (often/seldom) at runtime
-# TODO: Patch code to actually use these
-#recommends = libjs-jquery, libjs-codemirror
+recommends = libjs-codemirror
 suggests = libconfig-jfdi-perl
 
 CDBS_BUILD_DEPENDS += , $(deps), $(deps-test)
@@ -53,3 +52,6 @@ DEB_INSTALL_EXAMPLES_DEFAULT = rdf_*.json
 DEB_INSTALL_EXAMPLES_DEFAULT += scripts/*
 common-binary-post-install-indep::
 	rm -rf $(DEB_DESTDIR)usr/bin
+
+common-binary-post-install-indep::
+	find $(DEB_DESTDIR)usr/share/perl5/auto/share/dist/RDF-Endpoint/www/js -type f -not -name codemirror-config.js -delete

-- 
librdf-endpoint-perl Debian packaging



More information about the Pkg-perl-cvs-commits mailing list