Package: libjs-scriptaculous
Version: 1.9.0-2
Tags: patch
Bug #619031 reported that libjs-protoaculous was broken for recent
versions of libjs-scriptaculous; that bug has been patched. However, for
consistency, libjs-scriptaculous should record that it Breaks the versions
of protoaculous which are still attempting to patch the old version of
scriptaculous.js.
(The entire point of protoaculous appears to be combine prototype.js and
scriptaculous.js into a single compressed file; it does so in a postinst
maintainer script that also gets triggerd on updates to either of the
source files. For some reason (which I did not determine), it needs to
patch out a small portion of scriptaculous.js before making the
combination; this patch is hardcoded into the maintainer script. Since
upstream scriptaculous 1.9.0 changed a line also changed in this
protoaculous patch, the patch conflicted and broke protoaculous.)
I believe that something similar to the attached patch would be
appropriate.
Thanks,
Ben Kaduk
diff -ruN scriptaculous-1.9.0.orig/debian/changelog
scriptaculous-1.9.0/debian/changelog
--- scriptaculous-1.9.0.orig/debian/changelog 2011-08-21 16:50:00.000000000
-0400
+++ scriptaculous-1.9.0/debian/changelog 2011-08-21 17:21:57.000000000
-0400
@@ -1,3 +1,12 @@
+scriptaculous (1.9.0-2.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Break old versions of libjs-protoaculous which attempt to patch
+ scriptaculous.js but have conflicted since the 1.9.0 upstream release,
+ as reported in #619031.
+
+ -- Benjamin Kaduk <ka...@mit.edu> Sun, 21 Aug 2011 16:56:11 -0400
+
scriptaculous (1.9.0-2) unstable; urgency=low
* push package to unstable
diff -ruN scriptaculous-1.9.0.orig/debian/control
scriptaculous-1.9.0/debian/control
--- scriptaculous-1.9.0.orig/debian/control 2011-08-21 16:50:00.000000000
-0400
+++ scriptaculous-1.9.0/debian/control 2011-08-21 16:56:06.000000000 -0400
@@ -10,6 +10,7 @@
Architecture: all
Depends: ${misc:Depends}, libjs-prototype
Replaces: scriptaculous
+Breaks: libjs-protoaculous (<= 3)
Description: JavaScript library for dynamic web applications
script.aculo.us is a JavaScript library providing dynamic visual effects and
user interface elements via the Document Object Model.