diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-07-13 03:00:24 -0700 |
---|---|---|
committer | Ross Burton <ross.burton@intel.com> | 2017-07-13 11:12:57 +0100 |
commit | 547d35b173061e73924d279f77d94a9f9aff4551 (patch) | |
tree | 3755b138fc9a9692f7e3472161b5f5ed7e2f17fd /recipes-sato/rxvt-unicode | |
parent | d96ec8f6895d34cc9b05d9a0101ac496db324b18 (diff) | |
download | meta-gplv2-547d35b173061e73924d279f77d94a9f9aff4551.tar.gz |
rxvt-unicode: move it to BBFILES
It should be in recipes-sato/rxvt-unicode, not recipes-sato.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'recipes-sato/rxvt-unicode')
-rw-r--r-- | recipes-sato/rxvt-unicode/rxvt-unicode.inc | 58 | ||||
-rw-r--r-- | recipes-sato/rxvt-unicode/rxvt-unicode/rxvt.desktop (renamed from recipes-sato/rxvt-unicode/rxvt.desktop) | 0 | ||||
-rw-r--r-- | recipes-sato/rxvt-unicode/rxvt-unicode/rxvt.png (renamed from recipes-sato/rxvt-unicode/rxvt.png) | bin | 2847 -> 2847 bytes | |||
-rw-r--r-- | recipes-sato/rxvt-unicode/rxvt-unicode/xwc.patch (renamed from recipes-sato/rxvt-unicode/xwc.patch) | 0 | ||||
-rw-r--r-- | recipes-sato/rxvt-unicode/rxvt-unicode_9.20.bb | 8 |
5 files changed, 66 insertions, 0 deletions
diff --git a/recipes-sato/rxvt-unicode/rxvt-unicode.inc b/recipes-sato/rxvt-unicode/rxvt-unicode.inc new file mode 100644 index 0000000..4d5daa6 --- /dev/null +++ b/recipes-sato/rxvt-unicode/rxvt-unicode.inc | |||
@@ -0,0 +1,58 @@ | |||
1 | SECTION = "x11/utils" | ||
2 | SUMMARY = "rxvt terminal clone supporting unicode" | ||
3 | DESCRIPTION = "rxvt-unicode is a clone of the well known \ | ||
4 | terminal emulator rxvt, modified to store text in Unicode \ | ||
5 | (either UCS-2 or UCS-4) and to use locale-correct input and \ | ||
6 | output. It also supports mixing multiple fonts at the \ | ||
7 | same time, including Xft fonts." | ||
8 | DEPENDS = "virtual/libx11 libxt libxft gdk-pixbuf libxmu" | ||
9 | |||
10 | SRC_URI = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2 \ | ||
11 | file://xwc.patch \ | ||
12 | file://rxvt.desktop \ | ||
13 | file://rxvt.png" | ||
14 | |||
15 | inherit autotools update-alternatives | ||
16 | |||
17 | PROVIDES = "virtual/x-terminal-emulator" | ||
18 | ALTERNATIVE_${PN} = "x-terminal-emulator" | ||
19 | ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/rxvt" | ||
20 | |||
21 | CFLAGS_append = " -fpermissive" | ||
22 | |||
23 | EXTRA_OECONF = "--enable-xim \ | ||
24 | --enable-utmp --enable-wtmp --enable-lastlog \ | ||
25 | --with-term=rxvt --enable-keepscrolling \ | ||
26 | --enable-xft --with-name=rxvt --enable-frills \ | ||
27 | --enable-swapscreen --enable-transparency \ | ||
28 | --with-codesets=eu --enable-pointer-blank \ | ||
29 | --enable-text-blink --enable-rxvt-scroll \ | ||
30 | --enable-combining --disable-perl \ | ||
31 | --with-x=${STAGING_DIR_HOST}${prefix}" | ||
32 | |||
33 | PACKAGECONFIG ??= "" | ||
34 | PACKAGECONFIG[startup] = "--enable-startup-notification,--disable-startup-notification,startup-notification," | ||
35 | |||
36 | do_configure_prepend () { | ||
37 | if [ ! -e ${S}/acinclude.m4 ]; then | ||
38 | cp ${S}/aclocal.m4 ${S}/acinclude.m4 | ||
39 | fi | ||
40 | } | ||
41 | |||
42 | do_compile_prepend () { | ||
43 | echo '#define UTMP_FILE "${localstatedir}/run/utmp"' >> config.h | ||
44 | echo '#define WTMP_FILE "${localstatedir}/log/wtmp"' >> config.h | ||
45 | echo '#define LASTLOG_FILE "${localstatedir}/log/lastlog"' >> config.h | ||
46 | echo '#define HAVE_XLOCALE 1' >> config.h | ||
47 | } | ||
48 | |||
49 | do_install_append () { | ||
50 | install -d ${D}/${datadir} | ||
51 | install -d ${D}/${datadir}/applications | ||
52 | install -d ${D}/${datadir}/pixmaps/ | ||
53 | |||
54 | install -m 0644 ${WORKDIR}/rxvt.png ${D}/${datadir}/pixmaps | ||
55 | install -m 0644 ${WORKDIR}/rxvt.desktop ${D}/${datadir}/applications | ||
56 | } | ||
57 | |||
58 | FILES_${PN} += "${datadir}/applications/rxvt.desktop ${datadir}/pixmaps/rxvt.png" | ||
diff --git a/recipes-sato/rxvt-unicode/rxvt.desktop b/recipes-sato/rxvt-unicode/rxvt-unicode/rxvt.desktop index 882ea41..882ea41 100644 --- a/recipes-sato/rxvt-unicode/rxvt.desktop +++ b/recipes-sato/rxvt-unicode/rxvt-unicode/rxvt.desktop | |||
diff --git a/recipes-sato/rxvt-unicode/rxvt.png b/recipes-sato/rxvt-unicode/rxvt-unicode/rxvt.png index e56fa2e..e56fa2e 100644 --- a/recipes-sato/rxvt-unicode/rxvt.png +++ b/recipes-sato/rxvt-unicode/rxvt-unicode/rxvt.png | |||
Binary files differ | |||
diff --git a/recipes-sato/rxvt-unicode/xwc.patch b/recipes-sato/rxvt-unicode/rxvt-unicode/xwc.patch index 16efeef..16efeef 100644 --- a/recipes-sato/rxvt-unicode/xwc.patch +++ b/recipes-sato/rxvt-unicode/rxvt-unicode/xwc.patch | |||
diff --git a/recipes-sato/rxvt-unicode/rxvt-unicode_9.20.bb b/recipes-sato/rxvt-unicode/rxvt-unicode_9.20.bb new file mode 100644 index 0000000..3480ec7 --- /dev/null +++ b/recipes-sato/rxvt-unicode/rxvt-unicode_9.20.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | require rxvt-unicode.inc | ||
2 | |||
3 | LICENSE = "GPLv2+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
5 | file://src/main.C;beginline=1;endline=31;md5=775485398a09fa7aee6f90464af88432" | ||
6 | |||
7 | SRC_URI[md5sum] = "4a5b823f08d21036f94a6c51e94d025b" | ||
8 | SRC_URI[sha256sum] = "e73e13fe64b59fd3c8e6e20c00f149d388741f141b8155e4700d3ed40aa94b4e" | ||