3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/x11/quartz-wm/default.nix
Daiderd Jordan f00a4af18f
quartz-wm: add cf-private
Undefined symbols for architecture x86_64:
      "_CFNotificationCenterAddObserver", referenced from:
          _main in main.o
      "_CFNotificationCenterGetDistributedCenter", referenced from:
          _main in main.o
      "_OBJC_CLASS_$_NSTimer", referenced from:
          objc-class-ref in main.o
          objc-class-ref in x-screen.o
      "_OBJC_EHTYPE_$_NSException", referenced from:
          GCC_except_table25 in main.o
    ld: symbol(s) not found for architecture x86_64
2018-11-06 18:48:14 +01:00

32 lines
816 B
Nix

{ stdenv, fetchurl, xorg, pixman, pkgconfig, AppKit, Foundation, Xplugin, cf-private }:
let version = "1.3.1";
in stdenv.mkDerivation {
name = "quartz-wm-${version}";
src = fetchurl {
url = "http://xquartz-dl.macosforge.org/src/quartz-wm-${version}.tar.xz";
sha256 = "1j8zd3p7rhay1s3sxq6anw78k5s59mx44xpqla2ianl62346a5g9";
};
patches = [
./no_title_crash.patch
./extern-patch.patch
];
buildInputs = [
xorg.libXinerama
xorg.libAppleWM
xorg.applewmproto
xorg.libXrandr
xorg.libXext
pixman
pkgconfig
AppKit Xplugin Foundation
# Needed for CFNotificationCenterAddObserver symbols.
cf-private
];
meta = with stdenv.lib; {
license = licenses.apsl20;
platforms = platforms.darwin;
maintainers = with maintainers; [ matthewbauer ];
};
}