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