summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2024-06-15 18:15:15 +0200
committerRene Ladan <rene@FreeBSD.org>2024-06-15 18:15:15 +0200
commitc87439f462cb9df54c5ee2ed0b39bce17bf92fe1 (patch)
tree3b6f95f62e6800a27948dd68205679e4aba51400 /audio
parentwww/apt-cacher-ng: Remove expired port (diff)
audio/taglookup: Remove expired port
2024-06-14 audio/taglookup: Obsolete, depends on legacy service that is defunct once again
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/taglookup/Makefile26
-rw-r--r--audio/taglookup/distinfo2
-rw-r--r--audio/taglookup/files/patch-Makefile27
-rw-r--r--audio/taglookup/files/patch-command__line.cpp11
-rw-r--r--audio/taglookup/files/patch-tag.cpp50
-rw-r--r--audio/taglookup/pkg-descr16
7 files changed, 0 insertions, 133 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 5832541d0641..75013e342992 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -802,7 +802,6 @@
SUBDIR += synthpod-lv2
SUBDIR += synthv1-lv2
SUBDIR += taglib
- SUBDIR += taglookup
SUBDIR += tagutil
SUBDIR += tamgamp-lv2
SUBDIR += tap-plugins
diff --git a/audio/taglookup/Makefile b/audio/taglookup/Makefile
deleted file mode 100644
index 3ea210176138..000000000000
--- a/audio/taglookup/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-PORTNAME= taglookup
-PORTVERSION= 0.2
-PORTREVISION= 7
-CATEGORIES= audio
-MASTER_SITES= http://www.kamaz.org.uk/taglookup/
-
-MAINTAINER= alex@kamaz.org.uk
-COMMENT= Utility for tagging groups of audio files using CDDB
-WWW= https://www.kamaz.org.uk/taglookup
-
-LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-DEPRECATED= Obsolete, depends on legacy service that is defunct once again
-EXPIRATION_DATE=2024-06-14
-
-LIB_DEPENDS= libcddb.so:audio/libcddb \
- libtag.so:audio/taglib
-
-USES= compiler:c++11-lang pkgconfig tar:tgz
-USE_CXXSTD= c++11
-
-PLIST_FILES= bin/taglookup \
- share/man/man1/taglookup.1.gz
-
-.include <bsd.port.mk>
diff --git a/audio/taglookup/distinfo b/audio/taglookup/distinfo
deleted file mode 100644
index 728354348508..000000000000
--- a/audio/taglookup/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (taglookup-0.2.tgz) = 78463a754a85c438ffdffda4326ac83723616ba5f941a44dcd2d6b2dcfbfb0be
-SIZE (taglookup-0.2.tgz) = 16869
diff --git a/audio/taglookup/files/patch-Makefile b/audio/taglookup/files/patch-Makefile
deleted file mode 100644
index 0410e47975c3..000000000000
--- a/audio/taglookup/files/patch-Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
---- Makefile.orig 2007-10-29 12:02:54 UTC
-+++ Makefile
-@@ -4,10 +4,10 @@ LIBCDDB_LIBRARY = `pkg-config --libs lib
- TAGLIB_INCLUDE = `taglib-config --cflags`
- TAGLIB_LIBRARY = `taglib-config --libs`
-
--CPP = g++
-+CPP = $(CXX)
-
--CPPFLAGS = -Wall $(TAGLIB_INCLUDE) $(LIBCDDB_INCLUDE) -c
--LDFLAGS = $(TAGLIB_LIBRARY) $(LIBCDDB_LIBRARY)
-+CPPFLAGS = ${CXXFLAGS} -Wall $(TAGLIB_INCLUDE) $(LIBCDDB_INCLUDE) -c
-+LDFLAGS+= $(TAGLIB_LIBRARY) $(LIBCDDB_LIBRARY)
-
- OBJ = cddb_query.o cddb_query_impl.o command_line.o main.o tag.o tracks.o
- EXE = taglookup
-@@ -18,8 +18,8 @@ EXE = taglookup
- all: $(EXE)
-
- install: $(EXE)
-- $(INSTALL) -c -o root -g wheel -m 644 taglookup.1 $(PREFIX)/man/man1/taglookup.1
-- $(INSTALL) -c -o root -g wheel -m 755 $(EXE) $(PREFIX)/bin/taglookup
-+ $(BSD_INSTALL_MAN) taglookup.1 $(DESTDIR)$(PREFIX)/share/man/man1/taglookup.1
-+ $(BSD_INSTALL_PROGRAM) $(EXE) $(DESTDIR)$(PREFIX)/bin/taglookup
-
- $(EXE): $(OBJ)
- $(CPP) $(LDFLAGS) $(OBJ) -o $(EXE)
diff --git a/audio/taglookup/files/patch-command__line.cpp b/audio/taglookup/files/patch-command__line.cpp
deleted file mode 100644
index c9ffd7fa9eeb..000000000000
--- a/audio/taglookup/files/patch-command__line.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- command_line.cpp.orig 2007-10-01 19:09:46 UTC
-+++ command_line.cpp
-@@ -105,7 +105,7 @@ namespace TagLookup
-
- bool CommandLineArgumentsParser::parsePort()
- {
-- int port = (int)std::strtol(ct_.c_str(), (char**)NULL, 10);
-+ int port = (int)strtol(ct_.c_str(), (char**)NULL, 10);
-
- if(port > 32767 || port <= 0)
- {
diff --git a/audio/taglookup/files/patch-tag.cpp b/audio/taglookup/files/patch-tag.cpp
deleted file mode 100644
index 136b6a4fb206..000000000000
--- a/audio/taglookup/files/patch-tag.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
---- tag.cpp.orig 2007-10-28 22:42:56 UTC
-+++ tag.cpp
-@@ -27,6 +27,7 @@
- #include <utility>
-
- #include <ostream>
-+#include <iostream>
-
- // LibC TODO Replace with STL
- // POSIX
-@@ -49,9 +50,9 @@
- namespace TagLookup
- {
- // Utility functions:
-- const TagLib::String::String toUTF8String(const std::string& s)
-+ const TagLib::String toUTF8String(const std::string& s)
- {
-- const TagLib::String::String new_string(s, TagLib::String::UTF8);
-+ const TagLib::String new_string(s, TagLib::String::UTF8);
-
- return new_string;
- } // toUTF8String
-@@ -166,8 +167,8 @@ namespace TagLookup
-
- bool operator() (const FileRefLengthPair &f1, const FileRefLengthPair &f2)
- {
-- if( abs(f1.second - x_) <
-- abs(f2.second - x_) )
-+ if( abs((int)(f1.second - x_)) <
-+ abs((int)(f2.second - x_)) )
- return true;
- else
- return false;
-@@ -261,8 +262,14 @@ namespace TagLookup
-
- void operator() (const OldNameNewName &onnn)
- {
-- std::string new_base(basename(onnn.new_name.c_str()));
-- std::string new_path(dirname(onnn.old_name.c_str()));
-+ std::vector<char> newbuf(onnn.new_name.begin(), onnn.new_name.end());
-+ newbuf.push_back('\0');
-+
-+ std::vector<char> oldbuf(onnn.old_name.begin(), onnn.old_name.end());
-+ oldbuf.push_back('\0');
-+
-+ std::string new_base(basename(newbuf.data()));
-+ std::string new_path(dirname(oldbuf.data()));
-
- new_path.append("/");
- new_path.append(new_base);
diff --git a/audio/taglookup/pkg-descr b/audio/taglookup/pkg-descr
deleted file mode 100644
index ce1f7b99aaf2..000000000000
--- a/audio/taglookup/pkg-descr
+++ /dev/null
@@ -1,16 +0,0 @@
-Tags groups of audio files using CDDB.
-
-TagLookup is a utility for tagging MP3s and other taggable audio file formats.
-It inspects a set of audio files and uses their lengths to look up an
-appropriate disc from a CDDB-compatible service. TagLookup can be used in two
-modes:
-
-* ID -- Given a CDDB ID and a number of files, look up the details of the CDDB
- disc from a CDDB service. Tag files using the CDDB disc. Match each file with
- each CDDB track using the closest track length.
-* Sequence -- Given a number of files, generate a CDDB ID and query a CDDB
- service. CDDB IDs are generated based on the sequence of tracks. Choose the
- closest matching CDDB disc to tag the files.
-
-As well as this, taglookup can:
-* Rename -- Rename files based on their tags.