diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-app')
23 files changed, 521 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-app/mkfontdir_1.0.7.bb b/meta/recipes-graphics/xorg-app/mkfontdir_1.0.7.bb new file mode 100644 index 0000000000..a453e24876 --- /dev/null +++ b/meta/recipes-graphics/xorg-app/mkfontdir_1.0.7.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | require xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "A program to create an index of X font files in a directory" | ||
4 | |||
5 | DESCRIPTION = "For each directory argument, mkfontdir reads all of the \ | ||
6 | font files in the directory. The font names and related data are written \ | ||
7 | out to the files \"fonts.dir\", \"fonts.scale\", and \"fonts.alias\". \ | ||
8 | The X server and font server use these files to find the available font \ | ||
9 | files." | ||
10 | |||
11 | PE = "1" | ||
12 | PR = "${INC_PR}.0" | ||
13 | |||
14 | RDEPENDS_${PN} += "mkfontscale" | ||
15 | RDEPENDS_${PN}_class-native += "mkfontscale-native" | ||
16 | |||
17 | BBCLASSEXTEND = "native" | ||
18 | |||
19 | LIC_FILES_CHKSUM = "file://COPYING;md5=b4fcf2b90cadbfc15009b9e124dc3a3f" | ||
20 | |||
21 | SRC_URI[md5sum] = "18c429148c96c2079edda922a2b67632" | ||
22 | SRC_URI[sha256sum] = "56d52a482df130484e51fd066d1b6eda7c2c02ddbc91fe6e2be1b9c4e7306530" | ||
diff --git a/meta/recipes-graphics/xorg-app/mkfontscale_1.1.1.bb b/meta/recipes-graphics/xorg-app/mkfontscale_1.1.1.bb new file mode 100644 index 0000000000..65f74c21c5 --- /dev/null +++ b/meta/recipes-graphics/xorg-app/mkfontscale_1.1.1.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | require xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "A program to create an index of scalable font files for X" | ||
4 | |||
5 | DESCRIPTION = "For each directory argument, mkfontscale reads all of the \ | ||
6 | scalable font files in the directory. For every font file found, an X11 \ | ||
7 | font name (XLFD) is generated, and is written together with the file \ | ||
8 | name to a file fonts.scale in the directory. The resulting fonts.scale \ | ||
9 | is used by the mkfontdir program." | ||
10 | |||
11 | DEPENDS = "util-macros-native zlib libfontenc freetype xproto" | ||
12 | |||
13 | BBCLASSEXTEND = "native" | ||
14 | |||
15 | LIC_FILES_CHKSUM = "file://COPYING;md5=2e0d129d05305176d1a790e0ac1acb7f" | ||
16 | |||
17 | SRC_URI[md5sum] = "03de3f15db678e277f5ef9c013aca1ad" | ||
18 | SRC_URI[sha256sum] = "244017992477ced2397a44fd0ddcfb0f1d9899128613f5c4db81471163b0b731" | ||
diff --git a/meta/recipes-graphics/xorg-app/rgb_1.0.5.bb b/meta/recipes-graphics/xorg-app/rgb_1.0.5.bb new file mode 100644 index 0000000000..26d4f1b5ba --- /dev/null +++ b/meta/recipes-graphics/xorg-app/rgb_1.0.5.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | require xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "X11 color name database" | ||
4 | DESCRIPTION = "This package includes both the list mapping X color names \ | ||
5 | to RGB values (rgb.txt) and, if configured to use a database for color \ | ||
6 | lookup, the rgb program to convert the text file into the binary database \ | ||
7 | format." | ||
8 | |||
9 | DEPENDS += " xproto util-macros" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=ef598adbe241bd0b0b9113831f6e249a" | ||
11 | PE = "1" | ||
12 | PR = "${INC_PR}.0" | ||
13 | |||
14 | SRC_URI[md5sum] = "bcd820d967eaa51bd25b86c0ee682d4e" | ||
15 | SRC_URI[sha256sum] = "8e936e648ffddce2e7184790efa15e4fa2bcb47f9da5469515d212c61bc8f857" | ||
16 | |||
17 | FILES_${PN} += "${datadir}/X11" | ||
diff --git a/meta/recipes-graphics/xorg-app/x11perf_1.5.4.bb b/meta/recipes-graphics/xorg-app/x11perf_1.5.4.bb new file mode 100644 index 0000000000..cc0b323a88 --- /dev/null +++ b/meta/recipes-graphics/xorg-app/x11perf_1.5.4.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | require xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "X11 server performance test program" | ||
4 | |||
5 | DESCRIPTION = "The x11perf program runs one or more performance tests \ | ||
6 | and reports how fast an X server can execute the tests." | ||
7 | |||
8 | |||
9 | DEPENDS += "libxmu libxrender libxft libxext fontconfig" | ||
10 | |||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=428ca4d67a41fcd4fc3283dce9bbda7e \ | ||
12 | file://x11perf.h;endline=24;md5=29555066baf406a105ff917ac25b2d01" | ||
13 | |||
14 | PR = "${INC_PR}.0" | ||
15 | PE = "1" | ||
16 | |||
17 | FILES_${PN} += "${libdir}/X11/x11perfcomp/*" | ||
18 | |||
19 | SRC_URI[md5sum] = "5c3c7431a38775caaea6051312a49bc9" | ||
20 | SRC_URI[sha256sum] = "24ee8857a2bf414b360addabf1c27ef797f7f504ee9bc409c151760bfbe53184" | ||
diff --git a/meta/recipes-graphics/xorg-app/xauth_1.0.9.bb b/meta/recipes-graphics/xorg-app/xauth_1.0.9.bb new file mode 100644 index 0000000000..b173f4fe8d --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xauth_1.0.9.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | require xorg-app-common.inc | ||
2 | SUMMARY = "X authority utilities" | ||
3 | DESCRIPTION = "X application to edit and display the authorization \ | ||
4 | information used in connecting to the X server." | ||
5 | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=5ec74dd7ea4d10c4715a7c44f159a40b" | ||
7 | |||
8 | DEPENDS += "libxau libxext libxmu" | ||
9 | PE = "1" | ||
10 | |||
11 | SRC_URI[md5sum] = "7d6003f32838d5b688e2c8a131083271" | ||
12 | SRC_URI[sha256sum] = "56ce1523eb48b1f8a4f4244fe1c3d8e6af1a3b7d4b0e6063582421b0b68dc28f" | ||
diff --git a/meta/recipes-graphics/xorg-app/xdpyinfo/disable-xkb.patch b/meta/recipes-graphics/xorg-app/xdpyinfo/disable-xkb.patch new file mode 100644 index 0000000000..1e8199cc66 --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xdpyinfo/disable-xkb.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Index: xdpyinfo-1.3.0/configure.ac | ||
4 | =================================================================== | ||
5 | --- xdpyinfo-1.3.0.orig/configure.ac 2011-10-21 21:34:21.000000000 -0700 | ||
6 | +++ xdpyinfo-1.3.0/configure.ac 2011-11-28 20:06:56.554056935 -0800 | ||
7 | @@ -47,11 +47,15 @@ | ||
8 | AC_CHECK_HEADERS([X11/extensions/multibuf.h X11/extensions/XShm.h],,,[#include <X11/Xlib.h>]) | ||
9 | CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"]) | ||
10 | |||
11 | +AC_ARG_ENABLE(xkb, AC_HELP_STRING([--disable-xkb], [Disable XKB support]), | ||
12 | + XKB="$enableval", XKB="yes") | ||
13 | +if test "x$XKB" = "xyes" ; then | ||
14 | PKG_CHECK_MODULES(DPY_XKB, x11, | ||
15 | [SAVE_CPPFLAGS="$CPPFLAGS" | ||
16 | CPPFLAGS="$CPPFLAGS $DPY_XKB_CFLAGS $DPY_X11_CFLAGS" | ||
17 | AC_CHECK_HEADERS([X11/extensions/XKB.h X11/XKBlib.h],,,[#include <X11/Xlib.h>]) | ||
18 | CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"]) | ||
19 | +fi | ||
20 | |||
21 | PKG_CHECK_MODULES(DPY_XF86VIDMODE, xxf86vm, | ||
22 | [SAVE_CPPFLAGS="$CPPFLAGS" | ||
diff --git a/meta/recipes-graphics/xorg-app/xdpyinfo_1.3.1.bb b/meta/recipes-graphics/xorg-app/xdpyinfo_1.3.1.bb new file mode 100644 index 0000000000..3688e1b579 --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xdpyinfo_1.3.1.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | require xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "Display information utility for X" | ||
4 | |||
5 | DESCRIPTION = "Xdpyinfo is a utility for displaying information about an \ | ||
6 | X server. It is used to examine the capabilities of a server, the \ | ||
7 | predefined values for various parameters used in communicating between \ | ||
8 | clients and the server, and the different types of screens and visuals \ | ||
9 | that are available." | ||
10 | |||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=f3d09e6b9e203a1af489e16c708f4fb3" | ||
12 | DEPENDS += "libxtst libxext libxxf86vm libxxf86dga libxxf86misc libxi libxrender libxinerama libdmx libxau libxcomposite" | ||
13 | PE = "1" | ||
14 | |||
15 | SRC_URI += "file://disable-xkb.patch" | ||
16 | |||
17 | SRC_URI[md5sum] = "cacc0733f16e4f2a97a5c430fcc4420e" | ||
18 | SRC_URI[sha256sum] = "aef9285069a517ed870e5d8a02d13f7d8a953d7f7220146da563e04c7f128b94" | ||
19 | |||
20 | EXTRA_OECONF = "--disable-xkb" | ||
diff --git a/meta/recipes-graphics/xorg-app/xev/diet-x11.patch b/meta/recipes-graphics/xorg-app/xev/diet-x11.patch new file mode 100644 index 0000000000..6130959f86 --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xev/diet-x11.patch | |||
@@ -0,0 +1,82 @@ | |||
1 | Upstream-Status: Inappropriate [disable feature] | ||
2 | |||
3 | --- | ||
4 | xev.c | 16 ++++++++-------- | ||
5 | 1 file changed, 8 insertions(+), 8 deletions(-) | ||
6 | |||
7 | Index: xev-1.2.0/xev.c | ||
8 | =================================================================== | ||
9 | --- xev-1.2.0.orig/xev.c | ||
10 | +++ xev-1.2.0/xev.c | ||
11 | @@ -116,7 +116,7 @@ do_KeyPress (XEvent *eventp) | ||
12 | nbytes = XLookupString (e, str, 256, &ks, NULL); | ||
13 | |||
14 | /* not supposed to call XmbLookupString on a key release event */ | ||
15 | - if (e->type == KeyPress && xic) { | ||
16 | + /*if (e->type == KeyPress && xic) { | ||
17 | do { | ||
18 | nmbbytes = XmbLookupString (xic, e, buf, bsize - 1, &ks, &status); | ||
19 | buf[nmbbytes] = '\0'; | ||
20 | @@ -126,7 +126,7 @@ do_KeyPress (XEvent *eventp) | ||
21 | buf = realloc (buf, bsize); | ||
22 | } | ||
23 | } while (status == XBufferOverflow); | ||
24 | - } | ||
25 | + }*/ | ||
26 | |||
27 | if (ks == NoSymbol) | ||
28 | ksname = "NoSymbol"; | ||
29 | @@ -156,7 +156,7 @@ do_KeyPress (XEvent *eventp) | ||
30 | } | ||
31 | |||
32 | /* not supposed to call XmbLookupString on a key release event */ | ||
33 | - if (e->type == KeyPress && xic) { | ||
34 | + /*if (e->type == KeyPress && xic) { | ||
35 | printf (" XmbLookupString gives %d bytes: ", nmbbytes); | ||
36 | if (nmbbytes > 0) { | ||
37 | dump (buf, nmbbytes); | ||
38 | @@ -164,7 +164,7 @@ do_KeyPress (XEvent *eventp) | ||
39 | } else { | ||
40 | printf ("\n"); | ||
41 | } | ||
42 | - } | ||
43 | + } */ | ||
44 | |||
45 | printf (" XFilterEvent returns: %s\n", | ||
46 | XFilterEvent (eventp, e->window) ? "True" : "False"); | ||
47 | @@ -1015,7 +1015,7 @@ main (int argc, char **argv) | ||
48 | fprintf (stderr, "%s: XSetLocaleModifiers failed\n", ProgramName); | ||
49 | } | ||
50 | |||
51 | - xim = XOpenIM (dpy, NULL, NULL, NULL); | ||
52 | + /*xim = XOpenIM (dpy, NULL, NULL, NULL); | ||
53 | if (xim == NULL) { | ||
54 | fprintf (stderr, "%s: XOpenIM failed\n", ProgramName); | ||
55 | } | ||
56 | @@ -1042,7 +1042,7 @@ main (int argc, char **argv) | ||
57 | } | ||
58 | XFree (xim_styles); | ||
59 | } | ||
60 | - } | ||
61 | + }*/ | ||
62 | |||
63 | screen = DefaultScreen (dpy); | ||
64 | |||
65 | @@ -1109,7 +1109,7 @@ main (int argc, char **argv) | ||
66 | printf ("Outer window is 0x%lx, inner window is 0x%lx\n", w, subw); | ||
67 | } | ||
68 | |||
69 | - if (xim && xim_style) { | ||
70 | + /*if (xim && xim_style) { | ||
71 | xic = XCreateIC (xim, | ||
72 | XNInputStyle, xim_style, | ||
73 | XNClientWindow, w, | ||
74 | @@ -1119,7 +1119,7 @@ main (int argc, char **argv) | ||
75 | if (xic == NULL) { | ||
76 | fprintf (stderr, "XCreateIC failed\n"); | ||
77 | } | ||
78 | - } | ||
79 | + }*/ | ||
80 | |||
81 | have_rr = XRRQueryExtension (dpy, &rr_event_base, &rr_error_base); | ||
82 | if (have_rr) { | ||
diff --git a/meta/recipes-graphics/xorg-app/xev_1.2.1.bb b/meta/recipes-graphics/xorg-app/xev_1.2.1.bb new file mode 100644 index 0000000000..8dcb1ec6a4 --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xev_1.2.1.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | require xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "X Event Viewer" | ||
4 | DESCRIPTION = "Xev creates a window and then asks the X server to send it events \ | ||
5 | whenever anything happens to the window (such as it being moved, resized, \ | ||
6 | typed in, clicked in, etc.). You can also attach it to an existing window." | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://xev.c;beginline=1;endline=33;md5=577c99421f1803b891d2c79097ae4682" | ||
9 | LICENSE = "MIT" | ||
10 | |||
11 | PE = "1" | ||
12 | |||
13 | DEPENDS += "libxrandr xproto" | ||
14 | |||
15 | SRC_URI += "file://diet-x11.patch" | ||
16 | |||
17 | SRC_URI[md5sum] = "5b0a0b6f589441d546da21739fa75634" | ||
18 | SRC_URI[sha256sum] = "11f17fab097f17d9efc51ea9d0e3140bea3904eb3c486afa7c8c3eedab496243" | ||
diff --git a/meta/recipes-graphics/xorg-app/xeyes_1.1.1.bb b/meta/recipes-graphics/xorg-app/xeyes_1.1.1.bb new file mode 100644 index 0000000000..84d0cb8044 --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xeyes_1.1.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | require xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "X11 eyes that follow the mouse cursor demo" | ||
4 | DESCRIPTION = "Xeyes is a small X11 application that shows a pair of eyes that move to \ | ||
5 | follow the location of the mouse cursor around the screen." | ||
6 | |||
7 | PE = "1" | ||
8 | |||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=3ea51b365051ac32d1813a7dbaa4bfc6" | ||
10 | |||
11 | SRC_URI[md5sum] = "a3035dcecdbdb89e864177c080924981" | ||
12 | SRC_URI[sha256sum] = "975e98680cd59e1f9439016386609546ed08c284d0f05a95276f96aca6e8a521" | ||
13 | |||
14 | DEPENDS += "libxau libxt libxext libxmu libxrender" | ||
diff --git a/meta/recipes-graphics/xorg-app/xhost_1.0.6.bb b/meta/recipes-graphics/xorg-app/xhost_1.0.6.bb new file mode 100644 index 0000000000..aba33f0fe8 --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xhost_1.0.6.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | require xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "Server access control program for X" | ||
4 | |||
5 | DESCRIPTION = "The xhost program is used to add and delete host names or \ | ||
6 | user names to the list allowed to make connections to the X server. In \ | ||
7 | the case of hosts, this provides a rudimentary form of privacy control \ | ||
8 | and security. Environments which require more sophisticated measures \ | ||
9 | should implement the user-based mechanism or use the hooks in the \ | ||
10 | protocol for passing other authentication data to the server." | ||
11 | |||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=8fbed71dddf48541818cef8079124199" | ||
13 | DEPENDS += "libxmu libxau" | ||
14 | PE = "1" | ||
15 | |||
16 | SRC_URI[md5sum] = "f1669af1fe0554e876f03319c678e79d" | ||
17 | SRC_URI[sha256sum] = "a6f5b922df0a7be5d3ba43f525fa8e69c539c738418f013a0b7adaa423a89dc2" | ||
diff --git a/meta/recipes-graphics/xorg-app/xinit_1.3.3.bb b/meta/recipes-graphics/xorg-app/xinit_1.3.3.bb new file mode 100644 index 0000000000..583ea87eeb --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xinit_1.3.3.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | require xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "X Window System initializer" | ||
4 | |||
5 | DESCRIPTION = "The xinit program is used to start the X Window System \ | ||
6 | server and a first client program on systems that cannot start X \ | ||
7 | directly from /etc/init or in environments that use multiple window \ | ||
8 | systems. When this first client exits, xinit will kill the X server and \ | ||
9 | then terminate." | ||
10 | |||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=18f01e7b39807bebe2b8df101a039b68" | ||
12 | |||
13 | PE = "1" | ||
14 | |||
15 | SRC_URI[md5sum] = "3b8da0e6237aee9828cc809c647510a7" | ||
16 | SRC_URI[sha256sum] = "74b2878de6e3d5b5948f1562a77e7f53b4e10621e505ddb278050c7f3cae00af" | ||
17 | |||
18 | EXTRA_OECONF = "ac_cv_path_MCOOKIE=${bindir}/mcookie" | ||
19 | |||
20 | RDEPENDS_${PN} += "util-linux-mcookie" | ||
diff --git a/meta/recipes-graphics/xorg-app/xinput_1.6.1.bb b/meta/recipes-graphics/xorg-app/xinput_1.6.1.bb new file mode 100644 index 0000000000..5befcc82d9 --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xinput_1.6.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | require xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "Runtime configuration and test of XInput devices" | ||
4 | |||
5 | DESCRIPTION = "Xinput is an utility for configuring and testing XInput devices" | ||
6 | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=881525f89f99cad39c9832bcb72e6fa5" | ||
8 | |||
9 | DEPENDS += " libxi libxrandr libxinerama" | ||
10 | |||
11 | |||
12 | SRC_URI[md5sum] = "305980ac78a6954e306a14d80a54c441" | ||
13 | SRC_URI[sha256sum] = "b7632d0f228a8a6be93b09857ea413940fcf44091e60f4a0fe9f5fd82efd871f" | ||
14 | |||
diff --git a/meta/recipes-graphics/xorg-app/xkbcomp_1.2.4.bb b/meta/recipes-graphics/xorg-app/xkbcomp_1.2.4.bb new file mode 100644 index 0000000000..5c274b133e --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xkbcomp_1.2.4.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | require xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "A program to compile XKB keyboard description" | ||
4 | |||
5 | DESCRIPTION = "The xkbcomp keymap compiler converts a description of an \ | ||
6 | XKB keymap into one of several output formats. The most common use for \ | ||
7 | xkbcomp is to create a compiled keymap file (.xkm extension) which can \ | ||
8 | be read directly by XKB-capable X servers or utilities." | ||
9 | |||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=08436e4f4476964e2e2dd7e7e41e076a" | ||
11 | |||
12 | PR = "${INC_PR}.0" | ||
13 | |||
14 | DEPENDS += "libxkbfile" | ||
15 | |||
16 | BBCLASSEXTEND = "native" | ||
17 | |||
18 | SRC_URI[md5sum] = "a0fc1ac3fc4fe479ade09674347c5aa0" | ||
19 | SRC_URI[sha256sum] = "91d0c9ab445d21dfe1892dbae5ae5264f39bae68223dd092ffc547c9450b5a2d" | ||
diff --git a/meta/recipes-graphics/xorg-app/xmodmap/gnu-source.patch b/meta/recipes-graphics/xorg-app/xmodmap/gnu-source.patch new file mode 100644 index 0000000000..40f81f0f74 --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xmodmap/gnu-source.patch | |||
@@ -0,0 +1,60 @@ | |||
1 | Upstream-Status: Backport | ||
2 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
3 | |||
4 | From 42f99a7a7b836f6f9704a7b1747eb722c93446ec Mon Sep 17 00:00:00 2001 | ||
5 | From: Alan Coopersmith <alan.coopersmith@oracle.com> | ||
6 | Date: Mon, 23 Apr 2012 14:28:39 +0000 | ||
7 | Subject: include config.h before stdio.h & other system headers | ||
8 | |||
9 | Ensures definitions like _GNU_SOURCE are visible when needed. | ||
10 | |||
11 | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | ||
12 | Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> | ||
13 | --- | ||
14 | diff --git a/exec.c b/exec.c | ||
15 | index dbcb669..419b10e 100644 | ||
16 | --- a/exec.c | ||
17 | +++ b/exec.c | ||
18 | @@ -54,6 +54,10 @@ from The Open Group. | ||
19 | * original xmodmap, written by David Rosenthal, of Sun Microsystems. | ||
20 | */ | ||
21 | |||
22 | +#ifdef HAVE_CONFIG_H | ||
23 | +# include "config.h" | ||
24 | +#endif | ||
25 | + | ||
26 | #include <X11/Xos.h> | ||
27 | #include <X11/Xlib.h> | ||
28 | #include <stdio.h> | ||
29 | diff --git a/pf.c b/pf.c | ||
30 | index 0eb0f55..3f0c3f4 100644 | ||
31 | --- a/pf.c | ||
32 | +++ b/pf.c | ||
33 | @@ -26,6 +26,10 @@ from The Open Group. | ||
34 | |||
35 | */ | ||
36 | |||
37 | +#ifdef HAVE_CONFIG_H | ||
38 | +# include "config.h" | ||
39 | +#endif | ||
40 | + | ||
41 | #include <X11/Xos.h> | ||
42 | #include <X11/Xlib.h> | ||
43 | #include <stdio.h> | ||
44 | diff --git a/xmodmap.c b/xmodmap.c | ||
45 | index 58a8e70..0f89629 100644 | ||
46 | --- a/xmodmap.c | ||
47 | +++ b/xmodmap.c | ||
48 | @@ -26,6 +26,10 @@ from The Open Group. | ||
49 | |||
50 | */ | ||
51 | |||
52 | +#ifdef HAVE_CONFIG_H | ||
53 | +# include "config.h" | ||
54 | +#endif | ||
55 | + | ||
56 | #include <X11/Xos.h> | ||
57 | #include <X11/Xlib.h> | ||
58 | #include <stdio.h> | ||
59 | -- | ||
60 | cgit v0.9.0.2-2-gbebe | ||
diff --git a/meta/recipes-graphics/xorg-app/xmodmap_1.0.8.bb b/meta/recipes-graphics/xorg-app/xmodmap_1.0.8.bb new file mode 100644 index 0000000000..65a55e3560 --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xmodmap_1.0.8.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | require xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "Utility for modifying keymaps and pointer button mappings in X" | ||
4 | |||
5 | DESCRIPTION = "The xmodmap program is used to edit and display the \ | ||
6 | keyboard modifier map and keymap table that are used by client \ | ||
7 | applications to convert event keycodes into keysyms. It is usually run \ | ||
8 | from the user's session startup script to configure the keyboard \ | ||
9 | according to personal tastes." | ||
10 | |||
11 | LICENSE = "MIT" | ||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=272c17e96370e1e74773fa22d9989621" | ||
13 | |||
14 | PE = "1" | ||
15 | |||
16 | SRC_URI += "file://gnu-source.patch" | ||
17 | |||
18 | SRC_URI[md5sum] = "5511da3361eea4eaa21427652c559e1c" | ||
19 | SRC_URI[sha256sum] = "efe2e3c89858a2db3bdcf969f55f55d0af4f5007789198344de0595249a99fc3" | ||
diff --git a/meta/recipes-graphics/xorg-app/xorg-app-common.inc b/meta/recipes-graphics/xorg-app/xorg-app-common.inc new file mode 100644 index 0000000000..59a04fa494 --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xorg-app-common.inc | |||
@@ -0,0 +1,19 @@ | |||
1 | SUMMARY = "X application" | ||
2 | HOMEPAGE = "http://www.x.org/" | ||
3 | BUGTRACKER = "https://bugs.freedesktop.org" | ||
4 | SECTION = "x11/apps" | ||
5 | LICENSE = "MIT-X" | ||
6 | DEPENDS = "util-macros-native virtual/libx11" | ||
7 | |||
8 | # depends on virtual/libx11 | ||
9 | REQUIRED_DISTRO_FEATURES = "x11" | ||
10 | |||
11 | INC_PR = "r8" | ||
12 | |||
13 | SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.bz2" | ||
14 | |||
15 | S = "${WORKDIR}/${BPN}-${PV}" | ||
16 | |||
17 | inherit autotools pkgconfig distro_features_check | ||
18 | |||
19 | FILES_${PN} += " ${libdir}/X11/${BPN} ${datadir}/X11/app-defaults/" | ||
diff --git a/meta/recipes-graphics/xorg-app/xprop_1.2.2.bb b/meta/recipes-graphics/xorg-app/xprop_1.2.2.bb new file mode 100644 index 0000000000..d78bf0451c --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xprop_1.2.2.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | require xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "Utility to display window and font properties of an X server" | ||
4 | |||
5 | DESCRIPTION = "The xprop utility is for displaying window and font \ | ||
6 | properties in an X server. One window or font is selected using the \ | ||
7 | command line arguments or possibly in the case of a window, by clicking \ | ||
8 | on the desired window. A list of properties is then given, possibly with \ | ||
9 | formatting information." | ||
10 | |||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=e226ab8db88ac0bc0391673be40c9f91" | ||
12 | |||
13 | DEPENDS += "libxmu" | ||
14 | |||
15 | PE = "1" | ||
16 | |||
17 | SRC_URI[md5sum] = "fae3d2fda07684027a643ca783d595cc" | ||
18 | SRC_URI[sha256sum] = "9bee88b1025865ad121f72d32576dd3027af1446774aa8300cce3c261d869bc6" | ||
diff --git a/meta/recipes-graphics/xorg-app/xrandr_1.4.2.bb b/meta/recipes-graphics/xorg-app/xrandr_1.4.2.bb new file mode 100644 index 0000000000..84f01b02dd --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xrandr_1.4.2.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | require xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "XRandR: X Resize, Rotate and Reflect extension command" | ||
4 | |||
5 | DESCRIPTION = "Xrandr is used to set the size, orientation and/or \ | ||
6 | reflection of the outputs for a screen. It can also set the screen \ | ||
7 | size." | ||
8 | |||
9 | LICENSE = "MIT" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=fe1608bdb33cf8c62a4438f7d34679b3" | ||
11 | DEPENDS += "libxrandr libxrender" | ||
12 | PE = "1" | ||
13 | |||
14 | SRC_URI[md5sum] = "78fd973d9b532106f8777a3449176148" | ||
15 | SRC_URI[sha256sum] = "b2e76ee92ff827f1c52ded7c666fe6f2704ca81cdeef882397da4e3e8ab490bc" | ||
diff --git a/meta/recipes-graphics/xorg-app/xset/disable-xkb.patch b/meta/recipes-graphics/xorg-app/xset/disable-xkb.patch new file mode 100644 index 0000000000..97d13a30df --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xset/disable-xkb.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | add "-disable-xkb" option | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Rebase for 1.2.1 by: Yu Ke <ke.yu@intel.com> | ||
6 | |||
7 | diff --git a/configure.ac b/configure.ac | ||
8 | index 81c3ae4..26601bf 100644 | ||
9 | --- a/configure.ac | ||
10 | +++ b/configure.ac | ||
11 | @@ -52,11 +52,15 @@ PKG_CHECK_MODULES(SET_XEXT, xext, | ||
12 | AC_CHECK_HEADERS([X11/extensions/dpms.h X11/extensions/MITMisc.h],,,[#include <X11/Xlib.h>]) | ||
13 | CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"]) | ||
14 | |||
15 | +AC_ARG_ENABLE(xkb, AC_HELP_STRING([--disable-xkb], [Disable XKB support]), | ||
16 | + XKB="$enableval", XKB="yes") | ||
17 | +if test "x$XKB" = "xyes" ; then | ||
18 | PKG_CHECK_MODULES(SET_XKB, x11, | ||
19 | [SAVE_CPPFLAGS="$CPPFLAGS" | ||
20 | CPPFLAGS="$CPPFLAGS $SET_XKB_CFLAGS $SET_X11_CFLAGS" | ||
21 | AC_CHECK_HEADERS([X11/XKBlib.h],,,[#include <X11/Xlib.h>]) | ||
22 | CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"]) | ||
23 | +fi | ||
24 | |||
25 | AC_ARG_WITH(xf86misc, AC_HELP_STRING([--without-xf86misc],[Disable xf86misc support.]), | ||
26 | [USE_XF86MISC="$withval"], [USE_XF86MISC="yes"]) | ||
diff --git a/meta/recipes-graphics/xorg-app/xset_1.2.3.bb b/meta/recipes-graphics/xorg-app/xset_1.2.3.bb new file mode 100644 index 0000000000..f683b7603f --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xset_1.2.3.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | require xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "Utility for setting various user preference options of the display" | ||
4 | |||
5 | DESCRIPTION = "xset is a utility that is used to set various user \ | ||
6 | preference options of the display." | ||
7 | |||
8 | LICENSE = "MIT" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=bea81cc9827cdf1af0e12c2b8228cf8d" | ||
10 | DEPENDS += "libxext libxxf86misc libxmu libxau" | ||
11 | PE = "1" | ||
12 | |||
13 | SRC_URI += "file://disable-xkb.patch" | ||
14 | |||
15 | SRC_URI[md5sum] = "dcd227388b57487d543cab2fd7a602d7" | ||
16 | SRC_URI[sha256sum] = "4382f4fb29b88647e13f3b4bc29263134270747fc159cfc5f7e3af23588c8063" | ||
17 | |||
18 | CFLAGS += "-D_GNU_SOURCE" | ||
19 | EXTRA_OECONF = "--disable-xkb --without-fontcache" | ||
diff --git a/meta/recipes-graphics/xorg-app/xvinfo_1.1.2.bb b/meta/recipes-graphics/xorg-app/xvinfo_1.1.2.bb new file mode 100644 index 0000000000..8ea1ca0f29 --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xvinfo_1.1.2.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | require xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "Print out X-Video extension adaptor information" | ||
4 | |||
5 | DESCRIPTION = "xvinfo prints out the capabilities of any video adaptors \ | ||
6 | associated with the display that are accessible through the X-Video \ | ||
7 | extension." | ||
8 | |||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=b664101ad7a1dc758a4c4109bf978e68" | ||
10 | DEPENDS += " libxv" | ||
11 | PE = "1" | ||
12 | PR = "${INC_PR}.0" | ||
13 | |||
14 | SRC_URI[md5sum] = "1fbd65e81323a8c0a4b5e24db0058405" | ||
15 | SRC_URI[sha256sum] = "eed3d90ffd788ef728c4a5e7aa4bd86dc6bbcebac929caf7a0479cf8b53b50e3" | ||
diff --git a/meta/recipes-graphics/xorg-app/xwininfo_1.1.3.bb b/meta/recipes-graphics/xorg-app/xwininfo_1.1.3.bb new file mode 100644 index 0000000000..7a452410b7 --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xwininfo_1.1.3.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | require xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "Window information utility for X" | ||
4 | |||
5 | DESCRIPTION = "Xwininfo is a utility for displaying information about \ | ||
6 | windows. Information may include window position, size, color depth, \ | ||
7 | and a number of other items." | ||
8 | |||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=78976cd3115f6faf615accc4e094d90e" | ||
10 | DEPENDS += "libxext libxmu" | ||
11 | |||
12 | PE = "0" | ||
13 | |||
14 | SRC_URI[md5sum] = "b777bafb674555e48fd8437618270931" | ||
15 | SRC_URI[sha256sum] = "218eb0ea95bd8de7903dfaa26423820c523ad1598be0751d2d8b6a2c23b23ff8" | ||