diff options
Diffstat (limited to 'meta/recipes-graphics')
41 files changed, 10 insertions, 893 deletions
diff --git a/meta/recipes-graphics/clutter/aaina.inc b/meta/recipes-graphics/clutter/aaina.inc deleted file mode 100644 index afbc022cdb..0000000000 --- a/meta/recipes-graphics/clutter/aaina.inc +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | DESCRIPTION = "Aaina Clutter Demo" | ||
| 2 | HOMEPAGE = "http://www.clutter-project.org/" | ||
| 3 | LICENSE = "GPL" | ||
| 4 | |||
| 5 | DEPENDS = "clutter-0.6 libxml2 gtk+ neon" | ||
| 6 | |||
| 7 | inherit autotools pkgconfig | ||
diff --git a/meta/recipes-graphics/clutter/aaina_git.bb b/meta/recipes-graphics/clutter/aaina_git.bb deleted file mode 100644 index a348cd3d4d..0000000000 --- a/meta/recipes-graphics/clutter/aaina_git.bb +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | require aaina.inc | ||
| 2 | |||
| 3 | PV = "0.3.0+git${SRCPV}" | ||
| 4 | |||
| 5 | SRC_URI = "git://git.clutter-project.org/toys.git;protocol=git" | ||
| 6 | |||
| 7 | S = "${WORKDIR}/git/aaina" | ||
diff --git a/meta/recipes-graphics/clutter/clutter-0.6_git.bb b/meta/recipes-graphics/clutter/clutter-0.6_git.bb deleted file mode 100644 index 5a8ccec164..0000000000 --- a/meta/recipes-graphics/clutter/clutter-0.6_git.bb +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | require clutter.inc | ||
| 2 | |||
| 3 | PV = "0.6.0+gitr${SRCPV}" | ||
| 4 | PR = "r5" | ||
| 5 | |||
| 6 | PACKAGES =+ "clutter-examples-0.6" | ||
| 7 | FILES_clutter-examples-0.6 = "${bindir}/test-* ${pkgdatadir}/redhand.png" | ||
| 8 | |||
| 9 | |||
| 10 | SRC_URI = "git://git.clutter-project.org/clutter.git;protocol=git;branch=clutter-0-6 \ | ||
| 11 | file://symconflict.patch;patch=1 \ | ||
| 12 | file://enable_tests-0.6.patch;patch=1 " | ||
| 13 | |||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
diff --git a/meta/recipes-graphics/clutter/clutter-0.8_git.bb b/meta/recipes-graphics/clutter/clutter-0.8_git.bb deleted file mode 100644 index 71e6198030..0000000000 --- a/meta/recipes-graphics/clutter/clutter-0.8_git.bb +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | require clutter.inc | ||
| 2 | |||
| 3 | PV = "0.8.0+gitr${SRCREV}" | ||
| 4 | PR = "r2" | ||
| 5 | |||
| 6 | PACKAGES =+ "clutter-examples-0.8" | ||
| 7 | FILES_clutter-examples-0.8 = "${bindir}/test-* ${pkgdatadir}/redhand.png" | ||
| 8 | |||
| 9 | SRC_URI = "git://git.clutter-project.org/clutter.git;protocol=git;branch=clutter-0-8 \ | ||
| 10 | file://enable_tests-0.8.patch;patch=1 \ | ||
| 11 | file://build-fix.patch;patch=1" | ||
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
diff --git a/meta/recipes-graphics/clutter/clutter-box2d.inc b/meta/recipes-graphics/clutter/clutter-box2d.inc index 1a107c3993..08861958cd 100644 --- a/meta/recipes-graphics/clutter/clutter-box2d.inc +++ b/meta/recipes-graphics/clutter/clutter-box2d.inc | |||
| @@ -2,7 +2,7 @@ DESCRIPTION = "Clutter Box2D" | |||
| 2 | HOMEPAGE = "http://www.clutter-project.org/" | 2 | HOMEPAGE = "http://www.clutter-project.org/" |
| 3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
| 4 | 4 | ||
| 5 | DEPENDS = "clutter-0.8" | 5 | DEPENDS = "clutter-1.0" |
| 6 | 6 | ||
| 7 | # The main clutter lib is machine specific so we need to be too | 7 | # The main clutter lib is machine specific so we need to be too |
| 8 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 8 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
diff --git a/meta/recipes-graphics/clutter/clutter-cairo-0.6_git.bb b/meta/recipes-graphics/clutter/clutter-cairo-0.6_git.bb deleted file mode 100644 index 3b7f6a9be5..0000000000 --- a/meta/recipes-graphics/clutter/clutter-cairo-0.6_git.bb +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | require clutter-cairo.inc | ||
| 2 | |||
| 3 | PV = "0.6.0+git${SRCREV}" | ||
| 4 | PR = "r1" | ||
| 5 | |||
| 6 | DEPENDS += "clutter-0.6" | ||
| 7 | |||
| 8 | SRC_URI = "git://git.clutter-project.org/clutter-cairo.git;protocol=git;branch=clutter-cairo-0-6 \ | ||
| 9 | file://enable_examples-0.6.patch;patch=1" | ||
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | |||
diff --git a/meta/recipes-graphics/clutter/clutter-cairo-0.8_git.bb b/meta/recipes-graphics/clutter/clutter-cairo-0.8_git.bb deleted file mode 100644 index cb8482b742..0000000000 --- a/meta/recipes-graphics/clutter/clutter-cairo-0.8_git.bb +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | require clutter-cairo.inc | ||
| 2 | |||
| 3 | PV = "0.8.0+git${SRCPV}" | ||
| 4 | |||
| 5 | DEPENDS += "clutter-0.8" | ||
| 6 | |||
| 7 | SRC_URI = "git://git.clutter-project.org/clutter-cairo.git;protocol=git;branch=clutter-cairo-0-8 \ | ||
| 8 | file://enable_examples.patch;patch=1" | ||
| 9 | |||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | |||
diff --git a/meta/recipes-graphics/clutter/clutter-gst-0.10_git.bb b/meta/recipes-graphics/clutter/clutter-gst-0.10_git.bb deleted file mode 100644 index a0f874db25..0000000000 --- a/meta/recipes-graphics/clutter/clutter-gst-0.10_git.bb +++ /dev/null | |||
| @@ -1,14 +0,0 @@ | |||
| 1 | require clutter-gst.inc | ||
| 2 | |||
| 3 | PV = "0.10.0+git${SRCPV}" | ||
| 4 | |||
| 5 | DEPENDS += "clutter-1.0" | ||
| 6 | |||
| 7 | SRC_URI = "git://git.clutter-project.org/clutter-gst.git;protocol=git;branch=clutter-gst-0.10" | ||
| 8 | |||
| 9 | S = "${WORKDIR}/git" | ||
| 10 | |||
| 11 | do_configure_prepend () { | ||
| 12 | # Disable DOLT | ||
| 13 | sed -i -e 's/^DOLT//' ${S}/configure.ac | ||
| 14 | } | ||
diff --git a/meta/recipes-graphics/clutter/clutter-gst-0.6_git.bb b/meta/recipes-graphics/clutter/clutter-gst-0.6_git.bb deleted file mode 100644 index 09979f9e0c..0000000000 --- a/meta/recipes-graphics/clutter/clutter-gst-0.6_git.bb +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | require clutter-gst.inc | ||
| 2 | |||
| 3 | PV = "0.6.0+git${SRCPV}" | ||
| 4 | |||
| 5 | DEPENDS += "clutter-0.6" | ||
| 6 | |||
| 7 | SRC_URI = "git://git.clutter-project.org/clutter-gst.git;protocol=git;branch=clutter-gst-0-6" | ||
| 8 | |||
| 9 | S = "${WORKDIR}/git" | ||
diff --git a/meta/recipes-graphics/clutter/clutter-gst-0.8_git.bb b/meta/recipes-graphics/clutter/clutter-gst-0.8_git.bb deleted file mode 100644 index c5348ecefe..0000000000 --- a/meta/recipes-graphics/clutter/clutter-gst-0.8_git.bb +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | require clutter-gst.inc | ||
| 2 | |||
| 3 | PV = "0.8.0+git${SRCPV}" | ||
| 4 | |||
| 5 | DEPENDS += "clutter-0.8" | ||
| 6 | |||
| 7 | SRC_URI = "git://git.clutter-project.org/clutter-gst.git;protocol=git;branch=clutter-gst-0-8" | ||
| 8 | |||
| 9 | S = "${WORKDIR}/git" | ||
diff --git a/meta/recipes-graphics/clutter/clutter-gtk-0.10_git.bb b/meta/recipes-graphics/clutter/clutter-gtk-0.10_git.bb deleted file mode 100644 index d0613277a7..0000000000 --- a/meta/recipes-graphics/clutter/clutter-gtk-0.10_git.bb +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | require clutter-gtk.inc | ||
| 2 | |||
| 3 | PV = "0.10.3+git${SRCPV}" | ||
| 4 | PR = "r1" | ||
| 5 | |||
| 6 | SRC_URI = "git://git.clutter-project.org/clutter-gtk.git;protocol=git;branch=clutter-gtk-0.10" | ||
| 7 | |||
| 8 | S = "${WORKDIR}/git" | ||
| 9 | |||
| 10 | DEPENDS += "clutter-1.0" | ||
| 11 | |||
| 12 | EXTRA_OECONF += "--disable-introspection" | ||
diff --git a/meta/recipes-graphics/clutter/clutter-gtk-0.6_git.bb b/meta/recipes-graphics/clutter/clutter-gtk-0.6_git.bb deleted file mode 100644 index d2633ff2d4..0000000000 --- a/meta/recipes-graphics/clutter/clutter-gtk-0.6_git.bb +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | require clutter-gtk.inc | ||
| 2 | |||
| 3 | PV = "0.6.0+git${SRCPV}" | ||
| 4 | |||
| 5 | DEPENDS += "clutter-0.6" | ||
| 6 | |||
| 7 | SRC_URI = "git://git.clutter-project.org/clutter-gtk.git;protocol=git;branch=clutter-gtk-0-6" | ||
| 8 | |||
| 9 | S = "${WORKDIR}/git" | ||
diff --git a/meta/recipes-graphics/clutter/clutter-gtk-0.8_git.bb b/meta/recipes-graphics/clutter/clutter-gtk-0.8_git.bb deleted file mode 100644 index 506d3fb156..0000000000 --- a/meta/recipes-graphics/clutter/clutter-gtk-0.8_git.bb +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | require clutter-gtk.inc | ||
| 2 | |||
| 3 | PV = "0.8.0+git${SRCPV}" | ||
| 4 | |||
| 5 | DEPENDS += "clutter-0.8" | ||
| 6 | |||
| 7 | SRC_URI = "git://git.clutter-project.org/clutter-gtk.git;protocol=git;branch=clutter-gtk-0-8" | ||
| 8 | |||
| 9 | S = "${WORKDIR}/git" | ||
diff --git a/meta/recipes-graphics/clutter/table/fixes.patch b/meta/recipes-graphics/clutter/table/fixes.patch deleted file mode 100644 index a7cdc43713..0000000000 --- a/meta/recipes-graphics/clutter/table/fixes.patch +++ /dev/null | |||
| @@ -1,14 +0,0 @@ | |||
| 1 | Index: table/Makefile | ||
| 2 | =================================================================== | ||
| 3 | --- table.orig/Makefile 2007-07-10 13:24:18.000000000 +0100 | ||
| 4 | +++ table/Makefile 2007-07-10 13:28:10.000000000 +0100 | ||
| 5 | @@ -8,7 +8,7 @@ all: table | ||
| 6 | |||
| 7 | |||
| 8 | table: table.o clutter-dominatrix.o clutter-video-player.o | ||
| 9 | - $(CC) -g -Wall $(CFLAGS) -o $@ table.o clutter-dominatrix.o clutter-video-player.o $(LIBS) | ||
| 10 | + $(CC) -g -Wall $(CFLAGS) $(LDFLAGS) -o $@ table.o clutter-dominatrix.o clutter-video-player.o $(LIBS) | ||
| 11 | |||
| 12 | clean: | ||
| 13 | rm -fr *.o table | ||
| 14 | \ No newline at end of file | ||
diff --git a/meta/recipes-graphics/clutter/tidy.inc b/meta/recipes-graphics/clutter/tidy.inc index 3fa387c049..7d5862b18f 100644 --- a/meta/recipes-graphics/clutter/tidy.inc +++ b/meta/recipes-graphics/clutter/tidy.inc | |||
| @@ -2,7 +2,7 @@ DESCRIPTION = "Tidy library" | |||
| 2 | HOMEPAGE = "http://www.clutter-project.org/" | 2 | HOMEPAGE = "http://www.clutter-project.org/" |
| 3 | LICENSE = "LGPL" | 3 | LICENSE = "LGPL" |
| 4 | 4 | ||
| 5 | STDDEPENDS = "clutter-0.8" | 5 | STDDEPENDS = "clutter-1.0" |
| 6 | BASE_CONF = "--disable-gtk-doc" | 6 | BASE_CONF = "--disable-gtk-doc" |
| 7 | 7 | ||
| 8 | DEPENDS = "${STDDEPENDS}" | 8 | DEPENDS = "${STDDEPENDS}" |
diff --git a/meta/recipes-graphics/libxklavier/libxklavier/pkgconfigfix.patch b/meta/recipes-graphics/libxklavier/libxklavier/pkgconfigfix.patch deleted file mode 100644 index 4aaafb2b1e..0000000000 --- a/meta/recipes-graphics/libxklavier/libxklavier/pkgconfigfix.patch +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | Index: libxklavier-3.7/libxklavier.pc.in | ||
| 2 | =================================================================== | ||
| 3 | --- libxklavier-3.7.orig/libxklavier.pc.in 2009-06-10 15:58:46.000000000 +0100 | ||
| 4 | +++ libxklavier-3.7/libxklavier.pc.in 2009-06-10 16:00:45.000000000 +0100 | ||
| 5 | @@ -5,7 +5,7 @@ | ||
| 6 | |||
| 7 | Name: libxklavier | ||
| 8 | Description: libxklavier library | ||
| 9 | -Requires: libxml-2.0 | ||
| 10 | +Requires: libxml-2.0 glib-2.0 | ||
| 11 | Version: @VERSION@ | ||
| 12 | -Libs: -L${libdir} -lxklavier @GLIB_LIBS@ @XML_LIBS@ | ||
| 13 | -Cflags: -I${includedir} @GLIB_CFLAGS@ | ||
| 14 | +Libs: -L${libdir} -lxklavier | ||
| 15 | +Cflags: -I${includedir} | ||
diff --git a/meta/recipes-graphics/libxklavier/libxklavier_3.9.bb b/meta/recipes-graphics/libxklavier/libxklavier_3.9.bb deleted file mode 100644 index 1d9b6f21a4..0000000000 --- a/meta/recipes-graphics/libxklavier/libxklavier_3.9.bb +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | DESCRIPTION = "Utility library to make using XKB easier" | ||
| 2 | SECTION = "x11/libs" | ||
| 3 | PRIORITY = "optional" | ||
| 4 | DEPENDS = "iso-codes libxml2 glib-2.0 libxkbfile" | ||
| 5 | LICENSE = "LGPL" | ||
| 6 | PR = "r2" | ||
| 7 | |||
| 8 | SRC_URI = "${SOURCEFORGE_MIRROR}/gswitchit/libxklavier-${PV}.tar.bz2 \ | ||
| 9 | file://pkgconfigfix.patch;patch=1" | ||
| 10 | |||
| 11 | inherit autotools | ||
| 12 | |||
diff --git a/meta/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c b/meta/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c deleted file mode 100644 index 41cebc58a7..0000000000 --- a/meta/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c +++ /dev/null | |||
| @@ -1,410 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Pong Clock - A clock that plays pong. | ||
| 3 | * See http://mocoloco.com/archives/001766.php for the inspiration. | ||
| 4 | * | ||
| 5 | * Copyright (C) 2005 Matthew Allum | ||
| 6 | * | ||
| 7 | * Author: Matthew Allum mallum@openedhand.com | ||
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License as published by | ||
| 11 | * the Free Software Foundation; either version 2 of the License, or | ||
| 12 | * (at your option) any later version. | ||
| 13 | * | ||
| 14 | * This program is distributed in the hope that it will be useful, | ||
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | * GNU General Public License for more details. | ||
| 18 | * | ||
| 19 | * You should have received a copy of the GNU General Public License | ||
| 20 | * along with this program; if not, write to the Free Software | ||
| 21 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 22 | * | ||
| 23 | */ | ||
| 24 | |||
| 25 | #include <stdlib.h> | ||
| 26 | #include <time.h> | ||
| 27 | #include <sys/time.h> | ||
| 28 | #include <sys/types.h> | ||
| 29 | #include <string.h> | ||
| 30 | #include <stdio.h> | ||
| 31 | #include <unistd.h> | ||
| 32 | #include <signal.h> | ||
| 33 | |||
| 34 | #include <X11/Xlib.h> | ||
| 35 | #include <X11/Xutil.h> | ||
| 36 | #include <X11/Xatom.h> | ||
| 37 | |||
| 38 | /* Tweak values for different hw setups */ | ||
| 39 | |||
| 40 | #define FPS 50 | ||
| 41 | #define RESX 40 | ||
| 42 | #define RESY 40 | ||
| 43 | #define TO_MISS_SECS 55 | ||
| 44 | #define BALLDX 16 | ||
| 45 | #define BALLDY 4 | ||
| 46 | |||
| 47 | |||
| 48 | typedef struct PongClock | ||
| 49 | { | ||
| 50 | Display *xdpy; | ||
| 51 | int xscreen; | ||
| 52 | Window xwin, xwin_root; | ||
| 53 | Pixmap backbuffer; | ||
| 54 | GC xgc; | ||
| 55 | int xwin_width, xwin_height; | ||
| 56 | int pixelw, pixelh; | ||
| 57 | |||
| 58 | int ball_x, ball_y, ball_dx, ball_dy; | ||
| 59 | int bata_y, batb_y; | ||
| 60 | Bool bata_to_miss, batb_to_miss; | ||
| 61 | |||
| 62 | } | ||
| 63 | PongClock; | ||
| 64 | |||
| 65 | void | ||
| 66 | get_time(int *hour, int *min, int *sec) | ||
| 67 | { | ||
| 68 | struct timeval tv; | ||
| 69 | struct tm *localTime = NULL; | ||
| 70 | time_t actualTime; | ||
| 71 | |||
| 72 | gettimeofday(&tv, 0); | ||
| 73 | actualTime = tv.tv_sec; | ||
| 74 | localTime = localtime(&actualTime); | ||
| 75 | |||
| 76 | if (hour) | ||
| 77 | *hour = localTime->tm_hour; | ||
| 78 | |||
| 79 | if (min) | ||
| 80 | *min = localTime->tm_min; | ||
| 81 | |||
| 82 | if (sec) | ||
| 83 | *sec = localTime->tm_sec; | ||
| 84 | } | ||
| 85 | |||
| 86 | void | ||
| 87 | draw_rect (PongClock *pong_clock, | ||
| 88 | int x, | ||
| 89 | int y, | ||
| 90 | int width, | ||
| 91 | int height) | ||
| 92 | { | ||
| 93 | XFillRectangle (pong_clock->xdpy, | ||
| 94 | pong_clock->backbuffer, | ||
| 95 | pong_clock->xgc, | ||
| 96 | x * pong_clock->pixelw, | ||
| 97 | y * pong_clock->pixelh, | ||
| 98 | width * pong_clock->pixelw, | ||
| 99 | height * pong_clock->pixelh); | ||
| 100 | } | ||
| 101 | |||
| 102 | void | ||
| 103 | draw_field (PongClock *pong_clock) | ||
| 104 | { | ||
| 105 | int i; | ||
| 106 | |||
| 107 | draw_rect (pong_clock, 0, 0, RESX+1, 1); | ||
| 108 | draw_rect (pong_clock, 0, RESY-1, RESX+1, 1); | ||
| 109 | |||
| 110 | for (i=0; i < RESY/2; i++) | ||
| 111 | draw_rect (pong_clock, (RESX/2)-1, i*2, 2, 1); | ||
| 112 | } | ||
| 113 | |||
| 114 | void | ||
| 115 | draw_digit (PongClock *pong_clock, | ||
| 116 | int x, | ||
| 117 | int y, | ||
| 118 | int digit) | ||
| 119 | { | ||
| 120 | int digits[] = { 0x1f8c63f, 0x1f21086, 0x1f0fe1f, 0x1f87e1f, 0x1087e31, | ||
| 121 | 0x1f87c3f, 0x1f8fc3f, 0x84421f, 0x1f8fe3f, 0x1087e3f }; | ||
| 122 | |||
| 123 | XRectangle rects[5*5]; | ||
| 124 | int i,j,k; | ||
| 125 | |||
| 126 | i = 0; | ||
| 127 | |||
| 128 | for (k=0; k<5; k++) | ||
| 129 | for (j=0; j<5; j++) | ||
| 130 | if (digits[digit] & (1 << ((k*5)+j))) | ||
| 131 | { | ||
| 132 | rects[i].x = (x + j) * pong_clock->pixelw; | ||
| 133 | rects[i].y = (y + k) * pong_clock->pixelh; | ||
| 134 | rects[i].width = pong_clock->pixelw; | ||
| 135 | rects[i].height = pong_clock->pixelh; | ||
| 136 | i++; | ||
| 137 | } | ||
| 138 | |||
| 139 | XFillRectangles (pong_clock->xdpy, | ||
| 140 | pong_clock->backbuffer, | ||
| 141 | pong_clock->xgc, | ||
| 142 | rects, i); | ||
| 143 | } | ||
| 144 | |||
| 145 | void | ||
| 146 | draw_time (PongClock *pong_clock) | ||
| 147 | { | ||
| 148 | int hour, min; | ||
| 149 | |||
| 150 | get_time(&hour, &min, NULL); | ||
| 151 | |||
| 152 | draw_digit (pong_clock, | ||
| 153 | (RESX/2) - 14, | ||
| 154 | 5, | ||
| 155 | hour / 10 ); | ||
| 156 | |||
| 157 | draw_digit (pong_clock, | ||
| 158 | (RESX/2) - 8, | ||
| 159 | 5, | ||
| 160 | hour % 10 ); | ||
| 161 | |||
| 162 | draw_digit (pong_clock, | ||
| 163 | (RESX/2) + 3, | ||
| 164 | 5, | ||
| 165 | min / 10 ); | ||
| 166 | |||
| 167 | draw_digit (pong_clock, | ||
| 168 | (RESX/2) + 9, | ||
| 169 | 5, | ||
| 170 | min % 10 ); | ||
| 171 | } | ||
| 172 | |||
| 173 | void | ||
| 174 | draw_bat_and_ball (PongClock *pong_clock) | ||
| 175 | { | ||
| 176 | /* ball */ | ||
| 177 | |||
| 178 | XFillRectangle (pong_clock->xdpy, | ||
| 179 | pong_clock->backbuffer, | ||
| 180 | pong_clock->xgc, | ||
| 181 | pong_clock->ball_x, | ||
| 182 | pong_clock->ball_y, | ||
| 183 | pong_clock->pixelw, | ||
| 184 | pong_clock->pixelh); | ||
| 185 | |||
| 186 | /* bat a */ | ||
| 187 | |||
| 188 | XFillRectangle (pong_clock->xdpy, | ||
| 189 | pong_clock->backbuffer, | ||
| 190 | pong_clock->xgc, | ||
| 191 | 0, | ||
| 192 | pong_clock->bata_y - (2 * pong_clock->pixelh), | ||
| 193 | pong_clock->pixelw, | ||
| 194 | pong_clock->pixelh * 5); | ||
| 195 | |||
| 196 | /* bat b */ | ||
| 197 | |||
| 198 | XFillRectangle (pong_clock->xdpy, | ||
| 199 | pong_clock->backbuffer, | ||
| 200 | pong_clock->xgc, | ||
| 201 | (pong_clock->xwin_width - pong_clock->pixelw), | ||
| 202 | pong_clock->batb_y - (2 * pong_clock->pixelh), | ||
| 203 | pong_clock->pixelw, | ||
| 204 | pong_clock->pixelh * 5); | ||
| 205 | |||
| 206 | } | ||
| 207 | |||
| 208 | void | ||
| 209 | update_state (PongClock *pong_clock) | ||
| 210 | { | ||
| 211 | int sec, min, hour; | ||
| 212 | |||
| 213 | get_time(&hour, &min, &sec); | ||
| 214 | |||
| 215 | /* Check ball is on field and no ones dues to miss a shot. | ||
| 216 | */ | ||
| 217 | if ( (pong_clock->ball_x < 0 && !pong_clock->bata_to_miss) | ||
| 218 | || (pong_clock->ball_x > (pong_clock->xwin_width - pong_clock->pixelw) | ||
| 219 | && !pong_clock->batb_to_miss) ) | ||
| 220 | pong_clock->ball_dx *= -1; | ||
| 221 | |||
| 222 | if ((pong_clock->ball_y < pong_clock->pixelh) | ||
| 223 | || pong_clock->ball_y > (pong_clock->xwin_height - (2*pong_clock->pixelh))) | ||
| 224 | pong_clock->ball_dy *= -1; | ||
| 225 | |||
| 226 | pong_clock->ball_x += pong_clock->ball_dx; | ||
| 227 | pong_clock->ball_y += pong_clock->ball_dy; | ||
| 228 | |||
| 229 | /* Set up someone to miss if we getting close to an hour or min. | ||
| 230 | */ | ||
| 231 | if (sec > TO_MISS_SECS) | ||
| 232 | { | ||
| 233 | if (min == 59) | ||
| 234 | pong_clock->batb_to_miss = True; | ||
| 235 | else | ||
| 236 | pong_clock->bata_to_miss = True; | ||
| 237 | } | ||
| 238 | else | ||
| 239 | { | ||
| 240 | /* Reset the game */ | ||
| 241 | if (pong_clock->bata_to_miss) | ||
| 242 | { | ||
| 243 | pong_clock->bata_to_miss = False; | ||
| 244 | pong_clock->ball_y = pong_clock->bata_y; | ||
| 245 | pong_clock->ball_x = pong_clock->pixelw; | ||
| 246 | pong_clock->ball_dx *= -1; | ||
| 247 | } | ||
| 248 | |||
| 249 | if (pong_clock->batb_to_miss) | ||
| 250 | { | ||
| 251 | pong_clock->batb_to_miss = False; | ||
| 252 | pong_clock->ball_y = pong_clock->batb_y; | ||
| 253 | pong_clock->ball_x = pong_clock->xwin_width - pong_clock->pixelw; | ||
| 254 | pong_clock->ball_dx *= -1; | ||
| 255 | } | ||
| 256 | } | ||
| 257 | |||
| 258 | /* Keep bats on field and only move in not setup to miss */ | ||
| 259 | if (pong_clock->ball_y >= (3*pong_clock->pixelh) | ||
| 260 | && pong_clock->ball_y <= (pong_clock->xwin_height - (5*pong_clock->pixelh))) | ||
| 261 | { | ||
| 262 | if (!pong_clock->batb_to_miss) | ||
| 263 | pong_clock->batb_y = pong_clock->ball_y; | ||
| 264 | |||
| 265 | if (!pong_clock->bata_to_miss) | ||
| 266 | pong_clock->bata_y = pong_clock->ball_y; | ||
| 267 | } | ||
| 268 | } | ||
| 269 | |||
| 270 | void | ||
| 271 | draw_frame (PongClock *pong_clock) | ||
| 272 | { | ||
| 273 | update_state (pong_clock); | ||
| 274 | |||
| 275 | /* Clear playfield */ | ||
| 276 | XSetForeground (pong_clock->xdpy, | ||
| 277 | pong_clock->xgc, | ||
| 278 | BlackPixel(pong_clock->xdpy, | ||
| 279 | pong_clock->xscreen)); | ||
| 280 | |||
| 281 | XFillRectangle (pong_clock->xdpy, | ||
| 282 | pong_clock->backbuffer, | ||
| 283 | pong_clock->xgc, | ||
| 284 | 0, 0, | ||
| 285 | pong_clock->xwin_width, | ||
| 286 | pong_clock->xwin_height); | ||
| 287 | |||
| 288 | XSetForeground (pong_clock->xdpy, | ||
| 289 | pong_clock->xgc, | ||
| 290 | WhitePixel(pong_clock->xdpy, | ||
| 291 | pong_clock->xscreen)); | ||
| 292 | |||
| 293 | draw_field (pong_clock); | ||
| 294 | |||
| 295 | draw_time (pong_clock); | ||
| 296 | |||
| 297 | draw_bat_and_ball (pong_clock); | ||
| 298 | |||
| 299 | /* flip 'backbuffer' */ | ||
| 300 | XSetWindowBackgroundPixmap (pong_clock->xdpy, | ||
| 301 | pong_clock->xwin, | ||
| 302 | pong_clock->backbuffer); | ||
| 303 | XClearWindow(pong_clock->xdpy, pong_clock->xwin); | ||
| 304 | |||
| 305 | XSync(pong_clock->xdpy, False); | ||
| 306 | } | ||
| 307 | |||
| 308 | int | ||
| 309 | main (int argc, char **argv) | ||
| 310 | { | ||
| 311 | XGCValues gcv; | ||
| 312 | Atom atoms_WINDOW_STATE, atoms_WINDOW_STATE_FULLSCREEN; | ||
| 313 | PongClock *pong_clock; | ||
| 314 | |||
| 315 | pong_clock = malloc(sizeof(PongClock)); | ||
| 316 | memset(pong_clock, 0, sizeof(PongClock)); | ||
| 317 | |||
| 318 | if ((pong_clock->xdpy = XOpenDisplay(getenv("DISPLAY"))) == NULL) { | ||
| 319 | fprintf(stderr, "Cannot connect to X server on display %s.", | ||
| 320 | getenv("DISPLAY")); | ||
| 321 | exit(-1); | ||
| 322 | } | ||
| 323 | |||
| 324 | pong_clock->xscreen = DefaultScreen(pong_clock->xdpy); | ||
| 325 | pong_clock->xwin_root = DefaultRootWindow(pong_clock->xdpy); | ||
| 326 | pong_clock->xwin_width = DisplayWidth(pong_clock->xdpy, | ||
| 327 | pong_clock->xscreen); | ||
| 328 | pong_clock->xwin_height = DisplayHeight(pong_clock->xdpy, | ||
| 329 | pong_clock->xscreen); | ||
| 330 | |||
| 331 | pong_clock->pixelw = pong_clock->xwin_width / RESX; | ||
| 332 | pong_clock->pixelh = pong_clock->xwin_height / RESY; | ||
| 333 | |||
| 334 | pong_clock->ball_x = 0; | ||
| 335 | pong_clock->ball_y = pong_clock->xwin_height / 2; | ||
| 336 | |||
| 337 | pong_clock->ball_dx = BALLDX; | ||
| 338 | pong_clock->ball_dy = BALLDY; | ||
| 339 | |||
| 340 | pong_clock->batb_y = pong_clock->bata_y = pong_clock->ball_y; | ||
| 341 | |||
| 342 | gcv.background = BlackPixel(pong_clock->xdpy, | ||
| 343 | pong_clock->xscreen); | ||
| 344 | gcv.foreground = WhitePixel(pong_clock->xdpy, | ||
| 345 | pong_clock->xscreen); | ||
| 346 | gcv.graphics_exposures = False; | ||
| 347 | |||
| 348 | pong_clock->xgc = XCreateGC (pong_clock->xdpy, pong_clock->xwin_root, | ||
| 349 | GCForeground|GCBackground|GCGraphicsExposures, | ||
| 350 | &gcv); | ||
| 351 | |||
| 352 | atoms_WINDOW_STATE | ||
| 353 | = XInternAtom(pong_clock->xdpy, "_NET_WM_STATE",False); | ||
| 354 | atoms_WINDOW_STATE_FULLSCREEN | ||
| 355 | = XInternAtom(pong_clock->xdpy, "_NET_WM_STATE_FULLSCREEN",False); | ||
| 356 | |||
| 357 | pong_clock->xwin = XCreateSimpleWindow(pong_clock->xdpy, | ||
| 358 | pong_clock->xwin_root, | ||
| 359 | 0, 0, | ||
| 360 | pong_clock->xwin_width, | ||
| 361 | pong_clock->xwin_height, | ||
| 362 | 0, | ||
| 363 | WhitePixel(pong_clock->xdpy, | ||
| 364 | pong_clock->xscreen), | ||
| 365 | BlackPixel(pong_clock->xdpy, | ||
| 366 | pong_clock->xscreen)); | ||
| 367 | |||
| 368 | pong_clock->backbuffer = XCreatePixmap(pong_clock->xdpy, | ||
| 369 | pong_clock->xwin_root, | ||
| 370 | pong_clock->xwin_width, | ||
| 371 | pong_clock->xwin_height, | ||
| 372 | DefaultDepth(pong_clock->xdpy, | ||
| 373 | pong_clock->xscreen)); | ||
| 374 | |||
| 375 | XSelectInput(pong_clock->xdpy, pong_clock->xwin, KeyPressMask); | ||
| 376 | |||
| 377 | |||
| 378 | /* Set the hints for fullscreen */ | ||
| 379 | XChangeProperty(pong_clock->xdpy, | ||
| 380 | pong_clock->xwin, | ||
| 381 | atoms_WINDOW_STATE, | ||
| 382 | XA_ATOM, | ||
| 383 | 32, | ||
| 384 | PropModeReplace, | ||
| 385 | (unsigned char *) &atoms_WINDOW_STATE_FULLSCREEN, 1); | ||
| 386 | |||
| 387 | XMapWindow(pong_clock->xdpy, pong_clock->xwin); | ||
| 388 | |||
| 389 | while (True) | ||
| 390 | { | ||
| 391 | struct timeval timeout; | ||
| 392 | XEvent xev; | ||
| 393 | |||
| 394 | timeout.tv_sec = 0; | ||
| 395 | timeout.tv_usec = 1000000 / FPS; | ||
| 396 | select (0, NULL, NULL, NULL, &timeout); | ||
| 397 | |||
| 398 | draw_frame (pong_clock); | ||
| 399 | |||
| 400 | XFlush(pong_clock->xdpy); | ||
| 401 | |||
| 402 | if (XPending(pong_clock->xdpy)) | ||
| 403 | { | ||
| 404 | if (XCheckMaskEvent(pong_clock->xdpy, | ||
| 405 | KeyPressMask, | ||
| 406 | &xev)) | ||
| 407 | exit(-1); | ||
| 408 | } | ||
| 409 | } | ||
| 410 | } | ||
diff --git a/meta/recipes-graphics/pong-clock/pong-clock_1.0.bb b/meta/recipes-graphics/pong-clock/pong-clock_1.0.bb deleted file mode 100644 index 8d3659ff91..0000000000 --- a/meta/recipes-graphics/pong-clock/pong-clock_1.0.bb +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | DESCRIPTION = "A clock combined with a game of pong" | ||
| 2 | LICENSE = "GPLv2+" | ||
| 3 | DEPENDS = "virtual/libx11 xdmcp xau" | ||
| 4 | |||
| 5 | SRC_URI = "file://pong-clock-no-flicker.c" | ||
| 6 | |||
| 7 | S = "${WORKDIR}" | ||
| 8 | |||
| 9 | do_compile () { | ||
| 10 | ${CC} -o pong-clock pong-clock-no-flicker.c `pkg-config --cflags --libs x11 xau xdmcp` | ||
| 11 | } | ||
| 12 | |||
| 13 | do_install () { | ||
| 14 | install -d ${D}${bindir} | ||
| 15 | install -m 0755 pong-clock ${D}${bindir} | ||
| 16 | } | ||
diff --git a/meta/recipes-graphics/tasks/task-poky-clutter.bb b/meta/recipes-graphics/tasks/task-poky-clutter.bb index ae72bb0c37..153ba9cbf0 100644 --- a/meta/recipes-graphics/tasks/task-poky-clutter.bb +++ b/meta/recipes-graphics/tasks/task-poky-clutter.bb | |||
| @@ -21,17 +21,15 @@ PACKAGES = "\ | |||
| 21 | ALLOW_EMPTY = "1" | 21 | ALLOW_EMPTY = "1" |
| 22 | 22 | ||
| 23 | RDEPENDS_task-poky-clutter-core = "\ | 23 | RDEPENDS_task-poky-clutter-core = "\ |
| 24 | clutter-0.8 \ | 24 | clutter-1.0 \ |
| 25 | clutter-cairo-0.8 \ | 25 | clutter-cairo-1.0 \ |
| 26 | clutter-gst-0.8 \ | 26 | clutter-gst-1.0 \ |
| 27 | clutter-gtk-0.8" | 27 | clutter-gtk-1.0" |
| 28 | 28 | ||
| 29 | RDEPENDS_task-poky-clutter-tests = "\ | 29 | RDEPENDS_task-poky-clutter-tests = "\ |
| 30 | clutter-cairo-0.8-examples \ | 30 | clutter-cairo-1.0-examples \ |
| 31 | clutter-gst-0.8-examples \ | 31 | clutter-gst-1.0-examples \ |
| 32 | clutter-gtk-0.8-examples" | 32 | clutter-gtk-1.0-examples" |
| 33 | 33 | ||
| 34 | RDEPENDS_task-poky-clutter-apps = "\ | 34 | RDEPENDS_task-poky-clutter-apps = "\ |
| 35 | aaina \ | 35 | clutter-box2d " |
| 36 | clutter-box2d \ | ||
| 37 | table" | ||
diff --git a/meta/recipes-graphics/xorg-app/xbacklight_1.1.bb b/meta/recipes-graphics/xorg-app/xbacklight_1.1.bb deleted file mode 100644 index 78804d734e..0000000000 --- a/meta/recipes-graphics/xorg-app/xbacklight_1.1.bb +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | require xorg-app-common.inc | ||
| 2 | |||
| 3 | DESCRIPTION = "X Backlight Utility" | ||
| 4 | DEPENDS += "libxrender libxrandr" | ||
diff --git a/meta/recipes-graphics/xorg-app/xev/diet-x11.patch b/meta/recipes-graphics/xorg-app/xev/diet-x11.patch deleted file mode 100644 index 9f515e8c73..0000000000 --- a/meta/recipes-graphics/xorg-app/xev/diet-x11.patch +++ /dev/null | |||
| @@ -1,80 +0,0 @@ | |||
| 1 | --- | ||
| 2 | xev.c | 16 ++++++++-------- | ||
| 3 | 1 file changed, 8 insertions(+), 8 deletions(-) | ||
| 4 | |||
| 5 | Index: xev-1.0.2/xev.c | ||
| 6 | =================================================================== | ||
| 7 | --- xev-1.0.2.orig/xev.c 2006-06-02 00:25:44.000000000 +0100 | ||
| 8 | +++ xev-1.0.2/xev.c 2007-05-10 15:22:07.000000000 +0100 | ||
| 9 | @@ -109,7 +109,7 @@ do_KeyPress (XEvent *eventp) | ||
| 10 | nbytes = XLookupString (e, str, 256, &ks, NULL); | ||
| 11 | |||
| 12 | /* not supposed to call XmbLookupString on a key release event */ | ||
| 13 | - if (e->type == KeyPress && xic) { | ||
| 14 | + /*if (e->type == KeyPress && xic) { | ||
| 15 | do { | ||
| 16 | nmbbytes = XmbLookupString (xic, e, buf, bsize - 1, &ks, &status); | ||
| 17 | buf[nmbbytes] = '\0'; | ||
| 18 | @@ -119,7 +119,7 @@ do_KeyPress (XEvent *eventp) | ||
| 19 | buf = realloc (buf, bsize); | ||
| 20 | } | ||
| 21 | } while (status == XBufferOverflow); | ||
| 22 | - } | ||
| 23 | + }*/ | ||
| 24 | |||
| 25 | if (ks == NoSymbol) | ||
| 26 | ksname = "NoSymbol"; | ||
| 27 | @@ -149,7 +149,7 @@ do_KeyPress (XEvent *eventp) | ||
| 28 | } | ||
| 29 | |||
| 30 | /* not supposed to call XmbLookupString on a key release event */ | ||
| 31 | - if (e->type == KeyPress && xic) { | ||
| 32 | + /*if (e->type == KeyPress && xic) { | ||
| 33 | printf (" XmbLookupString gives %d bytes: ", nmbbytes); | ||
| 34 | if (nmbbytes > 0) { | ||
| 35 | dump (buf, nmbbytes); | ||
| 36 | @@ -157,7 +157,7 @@ do_KeyPress (XEvent *eventp) | ||
| 37 | } else { | ||
| 38 | printf ("\n"); | ||
| 39 | } | ||
| 40 | - } | ||
| 41 | + } */ | ||
| 42 | |||
| 43 | printf (" XFilterEvent returns: %s\n", | ||
| 44 | XFilterEvent (eventp, e->window) ? "True" : "False"); | ||
| 45 | @@ -804,7 +804,7 @@ main (int argc, char **argv) | ||
| 46 | fprintf (stderr, "%s: XSetLocaleModifiers failed\n", ProgramName); | ||
| 47 | } | ||
| 48 | |||
| 49 | - xim = XOpenIM (dpy, NULL, NULL, NULL); | ||
| 50 | + /*xim = XOpenIM (dpy, NULL, NULL, NULL); | ||
| 51 | if (xim == NULL) { | ||
| 52 | fprintf (stderr, "%s: XOpenIM failed\n", ProgramName); | ||
| 53 | } | ||
| 54 | @@ -831,7 +831,7 @@ main (int argc, char **argv) | ||
| 55 | } | ||
| 56 | XFree (xim_styles); | ||
| 57 | } | ||
| 58 | - } | ||
| 59 | + }*/ | ||
| 60 | |||
| 61 | screen = DefaultScreen (dpy); | ||
| 62 | |||
| 63 | @@ -891,7 +891,7 @@ main (int argc, char **argv) | ||
| 64 | printf ("Outer window is 0x%lx, inner window is 0x%lx\n", w, subw); | ||
| 65 | } | ||
| 66 | |||
| 67 | - if (xim && xim_style) { | ||
| 68 | + /*if (xim && xim_style) { | ||
| 69 | xic = XCreateIC (xim, | ||
| 70 | XNInputStyle, xim_style, | ||
| 71 | XNClientWindow, w, | ||
| 72 | @@ -901,7 +901,7 @@ main (int argc, char **argv) | ||
| 73 | if (xic == NULL) { | ||
| 74 | fprintf (stderr, "XCreateIC failed\n"); | ||
| 75 | } | ||
| 76 | - } | ||
| 77 | + }*/ | ||
| 78 | |||
| 79 | for (done = 0; !done; ) { | ||
| 80 | XEvent event; | ||
diff --git a/meta/recipes-graphics/xorg-app/xev_1.0.3.bb b/meta/recipes-graphics/xorg-app/xev_1.0.3.bb deleted file mode 100644 index b7a4070a8f..0000000000 --- a/meta/recipes-graphics/xorg-app/xev_1.0.3.bb +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | require xorg-app-common.inc | ||
| 2 | |||
| 3 | DESCRIPTION = "X Event Viewer" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | PE = "1" | ||
| 6 | |||
| 7 | SRC_URI += "file://diet-x11.patch;patch=1" | ||
diff --git a/meta/recipes-graphics/xorg-app/xeyes_1.0.1.bb b/meta/recipes-graphics/xorg-app/xeyes_1.0.1.bb deleted file mode 100644 index 07ce0724fa..0000000000 --- a/meta/recipes-graphics/xorg-app/xeyes_1.0.1.bb +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | require xorg-app-common.inc | ||
| 2 | PE = "1" | ||
| 3 | |||
| 4 | DEPENDS += " virtual/libx11 libxau libxt libxext libxmu" | ||
diff --git a/meta/recipes-graphics/xorg-app/xrdb/60XDefaults.sh b/meta/recipes-graphics/xorg-app/xrdb/60XDefaults.sh deleted file mode 100644 index 08d8beca33..0000000000 --- a/meta/recipes-graphics/xorg-app/xrdb/60XDefaults.sh +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | if [ -e $HOME/.Xdefaults ]; then | ||
| 2 | xrdb -merge -nocpp < $HOME/.Xdefaults | ||
| 3 | fi | ||
diff --git a/meta/recipes-graphics/xorg-app/xrdb_1.0.5.bb b/meta/recipes-graphics/xorg-app/xrdb_1.0.5.bb deleted file mode 100644 index 906d7d8527..0000000000 --- a/meta/recipes-graphics/xorg-app/xrdb_1.0.5.bb +++ /dev/null | |||
| @@ -1,14 +0,0 @@ | |||
| 1 | require xorg-app-common.inc | ||
| 2 | |||
| 3 | DESCRIPTION = "X server resource database utility" | ||
| 4 | LICENSE = "xrdb" | ||
| 5 | DEPENDS += "libxmu" | ||
| 6 | PE = "1" | ||
| 7 | PR = "r2" | ||
| 8 | |||
| 9 | SRC_URI += "file://60XDefaults.sh" | ||
| 10 | |||
| 11 | do_install_append() { | ||
| 12 | install -d ${D}${sysconfdir}/X11/Xsession.d/ | ||
| 13 | install -m 0755 ${WORKDIR}/60XDefaults.sh ${D}${sysconfdir}/X11/Xsession.d/ | ||
| 14 | } | ||
diff --git a/meta/recipes-graphics/xorg-lib/libapplewm_1.0.0.bb b/meta/recipes-graphics/xorg-lib/libapplewm_1.0.0.bb deleted file mode 100644 index bc502fb505..0000000000 --- a/meta/recipes-graphics/xorg-lib/libapplewm_1.0.0.bb +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | require xorg-lib-common.inc | ||
| 2 | |||
| 3 | DEPENDS += "libxext applewmproto" | ||
| 4 | PR = "r1" | ||
| 5 | PE = "1" | ||
| 6 | |||
| 7 | XORG_PN = "libAppleWM" | ||
diff --git a/meta/recipes-graphics/xorg-lib/libfs_1.0.1.bb b/meta/recipes-graphics/xorg-lib/libfs_1.0.1.bb deleted file mode 100644 index 010aa311e0..0000000000 --- a/meta/recipes-graphics/xorg-lib/libfs_1.0.1.bb +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | require xorg-lib-common.inc | ||
| 2 | |||
| 3 | DESCRIPTION = "X11 Font Services library" | ||
| 4 | DEPENDS += "xproto fontsproto xtrans" | ||
| 5 | PR = "r1" | ||
| 6 | PE = "1" | ||
| 7 | |||
| 8 | XORG_PN = "libFS" | ||
diff --git a/meta/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch b/meta/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch deleted file mode 100644 index 029d761d95..0000000000 --- a/meta/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch +++ /dev/null | |||
| @@ -1,63 +0,0 @@ | |||
| 1 | During the build process the mkg3states binary needs to be run. This patch | ||
| 2 | allows it to be built with the build systems gcc allowing this to work. | ||
| 3 | |||
| 4 | RP 31/3/10 | ||
| 5 | |||
| 6 | Index: liblbxutil-1.1.0/configure.ac | ||
| 7 | =================================================================== | ||
| 8 | --- liblbxutil-1.1.0.orig/configure.ac 2009-12-04 22:52:04.000000000 +0000 | ||
| 9 | +++ liblbxutil-1.1.0/configure.ac 2010-03-31 15:26:33.000000000 +0100 | ||
| 10 | @@ -50,4 +50,5 @@ | ||
| 11 | |||
| 12 | AC_OUTPUT([Makefile | ||
| 13 | src/Makefile | ||
| 14 | + src/image/Makefile | ||
| 15 | lbxutil.pc]) | ||
| 16 | Index: liblbxutil-1.1.0/src/Makefile.am | ||
| 17 | =================================================================== | ||
| 18 | --- liblbxutil-1.1.0.orig/src/Makefile.am 2009-12-04 23:03:17.000000000 +0000 | ||
| 19 | +++ liblbxutil-1.1.0/src/Makefile.am 2010-03-31 15:27:25.000000000 +0100 | ||
| 20 | @@ -3,10 +3,7 @@ | ||
| 21 | AM_CFLAGS = $(CWARNFLAGS) $(LBXUTIL_CFLAGS) | ||
| 22 | INCLUDES = -I$(top_srcdir)/include | ||
| 23 | |||
| 24 | -noinst_PROGRAMS = mkg3states | ||
| 25 | - | ||
| 26 | -mkg3states_SOURCES = \ | ||
| 27 | - $(srcdir)/image/mkg3states.c | ||
| 28 | +SUBDIRS = image | ||
| 29 | |||
| 30 | liblbxutil_la_SOURCES = \ | ||
| 31 | $(srcdir)/lbx_zlib/reqstats.h \ | ||
| 32 | @@ -38,9 +35,8 @@ | ||
| 33 | |||
| 34 | $(srcdir)/image/dfaxg42d.c: g3states.h | ||
| 35 | |||
| 36 | -g3states.h: mkg3states | ||
| 37 | - -rm -f g3states.h | ||
| 38 | - $(AM_V_GEN) ./mkg3states -c > g3states.h_ && mv g3states.h_ g3states.h | ||
| 39 | +g3states.h: image/mkg3states | ||
| 40 | + ./image/mkg3states -c > g3states.h_ && mv g3states.h_ g3states.h | ||
| 41 | |||
| 42 | liblbxutil_la_LDFLAGS = -version-number 1:0:0 -no-undefined | ||
| 43 | |||
| 44 | Index: liblbxutil-1.1.0/src/image/Makefile.am | ||
| 45 | =================================================================== | ||
| 46 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
| 47 | +++ liblbxutil-1.1.0/src/image/Makefile.am 2010-03-31 15:26:33.000000000 +0100 | ||
| 48 | @@ -0,0 +1,15 @@ | ||
| 49 | +# evil hack | ||
| 50 | +CFLAGS=$(CFLAGS_FOR_BUILD) | ||
| 51 | +CPPFLAGS=$(CPPFLAGS_FOR_BUILD) | ||
| 52 | +LDFLAGS=$(LDFLAGS_FOR_BUILD) | ||
| 53 | + | ||
| 54 | +CC=$(CC_FOR_BUILD) | ||
| 55 | +LIBTOOL = @LIBTOOL@ --tag=CC | ||
| 56 | + | ||
| 57 | +noinst_PROGRAMS = mkg3states | ||
| 58 | + | ||
| 59 | +mkg3states_SOURCES = \ | ||
| 60 | + mkg3states.c | ||
| 61 | + | ||
| 62 | +mkg3states_CFLAGS=$(CFLAGS_FOR_BUILD) | ||
| 63 | +mkg3states_LDFLAGS=$(LDFLAGS_FOR_BUILD) | ||
diff --git a/meta/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb b/meta/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb deleted file mode 100644 index cdf3509246..0000000000 --- a/meta/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | require xorg-lib-common.inc | ||
| 2 | |||
| 3 | DESCRIPTION = "XFIXES Extension" | ||
| 4 | DEPENDS += " libxext xextproto xproto zlib" | ||
| 5 | PROVIDES = "lbxutil" | ||
| 6 | PE = "1" | ||
| 7 | PR = "r1" | ||
| 8 | |||
| 9 | SRC_URI += "file://mkg3states.patch;patch=1" | ||
| 10 | |||
| 11 | export CC_FOR_BUILD = "gcc" | ||
diff --git a/meta/recipes-graphics/xorg-lib/liboldx_1.0.1.bb b/meta/recipes-graphics/xorg-lib/liboldx_1.0.1.bb deleted file mode 100644 index 84470cbc78..0000000000 --- a/meta/recipes-graphics/xorg-lib/liboldx_1.0.1.bb +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | require xorg-lib-common.inc | ||
| 2 | |||
| 3 | DEPENDS += " virtual/libx11" | ||
| 4 | PE = "1" | ||
| 5 | |||
| 6 | XORG_PN = "liboldX" | ||
diff --git a/meta/recipes-graphics/xorg-lib/libwindowswm_1.0.0.bb b/meta/recipes-graphics/xorg-lib/libwindowswm_1.0.0.bb deleted file mode 100644 index a03d49505b..0000000000 --- a/meta/recipes-graphics/xorg-lib/libwindowswm_1.0.0.bb +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | require xorg-lib-common.inc | ||
| 2 | |||
| 3 | DEPENDS += "libxext windowswmproto" | ||
| 4 | PE = "1" | ||
| 5 | |||
| 6 | XORG_PN = "libWindowsWM" | ||
diff --git a/meta/recipes-graphics/xorg-lib/libxaw_1.0.5.bb b/meta/recipes-graphics/xorg-lib/libxaw_1.0.5.bb deleted file mode 100644 index 489f456647..0000000000 --- a/meta/recipes-graphics/xorg-lib/libxaw_1.0.5.bb +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | require xorg-lib-common.inc | ||
| 2 | |||
| 3 | DESCRIPTION = "X Athena Widget Set" | ||
| 4 | DEPENDS += "xproto virtual/libx11 libxext xextproto libxt libxmu libxpm libxp printproto libxau" | ||
| 5 | PROVIDES = "xaw" | ||
| 6 | PR = "r1" | ||
| 7 | PE = "1" | ||
| 8 | |||
| 9 | XORG_PN = "libXaw" | ||
| 10 | |||
| 11 | do_install_append () { | ||
| 12 | ln -sf libXaw6.so.6 ${D}${libdir}/libXaw.so.6 | ||
| 13 | ln -sf libXaw7.so.7 ${D}${libdir}/libXaw.so.7 | ||
| 14 | ln -sf libXaw7.so.7 ${D}${libdir}/libXaw.so | ||
| 15 | } | ||
| 16 | |||
| 17 | PACKAGES =+ "libxaw6 libxaw7 libxaw8" | ||
| 18 | |||
| 19 | FILES_libxaw6 = "${libdir}/libXaw6.so.6*" | ||
| 20 | FILES_libxaw7 = "${libdir}/libXaw7.so.7*" | ||
| 21 | FILES_libxaw8 = "${libdir}/libXaw8.so.8*" | ||
diff --git a/meta/recipes-graphics/xorg-lib/libxevie_1.0.2.bb b/meta/recipes-graphics/xorg-lib/libxevie_1.0.2.bb deleted file mode 100644 index 6c6b4595aa..0000000000 --- a/meta/recipes-graphics/xorg-lib/libxevie_1.0.2.bb +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | require xorg-lib-common.inc | ||
| 2 | |||
| 3 | DESCRIPTION = "X11 EvIE extension library" | ||
| 4 | DEPENDS += "libxext evieext" | ||
| 5 | PR = "r1" | ||
| 6 | PE = "1" | ||
| 7 | |||
| 8 | XORG_PN = "libXevie" | ||
diff --git a/meta/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb b/meta/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb deleted file mode 100644 index 9a3f5f1327..0000000000 --- a/meta/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | require xorg-lib-common.inc | ||
| 2 | |||
| 3 | DESCRIPTION = "X11 keyboard UI presentation library" | ||
| 4 | LICENSE= "GPL" | ||
| 5 | DEPENDS += "virtual/libx11 libxt libxkbfile" | ||
| 6 | PROVIDES = "xkbui" | ||
| 7 | PR = "r1" | ||
| 8 | PE = "1" | ||
diff --git a/meta/recipes-graphics/xorg-proto/applewmproto_1.4.1.bb b/meta/recipes-graphics/xorg-proto/applewmproto_1.4.1.bb deleted file mode 100644 index 9f09fff7b7..0000000000 --- a/meta/recipes-graphics/xorg-proto/applewmproto_1.4.1.bb +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | require xorg-proto-common.inc | ||
| 2 | |||
| 3 | PR = "r1" | ||
| 4 | PE = "1" | ||
diff --git a/meta/recipes-graphics/xorg-proto/windowswmproto_1.0.4.bb b/meta/recipes-graphics/xorg-proto/windowswmproto_1.0.4.bb deleted file mode 100644 index 9f09fff7b7..0000000000 --- a/meta/recipes-graphics/xorg-proto/windowswmproto_1.0.4.bb +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | require xorg-proto-common.inc | ||
| 2 | |||
| 3 | PR = "r1" | ||
| 4 | PE = "1" | ||
diff --git a/meta/recipes-graphics/xorg-proto/xproxymanagementprotocol_1.0.3.bb b/meta/recipes-graphics/xorg-proto/xproxymanagementprotocol_1.0.3.bb deleted file mode 100644 index 9c3d9efa71..0000000000 --- a/meta/recipes-graphics/xorg-proto/xproxymanagementprotocol_1.0.3.bb +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | require xorg-proto-common.inc | ||
| 2 | |||
| 3 | PROVIDES="xproxymngproto" | ||
| 4 | PR = "r1" | ||
| 5 | PE = "1" | ||
diff --git a/meta/recipes-graphics/xorg-util/imake_1.0.2.bb b/meta/recipes-graphics/xorg-util/imake_1.0.2.bb deleted file mode 100644 index e533ece461..0000000000 --- a/meta/recipes-graphics/xorg-util/imake_1.0.2.bb +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | require xorg-util-common.inc | ||
| 2 | |||
| 3 | DESCRIPTION = "C preprocessor interface to the make utility" | ||
| 4 | DEPENDS = "util-macros" | ||
| 5 | RDEPENDS = "perl xproto" | ||
| 6 | |||
| 7 | PR = "r1" | ||
| 8 | PE = "1" | ||
diff --git a/meta/recipes-graphics/xorg-util/lndir_1.0.1.bb b/meta/recipes-graphics/xorg-util/lndir_1.0.1.bb deleted file mode 100644 index b7bd0ad54a..0000000000 --- a/meta/recipes-graphics/xorg-util/lndir_1.0.1.bb +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | require xorg-util-common.inc | ||
| 2 | |||
| 3 | DESCRIPTION = "create a shadow directory of symbolic links to another directory tree" | ||
| 4 | DEPENDS += "xproto util-macros" | ||
| 5 | PR = "r1" | ||
| 6 | PE = "1" | ||
diff --git a/meta/recipes-graphics/xorg-util/xorg-cf-files_1.0.3.bb b/meta/recipes-graphics/xorg-util/xorg-cf-files_1.0.3.bb deleted file mode 100644 index 7c3fb8d7e9..0000000000 --- a/meta/recipes-graphics/xorg-util/xorg-cf-files_1.0.3.bb +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | require xorg-util-common.inc | ||
| 2 | |||
| 3 | DESCRIPTION = "X Window System CF files" | ||
| 4 | |||
| 5 | PR = "r1" | ||
| 6 | PE = "1" | ||
| 7 | |||
| 8 | FILES_${PN} += " /usr/lib/X11/config" | ||
