You are not logged in.

#26 2014-06-27 09:15:59

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: How package dependency works??

bitsdd wrote:

Are you saying that upstream dev (firefox developers or arch developer ??who) create dependency tree in context of firefox and package maintainers just copy that tree and create packages.

If you write code, you usually know what files you #include and which libraries you depend on. As a good developer, you document that and provide the dependency list together with the sourcecode. That is important information that helps the package maintainers.

And they should not to that and instead they should create the dep tree in context of arch(OS) and not that particular package. right??

Where did you get that? Normally you read the provided dependency list, map the library names to archlinux package names and put them in PKGBUILD. I never implied that the current procedure should be changed.

but i now i think it's the PKGBUILD who does all the work.

Yes. The dependencies are listed in the PKGBUILD. From there they are written into the package archive. From the package file they are written into the repository database. pacman reads the database, downloads all necessary packages and installs them in the required order.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

Board footer

Powered by FluxBB