audio/taglookup: Remove expired port
2024-06-14 audio/taglookup: Obsolete, depends on legacy service that is defunct once again
This commit is contained in:
@@ -3310,3 +3310,4 @@ lang/zig-devel||2024-06-13|Older than lang/zig and no consumers in ports
|
||||
www/ctemplate||2024-06-15|Has expired: Abandonware and obsolete, last release in 2008 and never gained any traction
|
||||
graphics/electricsheep||2024-06-15|Has expired: Broken for more than 6 months and fails to compile bumping it to latest commit
|
||||
www/apt-cacher-ng||2024-06-15|Has expired: Outdated and unsupported version, current version was released in 2020 and upstream is still active
|
||||
audio/taglookup||2024-06-15|Has expired: Obsolete, depends on legacy service that is defunct once again
|
||||
|
||||
@@ -802,7 +802,6 @@
|
||||
SUBDIR += synthpod-lv2
|
||||
SUBDIR += synthv1-lv2
|
||||
SUBDIR += taglib
|
||||
SUBDIR += taglookup
|
||||
SUBDIR += tagutil
|
||||
SUBDIR += tamgamp-lv2
|
||||
SUBDIR += tap-plugins
|
||||
|
||||
@@ -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>
|
||||
@@ -1,2 +0,0 @@
|
||||
SHA256 (taglookup-0.2.tgz) = 78463a754a85c438ffdffda4326ac83723616ba5f941a44dcd2d6b2dcfbfb0be
|
||||
SIZE (taglookup-0.2.tgz) = 16869
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
{
|
||||
@@ -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);
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user