Browse Source

ratpoison: Added ratpoison 1.4.5 - A window manager that lets you say good-bye to the rodent

user/chris/next/aufs
Nagy Karoly Gabriel 13 years ago committed by Alejandro Mery
parent
commit
552cb7bcee
  1. 38
      x11/ratpoison/check_for_getline.patch
  2. 19
      x11/ratpoison/install/etc_ratpoisonrc.txt
  3. 52
      x11/ratpoison/ratpoison-1.4.5-staticgravity.patch
  4. 16
      x11/ratpoison/ratpoison.conf
  5. 37
      x11/ratpoison/ratpoison.desc

38
x11/ratpoison/check_for_getline.patch

@ -0,0 +1,38 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../ratpoison/check_for_getline.patch
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
From 4ad0b38fb53506d613c4b4f7268dadfcedae9b8e Mon Sep 17 00:00:00 2001
From: Shawn Betts <sabetts@gmail.com>
Date: Mon, 13 Jul 2009 01:23:25 +0000
Subject: check for getline in configure.in
This fixes a build error encountered on glibc 2.10 systems
---
diff --git a/configure.in b/configure.in
index 0c1b42c..08f4ee8 100644
--- a/configure.in
+++ b/configure.in
@@ -146,7 +146,7 @@ AC_CHECK_HEADERS(unistd.h stdarg.h)
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(getopt getopt_long setsid setpgid setpgrp putenv vsnprintf usleep getline)
AC_TYPE_SIGNAL
--
cgit v0.9.0.2

19
x11/ratpoison/install/etc_ratpoisonrc.txt

@ -0,0 +1,19 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../ratpoison/install/etc_ratpoisonrc.txt
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
startup_message off
set wingravity static
set transgravity static
set maxsizegravity static

52
x11/ratpoison/ratpoison-1.4.5-staticgravity.patch

@ -0,0 +1,52 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../ratpoison/ratpoison-1.4.5-staticgravity.patch
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
http://minimyth.googlecode.com/svn/trunk/gar-minimyth/script/X11/ratpoison/files/ratpoison-1.4.5-staticgravity.patch
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;
}
}

16
x11/ratpoison/ratpoison.conf

@ -0,0 +1,16 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../ratpoison/ratpoison.conf
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
autogen=1
export CFLAGS="$CFLAGS -DHAVE_GETLINE"

37
x11/ratpoison/ratpoison.desc

@ -0,0 +1,37 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../ratpoison/ratpoison.desc
[COPY] Copyright (C) 2012 The OpenSDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A window manager that lets you say good-bye to the rodent
[T] Ratpoison is a simple window manager with no large library dependencies,
[T] no fancy graphics, no window decorations, and no rodent dependence.
[T] It is largely modeled after GNU Screen, which has done wonders in the
[T] virtual terminal market. All interaction with the window manager is done
[T] through keystrokes. Ratpoison has a prefix map to minimize the key clobbering
[T] that cripples EMACS and other quality pieces of software. All windows are
[T] maximized and kept maximized to avoid wasting precious screen space.
[U] http://www.nongnu.org/ratpoison
[A] Shawn Betts <sabetts@vcn.bc.ca>
[M] Nagy Karoly Gabriel <nagy.karoly@opensde.org>
[C] extra/windowmanager
[L] GPL
[S] Stable
[V] 1.4.5
[P] X -----5---9 800.000
[D] 2905106328 ratpoison-1.4.5.tar.gz http://download.savannah.nongnu.org/releases/ratpoison/
Loading…
Cancel
Save