Merge lp:~mitya57/ubuntu-packaging-guide/use-libjs-sphinxdoc into lp:ubuntu-packaging-guide

Proposed by Dmitry Shachnev
Status: Merged
Merged at revision: 184
Proposed branch: lp:~mitya57/ubuntu-packaging-guide/use-libjs-sphinxdoc
Merge into: lp:ubuntu-packaging-guide
Diff against target: 74 lines (+20/-11)
3 files modified
debian/changelog (+8/-0)
debian/control (+2/-2)
debian/rules (+10/-9)
To merge this branch: bzr merge lp:~mitya57/ubuntu-packaging-guide/use-libjs-sphinxdoc
Reviewer Review Type Date Requested Status
Daniel Holbach (community) Approve
Review via email: mp+129952@code.launchpad.net

Description of the change

Finally got some time to test this change — it started working when I removed quotes in find call.

To post a comment you must log in.
183. By Launchpad Translations on behalf of ubuntu-packaging-guide-team

Launchpad automatic translations update.

184. By Daniel Holbach

merged lp:~mitya57/ubuntu-packaging-guide/use-libjs-sphinxdoc

Revision history for this message
Daniel Holbach (dholbach) wrote :

Good work!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-10-12 14:53:27 +0000
3+++ debian/changelog 2012-10-16 18:07:23 +0000
4@@ -3,6 +3,14 @@
5 [ Daniel Holbach ]
6 * Added some additional information to the autopkgtest article.
7
8+ [ Dmitry Shachnev ]
9+ * Fix search not working (LP: #814679).
10+ * Add CSS styling for code blocks and search results page.
11+ * Link JS files with the libjs-sphinxdoc package.
12+ * Do not install websupport.js
13+ * Fixed a typo in fixing-a-bug-example.rst.
14+ * Simplified the syntax in python-packaging.rst.
15+
16 -- Daniel Holbach <daniel.holbach@ubuntu.com> Fri, 12 Oct 2012 16:52:11 +0200
17
18 ubuntu-packaging-guide (0.2.4) unstable; urgency=low
19
20=== modified file 'debian/control'
21--- debian/control 2012-09-05 14:13:32 +0000
22+++ debian/control 2012-10-16 18:07:23 +0000
23@@ -31,7 +31,7 @@
24 ubuntu-packaging-guide-html.
25
26 Package: ubuntu-packaging-guide-html
27-Depends: libjs-jquery (>= 1.6.1), libjs-underscore, ${misc:Depends}
28+Depends: libjs-sphinxdoc, ${misc:Depends}
29 Architecture: all
30 Description: Ubuntu Packaging Guide - HTML guide
31 The Ubuntu Packaging Guide is a set of articles that should help you to get
32@@ -55,7 +55,7 @@
33 This package contains the PDF version of the guide.
34
35 Package: ubuntu-packaging-guide-epub
36-Depends: libjs-jquery (>= 1.6.1), libjs-underscore, ${misc:Depends}
37+Depends: libjs-sphinxdoc, ${misc:Depends}
38 Architecture: all
39 Description: Ubuntu Packaging Guide - EPUB guide
40 The Ubuntu Packaging Guide is a set of articles that should help you to get
41
42=== modified file 'debian/rules'
43--- debian/rules 2012-08-21 21:22:08 +0000
44+++ debian/rules 2012-10-16 18:07:23 +0000
45@@ -28,19 +28,20 @@
46 done; \
47 cd -; \
48 done
49- # use system copies of jquery and underscore instead.
50- for filename in `find $$DEBIANDIR -wholename '*/_static/jquery.js'`; do \
51- rm $$filename; \
52- ln -s /usr/share/javascript/jquery/jquery.js $$filename; \
53- done
54- for filename in `find $$DEBIANDIR -wholename '*/_static/underscore.js'`; do \
55- rm $$filename; \
56- ln -s /usr/share/javascript/underscore/underscore.js $$filename; \
57+ # use system copies of javascript libraries instead
58+ for jsname in jquery underscore doctools searchtools; do \
59+ for filename in `find debian/ -wholename */_static/$$jsname.js`; do \
60+ rm $$filename; \
61+ ln -s /usr/share/javascript/sphinxdoc/1.0/$$jsname.js $$filename; \
62+ done; \
63 done
64 dh_link
65
66 override_dh_install:
67- dh_install --list-missing
68+ dh_install --list-missing -Xwebsupport.js
69+
70+override_dh_installdocs:
71+ dh_installdocs -Xwebsupport.js
72
73 get-orig-source:
74 bzr export -r tag:$(VERSION) --root=ubuntu-packaging-guide-$(VERSION).orig \

Subscribers

People subscribed via source and target branches