1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

xvidcap: remove

This commit is contained in:
Azat Bahawi 2022-11-08 02:11:44 +03:00
parent 085101b00f
commit c0615ec21a
No known key found for this signature in database
GPG key ID: C8C6BDDB3847F72B
4 changed files with 1 additions and 71 deletions

View file

@ -1,52 +0,0 @@
{ lib
, stdenv
, fetchurl
, perlPackages
, pkg-config
, gtk2
, scrollkeeper
, libglade
, libXmu
, libX11
, libXext
, gettext
, lame
, libXfixes
, libXdamage
}:
stdenv.mkDerivation rec {
pname = "xvidcap";
version = "1.1.7";
src = fetchurl {
url = "mirror://sourceforge/xvidcap/xvidcap-${version}.tar.gz";
sha256 = "0p8rhpyhxgy37crf1xk1046z4p663jg7ww776jw92pld3s024ihm";
};
patches = [ ./xlib.patch ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
gtk2
scrollkeeper
libglade
libXmu
gettext
lame
libXdamage
libXfixes
libXext
libX11
] ++ (with perlPackages; [ perl XMLParser ]);
# !!! don't know why this is necessary
NIX_LDFLAGS = "-lXext -lX11 -lz -lgcc_s";
meta = with lib; {
description = "Screencast video catpuring tool";
homepage = "http://xvidcap.sourceforge.net/";
license = licenses.gpl2;
platforms = platforms.linux;
};
}

View file

@ -1,15 +0,0 @@
diff --git a/src/app_data.c b/src/app_data.c
index 5a44363..482b115 100644
--- a/src/app_data.c
+++ b/src/app_data.c
@@ -52,9 +52,9 @@
#include <pthread.h>
#include <signal.h>
+#include <X11/Xlib.h>
#ifdef HAVE_LIBXFIXES
#include <X11/X.h>
-#include <X11/Xlib.h>
#include <X11/Xlibint.h>
#include <X11/Xproto.h>
#include <X11/Xutil.h>

View file

@ -1596,6 +1596,7 @@ mapAliases ({
); # Added 2022-08-02
xpraGtk3 = throw "'xpraGtk3' has been renamed to/replaced by 'xpra'"; # Converted to throw 2022-02-22
xv = xxv; # Added 2020-02-22
xvidcap = throw "'xvidcap' has been removed because of a broken dependency"; # Added 2022-11-08
xvfb_run = xvfb-run; # Added 2021-05-07
### Y ###

View file

@ -33233,10 +33233,6 @@ with pkgs;
xnotify = callPackage ../tools/X11/xnotify { };
xvidcap = callPackage ../applications/video/xvidcap {
inherit (gnome2) scrollkeeper libglade;
};
xygrib = libsForQt514.callPackage ../applications/misc/xygrib {};
xzgv = callPackage ../applications/graphics/xzgv { };