Commit 7ae890f1 authored by Emily's avatar Emily
Browse files

libmusicbrainz3: drop

parent 4196905d
Loading
Loading
Loading
Loading
+0 −40
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  cmake,
  neon,
  libdiscid,
}:

stdenv.mkDerivation rec {
  pname = "libmusicbrainz";
  version = "3.0.3";

  nativeBuildInputs = [ cmake ];
  buildInputs = [
    neon
    libdiscid
  ];

  src = fetchurl {
    url = "ftp://ftp.musicbrainz.org/pub/musicbrainz/${pname}-${version}.tar.gz";
    sha256 = "1i9qly13bwwmgj68vma766hgvsd1m75236haqsp9zgh5znlmkm3z";
  };

  patches = [
    # Fix spacing around string literal for modern clang
    ./v3-darwin.patch
  ];

  meta = with lib; {
    homepage = "http://musicbrainz.org/doc/libmusicbrainz";
    description = "MusicBrainz Client Library (3.x version)";
    longDescription = ''
      The libmusicbrainz (also known as mb_client or MusicBrainz Client
      Library) is a development library geared towards developers who wish to
      add MusicBrainz lookup capabilities to their applications.'';
    platforms = platforms.all;
    license = licenses.lgpl21;
  };
}
+0 −22
Original line number Diff line number Diff line
diff --git a/src/webservice.cpp b/src/webservice.cpp
index 3a36167..df14812 100644
--- a/src/webservice.cpp
+++ b/src/webservice.cpp
@@ -184,7 +184,7 @@ WebService::get(const std::string &entity,
 	if (!sess) 
 		throw WebServiceError("ne_session_create() failed.");
 	ne_set_server_auth(sess, httpAuth, this);
-	ne_set_useragent(sess, PACKAGE"/"VERSION);
+	ne_set_useragent(sess, PACKAGE "/" VERSION);
 	
 	// Use proxy server
 	if (!d->proxyHost.empty()) {
@@ -269,7 +269,7 @@ WebService::post(const std::string &entity,
 	if (!sess) 
 		throw WebServiceError("ne_session_create() failed.");
 	ne_set_server_auth(sess, httpAuth, this);
-	ne_set_useragent(sess, PACKAGE"/"VERSION);
+	ne_set_useragent(sess, PACKAGE "/" VERSION);
 
 	// Use proxy server
 	if (!d->proxyHost.empty()) {
+1 −0
Original line number Diff line number Diff line
@@ -1314,6 +1314,7 @@ mapAliases {
  libjpeg_drop = throw "'libjpeg_drop' has been renamed to/replaced by 'libjpeg_original'"; # Converted to throw 2024-10-17
  liblastfm = throw "'liblastfm' has been renamed to/replaced by 'libsForQt5.liblastfm'"; # Converted to throw 2024-10-17
  libmp3splt = throw "'libmp3splt' has been removed due to lack of maintenance upstream."; # Added 2025-05-17
  libmusicbrainz3 = throw "libmusicbrainz3 has been removed as it was obsolete and unused"; # Added 2025-09-16
  libmx = throw "'libmx' has been removed due to lack of maintenance upstream."; # Added 2024-12-04
  liboop = throw "liboop has been removed as it is unmaintained upstream."; # Added 2024-08-14
  libosmo-sccp = libosmo-sigtran; # Added 2024-12-20
+0 −2
Original line number Diff line number Diff line
@@ -8183,8 +8183,6 @@ with pkgs;

  libmicrohttpd = libmicrohttpd_1_0;

  libmusicbrainz3 = callPackage ../development/libraries/libmusicbrainz { };

  libmusicbrainz5 = callPackage ../development/libraries/libmusicbrainz/5.x.nix { };

  libmusicbrainz = libmusicbrainz5;