1 |
sping 12/02/06 19:51:21 |
2 |
|
3 |
Added: spacenavd-0.5-r1.ebuild ChangeLog metadata.xml |
4 |
Manifest |
5 |
Log: |
6 |
app-misc/spacenavd: 0.5-r1 (bug #390427) |
7 |
|
8 |
(Portage version: 2.1.10.44/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 app-misc/spacenavd/spacenavd-0.5-r1.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/spacenavd/spacenavd-0.5-r1.ebuild?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/spacenavd/spacenavd-0.5-r1.ebuild?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: spacenavd-0.5-r1.ebuild |
17 |
=================================================================== |
18 |
# Copyright 1999-2012 Gentoo Foundation |
19 |
# Distributed under the terms of the GNU General Public License v2 |
20 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/spacenavd/spacenavd-0.5-r1.ebuild,v 1.1 2012/02/06 19:51:21 sping Exp $ |
21 |
|
22 |
EAPI="4" |
23 |
|
24 |
inherit eutils linux-info toolchain-funcs |
25 |
|
26 |
MY_PN='spacenav' |
27 |
DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon." |
28 |
HOMEPAGE="http://spacenav.sourceforge.net/" |
29 |
SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}%20daemon/${PN}%20${PV}/${P}.tar.gz" |
30 |
LICENSE="GPL-3" |
31 |
SLOT="0" |
32 |
KEYWORDS="~amd64 ~x86" |
33 |
IUSE="X" |
34 |
|
35 |
RDEPEND="X? ( x11-apps/xdpyinfo )" |
36 |
DEPEND="${RDEPEND}" |
37 |
|
38 |
pkg_setup() { |
39 |
CONFIG_CHECK="~HOTPLUG" |
40 |
ERROR_CFG="Your kernel needs HOTPLUG for the spacenavd to work properly" |
41 |
check_extra_config |
42 |
} |
43 |
|
44 |
src_prepare() { |
45 |
epatch "${FILESDIR}"/${P}-destdir.patch |
46 |
epatch "${FILESDIR}"/${P}-custom-flags.patch |
47 |
} |
48 |
|
49 |
src_configure() { |
50 |
econf \ |
51 |
--enable-opt --enable-ldopt \ |
52 |
$(use_enable X x11) |
53 |
} |
54 |
|
55 |
src_compile() { |
56 |
emake CC=$(tc-getCC) |
57 |
} |
58 |
|
59 |
src_install() { |
60 |
# Config file |
61 |
insinto /etc |
62 |
newins "${S}/doc/example-spnavrc" spnavrc.sample || die |
63 |
|
64 |
# Init script |
65 |
newinitd "${FILESDIR}/spnavd" spacenavd || die |
66 |
|
67 |
# Daemon |
68 |
dobin "${S}/spacenavd" |
69 |
use X && dobin "${S}/spnavd_ctl" |
70 |
} |
71 |
|
72 |
pkg_postinst() { |
73 |
elog "To start the Spacenav daemon system-wide by default" |
74 |
elog "you should add it to the default runlevel :" |
75 |
elog "\`rc-update add spacenavd default\`" |
76 |
elog |
77 |
if use X; then |
78 |
elog "To start generating Spacenav X events by default" |
79 |
elog "you should add this command in your user startup" |
80 |
elog "scripts such as .gnomerc or .xinitrc :" |
81 |
elog "\`spnavd_ctl x11 start\`" |
82 |
elog |
83 |
fi |
84 |
ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run" |
85 |
ewarn "the new version of the daemon." |
86 |
} |
87 |
|
88 |
|
89 |
|
90 |
1.1 app-misc/spacenavd/ChangeLog |
91 |
|
92 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/spacenavd/ChangeLog?rev=1.1&view=markup |
93 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/spacenavd/ChangeLog?rev=1.1&content-type=text/plain |
94 |
|
95 |
Index: ChangeLog |
96 |
=================================================================== |
97 |
# ChangeLog for app-misc/spacenavd |
98 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
99 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/spacenavd/ChangeLog,v 1.1 2012/02/06 19:51:21 sping Exp $ |
100 |
|
101 |
*spacenavd-0.5-r1 (06 Feb 2012) |
102 |
|
103 |
06 Feb 2012; Sebastian Pipping <sping@g.o> +spacenavd-0.5-r1.ebuild, |
104 |
+files/spacenavd-0.5-custom-flags.patch, +files/spacenavd-0.5-destdir.patch, |
105 |
+files/spnavd, +metadata.xml: |
106 |
New package, needed for libspnav (bug #390427), co-operation with Anthoine |
107 |
Bourgeois |
108 |
|
109 |
|
110 |
|
111 |
|
112 |
1.1 app-misc/spacenavd/metadata.xml |
113 |
|
114 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/spacenavd/metadata.xml?rev=1.1&view=markup |
115 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/spacenavd/metadata.xml?rev=1.1&content-type=text/plain |
116 |
|
117 |
Index: metadata.xml |
118 |
=================================================================== |
119 |
<?xml version="1.0" encoding="UTF-8"?> |
120 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
121 |
<pkgmetadata> |
122 |
<herd>no-herd</herd> |
123 |
<maintainer> |
124 |
<email>anthoine.bourgeois@×××××.com</email> |
125 |
<name>Anthoine Bourgeois</name> |
126 |
</maintainer> |
127 |
<maintainer> |
128 |
<email>sping@g.o</email> |
129 |
<name>Sebastian Pipping</name> |
130 |
</maintainer> |
131 |
<longdescription> |
132 |
The spacenavd daemon can be used directly as a drop-in replacement |
133 |
to the 3DxWare daemon. It can communicate with the official magellan |
134 |
SDK, and thus any program compiled with it can work with spacenavd |
135 |
transparently without any change or need of recompilation. |
136 |
Also, spacenavd provides an alternative communication protocol, for |
137 |
programs that use libspnav, that doesn't require an X server, as the |
138 |
original protocol does. |
139 |
</longdescription> |
140 |
</pkgmetadata> |
141 |
|
142 |
|
143 |
|
144 |
1.1 app-misc/spacenavd/Manifest |
145 |
|
146 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/spacenavd/Manifest?rev=1.1&view=markup |
147 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/spacenavd/Manifest?rev=1.1&content-type=text/plain |
148 |
|
149 |
Index: Manifest |
150 |
=================================================================== |
151 |
AUX spacenavd-0.5-custom-flags.patch 2008 RMD160 c665becac1ff1b31eec94fe3ef70b98f851a2488 SHA1 79909d72d9da7ff0af369685869bb6709edadc90 SHA256 78c8aebbd33f0c135501e6dea132c4f6edd9068bfddf741bfc8fe11d5269f546 |
152 |
AUX spacenavd-0.5-destdir.patch 649 RMD160 3ffb705f3a0a2a940e4e4a9c3d34c3ede6c95f33 SHA1 8a946d85a1d8d454579e635c2248bc17dc1a399d SHA256 df58f5006d3b1be15a40182ca91ea964d62572a6e0a47b05c037958674db5366 |
153 |
AUX spnavd 579 RMD160 13e324d36ffb8900eb672492b7d8e10ae6a6c718 SHA1 dbef423d85a95f9fc329cfa379256a7331bdd7ac SHA256 2ad811c9c2de7ffa054e22a3d1a8c597b0a1cdc9fda719a7cc94a4fd8ca7ad42 |
154 |
DIST spacenavd-0.5.tar.gz 41746 RMD160 7b455d4cd96074707e671103e45cd0a5423cafc3 SHA1 76438d6fce981337b272210311124fe711606235 SHA256 0eecc5b5ad47ee6376d1521f2bc7c8f8fc02904cf3fede3f77e59f4795b592e3 |
155 |
EBUILD spacenavd-0.5-r1.ebuild 1650 RMD160 047941cc56ea478c5be9d9471814a7786b3638d3 SHA1 065ae11a2c2c21dc399eb5149062a0f90f1f5081 SHA256 7921536c6454498500cffe276854df5d45e14dcdbb3a2dab1da75bc571173576 |
156 |
MISC ChangeLog 431 RMD160 5cba880e207663641b0313bf9936120d5cace560 SHA1 1243c61d47fdb817aeb1c8fe17bcfd32f1e892ac SHA256 f52be23f54a665b3ad9a0e64687b6dbfab57fb11a058dd188926c361cd45915f |
157 |
MISC metadata.xml 843 RMD160 4e1c3eaba52e4bf6288364151cf6159b12b195cd SHA1 098de8c59b5b3f7e721df2067a7762e8914bd34d SHA256 40d478c2563fec01498586ee132dd94f6c9c7acef0ada92812f8bdbe73dd7f21 |