summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorTomas Frydrych <tf@openedhand.com>2007-01-02 16:15:45 +0000
committerTomas Frydrych <tf@openedhand.com>2007-01-02 16:15:45 +0000
commit94ad9963c1f99ba084dd12dd5857e47b49e3f4e1 (patch)
tree1817558d4dabf83f1aa984eceb3ae3624a183e03 /meta
parent7d621ff99a12b792f5c45cafb2535044da8265bb (diff)
downloadpoky-94ad9963c1f99ba084dd12dd5857e47b49e3f4e1.tar.gz
fix appearance of the calibration crosshair
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1111 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/xtscal/xtscal/change-cross.patch16
-rw-r--r--meta/packages/xtscal/xtscal_0.6.3.bb3
2 files changed, 18 insertions, 1 deletions
diff --git a/meta/packages/xtscal/xtscal/change-cross.patch b/meta/packages/xtscal/xtscal/change-cross.patch
new file mode 100644
index 0000000000..3ecd36bb5e
--- /dev/null
+++ b/meta/packages/xtscal/xtscal/change-cross.patch
@@ -0,0 +1,16 @@
1--- tmp/main.c.orig 2007-01-02 15:39:54.000000000 +0000
2+++ tmp/main.c 2007-01-02 15:39:54.000000000 +0000
3@@ -131,9 +131,10 @@
4 {
5 XRenderFillRectangles (dpy, PictOpSrc, pict, &rect_color, rectangles, 2);
6
7- XFillArc (dpy, crosshair_w, crosshair_gc, (CROSSHAIR_SIZE / 2) - (WIDTH / 2) - 1,
8- (CROSSHAIR_SIZE / 2) - (WIDTH / 2) - 1,
9- WIDTH + 1, WIDTH + 1, 0, 360 * 64);
10+ XFillRectangle (dpy, crosshair_w, crosshair_gc,
11+ (CROSSHAIR_SIZE / 2) - (WIDTH / 2),
12+ (CROSSHAIR_SIZE / 2) - (WIDTH / 2),
13+ WIDTH, WIDTH);
14 }
15
16 void
diff --git a/meta/packages/xtscal/xtscal_0.6.3.bb b/meta/packages/xtscal/xtscal_0.6.3.bb
index 443b487065..3f2f43da9d 100644
--- a/meta/packages/xtscal/xtscal_0.6.3.bb
+++ b/meta/packages/xtscal/xtscal_0.6.3.bb
@@ -4,9 +4,10 @@ SECTION = "x11/base"
4 4
5DEPENDS = "virtual/libx11 libxft libxrandr xcalibrate" 5DEPENDS = "virtual/libx11 libxft libxrandr xcalibrate"
6 6
7PR = "r1" 7PR = "r2"
8 8
9SRC_URI = "${GPE_MIRROR}/xtscal-${PV}.tar.bz2 \ 9SRC_URI = "${GPE_MIRROR}/xtscal-${PV}.tar.bz2 \
10 file://change-cross.patch;patch=1 \
10 file://xtscal-cxk.patch;patch=1" 11 file://xtscal-cxk.patch;patch=1"
11 12
12inherit autotools 13inherit autotools