/[packages]/cauldron/x11-server/current/SOURCES/xserver-sdk-abi-requires
ViewVC logotype

Contents of /cauldron/x11-server/current/SOURCES/xserver-sdk-abi-requires

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6022 - (show annotations) (download)
Tue Jan 11 16:43:49 2011 UTC (13 years, 3 months ago) by dmorgan
File size: 523 byte(s)
imported package x11-server
1 #!/bin/sh
2 #
3 # The X server provides capabilities of the form:
4 #
5 # Provides: xserver-abi(ansic-0) = 4
6 #
7 # for an ABI version of 0.4. The major number is encoded into the name so
8 # that major number changes force upgrades. If we didn't, then
9 #
10 # Requires: xserver-abi(ansic) >= 0.4
11 #
12 # would also match 1.0, which is wrong since major numbers mean an ABI break.
13
14 ver=$(pkg-config --variable abi_$1 xorg-server)
15
16 major=$(echo $ver | cut -f 1 -d .)
17 minor=$(echo $ver | cut -f 2 -d .)
18
19 echo "xserver-abi($1-$major) >= $minor"

  ViewVC Help
Powered by ViewVC 1.1.30