Merge lp:~mvo/command-not-found/remove-debian-dir into lp:~command-not-found-developers/command-not-found/trunk
- remove-debian-dir
- Merge into trunk
Proposed by
Michael Vogt
Status: | Merged |
---|---|
Approved by: | Zygmunt Krynicki |
Approved revision: | 149 |
Merged at revision: | 149 |
Proposed branch: | lp:~mvo/command-not-found/remove-debian-dir |
Merge into: | lp:~command-not-found-developers/command-not-found/trunk |
Diff against target: |
936 lines (+0/-891) 9 files modified
debian/changelog (+0/-677) debian/compat (+0/-1) debian/control (+0/-22) debian/copyright (+0/-14) debian/dirs (+0/-2) debian/docs (+0/-1) debian/postinst (+0/-41) debian/pycompat (+0/-1) debian/rules (+0/-132) |
To merge this branch: | bzr merge lp:~mvo/command-not-found/remove-debian-dir |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Zygmunt Krynicki | Approve | ||
Review via email:
|
Commit message
Description of the change
This branch removes the debian dir from trunk/ to make it clearer that there is a "trunk" and "packaging" branch.
I recently accidental uploaded from trunk and that causes some confusion as the ubuntu branch was out of date then.
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === removed directory 'debian' | |||
2 | === removed file 'debian/changelog' | |||
3 | --- debian/changelog 2012-01-11 14:32:50 +0000 | |||
4 | +++ debian/changelog 1970-01-01 00:00:00 +0000 | |||
5 | @@ -1,677 +0,0 @@ | |||
6 | 1 | command-not-found (0.2.45ubuntu1) UNRELEASED; urgency=low | ||
7 | 2 | |||
8 | 3 | * fix java recommends (LP: #853688) | ||
9 | 4 | |||
10 | 5 | -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 11 Jan 2012 14:44:04 +0100 | ||
11 | 6 | |||
12 | 7 | command-not-found (0.2.44.1ubuntu1) oneiric-proposed; urgency=low | ||
13 | 8 | |||
14 | 9 | * updated to the latest data from oneiric (LP: #882276) | ||
15 | 10 | |||
16 | 11 | -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 22 Nov 2011 09:13:22 +0100 | ||
17 | 12 | |||
18 | 13 | command-not-found (0.2.44ubuntu1) oneiric; urgency=low | ||
19 | 14 | |||
20 | 15 | * merged lp:~zkrynicki/command-not-found/fix-839609 | ||
21 | 16 | LP: #839609 | ||
22 | 17 | * scan.data: | ||
23 | 18 | - updated to current oneiric | ||
24 | 19 | |||
25 | 20 | -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 20 Sep 2011 15:48:12 +0200 | ||
26 | 21 | |||
27 | 22 | command-not-found (0.2.43ubuntu1) oneiric; urgency=low | ||
28 | 23 | |||
29 | 24 | [ Zygmunt Krynicki ] | ||
30 | 25 | * lp:~zkrynicki/command-not-found/rework-locale-support: | ||
31 | 26 | - improved gettext handling | ||
32 | 27 | |||
33 | 28 | -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 25 Aug 2011 15:15:50 +0200 | ||
34 | 29 | |||
35 | 30 | command-not-found (0.2.42ubuntu2) oneiric; urgency=low | ||
36 | 31 | |||
37 | 32 | * update to curernt oneiric, this includes the new data | ||
38 | 33 | from http://ports.ubuntu.com/~mvo/command-not-found/ to | ||
39 | 34 | get more up-to-date data for the ports | ||
40 | 35 | |||
41 | 36 | -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 25 Aug 2011 10:12:59 +0200 | ||
42 | 37 | |||
43 | 38 | command-not-found (0.2.42ubuntu1) oneiric; urgency=low | ||
44 | 39 | |||
45 | 40 | [ Michael Vogt ] | ||
46 | 41 | * updated data to current oneiric | ||
47 | 42 | |||
48 | 43 | [ Zygmunt Krynicki ] | ||
49 | 44 | * merged lp:~fahlgren/command-not-found/speedup thanks to | ||
50 | 45 | Daniel Fahlgren | ||
51 | 46 | |||
52 | 47 | -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 10 Aug 2011 15:09:19 +0200 | ||
53 | 48 | |||
54 | 49 | command-not-found (0.2.41ubuntu6) UNRELEASED; urgency=low | ||
55 | 50 | |||
56 | 51 | * merged lp:~julien-nicoulaud/command-not-found/fix-zsh-hook, | ||
57 | 52 | many thanks to Julien Nicoulaud (LP: #624565) | ||
58 | 53 | ents | ||
59 | 54 | |||
60 | 55 | -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 15 Aug 2011 16:56:18 +0200 | ||
61 | 56 | |||
62 | 57 | command-not-found (0.2.41ubuntu5) oneiric; urgency=low | ||
63 | 58 | |||
64 | 59 | * updated for alpha3 | ||
65 | 60 | |||
66 | 61 | -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 01 Aug 2011 20:08:36 +0200 | ||
67 | 62 | |||
68 | 63 | command-not-found (0.2.41ubuntu4) oneiric; urgency=low | ||
69 | 64 | |||
70 | 65 | * updated to current oneiric | ||
71 | 66 | |||
72 | 67 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 01 Jul 2011 15:32:10 +0100 | ||
73 | 68 | |||
74 | 69 | command-not-found (0.2.41ubuntu3) oneiric; urgency=low | ||
75 | 70 | |||
76 | 71 | [ Steve Langasek ] | ||
77 | 72 | * Migrate to dh_python2. LP: #788514. | ||
78 | 73 | |||
79 | 74 | [ Michael Vogt ] | ||
80 | 75 | * automatically update the scan.data in the pre-build.sh hook | ||
81 | 76 | (thanks to Steve Langasek for this suggestion) | ||
82 | 77 | * updated to oneiric | ||
83 | 78 | |||
84 | 79 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 10 Jun 2011 08:56:44 +0200 | ||
85 | 80 | |||
86 | 81 | command-not-found (0.2.41ubuntu2) natty; urgency=low | ||
87 | 82 | |||
88 | 83 | * updated for final natty | ||
89 | 84 | |||
90 | 85 | -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 19 Apr 2011 13:07:19 +0200 | ||
91 | 86 | |||
92 | 87 | command-not-found (0.2.41ubuntu1) natty; urgency=low | ||
93 | 88 | |||
94 | 89 | * updated to current natty | ||
95 | 90 | * updated to include ports.ubuntu.com as well in the scan.data | ||
96 | 91 | set (LP: #533031) | ||
97 | 92 | |||
98 | 93 | -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 05 Apr 2011 14:15:19 +0200 | ||
99 | 94 | |||
100 | 95 | command-not-found (0.2.40ubuntu21) natty; urgency=low | ||
101 | 96 | |||
102 | 97 | * scan.data: | ||
103 | 98 | - updated for beta1 | ||
104 | 99 | |||
105 | 100 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 25 Mar 2011 21:48:16 +0100 | ||
106 | 101 | |||
107 | 102 | command-not-found (0.2.40ubuntu20) natty; urgency=low | ||
108 | 103 | |||
109 | 104 | * scan.data: | ||
110 | 105 | - updated for alpha3 | ||
111 | 106 | |||
112 | 107 | -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 01 Mar 2011 10:11:33 +0100 | ||
113 | 108 | |||
114 | 109 | command-not-found (0.2.40ubuntu19) natty; urgency=low | ||
115 | 110 | |||
116 | 111 | * scan.data: | ||
117 | 112 | - updated to current natty | ||
118 | 113 | |||
119 | 114 | -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 17 Feb 2011 17:08:56 +0100 | ||
120 | 115 | |||
121 | 116 | command-not-found (0.2.40ubuntu18) natty; urgency=low | ||
122 | 117 | |||
123 | 118 | * scan.data: | ||
124 | 119 | - updated to current natty | ||
125 | 120 | |||
126 | 121 | -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 27 Jan 2011 16:56:22 +0100 | ||
127 | 122 | |||
128 | 123 | command-not-found (0.2.40ubuntu17) natty; urgency=low | ||
129 | 124 | |||
130 | 125 | * scan.data: | ||
131 | 126 | - updated to current natty | ||
132 | 127 | |||
133 | 128 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 07 Jan 2011 11:06:41 +0100 | ||
134 | 129 | |||
135 | 130 | command-not-found (0.2.40ubuntu16) natty; urgency=low | ||
136 | 131 | |||
137 | 132 | * scan.data: | ||
138 | 133 | - updated to current natty | ||
139 | 134 | |||
140 | 135 | -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 02 Dec 2010 14:26:56 +0100 | ||
141 | 136 | |||
142 | 137 | command-not-found (0.2.40ubuntu15) maverick; urgency=low | ||
143 | 138 | |||
144 | 139 | * scan.data: | ||
145 | 140 | - updated to current maverick | ||
146 | 141 | |||
147 | 142 | -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 16 Sep 2010 15:54:41 +0200 | ||
148 | 143 | |||
149 | 144 | command-not-found (0.2.40ubuntu14) maverick; urgency=low | ||
150 | 145 | |||
151 | 146 | * scan.data: | ||
152 | 147 | - updated for maverick beta | ||
153 | 148 | |||
154 | 149 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 27 Aug 2010 17:15:58 +0200 | ||
155 | 150 | |||
156 | 151 | command-not-found (0.2.40ubuntu13) maverick; urgency=low | ||
157 | 152 | |||
158 | 153 | * debian/rules: | ||
159 | 154 | - generate pot during build (LP: #549106), thanks to | ||
160 | 155 | David Planella | ||
161 | 156 | |||
162 | 157 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 13 Aug 2010 12:23:33 +0200 | ||
163 | 158 | |||
164 | 159 | command-not-found (0.2.40ubuntu12) maverick; urgency=low | ||
165 | 160 | |||
166 | 161 | * scan.data: | ||
167 | 162 | - updated for maverick alpha-3 | ||
168 | 163 | |||
169 | 164 | -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 04 Aug 2010 11:59:09 +0200 | ||
170 | 165 | |||
171 | 166 | command-not-found (0.2.40ubuntu11) maverick; urgency=low | ||
172 | 167 | |||
173 | 168 | * scan.data: | ||
174 | 169 | - updated for maverick alpha-2 | ||
175 | 170 | |||
176 | 171 | -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 30 Jun 2010 10:13:52 +0200 | ||
177 | 172 | |||
178 | 173 | command-not-found (0.2.40ubuntu10) maverick; urgency=low | ||
179 | 174 | |||
180 | 175 | [ Rolf Leggewie ] | ||
181 | 176 | * fix spelling error s/priviledge/privilege/. LP: #574577 | ||
182 | 177 | |||
183 | 178 | [ Michael Vogt ] | ||
184 | 179 | * scan.data: | ||
185 | 180 | - updated for maverick alpha-1 | ||
186 | 181 | |||
187 | 182 | -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 31 May 2010 16:55:04 +0200 | ||
188 | 183 | |||
189 | 184 | command-not-found (0.2.40ubuntu5) lucid; urgency=low | ||
190 | 185 | |||
191 | 186 | * scan.data: | ||
192 | 187 | - updated for RC | ||
193 | 188 | |||
194 | 189 | -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 15 Apr 2010 09:59:35 +0200 | ||
195 | 190 | |||
196 | 191 | command-not-found (0.2.40ubuntu4) lucid; urgency=low | ||
197 | 192 | |||
198 | 193 | * updated for beta2 | ||
199 | 194 | |||
200 | 195 | -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 06 Apr 2010 08:45:24 +0200 | ||
201 | 196 | |||
202 | 197 | command-not-found (0.2.40ubuntu3) lucid; urgency=low | ||
203 | 198 | |||
204 | 199 | * CommandNotFound/CommandNotFound.py: | ||
205 | 200 | - cherry pick "add numbers to the alphabet used for suggestions " | ||
206 | 201 | from trunk (r116) (LP: #507760) | ||
207 | 202 | * scan.data: | ||
208 | 203 | - updated for beta-1 | ||
209 | 204 | |||
210 | 205 | -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 15 Mar 2010 09:36:32 +0100 | ||
211 | 206 | |||
212 | 207 | command-not-found (0.2.40ubuntu2) lucid; urgency=low | ||
213 | 208 | |||
214 | 209 | * scan.data: | ||
215 | 210 | - updated to current lucid | ||
216 | 211 | |||
217 | 212 | -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 24 Feb 2010 13:40:40 +0100 | ||
218 | 213 | |||
219 | 214 | command-not-found (0.2.40ubuntu1) lucid; urgency=low | ||
220 | 215 | |||
221 | 216 | * scan.data: | ||
222 | 217 | - updated to current lucid | ||
223 | 218 | * command-not-found: | ||
224 | 219 | - catch KeyboardInterrupt during initial import as | ||
225 | 220 | well (LP: #479716) | ||
226 | 221 | - show "command not found" string only when no command | ||
227 | 222 | was found (LP: #408020) | ||
228 | 223 | |||
229 | 224 | -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 11 Jan 2010 09:30:41 +0100 | ||
230 | 225 | |||
231 | 226 | command-not-found (0.2.38ubuntu4) karmic; urgency=low | ||
232 | 227 | |||
233 | 228 | * updated to current karmic | ||
234 | 229 | * fix pacakge suggestion for "tex" (LP: #427850) | ||
235 | 230 | |||
236 | 231 | -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 13 Oct 2009 09:19:23 +0200 | ||
237 | 232 | |||
238 | 233 | command-not-found (0.2.38ubuntu3) karmic; urgency=low | ||
239 | 234 | |||
240 | 235 | * updated for BETA | ||
241 | 236 | |||
242 | 237 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 02 Oct 2009 09:21:05 +0200 | ||
243 | 238 | |||
244 | 239 | command-not-found (0.2.38ubuntu2) karmic; urgency=low | ||
245 | 240 | |||
246 | 241 | * updated for alpha6 | ||
247 | 242 | |||
248 | 243 | -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 16 Sep 2009 11:02:39 +0200 | ||
249 | 244 | |||
250 | 245 | command-not-found (0.2.38ubuntu1) karmic; urgency=low | ||
251 | 246 | |||
252 | 247 | * updated data to current karmic | ||
253 | 248 | * print error if a command is not found (bash used to do that | ||
254 | 249 | but with bash-4.0 it does no longer) LP: #420161 | ||
255 | 250 | |||
256 | 251 | -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 02 Sep 2009 16:13:17 +0200 | ||
257 | 252 | |||
258 | 253 | command-not-found (0.2.37ubuntu3) karmic; urgency=low | ||
259 | 254 | |||
260 | 255 | * updated data to current karmic | ||
261 | 256 | |||
262 | 257 | -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 18 Aug 2009 09:08:51 +0200 | ||
263 | 258 | |||
264 | 259 | command-not-found (0.2.37ubuntu2) karmic; urgency=low | ||
265 | 260 | |||
266 | 261 | * scan.data: | ||
267 | 262 | - updated for alpha-3 | ||
268 | 263 | * CommandNotFound/CommandNotFound.py: | ||
269 | 264 | - do not give advice if apt-get is not installed | ||
270 | 265 | (LP: #394842) | ||
271 | 266 | |||
272 | 267 | -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 20 Jul 2009 13:17:27 +0200 | ||
273 | 268 | |||
274 | 269 | command-not-found (0.2.37ubuntu1) karmic; urgency=low | ||
275 | 270 | |||
276 | 271 | * CommandNotFound/CommandNotFound.py: | ||
277 | 272 | - set min_length for mispelling suggestion to 3 (LP: #396829) | ||
278 | 273 | - set max_length for mispelling suggestion to 15, if there | ||
279 | 274 | are more, just a summary is printed | ||
280 | 275 | |||
281 | 276 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 10 Jul 2009 10:44:00 +0200 | ||
282 | 277 | |||
283 | 278 | command-not-found (0.2.36ubuntu1) karmic; urgency=low | ||
284 | 279 | |||
285 | 280 | * scan.data: updated to current karmic | ||
286 | 281 | * scan.data: add exception for gftp (LP: #99708) | ||
287 | 282 | * debian/postinst: | ||
288 | 283 | - if old/leftover /etc/bash_command_found_found is there, | ||
289 | 284 | remove it (LP: #379851) | ||
290 | 285 | * debian/rules: | ||
291 | 286 | - build with DH_PYCENTRAL=include-links LP: #342003 | ||
292 | 287 | * CommandNotFound/util.py: | ||
293 | 288 | - use try gettext if lgettext fails (LP: #282446) | ||
294 | 289 | * debian/copyright: | ||
295 | 290 | - fix location (LP: #314478) | ||
296 | 291 | * CommandNotFound/CommandNotFound.py: | ||
297 | 292 | - be more robust about missing priority.txt (LP: #359784) | ||
298 | 293 | - add simple spelling correction (LP: #314486) | ||
299 | 294 | * debian/control: | ||
300 | 295 | - build for all python versions (LP: #366096) | ||
301 | 296 | |||
302 | 297 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 26 Jun 2009 13:58:24 +0200 | ||
303 | 298 | |||
304 | 299 | command-not-found (0.2.35ubuntu2) karmic; urgency=low | ||
305 | 300 | |||
306 | 301 | * scan.data: updated for alpha-2 | ||
307 | 302 | |||
308 | 303 | -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 08 Jun 2009 11:58:06 +0200 | ||
309 | 304 | |||
310 | 305 | command-not-found (0.2.35ubuntu1) karmic; urgency=low | ||
311 | 306 | |||
312 | 307 | * zsh_command_not_found: | ||
313 | 308 | - Use the pseudo-namespace prefix cnf_ for everything. | ||
314 | 309 | - Append the preexec/precmd functions to zsh’s pre*_functions arrays, | ||
315 | 310 | allowing other pre* functions to be used simultaneously. | ||
316 | 311 | |||
317 | 312 | -- Johan Kiviniemi <debian@johan.kiviniemi.name> Fri, 15 May 2009 22:13:00 +0300 | ||
318 | 313 | |||
319 | 314 | command-not-found (0.2.34ubuntu3) jaunty; urgency=low | ||
320 | 315 | |||
321 | 316 | * scan.data: | ||
322 | 317 | - updated for RC | ||
323 | 318 | |||
324 | 319 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 17 Apr 2009 10:11:13 +0200 | ||
325 | 320 | |||
326 | 321 | command-not-found (0.2.34ubuntu2) jaunty; urgency=low | ||
327 | 322 | |||
328 | 323 | * scan.data: | ||
329 | 324 | - updated to current jaunty | ||
330 | 325 | |||
331 | 326 | -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 07 Apr 2009 21:58:51 +0200 | ||
332 | 327 | |||
333 | 328 | command-not-found (0.2.34ubuntu1) jaunty; urgency=low | ||
334 | 329 | |||
335 | 330 | * CommandNotFound/CommandNotFound.py: | ||
336 | 331 | - support "priority.txt" file that allows basic priority | ||
337 | 332 | ordering in the output | ||
338 | 333 | * data/priority.txt: | ||
339 | 334 | - add initial version with "openjdk-6-jdk" (LP: #318442) | ||
340 | 335 | |||
341 | 336 | -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 23 Mar 2009 13:45:26 +0100 | ||
342 | 337 | |||
343 | 338 | command-not-found (0.2.33ubuntu3) jaunty; urgency=low | ||
344 | 339 | |||
345 | 340 | * scan.data: | ||
346 | 341 | - updated for jaunty beta | ||
347 | 342 | * suggest pythonX.Y instead of pythonX.Y-minimal when | ||
348 | 343 | "pythonX.Y" is not found | ||
349 | 344 | |||
350 | 345 | -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 23 Mar 2009 11:07:26 +0100 | ||
351 | 346 | |||
352 | 347 | command-not-found (0.2.33ubuntu2) jaunty; urgency=low | ||
353 | 348 | |||
354 | 349 | * scan.data: updated to current jaunty | ||
355 | 350 | |||
356 | 351 | -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 16 Mar 2009 09:21:37 +0100 | ||
357 | 352 | |||
358 | 353 | command-not-found (0.2.33ubuntu1) jaunty; urgency=low | ||
359 | 354 | |||
360 | 355 | * debian/rules: | ||
361 | 356 | - update debian/rules to the new python way of installing | ||
362 | 357 | packages | ||
363 | 358 | * command-not-found: | ||
364 | 359 | - remove "-S" from "#!/usr/bin/python" | ||
365 | 360 | |||
366 | 361 | -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 02 Mar 2009 09:15:48 +0100 | ||
367 | 362 | |||
368 | 363 | command-not-found (0.2.32ubuntu1) jaunty; urgency=low | ||
369 | 364 | |||
370 | 365 | [ Steve Langasek ] | ||
371 | 366 | * CommandNotFound/CommandNotFound.py: | ||
372 | 367 | - add support for sorting by components | ||
373 | 368 | |||
374 | 369 | [ Michael Vogt ] | ||
375 | 370 | * scan.data: updated | ||
376 | 371 | |||
377 | 372 | -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 26 Feb 2009 16:34:20 +0100 | ||
378 | 373 | |||
379 | 374 | command-not-found (0.2.31ubuntu2) jaunty; urgency=low | ||
380 | 375 | |||
381 | 376 | * scan.data: fix git data (LP: #318433) by updating | ||
382 | 377 | to the latest data | ||
383 | 378 | |||
384 | 379 | -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 22 Jan 2009 08:53:25 +0100 | ||
385 | 380 | |||
386 | 381 | command-not-found (0.2.31ubuntu1) jaunty; urgency=low | ||
387 | 382 | |||
388 | 383 | * scan.data: updated for jaunty alpha3 | ||
389 | 384 | |||
390 | 385 | -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 12 Jan 2009 21:08:22 +0100 | ||
391 | 386 | |||
392 | 387 | command-not-found (0.2.30ubuntu1) jaunty; urgency=low | ||
393 | 388 | |||
394 | 389 | [ Nick Ellery ] | ||
395 | 390 | * Fixed spelling errors in package description (LP: #285631). | ||
396 | 391 | |||
397 | 392 | [ Michael Vogt ] | ||
398 | 393 | * add verify_scan_data.py to check against component mismatches | ||
399 | 394 | and incorrect architecture fields | ||
400 | 395 | * improve diff-scan-data.py | ||
401 | 396 | |||
402 | 397 | -- Nick Ellery <nick.ellery@ubuntu.com> Tue, 04 Nov 2008 17:13:45 -0800 | ||
403 | 398 | |||
404 | 399 | command-not-found (0.2.26ubuntu1) intrepid; urgency=low | ||
405 | 400 | |||
406 | 401 | * scan.data updated to current intrepid | ||
407 | 402 | |||
408 | 403 | -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 15 Oct 2008 17:45:26 +0200 | ||
409 | 404 | |||
410 | 405 | command-not-found (0.2.25ubuntu2) intrepid; urgency=low | ||
411 | 406 | |||
412 | 407 | [ Era Eriksson ] | ||
413 | 408 | * Print where-to-find-command, incorrect-PATH, and crash-guard messages to | ||
414 | 409 | stderr rather than stdout (LP: #212723). | ||
415 | 410 | |||
416 | 411 | [ Colin Watson ] | ||
417 | 412 | * Fix various crash bugs in the crash handler (LP: #269821). | ||
418 | 413 | * Adjust crash handler syntax to be friendly to Python 2.4 (LP: #234540). | ||
419 | 414 | |||
420 | 415 | -- Colin Watson <cjwatson@ubuntu.com> Wed, 15 Oct 2008 13:27:20 +0100 | ||
421 | 416 | |||
422 | 417 | command-not-found (0.2.25ubuntu1) intrepid; urgency=low | ||
423 | 418 | |||
424 | 419 | * command-not-found data updated for beta | ||
425 | 420 | |||
426 | 421 | -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 25 Sep 2008 20:43:10 +0200 | ||
427 | 422 | |||
428 | 423 | command-not-found (0.2.24ubuntu1) intrepid; urgency=low | ||
429 | 424 | |||
430 | 425 | * updated scan.data for alpha-6 | ||
431 | 426 | |||
432 | 427 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 12 Sep 2008 23:05:26 +0200 | ||
433 | 428 | |||
434 | 429 | command-not-found (0.2.23ubuntu1) intrepid; urgency=low | ||
435 | 430 | |||
436 | 431 | [ Zygmunt Krynicki ] | ||
437 | 432 | * fix crash when PATH is unset (LP: #258572) | ||
438 | 433 | |||
439 | 434 | [ Michael Vogt ] | ||
440 | 435 | * scan.data: | ||
441 | 436 | - updated to current intrepid | ||
442 | 437 | |||
443 | 438 | -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 20 Aug 2008 15:57:14 +0200 | ||
444 | 439 | |||
445 | 440 | command-not-found (0.2.22ubuntu1) intrepid; urgency=low | ||
446 | 441 | |||
447 | 442 | [ Zygmunt Krynicki ] | ||
448 | 443 | * Fixed some locale issues and enchanced error reporting | ||
449 | 444 | |||
450 | 445 | [ Michael Vogt ] | ||
451 | 446 | * scan.data: | ||
452 | 447 | - updated to current intrepid | ||
453 | 448 | |||
454 | 449 | -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 11 Aug 2008 18:24:21 +0200 | ||
455 | 450 | |||
456 | 451 | command-not-found (0.2.21ubuntu1) intrepid; urgency=low | ||
457 | 452 | |||
458 | 453 | * scan.data: | ||
459 | 454 | - updated to current intrepid | ||
460 | 455 | |||
461 | 456 | -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 21 Jul 2008 14:22:17 +0200 | ||
462 | 457 | |||
463 | 458 | command-not-found (0.2.20ubuntu1) intrepid; urgency=low | ||
464 | 459 | |||
465 | 460 | * scan.data: | ||
466 | 461 | - updated for intrepid | ||
467 | 462 | |||
468 | 463 | -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 30 Jun 2008 16:46:44 +0200 | ||
469 | 464 | |||
470 | 465 | command-not-found (0.2.17ubuntu1) hardy; urgency=low | ||
471 | 466 | |||
472 | 467 | * scan.data: | ||
473 | 468 | - upated for RC | ||
474 | 469 | |||
475 | 470 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 11 Apr 2008 10:59:54 +0200 | ||
476 | 471 | |||
477 | 472 | command-not-found (0.2.16ubuntu1) hardy; urgency=low | ||
478 | 473 | |||
479 | 474 | * updated to latest hardy | ||
480 | 475 | |||
481 | 476 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 04 Apr 2008 10:36:34 +0200 | ||
482 | 477 | |||
483 | 478 | command-not-found (0.2.15ubuntu1) hardy; urgency=low | ||
484 | 479 | |||
485 | 480 | [ Kjell Braden ] | ||
486 | 481 | * Don't run command-not-found from the shell scripts when it has been | ||
487 | 482 | removed in the meantime (LP: #194939) | ||
488 | 483 | |||
489 | 484 | [ Michael Vogt ] | ||
490 | 485 | * CommandNotFound/CommandNotFound.py: | ||
491 | 486 | - do not advise on ".." (LP: # 195090) - thanks to Thomas Perl | ||
492 | 487 | - do not crash on problems with python-apt (LP: #161804) | ||
493 | 488 | * debian/control: | ||
494 | 489 | - improve description (LP: #144153) | ||
495 | 490 | * command-not-found: | ||
496 | 491 | - make the crash message a bit more friendly | ||
497 | 492 | * use lgettext() instead of gettext() (LP: #161159) | ||
498 | 493 | |||
499 | 494 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 07 Mar 2008 10:01:20 +0100 | ||
500 | 495 | |||
501 | 496 | command-not-found (0.2.14ubuntu1) hardy; urgency=low | ||
502 | 497 | |||
503 | 498 | * updated data for alpha-6 | ||
504 | 499 | * fixed bug in data extraction code for hardlinks | ||
505 | 500 | (git-diff and friends was not in the index because of this) | ||
506 | 501 | |||
507 | 502 | -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 04 Mar 2008 17:00:42 +0100 | ||
508 | 503 | |||
509 | 504 | command-not-found (0.2.13ubuntu1) hardy; urgency=low | ||
510 | 505 | |||
511 | 506 | * updated data for alpha-5 | ||
512 | 507 | |||
513 | 508 | -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 19 Feb 2008 19:24:40 +0100 | ||
514 | 509 | |||
515 | 510 | command-not-found (0.2.12ubuntu1) hardy; urgency=low | ||
516 | 511 | |||
517 | 512 | * updated data for alpha-3 | ||
518 | 513 | |||
519 | 514 | -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 07 Jan 2008 15:25:11 +0100 | ||
520 | 515 | |||
521 | 516 | command-not-found (0.2.11ubuntu3) hardy; urgency=low | ||
522 | 517 | |||
523 | 518 | * CommandNotFound/CommandNotFound.py: When $HOME is not set, fall back to | ||
524 | 519 | /root instead of crashing with a type error. (LP: #177934) | ||
525 | 520 | |||
526 | 521 | -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 03 Jan 2008 15:57:51 +0100 | ||
527 | 522 | |||
528 | 523 | command-not-found (0.2.11ubuntu2) hardy; urgency=low | ||
529 | 524 | |||
530 | 525 | * python-gdbm added to Depends, not just b-d | ||
531 | 526 | |||
532 | 527 | -- Rick Clark <rick.clark@ubuntu.com> Sun, 09 Dec 2007 15:51:19 -0500 | ||
533 | 528 | |||
534 | 529 | command-not-found (0.2.11ubuntu1) hardy; urgency=low | ||
535 | 530 | |||
536 | 531 | * fix FTBFS by adding missing b-d on python-gdbm (thanks to | ||
537 | 532 | Michael Bienia) | ||
538 | 533 | |||
539 | 534 | -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 04 Dec 2007 10:52:32 +0100 | ||
540 | 535 | |||
541 | 536 | command-not-found (0.2.10ubuntu1) hardy; urgency=low | ||
542 | 537 | |||
543 | 538 | * command-not-found: | ||
544 | 539 | - add --ignore-installed parameter to display the packages | ||
545 | 540 | that have the given command even if the command is installed | ||
546 | 541 | * updated data for hardy | ||
547 | 542 | |||
548 | 543 | -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 03 Dec 2007 21:43:49 +0100 | ||
549 | 544 | |||
550 | 545 | command-not-found (0.2.9ubuntu1) hardy; urgency=low | ||
551 | 546 | |||
552 | 547 | * switch from dbm to gdbm | ||
553 | 548 | |||
554 | 549 | -- Michael Vogt <michael.vogt@ubuntu.com> Sat, 10 Nov 2007 14:51:51 -0500 | ||
555 | 550 | |||
556 | 551 | command-not-found (0.2.8ubuntu2) gutsy; urgency=low | ||
557 | 552 | |||
558 | 553 | * debian/control: | ||
559 | 554 | - fix command not found description | ||
560 | 555 | * scan.data updated to current gutsy | ||
561 | 556 | |||
562 | 557 | -- Michael Vogt <michael.vogt@ubuntu.com> Sat, 06 Oct 2007 13:06:23 +0200 | ||
563 | 558 | |||
564 | 559 | command-not-found (0.2.8ubuntu1) gutsy; urgency=low | ||
565 | 560 | |||
566 | 561 | [ Michael Vogt ] | ||
567 | 562 | * added missing pyhton-apt dependency (LP: #138842) | ||
568 | 563 | |||
569 | 564 | [ Niklas Klein ] | ||
570 | 565 | * CommandNotFound/CommandNotFound.py added test for propper set PATH variable. | ||
571 | 566 | Backport from version 0.3 (LP: #111255). | ||
572 | 567 | |||
573 | 568 | -- Niklas Klein <kleinernik@gmail.com> Fri, 24 Sep 2007 09:33:22 +0200 | ||
574 | 569 | |||
575 | 570 | command-not-found (0.2.7) gutsy; urgency=low | ||
576 | 571 | |||
577 | 572 | [Zygmunt Krynicki] | ||
578 | 573 | * data/suggestions.d: | ||
579 | 574 | - removed | ||
580 | 575 | * CommandNotFound/CommandNotFound.py: | ||
581 | 576 | - fix typo in string substitution (LP: #131435) | ||
582 | 577 | - only print components that are really required (LP: #133869) | ||
583 | 578 | * setup.py: | ||
584 | 579 | - move to /usr/lib, no end-user application (LP: #112411) | ||
585 | 580 | |||
586 | 581 | -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 22 Aug 2007 06:49:01 +0200 | ||
587 | 582 | |||
588 | 583 | command-not-found (0.2.6) gutsy; urgency=low | ||
589 | 584 | |||
590 | 585 | * updated command-not-found data to current gutsy | ||
591 | 586 | |||
592 | 587 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 17 Aug 2007 22:00:55 +0200 | ||
593 | 588 | |||
594 | 589 | command-not-found (0.2.5) gutsy; urgency=low | ||
595 | 590 | |||
596 | 591 | * Send output to stderr, not stdout (LP: #129257). | ||
597 | 592 | |||
598 | 593 | -- Colin Watson <cjwatson@ubuntu.com> Mon, 30 Jul 2007 17:12:32 +0100 | ||
599 | 594 | |||
600 | 595 | command-not-found (0.2.4) feisty; urgency=low | ||
601 | 596 | |||
602 | 597 | [ Michael Vogt ] | ||
603 | 598 | * remove support for suggestins.d/ dir (not used currently and | ||
604 | 599 | may break stuff) | ||
605 | 600 | |||
606 | 601 | [ Zygmunt Krynicki ] | ||
607 | 602 | * Fixed launchpad #95794: warning emitted about not finding group name | ||
608 | 603 | * data files updated | ||
609 | 604 | |||
610 | 605 | [ Johan Kiviniemi ] | ||
611 | 606 | * zsh_command_not_found: unset the command variable, otherwise an empty | ||
612 | 607 | line will rerun command-not-found. Thanks to Chris Ball for suggesting | ||
613 | 608 | this (LP: #92942). | ||
614 | 609 | |||
615 | 610 | -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 10 Apr 2007 17:39:09 +0200 | ||
616 | 611 | |||
617 | 612 | command-not-found (0.2.3) feisty; urgency=low | ||
618 | 613 | |||
619 | 614 | [Johan Kiviniemi] | ||
620 | 615 | * zsh_command_not_found, README, setup.py: Added support for zsh. | ||
621 | 616 | (LP#92942, thanks!) | ||
622 | 617 | |||
623 | 618 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 16 Mar 2007 23:57:58 +0100 | ||
624 | 619 | |||
625 | 620 | command-not-found (0.2.2) feisty; urgency=low | ||
626 | 621 | |||
627 | 622 | * refreshed database to current feisty | ||
628 | 623 | * set maintainer field to ubuntu | ||
629 | 624 | |||
630 | 625 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 16 Mar 2007 19:00:49 +0100 | ||
631 | 626 | |||
632 | 627 | command-not-found (0.2.1) feisty; urgency=low | ||
633 | 628 | |||
634 | 629 | * always return 127 to be compatible with the shell (lp: #67726) | ||
635 | 630 | * make the message less confusing for non-admin users | ||
636 | 631 | (Thanks to Chris Wagner for his patch, lp: #64220) | ||
637 | 632 | * Grammar fixes (lp: #64542) | ||
638 | 633 | |||
639 | 634 | -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 11 Jan 2007 18:11:08 +0100 | ||
640 | 635 | |||
641 | 636 | command-not-found (0.2.0) feisty; urgency=low | ||
642 | 637 | |||
643 | 638 | [Zygmunt Krynicki] | ||
644 | 639 | * applied patch from Daniel Werner <daniel.d.werner@googlemail.com> | ||
645 | 640 | * minor fixes to the suggestions database | ||
646 | 641 | * updated the README file | ||
647 | 642 | [Michael Vogt] | ||
648 | 643 | * make the extraction skip package not available in the current | ||
649 | 644 | distro release | ||
650 | 645 | * updated the binary database with the latest feisty | ||
651 | 646 | * show component information for other components than main | ||
652 | 647 | |||
653 | 648 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 5 Jan 2007 09:56:15 +0100 | ||
654 | 649 | |||
655 | 650 | command-not-found (0.1.0) edgy; urgency=low | ||
656 | 651 | |||
657 | 652 | [Zygmunt Krynicki] | ||
658 | 653 | * updated the suggestions database | ||
659 | 654 | * added support for update-alternative calls in the postinst (yeah!) | ||
660 | 655 | * code cleanups | ||
661 | 656 | [Michael Vogt] | ||
662 | 657 | * updated the binary database wit the latest edgy | ||
663 | 658 | * the command-not-found-data is build pre arch now | ||
664 | 659 | |||
665 | 660 | |||
666 | 661 | -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 12 Sep 2006 19:33:33 +0200 | ||
667 | 662 | |||
668 | 663 | command-not-found (0.0.2) edgy; urgency=low | ||
669 | 664 | |||
670 | 665 | * return 127 to bash if nothing was found in the database | ||
671 | 666 | * update the database | ||
672 | 667 | |||
673 | 668 | -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 10 Aug 2006 15:05:14 +0200 | ||
674 | 669 | |||
675 | 670 | command-not-found (0.0.1) edgy; urgency=low | ||
676 | 671 | |||
677 | 672 | * initial release | ||
678 | 673 | * start of the implementation of | ||
679 | 674 | https://wiki.ubuntu.com/CommandNotFoundMagic | ||
680 | 675 | * contains the current commands on edgy | ||
681 | 676 | |||
682 | 677 | -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 24 Nov 2005 16:34:54 +0100 | ||
683 | 678 | 0 | ||
684 | === removed file 'debian/compat' | |||
685 | --- debian/compat 2007-01-05 21:04:57 +0000 | |||
686 | +++ debian/compat 1970-01-01 00:00:00 +0000 | |||
687 | @@ -1,1 +0,0 @@ | |||
688 | 1 | 5 | ||
689 | 2 | 0 | ||
690 | === removed file 'debian/control' | |||
691 | --- debian/control 2011-06-10 03:29:15 +0000 | |||
692 | +++ debian/control 1970-01-01 00:00:00 +0000 | |||
693 | @@ -1,22 +0,0 @@ | |||
694 | 1 | Source: command-not-found | ||
695 | 2 | Section: admin | ||
696 | 3 | Priority: optional | ||
697 | 4 | Maintainer: Michael Vogt <michael.vogt@ubuntu.com> | ||
698 | 5 | XSBC-Original-Maintainer: Zygmunt Krynicki <zkrynicki@gmail.com> | ||
699 | 6 | Build-Depends: debhelper (>= 5.0.38), python, python-dev (>= 2.6.6-3~), devscripts, intltool, python-apt (>= 0.6.12), python-gdbm | ||
700 | 7 | Standards-Version: 3.7.2 | ||
701 | 8 | XS-Vcs-Bzr: http://launchpad.net/~ubuntu-core-dev/command-not-found/ubuntu | ||
702 | 9 | |||
703 | 10 | Package: command-not-found | ||
704 | 11 | Architecture: all | ||
705 | 12 | Depends: ${python:Depends}, ${misc:Depends}, python-apt, command-not-found-data, python-gdbm, lsb-release | ||
706 | 13 | Description: Suggest installation of packages in interactive bash sessions | ||
707 | 14 | This package will install a handler for command_not_found that looks up | ||
708 | 15 | programs not currently installed but available from the repositories. | ||
709 | 16 | |||
710 | 17 | Package: command-not-found-data | ||
711 | 18 | Architecture: any | ||
712 | 19 | Depends: ${misc:Depends} | ||
713 | 20 | Description: Set of data files for command-not-found. | ||
714 | 21 | This package provides the required data used by the command-not-found | ||
715 | 22 | application. | ||
716 | 23 | 0 | ||
717 | === removed file 'debian/copyright' | |||
718 | --- debian/copyright 2009-06-26 10:10:52 +0000 | |||
719 | +++ debian/copyright 1970-01-01 00:00:00 +0000 | |||
720 | @@ -1,14 +0,0 @@ | |||
721 | 1 | This package was debianized by Michael Vogt <michael.vogt@ubuntu.com> on | ||
722 | 2 | Fri, 31 May 2005 10:10:41 +0100. | ||
723 | 3 | |||
724 | 4 | It was downloaded via bzr from | ||
725 | 5 | https://code.launchpad.net/~zkrynicki/command-not-found/main | ||
726 | 6 | |||
727 | 7 | The ubuntu source is at: | ||
728 | 8 | https://code.edge.launchpad.net/~ubuntu-core-dev/command-not-found/ubuntu | ||
729 | 9 | |||
730 | 10 | Upstream Author: Zygmunt Krynicki <zkrynicki@gmail.com> | ||
731 | 11 | Michael Vogt <michael.vogt@ubuntu.com> | ||
732 | 12 | |||
733 | 13 | Copyright: GPL, see /usr/share/common-licenses/GPL | ||
734 | 14 | |||
735 | 15 | 0 | ||
736 | === removed file 'debian/dirs' | |||
737 | --- debian/dirs 2006-08-28 12:14:46 +0000 | |||
738 | +++ debian/dirs 1970-01-01 00:00:00 +0000 | |||
739 | @@ -1,2 +0,0 @@ | |||
740 | 1 | usr/bin | ||
741 | 2 | usr/share/command-not-found/data | ||
742 | 3 | 0 | ||
743 | === removed file 'debian/docs' | |||
744 | --- debian/docs 2006-08-28 12:14:46 +0000 | |||
745 | +++ debian/docs 1970-01-01 00:00:00 +0000 | |||
746 | @@ -1,1 +0,0 @@ | |||
747 | 1 | README | ||
748 | 2 | 0 | ||
749 | === removed file 'debian/postinst' | |||
750 | --- debian/postinst 2009-06-26 08:42:09 +0000 | |||
751 | +++ debian/postinst 1970-01-01 00:00:00 +0000 | |||
752 | @@ -1,41 +0,0 @@ | |||
753 | 1 | #!/bin/sh | ||
754 | 2 | # postinst script for command-not-found | ||
755 | 3 | # | ||
756 | 4 | # see: dh_installdeb(1) | ||
757 | 5 | |||
758 | 6 | set -e | ||
759 | 7 | |||
760 | 8 | # summary of how this script can be called: | ||
761 | 9 | # * <postinst> `configure' <most-recently-configured-version> | ||
762 | 10 | # * <old-postinst> `abort-upgrade' <new version> | ||
763 | 11 | # * <conflictor's-postinst> `abort-remove' `in-favour' <package> | ||
764 | 12 | # <new-version> | ||
765 | 13 | # * <postinst> `abort-remove' | ||
766 | 14 | # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' | ||
767 | 15 | # <failed-install-package> <version> `removing' | ||
768 | 16 | # <conflicting-package> <version> | ||
769 | 17 | # for details, see http://www.debian.org/doc/debian-policy/ or | ||
770 | 18 | # the debian-policy package | ||
771 | 19 | |||
772 | 20 | |||
773 | 21 | case "$1" in | ||
774 | 22 | configure) | ||
775 | 23 | ;; | ||
776 | 24 | |||
777 | 25 | abort-upgrade|abort-remove|abort-deconfigure) | ||
778 | 26 | ;; | ||
779 | 27 | |||
780 | 28 | *) | ||
781 | 29 | echo "postinst called with unknown argument \`$1'" >&2 | ||
782 | 30 | exit 1 | ||
783 | 31 | ;; | ||
784 | 32 | esac | ||
785 | 33 | |||
786 | 34 | # remove old left-over file | ||
787 | 35 | if dpkg --compare-versions "$2" lt-nl "0.2.35ubuntu3"; then | ||
788 | 36 | rm -f /etc/bash_command_not_found | ||
789 | 37 | fi | ||
790 | 38 | |||
791 | 39 | #DEBHELPER# | ||
792 | 40 | |||
793 | 41 | exit 0 | ||
794 | 42 | 0 | ||
795 | === removed file 'debian/pycompat' | |||
796 | --- debian/pycompat 2007-01-05 21:02:56 +0000 | |||
797 | +++ debian/pycompat 1970-01-01 00:00:00 +0000 | |||
798 | @@ -1,1 +0,0 @@ | |||
799 | 1 | 2 | ||
800 | 2 | 0 | ||
801 | === removed file 'debian/rules' | |||
802 | --- debian/rules 2011-06-10 03:29:15 +0000 | |||
803 | +++ debian/rules 1970-01-01 00:00:00 +0000 | |||
804 | @@ -1,132 +0,0 @@ | |||
805 | 1 | #!/usr/bin/make -f | ||
806 | 2 | # -*- makefile -*- | ||
807 | 3 | # Sample debian/rules that uses debhelper. | ||
808 | 4 | # GNU copyright 1997 to 1999 by Joey Hess. | ||
809 | 5 | |||
810 | 6 | # Uncomment this to turn on verbose mode. | ||
811 | 7 | #export DH_VERBOSE=1 | ||
812 | 8 | |||
813 | 9 | PKGNAME=command-not-found | ||
814 | 10 | DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p') | ||
815 | 11 | DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us -uc $(DEB_BUILD_PROG_OPTS) | ||
816 | 12 | |||
817 | 13 | |||
818 | 14 | CFLAGS = -Wall -g | ||
819 | 15 | |||
820 | 16 | ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) | ||
821 | 17 | CFLAGS += -O0 | ||
822 | 18 | else | ||
823 | 19 | CFLAGS += -O2 | ||
824 | 20 | endif | ||
825 | 21 | ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) | ||
826 | 22 | INSTALL_PROGRAM += -s | ||
827 | 23 | endif | ||
828 | 24 | |||
829 | 25 | configure: configure-stamp | ||
830 | 26 | configure-stamp: | ||
831 | 27 | dh_testdir | ||
832 | 28 | # Add here commands to configure the package. | ||
833 | 29 | |||
834 | 30 | touch configure-stamp | ||
835 | 31 | |||
836 | 32 | |||
837 | 33 | build: build-stamp | ||
838 | 34 | |||
839 | 35 | build-stamp: configure-stamp | ||
840 | 36 | dh_testdir | ||
841 | 37 | |||
842 | 38 | # Add here commands to compile the package. | ||
843 | 39 | #$(MAKE) | ||
844 | 40 | ./setup.py build | ||
845 | 41 | (cd po; intltool-update -p -g command-not-found) | ||
846 | 42 | touch build-stamp | ||
847 | 43 | |||
848 | 44 | clean: | ||
849 | 45 | dh_testdir | ||
850 | 46 | dh_testroot | ||
851 | 47 | rm -f build-stamp configure-stamp | ||
852 | 48 | |||
853 | 49 | # Add here commands to clean up after the build process. | ||
854 | 50 | #-$(MAKE) clean | ||
855 | 51 | ./setup.py clean --all | ||
856 | 52 | find . -name "*.so" -exec rm {} \; | ||
857 | 53 | find . -name "*.o" -exec rm {} \; | ||
858 | 54 | find . -name "*.pyc" -exec rm {} \; | ||
859 | 55 | |||
860 | 56 | # clean the database files as well | ||
861 | 57 | find . -name "*.gdb" -exec rm {} \; | ||
862 | 58 | find . -name "*.pot" -exec rm {} \; | ||
863 | 59 | dh_clean | ||
864 | 60 | |||
865 | 61 | install: build | ||
866 | 62 | dh_testdir | ||
867 | 63 | dh_testroot | ||
868 | 64 | dh_clean -k | ||
869 | 65 | dh_installdirs | ||
870 | 66 | |||
871 | 67 | # build the binary database | ||
872 | 68 | (cd UnifiedDataExtractor; \ | ||
873 | 69 | ./create-binary-database; \ | ||
874 | 70 | mv *.db ../data/programs.d/) | ||
875 | 71 | |||
876 | 72 | # Add here commands to install the package into debian/$(PKGNAME). | ||
877 | 73 | ./setup.py install --prefix=$(CURDIR)/debian/$(PKGNAME)/usr --install-layout=deb | ||
878 | 74 | # Move our script from /usr/bin to /usr/lib (not meant for end-users) | ||
879 | 75 | install -d $(CURDIR)/debian/command-not-found/usr/lib | ||
880 | 76 | mv $(CURDIR)/debian/command-not-found/usr/bin/command-not-found $(CURDIR)/debian/command-not-found/usr/lib/command-not-found | ||
881 | 77 | rmdir --ignore-fail-on-non-empty $(CURDIR)/debian/command-not-found/usr/bin | ||
882 | 78 | # Get rid of bash integration script, got merged to bash | ||
883 | 79 | rm $(CURDIR)/debian/command-not-found/etc/bash_command_not_found | ||
884 | 80 | |||
885 | 81 | # move the data files to a seperate package | ||
886 | 82 | mkdir -p debian/command-not-found-data/usr/share | ||
887 | 83 | mv debian/command-not-found/usr/share/command-not-found/ debian/command-not-found-data/usr/share | ||
888 | 84 | |||
889 | 85 | |||
890 | 86 | # Build architecture-independent files here. | ||
891 | 87 | binary-indep: build install | ||
892 | 88 | # We have nothing to do by default. | ||
893 | 89 | |||
894 | 90 | # Build architecture-dependent files here. | ||
895 | 91 | binary-arch: build install | ||
896 | 92 | dh_testdir | ||
897 | 93 | dh_testroot | ||
898 | 94 | dh_installchangelogs | ||
899 | 95 | dh_installdocs | ||
900 | 96 | dh_installexamples | ||
901 | 97 | # dh_install | ||
902 | 98 | # dh_installmenu | ||
903 | 99 | # dh_installdebconf | ||
904 | 100 | # dh_installlogrotate | ||
905 | 101 | # dh_installemacsen | ||
906 | 102 | # dh_installpam | ||
907 | 103 | # dh_installmime | ||
908 | 104 | # dh_installinit | ||
909 | 105 | # dh_installcron | ||
910 | 106 | # dh_installinfo | ||
911 | 107 | dh_installman | ||
912 | 108 | dh_link | ||
913 | 109 | dh_strip | ||
914 | 110 | dh_compress | ||
915 | 111 | dh_fixperms | ||
916 | 112 | dh_python2 | ||
917 | 113 | dh_installdeb | ||
918 | 114 | dh_shlibdeps | ||
919 | 115 | dh_gencontrol | ||
920 | 116 | dh_md5sums | ||
921 | 117 | dh_builddeb | ||
922 | 118 | |||
923 | 119 | |||
924 | 120 | arch-build: | ||
925 | 121 | rm -rf debian/arch-build | ||
926 | 122 | # get the current data | ||
927 | 123 | #(cd UnifiedDataExtractor; rm -f data.tar.gz ; wget http://people.ubuntu.com/~mvo/command-not-found/data.tar.gz ; tar xvf data.tar.gz) | ||
928 | 124 | mkdir -p debian/arch-build/$(PKGNAME)-$(DEBVER) | ||
929 | 125 | # export the bzr tree | ||
930 | 126 | tar -c --exclude=arch-build --no-recursion -f - `bzr inventory` | (cd debian/arch-build/$(PKGNAME)-$(DEBVER);tar xf -) | ||
931 | 127 | # move the scan.data into the build-tree (we do not keep it in bzr) | ||
932 | 128 | cp UnifiedDataExtractor/scan.data debian/arch-build/$(PKGNAME)-$(DEBVER)/UnifiedDataExtractor | ||
933 | 129 | (cd debian/arch-build/$(PKGNAME)-$(DEBVER); $(DEB_BUILD_PROG)) | ||
934 | 130 | |||
935 | 131 | binary: binary-indep binary-arch | ||
936 | 132 | .PHONY: build clean binary-indep binary-arch binary install configure |
+1
Thanks for doing this mvo!