Merge lp:~mitya57/ubuntu/trusty/fonts-unfonts-core/sync-with-debian into lp:ubuntu/trusty/fonts-unfonts-core
- Trusty (14.04)
- sync-with-debian
- Merge into trusty
Proposed by
Dmitry Shachnev
Status: | Merged |
---|---|
Merge reported by: | Martin Pitt |
Merged at revision: | not available |
Proposed branch: | lp:~mitya57/ubuntu/trusty/fonts-unfonts-core/sync-with-debian |
Merge into: | lp:ubuntu/trusty/fonts-unfonts-core |
Diff against target: |
438 lines (+161/-159) 14 files modified
debian/90-fonts-unfonts-core.conf (+48/-90) debian/README.Debian (+6/-5) debian/changelog (+72/-0) debian/compat (+1/-1) debian/control (+10/-7) debian/copyright (+9/-10) debian/fonts-unfonts-core.install (+2/-0) debian/fonts-unfonts-core.links (+1/-0) debian/fonts-unfonts-core.maintscript (+6/-0) debian/gbp.conf (+4/-0) debian/install (+0/-2) debian/links (+0/-1) debian/preinst (+0/-43) debian/rules (+2/-0) |
To merge this branch: | bzr merge lp:~mitya57/ubuntu/trusty/fonts-unfonts-core/sync-with-debian |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pitt | Approve | ||
Review via email: mp+201763@code.launchpad.net |
Commit message
Description of the change
This is a (fake) sync with Debian, the only remaining change is a version bump from 1.0.2-something to 1.0.3.is.
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 | === modified file 'debian/90-fonts-unfonts-core.conf' |
2 | --- debian/90-fonts-unfonts-core.conf 2012-09-04 16:18:03 +0000 |
3 | +++ debian/90-fonts-unfonts-core.conf 2014-01-15 12:11:53 +0000 |
4 | @@ -1,94 +1,52 @@ |
5 | <?xml version="1.0"?> |
6 | <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> |
7 | <fontconfig> |
8 | - <match target="font"> |
9 | - <test name="family" qual="any"> |
10 | - <string>은 바탕</string> |
11 | - </test> |
12 | - <edit name="antialias" mode="assign" binding="strong"><bool>true</bool></edit> |
13 | - <edit name="hinting" mode="assign" binding="strong"><bool>false</bool></edit> |
14 | - <edit name="autohint" mode="assign" binding="strong"><bool>true</bool></edit> |
15 | - <edit name="hintstyle" mode="assign" binding="strong"><const>hintslight</const></edit> |
16 | - </match> |
17 | - <match target="font"> |
18 | - <test name="family" qual="any"> |
19 | - <string>UnBatang</string> |
20 | - </test> |
21 | - <edit name="antialias" mode="assign" binding="strong"><bool>true</bool></edit> |
22 | - <edit name="hinting" mode="assign" binding="strong"><bool>false</bool></edit> |
23 | - <edit name="autohint" mode="assign" binding="strong"><bool>true</bool></edit> |
24 | - <edit name="hintstyle" mode="assign" binding="strong"><const>hintslight</const></edit> |
25 | - </match> |
26 | - <match target="font"> |
27 | - <test name="family" qual="any"> |
28 | - <string>은 돋움</string> |
29 | - </test> |
30 | - <edit name="antialias" mode="assign" binding="strong"><bool>true</bool></edit> |
31 | - <edit name="hinting" mode="assign" binding="strong"><bool>false</bool></edit> |
32 | - <edit name="autohint" mode="assign" binding="strong"><bool>true</bool></edit> |
33 | - <edit name="hintstyle" mode="assign" binding="strong"><const>hintslight</const></edit> |
34 | - </match> |
35 | - <match target="font"> |
36 | - <test name="family" qual="any"> |
37 | - <string>UnDotum</string> |
38 | - </test> |
39 | - <edit name="antialias" mode="assign" binding="strong"><bool>true</bool></edit> |
40 | - <edit name="hinting" mode="assign" binding="strong"><bool>false</bool></edit> |
41 | - <edit name="autohint" mode="assign" binding="strong"><bool>true</bool></edit> |
42 | - <edit name="hintstyle" mode="assign" binding="strong"><const>hintslight</const></edit> |
43 | - </match> |
44 | - <match target="font"> |
45 | - <test name="family" qual="any"> |
46 | - <string>은 궁서</string> |
47 | - </test> |
48 | - <edit name="antialias" mode="assign" binding="strong"><bool>true</bool></edit> |
49 | - <edit name="hinting" mode="assign" binding="strong"><bool>false</bool></edit> |
50 | - <edit name="autohint" mode="assign" binding="strong"><bool>true</bool></edit> |
51 | - <edit name="hintstyle" mode="assign" binding="strong"><const>hintslight</const></edit> |
52 | - </match> |
53 | - <match target="font"> |
54 | - <test name="family" qual="any"> |
55 | - <string>UnGungseo</string> |
56 | - </test> |
57 | - <edit name="antialias" mode="assign" binding="strong"><bool>true</bool></edit> |
58 | - <edit name="hinting" mode="assign" binding="strong"><bool>false</bool></edit> |
59 | - <edit name="autohint" mode="assign" binding="strong"><bool>true</bool></edit> |
60 | - <edit name="hintstyle" mode="assign" binding="strong"><const>hintslight</const></edit> |
61 | - </match> |
62 | - <match target="font"> |
63 | - <test name="family" qual="any"> |
64 | - <string>은 필기</string> |
65 | - </test> |
66 | - <edit name="antialias" mode="assign" binding="strong"><bool>true</bool></edit> |
67 | - <edit name="hinting" mode="assign" binding="strong"><bool>false</bool></edit> |
68 | - <edit name="autohint" mode="assign" binding="strong"><bool>true</bool></edit> |
69 | - <edit name="hintstyle" mode="assign" binding="strong"><const>hintslight</const></edit> |
70 | - </match> |
71 | - <match target="font"> |
72 | - <test name="family" qual="any"> |
73 | - <string>UnPilgi</string> |
74 | - </test> |
75 | - <edit name="antialias" mode="assign" binding="strong"><bool>true</bool></edit> |
76 | - <edit name="hinting" mode="assign" binding="strong"><bool>false</bool></edit> |
77 | - <edit name="autohint" mode="assign" binding="strong"><bool>true</bool></edit> |
78 | - <edit name="hintstyle" mode="assign" binding="strong"><const>hintslight</const></edit> |
79 | - </match> |
80 | - <match target="font"> |
81 | - <test name="family" qual="any"> |
82 | - <string>은 그래픽</string> |
83 | - </test> |
84 | - <edit name="antialias" mode="assign" binding="strong"><bool>true</bool></edit> |
85 | - <edit name="hinting" mode="assign" binding="strong"><bool>false</bool></edit> |
86 | - <edit name="autohint" mode="assign" binding="strong"><bool>true</bool></edit> |
87 | - <edit name="hintstyle" mode="assign" binding="strong"><const>hintslight</const></edit> |
88 | - </match> |
89 | - <match target="font"> |
90 | - <test name="family" qual="any"> |
91 | - <string>UnGraphic</string> |
92 | - </test> |
93 | - <edit name="antialias" mode="assign" binding="strong"><bool>true</bool></edit> |
94 | - <edit name="hinting" mode="assign" binding="strong"><bool>false</bool></edit> |
95 | - <edit name="autohint" mode="assign" binding="strong"><bool>true</bool></edit> |
96 | - <edit name="hintstyle" mode="assign" binding="strong"><const>hintslight</const></edit> |
97 | - </match> |
98 | + <!-- Un fonts have no hint instructions so they rely on autohint and |
99 | + antialias. Note that they might look horrible with some |
100 | + autohint configuration. --> |
101 | + <match target="font"> |
102 | + <test name="family" qual="any"> |
103 | + <string>UnBatang</string> |
104 | + </test> |
105 | + <edit name="antialias" mode="assign" binding="strong"><bool>true</bool></edit> |
106 | + <edit name="hinting" mode="assign" binding="strong"><bool>false</bool></edit> |
107 | + <edit name="autohint" mode="assign" binding="strong"><bool>true</bool></edit> |
108 | + <edit name="hintstyle" mode="assign" binding="strong"><const>hintslight</const></edit> |
109 | + </match> |
110 | + <match target="font"> |
111 | + <test name="family" qual="any"> |
112 | + <string>UnDotum</string> |
113 | + </test> |
114 | + <edit name="antialias" mode="assign" binding="strong"><bool>true</bool></edit> |
115 | + <edit name="hinting" mode="assign" binding="strong"><bool>false</bool></edit> |
116 | + <edit name="autohint" mode="assign" binding="strong"><bool>true</bool></edit> |
117 | + <edit name="hintstyle" mode="assign" binding="strong"><const>hintslight</const></edit> |
118 | + </match> |
119 | + <match target="font"> |
120 | + <test name="family" qual="any"> |
121 | + <string>UnGungseo</string> |
122 | + </test> |
123 | + <edit name="antialias" mode="assign" binding="strong"><bool>true</bool></edit> |
124 | + <edit name="hinting" mode="assign" binding="strong"><bool>false</bool></edit> |
125 | + <edit name="autohint" mode="assign" binding="strong"><bool>true</bool></edit> |
126 | + <edit name="hintstyle" mode="assign" binding="strong"><const>hintslight</const></edit> |
127 | + </match> |
128 | + <match target="font"> |
129 | + <test name="family" qual="any"> |
130 | + <string>UnPilgi</string> |
131 | + </test> |
132 | + <edit name="antialias" mode="assign" binding="strong"><bool>true</bool></edit> |
133 | + <edit name="hinting" mode="assign" binding="strong"><bool>false</bool></edit> |
134 | + <edit name="autohint" mode="assign" binding="strong"><bool>true</bool></edit> |
135 | + <edit name="hintstyle" mode="assign" binding="strong"><const>hintslight</const></edit> |
136 | + </match> |
137 | + <match target="font"> |
138 | + <test name="family" qual="any"> |
139 | + <string>UnGraphic</string> |
140 | + </test> |
141 | + <edit name="antialias" mode="assign" binding="strong"><bool>true</bool></edit> |
142 | + <edit name="hinting" mode="assign" binding="strong"><bool>false</bool></edit> |
143 | + <edit name="autohint" mode="assign" binding="strong"><bool>true</bool></edit> |
144 | + <edit name="hintstyle" mode="assign" binding="strong"><const>hintslight</const></edit> |
145 | + </match> |
146 | </fontconfig> |
147 | |
148 | === modified file 'debian/README.Debian' |
149 | --- debian/README.Debian 2011-10-10 12:37:52 +0000 |
150 | +++ debian/README.Debian 2014-01-15 12:11:53 +0000 |
151 | @@ -10,7 +10,10 @@ |
152 | these fonts. |
153 | |
154 | This licensing problem has already been reported to the upstream years |
155 | -ago but the upstream is not active on this discussion. |
156 | +ago but the upstream was not active on this discussion. Currently the |
157 | +upstream looks dead. |
158 | + |
159 | +For your information about this issue: |
160 | |
161 | * The font embedding exception which FSF suggests: |
162 | http://www.fsf.org/licensing/licenses/gpl-faq.html#FontException |
163 | @@ -25,7 +28,5 @@ |
164 | |
165 | http://faq.ktug.or.kr/faq/%C0%BA%B1%DB%B2%C3 |
166 | |
167 | - http://chem.skku.ac.kr/~kle/main/%C0%BA%B1%DB%B2%C3 |
168 | - |
169 | - |
170 | - -- Changwoo Ryu <cwryu@debian.org>, Tue, 14 Oct 2008 23:40:20 +0900 |
171 | + |
172 | + -- Changwoo Ryu <cwryu@debian.org>, Wed, 30 May 2012 01:36:35 +0900 |
173 | |
174 | === modified file 'debian/changelog' |
175 | --- debian/changelog 2013-03-20 19:30:12 +0000 |
176 | +++ debian/changelog 2014-01-15 12:11:53 +0000 |
177 | @@ -1,3 +1,75 @@ |
178 | +fonts-unfonts-core (1.0.3.is.1.0.2-080608-10ubuntu1) trusty; urgency=low |
179 | + |
180 | + * Sync with Debian, the only remaining change is version bump. |
181 | + |
182 | + -- Dmitry Shachnev <mitya57@ubuntu.com> Wed, 15 Jan 2014 16:07:02 +0400 |
183 | + |
184 | +fonts-unfonts-core (1.0.2-080608-10) unstable; urgency=medium |
185 | + |
186 | + * Team upload. |
187 | + * debian/control |
188 | + - set Standards-Version: 3.9.5 |
189 | + - set "Multi-Arch: foreign" (Closes: #705179) |
190 | + |
191 | + -- Hideki Yamane <henrich@debian.org> Mon, 13 Jan 2014 23:32:19 +0900 |
192 | + |
193 | +fonts-unfonts-core (1.0.2-080608-9) unstable; urgency=low |
194 | + |
195 | + [ Changwoo Ryu ] |
196 | + * Do not install debian/gbp.conf (Closes: #703767) |
197 | + |
198 | + -- Changwoo Ryu <cwryu@debian.org> Wed, 27 Mar 2013 01:03:04 +0900 |
199 | + |
200 | +fonts-unfonts-core (1.0.2-080608-8) unstable; urgency=low |
201 | + |
202 | + [ Changwoo Ryu ] |
203 | + * Simplify fontconfig config |
204 | + * Build-Depends on dpkg >= 1.16.2 for dpkg-deb -Sextreme option |
205 | + * Fix lintian errors |
206 | + - Use Breaks instead of Conflicts |
207 | + - ttf-unfonts-core Depends on dpkg (>= 1.15.6~) |
208 | + * Standards-Version: 3.9.4 |
209 | + * Add git-buildpackage config |
210 | + |
211 | + -- Changwoo Ryu <cwryu@debian.org> Sat, 23 Mar 2013 04:47:16 +0900 |
212 | + |
213 | +fonts-unfonts-core (1.0.2-080608-7) unstable; urgency=low |
214 | + |
215 | + [ Changwoo Ryu ] |
216 | + * debian/control |
217 | + - Move to git (Closes: #689209) |
218 | + * debian/compat, debian/control |
219 | + - Use debhelper 9 |
220 | + * debian/copyright |
221 | + - Use the copyright format 1.0 |
222 | + * debian/README.Debian |
223 | + - Update to more recent information and remove obsolete URL |
224 | + * Add more xz compress options to dh_builddeb |
225 | + - it requires Pre-Depends: dpkg (>= 1.15.6~) |
226 | + * Move debian/foo to debian/fonts-unfonts-core.foo |
227 | + * Use maintscript support in dh_installdeb. (Closes: #689108) |
228 | + - {mv,rm}_conffile requires Pre-Depends: dpkg (>= 1.15.7.2) |
229 | + |
230 | + [ Andrew Starr-Bochicchio ] |
231 | + * debian/90-fonts-unfonts-core.conf: |
232 | + - Update so that there are not multiple values within test tags as |
233 | + Fontconfig warns that this is not supported. (Closes: #686698) |
234 | + |
235 | + -- Changwoo Ryu <cwryu@debian.org> Sat, 06 Oct 2012 19:54:41 +0900 |
236 | + |
237 | +fonts-unfonts-core (1.0.2-080608-6) unstable; urgency=low |
238 | + |
239 | + [ Changwoo Ryu ] |
240 | + * Set the priority of ttf-* package as extra |
241 | + |
242 | + [ Hideki Yamane ] |
243 | + * debian/rules |
244 | + - use override_dh_builddeb to compress package with xz |
245 | + * debian/control |
246 | + - set "Standards-Version: 3.9.3" with no change |
247 | + |
248 | + -- Hideki Yamane <henrich@debian.org> Thu, 24 May 2012 16:26:03 +0900 |
249 | + |
250 | fonts-unfonts-core (1.0.3.is.1.0.2-080608-5ubuntu3) raring; urgency=low |
251 | |
252 | * Mark package Multi-Arch: foreign (LP: #1123710) |
253 | |
254 | === modified file 'debian/compat' |
255 | --- debian/compat 2011-10-10 12:37:52 +0000 |
256 | +++ debian/compat 2014-01-15 12:11:53 +0000 |
257 | @@ -1,1 +1,1 @@ |
258 | -7 |
259 | +9 |
260 | |
261 | === modified file 'debian/control' |
262 | --- debian/control 2013-03-20 19:30:12 +0000 |
263 | +++ debian/control 2014-01-15 12:11:53 +0000 |
264 | @@ -4,18 +4,20 @@ |
265 | Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
266 | XSBC-Original-Maintainer: Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org> |
267 | Uploaders: Changwoo Ryu <cwryu@debian.org>, Hideki Yamane <henrich@debian.org> |
268 | -Build-Depends: debhelper (>= 7.0.50~) |
269 | -Standards-Version: 3.9.2 |
270 | +Build-Depends: debhelper (>= 9), |
271 | + dpkg (>= 1.16.2), |
272 | +Standards-Version: 3.9.5 |
273 | Homepage: http://kldp.net/projects/unfonts |
274 | -Vcs-Svn: svn://svn.debian.org/svn/pkg-fonts/packages/fonts-unfonts-core/ |
275 | -Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-fonts/packages/fonts-unfonts-core/ |
276 | +Vcs-Git: git://anonscm.debian.org/pkg-fonts/fonts-unfonts-core.git |
277 | +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-fonts/fonts-unfonts-core.git |
278 | |
279 | Package: fonts-unfonts-core |
280 | Architecture: all |
281 | +Pre-Depends: dpkg (>= 1.15.7.2) |
282 | Multi-Arch: foreign |
283 | Depends: ${misc:Depends} |
284 | -Conflicts: ttf-unfonts (<< 1.0.3.is.1.0.1-0ubuntu1), ttf-unfonts-core (<< 1.0.3.is.1.0.1-0ubuntu1) |
285 | -Replaces: ttf-unfonts (<< 1.0.3.is.1.0.1-0ubuntu1), ttf-unfonts-core (<< 1.0.3.is.1.0.1-0ubuntu1) |
286 | +Breaks: ttf-unfonts (<< 1.0.1-7), ttf-unfonts-core (<< 1.0.2-080608-4) |
287 | +Replaces: ttf-unfonts (<< 1.0.1-7), ttf-unfonts-core (<< 1.0.2-080608-4) |
288 | Description: Un series Korean TrueType fonts |
289 | This is a set of Korean TrueType fonts. These fonts were made from |
290 | the HLaTeX's PostScript fonts and modified slightly. |
291 | @@ -26,9 +28,10 @@ |
292 | |
293 | Package: ttf-unfonts-core |
294 | Section: oldlibs |
295 | +Priority: extra |
296 | +Pre-Depends: dpkg (>= 1.15.6~) |
297 | Depends: fonts-unfonts-core, ${misc:Depends} |
298 | Architecture: all |
299 | -Multi-Arch: foreign |
300 | Description: transitional dummy package |
301 | This package is a dummy transitional package. It can be safely removed. |
302 | |
303 | |
304 | === modified file 'debian/copyright' |
305 | --- debian/copyright 2011-10-10 12:37:52 +0000 |
306 | +++ debian/copyright 2014-01-15 12:11:53 +0000 |
307 | @@ -1,18 +1,17 @@ |
308 | -Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 |
309 | -Name: un-fonts |
310 | -Maintainer: Park, Won-kyu <wkpark@chem.skku.ac.kr> |
311 | - Jungshik Shin <jshin@mailaps.org> |
312 | +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ |
313 | +Upstream-Name: un-fonts |
314 | +Upstream-Contact: http://kldp.net/projects/unfonts |
315 | Source: http://kldp.net/projects/unfonts |
316 | |
317 | Files: * |
318 | Copyright: 1998-2008, Koaunghi Un |
319 | - 2003, Park, Won-kyu <wkpark@chem.skku.ac.kr> |
320 | - Jungshik Shin <jshin@mailaps.org> |
321 | + 2003 Park, Won-kyu <wkpark@chem.skku.ac.kr> |
322 | + 2003, Jungshik Shin <jshin@mailaps.org> |
323 | License: GPL-2 |
324 | - see "/usr/share/common-licenses/GPL-2" |
325 | + See /usr/share/common-licenses/GPL-2 for the full license. |
326 | |
327 | Files: debian/* |
328 | -Copyright: 2003-2010, Changwoo Ryu <cwryu@debian.org> |
329 | - 2010, Hideki Yamane (Debian-JP) <henrich@debian.or.jp> |
330 | +Copyright: 2003-2012, Changwoo Ryu <cwryu@debian.org> |
331 | + 2010-2012, Hideki Yamane (Debian-JP) <henrich@debian.or.jp> |
332 | License: GPL-2 |
333 | - see "/usr/share/common-licenses/GPL-2" |
334 | + See /usr/share/common-licenses/GPL-2 for the full license. |
335 | |
336 | === added file 'debian/fonts-unfonts-core.install' |
337 | --- debian/fonts-unfonts-core.install 1970-01-01 00:00:00 +0000 |
338 | +++ debian/fonts-unfonts-core.install 2014-01-15 12:11:53 +0000 |
339 | @@ -0,0 +1,2 @@ |
340 | +*.ttf usr/share/fonts/truetype/unfonts-core/ |
341 | +debian/90-fonts-unfonts-core.conf etc/fonts/conf.avail/ |
342 | |
343 | === added file 'debian/fonts-unfonts-core.links' |
344 | --- debian/fonts-unfonts-core.links 1970-01-01 00:00:00 +0000 |
345 | +++ debian/fonts-unfonts-core.links 2014-01-15 12:11:53 +0000 |
346 | @@ -0,0 +1,1 @@ |
347 | +etc/fonts/conf.avail/90-fonts-unfonts-core.conf etc/fonts/conf.d/90-fonts-unfonts-core.conf |
348 | |
349 | === added file 'debian/fonts-unfonts-core.maintscript' |
350 | --- debian/fonts-unfonts-core.maintscript 1970-01-01 00:00:00 +0000 |
351 | +++ debian/fonts-unfonts-core.maintscript 2014-01-15 12:11:53 +0000 |
352 | @@ -0,0 +1,6 @@ |
353 | +# dropping defoma |
354 | +rm_conffile /etc/defoma/hints/ttf-unfonts-core.hints 1.0.2-080608-1~ ttf-unfonts-core |
355 | +# ttf- to fonts- |
356 | +rm_conffile /etc/fonts/conf.avail/90-ttf-unfonts-core.conf 1.0.2-080608-4~ ttf-unfonts-core |
357 | +# incorrectly installed |
358 | +rm_conffile /etc/fonts/conf.avail/gbp.conf 1.0.2-080608-9~ fonts-unfonts-core |
359 | |
360 | === added file 'debian/gbp.conf' |
361 | --- debian/gbp.conf 1970-01-01 00:00:00 +0000 |
362 | +++ debian/gbp.conf 2014-01-15 12:11:53 +0000 |
363 | @@ -0,0 +1,4 @@ |
364 | +[DEFAULT] |
365 | +pristine-tar = True |
366 | +debian-branch = master |
367 | +upstream-branch = upstream |
368 | |
369 | === removed file 'debian/install' |
370 | --- debian/install 2011-10-10 12:37:52 +0000 |
371 | +++ debian/install 1970-01-01 00:00:00 +0000 |
372 | @@ -1,2 +0,0 @@ |
373 | -*.ttf usr/share/fonts/truetype/unfonts-core/ |
374 | -debian/*.conf etc/fonts/conf.avail/ |
375 | |
376 | === removed file 'debian/links' |
377 | --- debian/links 2011-10-12 23:18:55 +0000 |
378 | +++ debian/links 1970-01-01 00:00:00 +0000 |
379 | @@ -1,1 +0,0 @@ |
380 | -etc/fonts/conf.avail/90-fonts-unfonts-core.conf etc/fonts/conf.d/90-fonts-unfonts-core.conf |
381 | |
382 | === removed file 'debian/preinst' |
383 | --- debian/preinst 2011-10-12 23:18:55 +0000 |
384 | +++ debian/preinst 1970-01-01 00:00:00 +0000 |
385 | @@ -1,43 +0,0 @@ |
386 | -#!/bin/sh |
387 | - |
388 | -set -e |
389 | - |
390 | -rm_conffile() { |
391 | - PKGNAME="$1" |
392 | - CONFFILE="$2" |
393 | - if [ -e "$CONFFILE" ]; then |
394 | - md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" |
395 | - old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`" |
396 | - if [ "$md5sum" != "$old_md5sum" ]; then |
397 | - echo "Obsolete conffile $CONFFILE has been modified by you." |
398 | - echo "Saving as $CONFFILE.dpkg-bak ..." |
399 | - mv -f "$CONFFILE" "$CONFFILE".dpkg-bak |
400 | - else |
401 | - echo "Removing obsolete conffile $CONFFILE ..." |
402 | - rm -f "$CONFFILE" |
403 | - fi |
404 | - fi |
405 | -} |
406 | - |
407 | -case "$1" in |
408 | -install|upgrade) |
409 | - if dpkg --compare-versions "$2" lt-nl "20090104-5"; then |
410 | - PKG="ttf-unfonts-core" |
411 | - FILE="/etc/defoma/hints/${PKG}.hints" |
412 | - if [ -f $FILE ]; then |
413 | - if [ -x /usr/bin/defoma-font ]; then |
414 | - defoma-font purge-all $FILE || true |
415 | - fi |
416 | - fi |
417 | - rm_conffile $PKG $FILE |
418 | - fi |
419 | - |
420 | - PKG="ttf-unfonts-core" |
421 | - OLD_CONF_FILE="/etc/fonts/conf.avail/90-${PKG}.conf" |
422 | - if [ -f $OLD_CONF_FILE ]; then |
423 | - rm $OLD_CONF_FILE |
424 | - fi |
425 | -esac |
426 | - |
427 | -#DEBHELPER# |
428 | -exit 0 |
429 | |
430 | === modified file 'debian/rules' |
431 | --- debian/rules 2011-10-10 12:37:52 +0000 |
432 | +++ debian/rules 2014-01-15 12:11:53 +0000 |
433 | @@ -4,3 +4,5 @@ |
434 | %: |
435 | dh $@ |
436 | |
437 | +override_dh_builddeb: |
438 | + dh_builddeb -- -Zxz -Sextreme -z9 |
Thanks! Uploaded.