Re: Ogon packaging for Debian (was: Re: Bug#906072: Ogon packages available (Linux RDP Server))
Hi Marcel,
Am Montag, 22. Juni 2020 schrieb marcel@linux-ng.de:
> Hi Mike,
>
>
> June 21, 2020 11:19 PM, "Mike Gabriel" <mike.gabriel@das-netzwerkteam.de> wrote:
>
>
> >> June 20, 2020 6:54 PM, "Mike Gabriel"
> >> <mike.gabriel@das-netzwerkteam.de> wrote:
> >>
> ...
> > I just looked into src:pkg ogon. The package builds and creates DEBs all fine.
> >
> > I have changed the version from 1.0.1~git... to 1.0.0+git.... (the
> > upstream release number is not our realm, it's upstream's). I haven't
> > committed + pushed this, yet:
> >
> > ```
> ...
>
> Ok, just let me know wether you'd like to commit the changes, or if I should do that.
Please commit my changes above. Thanks.
> As there are more issues to be resolved (and I now know the difference between "~" and "+", I'd suggest to take that part.
;-)
> > But now we get to fine-tuning. When I run a critical lintian check on
> > it, I get the listed issues (see below).
> >
> > Main issue: we must not install to /opt.
>
> I feared so. I once had lots of "dirty hacks" to install to /usr (by renaming files, libraries and so on).
:-/
> Basically what I did was:
> - Prefixing binaries with "ogon-"
> - Adding some extra "*ogon*" to "lib*.so*" (if possible)
> - Moving (include/library) paths to something containing "*ogon*"
>
> Is that an acceptable way?
Yes and know. Are you saying that upstream does not support installing to a proper DESTDIR? The way to go here is basically as you describe. But ideally using upstream patches, not some hacks in d/rules. Let me know if you need help with this...
> > I can go over them and get them +/- all solved, if you like. But for
> > your learning process, it might make sense if I leave fixing those
> > packaging issues (partially formalisms, partially technical) to you.
> >
> > I have already added some comments (starting with :::). Let me know
> > which way to go.
>
> Ok - learning sounds fine to me (even if it takes a little time) -> that's the way to go ;-)
Ok, then. Let me know if you need any help. I'll try to be as responsive ad possible.
Mike
--
Gesendet von meinem Fairphone (powered by SailfishOS)
Reply to: