Re: Questions Regarding Debian OCaml Packaging and FHS Compliance for Shared Files
- To: Stéphane Glondu <glondu@debian.org>
- Cc: Debian Ocaml Maint ML <debian-ocaml-maint@lists.debian.org>
- Subject: Re: Questions Regarding Debian OCaml Packaging and FHS Compliance for Shared Files
- From: Bo YU <tsu.yubo@gmail.com>
- Date: Sat, 5 Oct 2024 08:08:41 +0800
- Message-id: <[🔎] CAKq8=3JsJU8XF_i6-8jjj5v7-S-HKDGtSb4CWyfmsujarj=hjA@mail.gmail.com>
- In-reply-to: <CAKq8=3JA9a0yX-6YRZSb7gSyM1JWLUMR0BBFwLiT+8-XmMm5Ow@mail.gmail.com>
- References: <CAKq8=3LwJ9Fqy0bSBp6Yq_dTWcxE+yJ92N7WmroOsTEtBb40mw@mail.gmail.com> <CAKq8=3K=cubCqRq11OSjMhonuEKWSQovmiyvkKdf=zSiLsLhHg@mail.gmail.com> <c049f941-7d86-4816-b1ac-2d9fa6663234@debian.org> <CAKq8=3JA9a0yX-6YRZSb7gSyM1JWLUMR0BBFwLiT+8-XmMm5Ow@mail.gmail.com>
Hi Stéphane,
On Fri, Sep 27, 2024 at 5:40 PM Bo YU <tsu.yubo@gmail.com> wrote:
>
> Hi,
>
> On Thu, Sep 26, 2024 at 3:34 PM Stéphane Glondu <glondu@debian.org> wrote:
> >
> > Hi,
> >
> > Le 25/09/2024 à 16:40, Bo YU a écrit :
> > > I would like to put these share files into `/usr/share/ocaml/lem`
> > > unless there is a better suggestion. Is that okay?
> >
> > Why not directly /usr/share/lem? Are these files of any use outside of
> > lem, but inside the OCaml ecosystem?
>
> Good point! I misunderstood at first, but you're right. Initially, I
> misunderstood that all shared files from OCaml-related packages should
> be put `/usr/share/ocaml/`: if these share files was only used under
> OCaml namespace, the hypothesis is valid. If only as a separated
> package, in generally we put these files into /usr/share/$(package).
> this is today I learn.
>
> But for lem, maybe it hits exactly what you're talking about.
> linksem[0] will use these share files, this is in line with the lem
> upstream design[1], I'm not sure if there are other non-OCaml related
> packages that use these files. So these files under share/ of lem were
> used with OCaml ecosystem package at least by now.If I understand
> correctly, we should choose to use `/usr/share/ocaml/lem` for lem.
>
> Please correct me if I am wrong.
>
Could you help me to evaluate that again, did I misunderstand what you
meant? I have tested it on its rdeps, even these share files are put
`/usr/share/lem` is okay.
Once we decide, we can upload his reverse dependencies.
Thanks for your time again.
BR,
Bo
> Thanks for the your help and time again!
>
> [0]: https://salsa.debian.org/ocaml-team/linksem/-/blob/debian/main/debian/rules?ref_type=heads#L11
> [1]: https://github.com/rems-project/lem?tab=readme-ov-file#without-opam
> >
> >
> > Cheers,
> >
> > --
> > Stéphane
Reply to: