diff options
| author | Richard Purdie <richard@openedhand.com> | 2005-08-31 18:07:55 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2005-08-31 18:07:55 +0000 |
| commit | 9ed0d2aa99a76a864d4793f54146c0e79e373712 (patch) | |
| tree | bf6b07b0cfcc23ebb23130013e348ff84f38ce32 /openembedded/packages/rxvt | |
| parent | 047f13b69a6907483a4cf71cf20c8434e20c8873 (diff) | |
| download | poky-9ed0d2aa99a76a864d4793f54146c0e79e373712.tar.gz | |
Add some extra packages to the image
git-svn-id: https://svn.o-hand.com/repos/poky@10 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/rxvt')
| -rw-r--r-- | openembedded/packages/rxvt/rxvt-2.7.9/include.patch | 16 | ||||
| -rw-r--r-- | openembedded/packages/rxvt/rxvt_2.7.9.bb | 41 |
2 files changed, 57 insertions, 0 deletions
diff --git a/openembedded/packages/rxvt/rxvt-2.7.9/include.patch b/openembedded/packages/rxvt/rxvt-2.7.9/include.patch new file mode 100644 index 0000000000..f7542843b1 --- /dev/null +++ b/openembedded/packages/rxvt/rxvt-2.7.9/include.patch | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | diff -urN rxvt.orig/src/rxvtlib.h.in rxvt/src/rxvtlib.h.in | ||
| 2 | --- rxvt.orig/src/rxvtlib.h.in 2003-03-25 19:13:53.000000000 -0500 | ||
| 3 | +++ rxvt/src/rxvtlib.h.in 2004-04-03 20:35:13.000000000 -0500 | ||
| 4 | @@ -43,7 +43,11 @@ | ||
| 5 | #include <sys/wait.h> | ||
| 6 | #include <sys/stat.h> | ||
| 7 | |||
| 8 | -#include <X11/Intrinsic.h> /* Xlib, Xutil, Xresource, Xfuncproto */ | ||
| 9 | +#include <X11/Xlib.h> | ||
| 10 | +#include <X11/Xutil.h> | ||
| 11 | +#include <X11/Xresource.h> | ||
| 12 | +#include <X11/Xproto.h> | ||
| 13 | +#include <X11/region.h> | ||
| 14 | |||
| 15 | #ifdef ENABLE_XFT | ||
| 16 | #include <X11/Xft/Xft.h> | ||
diff --git a/openembedded/packages/rxvt/rxvt_2.7.9.bb b/openembedded/packages/rxvt/rxvt_2.7.9.bb new file mode 100644 index 0000000000..c201d16f8a --- /dev/null +++ b/openembedded/packages/rxvt/rxvt_2.7.9.bb | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | DESCRIPTION = "Well known terminal emulator" | ||
| 2 | SECTION = "x11/utils" | ||
| 3 | PR = "r1" | ||
| 4 | DEPENDS = "x11 libxft" | ||
| 5 | LICENSE = "GPL" | ||
| 6 | SRC_URI = "${HANDHELDS_CVS};module=apps/rxvt \ | ||
| 7 | file://include.patch;patch=1" | ||
| 8 | |||
| 9 | inherit autotools update-alternatives | ||
| 10 | |||
| 11 | ALTERNATIVE_NAME = "x-terminal-emulator" | ||
| 12 | ALTERNATIVE_PATH = "${bindir}/rxvt-2.7.9" | ||
| 13 | |||
| 14 | S = ${WORKDIR}/rxvt | ||
| 15 | |||
| 16 | EXTRA_OECONF = "--disable-menubar --disable-xim \ | ||
| 17 | --enable-utmp --enable-wtmp --enable-lastlog \ | ||
| 18 | --disable-strings --with-term=rxvt --enable-keepscrolling \ | ||
| 19 | --with-xft --with-name=rxvt --enable-frills \ | ||
| 20 | --enable-swapscreen --enable-transparency \ | ||
| 21 | --with-codesets=eu,jp \ | ||
| 22 | --enable-cursor-blink --enable-pointer-blank \ | ||
| 23 | --enable-text-blink --enable-plain-scroll \ | ||
| 24 | --enable-combining --enable-shared \ | ||
| 25 | --with-x=${STAGING_LIBDIR}/.." | ||
| 26 | |||
| 27 | EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \ | ||
| 28 | 'XLIB=-L${STAGING_LIBDIR} -lX11 -lXft'" | ||
| 29 | |||
| 30 | do_configure () { | ||
| 31 | mv autoconf/configure.in . || true | ||
| 32 | rm autoconf/libtool.m4 | ||
| 33 | libtoolize --force | ||
| 34 | autotools_do_configure | ||
| 35 | echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h | ||
| 36 | echo '#define RXVT_WTMP_FILE "${localstatedir}/log/wtmp"' >> config.h | ||
| 37 | echo '#define RXVT_LASTLOG_FILE "${localstatedir}/log/lastlog"' >> config.h | ||
| 38 | echo '#define HAVE_XLOCALE 1' >> config.h | ||
| 39 | echo '#define HAVE_UTMP_H 1' >> config.h | ||
| 40 | echo '#define HAVE_TTYSLOT 1' >> config.h | ||
| 41 | } | ||
