On 09/27/2014 12:42 AM, Frank Ch. Eigler wrote:
Hi -
mgoodwin wrote:
I've not had time to fully understand the issues being debated here,
I'll try to summarize succinctly in a separate message.
[...] AFAICT, the "1000's of lines of C++ and javascript and
associated images" are in effect a 3rd party library package, and
thus belong in a separate tree and should ship in a separate
package. [...]
(Note that there is no C++ in the third-party programs. They are
just dead data files - web assets - and they are not build- or
install-dependencies of PCP / pmwebd. They just complete the user
experience.)
OK, so poking around a bit further around the largest of the
embedded javascript files: jquery-1.7.2.js and jquery-ui-1.10.2.js
Looks like these are coming from https://jquery.org under an MIT
license (see https://jquery.org/license/) which is basically a
free-for-any-purpose license really. So that's not a problem.
The jquery code is freely available at git://github.com/jquery/jquery.git
with pre-packaged tarballs available from http://jquery.com/download/
BUT I don't see this in Fedora (and presumably other distros) and
to my eyes therein lies the root of the problem - pcp-webapi should just
have a dependency on jquery-noarch or some such package. And further more,
we're not the only ones with this problem, it seems to be embedded all
over the place, e.g. just on my laptop :
# rpm -qf $(rpm -qal | grep 'jquery.*\.js') | sort -u
blender-2.68a-5.fc19.x86_64
doxygen-1.8.3.1-2.fc19.x86_64
graphite-web-0.9.12-5.fc19.noarch
krb5-workstation-1.11.3-25.fc19.x86_64
Mayavi-4.3.0-7.fc19.x86_64
python3-numpy-1.7.2-8.fc19.x86_64
python-django-1.5.9-1.fc19.noarch
python-docs-2.7.5-6.fc19.noarch
python-fedora-0.3.34-1.fc19.noarch
python-ipython-notebook-0.13.2-4.fc19.noarch
python-kitchen-1.1.1-4.fc19.noarch
python-matplotlib-doc-1.2.0-14.fc19.x86_64
python-simplejson-3.5.3-1.fc19.x86_64
transmission-common-2.84-1.fc19.x86_64
xbmc-12.3-1.fc19.x86_64
Some of these may be false matches on some other jquery*.js, but you
get the point. I haven't looked any further, but graphite-web.noarch
kind of sounds promising .. can't we just dep that?
-- Mark
|