diff options
Diffstat (limited to 'meta-oe/recipes-graphics/xorg-app/xterm_402.bb')
| -rw-r--r-- | meta-oe/recipes-graphics/xorg-app/xterm_402.bb | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/xorg-app/xterm_402.bb b/meta-oe/recipes-graphics/xorg-app/xterm_402.bb new file mode 100644 index 0000000000..65e1295575 --- /dev/null +++ b/meta-oe/recipes-graphics/xorg-app/xterm_402.bb | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | require recipes-graphics/xorg-app/xorg-app-common.inc | ||
| 2 | SUMMARY = "xterm is the standard terminal emulator for the X Window System" | ||
| 3 | DEPENDS = "libxaw xorgproto libxext libxau libxinerama libxpm ncurses desktop-file-utils-native" | ||
| 4 | |||
| 5 | LIC_FILES_CHKSUM = "file://xterm.h;beginline=3;endline=31;md5=170620b648626a97057ff6ea99e6396e" | ||
| 6 | |||
| 7 | SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \ | ||
| 8 | file://0001-include-missing-pty.h-header-for-openpty.patch \ | ||
| 9 | " | ||
| 10 | SRC_URI[sha256sum] = "5260c5793cd564c69e53ef6f528c00af066ae67b42d02137fb7ef8fafe70bb7a" | ||
| 11 | |||
| 12 | PACKAGECONFIG ?= "" | ||
| 13 | PACKAGECONFIG[xft] = "--enable-freetype,--disable-freetype,libxft fontconfig freetype-native" | ||
| 14 | |||
| 15 | # Let xterm install .desktop files | ||
| 16 | inherit mime-xdg | ||
| 17 | |||
| 18 | EXTRA_OECONF = " --x-includes=${STAGING_INCDIR} \ | ||
| 19 | --x-libraries=${STAGING_LIBDIR} \ | ||
| 20 | FREETYPE_CONFIG=${STAGING_BINDIR_CROSS}/freetype-config \ | ||
| 21 | --disable-imake \ | ||
| 22 | --disable-rpath-hack \ | ||
| 23 | --disable-setuid \ | ||
| 24 | --with-app-defaults=${datadir}/X11/app-defaults \ | ||
| 25 | " | ||
| 26 | |||
| 27 | B = "${S}" | ||
| 28 | |||
| 29 | CFLAGS += "-D_GNU_SOURCE" | ||
| 30 | |||
| 31 | do_configure() { | ||
| 32 | gnu-configize --force | ||
| 33 | sed -e "s%/usr/contrib/X11R6%${STAGING_LIBDIR}%g" -i configure | ||
| 34 | oe_runconf | ||
| 35 | } | ||
| 36 | |||
| 37 | do_install:append() { | ||
| 38 | oe_runmake install-desktop DESTDIR="${D}" DESKTOP_FLAGS="--dir=${D}${DESKTOPDIR}" | ||
| 39 | } | ||
| 40 | |||
| 41 | RPROVIDES:${PN} = "virtual-x-terminal-emulator" | ||
| 42 | |||
| 43 | # busybox can supply resize too | ||
| 44 | inherit update-alternatives | ||
| 45 | |||
| 46 | ALTERNATIVE:${PN} = "resize x-terminal-emulator" | ||
| 47 | ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/xterm" | ||
| 48 | # rxvt-unicode defaults to priority 10. Let's be one point lower to let it override xterm. | ||
| 49 | ALTERNATIVE_PRIORITY[x-terminal-emulator] = "9" | ||
| 50 | |||
| 51 | CVE_STATUS[CVE-1999-0965] = "cpe-incorrect: Current version (392) not affected. This was fixed in version X11R5-fix-26 (R11R6 from 1994)" | ||
