Merge lp:~bdrung/mozilla-devscripts/moz-version-manpage into lp:~mozillateam/mozilla-devscripts/mozilla-devscripts
- moz-version-manpage
- Merge into mozilla-devscripts
Proposed by
Benjamin Drung
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | not available | ||||
Proposed branch: | lp:~bdrung/mozilla-devscripts/moz-version-manpage | ||||
Merge into: | lp:~mozillateam/mozilla-devscripts/mozilla-devscripts | ||||
Diff against target: | None lines | ||||
To merge this branch: | bzr merge lp:~bdrung/mozilla-devscripts/moz-version-manpage | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mozilla Team | asac | Pending | |
Review via email: mp+10009@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
Benjamin Drung (bdrung) wrote : | # |
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 2009-08-11 12:01:48 +0000 | |||
3 | +++ debian/changelog 2009-08-12 00:21:56 +0000 | |||
4 | @@ -1,3 +1,30 @@ | |||
5 | 1 | mozilla-devscripts (0.15) UNRELEASED; urgency=low | ||
6 | 2 | |||
7 | 3 | * packaging: | ||
8 | 4 | - break and sort Depends and Suggests | ||
9 | 5 | - update debian/control | ||
10 | 6 | - add ${misc:Depends} to Depends | ||
11 | 7 | - update debian/control | ||
12 | 8 | - wrap too long lines | ||
13 | 9 | - update debian/changelog | ||
14 | 10 | - fix Vcs-Bzr-Browser field to Vcs-Browser | ||
15 | 11 | - update debian/control | ||
16 | 12 | - all files are directly installed into debian/mozilla-devscripts | ||
17 | 13 | - update debian/rules | ||
18 | 14 | - remove debian/mozilla-devscripts.install | ||
19 | 15 | * build-system: | ||
20 | 16 | - make minefield-packager.mk executable | ||
21 | 17 | - update src/Makefile | ||
22 | 18 | * lp-locale-export.mk: | ||
23 | 19 | - remove shebang | ||
24 | 20 | - update src/lp-locale-export.mk | ||
25 | 21 | * moz-version: | ||
26 | 22 | - wrote man page for moz-version | ||
27 | 23 | - add man/moz-version.1 | ||
28 | 24 | - update src/Makefile | ||
29 | 25 | |||
30 | 26 | -- Benjamin Drung <bdrung@ubuntu.com> Wed, 12 Aug 2009 02:21:37 +0200 | ||
31 | 27 | |||
32 | 1 | mozilla-devscripts (0.14) unstable; urgency=low | 28 | mozilla-devscripts (0.14) unstable; urgency=low |
33 | 2 | 29 | ||
34 | 3 | [ Alexander Sack <asac@ubuntu.com> ] | 30 | [ Alexander Sack <asac@ubuntu.com> ] |
35 | @@ -34,11 +61,11 @@ | |||
36 | 34 | - fix LP: #411191 - webfav lp-locale-export.mk yields en-US.xpi with | 61 | - fix LP: #411191 - webfav lp-locale-export.mk yields en-US.xpi with |
37 | 35 | .manifest files only - fix parsing bug for jar: protocol lines | 62 | .manifest files only - fix parsing bug for jar: protocol lines |
38 | 36 | * packaging: | 63 | * packaging: |
41 | 37 | - fix Vcs-Bzr: to point to a proper R/W location and use Vcs-Bzr-Browser for the | 64 | - fix Vcs-Bzr: to point to a proper R/W location and use Vcs-Bzr-Browser for |
42 | 38 | browsable read-only location | 65 | the browsable read-only location |
43 | 39 | - update debian/control | 66 | - update debian/control |
46 | 40 | - add Benjamin Drung <bdrung@ubuntu.com> to Uploaders and also add my @ubuntu.com | 67 | - add Benjamin Drung <bdrung@ubuntu.com> to Uploaders and also add my |
47 | 41 | address work-time uploads won't count as NMU | 68 | @ubuntu.com address work-time uploads won't count as NMU |
48 | 42 | - update debian/control | 69 | - update debian/control |
49 | 43 | 70 | ||
50 | 44 | [ Benjamin Drung <bdrung@ubuntu.com> ] | 71 | [ Benjamin Drung <bdrung@ubuntu.com> ] |
51 | @@ -116,7 +143,8 @@ | |||
52 | 116 | - don't run MOZCLIENT_EXCLUDE_SCRIPT if does not exist as it creates | 143 | - don't run MOZCLIENT_EXCLUDE_SCRIPT if does not exist as it creates |
53 | 117 | false positives | 144 | false positives |
54 | 118 | - update src/mozclient/lib/MozClient/VCS.pm | 145 | - update src/mozclient/lib/MozClient/VCS.pm |
56 | 119 | - drop $(EXT), left-over from when mozclient.pl was substed and use -c instead | 146 | - drop $(EXT), left-over from when mozclient.pl was substed and use -c |
57 | 147 | instead | ||
58 | 120 | - update src/mozclient.mk.in | 148 | - update src/mozclient.mk.in |
59 | 121 | - add support for git | 149 | - add support for git |
60 | 122 | - add src/mozclient/lib/MozClient/Git.pm | 150 | - add src/mozclient/lib/MozClient/Git.pm |
61 | @@ -140,7 +168,8 @@ | |||
62 | 140 | for extensions built with xulapp.mk | 168 | for extensions built with xulapp.mk |
63 | 141 | - update src/xpi.mk | 169 | - update src/xpi.mk |
64 | 142 | * [ xulapp ] | 170 | * [ xulapp ] |
66 | 143 | - allow caller to specify the xulrunner version by pre-setting DEBIAN_XUL_VER | 171 | - allow caller to specify the xulrunner version by pre-setting |
67 | 172 | DEBIAN_XUL_VER | ||
68 | 144 | - update src/xulapp.mk.in | 173 | - update src/xulapp.mk.in |
69 | 145 | - add confdefs.h and a.out to the clean rule | 174 | - add confdefs.h and a.out to the clean rule |
70 | 146 | - update src/xulapp.mk.in | 175 | - update src/xulapp.mk.in |
71 | @@ -238,9 +267,9 @@ | |||
72 | 238 | 267 | ||
73 | 239 | [ Alexander Sack ] | 268 | [ Alexander Sack ] |
74 | 240 | * add .NOTPARALLEL target to make mozclient.mk more reliable in parallel | 269 | * add .NOTPARALLEL target to make mozclient.mk more reliable in parallel |
78 | 241 | make runs. We don't want parallel execution within the scope of mozclient.mk. | 270 | make runs. We don't want parallel execution within the scope of |
79 | 242 | Maybe noteworthy that this doesn't prevent clients to invoke get-orig-source | 271 | mozclient.mk. Maybe noteworthy that this doesn't prevent clients to |
80 | 243 | with distinct parameters in parallel. | 272 | invoke get-orig-source with distinct parameters in parallel. |
81 | 244 | - update src/mozclient.mk.in | 273 | - update src/mozclient.mk.in |
82 | 245 | 274 | ||
83 | 246 | [ Fabien Tassin ] | 275 | [ Fabien Tassin ] |
84 | @@ -272,7 +301,7 @@ | |||
85 | 272 | - add src/xulrunner-1.9.1.mk.in | 301 | - add src/xulrunner-1.9.1.mk.in |
86 | 273 | - add src/xulrunner-2.0.mk.in | 302 | - add src/xulrunner-2.0.mk.in |
87 | 274 | - update src/Makefile | 303 | - update src/Makefile |
89 | 275 | + add a variable called DEBIAN_KEEP_VCS to preserve the VCS files such as | 304 | + add a variable called DEBIAN_KEEP_VCS to preserve the VCS files such as |
90 | 276 | */CVS or .hg | 305 | */CVS or .hg |
91 | 277 | - update src/mozclient.mk.in | 306 | - update src/mozclient.mk.in |
92 | 278 | - update README | 307 | - update README |
93 | @@ -309,8 +338,8 @@ | |||
94 | 309 | [ Alexander Sack ] | 338 | [ Alexander Sack ] |
95 | 310 | * [ xpi ]: | 339 | * [ xpi ]: |
96 | 311 | + introduce support to extract xpi translations from any build tree that | 340 | + introduce support to extract xpi translations from any build tree that |
99 | 312 | ships chrome.manifest indexed xul/xpi translations. This feature is ment to | 341 | ships chrome.manifest indexed xul/xpi translations. This feature is ment |
100 | 313 | be hooked into install phase of then package build. cdbs users can just | 342 | to be hooked into install phase of then package build. cdbs users can just |
101 | 314 | include this helper as we ship the appropriate cdbs hooks. | 343 | include this helper as we ship the appropriate cdbs hooks. |
102 | 315 | - add src/lp-locale-export.mk | 344 | - add src/lp-locale-export.mk |
103 | 316 | * [ lp-locale-export ]: | 345 | * [ lp-locale-export ]: |
104 | @@ -384,8 +413,8 @@ | |||
105 | 384 | - update debian/control | 413 | - update debian/control |
106 | 385 | * add unzip (needed by xpi.mk) to Depends: of mozilla-devscript binary package | 414 | * add unzip (needed by xpi.mk) to Depends: of mozilla-devscript binary package |
107 | 386 | - update debian/control | 415 | - update debian/control |
110 | 387 | * introduce MOZ_XPI_MOZILLA_DIRS in xpi.mk with default values: "firefox-addons | 416 | * introduce MOZ_XPI_MOZILLA_DIRS in xpi.mk with default values: |
111 | 388 | firefox" | 417 | "firefox-addons firefox" |
112 | 389 | - update src/xpi.mk | 418 | - update src/xpi.mk |
113 | 390 | * document xpi.mk in README | 419 | * document xpi.mk in README |
114 | 391 | - update README | 420 | - update README |
115 | 392 | 421 | ||
116 | === modified file 'debian/control' | |||
117 | --- debian/control 2009-08-11 12:01:14 +0000 | |||
118 | +++ debian/control 2009-08-11 21:52:42 +0000 | |||
119 | @@ -3,18 +3,28 @@ | |||
120 | 3 | Priority: optional | 3 | Priority: optional |
121 | 4 | Maintainer: Ubuntu Mozilla Team <ubuntu-mozillateam@lists.ubuntu.com> | 4 | Maintainer: Ubuntu Mozilla Team <ubuntu-mozillateam@lists.ubuntu.com> |
122 | 5 | Uploaders: Fabien Tassin <fta@ubuntu.com>, | 5 | Uploaders: Fabien Tassin <fta@ubuntu.com>, |
126 | 6 | Alexander Sack <asac@debian.org>, | 6 | Alexander Sack <asac@debian.org>, |
127 | 7 | Alexander Sack <asac@ubuntu.com>, | 7 | Alexander Sack <asac@ubuntu.com>, |
128 | 8 | Benjamin Drung <bdrung@ubuntu.com> | 8 | Benjamin Drung <bdrung@ubuntu.com> |
129 | 9 | Build-Depends: debhelper (>= 5), cdbs | 9 | Build-Depends: debhelper (>= 5), cdbs |
130 | 10 | Standards-Version: 3.8.2 | 10 | Standards-Version: 3.8.2 |
131 | 11 | Vcs-Bzr: lp:mozilla-devscripts | 11 | Vcs-Bzr: lp:mozilla-devscripts |
133 | 12 | Vcs-Bzr-Browser: https://code.launchpad.net/~mozillateam/mozilla-devscripts/mozilla-devscripts | 12 | Vcs-Browser: https://code.launchpad.net/~mozillateam/mozilla-devscripts/mozilla-devscripts |
134 | 13 | 13 | ||
135 | 14 | Package: mozilla-devscripts | 14 | Package: mozilla-devscripts |
136 | 15 | Architecture: all | 15 | Architecture: all |
139 | 16 | Depends: wget, quilt, libxml-xpath-perl, zip, unzip, dpkg-dev, fakeroot, python | 16 | Depends: dpkg-dev, |
140 | 17 | Suggests: cvs, mercurial, git-core | 17 | fakeroot, |
141 | 18 | libxml-xpath-perl, | ||
142 | 19 | python, | ||
143 | 20 | quilt, | ||
144 | 21 | unzip, | ||
145 | 22 | wget, | ||
146 | 23 | zip, | ||
147 | 24 | ${misc:Depends} | ||
148 | 25 | Suggests: cvs, | ||
149 | 26 | git-core, | ||
150 | 27 | mercurial | ||
151 | 18 | Description: Collection of dev scripts used by Ubuntu Mozilla packages | 28 | Description: Collection of dev scripts used by Ubuntu Mozilla packages |
152 | 19 | This package contains mozilla-devscripts, a collection of scripts | 29 | This package contains mozilla-devscripts, a collection of scripts |
153 | 20 | based on Makefile inheritance which provides targets usable by Mozilla | 30 | based on Makefile inheritance which provides targets usable by Mozilla |
154 | 21 | 31 | ||
155 | === removed file 'debian/mozilla-devscripts.install' | |||
156 | --- debian/mozilla-devscripts.install 2009-07-28 23:31:43 +0000 | |||
157 | +++ debian/mozilla-devscripts.install 1970-01-01 00:00:00 +0000 | |||
158 | @@ -1,2 +0,0 @@ | |||
159 | 1 | debian/tmp/usr/share/mozilla-devscripts | ||
160 | 2 | debian/tmp/usr/bin | ||
161 | 3 | 0 | ||
162 | === modified file 'debian/rules' | |||
163 | --- debian/rules 2008-01-09 08:57:23 +0000 | |||
164 | +++ debian/rules 2009-08-12 00:21:56 +0000 | |||
165 | @@ -28,7 +28,7 @@ | |||
166 | 28 | 28 | ||
167 | 29 | DEB_SRCDIR := $(CURDIR)/src | 29 | DEB_SRCDIR := $(CURDIR)/src |
168 | 30 | DEB_MAKE_BUILD_TARGET := build | 30 | DEB_MAKE_BUILD_TARGET := build |
170 | 31 | DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/tmp/ | 31 | DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/mozilla-devscripts/ |
171 | 32 | DEB_MAKE_CHECK_TARGET := $(NULL) | 32 | DEB_MAKE_CHECK_TARGET := $(NULL) |
172 | 33 | 33 | ||
173 | 34 | DEB_INSTALL_DOCS_ALL := README | 34 | DEB_INSTALL_DOCS_ALL := README |
174 | 35 | 35 | ||
175 | === added directory 'man' | |||
176 | === added file 'man/moz-version.1' | |||
177 | --- man/moz-version.1 1970-01-01 00:00:00 +0000 | |||
178 | +++ man/moz-version.1 2009-08-12 00:18:05 +0000 | |||
179 | @@ -0,0 +1,49 @@ | |||
180 | 1 | .\"Copyright (c) 2009 Benjamin Drung <bdrung@ubuntu.com> | ||
181 | 2 | .\" | ||
182 | 3 | .\"Permission is hereby granted, free of charge, to any person obtaining a copy | ||
183 | 4 | .\"of this software and associated documentation files (the "Software"), to deal | ||
184 | 5 | .\"in the Software without restriction, including without limitation the rights | ||
185 | 6 | .\"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
186 | 7 | .\"copies of the Software, and to permit persons to whom the Software is | ||
187 | 8 | .\"furnished to do so, subject to the following conditions: | ||
188 | 9 | .\" | ||
189 | 10 | .\"The above copyright notice and this permission notice shall be included in | ||
190 | 11 | .\"all copies or substantial portions of the Software. | ||
191 | 12 | .\" | ||
192 | 13 | .\"THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
193 | 14 | .\"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
194 | 15 | .\"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
195 | 16 | .\"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
196 | 17 | .\"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
197 | 18 | .\"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
198 | 19 | .\"THE SOFTWARE. | ||
199 | 20 | .TH MOZ-VERSION "1" "August 2009" "moz-version" "mozilla-devscripts suite" | ||
200 | 21 | .SH NAME | ||
201 | 22 | moz-version \- version format handling tool | ||
202 | 23 | .SH SYNOPSIS | ||
203 | 24 | .B moz-version | ||
204 | 25 | [\fIoptions\fP] | ||
205 | 26 | \fI--compare ver1 comparator ver2\fR | ||
206 | 27 | .SH DESCRIPTION | ||
207 | 28 | .B moz-version | ||
208 | 29 | is a tool for working with version string from the Mozilla suite. | ||
209 | 30 | Currently it can only compare versions. | ||
210 | 31 | .SH ACTIONS | ||
211 | 32 | .TP | ||
212 | 33 | .B \-\-compare \fIver1 comparator ver2\fP | ||
213 | 34 | Compare version numbers, where \fIcomparator\fP is a binary operator. | ||
214 | 35 | \fBmoz-version\fP returns success (zero result) if the specified condition is | ||
215 | 36 | satisfied, and failure (nonzero result) otherwise. The comparator must be one of | ||
216 | 37 | \fBlt le eq ne ge gt\fP. | ||
217 | 38 | .SH OPTIONS | ||
218 | 39 | .TP | ||
219 | 40 | \fB\-h\fR, \fB\-\-help\fR | ||
220 | 41 | Display a brief help message. | ||
221 | 42 | .TP | ||
222 | 43 | \fB\-s\fR, \fB\-\-silent\fR | ||
223 | 44 | Do not print anything and die silent on errors. | ||
224 | 45 | .TP | ||
225 | 46 | \fB\-v\fR, \fB\-\-verbose\fR | ||
226 | 47 | Print more information. | ||
227 | 48 | .SH AUTHOR | ||
228 | 49 | Benjamin Drung <bdrung@gmail.com> | ||
229 | 0 | 50 | ||
230 | === modified file 'src/Makefile' | |||
231 | --- src/Makefile 2009-08-03 23:37:38 +0000 | |||
232 | +++ src/Makefile 2009-08-12 00:18:05 +0000 | |||
233 | @@ -19,6 +19,7 @@ | |||
234 | 19 | 19 | ||
235 | 20 | PREFIX ?= /usr | 20 | PREFIX ?= /usr |
236 | 21 | BINDIR ?= $(PREFIX)/bin | 21 | BINDIR ?= $(PREFIX)/bin |
237 | 22 | MANDIR ?= $(PREFIX)/share/man | ||
238 | 22 | 23 | ||
239 | 23 | DATADIR = $(PREFIX)/share/mozilla-devscripts | 24 | DATADIR = $(PREFIX)/share/mozilla-devscripts |
240 | 24 | 25 | ||
241 | @@ -74,7 +75,7 @@ | |||
242 | 74 | 75 | ||
243 | 75 | build: $(subst_files) | 76 | build: $(subst_files) |
244 | 76 | 77 | ||
246 | 77 | install: $(subst_files) $(extra_files) $(foreach dir,$(extra_dirs),$(wildcard $(dir)/*)) | 78 | install: $(subst_files) $(extra_files) $(foreach dir,$(extra_dirs),$(wildcard $(dir)/*)) install-man |
247 | 78 | install -m 755 -d $(DESTDIR)$(DATADIR) $(foreach dir,$(extra_dirs),$(DESTDIR)$(DATADIR)/$(dir)) | 79 | install -m 755 -d $(DESTDIR)$(DATADIR) $(foreach dir,$(extra_dirs),$(DESTDIR)$(DATADIR)/$(dir)) |
248 | 79 | install -m 644 $(subst_files) $(extra_files) $(DESTDIR)$(DATADIR) | 80 | install -m 644 $(subst_files) $(extra_files) $(DESTDIR)$(DATADIR) |
249 | 80 | install -m 755 -d $(DESTDIR)$(BINDIR) | 81 | install -m 755 -d $(DESTDIR)$(BINDIR) |
250 | @@ -83,6 +84,12 @@ | |||
251 | 83 | install -m 644 `echo $$dir/*` $(DESTDIR)$(DATADIR)/$$dir ; \ | 84 | install -m 644 `echo $$dir/*` $(DESTDIR)$(DATADIR)/$$dir ; \ |
252 | 84 | done | 85 | done |
253 | 85 | find $(DESTDIR)$(DATADIR) -type f \( -name \*.pl -o -name \*.sh \) -exec chmod -v 755 {} \; | 86 | find $(DESTDIR)$(DATADIR) -type f \( -name \*.pl -o -name \*.sh \) -exec chmod -v 755 {} \; |
254 | 87 | chmod 755 $(DESTDIR)$(DATADIR)/minefield-packager.mk | ||
255 | 88 | |||
256 | 89 | install-man: | ||
257 | 90 | install -D -m 644 ../man/moz-version.1 $(DESTDIR)$(MANDIR)/man1/moz-version.1 | ||
258 | 86 | 91 | ||
259 | 87 | clean: | 92 | clean: |
260 | 88 | rm -f $(subst_files) | 93 | rm -f $(subst_files) |
261 | 94 | |||
262 | 95 | .PHONY: clean install install-man | ||
263 | 89 | 96 | ||
264 | === modified file 'src/lp-locale-export.mk' | |||
265 | --- src/lp-locale-export.mk 2009-08-09 22:57:56 +0000 | |||
266 | +++ src/lp-locale-export.mk 2009-08-11 15:34:02 +0000 | |||
267 | @@ -1,4 +1,3 @@ | |||
268 | 1 | #!/usr/bin/make -f | ||
269 | 2 | # -*- mode: makefile; coding: utf-8 -*- | 1 | # -*- mode: makefile; coding: utf-8 -*- |
270 | 3 | 2 | ||
271 | 4 | # Copyright (c) 2008 Canonical Ltd. | 3 | # Copyright (c) 2008 Canonical Ltd. |
This branch provides a man page for moz-version. It's based on the lintian branch.