ratpoison: new package

Tested with:
nitrogen6sx_defconfig

Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
[Thomas:
 - formatting fixes
 - license is GPL-2.0+, not GPL-2.0
 - explicitly disable xft/xkb support]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017.08.x
Mario Rugiero 2017-06-01 11:33:49 -03:00 committed by Thomas Petazzoni
parent 0b44bfc309
commit a2bfe74f34
5 changed files with 50 additions and 0 deletions

View File

@ -1057,6 +1057,9 @@ F: package/polkit/
F: package/sg3_utils/
F: package/udisks/
N: Mario Rugiero <mrugiero@gmail.com>
F: package/ratpoison/
N: Markos Chandras <markos.chandras@imgtec.com>
F: package/harfbuzz/
F: package/libsecret/

View File

@ -341,6 +341,7 @@ comment "X window managers"
source "package/matchbox/Config.in"
source "package/metacity/Config.in"
source "package/openbox/Config.in"
source "package/ratpoison/Config.in"
endmenu
menu "Hardware handling"

View File

@ -0,0 +1,16 @@
config BR2_PACKAGE_RATPOISON
bool "ratpoison"
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_FONTCONFIG
select BR2_PACKAGE_LIBERATION
select BR2_PACKAGE_XLIB_LIBX11
help
Ratpoison is a simple Window Manager. It is largely modelled
after GNU Screen and focuses on the keyboard instead of a
mouse.
The screen can be split into non-overlapping frames. All
windows are kept maximized inside their frames to take full
advantage of your precious screen real estate.
http://www.nongnu.org/ratpoison/

View File

@ -0,0 +1,2 @@
# Locally computed
sha256 d98fa4be025ecca453c407ff311ab3949f29f20d6d8abedf8f0716b85fc8d1f1 ratpoison-1.4.9.tar.xz

View File

@ -0,0 +1,28 @@
################################################################################
#
# ratpoison
#
################################################################################
RATPOISON_VERSION = 1.4.9
RATPOISON_SOURCE = ratpoison-$(RATPOISON_VERSION).tar.xz
RATPOISON_SITE = http://download.savannah.nongnu.org/releases/ratpoison
RATPOISON_LICENSE = GPL-2.0+
RATPOISON_LICENSE_FILES = COPYING
RATPOISON_CONF_OPTS = \
--x-includes=$(STAGING_DIR)/usr/include/X11 \
--x-libraries=$(STAGING_DIR)/usr/lib \
--without-xkb \
--without-xft
RATPOISON_DEPENDENCIES = xlib_libX11
ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
RATPOISON_DEPENDENCIES += xlib_libXrandr
RATPOISON_CONF_OPTS += --with-xrandr
else
RATPOISON_CONF_OPTS += --without-xrandr
endif
$(eval $(autotools-package))