Merge pull request #96120 from jtojnar/cleaner-wx

authored by Jan Tojnar and committed by GitHub 84011615 88bf6211

+10 -17
+2 -2
pkgs/development/libraries/wxwidgets/2.8/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, gtk2, libXinerama, libSM, libXxf86vm, xorgproto 2 - , gstreamer, gst-plugins-base, GConf, libX11, cairo 2 + , libX11, cairo 3 3 , libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 4 4 , withMesa ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 5 5 , libGLU ? null, libGL ? null ··· 19 19 sha256 = "1l1w4i113csv3bd5r8ybyj0qpxdq83lj6jrc5p7cc10mkwyiagqz"; 20 20 }; 21 21 22 - buildInputs = [ gtk2 libXinerama libSM libXxf86vm xorgproto gstreamer gst-plugins-base GConf libX11 cairo ] 22 + buildInputs = [ gtk2 libXinerama libSM libXxf86vm xorgproto libX11 cairo ] 23 23 ++ optional withMesa libGLU; 24 24 25 25 nativeBuildInputs = [ pkgconfig ];
+3 -4
pkgs/development/libraries/wxwidgets/2.9/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, gtk2, libXinerama, libSM, libXxf86vm, xorgproto 2 - , gstreamer, gst-plugins-base, GConf, setfile 2 + , setfile 3 3 , libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 4 4 , withMesa ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 5 5 , libGLU ? null, libGL ? null ··· 32 32 ]; 33 33 34 34 buildInputs = 35 - [ gtk2 libXinerama libSM libXxf86vm xorgproto gstreamer 36 - gst-plugins-base GConf ] 35 + [ gtk2 libXinerama libSM libXxf86vm xorgproto ] 37 36 ++ optional withMesa libGLU 38 37 ++ optionals stdenv.isDarwin [ setfile Carbon Cocoa Kernel QuickTime ]; 39 38 ··· 42 41 propagatedBuildInputs = optional stdenv.isDarwin AGL; 43 42 44 43 configureFlags = 45 - [ "--enable-gtk2" "--disable-precomp-headers" "--enable-mediactrl" 44 + [ "--enable-gtk2" "--disable-precomp-headers" 46 45 (if compat24 then "--enable-compat24" else "--disable-compat24") 47 46 (if compat26 then "--enable-compat26" else "--disable-compat26") ] 48 47 ++ optional unicode "--enable-unicode"
+2 -2
pkgs/development/libraries/wxwidgets/3.0/default.nix
··· 1 1 { stdenv, fetchFromGitHub, fetchurl, pkgconfig 2 2 , libXinerama, libSM, libXxf86vm 3 - , gtk2, GConf ? null, gtk3 3 + , gtk2, gtk3 4 4 , xorgproto, gst_all_1, setfile 5 5 , libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 6 6 , withMesa ? libGLSupported ··· 31 31 32 32 buildInputs = [ 33 33 libXinerama libSM libXxf86vm xorgproto gst_all_1.gstreamer gst_all_1.gst-plugins-base 34 - ] ++ optionals withGtk2 [ gtk2 GConf ] 34 + ] ++ optionals withGtk2 [ gtk2 ] 35 35 ++ optional (!withGtk2) gtk3 36 36 ++ optional withMesa libGLU 37 37 ++ optional withWebKit webkitgtk
+2 -2
pkgs/development/libraries/wxwidgets/3.1/default.nix
··· 1 1 { stdenv, fetchFromGitHub, fetchurl, pkgconfig 2 2 , libXinerama, libSM, libXxf86vm 3 - , gtk2, GConf ? null, gtk3 3 + , gtk2, gtk3 4 4 , xorgproto, gst_all_1, setfile 5 5 , libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 6 6 , withMesa ? libGLSupported, libGLU ? null, libGL ? null ··· 30 30 31 31 buildInputs = [ 32 32 libXinerama libSM libXxf86vm xorgproto gst_all_1.gstreamer gst_all_1.gst-plugins-base 33 - ] ++ optionals withGtk2 [ gtk2 GConf ] 33 + ] ++ optionals withGtk2 [ gtk2 ] 34 34 ++ optional (!withGtk2) gtk3 35 35 ++ optional withMesa libGLU 36 36 ++ optional withWebKit webkitgtk
+1 -7
pkgs/top-level/all-packages.nix
··· 15716 15716 wxGTK30 = wxGTK30-gtk2; 15717 15717 wxGTK31 = wxGTK31-gtk2; 15718 15718 15719 - wxGTK28 = callPackage ../development/libraries/wxwidgets/2.8 { 15720 - inherit (gnome2) GConf; 15721 - }; 15719 + wxGTK28 = callPackage ../development/libraries/wxwidgets/2.8 { }; 15722 15720 15723 15721 wxGTK29 = callPackage ../development/libraries/wxwidgets/2.9 { 15724 - inherit (gnome2) GConf; 15725 15722 inherit (darwin.stubs) setfile; 15726 15723 inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QuickTime; 15727 15724 }; 15728 15725 15729 15726 wxGTK30-gtk2 = callPackage ../development/libraries/wxwidgets/3.0 { 15730 15727 withGtk2 = true; 15731 - inherit (gnome2) GConf; 15732 15728 inherit (darwin.stubs) setfile; 15733 15729 inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QTKit; 15734 15730 }; ··· 15741 15737 15742 15738 wxGTK31-gtk2 = callPackage ../development/libraries/wxwidgets/3.1 { 15743 15739 withGtk2 = true; 15744 - inherit (gnome2) GConf; 15745 15740 inherit (darwin.stubs) setfile; 15746 15741 inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QTKit; 15747 15742 }; ··· 24637 24632 fsg = callPackage ../games/fsg { 24638 24633 wxGTK = wxGTK28.override { 24639 24634 unicode = false; 24640 - gst-plugins-base = null; 24641 24635 }; 24642 24636 }; 24643 24637