Package: jwchat
Version: 1.0final-2
Severity: normal
tags: patch

hi!

Jwchat package contains an embedded copy of jsjac.js.
Could you, please, depend on the libjs-jac package?

Attach, you will find a patch to do it.

Cheers,

-- 
Marcelo Jorge Vieira
xmpp://me...@jabber-br.org
http://metaldot.alucinados.com
From 362bb50cfeaeb980480b1e8422bec801ad58b1d2 Mon Sep 17 00:00:00 2001
From: Marcelo Jorge Vieira <me...@alucinados.com>
Date: Mon, 6 Apr 2009 23:42:58 -0300
Subject: [PATCH] jwchat depends on libjs-jac

---
 debian/control |    2 +-
 debian/install |    3 ++-
 debian/links   |    1 +
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index e403bd6..f502891 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Standards-Version: 3.8.0
 
 Package: jwchat
 Architecture: all
-Depends: ${misc:Depends}, apache2 | httpd, ucf
+Depends: ${misc:Depends}, apache2 | httpd, ucf, libjs-jac
 Recommends: ejabberd
 Description: a full featured, web-based Jabber chat client
  JWChat is a full featured, web-based Jabber client. Written using AJAX
diff --git a/debian/install b/debian/install
index 12679f6..329c1ff 100644
--- a/debian/install
+++ b/debian/install
@@ -1,6 +1,7 @@
 images /usr/share/jwchat/www/
 sounds /usr/share/jwchat/www/
-*.js* /usr/share/jwchat/www/
+[bceprsv]*.js* /usr/share/jwchat/www/
+jabber_x_data.js.js /usr/share/jwchat/www/
 *.html* /usr/share/jwchat/www/
 jwchat.css /usr/share/jwchat/www/
 config.js /usr/share/jwchat/
diff --git a/debian/links b/debian/links
index 59794f9..7d172c0 100644
--- a/debian/links
+++ b/debian/links
@@ -1 +1,2 @@
 /etc/jwchat/config.js /usr/share/jwchat/www/config.js
+/usr/share/javascript/jsjac/jsjac.js /usr/share/jwchat/www/jsjac.js
-- 
1.6.2.1

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to