Uploaded image for project: 'Airtime'
  1. Airtime
  2. CC-3574

Debian package should depend on external jQuery package

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.2
    • Fix Version/s: User requests
    • Component/s: External
    • Security Level: Everyone
    • Labels:
      None
    • Originating Party:
      Developer

      Description

      Debian sid includes jQuery packages, eg:

      http://packages.debian.org/sid/libjs-jquery

      We do not need to bundle these in the tarball, they should be a dependency.

        Attachments

          Issue Links

            Activity

            Hide
            danieljames Daniel James added a comment -

            We will probably require an Alias directive in the Apache vhost file so that we can insert /usr/share/javascript as a "subdirectory" of /usr/share/airtime/public

            Show
            danieljames Daniel James added a comment - We will probably require an Alias directive in the Apache vhost file so that we can insert /usr/share/javascript as a "subdirectory" of /usr/share/airtime/public
            Hide
            danieljames Daniel James added a comment -

            Output from Airtime 2.4.0 packaging scripts:

            W: airtime: embedded-javascript-library var/lib/airtime/tmp/airtime_mvc/public/js/cookie/jquery.cookie.js
            N:
            N: This package contains an embedded copy of JavaScript libraries that are
            N: now available in their own packages (for example, JQuery, Prototype,
            N: Mochikit or "Cropper"). Please depend on the appropriate package and
            N: symlink the library into the appropriate location.
            N:
            N: Refer to Debian Policy Manual section 4.13 (Convenience copies of code)
            N: for details.
            N:
            N: Severity: normal, Certainty: possible
            N:
            N: Check: files, Type: binary, udeb
            N:
            W: airtime: embedded-javascript-library var/lib/airtime/tmp/airtime_mvc/public/js/tipsy/jquery.tipsy.js

            These packages http://packages.ubuntu.com/precise/libjs-jquery-cookie and http://packages.ubuntu.com/precise/libjs-jquery-tipsy are not available in Ubuntu Lucid so they would need to be backported if used as dependencies.

            Show
            danieljames Daniel James added a comment - Output from Airtime 2.4.0 packaging scripts: W: airtime: embedded-javascript-library var/lib/airtime/tmp/airtime_mvc/public/js/cookie/jquery.cookie.js N: N: This package contains an embedded copy of JavaScript libraries that are N: now available in their own packages (for example, JQuery, Prototype, N: Mochikit or "Cropper"). Please depend on the appropriate package and N: symlink the library into the appropriate location. N: N: Refer to Debian Policy Manual section 4.13 (Convenience copies of code) N: for details. N: N: Severity: normal, Certainty: possible N: N: Check: files, Type: binary, udeb N: W: airtime: embedded-javascript-library var/lib/airtime/tmp/airtime_mvc/public/js/tipsy/jquery.tipsy.js These packages http://packages.ubuntu.com/precise/libjs-jquery-cookie and http://packages.ubuntu.com/precise/libjs-jquery-tipsy are not available in Ubuntu Lucid so they would need to be backported if used as dependencies.
            Hide
            danieljames Daniel James added a comment -

            Debian's version of jquery-cookie is currently too old for us. Bug filed at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734763

            We have the option to provide our own separate packages containing JQuery libraries as a temporary fix.

            Show
            danieljames Daniel James added a comment - Debian's version of jquery-cookie is currently too old for us. Bug filed at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734763 We have the option to provide our own separate packages containing JQuery libraries as a temporary fix.
            Hide
            danieljames Daniel James added a comment -

            Debian sid has a recent enough version of tipsy, but we are shipping a modified version:

            https://github.com/sourcefabric/Airtime/blob/master/airtime_mvc/public/js/tipsy/AIRTIME_DEV_README

            Show
            danieljames Daniel James added a comment - Debian sid has a recent enough version of tipsy, but we are shipping a modified version: https://github.com/sourcefabric/Airtime/blob/master/airtime_mvc/public/js/tipsy/AIRTIME_DEV_README

              People

              • Assignee:
                Unassigned
                Reporter:
                danieljames Daniel James
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: