Commit 187d4e9f authored by Giovanni Mascellani's avatar Giovanni Mascellani

Fix links to jquery.

parent 55e131a3
gitit (0.12.1-2) UNRELEASED; urgency=medium
* Fix links to jquery (closes: #820469).
-- Giovanni Mascellani <gio@debian.org> Mon, 02 May 2016 10:20:16 +0200
gitit (0.12.1-1) unstable; urgency=medium
* New upstream release
......
......@@ -6,9 +6,13 @@ Section: haskell
Build-Depends: debhelper (>= 9),
haskell-devscripts (>= 0.10.2.3),
cdbs,
dh-linktree,
xsltproc,
pandoc,
docbook-xsl,
libjs-jquery,
libjs-jquery-ui,
libjs-jquery-hotkeys,
ghc,
ghc-prof,
libghc-configfile-dev (>= 1),
......@@ -246,6 +250,9 @@ Package: libghc-gitit-data
Architecture: all
Depends: ${misc:Depends},
${haskell:Extra-Depends},
libjs-jquery,
libjs-jquery-ui,
libjs-jquery-hotkeys,
Recommends: ${haskell:Recommends},
Suggests: ${haskell:Suggests},
Breaks: gitit (<< 0.10.6.3+dfsg-1),
......
Index: gitit/data/templates/expire.st
===================================================================
--- gitit.orig/data/templates/expire.st
+++ gitit/data/templates/expire.st
@@ -1,5 +1,5 @@
$if(usecache)$
-<script type="text/javascript" src="$base$/js/jquery.hotkeys-0.7.9.min.js"></script>
+<script type="text/javascript" src="$base$/js/jquery.hotkeys.js"></script>
<script type="text/javascript">
/* <![CDATA[ */
\$(document).bind("keydown", "ctrl+r", function() {
Index: gitit/src/Network/Gitit/Layout.hs
===================================================================
--- gitit.orig/src/Network/Gitit/Layout.hs
+++ gitit/src/Network/Gitit/Layout.hs
@@ -78,7 +78,7 @@ filledPageTemplate base' cfg layout html
'h':'t':'t':'p':_ -> x
_ -> base' ++ "/js/" ++ x
- scripts = ["jquery-1.2.6.min.js", "jquery-ui-combined-1.6rc2.min.js", "footnotes.js"] ++ pgScripts layout
+ scripts = ["jquery.js", "jquery.ui.core.js", "jquery.ui.draggable.js", "jquery.ui.droppable.js", "jquery.ui.tabs.js", "footnotes.js"] ++ pgScripts layout
scriptLink x = script ! [src (prefixedScript x),
thetype "text/javascript"] << noHtml
javascriptlinks = renderHtmlFragment $ concatHtml $ map scriptLink scripts
clean-cabal-file.patch
jquery.patch
......@@ -24,3 +24,4 @@ install/libghc-gitit-data::
binary-post-install/libghc-gitit-data::
chmod +x debian/libghc-gitit-data/usr/share/gitit/data/post-update
dh_linktree -plibghc-gitit-data
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment