[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:07 UTC 2012
The following commit has been merged in the master branch:
commit 7edb75db619d96dc647df3315376cef36c9d87c5
Author: Jonas Smedegaard <dr at jones.dk>
Date: Tue Jun 12 20:49:27 2012 +0200
Add patch 1001 to use Codemirror 2.x.
diff --git a/debian/patches/1001_use_codemirror2.patch b/debian/patches/1001_use_codemirror2.patch
new file mode 100644
index 0000000..8f11935
--- /dev/null
+++ b/debian/patches/1001_use_codemirror2.patch
@@ -0,0 +1,40 @@
+Description: Use Codemirror 2.x
+Author: Jonas Smedegaard <dr at jones.dk>
+Last-Update: 2012-06-12
+
+--- a/share/index.html
++++ b/share/index.html
+@@ -3,10 +3,11 @@
+ <html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>SPARQL</title>
++ <link rel="stylesheet" type="text/css" href="/js/codemirror/codemirror.css"/>
+ <link rel="stylesheet" type="text/css" href="/css/docs.css"/>
+- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script>
+- <script src="/js/codemirror.js" type="text/javascript"></script>
+- <script type="text/javascript" src="/js/sparql_form.js"></script>
++ <script type="text/javascript" src="/js/codemirror/codemirror.js"></script>
++ <script type="text/javascript" src="/js/codemirror/mode/sparql/sparql.js"></script>
++ <script type="text/javascript" src="/js/codemirror-config.js"></script>
+ <style type="text/css">
+ <!--
+ tr:nth-child(odd) {
+@@ -21,7 +22,7 @@
+ }
+ // -->
+ </style>
+-</head><body>
++</head><body onload="init()">
+ <form id="queryform" action="" method="get">
+ <p>
+ <textarea id="query" name="query" rows="10" cols="60">
+--- /dev/null
++++ b/share/www/js/codemirror-config.js
+@@ -0,0 +1,7 @@
++function init() {
++ var editor = CodeMirror.fromTextArea(document.getElementById("query"), {
++ mode: "application/x-sparql-query",
++ tabMode: "indent",
++ matchBrackets: true
++ });
++}
diff --git a/debian/patches/README b/debian/patches/README
new file mode 100644
index 0000000..80c1584
--- /dev/null
+++ b/debian/patches/README
@@ -0,0 +1,3 @@
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..157c434
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+1001_use_codemirror2.patch
--
librdf-endpoint-perl Debian packaging
More information about the Pkg-perl-cvs-commits
mailing list