]> code.ossystems Code Review - openembedded-core.git/commitdiff
xorg-app: Use ${libdir} and ${datadir} for packaging.
authorLianhao Lu <lianhao.lu@intel.com>
Fri, 27 Apr 2012 06:34:24 +0000 (14:34 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Apr 2012 13:47:42 +0000 (14:47 +0100)
Used ${libdir} and ${datadir} instead of hard coded direcotries for
packaging.

Also included INC_PR in PR.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 files changed:
meta/recipes-graphics/xorg-app/mkfontdir_1.0.7.bb
meta/recipes-graphics/xorg-app/mkfontscale_1.1.0.bb
meta/recipes-graphics/xorg-app/x11perf_1.5.4.bb
meta/recipes-graphics/xorg-app/xauth_1.0.6.bb
meta/recipes-graphics/xorg-app/xdpyinfo_1.3.0.bb
meta/recipes-graphics/xorg-app/xhost_1.0.4.bb
meta/recipes-graphics/xorg-app/xinit_1.3.2.bb
meta/recipes-graphics/xorg-app/xinput_1.5.3.bb
meta/recipes-graphics/xorg-app/xkbcomp_1.2.3.bb
meta/recipes-graphics/xorg-app/xmodmap_1.0.5.bb
meta/recipes-graphics/xorg-app/xorg-app-common.inc
meta/recipes-graphics/xorg-app/xprop_1.2.1.bb
meta/recipes-graphics/xorg-app/xrandr_1.3.5.bb
meta/recipes-graphics/xorg-app/xset_1.2.2.bb
meta/recipes-graphics/xorg-app/xvinfo_1.1.1.bb
meta/recipes-graphics/xorg-app/xwininfo_1.1.2.bb

index db6d2b4037cbdea72ffd942a7e4bbdb0d02618cc..66373261317399709ef3fb47b2dfdcc87d4d8000 100644 (file)
@@ -9,7 +9,7 @@ The X server and font server use these files to find the available font \
 files."
 
 PE = "1"
-PR = "r0"
+PR = "${INC_PR}.0"
 
 RDEPENDS_${PN} += "mkfontscale"
 RDEPENDS_${PN}_virtclass-native += "mkfontscale-native"
index 49706e5a447519b6a2674ae3a07e2fdca628a771..d98057badf9e8ff75070bf76aa21dd20029d1938 100644 (file)
@@ -10,6 +10,8 @@ is used by the mkfontdir program."
 
 DEPENDS += " zlib libfontenc freetype virtual/libx11"
 
+PR = "${INC_PR}.0"
+
 BBCLASSEXTEND = "native"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=2e0d129d05305176d1a790e0ac1acb7f"
index 15fa3148ea4a3629e6bc80762d61d5457b57baec..cc0b323a882ba2827fa06319256cf8e8cbb26a67 100644 (file)
@@ -11,7 +11,7 @@ DEPENDS += "libxmu libxrender libxft libxext fontconfig"
 LIC_FILES_CHKSUM = "file://COPYING;md5=428ca4d67a41fcd4fc3283dce9bbda7e \
                     file://x11perf.h;endline=24;md5=29555066baf406a105ff917ac25b2d01"
 
-PR = "r0"
+PR = "${INC_PR}.0"
 PE = "1"
 
 FILES_${PN} += "${libdir}/X11/x11perfcomp/*"
index f00d30a72e109b0821d7e2227611e601727d7eb2..c43d0eb4eb3366ad9ec084a56bb6ec6a3e9abf9b 100644 (file)
@@ -6,7 +6,7 @@ information used in connecting to the X server."
 LIC_FILES_CHKSUM = "file://COPYING;md5=5ec74dd7ea4d10c4715a7c44f159a40b"
 
 DEPENDS += "libxau libxext libxmu"
-PR = "r0"
+PR = "${INC_PR}.0"
 PE = "1"
 
 SRC_URI[md5sum] = "105f5b00bb9293b3db36f7e500d4f950"
index a118d0d63558264214a8b9d6a829ca89974109c3..ae3cc8cbc14577e055daa4c8d54ada8b3ff19a57 100644 (file)
@@ -10,7 +10,7 @@ that are available."
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=f3d09e6b9e203a1af489e16c708f4fb3"
 DEPENDS += "libxtst libxext libxxf86vm libxxf86dga libxxf86misc libxi libxrender libxinerama libdmx libxp libxau"
-PR = "r0"
+PR = "${INC_PR}.0"
 PE = "1"
 
 SRC_URI += "file://disable-xkb.patch"
index 9330228a155e650b62726744b924134aff0d574d..7a78f8020ce7cd6de74d93ae29b49f65b9393a44 100644 (file)
@@ -11,7 +11,7 @@ protocol for passing other authentication data to the server."
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=8fbed71dddf48541818cef8079124199"
 DEPENDS += "libxmu libxau"
-PR = "r0"
+PR = "${INC_PR}.0"
 PE = "1"
 
 SRC_URI[md5sum] = "2be663a0afbcc0856c1591477d5bf32a"
index cb3e02826da9eeb6062c6fb0d6dfd0352c99f5b4..2008e796ead29f432d0cbb9acfb8506788f73102 100644 (file)
@@ -10,7 +10,7 @@ then terminate."
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=0d4b5eef75f1584ccbdc5e4a34314407"
 
-PR = "r0"
+PR = "${INC_PR}.0"
 PE = "1"
 
 SRC_URI[md5sum] = "9c0943cbd83e489ad1b05221b97efd44"
index 8f17e9a5bbcb24625a7f7f8db91f943b9f48a9f1..6790f60dade62edd7a8b0d2e3c9af70dd96a7d0a 100644 (file)
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=22c34ea36136407a77702a8b784f9bd0"
 
 DEPENDS += " libxi"
 
-PR = "r7"
+PR = "${INC_PR}.7"
 
 SRC_URI[md5sum] = "1e2f0ad4f3fa833b65c568907f171d28"
 SRC_URI[sha256sum] = "6aade131cecddaeefc39ddce1dd5e8473f6039c2e4efbfd9fbb5ee2a75885c76"
index d8b3e7a01e5571130e926a6cad10d1b296258a91..f5f0870a7b0a432655ca86f02459f62e86eee9c2 100644 (file)
@@ -9,6 +9,8 @@ be read directly by XKB-capable X servers or utilities."
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=08436e4f4476964e2e2dd7e7e41e076a"
 
+PR = "${INC_PR}.0"
+
 DEPENDS += "libxkbfile"
 
 SRC_URI[md5sum] = "35622a497894c1cff9182d42696c3e27"
index e98ed4fdfa86c26f94a4385624b7722314b6682a..2c9ecde7e6a2610583d21939e1e48c13d6a242e2 100644 (file)
@@ -11,7 +11,7 @@ according to personal tastes."
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=eef098b27f09d0ac39268df0cc2c00b5"
 
-PR = "r0"
+PR = "${INC_PR}.0"
 PE = "1"
 
 SRC_URI[md5sum] = "b18850d373f3717dca569377c449d091"
index 890648b356f747316945245626de002cdfac8825..40508ffedf1627ab3dc77d381bd15369da4b38cf 100644 (file)
@@ -5,7 +5,7 @@ SECTION = "x11/apps"
 LICENSE = "MIT-X"
 DEPENDS = "util-macros-native virtual/libx11"
 
-INC_PR = "r7"
+INC_PR = "r8"
 
 SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.bz2"
 
@@ -13,4 +13,4 @@ S = "${WORKDIR}/${BPN}-${PV}"
 
 inherit autotools pkgconfig
 
-FILES_${PN} += "  /usr/lib/X11/${BPN} /usr/share/X11/app-defaults/"
+FILES_${PN} += " ${libdir}/X11/${BPN} ${datadir}/X11/app-defaults/"
index 6c072305b0fc5553dee60a7a06f6decebab2b2da..c74beb47088ab7d78eef2fcb040f7d0ccbc973b0 100644 (file)
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e226ab8db88ac0bc0391673be40c9f91"
 
 DEPENDS += " libxmu virtual/libx11"
 
-PR = "r0"
+PR = "${INC_PR}.0"
 PE = "1"
 
 SRC_URI[md5sum] = "d5529dc8d811efabd136ca2d8e857deb"
index 4410865ec967c0f95ba1c683976af3993dcae1e5..da83e8f097434f0169cc62075fca452e9fbb3d7b 100644 (file)
@@ -10,7 +10,7 @@ LICENSE= "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fe1608bdb33cf8c62a4438f7d34679b3"
 DEPENDS += "libxrandr libxrender"
 PE = "1"
-PR = "r1"
+PR = "${INC_PR}.1"
 
 SRC_URI[md5sum] = "9735173a84dca9b05e06fd4686196b07"
 SRC_URI[sha256sum] = "1059ff7a9ad0df8e00a765ffa4e08a505304c02663112da370ac7082030b980e"
index 7d5ac496058fb1221f9b2dd70e9e849e61e8e98e..0430f8c544d61f25c48f644aff75fa54be439630 100644 (file)
@@ -8,7 +8,7 @@ preference options of the display."
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=bea81cc9827cdf1af0e12c2b8228cf8d"
 DEPENDS += "libxext libxxf86misc libxfontcache libxmu libxp libxau"
-PR = "r0"
+PR = "${INC_PR}.0"
 PE = "1"
 
 SRC_URI += "file://disable-xkb.patch"
index 7a0b822aa938723fec5113f6fba7d91a9877e8c2..66d2561470435c72c4101e03781a45aff149e85f 100644 (file)
@@ -9,6 +9,7 @@ extension."
 LIC_FILES_CHKSUM = "file://COPYING;md5=b664101ad7a1dc758a4c4109bf978e68"
 DEPENDS += " libxv"
 PE = "1"
+PR = "${INC_PR}.0"
 
 SRC_URI[md5sum] = "c88feb501083951a8f47a21aaeb1529d"
 SRC_URI[sha256sum] = "60c74aa190bcf1e244f6f1576dc43869018a8ed5ba319703a5c198d3466a3985"
index cbc458745bddeb3175ccda753e4bdae8685e114d..c033e2bcd37d72d64fc3232f25c9ca8631233778 100644 (file)
@@ -9,7 +9,7 @@ and a number of other items."
 LIC_FILES_CHKSUM = "file://COPYING;md5=78976cd3115f6faf615accc4e094d90e"
 DEPENDS += "libxext libxmu"
 
-PR = "r0"
+PR = "${INC_PR}.0"
 PE = "0"
 
 SRC_URI[md5sum] = "9e8b58c8aa6172e87ab4f9cf3612fedd"