[oe-commits] org.oe.dev rxvt-unicode: add 7.9
koen commit
openembedded-commits at lists.openembedded.org
Wed Oct 18 09:19:37 UTC 2006
rxvt-unicode: add 7.9
Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 3469f7326270c514187569a484e035c8243ed6a2
ViewMTN: http://monotone.openembedded.org/revision.psp?id=3469f7326270c514187569a484e035c8243ed6a2
Files:
1
packages/rxvt-unicode/rxvt-unicode-7.9
packages/rxvt-unicode/rxvt-unicode-7.9/xwc.patch
packages/rxvt-unicode/rxvt-unicode_7.9.bb
Diffs:
#
# mt diff -r3dfed217b9437bfb9b6e07e3c55afcaa43749262 -r3469f7326270c514187569a484e035c8243ed6a2
#
#
#
# add_dir "packages/rxvt-unicode/rxvt-unicode-7.9"
#
# add_file "packages/rxvt-unicode/rxvt-unicode-7.9/xwc.patch"
# content [1b69b84ab55bc20c13dc05144eb413c7bf0b2459]
#
# add_file "packages/rxvt-unicode/rxvt-unicode_7.9.bb"
# content [a6d391305aca0a12e80aa1dad7d99bc8a313fce7]
#
============================================================
--- packages/rxvt-unicode/rxvt-unicode-7.9/xwc.patch 1b69b84ab55bc20c13dc05144eb413c7bf0b2459
+++ packages/rxvt-unicode/rxvt-unicode-7.9/xwc.patch 1b69b84ab55bc20c13dc05144eb413c7bf0b2459
@@ -0,0 +1,23 @@
+--- rxvt-unicode-7.7/src/screen.C.orig 2006-05-11 14:48:12.000000000 +0100
++++ rxvt-unicode-7.7/src/screen.C 2006-05-11 14:49:37.000000000 +0100
+@@ -3061,7 +3061,7 @@
+ return false;
+ }
+
+-#if 0
++#if HAVE_XWC
+ XTextProperty ct;
+
+ if (XwcTextListToTextProperty (dpy, &selection.text, 1, XStringStyle, &ct) >= 0)
+@@ -3628,9 +3628,11 @@
+ }
+ else
+ #endif
++#if HAVE_XWC
+ if (XwcTextListToTextProperty (dpy, &cl, 1, (XICCEncodingStyle) style, &ct) >= 0)
+ freect = 1;
+ else
++#endif
+ {
+ /* if we failed to convert then send it raw */
+ ct.value = (unsigned char *)cl;
============================================================
--- packages/rxvt-unicode/rxvt-unicode_7.9.bb a6d391305aca0a12e80aa1dad7d99bc8a313fce7
+++ packages/rxvt-unicode/rxvt-unicode_7.9.bb a6d391305aca0a12e80aa1dad7d99bc8a313fce7
@@ -0,0 +1,54 @@
+SECTION = "x11/utils"
+DEPENDS = "virtual/libx11 libxt libxft libxpm"
+DESCRIPTION = "rxvt-unicode is a clone of the well known \
+terminal emulator rxvt, modified to store text in Unicode \
+(either UCS-2 or UCS-4) and to use locale-correct input and \
+output. It also supports mixing multiple fonts at the \
+same time, including Xft fonts."
+LICENSE = "GPL"
+PACKAGES =+ "${PN}-daemon ${PN}-control"
+FILES_${PN}-daemon = "${bindir}/rxvtd"
+FILES_${PN}-control = "${bindir}/rxvtc"
+
+SRC_URI = "http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-${PV}.tar.bz2 \
+ file://xwc.patch;patch=1 \
+ file://signedchar.patch;patch=1"
+PR = "r0"
+
+DEFAULT_PREFERENCE = "-1"
+
+inherit autotools update-alternatives
+
+PROVIDES = "virtual/x-terminal-emulator"
+ALTERNATIVE_NAME = "x-terminal-emulator"
+ALTERNATIVE_PATH = "${bindir}/rxvt"
+
+CFLAGS_append = " -fpermissive"
+
+EXTRA_OECONF = "--enable-menubar --enable-xim \
+ --enable-utmp --enable-wtmp --enable-lastlog \
+ --disable-strings --with-term=rxvt --enable-keepscrolling \
+ --enable-xft --with-name=rxvt --enable-frills \
+ --enable-swapscreen --enable-transparency \
+ --with-codesets=eu \
+ --enable-cursor-blink --enable-pointer-blank \
+ --enable-text-blink --enable-rxvt-scroll \
+ --enable-combining --enable-shared \
+ --enable-xgetdefault \
+ --with-x=${STAGING_LIBDIR}/.. \
+ --enable-xpm-background \
+ --disable-perl \
+ --with-xpm-includes=${STAGING_INCDIR} \
+ --with-xpm-libs=${STAGING_LIBDIR}"
+
+do_configure_prepend () {
+ cp aclocal.m4 acinclude.m4
+}
+
+do_compile_prepend () {
+ echo '#define UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
+ echo '#define WTMP_FILE "${localstatedir}/log/wtmp"' >> config.h
+ echo '#define LASTLOG_FILE "${localstatedir}/log/lastlog"' >> config.h
+ echo '#define HAVE_XLOCALE 1' >> config.h
+}
+
More information about the Openembedded-commits
mailing list