commit:     a9eee3bf911eb6bb1b7da7e8970e70b7a8838014
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 20:48:57 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 20:55:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9eee3bf

media-libs/libofa: treeclean

Closes: https://bugs.gentoo.org/915190
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 media-libs/libofa/Manifest                         |  1 -
 media-libs/libofa/files/libofa-0.9.3-gcc-4.3.patch | 35 ---------------
 media-libs/libofa/files/libofa-0.9.3-gcc-4.4.patch | 10 -----
 media-libs/libofa/files/libofa-0.9.3-gcc-4.7.patch | 22 ----------
 media-libs/libofa/files/libofa-0.9.3-gcc-4.patch   | 39 -----------------
 media-libs/libofa/libofa-0.9.3-r3.ebuild           | 50 ----------------------
 media-libs/libofa/metadata.xml                     | 11 -----
 profiles/package.mask                              |  5 ---
 8 files changed, 173 deletions(-)

diff --git a/media-libs/libofa/Manifest b/media-libs/libofa/Manifest
deleted file mode 100644
index 1ff64931fb89..000000000000
--- a/media-libs/libofa/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libofa-0.9.3.tar.gz 384043 BLAKE2B 
1b4c89e1a26e3bec1b2bde16c5d2c86ae7a66cbe8e450b96974ffd8be434062ccf21779c0eed5a809012a419d65f9de327c6b94fe6ac5365270fe382dbfa2c08
 SHA512 
058fb43ea296325d2f7ad1762e1fd3f2ad772754b5d53dbaa1c5cd91ac5041ef82c7ea9ac580825e2391fa7db6803ff7fd5b24faf319280211a4641516126967

diff --git a/media-libs/libofa/files/libofa-0.9.3-gcc-4.3.patch 
b/media-libs/libofa/files/libofa-0.9.3-gcc-4.3.patch
deleted file mode 100644
index e8e87ff8b736..000000000000
--- a/media-libs/libofa/files/libofa-0.9.3-gcc-4.3.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -ur a/examples/example.cpp b/examples/example.cpp
---- a/examples/example.cpp     2006-05-10 21:05:37.000000000 +0300
-+++ b/examples/example.cpp     2008-04-16 15:51:49.000000000 +0300
-@@ -9,6 +9,8 @@
- 
- #include "protocol.h"
- 
-+#include <string.h>
-+ 
- AudioData* loadWaveFile(char *file);
- AudioData* loadDataUsingLAME(char *file);
- 
-Vain hakemistossa b/examples: example.cpp.orig
-diff -ur a/examples/protocol.cpp b/examples/protocol.cpp
---- a/examples/protocol.cpp    2006-05-10 21:05:42.000000000 +0300
-+++ b/examples/protocol.cpp    2008-04-16 15:51:49.000000000 +0300
-@@ -8,6 +8,7 @@
- -------------------------------------------------------------------*/
- #include <stdio.h>
- #include <stdlib.h>
-+#include <cstring>
- #include <string>
- #include <map>
- #include <expat.h>
-diff -ur a/lib/signal_op.cpp b/lib/signal_op.cpp
---- a/lib/signal_op.cpp        2006-05-10 21:01:12.000000000 +0300
-+++ b/lib/signal_op.cpp        2008-04-16 15:51:49.000000000 +0300
-@@ -12,6 +12,7 @@
- // DATE CREATED: 1/12/06
- 
- 
-+#include <cstdlib>
- #include <math.h>
- #include "signal_op.h"
- #include "AFLIB/aflibConverter.h"

diff --git a/media-libs/libofa/files/libofa-0.9.3-gcc-4.4.patch 
b/media-libs/libofa/files/libofa-0.9.3-gcc-4.4.patch
deleted file mode 100644
index c730c8ca5831..000000000000
--- a/media-libs/libofa/files/libofa-0.9.3-gcc-4.4.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/examples/example.cpp   2009-04-11 12:22:55.397455430 +0200
-+++ b/examples/example.cpp   2009-04-11 12:25:21.466456955 +0200
-@@ -9,6 +9,7 @@
-
- #include "protocol.h"
-
-+#include <stdio.h>
- #include <string.h>
-
- AudioData* loadWaveFile(char *file);

diff --git a/media-libs/libofa/files/libofa-0.9.3-gcc-4.7.patch 
b/media-libs/libofa/files/libofa-0.9.3-gcc-4.7.patch
deleted file mode 100644
index 6d97d7724df8..000000000000
--- a/media-libs/libofa/files/libofa-0.9.3-gcc-4.7.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -up a/examples/uselame.cpp b/examples/uselame.cpp
---- a/examples/uselame.cpp     2012-01-14 09:35:24.343146853 -0600
-+++ b/examples/uselame.cpp     2012-01-14 09:35:49.956826634 -0600
-@@ -12,6 +12,7 @@
- #else
- #include <sys/wait.h>
- #endif
-+#include <unistd.h>
- 
- AudioData *loadWaveFile(char *file);
- 
-diff -up a/examples/wavefile.cpp b/examples/wavefile.cpp
---- a/examples/wavefile.cpp    2012-01-14 09:35:24.344146841 -0600
-+++ b/examples/wavefile.cpp    2012-01-14 16:00:54.414981160 -0600
-@@ -11,6 +11,7 @@
- #include "io.h"
- #endif
- #include <fcntl.h>
-+#include <unistd.h>
- 
- static bool readBytes(int fd, unsigned char *buf, int size) {
-     int ct = 0;

diff --git a/media-libs/libofa/files/libofa-0.9.3-gcc-4.patch 
b/media-libs/libofa/files/libofa-0.9.3-gcc-4.patch
deleted file mode 100644
index 920c383c657b..000000000000
--- a/media-libs/libofa/files/libofa-0.9.3-gcc-4.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- a/lib/JAMA/tnt_math_utils.h        2006-06-17 01:46:22.000000000 +0300
-+++ b/lib/JAMA/tnt_math_utils.h        2006-06-17 01:47:02.000000000 +0300
-@@ -20,11 +20,20 @@
- namespace TNT
- {
- /**
-+      @returns the absolute value of a real (no-complex) scalar.
-+*/
-+template <class Real>
-+Real abs(const Real &a)
-+{
-+      return  (a > 0 ? a : -a);
-+}
-+/**
-       @returns hypotenuse of real (non-complex) scalars a and b by 
-       avoiding underflow/overflow
-       using (a * sqrt( 1 + (b/a) * (b/a))), rather than
-       sqrt(a*a + b*b).
- */
-+
- template <class Real>
- Real hypot(const Real &a, const Real &b)
- {
-@@ -56,15 +65,6 @@
- }
- */
- 
--/**
--      @returns the absolute value of a real (no-complex) scalar.
--*/
--template <class Real>
--Real abs(const Real &a)
--{
--      return  (a > 0 ? a : -a);
--}
--
- }
- #endif
- /* MATH_UTILS_H */

diff --git a/media-libs/libofa/libofa-0.9.3-r3.ebuild 
b/media-libs/libofa/libofa-0.9.3-r3.ebuild
deleted file mode 100644
index 2867470a724c..000000000000
--- a/media-libs/libofa/libofa-0.9.3-r3.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic multilib-minimal
-
-DESCRIPTION="Open Fingerprint Architecture"
-HOMEPAGE="https://code.google.com/p/musicip-libofa/";
-SRC_URI="https://musicip-libofa.googlecode.com/files/${P}.tar.gz";
-
-LICENSE="|| ( APL-1.0 GPL-2 )"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~loong ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND=">=sci-libs/fftw-3.3.3-r2[${MULTILIB_USEDEP}]"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}"/${P}-gcc-4{,.3,.4,.7}.patch )
-
-src_prepare() {
-       default
-
-       # disable building non-installed examples
-       sed -i -e '/SUBDIRS/s:examples::' Makefile.{am,in} || die
-
-       # Force regeneration for Clang 16
-       rm aclocal.m4 || die
-       eautoreconf
-}
-
-src_configure() {
-       is-flag -ffast-math && append-flags -fno-fast-math
-
-       multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
-       # disable dependencies that were used for the noinst_ example only
-       ECONF_SOURCE="${S}" econf \
-               ac_cv_lib_expat_XML_ExpatVersion=yes \
-               ac_cv_lib_curl_curl_global_init=yes \
-               --disable-static
-}
-
-multilib_src_install_all() {
-       einstalldocs
-       find "${ED}" -name '*.la' -delete || die
-}

diff --git a/media-libs/libofa/metadata.xml b/media-libs/libofa/metadata.xml
deleted file mode 100644
index c15422619eee..000000000000
--- a/media-libs/libofa/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="project">
-               <email>so...@gentoo.org</email>
-               <name>Gentoo Sound project</name>
-       </maintainer>
-       <upstream>
-               <remote-id type="google-code">musicip-libofa</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/profiles/package.mask b/profiles/package.mask
index f07d7850ccae..269f558cef62 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -310,11 +310,6 @@ dev-java/apache-rat-tasks
 # Removal on 2023-11-15.
 dev-perl/PathTools
 
-# Mart Raudsepp <l...@gentoo.org> (2023-10-14)
-# The database used by this music fingerprint library has been defunct for
-# a while. Removal on 2023-11-13. Bug #915190.
-media-libs/libofa
-
 # Michał Górny <mgo...@gentoo.org> (2023-10-14)
 # media-video/transcode is dead for many years.  We already piled up
 # a lot of downstream patches just to keep it working, and it's broken

Reply via email to