[Pkg-octave-devel] Regarding octave-interval packaging
Oliver Heimlich
oheim at posteo.de
Sun Apr 24 20:39:08 UTC 2016
Am 24. April 2016 15:41:03 MESZ, schrieb "Rafael Laboissière" <rafael at laboissiere.net>:
>* Oliver Heimlich <oheim at posteo.de> [2016-04-24 11:39]:
>
>> 3. I want to split the package into an arch-independent package and
>an
>> arch-dependent package, since 90% of the package goes into /usr/share
>as
>> Lintian says. I still have to figure out the correct dependencies
>> between the packages.
>>
>> [snip]
>
>We have already discussed on this issue, and we decided to not split
>the
>arch-dep and arch-indep packages:
>
>http://lists.alioth.debian.org/pipermail/pkg-octave-devel/2015-October/011775.html
>
>Rafael
The uncompressed package is clearly beyond the 2MB limit (although I could reduce it by stripping some test files). The compressed package is still below that limit. Splitting the package would reduce the build time of the arch-dep parts since it would have less dependencies and did not require to rebuild the documentation for every arch. -- If that is how buildd works. I don't know.
I finished my other tasks that I wanted to do. There have been some observations about how we could improve octave-pkg.mk:
- The NEWS file gets packaged twice. First it gets installed in Octave's packinfo dir. Second, it gets compressed into usr/share/doc. I fixed it in octave-interval by setting a dh-variable and using a symlink that points to packinfo/NEWS.
- the remove-dirs target should have a double-colon rule, cf. clean. I want to extend it's behaviour and had to duplicate the rule.
- we should parse the upstream DESCRIPTION and provide the description text in a substvar. This way we don't have to repeat ourselves. See octave-interval's d/rules how to do it.
- the install-docs rule in octave-pkg.mk should not call dh_installdocs. The latter will already be called during the binary-install phase and calling it twice is not necessary.
Oliver
More information about the Pkg-octave-devel
mailing list