On Wed, Aug 26, 2020 at 6:21 AM Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
> I disagree with the recommendation to check whether Synology's packages
> are .deb packages. .deb files are just ar(1) archives, but in order to
> build a package there is a lot more to know than just what file format
> to use. For example, .deb files embed executable code that runs at
> installation time, and a distro may have its .deb packages do
> distro-specific things in those hooks. Therefore, I recommend that you
> focus on finding the documentation for packagers, as Nathan wrote at
> the start.
>
> .deb files are in general not portable to distro versions other than
> the one they were built for: something built for Debian 9 can't be
> assumed to be installable even on Debian 10. They _might_ work in
> other cases, but then again, they might not.
Acknowledged. Thanks for pointing this out.
Terry, having given it further thought, I agree with Daniel and Johan
that my earlier suggestion to try a Windows build won't be much help
for this endeavor. My thinking was to get familiar with the codebase
and dependencies on the platform you know best, but the build process
is too different.
> > > I've always found that the setup/config so you can actually develop
> > > something is the harder part :).
>
> That's called writing a hello world program.
That's a good reminder. It's easy to get ahead of ourselves, but
perhaps the path to getting Subversion on the NAS should begin by
taking a step back and getting the classic "hello world" program
running on the NAS. Once it works, you'll know that many things have
gone right. From there, perhaps try to package the "hello world"
program for the NAS, the idea being to learn the basics of packaging,
without distractions from a complex codebase and dependencies.
Nathan
Received on 2020-08-28 17:21:37 CEST