ratpoison: update to ratpoison-1.4.6

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-08-14 11:13:35 +02:00
parent a713897a8f
commit 9b4e37649d
4 changed files with 2 additions and 61 deletions

View File

@ -19,12 +19,12 @@
################################################################################
PKG_NAME="ratpoison"
PKG_VERSION="1.4.5"
PKG_VERSION="1.4.6"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.nongnu.org/ratpoison"
PKG_URL="http://mirror.lihnidos.org/GNU/savannah/ratpoison/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_URL="http://download.savannah.nongnu.org/releases/ratpoison/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS="libXft libX11 libXext libXtst libXinerama liberation-fonts-ttf"
PKG_BUILD_DEPENDS_TARGET="toolchain util-macros libXft libICE libX11 libXext libXtst libXinerama"
PKG_PRIORITY="optional"

View File

@ -1,12 +0,0 @@
diff -Naur ratpoison-1.4.5-old/configure.in ratpoison-1.4.5-new/configure.in
--- ratpoison-1.4.5-old/configure.in 2009-07-12 14:01:04.000000000 -0700
+++ ratpoison-1.4.5-new/configure.in 2013-01-03 19:26:12.000000000 -0800
@@ -24,7 +24,7 @@
AM_MAINTAINER_MODE
-AM_CONFIG_HEADER(src/config.h)
+AC_CONFIG_HEADERS(src/config.h)
dnl by default turn off debugging
AC_MSG_CHECKING(whether to enable debugging)

View File

@ -1,12 +0,0 @@
diff -Naur ratpoison-1.4.5-old/configure.in ratpoison-1.4.5-new/configure.in
--- ratpoison-1.4.5-old/configure.in 2009-07-12 14:01:04.000000000 -0700
+++ ratpoison-1.4.5-new/configure.in 2009-07-14 19:56:24.000000000 -0700
@@ -146,7 +146,7 @@
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
-AC_CHECK_FUNCS(getopt getopt_long setsid setpgid setpgrp putenv vsnprintf usleep)
+AC_CHECK_FUNCS(getline getopt getopt_long setsid setpgid setpgrp putenv vsnprintf usleep)
AC_TYPE_SIGNAL

View File

@ -1,35 +0,0 @@
diff -Naur ratpoison-1.4.5-old/src/actions.c ratpoison-1.4.5-new/src/actions.c
--- ratpoison-1.4.5-old/src/actions.c 2009-07-14 19:56:16.000000000 -0700
+++ ratpoison-1.4.5-new/src/actions.c 2009-07-14 19:56:56.000000000 -0700
@@ -1882,6 +1882,8 @@
{
int ret = -1;
+ if (!strcasecmp (data, "static") || !strcasecmp (data, "static") || !strcmp (data, "10"))
+ ret = StaticGravity;
if (!strcasecmp (data, "northwest") || !strcasecmp (data, "nw") || !strcmp (data, "7"))
ret = NorthWestGravity;
if (!strcasecmp (data, "north") || !strcasecmp (data, "n") || !strcmp (data, "8"))
diff -Naur ratpoison-1.4.5-old/src/manage.c ratpoison-1.4.5-new/src/manage.c
--- ratpoison-1.4.5-old/src/manage.c 2009-07-14 19:56:16.000000000 -0700
+++ ratpoison-1.4.5-new/src/manage.c 2009-07-14 19:56:56.000000000 -0700
@@ -541,6 +541,9 @@
case SouthEastGravity:
win->x = frame->x + frame->width - win->width - win->border;
break;
+ case StaticGravity:
+ win->x = frame->x + win->x;
+ break;
}
/* Y coord. */
@@ -561,6 +564,9 @@
case SouthWestGravity:
win->y = frame->y + frame->height - win->height - win->border;
break;
+ case StaticGravity:
+ win->y = frame->y + win->y;
+ break;
}
}