protoaculous-4/0000755000000000000000000000000011373114547010652 5ustar protoaculous-4/debian/0000755000000000000000000000000011713725700012071 5ustar protoaculous-4/debian/libjs-protoaculous.prerm0000644000000000000000000000017111373403467017004 0ustar #!/bin/sh set -e if [ "$1" = "remove" ] ; then rm -f /var/lib/protoaculous/protoaculous.js fi #DEBHELPER# exit 0 protoaculous-4/debian/libjs-protoaculous.triggers0000644000000000000000000000012611373402645017502 0ustar interest /usr/share/javascript/prototype interest /usr/share/javascript/scriptaculous protoaculous-4/debian/rules0000755000000000000000000000004011372130463013140 0ustar #!/usr/bin/make -f %: dh ${@} protoaculous-4/debian/changelog0000644000000000000000000000307311713022324013736 0ustar protoaculous (4) unstable; urgency=low * Set DM-Upload-Allowed. * Update to standards version 3.9.2. * Convert debian/copyright to DEP-5 format. * Acknowledge and apply non-maintainer uploads. * Fix package description so it doesn't start with an article. -- Michael Gilbert Fri, 03 Feb 2012 13:17:44 -0500 protoaculous (3+nmu2) unstable; urgency=low * Non-maintainer upload. * Fix "fails to install": add patch to Depends (used in postinst). Closes: #619243 -- gregor herrmann Sun, 04 Sep 2011 00:03:45 +0200 protoaculous (3+nmu1) unstable; urgency=low * Non-maintainer upload. * Update the scriptaculous.js patch for libjs-scriptaculous 1.9.0 and use versioned Depends as appropriate, Closes: #619031 -- Benjamin Kaduk Sun, 21 Aug 2011 16:21:13 -0400 protoaculous (3) unstable; urgency=low * Updates to libjs-prototype and libjs-scriptaculous now trigger an automatic rebuild of protoaculous.js. * Delete /usr/lib/protoaculous/protoaculous.js during package removal. -- Michael Gilbert Fri, 14 May 2010 22:16:16 -0400 protoaculous (2) unstable; urgency=low * Install protoaculous.js to /var/lib/protoaculous (since it changes during installation and files under /usr should not do that). -- Michael Gilbert Thu, 13 May 2010 18:43:38 -0400 protoaculous (1) unstable; urgency=low * Initial Release (closes: #562990). -- Michael Gilbert Mon, 10 May 2010 21:15:54 -0400 protoaculous-4/debian/compat0000644000000000000000000000000211315040172013256 0ustar 7 protoaculous-4/debian/libjs-protoaculous.postinst0000644000000000000000000000336211624266211017540 0ustar #!/bin/sh set -e if [ "$1" = "configure" ] || [ "$1" = "triggered" ] ; then ptmp="$(mktemp --tmpdir protoaculous-XXXXXXXX.js)" stmp="$(mktemp --tmpdir scriptaculous-XXXXXXXX.js)" cp /usr/share/javascript/scriptaculous/scriptaculous.js $stmp echo " --- scriptaculous.js 2009-10-08 05:23:34.000000000 -0400 +++ scriptaculous.js 2009-12-24 23:50:51.000000000 -0500 @@ -53,15 +53,6 @@ throw(\"script.aculo.us requires the Prototype JavaScript framework >= \" + Scriptaculous.REQUIRED_PROTOTYPE); - var js = /scriptaculous\.js(\?.*)?$/; - \$\$('script[src]').findAll(function(s) { - return s.src.match(js); - }).each(function(s) { - var path = s.src.replace(js, ''), - includes = s.src.match(/\?.*load=([a-z,]*)/); - (includes ? includes[1] : 'builder,effects,dragdrop,controls,slider,sound').split(',').each( - function(include) { Scriptaculous.require(path+include+'.js') }); - }); } };" | patch -s $stmp cat /usr/share/javascript/prototype/prototype.js > $ptmp cat $stmp >> $ptmp cat /usr/share/javascript/scriptaculous/builder.js >> $ptmp cat /usr/share/javascript/scriptaculous/effects.js >> $ptmp cat /usr/share/javascript/scriptaculous/dragdrop.js >> $ptmp cat /usr/share/javascript/scriptaculous/controls.js >> $ptmp cat /usr/share/javascript/scriptaculous/slider.js >> $ptmp cat /usr/share/javascript/scriptaculous/sound.js >> $ptmp yui-compressor -o /var/lib/protoaculous/protoaculous.js $ptmp rm -f $stmp $ptmp pver="$(dpkg -l | grep libjs-prototype | awk '{print $3}')" sver="$(dpkg -l | grep libjs-scriptaculous | awk '{print $3}')" echo "Successfully combined prototype.js ($pver) and scriptaculous.js ($sver)" fi #DEBHELPER# exit 0 protoaculous-4/debian/libjs-protoaculous.dirs0000644000000000000000000000007111373100460016602 0ustar /usr/share/javascript/protoaculous /var/lib/protoaculous protoaculous-4/debian/control0000644000000000000000000000120711713022277013473 0ustar Source: protoaculous Section: utils Priority: extra Maintainer: Michael Gilbert Build-Depends: debhelper (>= 7) DM-Upload-Allowed: yes Standards-Version: 3.9.2 Package: libjs-protoaculous Architecture: all Depends: ${misc:Depends} , yui-compressor , libjs-scriptaculous (>= 1.9.0) , libjs-prototype , patch Description: Compressed library containing both prototype and scriptaculous Provides a packed and compressed version of the prototype and scriptaculous javascript libraries. This is used in many webapps, and the primary advantage is that it is faster than the separate prototype/scriptaculous solution. protoaculous-4/debian/source/0000755000000000000000000000000011373106323013365 5ustar protoaculous-4/debian/source/format0000644000000000000000000000001511372130135014571 0ustar 3.0 (native) protoaculous-4/debian/copyright0000644000000000000000000000233011713022074014014 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=202 Upstream-Name: protoaculous Files: * Copyright: 2009-2012 Michael Gilbert License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. protoaculous-4/debian/libjs-protoaculous.links0000644000000000000000000000013111373101124016754 0ustar /var/lib/protoaculous/protoaculous.js /usr/share/javascript/protoaculous/protoaculous.js