From patchwork Fri May 12 22:02:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mario Rugiero X-Patchwork-Id: 761854 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wPkVt2gmwz9s7w for ; Sat, 13 May 2017 08:03:01 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="UNFgDsNP"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4540098D39; Fri, 12 May 2017 22:02:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B4euYhYXMh66; Fri, 12 May 2017 22:02:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 9E9C598D34; Fri, 12 May 2017 22:02:56 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 373B41C200F for ; Fri, 12 May 2017 22:02:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3467194290 for ; Fri, 12 May 2017 22:02:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9YsJhTjOdoXn for ; Fri, 12 May 2017 22:02:54 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qt0-f194.google.com (mail-qt0-f194.google.com [209.85.216.194]) by whitealder.osuosl.org (Postfix) with ESMTPS id 88CE19428C for ; Fri, 12 May 2017 22:02:54 +0000 (UTC) Received: by mail-qt0-f194.google.com with SMTP id a46so8472032qte.0 for ; Fri, 12 May 2017 15:02:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ohGkDH9hPRj3MTQIrbaOJzQT9dsvmhxpnsNYOH/GFCY=; b=UNFgDsNPBHTh4tn4R34H8npgQ/Nmv2FcLgT4xS1Qxh7fvWrzAEwlNbvlLESrSwMIZD 3TMMkF9xwlcxPN1FU2oz1Y47IkhwsEh/uIgT6xvPJuEwBI5aQBGaPCeStBkY3xF3QGtO nAGA0cNz2G+zpHRE9BNFC/0mfIayp1xMxchSVX8RJo/smXBi/8CxO8WqDv8X72zs3xs6 KBqzVfN1EkAbyEJ6/QK996YE27p15N2kfPO3sZB+CQnwEXlak9yyq3kkpXUZRujy9eWD bHINAer/DukwPwJYq+LSYdh1DlpdK817BnKI3MPPg1+utF149NZ29YbzOQa0mHk5CxSm qsTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ohGkDH9hPRj3MTQIrbaOJzQT9dsvmhxpnsNYOH/GFCY=; b=jJv1Sf9d9tWs6yOWiuD71ewiPaxJ+OiHGaE5zUPon5y5lvOJyfFkKb6mmty38Jaa5r tzUaKIeoIq6d9QjBebS9+VUrba+j+BD7QKii0mXjVAZvl3VRPk0edNNUreM23HvVdel0 NrqsV8R9klywYpCtQEezzSWKiD8QjX9+SZcAEk4EhFWY5cQ7VOk/DN6qzyhzmgH4pT3A 6fGsvdxwVnFHs4gouAAhdfziyir5378bG0idJLfcBOYOgpYMPM+nhUTq3mBK+BlDy5T9 Hg4jAvOof4fMBeuxOUKoDKK/qswvtsy20271u+qhgazhDrXuNeslPpeVzA61cFZEGNMZ a5QQ== X-Gm-Message-State: AODbwcAVDKjOP5Zsti4C3tpiEhr3seXc3fKt1shiVe9GorZ8R+aikWIa 5E+HXpBCXZtdk8ewsTA= X-Received: by 10.200.3.129 with SMTP id t1mr5653446qtg.253.1494626573412; Fri, 12 May 2017 15:02:53 -0700 (PDT) Received: from localhost ([191.85.5.46]) by smtp.gmail.com with ESMTPSA id d34sm3164526qta.59.2017.05.12.15.02.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 May 2017 15:02:51 -0700 (PDT) From: "Mario J. Rugiero" To: buildroot@busybox.net Date: Fri, 12 May 2017 19:02:46 -0300 Message-Id: <20170512220246.18575-1-mrugiero@gmail.com> X-Mailer: git-send-email 2.13.0 Cc: "Mario J. Rugiero" Subject: [Buildroot] [PATCH] new package: ratpoison X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Tested with: nitrogen6sx_defconfig Signed-off-by: Mario J. Rugiero --- package/Config.in | 1 + package/ratpoison/Config.in | 22 ++++++++++++++++++++++ package/ratpoison/ratpoison.hash | 2 ++ package/ratpoison/ratpoison.mk | 22 ++++++++++++++++++++++ 4 files changed, 47 insertions(+) create mode 100644 package/ratpoison/Config.in create mode 100644 package/ratpoison/ratpoison.hash create mode 100644 package/ratpoison/ratpoison.mk diff --git a/package/Config.in b/package/Config.in index 3876ffa93..6ad761bc1 100644 --- a/package/Config.in +++ b/package/Config.in @@ -339,6 +339,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" diff --git a/package/ratpoison/Config.in b/package/ratpoison/Config.in new file mode 100644 index 000000000..c5c5cc774 --- /dev/null +++ b/package/ratpoison/Config.in @@ -0,0 +1,22 @@ +config BR2_PACKAGE_RATPOISON + bool "ratpoison" + depends on BR2_PACKAGE_XORG || BR2_PACKAGE_XORG7 + depends on BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_LIBERATION + select BR2_PACKAGE_FONTCONFIG + 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/ + +config BR2_PACKAGE_RATPOISON_RANDR + bool "Xrandr support" + depends on BR2_PACKAGE_RATPOISON + depends on BR2_PACKAGE_XLIB_LIBXRANDR + help + Build ratpoison with randr support, mainly for multihead. diff --git a/package/ratpoison/ratpoison.hash b/package/ratpoison/ratpoison.hash new file mode 100644 index 000000000..0f6e169d4 --- /dev/null +++ b/package/ratpoison/ratpoison.hash @@ -0,0 +1,2 @@ +#Locally computed +sha256 d98fa4be025ecca453c407ff311ab3949f29f20d6d8abedf8f0716b85fc8d1f1 ratpoison-1.4.9.tar.xz diff --git a/package/ratpoison/ratpoison.mk b/package/ratpoison/ratpoison.mk new file mode 100644 index 000000000..1545cb17c --- /dev/null +++ b/package/ratpoison/ratpoison.mk @@ -0,0 +1,22 @@ +############################################################# +# +# ratpoison +# +############################################################# + +RATPOISON_VERSION = 1.4.9 +RATPOISON_SOURCE = ratpoison-$(RATPOISON_VERSION).tar.xz +RATPOISON_SITE = http://download.savannah.nongnu.org/releases/ratpoison + +RATPOISON_CONF_OPTS = --x-includes=$(STAGING_DIR)/usr/include/X11 \ + --x-libraries=$(STAGING_DIR)/usr/lib + +RATPOISON_DEPENDENCIES = $(XSERVER) xlib_libX11 + +ifeq ($(BR2_PACKAGE_RATPOISON_RANDR),y) + RATPOISON_DEPENDENCIES += xlib_libXrandr +else + RATPOISON_CONF_OPTS += --without-xrandr +endif + +$(eval $(autotools-package))