Unverified Commit 21052db9 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

neocomp: drop (#402695)

parents 0dc85515 8fe68a9e
Loading
Loading
Loading
Loading
+0 −94
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  asciidoc,
  docbook_xml_dtd_45,
  docbook_xsl,
  freetype,
  judy,
  libGL,
  libconfig,
  libdrm,
  libxml2,
  libxslt,
  libXcomposite,
  libXdamage,
  libXext,
  libXinerama,
  libXrandr,
  libXrender,
  libXres,
  pcre,
  pkg-config,
}:

stdenv.mkDerivation rec {
  pname = "neocomp";
  version = "unstable-2021-04-06";

  src = fetchFromGitHub {
    owner = "DelusionalLogic";
    repo = "NeoComp";
    rev = "ccd340d7b2dcd3f828aff958a638cc23686aee6f";
    sha256 = "sha256-tLLEwpAGNVTC+N41bM7pfskIli4Yvc95wH2/NT0OZ+8=";
  };

  nativeBuildInputs = [
    asciidoc
    docbook_xml_dtd_45
    docbook_xsl
    pkg-config
  ];

  buildInputs = [
    freetype
    judy
    libGL
    libconfig
    libdrm
    libxml2
    libxslt
    libXcomposite
    libXdamage
    libXext
    libXinerama
    libXrandr
    libXrender
    libXres
    pcre
  ];

  makeFlags = [
    "PREFIX=${placeholder "out"}"
    "CFGDIR=${placeholder "out"}/etc/xdg/neocomp"
    "ASTDIR=${placeholder "out"}/share/neocomp/assets"
    "COMPTON_VERSION=${version}"
  ];

  postPatch = ''
    substituteInPlace src/compton.c --replace \
      "assets_add_path(\"./assets/\");" \
      "assets_add_path(\"$out/share/neocomp/assets/\");"
    substituteInPlace src/assets/assets.c --replace \
      "#define MAX_PATH_LENGTH 64" \
      "#define MAX_PATH_LENGTH 128"
  '';

  meta = with lib; {
    homepage = "https://github.com/DelusionalLogic/NeoComp";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [
      twey
      moni
    ];
    platforms = platforms.linux;
    description = "Fork of Compton, a compositor for X11";
    longDescription = ''
      NeoComp is a (hopefully) fast and (hopefully) simple compositor
      for X11, focused on delivering frames from the window to the
      framebuffer as quickly as possible.
    '';
    mainProgram = "neocomp";
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -1211,6 +1211,7 @@ mapAliases {

  ncdu_2 = ncdu; # Added 2022-07-22
  neocities-cli = neocities; # Added 2024-07-31
  neocomp = throw "neocomp has been remove because it fails to build and was unmaintained upstream"; # Added 2025-04-28
  netbox_3_3 = throw "netbox 3.3 series has been removed as it was EOL"; # Added 2023-09-02
  netbox_3_5 = throw "netbox 3.5 series has been removed as it was EOL"; # Added 2024-01-22
  nextcloud29 = throw ''