On Mon, Jun 06, 2011 at 01:57:07AM -0600, Jasper Lievisse Adriaanse wrote: > Modified files: > usr.bin/pkg-config: pkg-config > > Log message: > First steps of teaching pkg-config about 'alpha' and 'beta' versions. > The order is 'alpha' < 'beta' < ' ' , and the common shorts 'a' and 'b' > are also accepted. > It may have some rought edges, but they will be dealt with later.
What's the plan with pkg-config? The freedesktop version has a very weird version comparision algorithm which doesn't recognize any special strings like `alpha', 'beta', rc[[:digit:]]* etc. While a more correct (and documented) version comparision would be nice, it won't protect us from strange version numbers used in upstream projects. One example: if i understand the code from the freedesktop pkg-config, the following two version numbers would compqre equal: 1.2.3.alpha 1:2/3alpha Ciao, Kili