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