[pacman-dev] [PATCH] Autoversion deps upon package creation in makepkg

Darwin Bautista djclue917 at gmail.com
Sat Dec 1 22:53:00 EST 2007

Hi all,

Attached is a patch to add "autoversion of dependencies" in makepkg. I
think the usage of the term "autoversion" is a little vague but I
can't of any other term. Anyway, autoversioning will save package
maintainers a lot of time in adding and bumping the minimum required
versions of a certain package's dependencies directly in the PKGBUILD.
Of course, this autoversioning can be overridden by directly
specifying the minimum/maximum (if ever)/exact version of a dep.
Autoversioning can be disabled by using these opts: '-v' or

I've seen quite a lot of packages (extra, community) which have
"out-dated" or wrong minimum versions of the deps. For instance, I've
seen a package (which I can't remember) of a KDE app built against KDE
3.5.8 yet the specified minimum version is 3.5.7 (or older?). This can
help prevent bugs resulting from this seemingly subtle issue.

Darwin M. Bautista
BS Electronics and Communications Engineering
University of the Philippines Diliman

University of the Philippines Linux Users' Group
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-autoversion-deps.patch
Type: application/octet-stream
Size: 2830 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20071202/19d0a3c7/attachment.obj>

More information about the pacman-dev mailing list