From a96ccebd1721082b8a8d8322d36104bf492e529d Mon Sep 17 00:00:00 2001 From: Aisha Tammy Date: Thu, 24 Sep 2020 17:55:54 +0000 Subject: dev-libs/lib{cuda,gdev}: drop duplicate dead packages Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Aisha Tammy --- ...-detection-of-nouveau-in-case-its-builtin.patch | 26 ------------ ...Fix-install-target-for-gdev-lib-userspace.patch | 36 ----------------- ...stall-target-for-gdev-lib-userspace-part2.patch | 35 ---------------- .../0004-Respect-extra-CFLAGS-and-LDFLAGS.patch | 26 ------------ .../0005-Fix-install-target-for-cuda-lib.patch | 47 ---------------------- dev-libs/libcuda/libcuda-9999.ebuild | 43 -------------------- dev-libs/libcuda/metadata.xml | 11 ----- 7 files changed, 224 deletions(-) delete mode 100644 dev-libs/libcuda/files/0001-Fix-detection-of-nouveau-in-case-its-builtin.patch delete mode 100644 dev-libs/libcuda/files/0002-Fix-install-target-for-gdev-lib-userspace.patch delete mode 100644 dev-libs/libcuda/files/0003-Fix-install-target-for-gdev-lib-userspace-part2.patch delete mode 100644 dev-libs/libcuda/files/0004-Respect-extra-CFLAGS-and-LDFLAGS.patch delete mode 100644 dev-libs/libcuda/files/0005-Fix-install-target-for-cuda-lib.patch delete mode 100644 dev-libs/libcuda/libcuda-9999.ebuild delete mode 100644 dev-libs/libcuda/metadata.xml (limited to 'dev-libs/libcuda') diff --git a/dev-libs/libcuda/files/0001-Fix-detection-of-nouveau-in-case-its-builtin.patch b/dev-libs/libcuda/files/0001-Fix-detection-of-nouveau-in-case-its-builtin.patch deleted file mode 100644 index aaafd7da7..000000000 --- a/dev-libs/libcuda/files/0001-Fix-detection-of-nouveau-in-case-its-builtin.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 605e69e70ce7b4c505be91696612e98649ec383f Mon Sep 17 00:00:00 2001 -From: Alexey Shvetsov -Date: Thu, 15 Nov 2012 08:29:04 +0400 -Subject: [PATCH 1/5] Fix detection of nouveau in case its builtin - -Signed-off-by: Alexey Shvetsov ---- - common/autogen.sh | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/common/autogen.sh b/common/autogen.sh -index 469d3d8..1dca70f 100644 ---- a/common/autogen.sh -+++ b/common/autogen.sh -@@ -4,6 +4,8 @@ if [ ! $(lsmod | grep nvidia | wc -l) -eq 0 ] ; then - driver='nvi' - elif [ ! $(lsmod | grep nouveau | wc -l) -eq 0 ] ; then - driver='nouveau' -+elif [ ! $(zgrep NOUVEAU /proc/config.gz | grep y | wc -l) -eq 0 ] ; then -+ driver='nouveau' - elif [ ! $(lsmod | grep pscnv | wc -l) -eq 0 ] ; then - driver='pscnv' - else --- -1.7.12.3 - diff --git a/dev-libs/libcuda/files/0002-Fix-install-target-for-gdev-lib-userspace.patch b/dev-libs/libcuda/files/0002-Fix-install-target-for-gdev-lib-userspace.patch deleted file mode 100644 index 797136fae..000000000 --- a/dev-libs/libcuda/files/0002-Fix-install-target-for-gdev-lib-userspace.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 870f4cddb0233188ec1613a44eb9feb8c94469da Mon Sep 17 00:00:00 2001 -From: Alexey Shvetsov -Date: Thu, 15 Nov 2012 08:34:55 +0400 -Subject: [PATCH 2/5] Fix install target for gdev lib userspace - -Signed-off-by: Alexey Shvetsov ---- - lib/user/gdev/Makefile | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/lib/user/gdev/Makefile b/lib/user/gdev/Makefile -index d602fa9..5440469 100644 ---- a/lib/user/gdev/Makefile -+++ b/lib/user/gdev/Makefile -@@ -22,12 +22,12 @@ all: $(OBJS) - $(CC) -fPIC -c $^ -o $@ $(CFLAGS) $(EXTRA_LIBS) - - install: -- @if test ! -d $(GDEVDIR) ; then mkdir $(GDEVDIR) ; fi ; -- @if test ! -d $(GDEVDIR)/lib64 ; then mkdir $(GDEVDIR)/lib64 ; fi ; -- @if test ! -d $(GDEVDIR)/include ; then mkdir $(GDEVDIR)/include ; fi ; -- cp -f ./$(TARGET).so.1.0.0 $(GDEVDIR)/lib64/ -- ln -sf $(GDEVDIR)/lib64/$(TARGET).so.1.0.0 $(GDEVDIR)/lib64/$(TARGET).so.1 -- ln -sf $(GDEVDIR)/lib64/$(TARGET).so.1 $(GDEVDIR)/lib64/$(TARGET).so -+ @if test ! -d $(GDEVDIR) ; then mkdir $(DESTDIR)/$(GDEVDIR) ; fi ; -+ @if test ! -d $(GDEVDIR)/lib64 ; then mkdir $(DESTDIR)/$(GDEVDIR)/lib64 ; fi ; -+ @if test ! -d $(GDEVDIR)/include ; then mkdir $(DESTDIR)/$(GDEVDIR)/include ; fi ; -+ cp -f ./$(TARGET).so.1.0.0 $(DESTDIR)/$(GDEVDIR)/lib64/ -+ ln -sf $(GDEVDIR)/lib64/$(TARGET).so.1.0.0 $(DESTDIR)/$(GDEVDIR)/lib64/$(TARGET).so.1 -+ ln -sf $(GDEVDIR)/lib64/$(TARGET).so.1 $(DESTDIR)/$(GDEVDIR)/lib64/$(TARGET).so - cp -f $(HEADERS) $(GDEVDIR)/include - - uninstall: --- -1.7.12.3 - diff --git a/dev-libs/libcuda/files/0003-Fix-install-target-for-gdev-lib-userspace-part2.patch b/dev-libs/libcuda/files/0003-Fix-install-target-for-gdev-lib-userspace-part2.patch deleted file mode 100644 index 159ebd737..000000000 --- a/dev-libs/libcuda/files/0003-Fix-install-target-for-gdev-lib-userspace-part2.patch +++ /dev/null @@ -1,35 +0,0 @@ -From d99538f4e1f313c385a40ccff6aa3adff62ec55e Mon Sep 17 00:00:00 2001 -From: Alexey Shvetsov -Date: Thu, 15 Nov 2012 08:41:13 +0400 -Subject: [PATCH 3/5] Fix install target for gdev lib userspace part2 - -Signed-off-by: Alexey Shvetsov ---- - lib/user/gdev/Makefile | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/lib/user/gdev/Makefile b/lib/user/gdev/Makefile -index 5440469..31bee51 100644 ---- a/lib/user/gdev/Makefile -+++ b/lib/user/gdev/Makefile -@@ -22,13 +22,13 @@ all: $(OBJS) - $(CC) -fPIC -c $^ -o $@ $(CFLAGS) $(EXTRA_LIBS) - - install: -- @if test ! -d $(GDEVDIR) ; then mkdir $(DESTDIR)/$(GDEVDIR) ; fi ; -- @if test ! -d $(GDEVDIR)/lib64 ; then mkdir $(DESTDIR)/$(GDEVDIR)/lib64 ; fi ; -- @if test ! -d $(GDEVDIR)/include ; then mkdir $(DESTDIR)/$(GDEVDIR)/include ; fi ; -+ @if test ! -d $(DESTDIR)/$(GDEVDIR) ; then mkdir $(DESTDIR)/$(GDEVDIR) ; fi ; -+ @if test ! -d $(DESTDIR)/$(GDEVDIR)/lib64 ; then mkdir $(DESTDIR)/$(GDEVDIR)/lib64 ; fi ; -+ @if test ! -d $(DESTDIR)/$(GDEVDIR)/include ; then mkdir $(DESTDIR)/$(GDEVDIR)/include ; fi ; - cp -f ./$(TARGET).so.1.0.0 $(DESTDIR)/$(GDEVDIR)/lib64/ - ln -sf $(GDEVDIR)/lib64/$(TARGET).so.1.0.0 $(DESTDIR)/$(GDEVDIR)/lib64/$(TARGET).so.1 - ln -sf $(GDEVDIR)/lib64/$(TARGET).so.1 $(DESTDIR)/$(GDEVDIR)/lib64/$(TARGET).so -- cp -f $(HEADERS) $(GDEVDIR)/include -+ cp -f $(HEADERS) $(DESTDIR)/$(GDEVDIR)/include - - uninstall: - rm -f $(GDEVDIR)/lib64/$(TARGET).* --- -1.7.12.3 - diff --git a/dev-libs/libcuda/files/0004-Respect-extra-CFLAGS-and-LDFLAGS.patch b/dev-libs/libcuda/files/0004-Respect-extra-CFLAGS-and-LDFLAGS.patch deleted file mode 100644 index 199da0bd2..000000000 --- a/dev-libs/libcuda/files/0004-Respect-extra-CFLAGS-and-LDFLAGS.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 4f97a0ec262d190741f16d5d75c9305ee6a4318b Mon Sep 17 00:00:00 2001 -From: Alexey Shvetsov -Date: Thu, 15 Nov 2012 08:43:59 +0400 -Subject: [PATCH 4/5] Respect extra CFLAGS and LDFLAGS - -Signed-off-by: Alexey Shvetsov ---- - lib/user/gdev/Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/user/gdev/Makefile b/lib/user/gdev/Makefile -index 31bee51..d9c2200 100644 ---- a/lib/user/gdev/Makefile -+++ b/lib/user/gdev/Makefile -@@ -16,7 +16,7 @@ OBJS = $(DRIVER_NAME)_gdev.o lib$(DRIVER_NAME).o lib$(DRIVER_NAME)_ib.o \ - ZOMBIE = $(wildcard ./*~) - - all: $(OBJS) -- $(CC) -shared -Wl,-soname,$(TARGET).so.1 -o ./$(TARGET).so.1.0.0 $(OBJS) $(EXTRA_LIBS) -+ $(CC) $(LDFLAGS) -shared -Wl,-soname,$(TARGET).so.1 -o ./$(TARGET).so.1.0.0 $(OBJS) $(EXTRA_LIBS) - - %.o:%.c - $(CC) -fPIC -c $^ -o $@ $(CFLAGS) $(EXTRA_LIBS) --- -1.7.12.3 - diff --git a/dev-libs/libcuda/files/0005-Fix-install-target-for-cuda-lib.patch b/dev-libs/libcuda/files/0005-Fix-install-target-for-cuda-lib.patch deleted file mode 100644 index 783f3c78b..000000000 --- a/dev-libs/libcuda/files/0005-Fix-install-target-for-cuda-lib.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 720760c6a69cd3d8a3d7682327dbb234a5a473f5 Mon Sep 17 00:00:00 2001 -From: Alexey Shvetsov -Date: Thu, 15 Nov 2012 09:00:25 +0400 -Subject: [PATCH 5/5] Fix install target for cuda lib - -Signed-off-by: Alexey Shvetsov ---- - cuda/libcuda/Makefile | 18 ++++++++++-------- - 1 file changed, 10 insertions(+), 8 deletions(-) - -diff --git a/cuda/libcuda/Makefile b/cuda/libcuda/Makefile -index 1a296bb..cdfd360 100644 ---- a/cuda/libcuda/Makefile -+++ b/cuda/libcuda/Makefile -@@ -12,19 +12,21 @@ CUDUMP_OBJS = cudump.o gdev_cuda.o - ZOMBIE = $(wildcard ./*~) - - all: $(OBJS) -- $(CC) -shared -Wl,-soname,$(TARGET).so.1 -o ./$(TARGET).so.1.0.0 $(OBJS) -- $(CC) $(CFLAGS) -o ./$(CUDUMP) $(CUDUMP).c gdev_cuda.c -+ $(CC) $(LDFLAGS) -shared -Wl,-soname,$(TARGET).so.1 -o ./$(TARGET).so.1.0.0 $(OBJS) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o ./$(CUDUMP) $(CUDUMP).c gdev_cuda.c - - %.o:%.c - $(CC) -fPIC -c $^ -o $@ $(CFLAGS) - - install: -- @if test ! -d $(GDEVDIR)/bin ; then mkdir $(GDEVDIR)/bin ; fi ; -- cp -f ./$(CUDUMP) $(GDEVDIR)/bin/ -- cp -f ./$(TARGET).so.1.0.0 $(GDEVDIR)/lib64/ -- ln -sf $(GDEVDIR)/lib64/$(TARGET).so.1.0.0 $(GDEVDIR)/lib64/$(TARGET).so.1 -- ln -sf $(GDEVDIR)/lib64/$(TARGET).so.1 $(GDEVDIR)/lib64/$(TARGET).so -- cp -f ./cuda.h $(GDEVDIR)/include -+ @if test ! -d $(DESTDIR)/$(GDEVDIR)/bin ; then mkdir -p $(DESTDIR)/$(GDEVDIR)/bin ; fi ; -+ @if test ! -d $(DESTDIR)/$(GDEVDIR)/lib64 ; then mkdir -p $(DESTDIR)/$(GDEVDIR)/lib64 ; fi ; -+ @if test ! -d $(DESTDIR)/$(GDEVDIR)/include ; then mkdir -p $(DESTDIR)/$(GDEVDIR)/include ; fi ; -+ cp -f ./$(CUDUMP) $(DESTDIR)/$(GDEVDIR)/bin/ -+ cp -f ./$(TARGET).so.1.0.0 $(DESTDIR)/$(GDEVDIR)/lib64/ -+ ln -sf $(GDEVDIR)/lib64/$(TARGET).so.1.0.0 $(DESTDIR)/$(GDEVDIR)/lib64/$(TARGET).so.1 -+ ln -sf $(GDEVDIR)/lib64/$(TARGET).so.1 $(DESTDIR)/$(GDEVDIR)/lib64/$(TARGET).so -+ cp -f ./cuda.h $(DESTDIR)/$(GDEVDIR)/include - - uninstall: - rm -f $(GDEVDIR)/lib64/$(TARGET).* --- -1.7.12.3 - diff --git a/dev-libs/libcuda/libcuda-9999.ebuild b/dev-libs/libcuda/libcuda-9999.ebuild deleted file mode 100644 index d42357101..000000000 --- a/dev-libs/libcuda/libcuda-9999.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit git-r3 - -DESCRIPTION="Gdev is open-source GPGPU runtime" -HOMEPAGE="https://github.com/shinpei0208/gdev" -SRC_URI="" -EGIT_REPO_URI=" - git://github.com/shinpei0208/gdev.git - https://github.com/shinpei0208/gdev.git" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="" -IUSE="" - -RDEPEND=" - dev-libs/libgdev - x11-libs/libdrm[video_cards_nouveau] - x11-misc/envytools" -DEPEND=" - virtual/pkgconfig - ${RDEPEND}" - -src_configure() { - cd cuda || die - mkdir build || die - cd build || die - ../configure || die -} - -src_compile() { - cd cuda/build || die - emake GDEVDIR="${EPREFIX}/usr" -} - -src_install() { - cd cuda/build || die - emake GDEVDIR="${EPREFIX}/usr" DESTDIR="${D}" install -} diff --git a/dev-libs/libcuda/metadata.xml b/dev-libs/libcuda/metadata.xml deleted file mode 100644 index 1bee8dd17..000000000 --- a/dev-libs/libcuda/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - alexxy@gentoo.org - Alexey Shvetsov - - - shinpei0208/gdev - - -- cgit v1.2.3-65-gdbad