From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E1C08138334 for ; Fri, 11 Oct 2019 21:25:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27B0FE087A; Fri, 11 Oct 2019 21:25:33 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 00EA7E087A for ; Fri, 11 Oct 2019 21:25:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7DE2934BBD4 for ; Fri, 11 Oct 2019 21:25:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F53B82C for ; Fri, 11 Oct 2019 21:25:29 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1570829122.2ba0a5c9d5ab59f63aba597e0424be9245054366.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/consolation/, sys-apps/consolation/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/consolation/Manifest sys-apps/consolation/consolation-0.0.7.ebuild sys-apps/consolation/files/consolation-0.0.7-makefile.patch sys-apps/consolation/files/consolation-confd sys-apps/consolation/files/consolation-initd sys-apps/consolation/metadata.xml X-VCS-Directories: sys-apps/consolation/files/ sys-apps/consolation/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: 2ba0a5c9d5ab59f63aba597e0424be9245054366 X-VCS-Branch: master Date: Fri, 11 Oct 2019 21:25:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8ef996a1-3d12-482d-a56e-e31baf89185f X-Archives-Hash: 0fb345f0712474ff9310ad507cedac2f commit: 2ba0a5c9d5ab59f63aba597e0424be9245054366 Author: Patrick McLean sony com> AuthorDate: Fri Oct 11 21:24:55 2019 +0000 Commit: Patrick McLean gentoo org> CommitDate: Fri Oct 11 21:25:22 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ba0a5c9 sys-apps/consolation: New package Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Patrick McLean gentoo.org> sys-apps/consolation/Manifest | 1 + sys-apps/consolation/consolation-0.0.7.ebuild | 42 ++++++++++++++++++++++ .../files/consolation-0.0.7-makefile.patch | 25 +++++++++++++ sys-apps/consolation/files/consolation-confd | 4 +++ sys-apps/consolation/files/consolation-initd | 12 +++++++ sys-apps/consolation/metadata.xml | 8 +++++ 6 files changed, 92 insertions(+) diff --git a/sys-apps/consolation/Manifest b/sys-apps/consolation/Manifest new file mode 100644 index 00000000000..821b3811e29 --- /dev/null +++ b/sys-apps/consolation/Manifest @@ -0,0 +1 @@ +DIST consolation-consolation-0.0.7.tar.gz 11811 BLAKE2B 7d100a49b766a250eac622785b2f310bef4801a16eac665d7ce5ede249c533c3b948f039d7215e9c55d711f3d2b575972640357fa0e34c114705bef389cdc60f SHA512 dfe101c5198fd57e51e51339a031b5b7216a6df26e039457303f5269b78a98e3c80902c303fd82f26158760543ffa22d1a0c1e73c794c717e0bdd6f1d298a72c diff --git a/sys-apps/consolation/consolation-0.0.7.ebuild b/sys-apps/consolation/consolation-0.0.7.ebuild new file mode 100644 index 00000000000..b616cd134fe --- /dev/null +++ b/sys-apps/consolation/consolation-0.0.7.ebuild @@ -0,0 +1,42 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd autotools + +DESCRIPTION="libinput based console mouse daemon" +HOMEPAGE="https://salsa.debian.org/consolation-team/consolation" +SRC_URI="https://salsa.debian.org/consolation-team/${PN}/-/archive/${P}/${PN}-${P}.tar.gz" + +LICENSE="GPL-2+ MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-libs/libinput:= + virtual/libudev:= + dev-libs/libevdev:=" +RDEPEND="${DEPEND}" +BDEPEND="sys-apps/help2man" + +S="${WORKDIR}/${PN}-${P}" + +PATCHES=( + "${FILESDIR}/consolation-0.0.7-makefile.patch" +) + +src_prepare() { + default + + eautoreconf +} + +src_install() { + default + + newinitd "${FILESDIR}/${PN}-initd" ${PN} + newconfd "${FILESDIR}/${PN}-confd" ${PN} + + systemd_dounit consolation.service +} diff --git a/sys-apps/consolation/files/consolation-0.0.7-makefile.patch b/sys-apps/consolation/files/consolation-0.0.7-makefile.patch new file mode 100644 index 00000000000..b699edc1e8e --- /dev/null +++ b/sys-apps/consolation/files/consolation-0.0.7-makefile.patch @@ -0,0 +1,25 @@ +diff --git a/Makefile.am b/Makefile.am +index c577a9a..8a0e07f 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -5,7 +5,7 @@ CLEANFILES = consolation.service + + all: consolation.8 consolation.service + +-consolation.8: README src/shared.c $(top_srcdir)/configure.ac ++consolation.8: src/consolation-recursive README src/shared.c $(top_srcdir)/configure.ac + help2man --no-info --source=Debian --section=8 --include=README \ + src/consolation \ + | sed -e 's,\\fB,.TP\n\\fB,g' > consolation.8.new \ +diff --git a/configure.ac b/configure.ac +index 10bf054..25bdebc 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -5,6 +5,7 @@ AC_INIT([consolation], [0.0.7]) + AC_CONFIG_AUX_DIR(config) + + AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz]) ++AM_EXTRA_RECURSIVE_TARGETS([src/consolation]) + AM_CONFIG_HEADER(src/config.h) + + # Check for programs diff --git a/sys-apps/consolation/files/consolation-confd b/sys-apps/consolation/files/consolation-confd new file mode 100644 index 00000000000..fd03ae38eec --- /dev/null +++ b/sys-apps/consolation/files/consolation-confd @@ -0,0 +1,4 @@ +# /etc/conf.d/consolation + +# arguments to pass to consolation +#consolation_args="" diff --git a/sys-apps/consolation/files/consolation-initd b/sys-apps/consolation/files/consolation-initd new file mode 100644 index 00000000000..c9252a82b86 --- /dev/null +++ b/sys-apps/consolation/files/consolation-initd @@ -0,0 +1,12 @@ +#!/sbin/openrc-run +# Copyright 2019 Sony Interactive Entertainment Inc. +# Distributed under the terms of the GNU General Public License v2 + +name="consolation daemon" +description="" +command=/usr/sbin/consolation +command_args="${consolation_args}" + +depend() { + need udev +} diff --git a/sys-apps/consolation/metadata.xml b/sys-apps/consolation/metadata.xml new file mode 100644 index 00000000000..56cae167d37 --- /dev/null +++ b/sys-apps/consolation/metadata.xml @@ -0,0 +1,8 @@ + + + + + chutzpah@gentoo.org + Patrick McLean + +