From 3d63c6502968e4ddf7044b59cf3029d0c278cd43 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Mon, 6 Feb 2012 22:21:28 +0100 Subject: Move space nagivator ebuilds to main tree --- app-misc/spacenavd/ChangeLog | 13 ---- app-misc/spacenavd/Manifest | 8 --- .../files/spacenavd-0.5-custom-flags.patch | 67 ------------------- .../spacenavd/files/spacenavd-0.5-destdir.patch | 16 ----- app-misc/spacenavd/files/spnavd | 27 -------- app-misc/spacenavd/metadata.xml | 22 ------- app-misc/spacenavd/spacenavd-0.5-r1.ebuild | 69 -------------------- app-misc/spacenavd/spacenavd-0.5.ebuild | 64 ------------------ dev-libs/libspnav/Manifest | 5 -- .../files/libspnav-0.2.2-custom-flags.patch | 75 ---------------------- .../libspnav/files/libspnav-0.2.2-makefile.patch | 27 -------- dev-libs/libspnav/libspnav-0.2.2.ebuild | 48 -------------- dev-libs/libspnav/metadata.xml | 22 ------- x11-misc/spnavcfg/Manifest | 6 -- .../files/spnavcfg-0.2.1-custom-flags.patch | 44 ------------- .../spnavcfg/files/spnavcfg-0.2.1-destdir.patch | 16 ----- .../spnavcfg/files/spnavcfg-0.2.1-x11-libs.patch | 12 ---- x11-misc/spnavcfg/metadata.xml | 17 ----- x11-misc/spnavcfg/spnavcfg-0.2.1.ebuild | 37 ----------- 19 files changed, 595 deletions(-) delete mode 100644 app-misc/spacenavd/ChangeLog delete mode 100644 app-misc/spacenavd/Manifest delete mode 100644 app-misc/spacenavd/files/spacenavd-0.5-custom-flags.patch delete mode 100644 app-misc/spacenavd/files/spacenavd-0.5-destdir.patch delete mode 100644 app-misc/spacenavd/files/spnavd delete mode 100644 app-misc/spacenavd/metadata.xml delete mode 100644 app-misc/spacenavd/spacenavd-0.5-r1.ebuild delete mode 100644 app-misc/spacenavd/spacenavd-0.5.ebuild delete mode 100644 dev-libs/libspnav/Manifest delete mode 100644 dev-libs/libspnav/files/libspnav-0.2.2-custom-flags.patch delete mode 100644 dev-libs/libspnav/files/libspnav-0.2.2-makefile.patch delete mode 100644 dev-libs/libspnav/libspnav-0.2.2.ebuild delete mode 100644 dev-libs/libspnav/metadata.xml delete mode 100644 x11-misc/spnavcfg/Manifest delete mode 100644 x11-misc/spnavcfg/files/spnavcfg-0.2.1-custom-flags.patch delete mode 100644 x11-misc/spnavcfg/files/spnavcfg-0.2.1-destdir.patch delete mode 100644 x11-misc/spnavcfg/files/spnavcfg-0.2.1-x11-libs.patch delete mode 100644 x11-misc/spnavcfg/metadata.xml delete mode 100644 x11-misc/spnavcfg/spnavcfg-0.2.1.ebuild diff --git a/app-misc/spacenavd/ChangeLog b/app-misc/spacenavd/ChangeLog deleted file mode 100644 index 25bbc05..0000000 --- a/app-misc/spacenavd/ChangeLog +++ /dev/null @@ -1,13 +0,0 @@ -# ChangeLog for sys-libs/spacenavd -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - -*spacenavd-0.5-r1 (24 Jan 2012) - - 24 Jan 2012; Sebastian Pipping +spacenavd-0.5-r1.ebuild, - files/spnavd: - Do not pass unknown parameter --system to spacenavd in init script, install - config sample to /etc/spnavrc.sample rather than /etc/conf.d/spnavrc so the - app finds it, rename daemon from spnavd to spacenavd, use dobin rather than - doexe, fix information presented in pkg_postinst - diff --git a/app-misc/spacenavd/Manifest b/app-misc/spacenavd/Manifest deleted file mode 100644 index 9a5847a..0000000 --- a/app-misc/spacenavd/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX spacenavd-0.5-custom-flags.patch 2008 RMD160 c665becac1ff1b31eec94fe3ef70b98f851a2488 SHA1 79909d72d9da7ff0af369685869bb6709edadc90 SHA256 78c8aebbd33f0c135501e6dea132c4f6edd9068bfddf741bfc8fe11d5269f546 -AUX spacenavd-0.5-destdir.patch 649 RMD160 3ffb705f3a0a2a940e4e4a9c3d34c3ede6c95f33 SHA1 8a946d85a1d8d454579e635c2248bc17dc1a399d SHA256 df58f5006d3b1be15a40182ca91ea964d62572a6e0a47b05c037958674db5366 -AUX spnavd 579 RMD160 13e324d36ffb8900eb672492b7d8e10ae6a6c718 SHA1 dbef423d85a95f9fc329cfa379256a7331bdd7ac SHA256 2ad811c9c2de7ffa054e22a3d1a8c597b0a1cdc9fda719a7cc94a4fd8ca7ad42 -DIST spacenavd-0.5.tar.gz 41746 RMD160 7b455d4cd96074707e671103e45cd0a5423cafc3 SHA1 76438d6fce981337b272210311124fe711606235 SHA256 0eecc5b5ad47ee6376d1521f2bc7c8f8fc02904cf3fede3f77e59f4795b592e3 -EBUILD spacenavd-0.5-r1.ebuild 1650 RMD160 047941cc56ea478c5be9d9471814a7786b3638d3 SHA1 065ae11a2c2c21dc399eb5149062a0f90f1f5081 SHA256 7921536c6454498500cffe276854df5d45e14dcdbb3a2dab1da75bc571173576 -EBUILD spacenavd-0.5.ebuild 1594 RMD160 fbd2872cd45c6194d4ac30b8375ad879b187a5d9 SHA1 39849f999add92b5093a562cad7a55ecced39112 SHA256 37552d30d3d46827977c4862bfe0ae06ba2472dbfe77bbd1ee2a5770e01bcef3 -MISC ChangeLog 532 RMD160 40283a589c74966036c94ff1001670e500932c2e SHA1 2dd00fcc3cbaddae1407c4701c70ac3297ca48c3 SHA256 9c4a842847ca2907189d23efe3a0442ec9d909d8d48d447604e68d7b79c70f4a -MISC metadata.xml 843 RMD160 4e1c3eaba52e4bf6288364151cf6159b12b195cd SHA1 098de8c59b5b3f7e721df2067a7762e8914bd34d SHA256 40d478c2563fec01498586ee132dd94f6c9c7acef0ada92812f8bdbe73dd7f21 diff --git a/app-misc/spacenavd/files/spacenavd-0.5-custom-flags.patch b/app-misc/spacenavd/files/spacenavd-0.5-custom-flags.patch deleted file mode 100644 index 3b834a4..0000000 --- a/app-misc/spacenavd/files/spacenavd-0.5-custom-flags.patch +++ /dev/null @@ -1,67 +0,0 @@ -diff -Npur spacenavd-0.5.orig/Makefile.in spacenavd-0.5/Makefile.in ---- spacenavd-0.5.orig/Makefile.in 2012-01-31 22:22:20.460368687 +0100 -+++ spacenavd-0.5/Makefile.in 2012-01-31 22:23:18.170367675 +0100 -@@ -6,8 +6,8 @@ ctl = spnavd_ctl - - CC = gcc - INSTALL = install --CFLAGS = -pedantic -Wall $(dbg) $(opt) -fno-strict-aliasing -I$(srcdir)/src --LDFLAGS = $(xlib) -+CFLAGS = $(opt) -fno-strict-aliasing -I$(srcdir)/src -+LDFLAGS = $(ldopt) $(xlib) - - $(bin): $(obj) - $(CC) -o $@ $(obj) $(LDFLAGS) -diff -Npur spacenavd-0.5.orig/configure spacenavd-0.5/configure ---- spacenavd-0.5.orig/configure 2012-01-31 22:22:20.460368687 +0100 -+++ spacenavd-0.5/configure 2012-01-31 22:22:49.257368187 +0100 -@@ -28,6 +28,7 @@ test_kver() { - - PREFIX=/usr/local - OPT=yes -+LDOPT=yes - DBG=yes - X11=yes - HOTPLUG=yes -@@ -70,6 +71,11 @@ for arg; do - --disable-opt) - OPT=no;; - -+ --enable-ldopt) -+ LDOPT=yes;; -+ --disable-ldopt) -+ LDOPT=no;; -+ - --enable-debug) - DBG=yes;; - --disable-debug) -@@ -95,6 +101,8 @@ for arg; do - echo ' --disable-hotplug: disable hotplug, fallback to polling for the device' - echo ' --enable-opt: enable speed optimizations (default)' - echo ' --disable-opt: disable speed optimizations' -+ echo ' --enable-ldopt: enable link optimizations (default)' -+ echo ' --disable-ldopt: disable link optimizations' - echo ' --enable-debug: include debugging symbols (default)' - echo ' --disable-debug: do not include debugging symbols' - echo 'all invalid options are silently ignored' -@@ -105,6 +113,7 @@ done - - echo " prefix: $PREFIX" - echo " optimize for speed: $OPT" -+echo " optimize link: $LDOPT" - echo " include debugging symbols: $DBG" - echo " x11 communication method: $X11" - echo " use hotplug: $HOTPLUG" -@@ -128,7 +137,11 @@ if [ "$DBG" = 'yes' ]; then - fi - - if [ "$OPT" = 'yes' ]; then -- echo 'opt = -O3' >>Makefile -+ echo "opt = ${CFLAGS:--O3}" >>Makefile -+fi -+ -+if [ "$LDOPT" = 'yes' ]; then -+ echo "ldopt = ${LDFLAGS}" >>Makefile - fi - - if [ "$X11" = 'yes' ]; then diff --git a/app-misc/spacenavd/files/spacenavd-0.5-destdir.patch b/app-misc/spacenavd/files/spacenavd-0.5-destdir.patch deleted file mode 100644 index 5b23722..0000000 --- a/app-misc/spacenavd/files/spacenavd-0.5-destdir.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -Npur spacenavd-0.5.orig/Makefile.in spacenavd-0.5/Makefile.in ---- spacenavd-0.5.orig/Makefile.in 2011-11-16 21:43:53.210859753 +0100 -+++ spacenavd-0.5/Makefile.in 2011-11-16 21:45:36.386857932 +0100 -@@ -24,9 +24,9 @@ clean: - - .PHONY: install - install: $(bin) -- $(INSTALL) -d $(PREFIX)/bin -- $(INSTALL) -m 755 $(bin) $(PREFIX)/bin/$(bin) -- $(INSTALL) -m 755 $(srcdir)/$(ctl) $(PREFIX)/bin/$(ctl) -+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin -+ $(INSTALL) -m 755 $(bin) $(DESTDIR)$(PREFIX)/bin/$(bin) -+ $(INSTALL) -m 755 $(srcdir)/$(ctl) $(DESTDIR)$(PREFIX)/bin/$(ctl) - cd $(srcdir) && ./setup_init --no-install - - # [ -d /etc/hal/fdi/policy ] && \ diff --git a/app-misc/spacenavd/files/spnavd b/app-misc/spacenavd/files/spnavd deleted file mode 100644 index 383a2ad..0000000 --- a/app-misc/spacenavd/files/spnavd +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later - -depend() { - need localmount - after bootmisc -} - -start() { - ebegin "Starting Spacenav system daemon" - - start-stop-daemon --start --pidfile /var/run/spnavd.pid --exec /usr/bin/spacenavd - eend $? -} - -stop() { - local retval - - ebegin "Stopping Spacenav system daemon" - - start-stop-daemon --stop --pidfile /var/run/spnavd.pid - retval=$? - - eend ${retval} - return ${retval} -} diff --git a/app-misc/spacenavd/metadata.xml b/app-misc/spacenavd/metadata.xml deleted file mode 100644 index 11a8f95..0000000 --- a/app-misc/spacenavd/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - no-herd - - anthoine.bourgeois@gmail.com - Anthoine Bourgeois - - - sping@gentoo.org - Sebastian Pipping - - - The spacenavd daemon can be used directly as a drop-in replacement - to the 3DxWare daemon. It can communicate with the official magellan - SDK, and thus any program compiled with it can work with spacenavd - transparently without any change or need of recompilation. - Also, spacenavd provides an alternative communication protocol, for - programs that use libspnav, that doesn't require an X server, as the - original protocol does. - - diff --git a/app-misc/spacenavd/spacenavd-0.5-r1.ebuild b/app-misc/spacenavd/spacenavd-0.5-r1.ebuild deleted file mode 100644 index 19e033b..0000000 --- a/app-misc/spacenavd/spacenavd-0.5-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -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 ~x86" -IUSE="X" - -RDEPEND="X? ( x11-apps/xdpyinfo )" -DEPEND="${RDEPEND}" - -pkg_setup() { - CONFIG_CHECK="~HOTPLUG" - ERROR_CFG="Your kernel needs HOTPLUG for the spacenavd to work properly" - check_extra_config -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-destdir.patch - epatch "${FILESDIR}"/${P}-custom-flags.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 - - # 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 - 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.ebuild b/app-misc/spacenavd/spacenavd-0.5.ebuild deleted file mode 100644 index 764bced..0000000 --- a/app-misc/spacenavd/spacenavd-0.5.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="4" - -inherit eutils linux-info - -DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon." -HOMEPAGE="http://spacenav.sourceforge.net/" -SRC_URI="http://sourceforge.net/projects/spacenav/files/spacenav%20daemon/spacenavd%20${PV}/${P}.tar.gz" -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="X debug" - -RDEPEND="X? ( x11-apps/xdpyinfo )" -DEPEND="${RDEPEND}" - -pkg_setup() { - CONFIG_CHECK="~HOTPLUG" - ERROR_CFG="Your kernel needs HOTPLUG for the spacenavd to work properly" - check_extra_config -} -src_prepare() { - epatch "${FILESDIR}"/${P}-destdir.patch - epatch "${FILESDIR}"/${P}-custom-flags.patch -} - -src_configure() { - econf \ - --enable-opt --enable-ldopt \ - $(use_enable X x11) \ - $(use_enable debug) -} - -src_install() { - # Config file - newconfd "${S}/doc/example-spnavrc" spnavrc - - # Init script - newinitd "${FILESDIR}/spnavd" spnavrc - - # Daemon - exeinto /usr/bin - doexe "${S}/spacenavd" - use X && doexe "${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 spnavd 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 "\`spnav_ctl x11 start\`" - elog - fi - ewarn "You must restart spnavd \`/etc/init.d/spnavd restart\` to run" - ewarn "the new version of the daemon." -} diff --git a/dev-libs/libspnav/Manifest b/dev-libs/libspnav/Manifest deleted file mode 100644 index e67c697..0000000 --- a/dev-libs/libspnav/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX libspnav-0.2.2-custom-flags.patch 2151 RMD160 26eccbf34e404defe392333db30f433737220bc6 SHA1 e14d386825db1728261cfb9fbef2e5fd4c480383 SHA256 f3dcc7b4023e67a87a0554cdd277a836696c948b0ec01035ec6fe5dd2e4c587b -AUX libspnav-0.2.2-makefile.patch 926 RMD160 7bee7c9d4af64bdafa3178c1565a41f062a96359 SHA1 9c20ac0d0d5c2bb8f60270b0d630bb37594a0596 SHA256 ec3abb5c566b3b4bb3f18e58ff83802845ea9156cba42ed417f4da35733746e7 -DIST libspnav-0.2.2.tar.gz 11615 RMD160 d49a1c9b5e556fd8ff8e7545d0983c1b205fe9f2 SHA1 c9291ed4acb38da3be4f81e6e3b43f853ce55eca SHA256 fb72388770d7dcd85b56ac2a83948983f1afd7dbe271e18d507b975ac4bea14f -EBUILD libspnav-0.2.2.ebuild 1137 RMD160 2eb6836d930dbf9914917397378f09b14f1b921a SHA1 e60621dc9b1c668b9f9ac44d0b544e050ba59e83 SHA256 53cda83930da437ad35816c5d871d5ccdda68ff1977fde830e38d6098fdeb3ec -MISC metadata.xml 850 RMD160 ac6b9735dafead0ee2569e89dfad1e2724d69be4 SHA1 b2d86473d5a5f83a72769f9305bf23fbd494eaff SHA256 18379cae8775245952a6107dc6f447b9ab511e58b87a1299d72ada53f1498bf6 diff --git a/dev-libs/libspnav/files/libspnav-0.2.2-custom-flags.patch b/dev-libs/libspnav/files/libspnav-0.2.2-custom-flags.patch deleted file mode 100644 index cc96655..0000000 --- a/dev-libs/libspnav/files/libspnav-0.2.2-custom-flags.patch +++ /dev/null @@ -1,75 +0,0 @@ -diff -Npur libspnav-0.2.2.orig/Makefile.in libspnav-0.2.2/Makefile.in ---- libspnav-0.2.2.orig/Makefile.in 2012-01-31 22:34:01.448356249 +0100 -+++ libspnav-0.2.2/Makefile.in 2012-01-31 22:39:20.229350669 +0100 -@@ -7,7 +7,8 @@ lib_so = $(soname).1 - - CC = gcc - AR = ar --CFLAGS = $(opt) $(dbg) -std=c89 -fpic -pedantic -Wall -fno-strict-aliasing -I. -+CFLAGS = $(opt) -fpic -I. -+LDFLAGS = $(ldopt) -shared -Wl,-soname,$(soname) - - .PHONY: all - all: $(lib_a) $(lib_so) -@@ -16,7 +17,7 @@ $(lib_a): $(obj) - $(AR) rcs $@ $(obj) - - $(lib_so): $(obj) -- $(CC) -shared -Wl,-soname,$(soname) -o $@ $(obj) -+ $(CC) $(LDFLAGS) -o $@ $(obj) - - %.o: $(srcdir)/%.c - $(CC) $(CFLAGS) -c $< -o $@ -diff -Npur libspnav-0.2.2.orig/configure libspnav-0.2.2/configure ---- libspnav-0.2.2.orig/configure 2012-01-31 22:34:01.448356249 +0100 -+++ libspnav-0.2.2/configure 2012-01-31 22:34:39.703355615 +0100 -@@ -4,6 +4,7 @@ echo 'configuring spacenav library...' - - PREFIX=/usr/local - OPT=yes -+LDOPT=yes - DBG=yes - X11=yes - -@@ -26,6 +27,11 @@ for arg; do - --disable-opt) - OPT=no;; - -+ --enable-ldopt) -+ LDOPT=yes;; -+ --disable-ldopt) -+ LDOPT=no;; -+ - --enable-debug) - DBG=yes;; - --disable-debug) -@@ -44,6 +50,8 @@ for arg; do - echo ' --disable-x11: disable X11 communication mode' - echo ' --enable-opt: enable speed optimizations (default)' - echo ' --disable-opt: disable speed optimizations' -+ echo ' --enable-ldopt: enable link optimizations (default)' -+ echo ' --disable-ldopt: disable link optimizations' - echo ' --enable-debug: include debugging symbols (default)' - echo ' --disable-debug: do not include debugging symbols' - echo 'all invalid options are silently ignored' -@@ -54,6 +62,7 @@ done - - echo " prefix: $PREFIX" - echo " optimize for speed: $OPT" -+echo " optimize link: $LDOPT" - echo " include debugging symbols: $DBG" - echo " x11 communication method: $X11" - echo "" -@@ -74,7 +83,11 @@ if [ "$DBG" = 'yes' ]; then - fi - - if [ "$OPT" = 'yes' ]; then -- echo 'opt = -O3' >>Makefile -+ echo "opt = ${CFLAGS:--O3}" >>Makefile -+fi -+ -+if [ "$LDOPT" = 'yes' ]; then -+ echo "ldopt = ${LDFLAGS}" >>Makefile - fi - - if [ "$X11" = 'yes' ]; then diff --git a/dev-libs/libspnav/files/libspnav-0.2.2-makefile.patch b/dev-libs/libspnav/files/libspnav-0.2.2-makefile.patch deleted file mode 100644 index f65300c..0000000 --- a/dev-libs/libspnav/files/libspnav-0.2.2-makefile.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -Npur libspnav-0.2.2.orig/Makefile.in libspnav-0.2.2/Makefile.in ---- libspnav-0.2.2.orig/Makefile.in 2012-01-31 22:40:36.619349333 +0100 -+++ libspnav-0.2.2/Makefile.in 2012-01-31 22:41:52.554347975 +0100 -@@ -11,7 +11,7 @@ CFLAGS = $(opt) -I. - LDFLAGS = $(ldopt) -shared -Wl,-soname,$(soname) - - .PHONY: all --all: $(lib_a) $(lib_so) -+all: $(lib_so) - - $(lib_a): $(obj) - $(AR) rcs $@ $(obj) -@@ -31,10 +31,10 @@ distclean: - rm -f $(obj) $(lib_a) $(lib_so) Makefile - - .PHONY: install --install: $(lib_a) $(lib_so) -- cp $(lib_a) $(PREFIX)/$(libdir)/$(lib_a) -- cp $(lib_so) $(PREFIX)/$(libdir)/$(lib_so) -- for h in $(hdr); do cp -p $(srcdir)/$$h $(PREFIX)/include/; done -+install: $(lib_so) -+ mkdir -p $(DESTDIR)$(PREFIX)/$(libdir) $(DESTDIR)$(PREFIX)/include -+ cp $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so) -+ for h in $(hdr); do cp -p $(srcdir)/$$h $(DESTDIR)$(PREFIX)/include/; done - - .PHONY: uninstall - uninstall: diff --git a/dev-libs/libspnav/libspnav-0.2.2.ebuild b/dev-libs/libspnav/libspnav-0.2.2.ebuild deleted file mode 100644 index 10b7c97..0000000 --- a/dev-libs/libspnav/libspnav-0.2.2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="4" - -inherit multilib eutils toolchain-funcs - -MY_PN='spacenav' -DESCRIPTION="The libspnav provides a replacement of the magellan library with cleaner and more orthogonal API." -HOMEPAGE="http://spacenav.sourceforge.net/" -SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}%20library%20%28SDK%29/${PN}%20${PV}/${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="X" - -RDEPEND="X? ( app-misc/spacenavd[X?] )" -DEPEND="${RDEPEND}" - -src_prepare() { - epatch "${FILESDIR}"/${P}-makefile.patch - epatch "${FILESDIR}"/${P}-custom-flags.patch -} - -src_configure() { - econf \ - --enable-opt --enable-ldopt \ - $(use_enable X x11) -} - -src_compile() { - emake CC=$(tc-getCC) -} - -src_install() { - default - - # Use proper libdir - if [[ $(get_libdir) != lib ]]; then - mv "${D}"/usr/{lib,$(get_libdir)} || die - fi - - # Create missing symlinks - local target=$(basename "${D}"/usr/$(get_libdir)/libspnav.so.*) - dosym ${target} /usr/$(get_libdir)/libspnav.so.0 || die - dosym ${target} /usr/$(get_libdir)/libspnav.so || die -} diff --git a/dev-libs/libspnav/metadata.xml b/dev-libs/libspnav/metadata.xml deleted file mode 100644 index 6de51ea..0000000 --- a/dev-libs/libspnav/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - no-herd - - anthoine.bourgeois@gmail.com - Anthoine Bourgeois - - - sping@gentoo.org - Sebastian Pipping - - - The libspnav library is provided as a replacement of the magellan - library. It provides a cleaner, and more orthogonal interface. libspnav - supports both the original X11 protocol for communicating with the - driver, and the new alternative non-X protocol. Programs that choose to - use the X11 protocol, are automatically compatible with either the free - spacenavd driver or the official 3dxserv, as if they were using the - magellan SDK. - - diff --git a/x11-misc/spnavcfg/Manifest b/x11-misc/spnavcfg/Manifest deleted file mode 100644 index 404c905..0000000 --- a/x11-misc/spnavcfg/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX spnavcfg-0.2.1-custom-flags.patch 1336 RMD160 8691b02d04a7b39e8663f98ef0cac6b1dc1ed2e2 SHA1 25acb4d2cb727280e997dfebbad0f916614daf80 SHA256 975eca694315dc7f4fdccb1ffed43312c0dc20f4ca0113fa0beb143a1ddfd2b6 -AUX spnavcfg-0.2.1-destdir.patch 542 RMD160 e7744f7243debef4f4434b609804bafbf3c0d145 SHA1 57284c303ec0e526dd1aa82dfa1473b77096b782 SHA256 573f5cf902364f1b7cab5a4168c3e2e30b1160d9c7ab9aabccceb5e57854b8b7 -AUX spnavcfg-0.2.1-x11-libs.patch 520 RMD160 d7b8743f559cff2de9574bded5639609f203a7c4 SHA1 d63f355381b9372f2ea24fa82e963dc09c9642eb SHA256 65a396afe6690817c31eee7682f4fd4beb50672d931801f9fb7896d073299f3c -DIST spnavcfg-0.2.1.tar.gz 18717 RMD160 fee35e0350b685004b176d9d0e2d1fddecd2ae46 SHA1 1ec1e414d8edcd1621e2c555d0fe8a06c16dbef5 SHA256 a26d4478480f2fb65217cb0d88da5ff81a38c27aaa74710778ea0b999259c4c1 -EBUILD spnavcfg-0.2.1.ebuild 863 RMD160 fd98d9f08ac803df59277ed16ed2791104df8dc9 SHA1 b1eec0776097f20526211ae6691654f05d251bca SHA256 7da02877ed2fcd7e1c6ec1b4a54b89f0e969ad0bbb2b42f5870dd83ecc63d413 -MISC metadata.xml 492 RMD160 86df616711330f3905d48be9b853eac4aa429e16 SHA1 1d490b3effbc6e41914d441e78a3111cd2015177 SHA256 9a3d828bd76cf1691b505d91ff88c842dc5cabd618b756ee307aa6102cc6a2b5 diff --git a/x11-misc/spnavcfg/files/spnavcfg-0.2.1-custom-flags.patch b/x11-misc/spnavcfg/files/spnavcfg-0.2.1-custom-flags.patch deleted file mode 100644 index 5e4c788..0000000 --- a/x11-misc/spnavcfg/files/spnavcfg-0.2.1-custom-flags.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -Npur spnavcfg-0.2.1.orig/Makefile.in spnavcfg-0.2.1/Makefile.in ---- spnavcfg-0.2.1.orig/Makefile.in 2012-01-31 22:16:40.789374658 +0100 -+++ spnavcfg-0.2.1/Makefile.in 2012-01-31 22:17:01.146374359 +0100 -@@ -5,8 +5,8 @@ warn = -Wall -Wno-int-to-pointer-cast -W - - CC = gcc - INSTALL = install --CFLAGS = -pedantic $(warn) $(dbg) $(opt) `pkg-config --cflags gtk+-2.0` --LDFLAGS = `pkg-config --libs gtk+-2.0` -+CFLAGS = $(user_cflags) `pkg-config --cflags gtk+-2.0` -+LDFLAGS = $(user_ldflags) `pkg-config --libs gtk+-2.0` - - $(bin): $(obj) - $(CC) -o $@ $(obj) $(LDFLAGS) -diff -Npur spnavcfg-0.2.1.orig/configure spnavcfg-0.2.1/configure ---- spnavcfg-0.2.1.orig/configure 2012-01-31 22:16:40.789374658 +0100 -+++ spnavcfg-0.2.1/configure 2012-01-31 22:17:01.146374359 +0100 -@@ -43,6 +43,12 @@ done - echo " prefix: $PREFIX" - echo " optimize for speed: $OPT" - echo " include debugging symbols: $DBG" -+if [ -n "$CFLAGS" ]; then -+ echo " cflags: $CFLAGS" -+fi -+if [ -n "$LDFLAGS" ]; then -+ echo " ldflags: $LDFLAGS" -+fi - echo - - # create Makefile -@@ -58,6 +64,13 @@ if [ "$OPT" = 'yes' ]; then - echo 'opt = -O3' >>Makefile - fi - -+if [ -n "$CFLAGS" ]; then -+ echo "user_cflags = $CFLAGS" >>Makefile -+fi -+if [ -n "$LDFLAGS" ]; then -+ echo "user_ldflags = $LDFLAGS" >>Makefile -+fi -+ - cat "$srcdir/Makefile.in" >>Makefile - - echo '' diff --git a/x11-misc/spnavcfg/files/spnavcfg-0.2.1-destdir.patch b/x11-misc/spnavcfg/files/spnavcfg-0.2.1-destdir.patch deleted file mode 100644 index 8e6848b..0000000 --- a/x11-misc/spnavcfg/files/spnavcfg-0.2.1-destdir.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -Npur spnavcfg-0.2.1.orig/Makefile.in spnavcfg-0.2.1/Makefile.in ---- spnavcfg-0.2.1.orig/Makefile.in 2012-01-24 19:50:04.738222230 +0100 -+++ spnavcfg-0.2.1/Makefile.in 2012-01-24 19:51:13.199221053 +0100 -@@ -20,9 +20,9 @@ clean: - - .PHONY: install - install: -- $(INSTALL) -d $(PREFIX)/bin -- $(INSTALL) -m 4775 $(bin) $(PREFIX)/bin/$(bin) -+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin -+ $(INSTALL) -m 4775 $(bin) $(DESTDIR)$(PREFIX)/bin/$(bin) - - .PHONY: uninstall - uninstall: -- rm -f $(PREFIX)/bin/$(bin) -+ rm -f $(DESTDIR)$(PREFIX)/bin/$(bin) diff --git a/x11-misc/spnavcfg/files/spnavcfg-0.2.1-x11-libs.patch b/x11-misc/spnavcfg/files/spnavcfg-0.2.1-x11-libs.patch deleted file mode 100644 index 7294013..0000000 --- a/x11-misc/spnavcfg/files/spnavcfg-0.2.1-x11-libs.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Npur spnavcfg-0.2.1.orig/Makefile.in spnavcfg-0.2.1/Makefile.in ---- spnavcfg-0.2.1.orig/Makefile.in 2012-01-31 22:10:35.832381151 +0100 -+++ spnavcfg-0.2.1/Makefile.in 2012-01-31 22:11:14.254380520 +0100 -@@ -6,7 +6,7 @@ warn = -Wall -Wno-int-to-pointer-cast -W - CC = gcc - INSTALL = install - CFLAGS = $(user_cflags) `pkg-config --cflags gtk+-2.0` --LDFLAGS = $(user_ldflags) `pkg-config --libs gtk+-2.0` -+LDFLAGS = $(user_ldflags) `pkg-config --libs gtk+-2.0` -lX11 - - $(bin): $(obj) - $(CC) -o $@ $(obj) $(LDFLAGS) diff --git a/x11-misc/spnavcfg/metadata.xml b/x11-misc/spnavcfg/metadata.xml deleted file mode 100644 index d5be1b2..0000000 --- a/x11-misc/spnavcfg/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - no-herd - - anthoine.bourgeois@gmail.com - Anthoine Bourgeois - - - sping@gentoo.org - Sebastian Pipping - - - The spnavcfg is the GTK-based configuration GUI for - sys-libs/spacenavd. - - diff --git a/x11-misc/spnavcfg/spnavcfg-0.2.1.ebuild b/x11-misc/spnavcfg/spnavcfg-0.2.1.ebuild deleted file mode 100644 index 57e9a4c..0000000 --- a/x11-misc/spnavcfg/spnavcfg-0.2.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="3" - -inherit eutils toolchain-funcs - -DESCRIPTION="GTK-based GUI to configure a space navigator device" -HOMEPAGE="http://spacenav.sourceforge.net/" -SRC_URI="mirror://sourceforge/project/spacenav/spacenavd%20config%20gui/${PN}%20${PV}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -COMMON_DEPEND="x11-libs/gtk+:2" -DEPEND="${COMMON_DEPEND} - dev-util/pkgconfig" -RDEPEND="${COMMON_DEPEND} - app-misc/spacenavd[X]" - -src_prepare() { - epatch "${FILESDIR}"/${P}-destdir.patch - epatch "${FILESDIR}"/${P}-custom-flags.patch - epatch "${FILESDIR}"/${P}-x11-libs.patch -} - -src_compile() { - emake CC=$(tc-getCC) || die "Make failed." -} - -src_install() { - emake DESTDIR="${D}" install || die "Install failed" - dodoc README || die -} -- cgit v1.2.3-65-gdbad