From 882330e4bf611ff40978312b366d4019cedbe407 Mon Sep 17 00:00:00 2001
From: Robin Sheat <robin@catalyst.net.nz>
Date: Tue, 14 Apr 2015 14:21:40 +1200
Subject: [PATCH] Bug 13979: updates to allow installation on jessie

---
 debian/control    | 6 +-----
 debian/control.in | 2 --
 debian/rules      | 4 ++--
 3 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/debian/control b/debian/control
index 0d923b7..82a3dc1 100644
--- a/debian/control
+++ b/debian/control
@@ -32,7 +32,6 @@ Build-Depends: libalgorithm-checkdigits-perl,
  libdate-calc-perl,
  libdate-manip-perl,
  libdatetime-event-ical-perl,
- libdatetime-format-dateparse-perl,
  libdatetime-format-ical-perl,
  libdatetime-format-mysql-perl,
  libdatetime-perl,
@@ -124,7 +123,7 @@ Build-Depends: libalgorithm-checkdigits-perl,
  libyaml-perl,
  libyaml-syck-perl,
  perl,
- perl-modules,
+ perl-modules, 
  debhelper (>= 7.0.50), gettext, xsltproc, docbook-xsl,
  libxml2-utils, bash-completion, perl-modules (>= 5.14.2) | libtest-simple-perl (>= 0.98)
 
@@ -139,7 +138,6 @@ Depends: ${misc:Depends}, ${koha:Depends},
  debconf,
  idzebra-2.0,
  libjs-jquery,
- libjs-yui,
  mysql-client | virtual-mysql-client,
  perl-doc,
  pwgen,
@@ -187,7 +185,6 @@ Depends: ${misc:Depends},
  debconf,
  idzebra-2.0,
  libjs-jquery,
- libjs-yui,
  mysql-client | virtual-mysql-client,
  mysql-server | virtual-mysql-server,
  perl-doc,
@@ -230,7 +227,6 @@ Depends: libalgorithm-checkdigits-perl,
  libdate-calc-perl,
  libdate-manip-perl,
  libdatetime-event-ical-perl,
- libdatetime-format-dateparse-perl,
  libdatetime-format-ical-perl,
  libdatetime-format-mysql-perl,
  libdatetime-perl,
diff --git a/debian/control.in b/debian/control.in
index 9f404d6..e23c8b3 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -24,7 +24,6 @@ Depends: ${misc:Depends}, ${koha:Depends},
  debconf,
  idzebra-2.0,
  libjs-jquery,
- libjs-yui,
  mysql-client | virtual-mysql-client,
  perl-doc,
  pwgen,
@@ -72,7 +71,6 @@ Depends: ${misc:Depends},
  debconf,
  idzebra-2.0,
  libjs-jquery,
- libjs-yui,
  mysql-client | virtual-mysql-client,
  mysql-server | virtual-mysql-server,
  perl-doc,
diff --git a/debian/rules b/debian/rules
index a86427c..96719fa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,8 +24,8 @@ override_dh_auto_install:
 		$(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/lib/tiny_mce
 	ln -s /usr/share/tinymce/www \
               $(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/lib/tiny_mce
-	ln -s /usr/share/javascript/yui \
-         $(TMP)/usr/share/koha/opac/htdocs/opac-tmpl/lib/yui
+#	ln -s /usr/share/javascript/yui \
+#         $(TMP)/usr/share/koha/opac/htdocs/opac-tmpl/lib/yui
 	install -d $(TMP)/etc/apache2/sites-available
 	install -d $(TMP)/etc/apache2/sites-enabled
 	install -d $(TMP)/etc/apache2/conf.d
-- 
2.1.0