public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-misc/tpconfig/files/, app-misc/tpconfig/
@ 2016-04-26 22:27 Austin English
  0 siblings, 0 replies; 2+ messages in thread
From: Austin English @ 2016-04-26 22:27 UTC (permalink / raw
  To: gentoo-commits

commit:     1171d9fc0a5e2f7a5cac6f8f2d9b24342bee8f75
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 26 20:21:15 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 22:26:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1171d9fc

app-misc/tpconfig: use #!/sbin/openrc-run instead of #!/sbin/runscript

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573846

Package-Manager: portage-2.2.26

 app-misc/tpconfig/files/tpconfig           |  4 ++--
 app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild | 26 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/app-misc/tpconfig/files/tpconfig b/app-misc/tpconfig/files/tpconfig
index 62cb0a7..29efa6e 100644
--- a/app-misc/tpconfig/files/tpconfig
+++ b/app-misc/tpconfig/files/tpconfig
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild b/app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild
new file mode 100644
index 0000000..df31ea4
--- /dev/null
+++ b/app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit toolchain-funcs
+
+DESCRIPTION="Touchpad config for ALPS and Synaptics TPs. Controls tap/click behaviour"
+HOMEPAGE="http://www.compass.com/synaptics/"
+SRC_URI="http://www.compass.com/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE=""
+
+src_compile() {
+	econf
+	emake CC="$(tc-getCC)" || die "emake failed"
+}
+
+src_install() {
+	dobin tpconfig || die "dobin failed!"
+	dodoc README AUTHORS NEWS INSTALL
+	doinitd "${FILESDIR}"/tpconfig
+	newconfd "${FILESDIR}"/tpconfig.conf tpconfig
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-misc/tpconfig/files/, app-misc/tpconfig/
@ 2021-03-24 16:07 Matt Turner
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Turner @ 2021-03-24 16:07 UTC (permalink / raw
  To: gentoo-commits

commit:     956d31bbd2b5152717da12cde6f6c06d5c7da510
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Sat Feb 13 01:34:01 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Mar 24 16:06:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=956d31bb

app-misc/tpconfig: revbump for d-m-i

Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 app-misc/tpconfig/files/tpconfig-r1        | 22 ++++++++++++++++++++++
 app-misc/tpconfig/tpconfig-3.1.3-r3.ebuild | 24 ++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/app-misc/tpconfig/files/tpconfig-r1 b/app-misc/tpconfig/files/tpconfig-r1
new file mode 100644
index 00000000000..10020958a03
--- /dev/null
+++ b/app-misc/tpconfig/files/tpconfig-r1
@@ -0,0 +1,22 @@
+#!/sbin/openrc-run
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+	before display-manager
+}
+
+start() {
+	ebegin "Loading tpconfig options..."
+	/usr/bin/tpconfig ${TPOPTIONS} > /dev/null 2> /tmp/tpconfig.start
+	if [ -z "`cat /tmp/tpconfig.start 2> /dev/null`" ]; then
+		eend 0
+	else
+		eend 1
+	fi
+}
+
+stop() {
+	ebegin "Stoping tpconfig (this does nothing)..."
+	eend 0
+}

diff --git a/app-misc/tpconfig/tpconfig-3.1.3-r3.ebuild b/app-misc/tpconfig/tpconfig-3.1.3-r3.ebuild
new file mode 100644
index 00000000000..b80c3d28c2f
--- /dev/null
+++ b/app-misc/tpconfig/tpconfig-3.1.3-r3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Touchpad config for ALPS and Synaptics TPs. Controls tap/click behaviour"
+HOMEPAGE="http://www.compass.com/synaptics/"
+SRC_URI="http://www.compass.com/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_compile() {
+	emake CC="$(tc-getCC)"
+}
+
+src_install() {
+	einstalldocs
+	dobin "${PN}"
+	newinitd "${FILESDIR}"/"${PN}-r1" "${PN}"
+	newconfd "${FILESDIR}"/"${PN}.conf" "${PN}"
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-24 16:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-26 22:27 [gentoo-commits] repo/gentoo:master commit in: app-misc/tpconfig/files/, app-misc/tpconfig/ Austin English
  -- strict thread matches above, loose matches on Subject: below --
2021-03-24 16:07 Matt Turner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox