diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-05 04:27:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-05 04:27:10 +0100 |
commit | f3f72d0d5f1ae9ee74acaa63ccb7a247468e73bf (patch) | |
tree | e67f56736e141f27487331c26096c4c0a51979a8 /dev-libs/libspnav | |
parent | fa275aeb316ed5e68498ca0057b27a1e9c887e26 (diff) |
gentoo auto-resync : 05:10:2024 - 04:27:09
Diffstat (limited to 'dev-libs/libspnav')
-rw-r--r-- | dev-libs/libspnav/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/libspnav/files/libspnav-0.2.3-makefile.patch | 39 | ||||
-rw-r--r-- | dev-libs/libspnav/files/libspnav-1.0-no-xorg-compile.patch | 45 | ||||
-rw-r--r-- | dev-libs/libspnav/libspnav-0.2.3-r1.ebuild | 52 | ||||
-rw-r--r-- | dev-libs/libspnav/libspnav-1.0-r1.ebuild | 60 |
5 files changed, 0 insertions, 202 deletions
diff --git a/dev-libs/libspnav/Manifest b/dev-libs/libspnav/Manifest index 6e0c9dd4a641..ee2655a66cd9 100644 --- a/dev-libs/libspnav/Manifest +++ b/dev-libs/libspnav/Manifest @@ -1,9 +1,3 @@ -AUX libspnav-0.2.3-makefile.patch 1329 BLAKE2B 8eccfcfa539703437326b4800597dc7b6074d7bda0246c27a819114969a6906901b6063a11cdf8dd29148cbf9ecef5d5301f842355b86600b3077b34d61cd6d0 SHA512 8cdc05d5b0d4aa16de59752d0ce204dd0db1df63554c53c2e0b9ea04a7a1b32a0fded8ba4f9f5fc94456f6d4b7b87213284f88944931903986f4df81784cc64f -AUX libspnav-1.0-no-xorg-compile.patch 1473 BLAKE2B 09848c7ec4e76d8a434b05a98728bcc3be652ddb65dfd2c290ce2dada50841b8ebe90cc127f3b63097e9edc8436086553e7a740d68e19faed836d688417dd416 SHA512 09528ae037ef05c02af1027b81896d7692b46703abfbe9708d4ad858f1deaa8d8891d7b8b7dd655117e64780a85c41a77385f4b5db2a67b5258041c4d1b35e95 -DIST libspnav-0.2.3.tar.gz 11985 BLAKE2B 134a0c3f7c9a7ef7c4f68910e0266880958e2b74e253b75237b0fa8d3e482bcd1f42e715b85f0ffca3a62103530e854090818564d9c241bfc55de039cc4883ee SHA512 b2c452d979d455fc99bfdc172c8a2408a6e8dc40acc52964fa64f4d75a8ee77dda12e5e212c0c4e07a0a24d055f16f85bb6ce6287e24e6bd0665de457e37e6a7 -DIST libspnav-1.0.tar.gz 31578 BLAKE2B 535cdf588b4b1de8f37f9239a48df10e755d004fbe6b5f3771b00bb2f9a8b36e7db30297a8a99ac689d890c08c728303af3d71c60c299574bf02476aa5724b11 SHA512 ae36ea51dbca7d5ba31d82ffaa46bad2bd877f5f7c077d2e711747427f6d60a000ab0c827ae6523ba6a275dbad205eea8c20520fe2575a6fa6b554ea8b5e0eaa DIST libspnav-1.1.tar.gz 31574 BLAKE2B 3c15ead61a6eb61da6eb4d072f09b1eb410b441d622d18efe2b70754efcb5de3fd1d2e707fe162d62fb5246e1f8f1313d80ff8765edad6626760e1e2c7283191 SHA512 94770d9449dd02ade041d3589bcae7664fa990c4a4feca7b2b1e6542b65aa7073305595310b9e639f10716cf15aaad913e57496fb79bdd4dba5bf703ec8299ab -EBUILD libspnav-0.2.3-r1.ebuild 1241 BLAKE2B 48cfe5738f0d327653771efca277280ff060641f858007a07ec658c76ec445a32e5f610a881569e4f6476a2bd5d1e9215539f255d29895c30d06c5199ac4ce18 SHA512 5b36cdd556327d033341bc83eb1a8308b93f852bbc858b824f59f23ecaa22143cad634d82ae61139ac34542be8137179107184df5e06e1e8dc177589397dbfd7 -EBUILD libspnav-1.0-r1.ebuild 1359 BLAKE2B 27c60afa4e05ecc15c343133d0514ecdfb17a5201c20aa49096975d6b5bcd61e568370eef1e0b2e670d146a53f00e5c59e1fa0d98b6f6ea5f9f6cc647b8b95e4 SHA512 4da4f15dcc9011bb35cbbed471b05169e3024d3ea1b7d05c9c49ea79e3bf9b758c164501d2749365560743fd4a2cef453b66cb076cb236ddbf01e11c81dfb938 EBUILD libspnav-1.1.ebuild 1301 BLAKE2B 0ab06816aad775c58c6c2a00812d6e5ce8c73b7ada365d3da169c0ccb395b807f56ce24828d25b62152d106919101dfa1219680f200d9c8c31fe5b43750b1963 SHA512 cf5d5d427773ddc46a7f19071f5a319553ce08261019c72d3d0b53a1d705cde4b7b6535c2a98c782899548f21c40338a662d0df30639a6c239e43f8c6e2fc54d MISC metadata.xml 873 BLAKE2B 603274001842bc7c08e305c522e55446db42f062ec35a2b9489cf292f85ec41b412ffc5a439c1c7a8436e84eb6de8257ead0beb1d2691011c4e519a0635da4cc SHA512 df98aead602e905da722a8d1ca4c8ee77850f9c46ab6cc99661226a3e89f24c15593acf8251d8327ef97916ad71f4c755b4d086eac7e9c5d8fa82473bc484d67 diff --git a/dev-libs/libspnav/files/libspnav-0.2.3-makefile.patch b/dev-libs/libspnav/files/libspnav-0.2.3-makefile.patch deleted file mode 100644 index 6fbd73debcbf..000000000000 --- a/dev-libs/libspnav/files/libspnav-0.2.3-makefile.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 7b988445b29b2bffb0714ad419c9b6dd90baccd2 Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping <sebastian@pipping.org> -Date: Sun, 7 Jul 2019 21:51:44 +0200 -Subject: [PATCH] Makefile.in: Ignore /usr/local/ + fix .so symlink creation - ---- - Makefile.in | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index 7abe595..39714f8 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -5,8 +5,8 @@ hdr = spnav.h spnav_magellan.h spnav_config.h - name = spnav - lib_a = lib$(name).a - --incpaths = -I. -I/usr/local/include -I/usr/X11R6/include --libpaths = -L/usr/local/lib -L/usr/X11R6/lib -+incpaths = -I. -+libpaths = - - CC = gcc - AR = ar -@@ -54,9 +54,8 @@ install: $(lib_a) $(lib_so) - cp $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so) - [ -n "$(soname)" ] && \ - rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) && \ -- ln -s $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) && \ -- ln -s $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) || \ -- true -+ ln -s "$(lib_so)" $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) && \ -+ ln -s "$(lib_so)" $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) - for h in $(hdr); do cp -p $(srcdir)/$$h $(DESTDIR)$(PREFIX)/include/; done - - .PHONY: uninstall --- -2.21.0 - diff --git a/dev-libs/libspnav/files/libspnav-1.0-no-xorg-compile.patch b/dev-libs/libspnav/files/libspnav-1.0-no-xorg-compile.patch deleted file mode 100644 index 87cf1d676282..000000000000 --- a/dev-libs/libspnav/files/libspnav-1.0-no-xorg-compile.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 12cff951bb9ee24bab2f09793d3e3917b8649f36 Mon Sep 17 00:00:00 2001 -From: John Tsiombikas <nuclear@member.fsf.org> -Date: Sat, 2 Apr 2022 01:17:41 +0300 -Subject: [PATCH] fix no-x11 build: some new functions were erroneously - declared inside the USE_X11 conditional block. - ---- - src/spnav.c | 17 +++++++++-------- - 1 file changed, 9 insertions(+), 8 deletions(-) - -diff --git a/src/spnav.c b/src/spnav.c -index a444fb2..41fd559 100644 ---- a/src/spnav.c -+++ b/src/spnav.c -@@ -50,14 +50,6 @@ OF SUCH DAMAGE. - static Window get_daemon_window(Display *dpy); - static int catch_badwin(Display *dpy, XErrorEvent *err); - --static int read_event(int s, spnav_event *event); --static int proc_event(int *data, spnav_event *event); -- --static void flush_resp(void); --static int wait_resp(void *buf, int sz, int timeout_ms); --static int request(int req, struct reqresp *rr, int timeout_ms); --static int request_str(int req, char *buf, int bufsz, int timeout_ms); -- - - static Display *dpy; - static Window app_win; -@@ -73,6 +65,15 @@ enum { - #define IS_OPEN (sock != -1) - #endif - -+static int read_event(int s, spnav_event *event); -+static int proc_event(int *data, spnav_event *event); -+ -+static void flush_resp(void); -+static int wait_resp(void *buf, int sz, int timeout_ms); -+static int request(int req, struct reqresp *rr, int timeout_ms); -+static int request_str(int req, char *buf, int bufsz, int timeout_ms); -+ -+ - struct event_node { - spnav_event event; - struct event_node *next; diff --git a/dev-libs/libspnav/libspnav-0.2.3-r1.ebuild b/dev-libs/libspnav/libspnav-0.2.3-r1.ebuild deleted file mode 100644 index b10f9ecccbb6..000000000000 --- a/dev-libs/libspnav/libspnav-0.2.3-r1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit toolchain-funcs - -MY_PN='spacenav' -DESCRIPTION="libspnav is a replacement for the magellan library with a cleaner API" -HOMEPAGE="http://spacenav.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/project/${MY_PN}/${MY_PN}%20library%20%28SDK%29/${PN}%20${PV}/${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ppc64 ~riscv x86" -IUSE="static-libs X" - -CDEPEND="X? ( x11-libs/libX11 )" -RDEPEND="app-misc/spacenavd[X?] - ${CDEPEND}" -DEPEND="${CDEPEND}" - -src_prepare() { - eapply "${FILESDIR}"/${P}-makefile.patch - eapply_user -} - -src_configure() { - local args=( - --disable-opt - --disable-debug - $(use_enable X x11) - ) - econf "${args[@]}" -} - -src_compile() { - emake AR="$(tc-getAR)" CC="$(tc-getCC)" -} - -src_install() { - local args=( - DESTDIR="${D}" - libdir="$(get_libdir)" - ) - emake "${args[@]}" install - - # The custom configure script does not support --disable-static - # and conditionally patching $(lib_a) out of Makefile.in does not - # seem like a very maintainable option, hence we delete the .a file - # after "make install", instead. - use static-libs || find "${D}" -type f -name \*.a -delete -} diff --git a/dev-libs/libspnav/libspnav-1.0-r1.ebuild b/dev-libs/libspnav/libspnav-1.0-r1.ebuild deleted file mode 100644 index c11540c54500..000000000000 --- a/dev-libs/libspnav/libspnav-1.0-r1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit toolchain-funcs - -MY_PN='spacenav' -DESCRIPTION="libspnav is a replacement for the magellan library with a cleaner API" -HOMEPAGE="http://spacenav.sourceforge.net/" -SRC_URI="https://github.com/FreeSpacenav/libspnav/releases/download/v${PV}/libspnav-${PV}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="static-libs X" - -CDEPEND="X? ( x11-libs/libX11 )" -RDEPEND="app-misc/spacenavd[X?] - ${CDEPEND}" -DEPEND="${CDEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-no-xorg-compile.patch -) - -src_configure() { - local args=( - --disable-opt - --disable-debug - $(use_enable X x11) - ) - econf "${args[@]}" - - # https://bugs.gentoo.org/838349 - sed "/^Libs:/ s,/lib,/$(get_libdir)," -i spnav.pc || die -} - -src_compile() { - local args=( - AR="$(tc-getAR)" - CC="$(tc-getCC)" - incpaths=-I. - libpaths= - ) - emake "${args[@]}" -} - -src_install() { - local args=( - DESTDIR="${D}" - libdir="$(get_libdir)" - ) - emake "${args[@]}" install - - # The custom configure script does not support --disable-static - # and conditionally patching $(lib_a) out of Makefile.in does not - # seem like a very maintainable option, hence we delete the .a file - # after "make install", instead. - use static-libs || find "${D}" -type f -name \*.a -delete -} |