diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
| commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
| tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-sato/rxvt-unicode | |
| parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
| download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz | |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-sato/rxvt-unicode')
| -rw-r--r-- | meta/recipes-sato/rxvt-unicode/files/makefile.patch | 20 | ||||
| -rw-r--r-- | meta/recipes-sato/rxvt-unicode/files/rxvt.desktop | 11 | ||||
| -rw-r--r-- | meta/recipes-sato/rxvt-unicode/files/rxvt.png | bin | 0 -> 2847 bytes | |||
| -rw-r--r-- | meta/recipes-sato/rxvt-unicode/files/signedchar.patch | 11 | ||||
| -rw-r--r-- | meta/recipes-sato/rxvt-unicode/files/xwc.patch | 28 | ||||
| -rw-r--r-- | meta/recipes-sato/rxvt-unicode/rxvt-unicode-5.6/xwc.patch | 24 | ||||
| -rw-r--r-- | meta/recipes-sato/rxvt-unicode/rxvt-unicode_5.6.bb | 72 |
7 files changed, 166 insertions, 0 deletions
diff --git a/meta/recipes-sato/rxvt-unicode/files/makefile.patch b/meta/recipes-sato/rxvt-unicode/files/makefile.patch new file mode 100644 index 0000000000..86f82eeb4c --- /dev/null +++ b/meta/recipes-sato/rxvt-unicode/files/makefile.patch | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | --- ../rxvt-unicode-cvs-r0/rxvt-unicode/Makefile.in 2004-08-12 22:32:40 +01:00 | ||
| 2 | +++ rxvt-unicode/Makefile.in 2004-12-24 03:09:00 +00:00 | ||
| 3 | @@ -9,7 +9,7 @@ | ||
| 4 | first_rule: all | ||
| 5 | dummy: | ||
| 6 | |||
| 7 | -subdirs = src doc src/test | ||
| 8 | +subdirs = src src/test | ||
| 9 | allsubdirs = W11 $(subdirs) | ||
| 10 | |||
| 11 | DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog | ||
| 12 | @@ -24,7 +24,7 @@ | ||
| 13 | |||
| 14 | #------------------------------------------------------------------------- | ||
| 15 | |||
| 16 | -all allbin alldoc tags: | ||
| 17 | +all allbin tags: | ||
| 18 | @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi | ||
| 19 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done | ||
| 20 | |||
diff --git a/meta/recipes-sato/rxvt-unicode/files/rxvt.desktop b/meta/recipes-sato/rxvt-unicode/files/rxvt.desktop new file mode 100644 index 0000000000..a419c98a13 --- /dev/null +++ b/meta/recipes-sato/rxvt-unicode/files/rxvt.desktop | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | [Desktop Entry] | ||
| 2 | Encoding=UTF-8 | ||
| 3 | Name=Terminal | ||
| 4 | Comment=When all else fails. | ||
| 5 | Exec=/usr/bin/rxvt | ||
| 6 | Icon=utilities-terminal.png | ||
| 7 | Terminal=false | ||
| 8 | Type=Application | ||
| 9 | Categories=Utility | ||
| 10 | StartupNotify=false | ||
| 11 | |||
diff --git a/meta/recipes-sato/rxvt-unicode/files/rxvt.png b/meta/recipes-sato/rxvt-unicode/files/rxvt.png new file mode 100644 index 0000000000..e56fa2e9cd --- /dev/null +++ b/meta/recipes-sato/rxvt-unicode/files/rxvt.png | |||
| Binary files differ | |||
diff --git a/meta/recipes-sato/rxvt-unicode/files/signedchar.patch b/meta/recipes-sato/rxvt-unicode/files/signedchar.patch new file mode 100644 index 0000000000..6faa175143 --- /dev/null +++ b/meta/recipes-sato/rxvt-unicode/files/signedchar.patch | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | --- ../rxvt-unicode-cvs-r0/rxvt-unicode/src/command.C 2004-12-21 06:43:00 +00:00 | ||
| 2 | +++ rxvt-unicode/src/command.C 2004-12-24 02:31:36 +00:00 | ||
| 3 | @@ -1862,7 +1862,7 @@ | ||
| 4 | #endif /* NO_SCROLLBAR_REPORT */ | ||
| 5 | |||
| 6 | { | ||
| 7 | - char upordown = 0; | ||
| 8 | + signed char upordown = 0; | ||
| 9 | |||
| 10 | if (scrollBar.style == R_SB_NEXT) | ||
| 11 | { | ||
diff --git a/meta/recipes-sato/rxvt-unicode/files/xwc.patch b/meta/recipes-sato/rxvt-unicode/files/xwc.patch new file mode 100644 index 0000000000..7cf59656ce --- /dev/null +++ b/meta/recipes-sato/rxvt-unicode/files/xwc.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | |||
| 2 | # | ||
| 3 | # Patch managed by http://www.holgerschurig.de/patcher.html | ||
| 4 | # | ||
| 5 | |||
| 6 | --- rxvt-unicode-4.8/src/screen.C~xwc.c | ||
| 7 | +++ rxvt-unicode-4.8/src/screen.C | ||
| 8 | @@ -3058,7 +3058,7 @@ | ||
| 9 | else | ||
| 10 | rxvt_warn ("can't get primary selection, ignoring.\n"); | ||
| 11 | |||
| 12 | -#if 0 | ||
| 13 | +#ifdef HAVE_XWC | ||
| 14 | XTextProperty ct; | ||
| 15 | |||
| 16 | if (XwcTextListToTextProperty (display->display, &selection.text, 1, XStringStyle, &ct) >= 0) | ||
| 17 | @@ -3632,9 +3632,11 @@ | ||
| 18 | } | ||
| 19 | else | ||
| 20 | #endif | ||
| 21 | +#ifdef HAVE_XWC | ||
| 22 | if (XwcTextListToTextProperty (display->display, &cl, 1, (XICCEncodingStyle) style, &ct) >= 0) | ||
| 23 | freect = 1; | ||
| 24 | else | ||
| 25 | +#endif | ||
| 26 | { | ||
| 27 | /* if we failed to convert then send it raw */ | ||
| 28 | ct.value = (unsigned char *)cl; | ||
diff --git a/meta/recipes-sato/rxvt-unicode/rxvt-unicode-5.6/xwc.patch b/meta/recipes-sato/rxvt-unicode/rxvt-unicode-5.6/xwc.patch new file mode 100644 index 0000000000..eb87b84b25 --- /dev/null +++ b/meta/recipes-sato/rxvt-unicode/rxvt-unicode-5.6/xwc.patch | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | diff -urNd ../rxvt-unicode-5.3-r2/rxvt-unicode-5.3/src/screen.C rxvt-unicode-5.3/src/screen.C | ||
| 2 | --- ../rxvt-unicode-5.3-r2/rxvt-unicode-5.3/src/screen.C 2005-02-22 21:39:10 +00:00 | ||
| 3 | +++ rxvt-unicode-5.3/src/screen.C 2005-04-05 22:12:45 +01:00 | ||
| 4 | @@ -3064,7 +3064,7 @@ | ||
| 5 | else | ||
| 6 | rxvt_warn ("can't get primary selection, ignoring.\n"); | ||
| 7 | |||
| 8 | -#if 0 | ||
| 9 | +#ifdef HAVE_XWC | ||
| 10 | XTextProperty ct; | ||
| 11 | |||
| 12 | if (XwcTextListToTextProperty (display->display, &selection.text, 1, XStringStyle, &ct) >= 0) | ||
| 13 | @@ -3648,9 +3648,11 @@ | ||
| 14 | } | ||
| 15 | else | ||
| 16 | #endif | ||
| 17 | +#ifdef HAVE_XWC | ||
| 18 | if (XwcTextListToTextProperty (disp, &cl, 1, (XICCEncodingStyle) style, &ct) >= 0) | ||
| 19 | freect = 1; | ||
| 20 | else | ||
| 21 | +#endif | ||
| 22 | { | ||
| 23 | /* if we failed to convert then send it raw */ | ||
| 24 | ct.value = (unsigned char *)cl; | ||
diff --git a/meta/recipes-sato/rxvt-unicode/rxvt-unicode_5.6.bb b/meta/recipes-sato/rxvt-unicode/rxvt-unicode_5.6.bb new file mode 100644 index 0000000000..d13089501f --- /dev/null +++ b/meta/recipes-sato/rxvt-unicode/rxvt-unicode_5.6.bb | |||
| @@ -0,0 +1,72 @@ | |||
| 1 | SECTION = "x11/utils" | ||
| 2 | DEPENDS = "virtual/libx11 libxt libxft" | ||
| 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 | LICENSE = "GPL" | ||
| 9 | SRC_URI = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2 \ | ||
| 10 | file://xwc.patch;patch=1 \ | ||
| 11 | file://signedchar.patch;patch=1 \ | ||
| 12 | file://rxvt.desktop \ | ||
| 13 | file://rxvt.png" | ||
| 14 | PR = "r5" | ||
| 15 | |||
| 16 | inherit autotools update-alternatives | ||
| 17 | |||
| 18 | PROVIDES = "virtual/x-terminal-emulator" | ||
| 19 | ALTERNATIVE_NAME = "x-terminal-emulator" | ||
| 20 | ALTERNATIVE_PATH = "${bindir}/rxvt" | ||
| 21 | |||
| 22 | CFLAGS_append = " -fpermissive" | ||
| 23 | |||
| 24 | # This is necessary so that the "tic" command executed during the install can | ||
| 25 | # link with the correct libary in staging. | ||
| 26 | export LD_LIBRARY_PATH = "${STAGING_LIBDIR_NATIVE}" | ||
| 27 | |||
| 28 | EXTRA_OECONF = "--enable-menubar --enable-xim \ | ||
| 29 | --enable-utmp --enable-wtmp --enable-lastlog \ | ||
| 30 | --disable-strings --with-term=rxvt --enable-keepscrolling \ | ||
| 31 | --enable-xft --with-name=rxvt --enable-frills \ | ||
| 32 | --enable-swapscreen --enable-transparency \ | ||
| 33 | --with-codesets=eu \ | ||
| 34 | --enable-cursor-blink --enable-pointer-blank \ | ||
| 35 | --enable-text-blink --enable-rxvt-scroll \ | ||
| 36 | --enable-combining --enable-shared \ | ||
| 37 | --enable-xgetdefault \ | ||
| 38 | --with-x=${STAGING_DIR_HOST}${prefix}" | ||
| 39 | EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \ | ||
| 40 | 'XLIB=-L${STAGING_LIBDIR} -lX11'" | ||
| 41 | |||
| 42 | do_configure () { | ||
| 43 | mv autoconf/configure.in . || true | ||
| 44 | rm autoconf/libtool.m4 | ||
| 45 | libtoolize --force | ||
| 46 | autotools_do_configure | ||
| 47 | echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h | ||
| 48 | echo '#define RXVT_WTMP_FILE "${localstatedir}/log/wtmp"' >> config.h | ||
| 49 | echo '#define RXVT_LASTLOG_FILE "${localstatedir}/log/lastlog"' >> config.h | ||
| 50 | echo '#define HAVE_XLOCALE 1' >> config.h | ||
| 51 | } | ||
| 52 | |||
| 53 | do_compile () { | ||
| 54 | if test -e ${S}/${HOST_SYS}-libtool; then | ||
| 55 | LIBTOOL=${S}/${HOST_SYS}-libtool | ||
| 56 | else | ||
| 57 | LIBTOOL=${S}/libtool | ||
| 58 | fi | ||
| 59 | # docs need "yodl" and I have no idea what that is | ||
| 60 | oe_runmake -C src "LIBTOOL=$LIBTOOL" | ||
| 61 | } | ||
| 62 | |||
| 63 | do_install_append () { | ||
| 64 | install -d ${D}/${datadir} | ||
| 65 | install -d ${D}/${datadir}/applications | ||
| 66 | install -d ${D}/${datadir}/pixmaps/ | ||
| 67 | |||
| 68 | install -m 0644 ${WORKDIR}/rxvt.png ${D}/${datadir}/pixmaps | ||
| 69 | install -m 0644 ${WORKDIR}/rxvt.desktop ${D}/${datadir}/applications | ||
| 70 | } | ||
| 71 | |||
| 72 | FILES_${PN} += "${datadir}/applications/rxvt.desktop ${datadir}/pixmaps/rxvt.png" | ||
