summaryrefslogtreecommitdiff
path: root/recipes/mrxvt
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/mrxvt
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
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>
Diffstat (limited to 'recipes/mrxvt')
-rw-r--r--recipes/mrxvt/files/fix-compile.patch22
-rw-r--r--recipes/mrxvt/files/font-defaults.patch25
-rw-r--r--recipes/mrxvt/mrxvt_0.5.2.bb19
3 files changed, 66 insertions, 0 deletions
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"