Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/g15composer/, app-misc/g15composer/files/
Date: Wed, 09 Sep 2020 12:29:38
Message-Id: 1599654562.c6b9edce95b3886be17927de728200949b7253f1.polynomial-c@gentoo
1 commit: c6b9edce95b3886be17927de728200949b7253f1
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 9 11:55:50 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 9 12:29:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6b9edce
7
8 app-misc/g15composer: Removed old
9
10 Package-Manager: Portage-3.0.6, Repoman-3.0.1
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-misc/g15composer/Manifest | 1 -
14 app-misc/g15composer/files/g15composer-3.1.confd | 17 ---------
15 app-misc/g15composer/files/g15composer-3.1.initd | 48 ------------------------
16 app-misc/g15composer/g15composer-3.1.ebuild | 38 -------------------
17 4 files changed, 104 deletions(-)
18
19 diff --git a/app-misc/g15composer/Manifest b/app-misc/g15composer/Manifest
20 index eac37b15fdb..0a3880eb72d 100644
21 --- a/app-misc/g15composer/Manifest
22 +++ b/app-misc/g15composer/Manifest
23 @@ -1,2 +1 @@
24 -DIST g15composer-3.1.tar.bz2 104109 BLAKE2B 1880fd469dcbca5031724a23a5abee6d2242738a1674e2635d02aee20fa9859293fa383921f602bf04fb8bdaa294fad9aca099e56bd85b69d41d413f6561a309 SHA512 e4b0ddef2dfbfd3a8a392ebe9e53a59638cbb7aee7a007b8a20be388f074d54a27ed509a5805fadc9ffd708c027ec4c331dfab96905bee1c37690a5585198ad8
25 DIST g15composer-3.2.tar.bz2 105805 BLAKE2B 1a843ed50f0374cb23d469be9c083437f13279f5584e3112037635225e5d5df7765452e3e805c4230fd33782c300f5abdb1fc05e394f636d160c8e49baf3dde0 SHA512 95b033e2bb957ef4a2f3d3e2954a11454af7d8576e037f723d2a7d45a7dadde4908540ff0a66b387209e689217ba0e6677dcee1e647b792c402f250371518bc1
26
27 diff --git a/app-misc/g15composer/files/g15composer-3.1.confd b/app-misc/g15composer/files/g15composer-3.1.confd
28 deleted file mode 100644
29 index f42ab956e24..00000000000
30 --- a/app-misc/g15composer/files/g15composer-3.1.confd
31 +++ /dev/null
32 @@ -1,17 +0,0 @@
33 -# /etc/conf.d/g15composer: Configuration for the g15composer
34 -
35 -# The CONTROL_FIFO is the name of the FIFO that g15composer listens to.
36 -# It does not create a screen on the display, but allows programs to
37 -# create their own non-virtual screens.
38 -# Please make sure the file specified does not exist.
39 -CONTROL_FIFO="/var/run/g15composer"
40 -
41 -# Set the user who owns the CONTROL_FIFO.
42 -# As this is also the user as whom g15composer is run,
43 -# it has to be someone who can create further message channels
44 -# This should be the user who runs the LCD clients
45 -FIFO_USER=
46 -
47 -# Set the grop which owns the CONTROL_FIFO.
48 -# The users who want to display screens on the LCD need to be in this group.
49 -FIFO_GROUP=users
50
51 diff --git a/app-misc/g15composer/files/g15composer-3.1.initd b/app-misc/g15composer/files/g15composer-3.1.initd
52 deleted file mode 100644
53 index 0d7c24f8560..00000000000
54 --- a/app-misc/g15composer/files/g15composer-3.1.initd
55 +++ /dev/null
56 @@ -1,48 +0,0 @@
57 -#!/sbin/openrc-run
58 -# Copyright 1999-2007 Gentoo Foundation
59 -# Distributed under the terms of the GNU General Public License v2
60 -
61 -PIDFILE=/var/run/${SVCNAME}.pid
62 -
63 -depend() {
64 - need g15daemon
65 -}
66 -
67 -start() {
68 - ebegin "Starting ${SVCNAME}"
69 -
70 - if [ -z "${FIFO_USER}" -o -z "${FIFO_GROUP}" ] ; then
71 - eerror "Please set the FIFO_USER and FIFO_GROUP variables in /etc/conf.d/${SVCNAME}"
72 - eend 1
73 - return 1
74 - fi
75 - if [ -e "${CONTROL_FIFO}" -a ! -p "${CONTROL_FIFO}" ] ; then
76 - eerror "${CONTROL_FIFO} exists and is not a FIFO. Please remove."
77 - eend 1
78 - return 1
79 - fi
80 - if [ ! -p "${CONTROL_FIFO}" ] ; then
81 - einfo "Creating FIFO at ${CONTROL_FIFO}"
82 - mkfifo -m660 "${CONTROL_FIFO}"
83 - else
84 - einfo "Reusing FIFO at ${CONTROL_FIFO}"
85 - fi
86 -
87 - chown ${FIFO_USER} "${CONTROL_FIFO}"
88 - chgrp ${FIFO_GROUP} "${CONTROL_FIFO}"
89 - start-stop-daemon --start --background --pidfile ${PIDFILE} --make-pidfile --exec \
90 - /usr/bin/g15composer -- -b -u "${FIFO_USER}" -g "${FIFO_GROUP}" "${CONTROL_FIFO}"
91 - eend $?
92 -}
93 -
94 -stop() {
95 - ebegin "Stoping ${SVCNAME}"
96 - start-stop-daemon --stop --pidfile ${PIDFILE} --name g15composer
97 - if [ -p "${CONTROL_FIFO}" ] ; then
98 - einfo "Removing FIFO at ${CONTROL_FIFO}"
99 - rm -f "${CONTROL_FIFO}"
100 - else
101 - ewarn "FIFO at ${CONTROL_FIFO} was lost"
102 - fi
103 - eend $?
104 -}
105
106 diff --git a/app-misc/g15composer/g15composer-3.1.ebuild b/app-misc/g15composer/g15composer-3.1.ebuild
107 deleted file mode 100644
108 index 28ae4aaf530..00000000000
109 --- a/app-misc/g15composer/g15composer-3.1.ebuild
110 +++ /dev/null
111 @@ -1,38 +0,0 @@
112 -# Copyright 1999-2018 Gentoo Foundation
113 -# Distributed under the terms of the GNU General Public License v2
114 -
115 -EAPI=6
116 -
117 -DESCRIPTION="A library to render text and shapes into a buffer usable by the Logitech G15"
118 -HOMEPAGE="https://sourceforge.net/projects/g15tools/"
119 -SRC_URI="mirror://sourceforge/g15tools/${P}.tar.bz2"
120 -
121 -LICENSE="GPL-2"
122 -SLOT="0"
123 -KEYWORDS="amd64 ~ppc ~ppc64 x86"
124 -IUSE="truetype examples"
125 -
126 -DEPEND="app-misc/g15daemon
127 - >=dev-libs/libg15render-1.2[truetype?]
128 - truetype? ( media-libs/freetype )"
129 -
130 -src_configure() {
131 - econf \
132 - $(use_enable truetype ttf)
133 -}
134 -
135 -src_install() {
136 - default
137 -
138 - newinitd "${FILESDIR}/${P}.initd" ${PN}
139 - newconfd "${FILESDIR}/${P}.confd" ${PN}
140 -
141 - if use examples ; then
142 - exeinto "/usr/share/${PN}"
143 - doexe examples/*
144 - fi
145 -}
146 -
147 -pkg_postinst() {
148 - elog "Set the user to run g15composer in /etc/conf.d/g15composer before starting the service."
149 -}