hi, again. if git is needed only for the "source" line of PKGBUILD (i.e., to download, and optionally verify, the source file(s)), does git need to be listed in "makedepends"? cheers, Greg
Hello, Technically no it is not needed to be added to makedepends, as if someone is installing the package they probably already have base-devel installed. I believe officially you do not need to, but it doesn't hurt to specify it. Hope this helps, Polarian
Hi, Git is not a part of the base-devel package. Getting source(s) is necessary and is totally a part of the building process. So if git is necessary to get sources it has to be listed as a makedepends. Le 15/12/2022 à 19:11, Polarian a écrit :
Hello,
Technically no it is not needed to be added to makedepends, as if someone is installing the package they probably already have base-devel installed.
I believe officially you do not need to, but it doesn't hurt to specify it.
Hope this helps, Polarian
-- Regards, ANtiz (Robin C.)
Hello, I have made a post to the general mailing list asking other peoples opinion on why git is not included in base-devel, as cloning from the AUR and also most PKGBUILDs almost always depend on git. base-devel is used for building packages thus I believe it would be a good addition to base-devel. If anyone here is interested in that, please reply to my email in the general mailing list. Polarian
Il 15/12/22 19:08, Greg Minshall ha scritto:
hi, again.
if git is needed only for the "source" line of PKGBUILD (i.e., to download, and optionally verify, the source file(s)), does git need to be listed in "makedepends"?
cheers, Greg
Yes
Hello Fabio, Officially you do not need to include it see: https://wiki.archlinux.org/title/PKGBUILD#makedepends Polarian
Hello, Sorry I was mistaken, I thought git was contained within the base-devel group, checking right now I realised I was wrong. Ignore my previous response. Polarian
On Thu, Dec 15, 2022 at 06:12:45PM +0000, Polarian wrote:
Hello Fabio,
Officially you do not need to include it see:
Please read the package listing of `base-devel`. https://archlinux.org/groups/x86_64/base-devel/ `git` is not included here. -- Morten Linderud PGP: 9C02FF419FECBE16
Refer to my previous email
Hi, On 15/12/2022 19:12, Polarian wrote:
Hello Fabio,
Officially you do not need to include it see:
No, official repository packages should have git in their makedepends as we build packages in a clean chroot as git is required to fetch sources it is a makedepend.
participants (6)
-
Fabio Loli
-
Greg Minshall
-
Jelle van der Waa
-
Morten Linderud
-
Polarian
-
Robin Candau