mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
new package:
- add initial build of ratpoison window manager
This commit is contained in:
parent
05c314cef3
commit
62610a5dda
24
packages/x11/other/ratpoison/build
Executable file
24
packages/x11/other/ratpoison/build
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build libX11
|
||||
$SCRIPTS/build libXft
|
||||
|
||||
cd $PKG_BUILD
|
||||
autoreconf
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-debug \
|
||||
--disable-history \
|
||||
--with-xterm=rxvt \
|
||||
--with-xft \
|
||||
--with-x
|
||||
|
||||
make
|
||||
|
15
packages/x11/other/ratpoison/init.d/65_ratpoison
Executable file
15
packages/x11/other/ratpoison/init.d/65_ratpoison
Executable file
@ -0,0 +1,15 @@
|
||||
# Start ratpoison windowmanager
|
||||
#
|
||||
# If enabled, then start the window manageer.
|
||||
# The evilwm window manager should be enabled on systems that plan to use
|
||||
# games in order to enable the game emulators to get focus and exit.
|
||||
#
|
||||
# runlevels: openelec, text, debug
|
||||
|
||||
(
|
||||
wait_for_xorg
|
||||
|
||||
progress "starting Ratpoison"
|
||||
|
||||
/usr/bin/ratpoison > /dev/null 2>&1
|
||||
)&
|
14
packages/x11/other/ratpoison/install
Executable file
14
packages/x11/other/ratpoison/install
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
$SCRIPTS/install libX11
|
||||
$SCRIPTS/install libXft
|
||||
$SCRIPTS/install liberation-fonts
|
||||
|
||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp -PR $PKG_BUILD/src/$1 $INSTALL/usr/bin
|
||||
|
||||
# other usefull packages
|
||||
$SCRIPTS/install xwd
|
@ -0,0 +1,12 @@
|
||||
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
|
||||
|
@ -0,0 +1,35 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
1
packages/x11/other/ratpoison/url
Normal file
1
packages/x11/other/ratpoison/url
Normal file
@ -0,0 +1 @@
|
||||
http://download.savannah.nongnu.org/releases/ratpoison/ratpoison-1.4.5.tar.gz
|
Loading…
x
Reference in New Issue
Block a user