Re: Dealing with "duplicate-font-file" lintian warning

2016-07-22 Thread Tiago Ilieve
Hi Dimitry,

On 22 July 2016 at 17:05, Dmitry Bogatov  wrote:
> `apt-get install dh-linktree`. Usage is simple, documentation is good,
> but you can take a look as example at cdist_4.2.1-1.

Thank you. That did the trick[1].

> Unfortunately, dh-linktree is not magic, and you have manually
> specify, what you want to replace with symlinks.

Actually is almost like magic. :-)

Regards,
Tiago.

[1]: https://anonscm.debian.org/git/collab-maint/grip.git/commit/?id=1cf2b0f

-- 
Tiago "Myhro" Ilieve
Blog: https://blog.myhro.info/
GitHub: https://github.com/myhro
LinkedIn: https://br.linkedin.com/in/myhro
Montes Claros - MG, Brasil



Re: Dealing with "duplicate-font-file" lintian warning

2016-07-22 Thread Jakub Wilk

* Tiago Ilieve , 2016-07-22, 15:49:
W: grip: duplicate-font-file 
usr/share/grip/grip/static/octicons/octicons.ttf also in fonts-octicons


Is there a helper to deal with this kind of issue? Like the 
"sphinxdoc"[2] one, which automatically replaces embedded JS files to 
their respective links?


dh_sphinxdoc is a tool to post-process documentation generated by Sphinx 
at build time. It is necessary, because the set of files you should 
symlink varies with Sphinx version.


But in this case, the files come directly from upstream tarball, so 
there's no need for a dedicated tool. Just use dh_link.


--
Jakub Wilk



Re: Dealing with "duplicate-font-file" lintian warning

2016-07-22 Thread Dmitry Bogatov
> I'm updating the "grip" package (bug #832000[1]), which resulted in
> the following lintian warning:
>
> W: grip: duplicate-font-file
> usr/share/grip/grip/static/octicons/octicons.ttf also in
> fonts-octicons
>
> Is there a helper to deal with this kind of issue? Like the
> "sphinxdoc"[2] one, which automatically replaces embedded JS files to
> their respective links? Or should I manually declare a dependency on
> "octions" package and symlink the correspondent font files[3] (as
> there's also other files besides the ".tff")?

`apt-get install dh-linktree`. Usage is simple, documentation is good,
but you can take a look as example at cdist_4.2.1-1.

Unfortunately, dh-linktree is not magic, and you have manually
specify, what you want to replace with symlinks.

-- 
Accept: text/plain, text/x-diff
Accept-Language: eo,en,ru
X-Web-Site: sinsekvu.github.io



Dealing with "duplicate-font-file" lintian warning

2016-07-22 Thread Tiago Ilieve
Hi,

I'm updating the "grip" package (bug #832000[1]), which resulted in
the following lintian warning:

W: grip: duplicate-font-file
usr/share/grip/grip/static/octicons/octicons.ttf also in
fonts-octicons

Is there a helper to deal with this kind of issue? Like the
"sphinxdoc"[2] one, which automatically replaces embedded JS files to
their respective links? Or should I manually declare a dependency on
"octions" package and symlink the correspondent font files[3] (as
there's also other files besides the ".tff")?

Regards,
Tiago.

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832000
[2]: 
https://anonscm.debian.org/git/python-modules/packages/python-social-auth.git/commit/?id=0f00412
[3]: https://packages.debian.org/sid/all/octicons/filelist

-- 
Tiago "Myhro" Ilieve
Blog: https://blog.myhro.info/
GitHub: https://github.com/myhro
LinkedIn: https://br.linkedin.com/in/myhro
Montes Claros - MG, Brasil