[gentoo-commits] repo/gentoo:master commit in: x11-misc/spnavcfg/files/, x11-misc/spnavcfg/
commit: 2f56219f14b8449eb2dbe233880f72a12dfddd98 Author: Sebastian Pipping gentoo org> AuthorDate: Sun Jan 8 20:44:24 2023 + Commit: Sebastian Pipping gentoo org> CommitDate: Sun Jan 8 20:48:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f56219f x11-misc/spnavcfg: 1.1 + EAPI 8 Signed-off-by: Sebastian Pipping gentoo.org> x11-misc/spnavcfg/Manifest | 1 + .../spnavcfg/files/spnavcfg-1.1-makefile.patch | 23 +++ x11-misc/spnavcfg/spnavcfg-1.1.ebuild | 48 ++ 3 files changed, 72 insertions(+) diff --git a/x11-misc/spnavcfg/Manifest b/x11-misc/spnavcfg/Manifest index 2f8e6a85d95d..77bc7b18b217 100644 --- a/x11-misc/spnavcfg/Manifest +++ b/x11-misc/spnavcfg/Manifest @@ -1,2 +1,3 @@ DIST spnavcfg-0.3.1.tar.gz 215460 BLAKE2B f2bd35022399ec085d5c8b08c7514fdac8e974b33e9923a79446fa9552827d5986abf136fdb95ed31d7dbec419eb34ce13039955c6255cff971ffedcd3cc8a02 SHA512 b5e0ef2036eebc971298d95e8a91bd89ade956933919a4a5dc062fd977ff159bba392b0092ac36142fb317a9758c26319b07680b473f9957eda0163146be5408 DIST spnavcfg-1.0.tar.gz 496695 BLAKE2B 59d79cc1707881ba50e809c73a41cb94dbfd15e5e184114190efa2394fe4b53f25960a828611007a200687a3e9827bc4df30d3d06ca3764b23573a1f51fb2974 SHA512 271d1d66fdfb4aff9faa521c51c776dbccf77320b0783a5dbdcc4a28d4190ef3ba6c3d277d706dafc35e2e6ceed1d244d346d4a91cf8e1f5ba3141c24d065ea8 +DIST spnavcfg-1.1.tar.gz 497896 BLAKE2B 874489904970182f6f56d0a7bd63cc3847f101729b2c6866677fc0c17fab4bad42132ac0f93a39ef9a35654acde8ef6cd42a462756dd7f0c3914424a5fc54dd2 SHA512 4d5c9dc37d1906dbc99535a758554d9419e20ad773adcf2d2062795a8e194a88b68c360341a08e3ac236df08a2e389c4475f341b5bac662a4526dada0bb891a6 diff --git a/x11-misc/spnavcfg/files/spnavcfg-1.1-makefile.patch b/x11-misc/spnavcfg/files/spnavcfg-1.1-makefile.patch new file mode 100644 index ..0476d7a10152 --- /dev/null +++ b/x11-misc/spnavcfg/files/spnavcfg-1.1-makefile.patch @@ -0,0 +1,23 @@ +From fd9aa10fb8e19a257398757943b3d8e79906e583 Mon Sep 17 00:00:00 2001 +From: John Tsiombikas +Date: Sun, 8 Jan 2023 21:49:12 +0200 +Subject: [PATCH] Make sure there are no duplicate object files. Closes issue + #29 + +--- + Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.in b/Makefile.in +index b760f4d..f66ba22 100644 +--- a/Makefile.in b/Makefile.in +@@ -2,7 +2,7 @@ csrc = $(wildcard src/*.c) + ccsrc = $(wildcard src/*.cc) + mochdr = src/ui.h + mocsrc = $(mochdr:.h=.moc.cc) +-obj = $(csrc:.c=.o) $(ccsrc:.cc=.o) $(mocsrc:.cc=.o) res.cc ++obj = $(sort $(csrc:.c=.o) $(ccsrc:.cc=.o) $(mocsrc:.cc=.o)) res.cc + dep = $(csrc:.c=.d) $(ccsrc:.cc=.d) + bin = spnavcfg + diff --git a/x11-misc/spnavcfg/spnavcfg-1.1.ebuild b/x11-misc/spnavcfg/spnavcfg-1.1.ebuild new file mode 100644 index ..6d9bd749d265 --- /dev/null +++ b/x11-misc/spnavcfg/spnavcfg-1.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs qmake-utils + +DESCRIPTION="Qt-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=">=dev-libs/libspnav-1[X] + dev-qt/qtcore + dev-qt/qtgui + dev-qt/qtwidgets + x11-libs/libX11" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig" +RDEPEND="${COMMON_DEPEND} + >=app-misc/spacenavd-1[X]" + +src_configure() { + # Note: Makefile uses $(add_cflags) inside $(CXXFLAGS) + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + econf --disable-debug --disable-opt +} + +PATCHES=( + "${FILESDIR}"/${P}-makefile.patch +) + +src_compile() { + local args=( + CC="$(tc-getCC)" + CXX="$(tc-getCXX)" + MOC="$(qt5_get_bindir)/moc" + RCC="$(qt5_get_bindir)/rcc" + UIC="$(qt5_get_bindir)/uic" + libpath="-L/usr/$(get_libdir)" + ) + emake "${args[@]}" +}
[gentoo-commits] repo/gentoo:master commit in: x11-misc/spnavcfg/
commit: bd348c2ca05bc5201e5fc40e5b358ab04e522e31 Author: Sebastian Pipping gentoo org> AuthorDate: Wed Apr 6 20:41:52 2022 + Commit: Sebastian Pipping gentoo org> CommitDate: Wed Apr 6 20:43:47 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd348c2c x11-misc/spnavcfg: Make 1.0 compile without qtchooser installed Closes: https://bugs.gentoo.org/836948 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-3.0.30, Repoman-3.0.3 x11-misc/spnavcfg/spnavcfg-1.0.ebuild | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/x11-misc/spnavcfg/spnavcfg-1.0.ebuild b/x11-misc/spnavcfg/spnavcfg-1.0.ebuild index f2b2fbed5906..d49c3125f96a 100644 --- a/x11-misc/spnavcfg/spnavcfg-1.0.ebuild +++ b/x11-misc/spnavcfg/spnavcfg-1.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit toolchain-funcs +inherit toolchain-funcs qmake-utils DESCRIPTION="GTK-based GUI to configure a space navigator device" HOMEPAGE="http://spacenav.sourceforge.net/; @@ -29,5 +29,11 @@ src_configure() { } src_compile() { - emake CC="$(tc-getCC)" + local args=( + CC="$(tc-getCC)" + MOC="$(qt5_get_bindir)/moc" + RCC="$(qt5_get_bindir)/rcc" + UIC="$(qt5_get_bindir)/uic" + ) + emake "${args[@]}" }
[gentoo-commits] repo/gentoo:master commit in: x11-misc/spnavcfg/
commit: 8aa0fbe3a8ebc0ef5c2737156e519351560b74f1 Author: Sebastian Pipping gentoo org> AuthorDate: Wed Apr 6 17:26:43 2022 + Commit: Sebastian Pipping gentoo org> CommitDate: Wed Apr 6 17:29:32 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aa0fbe3 x11-misc/spnavcfg: 1.0 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-3.0.30, Repoman-3.0.3 x11-misc/spnavcfg/Manifest| 1 + x11-misc/spnavcfg/spnavcfg-1.0.ebuild | 33 + 2 files changed, 34 insertions(+) diff --git a/x11-misc/spnavcfg/Manifest b/x11-misc/spnavcfg/Manifest index 37c190bfda17..2f8e6a85d95d 100644 --- a/x11-misc/spnavcfg/Manifest +++ b/x11-misc/spnavcfg/Manifest @@ -1 +1,2 @@ DIST spnavcfg-0.3.1.tar.gz 215460 BLAKE2B f2bd35022399ec085d5c8b08c7514fdac8e974b33e9923a79446fa9552827d5986abf136fdb95ed31d7dbec419eb34ce13039955c6255cff971ffedcd3cc8a02 SHA512 b5e0ef2036eebc971298d95e8a91bd89ade956933919a4a5dc062fd977ff159bba392b0092ac36142fb317a9758c26319b07680b473f9957eda0163146be5408 +DIST spnavcfg-1.0.tar.gz 496695 BLAKE2B 59d79cc1707881ba50e809c73a41cb94dbfd15e5e184114190efa2394fe4b53f25960a828611007a200687a3e9827bc4df30d3d06ca3764b23573a1f51fb2974 SHA512 271d1d66fdfb4aff9faa521c51c776dbccf77320b0783a5dbdcc4a28d4190ef3ba6c3d277d706dafc35e2e6ceed1d244d346d4a91cf8e1f5ba3141c24d065ea8 diff --git a/x11-misc/spnavcfg/spnavcfg-1.0.ebuild b/x11-misc/spnavcfg/spnavcfg-1.0.ebuild new file mode 100644 index ..f2b2fbed5906 --- /dev/null +++ b/x11-misc/spnavcfg/spnavcfg-1.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit 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=">=dev-libs/libspnav-1[X] + dev-qt/qtcore + dev-qt/qtgui + dev-qt/qtwidgets + x11-libs/libX11" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig" +RDEPEND="${COMMON_DEPEND} + >=app-misc/spacenavd-1[X]" + +src_configure() { + econf --disable-debug --disable-opt +} + +src_compile() { + emake CC="$(tc-getCC)" +}
[gentoo-commits] repo/gentoo:master commit in: x11-misc/spnavcfg/
commit: 43e4662d4c0ac31555331211ae9bf048b27af28f Author: Sam James gentoo org> AuthorDate: Sun Mar 20 00:13:37 2022 + Commit: Sam James gentoo org> CommitDate: Sun Mar 20 00:13:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43e4662d x11-misc/spnavcfg: [QA] fix tc-get* quoting This can cause build problems for e.g. 32-bit (gcc -m32 ...) Signed-off-by: Sam James gentoo.org> x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild b/x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild index ae66b2298782..3cec1650f544 100644 --- a/x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild +++ b/x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -25,5 +25,5 @@ src_configure() { } src_compile() { - emake CC=$(tc-getCC) + emake CC="$(tc-getCC)" }
[gentoo-commits] repo/gentoo:master commit in: x11-misc/spnavcfg/, x11-misc/spnavcfg/files/
commit: caedbf4de602b5c5ba7e558f0d2165a19a67d847 Author: Sebastian Pipping gentoo org> AuthorDate: Sat Mar 13 13:46:10 2021 + Commit: Sebastian Pipping gentoo org> CommitDate: Sat Mar 13 13:46:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caedbf4d x11-misc/spnavcfg: Drop old (EAPI 6) Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-3.0.17, Repoman-3.0.2 x11-misc/spnavcfg/Manifest | 1 - .../spnavcfg/files/spnavcfg-0.3-custom-flags.patch | 60 -- x11-misc/spnavcfg/spnavcfg-0.3.ebuild | 27 -- 3 files changed, 88 deletions(-) diff --git a/x11-misc/spnavcfg/Manifest b/x11-misc/spnavcfg/Manifest index 5ca4eeab33d..37c190bfda1 100644 --- a/x11-misc/spnavcfg/Manifest +++ b/x11-misc/spnavcfg/Manifest @@ -1,2 +1 @@ DIST spnavcfg-0.3.1.tar.gz 215460 BLAKE2B f2bd35022399ec085d5c8b08c7514fdac8e974b33e9923a79446fa9552827d5986abf136fdb95ed31d7dbec419eb34ce13039955c6255cff971ffedcd3cc8a02 SHA512 b5e0ef2036eebc971298d95e8a91bd89ade956933919a4a5dc062fd977ff159bba392b0092ac36142fb317a9758c26319b07680b473f9957eda0163146be5408 -DIST spnavcfg-0.3.tar.gz 214774 BLAKE2B aee45a796bd95761e4a7fe922cc5b65185c894e2fa366dea6d7677fc5ac3b7e0345b89eedef7bf8e446c598d66f161bb66fa695c07b433f5a6b7dce5055b6256 SHA512 a3411c32a6c7de2fd1cfa7960e1b0dade88e8c37435a39ded864b4b6f12fd3c8f518dad7a4ac5b465517484e74b3586f12d47e780f655fd7e4c3fea8d6186c80 diff --git a/x11-misc/spnavcfg/files/spnavcfg-0.3-custom-flags.patch b/x11-misc/spnavcfg/files/spnavcfg-0.3-custom-flags.patch deleted file mode 100644 index d0ef0db6e71..000 --- a/x11-misc/spnavcfg/files/spnavcfg-0.3-custom-flags.patch +++ /dev/null @@ -1,60 +0,0 @@ -From e994e67a6a5c4722bdc8140528a4dd258c785402 Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping -Date: Wed, 18 Jan 2017 18:45:11 +0100 -Subject: [PATCH] Respect custom CFLAGS/LDFLAGS - -Based on spnavcfg-0.2.1-custom-flags.patch - Makefile.in | 4 ++-- - configure | 13 + - 2 files changed, 15 insertions(+), 2 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index 06f23a6..296dd5d 100644 a/Makefile.in -+++ b/Makefile.in -@@ -7,8 +7,8 @@ warn = -Wall - CC = gcc - SED = sed - INSTALL = install --CFLAGS = -pedantic $(warn) $(dbg) $(opt) `pkg-config --cflags gtk+-2.0 gmodule-export-2.0` --LDFLAGS = `pkg-config --libs gtk+-2.0 gmodule-export-2.0` -lX11 -+CFLAGS = $(user_cflags) `pkg-config --cflags gtk+-2.0 gmodule-export-2.0` -+LDFLAGS = $(user_ldflags) `pkg-config --libs gtk+-2.0 gmodule-export-2.0` -lX11 - - $(bin): $(obj) - $(CC) -o $@ $(obj) $(LDFLAGS) -diff --git a/configure b/configure -index e211d92..0fed776 100755 a/configure -+++ b/configure -@@ -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 '' --- -2.11.0 - diff --git a/x11-misc/spnavcfg/spnavcfg-0.3.ebuild b/x11-misc/spnavcfg/spnavcfg-0.3.ebuild deleted file mode 100644 index 20345a3947a..000 --- a/x11-misc/spnavcfg/spnavcfg-0.3.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit 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} - virtual/pkgconfig" -RDEPEND="${COMMON_DEPEND} - app-misc/spacenavd[X]" - -PATCHES=( "${FILESDIR}"/${P}-custom-flags.patch ) - -src_compile() { - emake CC=$(tc-getCC) -}
[gentoo-commits] repo/gentoo:master commit in: x11-misc/spnavcfg/
commit: edf4eb624d94c56e8bf1dcd01a0e89bb2727663d Author: Sam James gentoo org> AuthorDate: Sat Mar 13 11:36:58 2021 + Commit: Sam James gentoo org> CommitDate: Sat Mar 13 11:37:23 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edf4eb62 x11-misc/spnavcfg: Stabilize 0.3.1 x86, #775695 Signed-off-by: Sam James gentoo.org> x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild b/x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild index 1d69b37b1d5..ae66b229878 100644 --- a/x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild +++ b/x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/project/spacenav/spacenavd%20config%20gui/${PN}%20 LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="" COMMON_DEPEND="x11-libs/gtk+:2"
[gentoo-commits] repo/gentoo:master commit in: x11-misc/spnavcfg/
commit: e40087de80cfb323ea55174b5ba8dcc05cae97c1 Author: Sam James gentoo org> AuthorDate: Sat Mar 13 11:35:56 2021 + Commit: Sam James gentoo org> CommitDate: Sat Mar 13 11:35:56 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e40087de x11-misc/spnavcfg: Stabilize 0.3.1 amd64, #775695 Signed-off-by: Sam James gentoo.org> x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild b/x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild index 3f3ca2c51ac..1d69b37b1d5 100644 --- a/x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild +++ b/x11-misc/spnavcfg/spnavcfg-0.3.1.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 @@ SRC_URI="mirror://sourceforge/project/spacenav/spacenavd%20config%20gui/${PN}%20 LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="" COMMON_DEPEND="x11-libs/gtk+:2"
[gentoo-commits] repo/gentoo:master commit in: x11-misc/spnavcfg/
commit: 64dc247235edca8e453f15c4fde0759ab3c75aae Author: Sebastian Pipping gentoo org> AuthorDate: Tue Dec 1 13:43:36 2020 + Commit: Sebastian Pipping gentoo org> CommitDate: Tue Dec 1 13:55:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64dc2472 x11-misc/spnavcfg: 0.3.1 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-3.0.0, Repoman-2.3.23 x11-misc/spnavcfg/Manifest | 1 + x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild | 29 + 2 files changed, 30 insertions(+) diff --git a/x11-misc/spnavcfg/Manifest b/x11-misc/spnavcfg/Manifest index 4b3f7fb47ab..5ca4eeab33d 100644 --- a/x11-misc/spnavcfg/Manifest +++ b/x11-misc/spnavcfg/Manifest @@ -1 +1,2 @@ +DIST spnavcfg-0.3.1.tar.gz 215460 BLAKE2B f2bd35022399ec085d5c8b08c7514fdac8e974b33e9923a79446fa9552827d5986abf136fdb95ed31d7dbec419eb34ce13039955c6255cff971ffedcd3cc8a02 SHA512 b5e0ef2036eebc971298d95e8a91bd89ade956933919a4a5dc062fd977ff159bba392b0092ac36142fb317a9758c26319b07680b473f9957eda0163146be5408 DIST spnavcfg-0.3.tar.gz 214774 BLAKE2B aee45a796bd95761e4a7fe922cc5b65185c894e2fa366dea6d7677fc5ac3b7e0345b89eedef7bf8e446c598d66f161bb66fa695c07b433f5a6b7dce5055b6256 SHA512 a3411c32a6c7de2fd1cfa7960e1b0dade88e8c37435a39ded864b4b6f12fd3c8f518dad7a4ac5b465517484e74b3586f12d47e780f655fd7e4c3fea8d6186c80 diff --git a/x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild b/x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild new file mode 100644 index 000..3f3ca2c51ac --- /dev/null +++ b/x11-misc/spnavcfg/spnavcfg-0.3.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit 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} + virtual/pkgconfig" +RDEPEND="${COMMON_DEPEND} + app-misc/spacenavd[X]" + +src_configure() { + econf --disable-debug --disable-opt +} + +src_compile() { + emake CC=$(tc-getCC) +}
[gentoo-commits] repo/gentoo:master commit in: x11-misc/spnavcfg/
commit: 79a14df99fb3169ed7c8f4b2a10d8c0b6451d5a2 Author: Sebastian Pipping gentoo org> AuthorDate: Fri Jan 31 18:33:00 2020 + Commit: Sebastian Pipping gentoo org> CommitDate: Fri Jan 31 18:33:00 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79a14df9 x11-misc/spnavcfg: De-warn RedundantLongDescription Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-2.3.84, Repoman-2.3.20 x11-misc/spnavcfg/metadata.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x11-misc/spnavcfg/metadata.xml b/x11-misc/spnavcfg/metadata.xml index 6367108ce05..6dca9970b45 100644 --- a/x11-misc/spnavcfg/metadata.xml +++ b/x11-misc/spnavcfg/metadata.xml @@ -6,8 +6,9 @@ Sebastian Pipping - The spnavcfg is the GTK-based configuration GUI for + spnavcfg is a GTK-based configuration GUI for app-misc/spacenavd. + It allows convenient configuration of a space navigator device. spacenav
[gentoo-commits] repo/gentoo:master commit in: x11-misc/spnavcfg/
commit: 4a43ba662c882613050a1add82720cb57f0e7c1b Author: Jonas Stein gentoo org> AuthorDate: Sun Aug 19 08:16:39 2018 + Commit: Jonas Stein gentoo org> CommitDate: Sun Aug 19 08:18:12 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a43ba66 x11-misc/spnavcfg: Maintainer retired Proxied maintainer retired due to inactivity. Bug: https://bugs.gentoo.org/633188 Package-Manager: Portage-2.3.47, Repoman-2.3.10 x11-misc/spnavcfg/metadata.xml | 8 1 file changed, 8 deletions(-) diff --git a/x11-misc/spnavcfg/metadata.xml b/x11-misc/spnavcfg/metadata.xml index d8bdf8ef87b..6367108ce05 100644 --- a/x11-misc/spnavcfg/metadata.xml +++ b/x11-misc/spnavcfg/metadata.xml @@ -1,18 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - anthoine.bourge...@gmail.com - Anthoine Bourgeois - sp...@gentoo.org Sebastian Pipping - - proxy-ma...@gentoo.org - Proxy Maintainers - The spnavcfg is the GTK-based configuration GUI for app-misc/spacenavd.
[gentoo-commits] repo/gentoo:master commit in: x11-misc/spnavcfg/
commit: 99337643d97fd3eceda9f1dcd84ae14b79692683 Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Oct 26 18:49:01 2017 + Commit: Thomas Deutschmann gentoo org> CommitDate: Thu Oct 26 18:53:59 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99337643 x11-misc/spnavcfg: x86 stable (bug #617590) Package-Manager: Portage-2.3.11, Repoman-2.3.3 x11-misc/spnavcfg/spnavcfg-0.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x11-misc/spnavcfg/spnavcfg-0.3.ebuild b/x11-misc/spnavcfg/spnavcfg-0.3.ebuild index b6cb667f0d7..c8c438c0150 100644 --- a/x11-misc/spnavcfg/spnavcfg-0.3.ebuild +++ b/x11-misc/spnavcfg/spnavcfg-0.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/project/spacenav/spacenavd%20config%20gui/${PN}%20 LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="" COMMON_DEPEND="x11-libs/gtk+:2"
[gentoo-commits] repo/gentoo:master commit in: x11-misc/spnavcfg/
commit: b689e7f9b3d3296bb4899d29a7c525f3ed7a1422 Author: David Seifert gentoo org> AuthorDate: Mon Feb 6 08:15:16 2017 + Commit: David Seifert gentoo org> CommitDate: Mon Feb 6 08:15:16 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b689e7f9 x11-misc/spnavcfg: EAPI 6, clean up Package-Manager: Portage-2.3.3, Repoman-2.3.1 x11-misc/spnavcfg/spnavcfg-0.3.ebuild | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/x11-misc/spnavcfg/spnavcfg-0.3.ebuild b/x11-misc/spnavcfg/spnavcfg-0.3.ebuild index 62c0ff4..4af7bbb 100644 --- a/x11-misc/spnavcfg/spnavcfg-0.3.ebuild +++ b/x11-misc/spnavcfg/spnavcfg-0.3.ebuild @@ -2,9 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="5" +EAPI=6 -inherit eutils toolchain-funcs +inherit toolchain-funcs DESCRIPTION="GTK-based GUI to configure a space navigator device" HOMEPAGE="http://spacenav.sourceforge.net/; @@ -21,15 +21,8 @@ DEPEND="${COMMON_DEPEND} RDEPEND="${COMMON_DEPEND} app-misc/spacenavd[X]" -src_prepare() { - epatch "${FILESDIR}"/${P}-custom-flags.patch -} +PATCHES=( "${FILESDIR}"/${P}-custom-flags.patch ) src_compile() { - emake CC=$(tc-getCC) || die "Make failed." -} - -src_install() { - emake DESTDIR="${D}" install || die "Install failed" - dodoc README || die + emake CC=$(tc-getCC) }
[gentoo-commits] repo/gentoo:master commit in: x11-misc/spnavcfg/, x11-misc/spnavcfg/files/
commit: 0238927474fb9be94837f224ac107a370c4f4866 Author: Harri Nieminen gmail com> AuthorDate: Mon Feb 6 06:43:03 2017 + Commit: David Seifert gentoo org> CommitDate: Mon Feb 6 08:09:11 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02389274 x11-misc/spnavcfg: Drop old Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/3835 x11-misc/spnavcfg/Manifest | 1 - .../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/spnavcfg-0.2.1.ebuild| 37 -- 5 files changed, 110 deletions(-) diff --git a/x11-misc/spnavcfg/Manifest b/x11-misc/spnavcfg/Manifest index 3b1e5b8..db82881 100644 --- a/x11-misc/spnavcfg/Manifest +++ b/x11-misc/spnavcfg/Manifest @@ -1,2 +1 @@ -DIST spnavcfg-0.2.1.tar.gz 18717 SHA256 a26d4478480f2fb65217cb0d88da5ff81a38c27aaa74710778ea0b999259c4c1 SHA512 8cda7e8c9c2aa0875c6cf19e96ec47b9492acdcb110e9845f278ede44bee733876a56e2aa2d1198f54d8fecb978fcfe0a61e8f7b7fe19c2754eceec957172e34 WHIRLPOOL f9d40d173e66fdb022fceaabe3d05ad4f088a3e9afdb1c3f27933409682d699d67346a16dcb6fb3736e133c1a341952cdc6b6aafe3734a91c33881b11b2b3dbb DIST spnavcfg-0.3.tar.gz 214774 SHA256 4c950b8d4ebd4243c0bf08b6c5922f81b8cf73ec6bb7b20acb390610cdea4bd7 SHA512 a3411c32a6c7de2fd1cfa7960e1b0dade88e8c37435a39ded864b4b6f12fd3c8f518dad7a4ac5b465517484e74b3586f12d47e780f655fd7e4c3fea8d6186c80 WHIRLPOOL 13f677743dd2eed35f57ca178d8b1a9d3382ab1eb586d99b6ff33be0f080e88d80eabd91065db7c48d0ba7bff40eaf8c7d2d0fdc52f85256adb84cc6b4ef6b83 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.. --- 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.in2012-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.. --- 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.in2012-01-24 19:50:04.73830 +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.. --- 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.in2012-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 =
[gentoo-commits] repo/gentoo:master commit in: x11-misc/spnavcfg/, x11-misc/spnavcfg/files/
commit: 1385a65b7352e811ac8878a1618b0fee2d58915b Author: Sebastian Pipping gentoo org> AuthorDate: Wed Jan 18 17:50:18 2017 + Commit: Sebastian Pipping gentoo org> CommitDate: Wed Jan 18 17:50:35 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1385a65b x11-misc/spnavcfg: 0.3 (bug #606430) Package-Manager: Portage-2.3.3, Repoman-2.3.1 x11-misc/spnavcfg/Manifest | 1 + .../spnavcfg/files/spnavcfg-0.3-custom-flags.patch | 60 ++ x11-misc/spnavcfg/spnavcfg-0.3.ebuild | 35 + 3 files changed, 96 insertions(+) diff --git a/x11-misc/spnavcfg/Manifest b/x11-misc/spnavcfg/Manifest index 1fd31f0..3b1e5b8 100644 --- a/x11-misc/spnavcfg/Manifest +++ b/x11-misc/spnavcfg/Manifest @@ -1 +1,2 @@ DIST spnavcfg-0.2.1.tar.gz 18717 SHA256 a26d4478480f2fb65217cb0d88da5ff81a38c27aaa74710778ea0b999259c4c1 SHA512 8cda7e8c9c2aa0875c6cf19e96ec47b9492acdcb110e9845f278ede44bee733876a56e2aa2d1198f54d8fecb978fcfe0a61e8f7b7fe19c2754eceec957172e34 WHIRLPOOL f9d40d173e66fdb022fceaabe3d05ad4f088a3e9afdb1c3f27933409682d699d67346a16dcb6fb3736e133c1a341952cdc6b6aafe3734a91c33881b11b2b3dbb +DIST spnavcfg-0.3.tar.gz 214774 SHA256 4c950b8d4ebd4243c0bf08b6c5922f81b8cf73ec6bb7b20acb390610cdea4bd7 SHA512 a3411c32a6c7de2fd1cfa7960e1b0dade88e8c37435a39ded864b4b6f12fd3c8f518dad7a4ac5b465517484e74b3586f12d47e780f655fd7e4c3fea8d6186c80 WHIRLPOOL 13f677743dd2eed35f57ca178d8b1a9d3382ab1eb586d99b6ff33be0f080e88d80eabd91065db7c48d0ba7bff40eaf8c7d2d0fdc52f85256adb84cc6b4ef6b83 diff --git a/x11-misc/spnavcfg/files/spnavcfg-0.3-custom-flags.patch b/x11-misc/spnavcfg/files/spnavcfg-0.3-custom-flags.patch new file mode 100644 index ..d0ef0db --- /dev/null +++ b/x11-misc/spnavcfg/files/spnavcfg-0.3-custom-flags.patch @@ -0,0 +1,60 @@ +From e994e67a6a5c4722bdc8140528a4dd258c785402 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping+Date: Wed, 18 Jan 2017 18:45:11 +0100 +Subject: [PATCH] Respect custom CFLAGS/LDFLAGS + +Based on spnavcfg-0.2.1-custom-flags.patch +--- + Makefile.in | 4 ++-- + configure | 13 + + 2 files changed, 15 insertions(+), 2 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index 06f23a6..296dd5d 100644 +--- a/Makefile.in b/Makefile.in +@@ -7,8 +7,8 @@ warn = -Wall + CC = gcc + SED = sed + INSTALL = install +-CFLAGS = -pedantic $(warn) $(dbg) $(opt) `pkg-config --cflags gtk+-2.0 gmodule-export-2.0` +-LDFLAGS = `pkg-config --libs gtk+-2.0 gmodule-export-2.0` -lX11 ++CFLAGS = $(user_cflags) `pkg-config --cflags gtk+-2.0 gmodule-export-2.0` ++LDFLAGS = $(user_ldflags) `pkg-config --libs gtk+-2.0 gmodule-export-2.0` -lX11 + + $(bin): $(obj) + $(CC) -o $@ $(obj) $(LDFLAGS) +diff --git a/configure b/configure +index e211d92..0fed776 100755 +--- a/configure b/configure +@@ -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 '' +-- +2.11.0 + diff --git a/x11-misc/spnavcfg/spnavcfg-0.3.ebuild b/x11-misc/spnavcfg/spnavcfg-0.3.ebuild new file mode 100644 index ..62c0ff4 --- /dev/null +++ b/x11-misc/spnavcfg/spnavcfg-0.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +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} + virtual/pkgconfig" +RDEPEND="${COMMON_DEPEND} + app-misc/spacenavd[X]" + +src_prepare() { + epatch "${FILESDIR}"/${P}-custom-flags.patch +} + +src_compile() { + emake CC=$(tc-getCC) || die "Make failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + dodoc README || die +}
[gentoo-commits] repo/gentoo:master commit in: x11-misc/spnavcfg/
commit: 967532b0562bb20618360a149095316aa3f9dc75 Author: Ian Stakenvicius gentoo org> AuthorDate: Tue Apr 19 19:49:04 2016 + Commit: Ian Stakenvicius gentoo org> CommitDate: Tue Apr 19 19:50:49 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=967532b0 fix reference in metadata.xml Package-Manager: portage-2.2.26 x11-misc/spnavcfg/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x11-misc/spnavcfg/metadata.xml b/x11-misc/spnavcfg/metadata.xml index 32ac237..d8bdf8e 100644 --- a/x11-misc/spnavcfg/metadata.xml +++ b/x11-misc/spnavcfg/metadata.xml @@ -15,7 +15,7 @@ The spnavcfg is the GTK-based configuration GUI for - sys-libs/spacenavd. + app-misc/spacenavd. spacenav