From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denis@denix.org>
Date: Tue, 17 Mar 2009 14:32:59 -0400
Subject: rename packages/ to recipes/ per earlier agreement

See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
---
 recipes/mrxvt/files/fix-compile.patch   | 22 ++++++++++++++++++++++
 recipes/mrxvt/files/font-defaults.patch | 25 +++++++++++++++++++++++++
 recipes/mrxvt/mrxvt_0.5.2.bb            | 19 +++++++++++++++++++
 3 files changed, 66 insertions(+)
 create mode 100644 recipes/mrxvt/files/fix-compile.patch
 create mode 100644 recipes/mrxvt/files/font-defaults.patch
 create mode 100644 recipes/mrxvt/mrxvt_0.5.2.bb

(limited to 'recipes/mrxvt')

diff --git a/recipes/mrxvt/files/fix-compile.patch b/recipes/mrxvt/files/fix-compile.patch
new file mode 100644
index 0000000000..c849ffd35e
--- /dev/null
+++ b/recipes/mrxvt/files/fix-compile.patch
@@ -0,0 +1,22 @@
+Index: mrxvt-0.5.2/src/rxvt.h
+===================================================================
+--- mrxvt-0.5.2.orig/src/rxvt.h
++++ mrxvt-0.5.2/src/rxvt.h
+@@ -488,15 +488,8 @@ typedef char*	    XPointer;
+  * turn is unsafe without checking. Untainted defines the type of data that is
+  * safe.
+  */
+-#ifdef __GNUC__
+-# define $tainted
+-# define $untainted
+-# define TAINTED    $tainted
+-# define UNTAINTED  $untainted
+-#else
+-# define TAINTED
+-# define UNTAINTED
+-#endif
++#define TAINTED
++#define UNTAINTED
+ 
+ 
+ /*
diff --git a/recipes/mrxvt/files/font-defaults.patch b/recipes/mrxvt/files/font-defaults.patch
new file mode 100644
index 0000000000..3412305d99
--- /dev/null
+++ b/recipes/mrxvt/files/font-defaults.patch
@@ -0,0 +1,25 @@
+Index: mrxvt-0.5.2/src/feature.h
+===================================================================
+--- mrxvt-0.5.2.orig/src/feature.h
++++ mrxvt-0.5.2/src/feature.h
+@@ -474,15 +474,15 @@
+ #define DEFAULT_MIN_VISIBLE_TABS    (6)
+ 
+ /* Minimum Xft font size (pixel) */
+-#define MIN_XFT_FONT_SIZE	    (8)
++#define MIN_XFT_FONT_SIZE	    (2)
+ 
+ /* Default Xft font name and size */
+-#define DEFAULT_XFT_FONT_SIZE	    (12)
+-#define DEFAULT_XFT_FONT_NAME	    "Monospace"
++#define DEFAULT_XFT_FONT_SIZE	    (6)
++#define DEFAULT_XFT_FONT_NAME	    "Vera Sans Mono"
+ 
+ /* Default Xft propotional font name and size (used for menubar / tabs) */
+-#define DEFAULT_XFT_PFONT_SIZE	    (10)
+-#define DEFAULT_XFT_PFONT_NAME	    "Sans"
++#define DEFAULT_XFT_PFONT_SIZE	    (8)
++#define DEFAULT_XFT_PFONT_NAME	    "Vera Sans"
+ 
+ /* Default cursor blinking time (ms) */
+ #define MIN_BLINK_TIME		    (100)
diff --git a/recipes/mrxvt/mrxvt_0.5.2.bb b/recipes/mrxvt/mrxvt_0.5.2.bb
new file mode 100644
index 0000000000..c1811cb167
--- /dev/null
+++ b/recipes/mrxvt/mrxvt_0.5.2.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "MRXVT is a lightweight and powerful X terminal emulator based on aterm and rxvt"
+HOMEPAGE = "http://materm.sourceforge.net"
+AUTHOR = "Jimmy Zhou <jimmyzhou@users.sf.net>"
+LICENSE = "GPL"
+SECTION = "x11/applications"
+DEPENDS = "freetype fontconfig libxft virtual/libx11"
+PR = "r2"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/materm/mrxvt-${PV}.tar.gz \
+           ${SOURCEFORGE_MIRROR}/materm/no_debug_x.patch;pnum=0;patch=1 \
+           file://fix-compile.patch;patch=1 \
+           file://font-defaults.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
+		--x-libraries=${STAGING_LIBDIR} \
+		--enable-everything \
+		--disable-debug"
-- 
cgit v1.2.3