public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2022-05-25 12:36 Sebastian Pipping
  0 siblings, 0 replies; 28+ messages in thread
From: Sebastian Pipping @ 2022-05-25 12:36 UTC (permalink / raw
  To: gentoo-commits

commit:     fa3beab036f856af10c013400039bdc29993db0c
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Wed May 25 12:35:51 2022 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Wed May 25 12:35:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa3beab0

app-misc/spacenavd: Add missing call to udev_reload + EAPI 8

Closes: https://bugs.gentoo.org/847268
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3

 app-misc/spacenavd/spacenavd-1.0-r1.ebuild | 84 ++++++++++++++++++++++++++++++
 1 file changed, 84 insertions(+)

diff --git a/app-misc/spacenavd/spacenavd-1.0-r1.ebuild b/app-misc/spacenavd/spacenavd-1.0-r1.ebuild
new file mode 100644
index 000000000000..34eaefe072cb
--- /dev/null
+++ b/app-misc/spacenavd/spacenavd-1.0-r1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic linux-info systemd toolchain-funcs udev
+
+MY_PN='spacenav'
+DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
+HOMEPAGE="http://spacenav.sourceforge.net/"
+SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="X"
+
+RDEPEND="X? (
+		x11-apps/xdpyinfo
+		x11-base/xorg-proto
+		x11-libs/libX11
+		x11-libs/libXi
+		x11-libs/libXtst
+	)"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	CONFIG_CHECK="~INPUT_EVDEV"
+	ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly"
+	check_extra_config
+}
+
+src_configure() {
+	append-cflags -fcommon  # bug 708648
+	econf \
+		--disable-debug \
+		--enable-hotplug \
+		--disable-opt \
+		$(use_enable X x11)
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)"
+}
+
+src_install() {
+	# Config file
+	insinto /etc
+	newins "${S}/doc/example-spnavrc" spnavrc.sample
+
+	# Init script
+	newinitd "${FILESDIR}/spnavd" spacenavd
+	systemd_dounit "${FILESDIR}/spacenavd.service"
+
+	# Install udev rule but leave activiation to the user
+	# since Xorg may be configured to grab the device already
+	udev_newrules "${FILESDIR}"/99-space-navigator.rules-r2 99-space-navigator.rules.ignored
+
+	# Daemon
+	dobin "${S}/spacenavd"
+	use X && dobin "${S}/spnavd_ctl"
+}
+
+pkg_postinst() {
+	udev_reload
+
+	elog "To start the Spacenav daemon system-wide by default"
+	elog "you should add it to the default runlevel :"
+	elog "\`rc-update add spacenavd default\` (for openRC)"
+	elog "\`systemctl enable spacenavd\` (for systemd)"
+	elog
+	if use X; then
+		elog "To start generating Spacenav X events by default"
+		elog "you should add this command in your user startup"
+		elog "scripts such as .gnomerc or .xinitrc :"
+		elog "\`spnavd_ctl x11 start\`"
+		elog
+	fi
+	elog "If you want to auto-start the daemon when you plug in"
+	elog "a SpaceNavigator device, activate the related udev rule :"
+	elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`"
+	ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run"
+	ewarn "the new version of the daemon or \`systemctl restart spacenavd\`"
+	ewarn "if using systemd."
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2024-10-03 15:50 Jakov Smolić
  0 siblings, 0 replies; 28+ messages in thread
From: Jakov Smolić @ 2024-10-03 15:50 UTC (permalink / raw
  To: gentoo-commits

commit:     a6a58f7044f1bf06c2341ca92b1a19f8a8380512
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  3 15:50:00 2024 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Oct  3 15:50:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6a58f70

app-misc/spacenavd: Stabilize 1.2 amd64, #940657

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 app-misc/spacenavd/spacenavd-1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/spacenavd/spacenavd-1.2.ebuild b/app-misc/spacenavd/spacenavd-1.2.ebuild
index bff787e4747d..57fa059c0422 100644
--- a/app-misc/spacenavd/spacenavd-1.2.ebuild
+++ b/app-misc/spacenavd/spacenavd-1.2.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="http://spacenav.sourceforge.net/"
 SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 ~riscv x86"
 IUSE="X"
 
 RDEPEND="X? (


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2024-10-03 15:35 Sebastian Pipping
  0 siblings, 0 replies; 28+ messages in thread
From: Sebastian Pipping @ 2024-10-03 15:35 UTC (permalink / raw
  To: gentoo-commits

commit:     8da2dfb0e4f37aee38c9d0479e2519f387925d33
Author:     Richard Nespithal <richard <AT> nespithal <DOT> com>
AuthorDate: Sun Aug 11 22:04:45 2024 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Thu Oct  3 15:32:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8da2dfb0

app-misc/spacenavd: 1.3

Closes: https://github.com/gentoo/gentoo/pull/38108
Signed-off-by: Richard Nespithal <richard <AT> nespithal.com>
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>

 app-misc/spacenavd/Manifest             |  1 +
 app-misc/spacenavd/spacenavd-1.3.ebuild | 90 +++++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+)

diff --git a/app-misc/spacenavd/Manifest b/app-misc/spacenavd/Manifest
index a7da0bf60c28..a973613891d3 100644
--- a/app-misc/spacenavd/Manifest
+++ b/app-misc/spacenavd/Manifest
@@ -1,3 +1,4 @@
 DIST spacenavd-0.8.tar.gz 47515 BLAKE2B 5ab3432220ae44222b72b3fe18df096322031e0e2643798f494a87287e89607370cd15da919eececc714aacee1b75708a365feac5a182c901d63bdf4fa9f52c1 SHA512 8bb0dd2a95c602d23c84750e55ee649e7999bce43607cd09559f36a782780ceb15769bc0ed8e35b56f7c4b0724574830c2c06d4d8853b6f997ed8bba04441a05
 DIST spacenavd-1.1.tar.gz 63642 BLAKE2B 09758883de240e291ffa5784622e79b6ecde46af0f5abcfff8e3692b3428b1aa7e64735a6bc24b84264a4682cc4db623cc38e2f874e346d76d661823b302da37 SHA512 954f6c8d429a2381cbc4ff4387e0e58be444959f1920601e07053e9068b7bdb0c70daefd03fff270560954f4b8c28e6a1b1164106867de969057909372f84168
 DIST spacenavd-1.2.tar.gz 62837 BLAKE2B 3532a2f481c6f5997e30d18939bc22c1287af6aa4ac2dacc8a6c683c497aacf648a8ddde4ca84b1e3340cf5deb922667e92eb3613ac9eaae1baed42281488508 SHA512 26c24afdfda4d8767fc3f94b3ab1da825622249b55666f516aa52251cd756c23f4104f1e22f951dae49d4779dd5b85383d8c0b50b09318eee923f2c707136834
+DIST spacenavd-1.3.tar.gz 63619 BLAKE2B c85c423a574d467e52abf1200a042de889bd03176e01721143d44d18bcffc3ae51e0142db99bc172acc6c38cac6f559b56f950ee21c718127335b73e1edd2d6e SHA512 d3294116d05da4eb2c244c577d1828c28af8827b001a0c323079326d7fab3802f8428224f289b457de9c5e2e18c4222bd1b2bf06045cbc94de159f6983084366

diff --git a/app-misc/spacenavd/spacenavd-1.3.ebuild b/app-misc/spacenavd/spacenavd-1.3.ebuild
new file mode 100644
index 000000000000..2199bf12fff8
--- /dev/null
+++ b/app-misc/spacenavd/spacenavd-1.3.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic linux-info systemd toolchain-funcs udev
+
+MY_PN='spacenav'
+DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
+HOMEPAGE="http://spacenav.sourceforge.net/"
+SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="X"
+
+RDEPEND="X? (
+		x11-apps/xdpyinfo
+		x11-base/xorg-proto
+		x11-libs/libX11
+		x11-libs/libXi
+		x11-libs/libXtst
+	)"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	CONFIG_CHECK="~INPUT_EVDEV"
+	ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly"
+	check_extra_config
+}
+
+src_configure() {
+	append-cflags -fcommon  # bug 708648
+	econf \
+		--disable-debug \
+		--enable-hotplug \
+		--disable-opt \
+		$(use_enable X x11)
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)"
+}
+
+src_install() {
+	# Config file
+	insinto /etc
+	newins "${S}/doc/example-spnavrc" spnavrc.sample
+	newins "${S}/doc/spnavrc_smouse_ent" spnavrc-space-mouse-enterprise.sample
+	newins "${S}/doc/spnavrc_spilot" spnavrc-space-pilot.sample
+
+	# Init script
+	newinitd "${FILESDIR}/spnavd" spacenavd
+	systemd_dounit "${FILESDIR}/spacenavd.service"
+
+	# Install udev rule but leave activiation to the user
+	# since Xorg may be configured to grab the device already
+	udev_newrules "${FILESDIR}"/99-space-navigator.rules-r2 99-space-navigator.rules.ignored
+
+	# Daemon
+	dobin "${S}/spacenavd"
+	use X && dobin "${S}/spnavd_ctl"
+}
+
+pkg_postinst() {
+	udev_reload
+
+	elog "To start the Spacenav daemon system-wide by default"
+	elog "you should add it to the default runlevel :"
+	elog "\`rc-update add spacenavd default\` (for openRC)"
+	elog "\`systemctl enable spacenavd\` (for systemd)"
+	elog
+	if use X; then
+		elog "To start generating Spacenav X events by default"
+		elog "you should add this command in your user startup"
+		elog "scripts such as .gnomerc or .xinitrc :"
+		elog "\`spnavd_ctl x11 start\`"
+		elog
+	fi
+	elog "If you want to auto-start the daemon when you plug in"
+	elog "a SpaceNavigator device, activate the related udev rule :"
+	elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`"
+	ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run"
+	ewarn "the new version of the daemon or \`systemctl restart spacenavd\`"
+	ewarn "if using systemd."
+}
+
+pkg_postrm() {
+	udev_reload
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2024-10-03  3:43 Sam James
  0 siblings, 0 replies; 28+ messages in thread
From: Sam James @ 2024-10-03  3:43 UTC (permalink / raw
  To: gentoo-commits

commit:     7abebe8d293c8cf1548fe49cf172b364912c5807
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  3 03:43:22 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct  3 03:43:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7abebe8d

app-misc/spacenavd: Stabilize 1.2 x86, #940657

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/spacenavd/spacenavd-1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/spacenavd/spacenavd-1.2.ebuild b/app-misc/spacenavd/spacenavd-1.2.ebuild
index 8adc9944c0ec..bff787e4747d 100644
--- a/app-misc/spacenavd/spacenavd-1.2.ebuild
+++ b/app-misc/spacenavd/spacenavd-1.2.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="http://spacenav.sourceforge.net/"
 SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~riscv x86"
 IUSE="X"
 
 RDEPEND="X? (


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2024-10-03  3:24 Sam James
  0 siblings, 0 replies; 28+ messages in thread
From: Sam James @ 2024-10-03  3:24 UTC (permalink / raw
  To: gentoo-commits

commit:     c1595d9cbaafc942482b7ad112ab6ac4cfbfeea8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  3 03:24:39 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct  3 03:24:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1595d9c

app-misc/spacenavd: Stabilize 1.2 ppc64, #940657

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/spacenavd/spacenavd-1.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/spacenavd/spacenavd-1.2.ebuild b/app-misc/spacenavd/spacenavd-1.2.ebuild
index c228ea72bd82..8adc9944c0ec 100644
--- a/app-misc/spacenavd/spacenavd-1.2.ebuild
+++ b/app-misc/spacenavd/spacenavd-1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ HOMEPAGE="http://spacenav.sourceforge.net/"
 SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~riscv ~x86"
 IUSE="X"
 
 RDEPEND="X? (


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2022-12-13 15:33 Sebastian Pipping
  0 siblings, 0 replies; 28+ messages in thread
From: Sebastian Pipping @ 2022-12-13 15:33 UTC (permalink / raw
  To: gentoo-commits

commit:     404d1b9b9ec2ad2617fcf14d16b453b2ebc923fe
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 13 15:30:24 2022 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Tue Dec 13 15:30:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=404d1b9b

app-misc/spacenavd: 1.2

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>

 app-misc/spacenavd/Manifest             |  1 +
 app-misc/spacenavd/spacenavd-1.2.ebuild | 90 +++++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+)

diff --git a/app-misc/spacenavd/Manifest b/app-misc/spacenavd/Manifest
index a3619fa8ed68..a7da0bf60c28 100644
--- a/app-misc/spacenavd/Manifest
+++ b/app-misc/spacenavd/Manifest
@@ -1,2 +1,3 @@
 DIST spacenavd-0.8.tar.gz 47515 BLAKE2B 5ab3432220ae44222b72b3fe18df096322031e0e2643798f494a87287e89607370cd15da919eececc714aacee1b75708a365feac5a182c901d63bdf4fa9f52c1 SHA512 8bb0dd2a95c602d23c84750e55ee649e7999bce43607cd09559f36a782780ceb15769bc0ed8e35b56f7c4b0724574830c2c06d4d8853b6f997ed8bba04441a05
 DIST spacenavd-1.1.tar.gz 63642 BLAKE2B 09758883de240e291ffa5784622e79b6ecde46af0f5abcfff8e3692b3428b1aa7e64735a6bc24b84264a4682cc4db623cc38e2f874e346d76d661823b302da37 SHA512 954f6c8d429a2381cbc4ff4387e0e58be444959f1920601e07053e9068b7bdb0c70daefd03fff270560954f4b8c28e6a1b1164106867de969057909372f84168
+DIST spacenavd-1.2.tar.gz 62837 BLAKE2B 3532a2f481c6f5997e30d18939bc22c1287af6aa4ac2dacc8a6c683c497aacf648a8ddde4ca84b1e3340cf5deb922667e92eb3613ac9eaae1baed42281488508 SHA512 26c24afdfda4d8767fc3f94b3ab1da825622249b55666f516aa52251cd756c23f4104f1e22f951dae49d4779dd5b85383d8c0b50b09318eee923f2c707136834

diff --git a/app-misc/spacenavd/spacenavd-1.2.ebuild b/app-misc/spacenavd/spacenavd-1.2.ebuild
new file mode 100644
index 000000000000..c228ea72bd82
--- /dev/null
+++ b/app-misc/spacenavd/spacenavd-1.2.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic linux-info systemd toolchain-funcs udev
+
+MY_PN='spacenav'
+DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
+HOMEPAGE="http://spacenav.sourceforge.net/"
+SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="X"
+
+RDEPEND="X? (
+		x11-apps/xdpyinfo
+		x11-base/xorg-proto
+		x11-libs/libX11
+		x11-libs/libXi
+		x11-libs/libXtst
+	)"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	CONFIG_CHECK="~INPUT_EVDEV"
+	ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly"
+	check_extra_config
+}
+
+src_configure() {
+	append-cflags -fcommon  # bug 708648
+	econf \
+		--disable-debug \
+		--enable-hotplug \
+		--disable-opt \
+		$(use_enable X x11)
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)"
+}
+
+src_install() {
+	# Config file
+	insinto /etc
+	newins "${S}/doc/example-spnavrc" spnavrc.sample
+	newins "${S}/doc/spnavrc_smouse_ent" spnavrc-space-mouse-enterprise.sample
+	newins "${S}/doc/spnavrc_spilot" spnavrc-space-pilot.sample
+
+	# Init script
+	newinitd "${FILESDIR}/spnavd" spacenavd
+	systemd_dounit "${FILESDIR}/spacenavd.service"
+
+	# Install udev rule but leave activiation to the user
+	# since Xorg may be configured to grab the device already
+	udev_newrules "${FILESDIR}"/99-space-navigator.rules-r2 99-space-navigator.rules.ignored
+
+	# Daemon
+	dobin "${S}/spacenavd"
+	use X && dobin "${S}/spnavd_ctl"
+}
+
+pkg_postinst() {
+	udev_reload
+
+	elog "To start the Spacenav daemon system-wide by default"
+	elog "you should add it to the default runlevel :"
+	elog "\`rc-update add spacenavd default\` (for openRC)"
+	elog "\`systemctl enable spacenavd\` (for systemd)"
+	elog
+	if use X; then
+		elog "To start generating Spacenav X events by default"
+		elog "you should add this command in your user startup"
+		elog "scripts such as .gnomerc or .xinitrc :"
+		elog "\`spnavd_ctl x11 start\`"
+		elog
+	fi
+	elog "If you want to auto-start the daemon when you plug in"
+	elog "a SpaceNavigator device, activate the related udev rule :"
+	elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`"
+	ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run"
+	ewarn "the new version of the daemon or \`systemctl restart spacenavd\`"
+	ewarn "if using systemd."
+}
+
+pkg_postrm() {
+	udev_reload
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2022-11-28 20:37 Sebastian Pipping
  0 siblings, 0 replies; 28+ messages in thread
From: Sebastian Pipping @ 2022-11-28 20:37 UTC (permalink / raw
  To: gentoo-commits

commit:     3b32b6cc8f2b7c4a559503e54f36cbc8a00929d5
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 28 20:28:17 2022 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Nov 28 20:37:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b32b6cc

app-misc/spacenavd: MissingRemoteId

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>

 app-misc/spacenavd/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-misc/spacenavd/metadata.xml b/app-misc/spacenavd/metadata.xml
index 65949603f5cb..f6c756f67337 100644
--- a/app-misc/spacenavd/metadata.xml
+++ b/app-misc/spacenavd/metadata.xml
@@ -15,6 +15,7 @@
 		original protocol does. 
 	</longdescription>
 	<upstream>
+		<remote-id type="github">FreeSpacenav/spacenavd</remote-id>
 		<remote-id type="sourceforge">spacenav</remote-id>
 	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2022-09-04 22:37 Sebastian Pipping
  0 siblings, 0 replies; 28+ messages in thread
From: Sebastian Pipping @ 2022-09-04 22:37 UTC (permalink / raw
  To: gentoo-commits

commit:     a9979e22de1d63bae880ae48976a81c900ff7665
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  4 22:35:28 2022 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Sep  4 22:36:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9979e22

app-misc/spacenavd: 1.1

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3

 app-misc/spacenavd/Manifest             |  1 +
 app-misc/spacenavd/spacenavd-1.1.ebuild | 90 +++++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+)

diff --git a/app-misc/spacenavd/Manifest b/app-misc/spacenavd/Manifest
index 54252c7ac7b6..94180792275c 100644
--- a/app-misc/spacenavd/Manifest
+++ b/app-misc/spacenavd/Manifest
@@ -1,3 +1,4 @@
 DIST spacenavd-0.7.1.tar.gz 56703 BLAKE2B 99a918090cf8875e5b5cbb48ceffc383b415d9bbe297e49630c8e48ab78bd547244005b5a91e1bb7abc01382ae332758dfc01297bc8f6fb9a05247330cde8127 SHA512 6bfd76f9187ce77c09cb6ebb73bce45391e675cda51437b647510afef574aa6e3f947f467e03a464e245a5e44f699db1d197a58a06a64a2199686b1ab596517f
 DIST spacenavd-0.8.tar.gz 47515 BLAKE2B 5ab3432220ae44222b72b3fe18df096322031e0e2643798f494a87287e89607370cd15da919eececc714aacee1b75708a365feac5a182c901d63bdf4fa9f52c1 SHA512 8bb0dd2a95c602d23c84750e55ee649e7999bce43607cd09559f36a782780ceb15769bc0ed8e35b56f7c4b0724574830c2c06d4d8853b6f997ed8bba04441a05
 DIST spacenavd-1.0.tar.gz 59903 BLAKE2B c6280f3b4aee86bc41df393659bcd3d9734e1eae000aab6fed5414278322db5f9d3ba01cdabf53f69f25c3ff1bfbe0a197154d15015a1ac1d98cd78fbeeed30b SHA512 a9f243adc4285a9d9200fdf622e1dab87bee908a3e3ef896533405bd497d065a578cfbf8b507cd0c25a5db349ba1c3624c98a363477ecc989594bfb6c8529fa2
+DIST spacenavd-1.1.tar.gz 63642 BLAKE2B 09758883de240e291ffa5784622e79b6ecde46af0f5abcfff8e3692b3428b1aa7e64735a6bc24b84264a4682cc4db623cc38e2f874e346d76d661823b302da37 SHA512 954f6c8d429a2381cbc4ff4387e0e58be444959f1920601e07053e9068b7bdb0c70daefd03fff270560954f4b8c28e6a1b1164106867de969057909372f84168

diff --git a/app-misc/spacenavd/spacenavd-1.1.ebuild b/app-misc/spacenavd/spacenavd-1.1.ebuild
new file mode 100644
index 000000000000..c228ea72bd82
--- /dev/null
+++ b/app-misc/spacenavd/spacenavd-1.1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic linux-info systemd toolchain-funcs udev
+
+MY_PN='spacenav'
+DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
+HOMEPAGE="http://spacenav.sourceforge.net/"
+SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="X"
+
+RDEPEND="X? (
+		x11-apps/xdpyinfo
+		x11-base/xorg-proto
+		x11-libs/libX11
+		x11-libs/libXi
+		x11-libs/libXtst
+	)"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	CONFIG_CHECK="~INPUT_EVDEV"
+	ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly"
+	check_extra_config
+}
+
+src_configure() {
+	append-cflags -fcommon  # bug 708648
+	econf \
+		--disable-debug \
+		--enable-hotplug \
+		--disable-opt \
+		$(use_enable X x11)
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)"
+}
+
+src_install() {
+	# Config file
+	insinto /etc
+	newins "${S}/doc/example-spnavrc" spnavrc.sample
+	newins "${S}/doc/spnavrc_smouse_ent" spnavrc-space-mouse-enterprise.sample
+	newins "${S}/doc/spnavrc_spilot" spnavrc-space-pilot.sample
+
+	# Init script
+	newinitd "${FILESDIR}/spnavd" spacenavd
+	systemd_dounit "${FILESDIR}/spacenavd.service"
+
+	# Install udev rule but leave activiation to the user
+	# since Xorg may be configured to grab the device already
+	udev_newrules "${FILESDIR}"/99-space-navigator.rules-r2 99-space-navigator.rules.ignored
+
+	# Daemon
+	dobin "${S}/spacenavd"
+	use X && dobin "${S}/spnavd_ctl"
+}
+
+pkg_postinst() {
+	udev_reload
+
+	elog "To start the Spacenav daemon system-wide by default"
+	elog "you should add it to the default runlevel :"
+	elog "\`rc-update add spacenavd default\` (for openRC)"
+	elog "\`systemctl enable spacenavd\` (for systemd)"
+	elog
+	if use X; then
+		elog "To start generating Spacenav X events by default"
+		elog "you should add this command in your user startup"
+		elog "scripts such as .gnomerc or .xinitrc :"
+		elog "\`spnavd_ctl x11 start\`"
+		elog
+	fi
+	elog "If you want to auto-start the daemon when you plug in"
+	elog "a SpaceNavigator device, activate the related udev rule :"
+	elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`"
+	ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run"
+	ewarn "the new version of the daemon or \`systemctl restart spacenavd\`"
+	ewarn "if using systemd."
+}
+
+pkg_postrm() {
+	udev_reload
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2022-06-08 13:07 Sebastian Pipping
  0 siblings, 0 replies; 28+ messages in thread
From: Sebastian Pipping @ 2022-06-08 13:07 UTC (permalink / raw
  To: gentoo-commits

commit:     50549e619b80990a968e0226764e0b5a60f7f923
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  8 13:06:35 2022 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Wed Jun  8 13:07:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50549e61

app-misc/spacenavd: Add udev_reload to pkg_postrm

Bug: https://bugs.gentoo.org/847268
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3

 app-misc/spacenavd/spacenavd-1.0-r2.ebuild | 88 ++++++++++++++++++++++++++++++
 1 file changed, 88 insertions(+)

diff --git a/app-misc/spacenavd/spacenavd-1.0-r2.ebuild b/app-misc/spacenavd/spacenavd-1.0-r2.ebuild
new file mode 100644
index 000000000000..b389c8cc7dc5
--- /dev/null
+++ b/app-misc/spacenavd/spacenavd-1.0-r2.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic linux-info systemd toolchain-funcs udev
+
+MY_PN='spacenav'
+DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
+HOMEPAGE="http://spacenav.sourceforge.net/"
+SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="X"
+
+RDEPEND="X? (
+		x11-apps/xdpyinfo
+		x11-base/xorg-proto
+		x11-libs/libX11
+		x11-libs/libXi
+		x11-libs/libXtst
+	)"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	CONFIG_CHECK="~INPUT_EVDEV"
+	ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly"
+	check_extra_config
+}
+
+src_configure() {
+	append-cflags -fcommon  # bug 708648
+	econf \
+		--disable-debug \
+		--enable-hotplug \
+		--disable-opt \
+		$(use_enable X x11)
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)"
+}
+
+src_install() {
+	# Config file
+	insinto /etc
+	newins "${S}/doc/example-spnavrc" spnavrc.sample
+
+	# Init script
+	newinitd "${FILESDIR}/spnavd" spacenavd
+	systemd_dounit "${FILESDIR}/spacenavd.service"
+
+	# Install udev rule but leave activiation to the user
+	# since Xorg may be configured to grab the device already
+	udev_newrules "${FILESDIR}"/99-space-navigator.rules-r2 99-space-navigator.rules.ignored
+
+	# Daemon
+	dobin "${S}/spacenavd"
+	use X && dobin "${S}/spnavd_ctl"
+}
+
+pkg_postinst() {
+	udev_reload
+
+	elog "To start the Spacenav daemon system-wide by default"
+	elog "you should add it to the default runlevel :"
+	elog "\`rc-update add spacenavd default\` (for openRC)"
+	elog "\`systemctl enable spacenavd\` (for systemd)"
+	elog
+	if use X; then
+		elog "To start generating Spacenav X events by default"
+		elog "you should add this command in your user startup"
+		elog "scripts such as .gnomerc or .xinitrc :"
+		elog "\`spnavd_ctl x11 start\`"
+		elog
+	fi
+	elog "If you want to auto-start the daemon when you plug in"
+	elog "a SpaceNavigator device, activate the related udev rule :"
+	elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`"
+	ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run"
+	ewarn "the new version of the daemon or \`systemctl restart spacenavd\`"
+	ewarn "if using systemd."
+}
+
+pkg_postrm() {
+	udev_reload
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2022-04-03 20:07 Sebastian Pipping
  0 siblings, 0 replies; 28+ messages in thread
From: Sebastian Pipping @ 2022-04-03 20:07 UTC (permalink / raw
  To: gentoo-commits

commit:     178a4b15bd0026ab41326db2841d7eacbb654359
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  3 20:04:08 2022 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Apr  3 20:05:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=178a4b15

app-misc/spacenavd: 1.0

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3

 app-misc/spacenavd/Manifest             |  1 +
 app-misc/spacenavd/spacenavd-1.0.ebuild | 83 +++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

diff --git a/app-misc/spacenavd/Manifest b/app-misc/spacenavd/Manifest
index c87f44b46fcb..54252c7ac7b6 100644
--- a/app-misc/spacenavd/Manifest
+++ b/app-misc/spacenavd/Manifest
@@ -1,2 +1,3 @@
 DIST spacenavd-0.7.1.tar.gz 56703 BLAKE2B 99a918090cf8875e5b5cbb48ceffc383b415d9bbe297e49630c8e48ab78bd547244005b5a91e1bb7abc01382ae332758dfc01297bc8f6fb9a05247330cde8127 SHA512 6bfd76f9187ce77c09cb6ebb73bce45391e675cda51437b647510afef574aa6e3f947f467e03a464e245a5e44f699db1d197a58a06a64a2199686b1ab596517f
 DIST spacenavd-0.8.tar.gz 47515 BLAKE2B 5ab3432220ae44222b72b3fe18df096322031e0e2643798f494a87287e89607370cd15da919eececc714aacee1b75708a365feac5a182c901d63bdf4fa9f52c1 SHA512 8bb0dd2a95c602d23c84750e55ee649e7999bce43607cd09559f36a782780ceb15769bc0ed8e35b56f7c4b0724574830c2c06d4d8853b6f997ed8bba04441a05
+DIST spacenavd-1.0.tar.gz 59903 BLAKE2B c6280f3b4aee86bc41df393659bcd3d9734e1eae000aab6fed5414278322db5f9d3ba01cdabf53f69f25c3ff1bfbe0a197154d15015a1ac1d98cd78fbeeed30b SHA512 a9f243adc4285a9d9200fdf622e1dab87bee908a3e3ef896533405bd497d065a578cfbf8b507cd0c25a5db349ba1c3624c98a363477ecc989594bfb6c8529fa2

diff --git a/app-misc/spacenavd/spacenavd-1.0.ebuild b/app-misc/spacenavd/spacenavd-1.0.ebuild
new file mode 100644
index 000000000000..b7aa0b95561a
--- /dev/null
+++ b/app-misc/spacenavd/spacenavd-1.0.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic linux-info systemd toolchain-funcs udev
+
+MY_PN='spacenav'
+DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
+HOMEPAGE="http://spacenav.sourceforge.net/"
+SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="X"
+
+RDEPEND="X? (
+		x11-apps/xdpyinfo
+		x11-base/xorg-proto
+		x11-libs/libX11
+		x11-libs/libXi
+		x11-libs/libXtst
+	)"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	CONFIG_CHECK="~INPUT_EVDEV"
+	ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly"
+	check_extra_config
+}
+
+src_configure() {
+	append-cflags -fcommon  # bug 708648
+	econf \
+		--disable-debug \
+		--enable-hotplug \
+		--disable-opt \
+		$(use_enable X x11)
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)"
+}
+
+src_install() {
+	# Config file
+	insinto /etc
+	newins "${S}/doc/example-spnavrc" spnavrc.sample
+
+	# Init script
+	newinitd "${FILESDIR}/spnavd" spacenavd
+	systemd_dounit "${FILESDIR}/spacenavd.service"
+
+	# Install udev rule but leave activiation to the user
+	# since Xorg may be configured to grab the device already
+	udev_newrules "${FILESDIR}"/99-space-navigator.rules-r2 99-space-navigator.rules.ignored
+
+	# Daemon
+	dobin "${S}/spacenavd"
+	use X && dobin "${S}/spnavd_ctl"
+}
+
+pkg_postinst() {
+	elog "To start the Spacenav daemon system-wide by default"
+	elog "you should add it to the default runlevel :"
+	elog "\`rc-update add spacenavd default\` (for openRC)"
+	elog "\`systemctl enable spacenavd\` (for systemd)"
+	elog
+	if use X; then
+		elog "To start generating Spacenav X events by default"
+		elog "you should add this command in your user startup"
+		elog "scripts such as .gnomerc or .xinitrc :"
+		elog "\`spnavd_ctl x11 start\`"
+		elog
+	fi
+	elog
+	elog "If you want to auto-start the daemon when you plug in"
+	elog "a SpaceNavigator device, activate the related udev rule :"
+	elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`"
+	ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run"
+	ewarn "the new version of the daemon or \`systemctl restart spacenavd\`"
+	ewarn "if using systemd."
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2021-12-29 13:46 Yixun Lan
  0 siblings, 0 replies; 28+ messages in thread
From: Yixun Lan @ 2021-12-29 13:46 UTC (permalink / raw
  To: gentoo-commits

commit:     feb6be77382b48b34d86352a959c5f21af168064
Author:     Alex Fan <alex.fan.q <AT> gmail <DOT> com>
AuthorDate: Tue Dec 28 10:08:04 2021 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Dec 29 13:39:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feb6be77

app-misc/spacenavd: keyword 0.8 for ~riscv

Signed-off-by: Alex Fan <alex.fan.q <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 app-misc/spacenavd/spacenavd-0.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/spacenavd/spacenavd-0.8.ebuild b/app-misc/spacenavd/spacenavd-0.8.ebuild
index 3db32eb95977..acd942fe9884 100644
--- a/app-misc/spacenavd/spacenavd-0.8.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.8.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="http://spacenav.sourceforge.net/"
 SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 ~riscv x86"
 IUSE="X"
 
 RDEPEND="X? (


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2021-03-13 11:37 Sam James
  0 siblings, 0 replies; 28+ messages in thread
From: Sam James @ 2021-03-13 11:37 UTC (permalink / raw
  To: gentoo-commits

commit:     b6353c8c4c86611ee5923e27d8f784ec78b155e5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 13 11:36:56 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 13 11:37:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6353c8c

app-misc/spacenavd: Stabilize 0.8 x86, #775695

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/spacenavd/spacenavd-0.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/spacenavd/spacenavd-0.8.ebuild b/app-misc/spacenavd/spacenavd-0.8.ebuild
index 88d1fd8e427..3db32eb9597 100644
--- a/app-misc/spacenavd/spacenavd-0.8.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.8.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="http://spacenav.sourceforge.net/"
 SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
 IUSE="X"
 
 RDEPEND="X? (


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2021-03-13 11:36 Sam James
  0 siblings, 0 replies; 28+ messages in thread
From: Sam James @ 2021-03-13 11:36 UTC (permalink / raw
  To: gentoo-commits

commit:     363ddfe657465c537831417059e80af1ce3c12c4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 13 11:35:54 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 13 11:35:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=363ddfe6

app-misc/spacenavd: Stabilize 0.8 amd64, #775695

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/spacenavd/spacenavd-0.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/spacenavd/spacenavd-0.8.ebuild b/app-misc/spacenavd/spacenavd-0.8.ebuild
index d9e43f56178..88d1fd8e427 100644
--- a/app-misc/spacenavd/spacenavd-0.8.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.8.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="http://spacenav.sourceforge.net/"
 SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
 IUSE="X"
 
 RDEPEND="X? (


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2021-03-13  9:56 Sam James
  0 siblings, 0 replies; 28+ messages in thread
From: Sam James @ 2021-03-13  9:56 UTC (permalink / raw
  To: gentoo-commits

commit:     58b440b36d66895bf83e19fa3c3d4dcb2a040de8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 13 09:56:02 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 13 09:56:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58b440b3

app-misc/spacenavd: Stabilize 0.8 ppc64, #775695

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/spacenavd/spacenavd-0.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/spacenavd/spacenavd-0.8.ebuild b/app-misc/spacenavd/spacenavd-0.8.ebuild
index 3e2772c32f2..d9e43f56178 100644
--- a/app-misc/spacenavd/spacenavd-0.8.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.8.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="http://spacenav.sourceforge.net/"
 SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86"
 IUSE="X"
 
 RDEPEND="X? (


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2021-02-22  7:12 Sam James
  0 siblings, 0 replies; 28+ messages in thread
From: Sam James @ 2021-02-22  7:12 UTC (permalink / raw
  To: gentoo-commits

commit:     daa8d2f583ca2e9ea0430871b061ecc81deb0da8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 22 07:12:29 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 22 07:12:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daa8d2f5

app-misc/spacenavd: Keyword 0.8 arm, #556758

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/spacenavd/spacenavd-0.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/spacenavd/spacenavd-0.8.ebuild b/app-misc/spacenavd/spacenavd-0.8.ebuild
index 242921ea9c4..3e2772c32f2 100644
--- a/app-misc/spacenavd/spacenavd-0.8.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ HOMEPAGE="http://spacenav.sourceforge.net/"
 SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 IUSE="X"
 
 RDEPEND="X? (


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2020-08-25 10:25 Sam James
  0 siblings, 0 replies; 28+ messages in thread
From: Sam James @ 2020-08-25 10:25 UTC (permalink / raw
  To: gentoo-commits

commit:     a092772a23abbeb4de6e4954a6c6cfa81f3e4848
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 25 10:23:43 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 25 10:23:43 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a092772a

app-misc/spacenavd: arm64 keyworded (bug #734822)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/spacenavd/spacenavd-0.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/spacenavd/spacenavd-0.7.1.ebuild b/app-misc/spacenavd/spacenavd-0.7.1.ebuild
index a1ce45ad3cc..47b74b2d026 100644
--- a/app-misc/spacenavd/spacenavd-0.7.1.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.7.1.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="http://spacenav.sourceforge.net/"
 SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ppc64 x86"
+KEYWORDS="amd64 ~arm64 ppc64 x86"
 IUSE="X"
 
 RDEPEND="X? (


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2020-05-22  8:02 Sergei Trofimovich
  0 siblings, 0 replies; 28+ messages in thread
From: Sergei Trofimovich @ 2020-05-22  8:02 UTC (permalink / raw
  To: gentoo-commits

commit:     e6f7c2a7fe066abc9f7d865917604a5cdd4335af
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri May 22 07:57:52 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri May 22 08:02:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6f7c2a7

app-misc/spacenavd: stable 0.7.1 for ppc64, bug #724022

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 app-misc/spacenavd/spacenavd-0.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/spacenavd/spacenavd-0.7.1.ebuild b/app-misc/spacenavd/spacenavd-0.7.1.ebuild
index 5de513ed82d..a1ce45ad3cc 100644
--- a/app-misc/spacenavd/spacenavd-0.7.1.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.7.1.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="http://spacenav.sourceforge.net/"
 SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~ppc64 x86"
+KEYWORDS="amd64 ppc64 x86"
 IUSE="X"
 
 RDEPEND="X? (


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2020-05-21  9:05 Agostino Sarubbo
  0 siblings, 0 replies; 28+ messages in thread
From: Agostino Sarubbo @ 2020-05-21  9:05 UTC (permalink / raw
  To: gentoo-commits

commit:     448cb447e33a780c93ae83c66244d1efa845d070
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu May 21 09:04:46 2020 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu May 21 09:04:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=448cb447

app-misc/spacenavd: x86 stable wrt bug #724022

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 app-misc/spacenavd/spacenavd-0.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/spacenavd/spacenavd-0.7.1.ebuild b/app-misc/spacenavd/spacenavd-0.7.1.ebuild
index 1d838ab1da0..5de513ed82d 100644
--- a/app-misc/spacenavd/spacenavd-0.7.1.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.7.1.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="http://spacenav.sourceforge.net/"
 SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc64 x86"
 IUSE="X"
 
 RDEPEND="X? (


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2020-05-21  9:03 Agostino Sarubbo
  0 siblings, 0 replies; 28+ messages in thread
From: Agostino Sarubbo @ 2020-05-21  9:03 UTC (permalink / raw
  To: gentoo-commits

commit:     b973a49fd5e048db02fb4b9004d182a7da74155a
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu May 21 09:02:23 2020 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu May 21 09:02:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b973a49f

app-misc/spacenavd: amd64 stable wrt bug #724022

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 app-misc/spacenavd/spacenavd-0.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/spacenavd/spacenavd-0.7.1.ebuild b/app-misc/spacenavd/spacenavd-0.7.1.ebuild
index c36104bb835..1d838ab1da0 100644
--- a/app-misc/spacenavd/spacenavd-0.7.1.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.7.1.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="http://spacenav.sourceforge.net/"
 SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc64 ~x86"
 IUSE="X"
 
 RDEPEND="X? (


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2020-02-09 13:59 Sebastian Pipping
  0 siblings, 0 replies; 28+ messages in thread
From: Sebastian Pipping @ 2020-02-09 13:59 UTC (permalink / raw
  To: gentoo-commits

commit:     a6b3d60e88ce863e4c5bd26ef81c8a9e9fc4d3d0
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  9 13:58:23 2020 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 13:59:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6b3d60e

app-misc/spacenavd: Enforce -fcommon

Closes: https://bugs.gentoo.org/708648
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20

 app-misc/spacenavd/spacenavd-0.6.ebuild   | 3 ++-
 app-misc/spacenavd/spacenavd-0.7.1.ebuild | 3 ++-
 app-misc/spacenavd/spacenavd-0.7.ebuild   | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/app-misc/spacenavd/spacenavd-0.6.ebuild b/app-misc/spacenavd/spacenavd-0.6.ebuild
index bbf5b9cf9e0..bc0c390694e 100644
--- a/app-misc/spacenavd/spacenavd-0.6.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="5"
 
-inherit epatch linux-info systemd toolchain-funcs udev
+inherit flag-o-matic epatch linux-info systemd toolchain-funcs udev
 
 MY_PN='spacenav'
 DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
@@ -37,6 +37,7 @@ src_configure() {
 }
 
 src_compile() {
+	append-cflags -fcommon  # bug 708648
 	emake CC="$(tc-getCC)" \
 		add_cflags="${CFLAGS}" \
 		add_ldflags="${LDFLAGS}"

diff --git a/app-misc/spacenavd/spacenavd-0.7.1.ebuild b/app-misc/spacenavd/spacenavd-0.7.1.ebuild
index efe4773a4fc..e4ff48d27d9 100644
--- a/app-misc/spacenavd/spacenavd-0.7.1.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.7.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit linux-info systemd toolchain-funcs udev
+inherit flag-o-matic linux-info systemd toolchain-funcs udev
 
 MY_PN='spacenav'
 DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
@@ -24,6 +24,7 @@ pkg_setup() {
 }
 
 src_configure() {
+	append-cflags -fcommon  # bug 708648
 	econf \
 		--disable-debug \
 		--enable-hotplug \

diff --git a/app-misc/spacenavd/spacenavd-0.7.ebuild b/app-misc/spacenavd/spacenavd-0.7.ebuild
index 4c5a57fdbfa..e9fef0e6086 100644
--- a/app-misc/spacenavd/spacenavd-0.7.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.7.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit linux-info systemd toolchain-funcs udev
+inherit flag-o-matic linux-info systemd toolchain-funcs udev
 
 MY_PN='spacenav'
 DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
@@ -37,6 +37,7 @@ src_configure() {
 }
 
 src_compile() {
+	append-cflags -fcommon  # bug 708648
 	emake CC="$(tc-getCC)" \
 		add_cflags="${CFLAGS}" \
 		add_ldflags="${LDFLAGS}"


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2020-02-08 15:10 Sebastian Pipping
  0 siblings, 0 replies; 28+ messages in thread
From: Sebastian Pipping @ 2020-02-08 15:10 UTC (permalink / raw
  To: gentoo-commits

commit:     69e396fd3649281c0933d96b682bdfec8b7bb686
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  8 15:09:21 2020 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sat Feb  8 15:10:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69e396fd

app-misc/spacenavd: 0.7.1

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20

 app-misc/spacenavd/Manifest               |  1 +
 app-misc/spacenavd/spacenavd-0.7.1.ebuild | 76 +++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/app-misc/spacenavd/Manifest b/app-misc/spacenavd/Manifest
index 82c6f16e69d..7629ef99799 100644
--- a/app-misc/spacenavd/Manifest
+++ b/app-misc/spacenavd/Manifest
@@ -1,3 +1,4 @@
 DIST spacenavd-0.5.tar.gz 41746 BLAKE2B bd97cb9ad1ce684cbe0f39e03db0fe0a9cead9aa4a8142546632397fa923fc1067e2d33ea0270625b5bb06bc784c75f0e9ae49cfba7194d23537a7427abe1e68 SHA512 908f598e4ba5febbc1191cc32cd444817acd40c22e79b1f139c50787e1e25d4cd8328dc3fd6d9dde09bb80232b52f0e75ae429fb3345eb51fbe5a47577b038e2
 DIST spacenavd-0.6.tar.gz 54730 BLAKE2B 5d158ebb190359c6e6c2a20093f824f176e028c0d375ab4aadc635f7b26884df2ae58585e82dc3978892d04d139cc6c4704fedc300508f9314478f19d4ee11b6 SHA512 ff039e169805365ce8c1df1258eda6d263a0724c087b22a9e78269629455580817027d936e6bb7014b7654f48aa23232e8059585175003034e4bd3e0d6ed8200
+DIST spacenavd-0.7.1.tar.gz 56703 BLAKE2B 99a918090cf8875e5b5cbb48ceffc383b415d9bbe297e49630c8e48ab78bd547244005b5a91e1bb7abc01382ae332758dfc01297bc8f6fb9a05247330cde8127 SHA512 6bfd76f9187ce77c09cb6ebb73bce45391e675cda51437b647510afef574aa6e3f947f467e03a464e245a5e44f699db1d197a58a06a64a2199686b1ab596517f
 DIST spacenavd-0.7.tar.gz 55634 BLAKE2B a4257bc48e4b7973413cfc74fb4157cc93d27dd8e4c45142bfa0d8b30b94e517cff1e003c9b7216b498539a529bcfe623a5dfec48644a34c1bd300eb07d297a7 SHA512 241ed0ecf78fe683ae1ccda1e69afcee82f6ad55439516a5e02d3ff7eea1a4c5903e778e41f3e0d8b6f5dcbb8fec572a52e0be108a081bccb5a279af2277b615

diff --git a/app-misc/spacenavd/spacenavd-0.7.1.ebuild b/app-misc/spacenavd/spacenavd-0.7.1.ebuild
new file mode 100644
index 00000000000..efe4773a4fc
--- /dev/null
+++ b/app-misc/spacenavd/spacenavd-0.7.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info systemd toolchain-funcs udev
+
+MY_PN='spacenav'
+DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
+HOMEPAGE="http://spacenav.sourceforge.net/"
+SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="X"
+
+RDEPEND="X? ( x11-apps/xdpyinfo x11-libs/libXi )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	CONFIG_CHECK="~INPUT_EVDEV"
+	ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly"
+	check_extra_config
+}
+
+src_configure() {
+	econf \
+		--disable-debug \
+		--enable-hotplug \
+		--disable-opt \
+		$(use_enable X x11)
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)"
+}
+
+src_install() {
+	# Config file
+	insinto /etc
+	newins "${S}/doc/example-spnavrc" spnavrc.sample
+
+	# Init script
+	newinitd "${FILESDIR}/spnavd" spacenavd
+	systemd_dounit "${FILESDIR}/spacenavd.service"
+
+	# Install udev rule but leave activiation to the user
+	# since Xorg may be configured to grab the device already
+	udev_newrules "${FILESDIR}"/99-space-navigator.rules-r2 99-space-navigator.rules.ignored
+
+	# Daemon
+	dobin "${S}/spacenavd"
+	use X && dobin "${S}/spnavd_ctl"
+}
+
+pkg_postinst() {
+	elog "To start the Spacenav daemon system-wide by default"
+	elog "you should add it to the default runlevel :"
+	elog "\`rc-update add spacenavd default\` (for openRC)"
+	elog "\`systemctl enable spacenavd\` (for systemd)"
+	elog
+	if use X; then
+		elog "To start generating Spacenav X events by default"
+		elog "you should add this command in your user startup"
+		elog "scripts such as .gnomerc or .xinitrc :"
+		elog "\`spnavd_ctl x11 start\`"
+		elog
+	fi
+	elog
+	elog "If you want to auto-start the daemon when you plug in"
+	elog "a SpaceNavigator device, activate the related udev rule :"
+	elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`"
+	ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run"
+	ewarn "the new version of the daemon or \`systemctl restart spacenavd\`"
+	ewarn "if using systemd."
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2020-02-01 19:53 Sebastian Pipping
  0 siblings, 0 replies; 28+ messages in thread
From: Sebastian Pipping @ 2020-02-01 19:53 UTC (permalink / raw
  To: gentoo-commits

commit:     bff35faa79ba247ccbb7532ed4809035dbe5a22b
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  1 19:51:56 2020 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sat Feb  1 19:53:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff35faa

app-misc/spacenavd: Support GCC 10

Bug: https://bugs.gentoo.org/706966
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20

 app-misc/spacenavd/spacenavd-0.6.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/app-misc/spacenavd/spacenavd-0.6.ebuild b/app-misc/spacenavd/spacenavd-0.6.ebuild
index 86b0c8ae315..bbf5b9cf9e0 100644
--- a/app-misc/spacenavd/spacenavd-0.6.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
 
-inherit linux-info systemd toolchain-funcs udev
+inherit epatch linux-info systemd toolchain-funcs udev
 
 MY_PN='spacenav'
 DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
@@ -23,6 +23,11 @@ pkg_setup() {
 	check_extra_config
 }
 
+src_prepare() {
+	epatch "${FILESDIR}"/${PN}-0.7-gcc10.patch
+	default
+}
+
 src_configure() {
 	econf \
 		--disable-debug \


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2020-01-31 22:41 Sebastian Pipping
  0 siblings, 0 replies; 28+ messages in thread
From: Sebastian Pipping @ 2020-01-31 22:41 UTC (permalink / raw
  To: gentoo-commits

commit:     9afdae6747bd5c87ab3945d07b2eff9012f7194e
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 31 22:35:11 2020 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Fri Jan 31 22:39:29 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9afdae67

app-misc/spacenavd: 0.7 + EAPI 7

Closes: https://bugs.gentoo.org/707346
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20

 app-misc/spacenavd/Manifest             |  1 +
 app-misc/spacenavd/spacenavd-0.7.ebuild | 78 +++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/app-misc/spacenavd/Manifest b/app-misc/spacenavd/Manifest
index 8d58a8ff740..82c6f16e69d 100644
--- a/app-misc/spacenavd/Manifest
+++ b/app-misc/spacenavd/Manifest
@@ -1,2 +1,3 @@
 DIST spacenavd-0.5.tar.gz 41746 BLAKE2B bd97cb9ad1ce684cbe0f39e03db0fe0a9cead9aa4a8142546632397fa923fc1067e2d33ea0270625b5bb06bc784c75f0e9ae49cfba7194d23537a7427abe1e68 SHA512 908f598e4ba5febbc1191cc32cd444817acd40c22e79b1f139c50787e1e25d4cd8328dc3fd6d9dde09bb80232b52f0e75ae429fb3345eb51fbe5a47577b038e2
 DIST spacenavd-0.6.tar.gz 54730 BLAKE2B 5d158ebb190359c6e6c2a20093f824f176e028c0d375ab4aadc635f7b26884df2ae58585e82dc3978892d04d139cc6c4704fedc300508f9314478f19d4ee11b6 SHA512 ff039e169805365ce8c1df1258eda6d263a0724c087b22a9e78269629455580817027d936e6bb7014b7654f48aa23232e8059585175003034e4bd3e0d6ed8200
+DIST spacenavd-0.7.tar.gz 55634 BLAKE2B a4257bc48e4b7973413cfc74fb4157cc93d27dd8e4c45142bfa0d8b30b94e517cff1e003c9b7216b498539a529bcfe623a5dfec48644a34c1bd300eb07d297a7 SHA512 241ed0ecf78fe683ae1ccda1e69afcee82f6ad55439516a5e02d3ff7eea1a4c5903e778e41f3e0d8b6f5dcbb8fec572a52e0be108a081bccb5a279af2277b615

diff --git a/app-misc/spacenavd/spacenavd-0.7.ebuild b/app-misc/spacenavd/spacenavd-0.7.ebuild
new file mode 100644
index 00000000000..05eb105d316
--- /dev/null
+++ b/app-misc/spacenavd/spacenavd-0.7.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info systemd toolchain-funcs udev
+
+MY_PN='spacenav'
+DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
+HOMEPAGE="http://spacenav.sourceforge.net/"
+SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="X"
+
+RDEPEND="X? ( x11-apps/xdpyinfo x11-libs/libXi )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	CONFIG_CHECK="~INPUT_EVDEV"
+	ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly"
+	check_extra_config
+}
+
+src_configure() {
+	econf \
+		--disable-debug \
+		--enable-hotplug \
+		--disable-opt \
+		$(use_enable X x11)
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)" \
+		add_cflags="${CFLAGS}" \
+		add_ldflags="${LDFLAGS}"
+}
+
+src_install() {
+	# Config file
+	insinto /etc
+	newins "${S}/doc/example-spnavrc" spnavrc.sample
+
+	# Init script
+	newinitd "${FILESDIR}/spnavd" spacenavd
+	systemd_dounit "${FILESDIR}/spacenavd.service"
+
+	# Install udev rule but leave activiation to the user
+	# since Xorg may be configured to grab the device already
+	udev_newrules "${FILESDIR}"/99-space-navigator.rules-r2 99-space-navigator.rules.ignored
+
+	# Daemon
+	dobin "${S}/spacenavd"
+	use X && dobin "${S}/spnavd_ctl"
+}
+
+pkg_postinst() {
+	elog "To start the Spacenav daemon system-wide by default"
+	elog "you should add it to the default runlevel :"
+	elog "\`rc-update add spacenavd default\` (for openRC)"
+	elog "\`systemctl enable spacenavd\` (for systemd)"
+	elog
+	if use X; then
+		elog "To start generating Spacenav X events by default"
+		elog "you should add this command in your user startup"
+		elog "scripts such as .gnomerc or .xinitrc :"
+		elog "\`spnavd_ctl x11 start\`"
+		elog
+	fi
+	elog
+	elog "If you want to auto-start the daemon when you plug in"
+	elog "a SpaceNavigator device, activate the related udev rule :"
+	elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`"
+	ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run"
+	ewarn "the new version of the daemon or \`systemctl restart spacenavd\`"
+	ewarn "if using systemd."
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2018-08-19  8:18 Jonas Stein
  0 siblings, 0 replies; 28+ messages in thread
From: Jonas Stein @ 2018-08-19  8:18 UTC (permalink / raw
  To: gentoo-commits

commit:     c738d0c7c82518221f0dbf8093612f43ed09ad7c
Author:     Jonas Stein <jstein <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 19 08:15:36 2018 +0000
Commit:     Jonas Stein <jstein <AT> gentoo <DOT> org>
CommitDate: Sun Aug 19 08:18:09 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c738d0c7

app-misc/spacenavd: Maintainer retired

Proxied maintainer retired due to inactivity.
Bug: https://bugs.gentoo.org/633188
Package-Manager: Portage-2.3.47, Repoman-2.3.10

 app-misc/spacenavd/metadata.xml | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/app-misc/spacenavd/metadata.xml b/app-misc/spacenavd/metadata.xml
index 3e391492715..009a65b6700 100644
--- a/app-misc/spacenavd/metadata.xml
+++ b/app-misc/spacenavd/metadata.xml
@@ -1,18 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer type="person">
-		<email>anthoine.bourgeois@gmail.com</email>
-		<name>Anthoine Bourgeois</name>
-	</maintainer>
 	<maintainer type="person">
 		<email>sping@gentoo.org</email>
 		<name>Sebastian Pipping</name>
 	</maintainer>
-	<maintainer type="project">
-		<email>proxy-maint@gentoo.org</email>
-		<name>Proxy Maintainers</name>
-	</maintainer>
 	<longdescription>
 		The spacenavd daemon can be used directly as a drop-in replacement
 		to the 3DxWare daemon. It can communicate with the official magellan


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2017-10-26 18:54 Thomas Deutschmann
  0 siblings, 0 replies; 28+ messages in thread
From: Thomas Deutschmann @ 2017-10-26 18:54 UTC (permalink / raw
  To: gentoo-commits

commit:     c0c605af48b6b157dcd5182fa86ba7330273ebd3
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 26 18:44:56 2017 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Oct 26 18:53:52 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0c605af

app-misc/spacenavd: x86 stable (bug #617588)

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 app-misc/spacenavd/spacenavd-0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/spacenavd/spacenavd-0.6.ebuild b/app-misc/spacenavd/spacenavd-0.6.ebuild
index df16c9432ab..49ddec7b9ad 100644
--- a/app-misc/spacenavd/spacenavd-0.6.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.6.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="http://spacenav.sourceforge.net/"
 SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}%20daemon/${PN}%20${PV}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ppc64 ~x86"
+KEYWORDS="~amd64 ppc64 x86"
 IUSE="X"
 
 RDEPEND="X? ( x11-apps/xdpyinfo )"


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2017-10-06 22:01 Sergei Trofimovich
  0 siblings, 0 replies; 28+ messages in thread
From: Sergei Trofimovich @ 2017-10-06 22:01 UTC (permalink / raw
  To: gentoo-commits

commit:     918d2764d69be9632212eff9361173f9b13ff0cc
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  6 22:00:59 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Oct  6 22:00:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=918d2764

app-misc/spacenavd: stable 0.6 for ppc64, bug #617588

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc64"

 app-misc/spacenavd/spacenavd-0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/spacenavd/spacenavd-0.6.ebuild b/app-misc/spacenavd/spacenavd-0.6.ebuild
index 98b5eaedddf..df16c9432ab 100644
--- a/app-misc/spacenavd/spacenavd-0.6.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.6.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="http://spacenav.sourceforge.net/"
 SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}%20daemon/${PN}%20${PV}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ppc64 ~x86"
 IUSE="X"
 
 RDEPEND="X? ( x11-apps/xdpyinfo )"


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2017-08-20 15:58 Sebastian Pipping
  0 siblings, 0 replies; 28+ messages in thread
From: Sebastian Pipping @ 2017-08-20 15:58 UTC (permalink / raw
  To: gentoo-commits

commit:     d395a832bf3a91e36dc19976298e68c82284189c
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 20 15:56:13 2017 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Aug 20 15:58:37 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d395a832

app-misc/spacenavd: Remove old (bug #617588)

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 app-misc/spacenavd/spacenavd-0.5-r2.ebuild | 78 ------------------------------
 app-misc/spacenavd/spacenavd-0.5-r4.ebuild | 78 ------------------------------
 2 files changed, 156 deletions(-)

diff --git a/app-misc/spacenavd/spacenavd-0.5-r2.ebuild b/app-misc/spacenavd/spacenavd-0.5-r2.ebuild
deleted file mode 100644
index a879dba1605..00000000000
--- a/app-misc/spacenavd/spacenavd-0.5-r2.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit eutils linux-info toolchain-funcs
-
-MY_PN='spacenav'
-DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
-HOMEPAGE="http://spacenav.sourceforge.net/"
-SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}%20daemon/${PN}%20${PV}/${P}.tar.gz"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ppc64 x86"
-IUSE="X"
-
-RDEPEND="X? ( x11-apps/xdpyinfo )"
-DEPEND="${RDEPEND}"
-
-pkg_setup() {
-	CONFIG_CHECK="~INPUT_EVDEV"
-	ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly"
-	check_extra_config
-}
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-destdir.patch
-	epatch "${FILESDIR}"/${P}-custom-flags.patch
-	epatch "${FILESDIR}"/${P}-no-x11.patch
-}
-
-src_configure() {
-	econf \
-		--enable-opt --enable-ldopt \
-		$(use_enable X x11)
-}
-
-src_compile() {
-	emake CC=$(tc-getCC)
-}
-
-src_install() {
-	# Config file
-	insinto /etc
-	newins "${S}/doc/example-spnavrc" spnavrc.sample || die
-
-	# Init script
-	newinitd "${FILESDIR}/spnavd" spacenavd || die
-
-	# Install udev rule but leave activiation to the user
-	# since Xorg may be configured to grab the device already
-	insinto /etc/udev/rules.d
-	newins "${FILESDIR}"/99-space-navigator.rules 99-space-navigator.rules.ignored || die
-
-	# Daemon
-	dobin "${S}/spacenavd"
-	use X && dobin "${S}/spnavd_ctl"
-}
-
-pkg_postinst() {
-	elog "To start the Spacenav daemon system-wide by default"
-	elog "you should add it to the default runlevel :"
-	elog "\`rc-update add spacenavd default\`"
-	elog
-	if use X; then
-		elog "To start generating Spacenav X events by default"
-		elog "you should add this command in your user startup"
-		elog "scripts such as .gnomerc or .xinitrc :"
-		elog "\`spnavd_ctl x11 start\`"
-		elog
-	fi
-	elog "If you want to auto-start the daemon when you plug in"
-	elog "a SpaceNavigator device, activate the related udev rule :"
-	elog "\`sudo ln -s 99-space-navigator.rules.ignored /etc/udev/rules.d/99-space-navigator.rules\`"
-	elog
-	ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run"
-	ewarn "the new version of the daemon."
-}

diff --git a/app-misc/spacenavd/spacenavd-0.5-r4.ebuild b/app-misc/spacenavd/spacenavd-0.5-r4.ebuild
deleted file mode 100644
index a56f4c3e0bf..00000000000
--- a/app-misc/spacenavd/spacenavd-0.5-r4.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit eutils linux-info toolchain-funcs udev
-
-MY_PN='spacenav'
-DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
-HOMEPAGE="http://spacenav.sourceforge.net/"
-SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}%20daemon/${PN}%20${PV}/${P}.tar.gz"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ppc64 x86"
-IUSE="X"
-
-RDEPEND="X? ( x11-apps/xdpyinfo )"
-DEPEND="${RDEPEND}"
-
-pkg_setup() {
-	CONFIG_CHECK="~INPUT_EVDEV"
-	ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly"
-	check_extra_config
-}
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-destdir.patch
-	epatch "${FILESDIR}"/${P}-custom-flags.patch
-	epatch "${FILESDIR}"/${P}-no-x11.patch
-}
-
-src_configure() {
-	econf \
-		--enable-opt --enable-ldopt \
-		$(use_enable X x11)
-}
-
-src_compile() {
-	emake CC="$(tc-getCC)"
-}
-
-src_install() {
-	# Config file
-	insinto /etc
-	newins "${S}/doc/example-spnavrc" spnavrc.sample
-
-	# Init script
-	newinitd "${FILESDIR}/spnavd" spacenavd
-
-	# Install udev rule but leave activiation to the user
-	# since Xorg may be configured to grab the device already
-	insinto "$(get_udevdir)"
-	newins "${FILESDIR}"/99-space-navigator.rules 99-space-navigator.rules.ignored
-
-	# Daemon
-	dobin "${S}/spacenavd"
-	use X && dobin "${S}/spnavd_ctl"
-}
-
-pkg_postinst() {
-	elog "To start the Spacenav daemon system-wide by default"
-	elog "you should add it to the default runlevel :"
-	elog "\`rc-update add spacenavd default\`"
-	elog
-	if use X; then
-		elog "To start generating Spacenav X events by default"
-		elog "you should add this command in your user startup"
-		elog "scripts such as .gnomerc or .xinitrc :"
-		elog "\`spnavd_ctl x11 start\`"
-		elog
-	fi
-	elog
-	elog "If you want to auto-start the daemon when you plug in"
-	elog "a SpaceNavigator device, activate the related udev rule :"
-	elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`"
-	ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run"
-	ewarn "the new version of the daemon."
-}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/
@ 2017-01-15 19:04 Sebastian Pipping
  0 siblings, 0 replies; 28+ messages in thread
From: Sebastian Pipping @ 2017-01-15 19:04 UTC (permalink / raw
  To: gentoo-commits

commit:     30f0d96d1f5d2e2d7af8623819070371a2e6fd10
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 15 18:26:16 2017 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 19:04:05 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30f0d96d

app-misc/spacenavd: Fix udev rule file destination

Also use udev_newrules and bump EAPI to 5.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-misc/spacenavd/spacenavd-0.5-r6.ebuild | 81 ++++++++++++++++++++++++++++++
 1 file changed, 81 insertions(+)

diff --git a/app-misc/spacenavd/spacenavd-0.5-r6.ebuild b/app-misc/spacenavd/spacenavd-0.5-r6.ebuild
new file mode 100644
index 00000000..792dd24
--- /dev/null
+++ b/app-misc/spacenavd/spacenavd-0.5-r6.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils linux-info systemd toolchain-funcs udev
+
+MY_PN='spacenav'
+DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
+HOMEPAGE="http://spacenav.sourceforge.net/"
+SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}%20daemon/${PN}%20${PV}/${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="X"
+
+RDEPEND="X? ( x11-apps/xdpyinfo )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	CONFIG_CHECK="~INPUT_EVDEV"
+	ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly"
+	check_extra_config
+}
+
+src_prepare() {
+	epatch "${FILESDIR}"/${P}-destdir.patch
+	epatch "${FILESDIR}"/${P}-custom-flags.patch
+	epatch "${FILESDIR}"/${P}-no-x11.patch
+}
+
+src_configure() {
+	econf \
+		--enable-opt --enable-ldopt \
+		$(use_enable X x11)
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)"
+}
+
+src_install() {
+	# Config file
+	insinto /etc
+	newins "${S}/doc/example-spnavrc" spnavrc.sample
+
+	# Init script
+	newinitd "${FILESDIR}/spnavd" spacenavd
+	systemd_dounit "${FILESDIR}/spacenavd.service"
+
+	# Install udev rule but leave activiation to the user
+	# since Xorg may be configured to grab the device already
+	udev_newrules "${FILESDIR}"/99-space-navigator.rules-r1 99-space-navigator.rules.ignored
+
+	# Daemon
+	dobin "${S}/spacenavd"
+	use X && dobin "${S}/spnavd_ctl"
+}
+
+pkg_postinst() {
+	elog "To start the Spacenav daemon system-wide by default"
+	elog "you should add it to the default runlevel :"
+	elog "\`rc-update add spacenavd default\` (for openRC)"
+	elog "\`systemctl enable spacenavd\` (for systemd)"
+	elog
+	if use X; then
+		elog "To start generating Spacenav X events by default"
+		elog "you should add this command in your user startup"
+		elog "scripts such as .gnomerc or .xinitrc :"
+		elog "\`spnavd_ctl x11 start\`"
+		elog
+	fi
+	elog
+	elog "If you want to auto-start the daemon when you plug in"
+	elog "a SpaceNavigator device, activate the related udev rule :"
+	elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`"
+	ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run"
+	ewarn "the new version of the daemon or \`systemctl restart spacenavd\`"
+	ewarn "if using systemd."
+}


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

end of thread, other threads:[~2024-10-03 15:50 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-25 12:36 [gentoo-commits] repo/gentoo:master commit in: app-misc/spacenavd/ Sebastian Pipping
  -- strict thread matches above, loose matches on Subject: below --
2024-10-03 15:50 Jakov Smolić
2024-10-03 15:35 Sebastian Pipping
2024-10-03  3:43 Sam James
2024-10-03  3:24 Sam James
2022-12-13 15:33 Sebastian Pipping
2022-11-28 20:37 Sebastian Pipping
2022-09-04 22:37 Sebastian Pipping
2022-06-08 13:07 Sebastian Pipping
2022-04-03 20:07 Sebastian Pipping
2021-12-29 13:46 Yixun Lan
2021-03-13 11:37 Sam James
2021-03-13 11:36 Sam James
2021-03-13  9:56 Sam James
2021-02-22  7:12 Sam James
2020-08-25 10:25 Sam James
2020-05-22  8:02 Sergei Trofimovich
2020-05-21  9:05 Agostino Sarubbo
2020-05-21  9:03 Agostino Sarubbo
2020-02-09 13:59 Sebastian Pipping
2020-02-08 15:10 Sebastian Pipping
2020-02-01 19:53 Sebastian Pipping
2020-01-31 22:41 Sebastian Pipping
2018-08-19  8:18 Jonas Stein
2017-10-26 18:54 Thomas Deutschmann
2017-10-06 22:01 Sergei Trofimovich
2017-08-20 15:58 Sebastian Pipping
2017-01-15 19:04 Sebastian Pipping

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