|
|
|
@ -6,13 +6,13 @@ |
|
|
|
|
postInstall = |
|
|
|
|
'' |
|
|
|
|
ln -s ${xorg.fontalias}/lib/X11/fonts/misc/fonts.alias $out/lib/X11/fonts/misc/fonts.alias |
|
|
|
|
''; |
|
|
|
|
''; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
imake = attrs: attrs // { |
|
|
|
|
inherit (xorg) xorgcffiles; |
|
|
|
|
x11BuildHook = ./imake.sh; |
|
|
|
|
patches = [./imake.patch]; |
|
|
|
|
patches = [./imake.patch]; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
mkfontdir = attrs: attrs // { |
|
|
|
@ -23,6 +23,21 @@ |
|
|
|
|
patchPhase = "sed -i '/USE_GETTEXT_TRUE/d' sxpm/Makefile.in cxpm/Makefile.in"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
libXaw = attrs: attrs // { |
|
|
|
|
# The libXaw installation is broken on MacOS X. The package has hard-coded |
|
|
|
|
# know-how that assumes shared libraries use an .so suffix. MacOS, however, |
|
|
|
|
# uses .dylib. Furthermore, the package fails to install an unversioned |
|
|
|
|
# libtool .la file for the library. |
|
|
|
|
postInstall = '' |
|
|
|
|
cd $out/lib |
|
|
|
|
ln -s libXaw8.la libXaw.la |
|
|
|
|
if [ ${args.stdenv.system} = "i686-darwin" ]; then |
|
|
|
|
rm *.so* |
|
|
|
|
ln -s libXaw8.dylib libXaw.dylib |
|
|
|
|
fi |
|
|
|
|
''; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
setxkbmap = attrs: attrs // { |
|
|
|
|
postInstall = |
|
|
|
|
'' |
|
|
|
@ -79,5 +94,5 @@ |
|
|
|
|
libSM = attrs: attrs // args.stdenv.lib.optionalAttrs (args.stdenv.system == "i686-darwin") { |
|
|
|
|
configureFlags = "LIBUUID_CFLAGS='' LIBUUID_LIBS=''"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|