Unverified Commit 2b547de7 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

vwm, libpseudo, libviper: drop (#407977)

parents 60691862 eeffbfbe
Loading
Loading
Loading
Loading
+0 −39
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  pkg-config,
  glib,
  ncurses,
}:
stdenv.mkDerivation rec {
  pname = "libpseudo";
  version = "1.2.0";

  src = fetchurl {
    url = "mirror://sourceforge/libpseudo/libpseudo-${version}.tar.gz";
    sha256 = "0d3pw0m3frycr3x5kzqcaj4r2qh43iv6b0fpd6l4yk0aa4a9560n";
  };

  patchPhase = ''
    sed -i -e s@/usr/local@$out@ -e /ldconfig/d Makefile
  '';

  preInstall = ''
    mkdir -p $out/include
    mkdir -p $out/lib
  '';

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

  meta = with lib; {
    homepage = "http://libpseudo.sourceforge.net/";
    description = "Simple, thread-safe messaging between threads";
    license = licenses.gpl2Plus;
    platforms = platforms.linux;
  };
}
+0 −51
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  pkg-config,
  glib,
  ncurses,
  gpm,
}:
stdenv.mkDerivation rec {
  pname = "libviper";
  version = "1.4.6";

  src = fetchurl {
    url = "mirror://sourceforge/libviper/libviper-${version}.tar.gz";
    sha256 = "1jvm7wdgw6ixyhl0pcfr9lnr9g6sg6whyrs9ihjiz0agvqrgvxwc";
  };

  postPatch = ''
    sed -i -e s@/usr/local@$out@ -e /ldconfig/d -e '/cd vdk/d' Makefile

    # Fix pending upstream inclusion for ncurses-6.3 support:
    #   https://github.com/TragicWarrior/libviper/pull/16
    # Not applied as it due to unrelated code changes in context.
    substituteInPlace viper_msgbox.c --replace \
      'mvwprintw(window,height-3,tmp,prompt);' \
      'mvwprintw(window,height-3,tmp,"%s",prompt);'
    substituteInPlace w_decorate.c --replace \
      'mvwprintw(window,0,x,title);' \
      'mvwprintw(window,0,x,"%s",title);'
  '';

  preInstall = ''
    mkdir -p $out/include
    mkdir -p $out/lib
  '';

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [
    glib
    ncurses
    gpm
  ];

  meta = with lib; {
    homepage = "http://libviper.sourceforge.net/";
    description = "Simple window creation and management facilities for the console";
    license = licenses.gpl2Plus;
    platforms = platforms.linux;
  };
}

pkgs/by-name/vw/vwm/package.nix

deleted100644 → 0
+0 −57
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  ncurses,
  pkg-config,
  glib,
  libviper,
  libpseudo,
  gpm,
  libvterm,
}:

stdenv.mkDerivation rec {
  pname = "vwm";
  version = "2.1.3";

  src = fetchurl {
    url = "mirror://sourceforge/vwm/vwm-${version}.tar.gz";
    sha256 = "1r5wiqyfqwnyx7dfihixlnavbvg8rni36i4gq169aisjcg7laxaf";
  };

  postPatch = ''
    sed -i -e s@/usr/local@$out@ \
      -e s@/usr/lib@$out/lib@ \
      -e 's@tic vwmterm@tic -o '$out/lib/terminfo' vwmterm@' \
      -e /ldconfig/d Makefile modules/*/Makefile vwm.h

    # Fix ncurses-6.3 support:
    substituteInPlace vwm_bkgd.c --replace \
      'mvwprintw(window,height-1,width-(strlen(version_str)),version_str);' \
      'mvwprintw(window,height-1,width-(strlen(version_str)),"%s", version_str);'
  '';

  preInstall = ''
    mkdir -p $out/bin $out/include
  '';

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [
    ncurses
    glib
    libviper
    libpseudo
    gpm
    libvterm
  ];

  meta = with lib; {
    homepage = "https://vwm.sourceforge.net/";
    description = "Dynamic window manager for the console";
    license = licenses.gpl2Plus;
    maintainers = [ ];
    platforms = platforms.linux;
    mainProgram = "vwm";
  };
}
+3 −0
Original line number Diff line number Diff line
@@ -996,6 +996,7 @@ mapAliases {
  liboop = throw "liboop has been removed as it is unmaintained upstream."; # Added 2024-08-14
  libosmo-sccp = libosmo-sigtran; # Added 2024-12-20
  libpqxx_6 = throw "libpqxx_6 has been removed, please use libpqxx"; # Added 2024-10-02
  libpseudo = throw "'libpseudo' was removed as it is broken and not maintained upstream"; # Added 2025-05-17
  libpulseaudio-vanilla = libpulseaudio; # Added 2022-04-20
  libqt5pas = libsForQt5.libqtpas; # Added 2024-12-25
  libquotient = libsForQt5.libquotient; # Added 2023-11-11
@@ -1938,6 +1939,7 @@ mapAliases {
  vimHugeX = vim-full; # Added 2022-12-04
  vim_configurable = vim-full; # Added 2022-12-04
  vinagre = throw "'vinagre' has been removed as it has been archived upstream. Consider using 'gnome-connections' or 'remmina' instead"; # Added 2024-09-14
  libviper = throw "'libviper' was removed as it is broken and not maintained upstream"; # Added 2025-05-17
  libviperfx = throw "'libviperfx' was removed as it is broken and not maintained upstream"; # Added 2024-12-16
  vimix-cursor-theme = throw "'vimix-cursor-theme' has been superseded by 'vimix-cursors'"; # Added 2025-03-04
  viper4linux-gui = throw "'viper4linux-gui' was removed as it is broken and not maintained upstream"; # Added 2024-12-16
@@ -1952,6 +1954,7 @@ mapAliases {
  void = throw "'void' has been removed due to lack of upstream maintenance"; # Added 2025-01-25
  volnoti = throw "'volnoti' has been removed due to lack of maintenance upstream."; # Added 2024-12-04
  vuze = throw "'vuze' was removed because it is unmaintained upstream and insecure (CVE-2018-13417). BiglyBT is a maintained fork."; # Added 2024-11-22
  vwm = throw "'vwm' was removed as it is broken and not maintained upstream"; # Added 2025-05-17
  inherit (libsForQt5.mauiPackages) vvave; # added 2022-05-17

  ### W ###