Date: Mon, 12 Feb 2024 08:25:37 +0000 From: Nuno Teixeira <eduardo@freebsd.org> To: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernape@freebsd.org> Cc: "ports-committers@FreeBSD.org" <ports-committers@freebsd.org>, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 7171c7f8895a - main - sysutils/htop: update to 3.3.0 Message-ID: <CAFDf7UJFK5iQqXKFqkrVT3q%2BcktWrO2%2B99nvGcEkCtnbqr0SBQ@mail.gmail.com> In-Reply-To: <CAGwOe2boSSm95as4VEMiwUdzRD7Wvx2Da=9_k6Bc2MHxdHYx0w@mail.gmail.com> References: <202402081651.418GplWm053715@gitrepo.freebsd.org> <CAFDf7UKMNv1GM4gbp=06LNQQC23v1%2BHG44zLE%2BbiMLKH4cwpMg@mail.gmail.com> <CAGwOe2ZN6X5XD6Q4YGtfX8TV1xZmMEnuaPBXtELpRhGNqLZ0zA@mail.gmail.com> <CAFDf7UJnGsJcf7fn_-7LLMMLq3JmEd7eiFNZbM%2BnQM9Q24GKBg@mail.gmail.com> <CAGwOe2boSSm95as4VEMiwUdzRD7Wvx2Da=9_k6Bc2MHxdHYx0w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
It was discussed a long time ago and portlint was changed to follow it: if ($_ =3D~ m|\.desktop$| && $makevar{USES} !~ /\bdesktop-file-utils\b/) { &perror("WARN", $file, $., "this port installs .desktop files. ". "If the .desktop file(s) installed contain ``MimeType=3D'', ". "you must add `desktop-file-utils` to USES.= "); Fernando Apestegu=C3=ADa <fernape@freebsd.org> escreveu (domingo, 11/02/2024 =C3=A0(s) 21:29): > > > > El dom, 11 feb 2024, 20:28, Nuno Teixeira <eduardo@freebsd.org> escribi= =C3=B3: >> >> It is, but maybe not in the best place/section: >> >> https://docs.freebsd.org/en/books/porters-handbook/book/#updating-deskto= p-database > > > Not quite in my opinion. That says that if the .desktop contains MimeType= then desktop-file-utilsshould be used. It doesn't say that *only in that c= ase* it should be used. > >> >> >> Fernando Apestegu=C3=ADa <fernape@freebsd.org> escreveu (domingo, >> 11/02/2024 =C3=A0(s) 18:48): >> > >> > >> > >> > On Sun, Feb 11, 2024 at 6:31=E2=80=AFPM Nuno Teixeira <eduardo@freebsd= .org> wrote: >> >> >> >> > -USES=3D autoreconf compiler:c11 cpe libtool localbase ncu= rses pkgconfig \ >> >> > - python:build shebangfix >> >> > +USES=3D autoreconf compiler:c11 cpe desktop-file-utils li= btool localbase \ >> >> > + ncurses pkgconfig python:build shebangfix >> >> >> >> desktop-file-utils only needed when .desktop file includes MimeType. >> > >> > >> > I think this comment would be good in the documentation (https://docs.= freebsd.org/en/books/porters-handbook/book/#uses-desktop-file-utils) >> > >> >> >> >> >> >> -- >> >> Nuno Teixeira >> >> FreeBSD Committer (ports) >> >> >> >> -- >> Nuno Teixeira >> FreeBSD Committer (ports) --=20 Nuno Teixeira FreeBSD Committer (ports)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UJFK5iQqXKFqkrVT3q%2BcktWrO2%2B99nvGcEkCtnbqr0SBQ>