[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging InVesalius



Hi Andreas

On Mon, Dec 10, 2012 at 5:29 PM, Andreas Tille <andreas@an3as.eu> wrote:
> Hi Thiago,
>
> On Mon, Dec 10, 2012 at 04:14:11PM -0200, Thiago Franco Moraes wrote:
>> InVesalius has a docs and its only file is a pdf file.
>
> Please make very sure that the source also contains the *source* of this
> PDF file (whatever it might be).

Yes. It contains the latex files used to build the pdf file.

>> It seems me
>> that it is more correct put this file at the folder
>> /usr/share/doc/invesalius/. OK. So I overrode dh_installdocs at
>> debian/rules;
>>
>> <code>
>> override_dh_installdocs:
>>       dh_installdocs
>>       dh_installdocs docs/user_guide_pt_BR.pdf
>> </code>
>
> Same as for dh_install you can also use the file
>
>    debian/docs
>
> containing just
>
>    docs/user_guide_pt_BR.pdf
>
>> And I created a patch to InVesalius to change where InVesalius will
>> find this pdf file. The problem is the process of package creation is
>> compressing this files using gzip. I'm not sure if all pdf viewer can
>> open gzip pdf files. Is it possible to dh_installdocs without it
>> compressing my pdf file?
>
> override_dh_compress:
>         dh_compress --exclude=.pdf
>
>
> On the other hand:  You also could put a symlink using a file
>
>    debian/links
>
> and just symlink to the original location which might save you the patch.

I chose this one. It's simpler :)

> BTW, if the documentation is only in pt_BR I'd advise upstream to try to
> give at least an English translation.

This is complicated. We are eager to release a new version very soon.
I don't know if we'll have time to translate to English before the
release.

Thanks again Andreas.

> Kind regards
>
>         Andreas.
>
> --
> http://fam-tille.de
>
>
> --
> To UNSUBSCRIBE, email to debian-med-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20121210192942.GA21238@an3as.eu">http://lists.debian.org/[🔎] 20121210192942.GA21238@an3as.eu
>


Reply to: