Commit dae90a0d authored by aleksana's avatar aleksana
Browse files

gmpc: remove

parent 8d9d116f
Loading
Loading
Loading
Loading
+0 −67
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchurl
, libtool
, intltool
, pkg-config
, glib
, gtk2
, curl
, libmpdclient
, libsoup
, gob2
, vala
, libunique
, libSM
, libICE
, sqlite
, hicolor-icon-theme
, wrapGAppsHook3
}:

stdenv.mkDerivation rec {
  pname = "gmpc";
  version = "11.8.16";

  libmpd = stdenv.mkDerivation {
    pname = "libmpd";
    version = "11.8.17";
    src = fetchurl {
      url = "https://download.sarine.nl/Programs/gmpc/${lib.versions.majorMinor version}/libmpd-${version}.tar.gz";
      sha256 = "10vspwsgr8pwf3qp2bviw6b2l8prgdiswgv7qiqiyr0h1mmk487y";
    };
    patches = [ ./libmpd-11.8.17-remove-strndup.patch ];

    nativeBuildInputs = [ pkg-config ];
    buildInputs = [ glib ];
  };

  src = fetchurl {
    url = "http://download.sarine.nl/Programs/gmpc/11.8/gmpc-11.8.16.tar.gz";
    sha256 = "0b3bnxf98i5lhjyljvgxgx9xmb6p46cn3a9cccrng14nagri9556";
  };

  nativeBuildInputs = [ pkg-config libtool intltool gob2 vala wrapGAppsHook3 ];
  buildInputs = [
    glib
    gtk2
    curl
    libmpdclient
    libsoup
    libunique
    libmpd
    libSM
    libICE
    sqlite
    hicolor-icon-theme
  ];

  meta = with lib; {
    homepage = "https://gmpclient.org";
    description = "GTK2 frontend for Music Player Daemon";
    license = licenses.gpl2;
    maintainers = [ ];
    platforms = platforms.linux;
  };
}
# TODO: what is this libmpd derivation embedded above?
+0 −15
Original line number Diff line number Diff line
diff --git a/src/libmpd-internal.h b/src/libmpd-internal.h
index c84c3a4..51be441 100644
--- a/src/libmpd-internal.h
+++ b/src/libmpd-internal.h
@@ -206,10 +206,6 @@ int mpd_unlock_conn(MpdObj *mi);
 MpdData * mpd_misc_sort_tag_list(MpdData *data);
 
 
-#ifndef HAVE_STRNDUP
-char * 		strndup					(const char *s, size_t n);
-#endif
-
 int mpd_server_get_allowed_commands(MpdObj *mi);
 typedef enum _MpdSearchType {
 	MPD_SEARCH_TYPE_NONE,
+1 −0
Original line number Diff line number Diff line
@@ -520,6 +520,7 @@ mapAliases ({
  gfortran48 = throw "'gfortran48' has been removed from nixpkgs"; # Added 2024-09-10
  gfortran49 = throw "'gfortran49' has been removed from nixpkgs"; # Added 2024-09-11
  ghostwriter = libsForQt5.kdeGear.ghostwriter; # Added 2023-03-18
  gmpc = throw "'gmpc' has been removed due to lack of maintenance upstream. Consider using 'plattenalbum' instead"; # Added 2024-09-14
  gmtk = throw "'gmtk' has been removed due to lack of maintenance upstream"; # Added 2024-09-14
  gmtp = throw "'gmtp' has been removed due to lack of maintenance upstream. Consider using 'gnome-music' instead"; # Added 2024-09-14
  go-dependency-manager = throw "'go-dependency-manager' is unmaintained and the go community now uses 'go.mod' mostly instead"; # Added 2023-10-04
+0 −2
Original line number Diff line number Diff line
@@ -30353,8 +30353,6 @@ with pkgs;
  gqview = callPackage ../applications/graphics/gqview { };
  gmpc = callPackage ../applications/audio/gmpc { };
  gnomecast = callPackage ../applications/video/gnomecast { };
  gnome-recipes = callPackage ../applications/misc/gnome-recipes { };