mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
qt: remove cf-private
This commit is contained in:
parent
0fb071fd00
commit
cbfbe9ca1e
12 changed files with 19 additions and 57 deletions
|
@ -14,7 +14,7 @@
|
|||
, examples ? false
|
||||
, demos ? false
|
||||
# darwin support
|
||||
, cf-private, libobjc, ApplicationServices, OpenGL, Cocoa, AGL, libcxx
|
||||
, libobjc, ApplicationServices, OpenGL, Cocoa, AGL, libcxx
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -189,7 +189,7 @@ stdenv.mkDerivation rec {
|
|||
postgresql sqlite libjpeg libmng libtiff icu ]
|
||||
++ lib.optionals (mysql != null) [ mysql.connector-c ]
|
||||
++ lib.optionals gtkStyle [ gtk2 gdk_pixbuf ]
|
||||
++ lib.optionals stdenv.isDarwin [ cf-private ApplicationServices OpenGL Cocoa AGL libcxx libobjc ];
|
||||
++ lib.optionals stdenv.isDarwin [ ApplicationServices OpenGL Cocoa AGL libcxx libobjc ];
|
||||
|
||||
nativeBuildInputs = [ perl pkgconfig which ];
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ top-level attribute to `top-level/all-packages.nix`.
|
|||
stdenv, fetchurl, fetchFromGitHub, makeSetupHook,
|
||||
bison, cups ? null, harfbuzz, libGL, perl,
|
||||
gstreamer, gst-plugins-base, gtk3, dconf,
|
||||
cf-private, llvmPackages_5,
|
||||
llvmPackages_5,
|
||||
|
||||
# options
|
||||
developerBuild ? false,
|
||||
|
@ -92,17 +92,13 @@ let
|
|||
};
|
||||
|
||||
qtcharts = callPackage ../modules/qtcharts.nix {};
|
||||
qtconnectivity = callPackage ../modules/qtconnectivity.nix {
|
||||
inherit cf-private;
|
||||
};
|
||||
qtconnectivity = callPackage ../modules/qtconnectivity.nix {};
|
||||
qtdeclarative = callPackage ../modules/qtdeclarative.nix {};
|
||||
qtdoc = callPackage ../modules/qtdoc.nix {};
|
||||
qtgraphicaleffects = callPackage ../modules/qtgraphicaleffects.nix {};
|
||||
qtimageformats = callPackage ../modules/qtimageformats.nix {};
|
||||
qtlocation = callPackage ../modules/qtlocation.nix { };
|
||||
qtmacextras = callPackage ../modules/qtmacextras.nix {
|
||||
inherit cf-private;
|
||||
};
|
||||
qtmacextras = callPackage ../modules/qtmacextras.nix {};
|
||||
qtmultimedia = callPackage ../modules/qtmultimedia.nix {
|
||||
inherit gstreamer gst-plugins-base;
|
||||
};
|
||||
|
|
|
@ -20,7 +20,7 @@ top-level attribute to `top-level/all-packages.nix`.
|
|||
stdenv, fetchurl, fetchFromGitHub, makeSetupHook,
|
||||
bison, cups ? null, harfbuzz, libGL, perl,
|
||||
gstreamer, gst-plugins-base, gtk3, dconf,
|
||||
cf-private, llvmPackages_5,
|
||||
llvmPackages_5,
|
||||
|
||||
# options
|
||||
developerBuild ? false,
|
||||
|
@ -97,17 +97,13 @@ let
|
|||
};
|
||||
|
||||
qtcharts = callPackage ../modules/qtcharts.nix {};
|
||||
qtconnectivity = callPackage ../modules/qtconnectivity.nix {
|
||||
inherit cf-private;
|
||||
};
|
||||
qtconnectivity = callPackage ../modules/qtconnectivity.nix {};
|
||||
qtdeclarative = callPackage ../modules/qtdeclarative.nix {};
|
||||
qtdoc = callPackage ../modules/qtdoc.nix {};
|
||||
qtgraphicaleffects = callPackage ../modules/qtgraphicaleffects.nix {};
|
||||
qtimageformats = callPackage ../modules/qtimageformats.nix {};
|
||||
qtlocation = callPackage ../modules/qtlocation.nix {};
|
||||
qtmacextras = callPackage ../modules/qtmacextras.nix {
|
||||
inherit cf-private;
|
||||
};
|
||||
qtmacextras = callPackage ../modules/qtmacextras.nix {};
|
||||
qtmultimedia = callPackage ../modules/qtmultimedia.nix {
|
||||
inherit gstreamer gst-plugins-base;
|
||||
};
|
||||
|
|
|
@ -29,7 +29,6 @@ existing packages here and modify it as necessary.
|
|||
stdenv, fetchurl, fetchpatch, makeSetupHook,
|
||||
bison, cups ? null, harfbuzz, libGL, perl,
|
||||
gstreamer, gst-plugins-base,
|
||||
cf-private,
|
||||
|
||||
# options
|
||||
developerBuild ? false,
|
||||
|
@ -133,9 +132,7 @@ let
|
|||
/* qtactiveqt = not packaged */
|
||||
/* qtandroidextras = not packaged */
|
||||
/* qtcanvas3d = not packaged */
|
||||
qtconnectivity = callPackage ../modules/qtconnectivity.nix {
|
||||
inherit cf-private;
|
||||
};
|
||||
qtconnectivity = callPackage ../modules/qtconnectivity.nix {};
|
||||
qtdeclarative = callPackage ../modules/qtdeclarative.nix {};
|
||||
qtdoc = callPackage ../modules/qtdoc.nix {};
|
||||
qtgraphicaleffects = callPackage ../modules/qtgraphicaleffects.nix {};
|
||||
|
|
|
@ -20,7 +20,6 @@ top-level attribute to `top-level/all-packages.nix`.
|
|||
stdenv, fetchurl, fetchpatch, makeSetupHook,
|
||||
bison, cups ? null, harfbuzz, libGL, perl,
|
||||
gstreamer, gst-plugins-base, gtk3, dconf,
|
||||
cf-private,
|
||||
|
||||
# options
|
||||
developerBuild ? false,
|
||||
|
@ -94,17 +93,13 @@ let
|
|||
};
|
||||
|
||||
qtcharts = callPackage ../modules/qtcharts.nix {};
|
||||
qtconnectivity = callPackage ../modules/qtconnectivity.nix {
|
||||
inherit cf-private;
|
||||
};
|
||||
qtconnectivity = callPackage ../modules/qtconnectivity.nix {};
|
||||
qtdeclarative = callPackage ../modules/qtdeclarative.nix {};
|
||||
qtdoc = callPackage ../modules/qtdoc.nix {};
|
||||
qtgraphicaleffects = callPackage ../modules/qtgraphicaleffects.nix {};
|
||||
qtimageformats = callPackage ../modules/qtimageformats.nix {};
|
||||
qtlocation = callPackage ../modules/qtlocation.nix {};
|
||||
qtmacextras = callPackage ../modules/qtmacextras.nix {
|
||||
inherit cf-private;
|
||||
};
|
||||
qtmacextras = callPackage ../modules/qtmacextras.nix {};
|
||||
qtmultimedia = callPackage ../modules/qtmultimedia.nix {
|
||||
inherit gstreamer gst-plugins-base;
|
||||
};
|
||||
|
|
|
@ -78,8 +78,6 @@ stdenv.mkDerivation {
|
|||
[ libinput ]
|
||||
++ lib.optional withGtk3 gtk3
|
||||
)
|
||||
# Needed for OBJC_CLASS_$_NSDate symbols.
|
||||
++ lib.optional stdenv.isDarwin darwin.cf-private
|
||||
++ lib.optional developerBuild gdb
|
||||
++ lib.optional (cups != null) cups
|
||||
++ lib.optional (mysql != null) mysql.connector-c
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{ qtModule, stdenv, qtbase, qtdeclarative, bluez, cf-private }:
|
||||
{ qtModule, stdenv, qtbase, qtdeclarative, bluez }:
|
||||
|
||||
qtModule {
|
||||
name = "qtconnectivity";
|
||||
qtInputs = [ qtbase qtdeclarative ];
|
||||
buildInputs = if stdenv.isDarwin then [ cf-private ] else [ bluez ];
|
||||
buildInputs = stdenv.lib.optional stdenv.isLinux bluez;
|
||||
outputs = [ "out" "dev" "bin" ];
|
||||
}
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
{ stdenv, qtModule, qtbase, cf-private }:
|
||||
{ stdenv, qtModule, qtbase }:
|
||||
|
||||
qtModule {
|
||||
name = "qtmacextras";
|
||||
qtInputs = [ qtbase ]
|
||||
# Needed for _OBJC_CLASS_$_NSData symbols.
|
||||
++ stdenv.lib.optional stdenv.isDarwin cf-private;
|
||||
qtInputs = [ qtbase ];
|
||||
meta = with stdenv.lib; {
|
||||
maintainers = with maintainers; [ periklis ];
|
||||
platforms = platforms.darwin;
|
||||
|
|
|
@ -200,14 +200,6 @@ EOF
|
|||
(runCommand "MacOS_SDK_sandbox.h" {} ''
|
||||
install -Dm444 "${lib.getDev darwin.apple_sdk.sdk}"/include/sandbox.h "$out"/include/sandbox.h
|
||||
'')
|
||||
|
||||
# For:
|
||||
# _NSDefaultRunLoopMode
|
||||
# _OBJC_CLASS_$_NSDate
|
||||
# _OBJC_CLASS_$_NSDictionary
|
||||
# _OBJC_CLASS_$_NSRunLoop
|
||||
# _OBJC_CLASS_$_NSURL
|
||||
darwin.cf-private
|
||||
]);
|
||||
|
||||
__impureHostDeps = optional stdenv.isDarwin "/usr/lib/libsandbox.1.dylib";
|
||||
|
|
|
@ -28,7 +28,7 @@ qtModule {
|
|||
++ optional (stdenv.isDarwin && lib.versionAtLeast qtbase.version "5.9.0") qtmultimedia
|
||||
++ optional usingAnnulenWebkitFork qtwebchannel;
|
||||
buildInputs = [ fontconfig libwebp libxml2 libxslt sqlite glib gst_all_1.gstreamer gst_all_1.gst-plugins-base ]
|
||||
++ optionals (stdenv.isDarwin) (with darwin; with apple_sdk.frameworks; [ cf-private ICU OpenGL ])
|
||||
++ optionals (stdenv.isDarwin) (with darwin; with apple_sdk.frameworks; [ ICU OpenGL ])
|
||||
++ optional usingAnnulenWebkitFork hyphen;
|
||||
nativeBuildInputs = [
|
||||
bison2 flex gdb gperf perl pkgconfig python2 ruby
|
||||
|
|
|
@ -1,20 +1,14 @@
|
|||
{ darwin, stdenv, qtModule, qtdeclarative, qtwebengine }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
|
||||
qtModule {
|
||||
name = "qtwebview";
|
||||
qtInputs = [ qtdeclarative qtwebengine ];
|
||||
buildInputs = optional (stdenv.isDarwin) [
|
||||
darwin.apple_sdk.frameworks.CoreFoundation
|
||||
darwin.apple_sdk.frameworks.WebKit
|
||||
|
||||
# For:
|
||||
# _OBJC_CLASS_$_NSArray
|
||||
# _OBJC_CLASS_$_NSDate
|
||||
# _OBJC_CLASS_$_NSURL
|
||||
darwin.cf-private
|
||||
];
|
||||
outputs = [ "out" "dev" "bin" ];
|
||||
NIX_LDFLAGS = optionalString stdenv.isDarwin "-framework CoreFoundation -framework WebKit";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12757,7 +12757,7 @@ in
|
|||
# XXX: mariadb doesn't built on fbsd as of nov 2015
|
||||
mysql = if (!stdenv.isFreeBSD) then mysql else null;
|
||||
|
||||
inherit (pkgs.darwin) cf-private libobjc;
|
||||
inherit (pkgs.darwin) libobjc;
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) ApplicationServices OpenGL Cocoa AGL;
|
||||
};
|
||||
|
||||
|
@ -12783,7 +12783,6 @@ in
|
|||
harfbuzz = harfbuzzFull;
|
||||
inherit libGL;
|
||||
inherit perl;
|
||||
inherit (darwin) cf-private;
|
||||
inherit (gst_all_1) gstreamer gst-plugins-base;
|
||||
});
|
||||
|
||||
|
@ -12798,7 +12797,6 @@ in
|
|||
harfbuzz = harfbuzzFull;
|
||||
inherit libGL;
|
||||
inherit perl;
|
||||
inherit (darwin) cf-private;
|
||||
inherit (gst_all_1) gstreamer gst-plugins-base;
|
||||
inherit gtk3;
|
||||
inherit (gnome3) dconf;
|
||||
|
@ -12815,7 +12813,6 @@ in
|
|||
harfbuzz = harfbuzzFull;
|
||||
inherit libGL;
|
||||
inherit perl;
|
||||
inherit (darwin) cf-private;
|
||||
inherit gtk3;
|
||||
inherit (gnome3) dconf;
|
||||
inherit (gst_all_1) gstreamer gst-plugins-base;
|
||||
|
@ -12833,7 +12830,6 @@ in
|
|||
harfbuzz = harfbuzzFull;
|
||||
inherit libGL;
|
||||
inherit perl;
|
||||
inherit (darwin) cf-private;
|
||||
inherit gtk3;
|
||||
inherit (gnome3) dconf;
|
||||
inherit (gst_all_1) gstreamer gst-plugins-base;
|
||||
|
|
Loading…
Reference in a new issue