Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian policy #1

Closed
darealshinji opened this issue Sep 1, 2014 · 3 comments
Closed

Debian policy #1

darealshinji opened this issue Sep 1, 2014 · 3 comments

Comments

@darealshinji
Copy link
Contributor

I get the following warning when I build a package:
E: notepadqq: arch-dependent-file-in-usr-share usr/share/notepadqq/notepadqq
W: notepadqq: embedded-javascript-library usr/share/notepadqq/editor/libs/jquery/jquery.min.js

arch-dependent files should never be installed in /usr/share. It should be installed to /usr/lib or /usr/bin.
And jquery.min.js should be replaced with a symbolic link and the package libjs-jquery should be added as a dependency.

@danieleds
Copy link
Member

I understand the Debian policy for packages, the problem is that the jquery version in Ubuntu's repository is very old (1.7.2 on Trusty, while notepadqq is using 2.1.1). Debian is in the same situation.

I think the best solution is to ship our jquery.min.js.
That line is a warning: could it be (ugh) ignored?

@darealshinji
Copy link
Contributor Author

Yes, sounds reasonable. And you're right, a warning isn't as bad as an error. In this case I recommend to override the warning including a commentary line.
debian/lintian-overrides:

# jquery in the repositories is outdated
notepadqq binary: embedded-javascript-library usr/share/notepadqq/editor/libs/jquery/jquery.min.js

@danieleds
Copy link
Member

Perfect! Fixed in c259411

danieleds pushed a commit that referenced this issue Sep 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants