Merge pull request #201182 from thblt/image-format-libs-for-pgtk-emacs
emacs: build pgtk variant with full image support
This commit is contained in:
commit
88238ce44a
@ -144,9 +144,10 @@ let emacs = (if withMacport then llvmPackages_6.stdenv else stdenv).mkDerivation
|
|||||||
++ lib.optionals stdenv.isLinux [ dbus libselinux alsa-lib acl gpm ]
|
++ lib.optionals stdenv.isLinux [ dbus libselinux alsa-lib acl gpm ]
|
||||||
++ lib.optionals withSystemd [ systemd ]
|
++ lib.optionals withSystemd [ systemd ]
|
||||||
++ lib.optionals withX
|
++ lib.optionals withX
|
||||||
[ xlibsWrapper libXaw Xaw3d libXpm libpng libjpeg giflib libtiff libXft
|
[ xlibsWrapper libXaw Xaw3d gconf cairo ]
|
||||||
gconf cairo ]
|
++ lib.optionals (withX || withPgtk)
|
||||||
++ lib.optionals (withX || withNS) [ librsvg ]
|
[ libXpm libpng libjpeg giflib libtiff ]
|
||||||
|
++ lib.optionals (withX || withNS || withPgtk ) [ librsvg ]
|
||||||
++ lib.optionals withImageMagick [ imagemagick ]
|
++ lib.optionals withImageMagick [ imagemagick ]
|
||||||
++ lib.optionals (stdenv.isLinux && withX) [ m17n_lib libotf ]
|
++ lib.optionals (stdenv.isLinux && withX) [ m17n_lib libotf ]
|
||||||
++ lib.optional (withX && withGTK2) gtk2-x11
|
++ lib.optional (withX && withGTK2) gtk2-x11
|
||||||
@ -178,6 +179,8 @@ let emacs = (if withMacport then llvmPackages_6.stdenv else stdenv).mkDerivation
|
|||||||
then [ "--disable-ns-self-contained" ]
|
then [ "--disable-ns-self-contained" ]
|
||||||
else if withX
|
else if withX
|
||||||
then [ "--with-x-toolkit=${toolkit}" "--with-xft" "--with-cairo" ]
|
then [ "--with-x-toolkit=${toolkit}" "--with-xft" "--with-cairo" ]
|
||||||
|
else if withPgtk
|
||||||
|
then [ "--with-pgtk" ]
|
||||||
else [ "--with-x=no" "--with-xpm=no" "--with-jpeg=no" "--with-png=no"
|
else [ "--with-x=no" "--with-xpm=no" "--with-jpeg=no" "--with-png=no"
|
||||||
"--with-gif=no" "--with-tiff=no" ])
|
"--with-gif=no" "--with-tiff=no" ])
|
||||||
++ lib.optionals withMacport [
|
++ lib.optionals withMacport [
|
||||||
@ -189,7 +192,6 @@ let emacs = (if withMacport then llvmPackages_6.stdenv else stdenv).mkDerivation
|
|||||||
++ lib.optional withXwidgets "--with-xwidgets"
|
++ lib.optional withXwidgets "--with-xwidgets"
|
||||||
++ lib.optional nativeComp "--with-native-compilation"
|
++ lib.optional nativeComp "--with-native-compilation"
|
||||||
++ lib.optional withImageMagick "--with-imagemagick"
|
++ lib.optional withImageMagick "--with-imagemagick"
|
||||||
++ lib.optional withPgtk "--with-pgtk"
|
|
||||||
++ lib.optional withXinput2 "--with-xinput2"
|
++ lib.optional withXinput2 "--with-xinput2"
|
||||||
++ lib.optional (!withToolkitScrollBars) "--without-toolkit-scroll-bars"
|
++ lib.optional (!withToolkitScrollBars) "--without-toolkit-scroll-bars"
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user