treewide: remove libintl hacks
This commit is contained in:
parent
9e75fb5eb4
commit
ed2a9cf65f
@ -15,8 +15,6 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ glib ncurses mpd_clientlib ];
|
buildInputs = [ glib ncurses mpd_clientlib ];
|
||||||
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
|
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Curses-based interface for MPD (music player daemon)";
|
description = "Curses-based interface for MPD (music player daemon)";
|
||||||
homepage = https://www.musicpd.org/clients/ncmpc/;
|
homepage = https://www.musicpd.org/clients/ncmpc/;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, gtk2, which, pkgconfig, intltool, file }:
|
{ stdenv, fetchurl, gtk2, which, pkgconfig, intltool, file, libintl }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
@ -14,9 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "66baaff43f12caebcf0efec9a5533044dc52837f799c73a1fd7312caa86099c2";
|
sha256 = "66baaff43f12caebcf0efec9a5533044dc52837f799c73a1fd7312caa86099c2";
|
||||||
};
|
};
|
||||||
|
|
||||||
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
|
nativeBuildInputs = [ pkgconfig intltool libintl ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig intltool ];
|
|
||||||
buildInputs = [ gtk2 which file ];
|
buildInputs = [ gtk2 which file ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
@ -46,8 +46,7 @@ in stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
# "screenshot" needs this.
|
# "screenshot" needs this.
|
||||||
NIX_LDFLAGS = "-rpath ${xorg.libX11.out}/lib"
|
NIX_LDFLAGS = "-rpath ${xorg.libX11.out}/lib";
|
||||||
+ stdenv.lib.optionalString stdenv.isDarwin " -lintl";
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "The GNU Image Manipulation Program";
|
description = "The GNU Image Manipulation Program";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, libjpeg, libtiff, librsvg, libintlOrEmpty }:
|
{ stdenv, fetchurl, libjpeg, libtiff, librsvg, libiconv }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "djvulibre-3.5.27";
|
name = "djvulibre-3.5.27";
|
||||||
@ -10,9 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "bin" "dev" "out" ];
|
outputs = [ "bin" "dev" "out" ];
|
||||||
|
|
||||||
buildInputs = [ libjpeg libtiff librsvg ] ++ libintlOrEmpty;
|
buildInputs = [ libjpeg libtiff librsvg libiconv ];
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A library and viewer for the DJVU file format for scanned images";
|
description = "A library and viewer for the DJVU file format for scanned images";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gtk, gettext, ncurses, libiconv, libintlOrEmpty
|
{ stdenv, fetchurl, pkgconfig, gtk, gettext, ncurses, libiconv, libintl
|
||||||
, withBuildColors ? true
|
, withBuildColors ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -19,10 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ gtk gettext libintlOrEmpty ]
|
buildInputs = [ gtk gettext libintl libiconv ];
|
||||||
++ stdenv.lib.optional stdenv.isDarwin libiconv;
|
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"PREFIX=$(out)"
|
"PREFIX=$(out)"
|
||||||
|
@ -19,8 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
mkdir locale
|
mkdir locale
|
||||||
'';
|
'';
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-D__GNU_LIBRARY__"
|
NIX_CFLAGS_COMPILE = "-D__GNU_LIBRARY__";
|
||||||
+ stdenv.lib.optionalString stdenv.isDarwin " -lintl";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://dushistov.github.io/sdcv/;
|
homepage = https://dushistov.github.io/sdcv/;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, makeWrapper, pkgconfig
|
{ stdenv, fetchurl, makeWrapper, pkgconfig
|
||||||
, gtk, girara, ncurses, gettext, docutils
|
, gtk, girara, ncurses, gettext, docutils
|
||||||
, file, sqlite, glib, texlive, libintlOrEmpty
|
, file, sqlite, glib, texlive, libintl
|
||||||
, gtk-mac-integration, synctexSupport ? true
|
, gtk-mac-integration, synctexSupport ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
|
|||||||
icon = ./icon.xpm;
|
icon = ./icon.xpm;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig
|
pkgconfig libintl
|
||||||
] ++ optional stdenv.isDarwin [ libintlOrEmpty ];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
file gtk girara
|
file gtk girara
|
||||||
@ -29,7 +29,6 @@ stdenv.mkDerivation rec {
|
|||||||
] ++ optional synctexSupport texlive.bin.core
|
] ++ optional synctexSupport texlive.bin.core
|
||||||
++ optional stdenv.isDarwin [ gtk-mac-integration ];
|
++ optional stdenv.isDarwin [ gtk-mac-integration ];
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, ncurses, glib, openssl, perl, libintlOrEmpty }:
|
{ stdenv, fetchurl, pkgconfig, ncurses, glib, openssl, perl, libintl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.1.1";
|
version = "1.1.1";
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ ncurses glib openssl perl libintlOrEmpty ];
|
buildInputs = [ ncurses glib openssl perl libintl ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-proxy"
|
"--with-proxy"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, libIDL, libintlOrEmpty }:
|
{ stdenv, fetchurl, pkgconfig, glib, libIDL, libintl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ORBit2-${minVer}.19";
|
name = "ORBit2-${minVer}.19";
|
||||||
@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam";
|
sha256 = "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig libintl ];
|
||||||
propagatedBuildInputs = [ glib libIDL ] ++ libintlOrEmpty;
|
propagatedBuildInputs = [ glib libIDL ];
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
@ -14,6 +14,4 @@ stdenv.mkDerivation {
|
|||||||
buildInputs = [ gtk python gettext ];
|
buildInputs = [ gtk python gettext ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ libxml2 ];
|
propagatedBuildInputs = [ libxml2 ];
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, flex, bison, libxslt, autoconf, graphviz
|
{ stdenv, fetchurl, pkgconfig, flex, bison, libxslt, autoconf, graphviz
|
||||||
, glib, libiconv, libintlOrEmpty, libtool, expat
|
, glib, libiconv, libintl, libtool, expat
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -16,7 +16,7 @@ let
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig flex bison libxslt ] ++ extraNativeBuildInputs;
|
nativeBuildInputs = [ pkgconfig flex bison libxslt ] ++ extraNativeBuildInputs;
|
||||||
|
|
||||||
buildInputs = [ glib libiconv ] ++ libintlOrEmpty ++ extraBuildInputs;
|
buildInputs = [ glib libiconv libintl ] ++ extraBuildInputs;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Compiler for GObject type system";
|
description = "Compiler for GObject type system";
|
||||||
|
@ -23,10 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
# ToDo: on non-NixOS we create a symlink from there?
|
# ToDo: on non-NixOS we create a symlink from there?
|
||||||
configureFlags = "--with-dbus-daemondir=/run/current-system/sw/bin/";
|
configureFlags = "--with-dbus-daemondir=/run/current-system/sw/bin/";
|
||||||
|
|
||||||
NIX_LDFLAGS = with stdenv; lib.optionalString isDarwin "-lintl";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, meson, ninja, gettext, pkgconfig, glib, libintlOrEmpty, gobjectIntrospection, gnome3 }:
|
{ stdenv, fetchurl, meson, ninja, gettext, pkgconfig, glib, gobjectIntrospection, gnome3 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "atk";
|
pname = "atk";
|
||||||
@ -22,8 +22,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
buildInputs = libintlOrEmpty;
|
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkgconfig gettext gobjectIntrospection ];
|
nativeBuildInputs = [ meson ninja pkgconfig gettext gobjectIntrospection ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, fetchFromGitHub, fetchpatch, pkgconfig, libiconv
|
{ stdenv, fetchurl, fetchFromGitHub, fetchpatch, pkgconfig, libiconv
|
||||||
, libintlOrEmpty, expat, zlib, libpng, pixman, fontconfig, freetype, xorg
|
, libintl, expat, zlib, libpng, pixman, fontconfig, freetype, xorg
|
||||||
, gobjectSupport ? true, glib
|
, gobjectSupport ? true, glib
|
||||||
, xcbSupport ? true # no longer experimental since 1.12
|
, xcbSupport ? true # no longer experimental since 1.12
|
||||||
, glSupport ? true, libGL ? null # libGLU_combined is no longer a big dependency
|
, glSupport ? true, libGL ? null # libGLU_combined is no longer a big dependency
|
||||||
@ -34,7 +34,8 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig
|
pkgconfig
|
||||||
libiconv
|
libiconv
|
||||||
] ++ libintlOrEmpty ++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
libintl
|
||||||
|
] ++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||||
CoreGraphics
|
CoreGraphics
|
||||||
CoreText
|
CoreText
|
||||||
ApplicationServices
|
ApplicationServices
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libGL, glib, gdk_pixbuf, xorg, libintlOrEmpty
|
{ stdenv, fetchurl, pkgconfig, libGL, glib, gdk_pixbuf, xorg, libintl
|
||||||
, pangoSupport ? true, pango, cairo, gobjectIntrospection, wayland, gnome3
|
, pangoSupport ? true, pango, cairo, gobjectIntrospection, wayland, gnome3
|
||||||
, gstreamerSupport ? true, gst_all_1 }:
|
, gstreamerSupport ? true, gst_all_1 }:
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ in stdenv.mkDerivation rec {
|
|||||||
sha256 = "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr";
|
sha256 = "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig libintl ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-introspection"
|
"--enable-introspection"
|
||||||
@ -27,7 +27,6 @@ in stdenv.mkDerivation rec {
|
|||||||
glib gdk_pixbuf gobjectIntrospection wayland
|
glib gdk_pixbuf gobjectIntrospection wayland
|
||||||
libGL libXrandr libXfixes libXcomposite libXdamage
|
libGL libXrandr libXfixes libXcomposite libXdamage
|
||||||
]
|
]
|
||||||
++ libintlOrEmpty
|
|
||||||
++ stdenv.lib.optionals gstreamerSupport [ gst_all_1.gstreamer
|
++ stdenv.lib.optionals gstreamerSupport [ gst_all_1.gstreamer
|
||||||
gst_all_1.gst-plugins-base ];
|
gst_all_1.gst-plugins-base ];
|
||||||
|
|
||||||
@ -37,8 +36,6 @@ in stdenv.mkDerivation rec {
|
|||||||
= stdenv.lib.optionalString (stdenv.isDarwin && pangoSupport)
|
= stdenv.lib.optionalString (stdenv.isDarwin && pangoSupport)
|
||||||
"-I${pango.dev}/include/pango-1.0 -I${cairo.dev}/include/cairo";
|
"-I${pango.dev}/include/pango-1.0 -I${cairo.dev}/include/cairo";
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
#doCheck = true; # all tests fail (no idea why)
|
#doCheck = true; # all tests fail (no idea why)
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, libintlOrEmpty, zlib, gettext }:
|
{ stdenv, fetchurl, zlib, gettext }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "cracklib-2.9.6";
|
name = "cracklib-2.9.6";
|
||||||
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0hrkb0prf7n92w6rxgq0ilzkk6rkhpys2cfqkrbzswp27na7dkqp";
|
sha256 = "0hrkb0prf7n92w6rxgq0ilzkk6rkhpys2cfqkrbzswp27na7dkqp";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libintlOrEmpty zlib gettext ];
|
buildInputs = [ zlib gettext ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/cracklib/cracklib;
|
homepage = https://github.com/cracklib/cracklib;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, python3, libxml2, libxslt, docbook_xsl
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, python3, libxml2, libxslt, docbook_xsl
|
||||||
, docbook_xml_dtd_43, gtk-doc, glib, libtiff, libjpeg, libpng, libX11, gnome3
|
, docbook_xml_dtd_43, gtk-doc, glib, libtiff, libjpeg, libpng, libX11, gnome3
|
||||||
, jasper, shared-mime-info, libintlOrEmpty, gobjectIntrospection, doCheck ? false, makeWrapper }:
|
, jasper, shared-mime-info, libintl, gobjectIntrospection, doCheck ? false, makeWrapper }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "gdk-pixbuf";
|
pname = "gdk-pixbuf";
|
||||||
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
# !!! We might want to factor out the gdk-pixbuf-xlib subpackage.
|
# !!! We might want to factor out the gdk-pixbuf-xlib subpackage.
|
||||||
buildInputs = [ libX11 ] ++ stdenv.lib.optional (!stdenv.isDarwin) shared-mime-info ++ libintlOrEmpty;
|
buildInputs = [ libX11 libintl ] ++ stdenv.lib.optional (!stdenv.isDarwin) shared-mime-info;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson ninja pkgconfig gettext python3 libxml2 libxslt docbook_xsl docbook_xml_dtd_43
|
meson ninja pkgconfig gettext python3 libxml2 libxslt docbook_xsl docbook_xml_dtd_43
|
||||||
@ -78,4 +78,3 @@ stdenv.mkDerivation rec {
|
|||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, babl, libpng, cairo, libjpeg, which
|
{ stdenv, fetchurl, pkgconfig, glib, babl, libpng, cairo, libjpeg, which
|
||||||
, librsvg, pango, gtk, bzip2, json-glib, intltool, autoreconfHook, libraw
|
, librsvg, pango, gtk, bzip2, json-glib, intltool, autoreconfHook, libraw
|
||||||
, libwebp, gnome3 }:
|
, libwebp, gnome3, libintl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gegl-0.3.28";
|
name = "gegl-0.3.28";
|
||||||
@ -10,8 +10,6 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1zr3gmmzjhp2d3d3h51x80r5q7gs9rv67ywx69sif6as99h8fbqm";
|
sha256 = "1zr3gmmzjhp2d3d3h51x80r5q7gs9rv67ywx69sif6as99h8fbqm";
|
||||||
};
|
};
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
# needs fonts otherwise don't know how to pass them
|
# needs fonts otherwise don't know how to pass them
|
||||||
@ -28,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ glib json-glib babl ]; # for gegl-3.0.pc
|
propagatedBuildInputs = [ glib json-glib babl ]; # for gegl-3.0.pc
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig intltool which autoreconfHook ];
|
nativeBuildInputs = [ pkgconfig intltool which autoreconfHook libintl ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Graph-based image processing framework";
|
description = "Graph-based image processing framework";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, babl, libpng, cairo, libjpeg
|
{ stdenv, fetchurl, pkgconfig, glib, babl, libpng, cairo, libjpeg
|
||||||
, librsvg, pango, gtk2, bzip2, intltool
|
, librsvg, pango, gtk2, bzip2, intltool, libintl
|
||||||
, OpenGL ? null }:
|
, OpenGL ? null }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -20,14 +20,12 @@ stdenv.mkDerivation rec {
|
|||||||
# needs fonts otherwise don't know how to pass them
|
# needs fonts otherwise don't know how to pass them
|
||||||
configureFlags = "--disable-docs";
|
configureFlags = "--disable-docs";
|
||||||
|
|
||||||
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
|
buildInputs = [ babl libpng cairo libjpeg librsvg pango gtk2 bzip2 intltool libintl ]
|
||||||
|
|
||||||
buildInputs = [ babl libpng cairo libjpeg librsvg pango gtk2 bzip2 intltool ]
|
|
||||||
++ stdenv.lib.optional stdenv.isDarwin OpenGL;
|
++ stdenv.lib.optional stdenv.isDarwin OpenGL;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Graph-based image processing framework";
|
description = "Graph-based image processing framework";
|
||||||
homepage = http://www.gegl.org;
|
homepage = http://www.gegl.org;
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = stdenv.lib.licenses.gpl3;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ fetchurl, stdenv, intltool, libintlOrEmpty, pkgconfig, glib, json-glib, libsoup, geoip
|
{ fetchurl, stdenv, intltool, pkgconfig, glib, json-glib, libsoup, geoip
|
||||||
, dbus, dbus-glib, modemmanager, avahi, glib-networking, wrapGAppsHook, gobjectIntrospection
|
, dbus, dbus-glib, modemmanager, avahi, glib-networking, wrapGAppsHook, gobjectIntrospection
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -18,8 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
pkgconfig intltool wrapGAppsHook gobjectIntrospection
|
pkgconfig intltool wrapGAppsHook gobjectIntrospection
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = libintlOrEmpty ++
|
buildInputs = [ glib json-glib libsoup geoip
|
||||||
[ glib json-glib libsoup geoip
|
|
||||||
dbus dbus-glib avahi
|
dbus dbus-glib avahi
|
||||||
] ++ optionals (!stdenv.isDarwin) [ modemmanager ];
|
] ++ optionals (!stdenv.isDarwin) [ modemmanager ];
|
||||||
|
|
||||||
@ -37,8 +36,6 @@ stdenv.mkDerivation rec {
|
|||||||
"--disable-modem-gps-source"
|
"--disable-modem-gps-source"
|
||||||
"--disable-nmea-source" ];
|
"--disable-nmea-source" ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = optionalString stdenv.isDarwin " -lintl";
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
sed -i $dev/lib/pkgconfig/libgeoclue-2.0.pc -e "s|includedir=.*|includedir=$dev/include|"
|
sed -i $dev/lib/pkgconfig/libgeoclue-2.0.pc -e "s|includedir=.*|includedir=$dev/include|"
|
||||||
'';
|
'';
|
||||||
|
@ -47,4 +47,3 @@ stdenv.mkDerivation rec {
|
|||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, hostPlatform, fetchurl, pkgconfig, gettext, perl, python
|
{ stdenv, hostPlatform, fetchurl, pkgconfig, gettext, perl, python
|
||||||
, libiconv, libintlOrEmpty, zlib, libffi, pcre, libelf, gnome3
|
, libiconv, libintl, zlib, libffi, pcre, libelf, gnome3
|
||||||
# use utillinuxMinimal to avoid circular dependency (utillinux, systemd, glib)
|
# use utillinuxMinimal to avoid circular dependency (utillinux, systemd, glib)
|
||||||
, utillinuxMinimal ? null
|
, utillinuxMinimal ? null
|
||||||
|
|
||||||
@ -66,10 +66,9 @@ stdenv.mkDerivation rec {
|
|||||||
++ optionals stdenv.isLinux [ utillinuxMinimal ] # for libmount
|
++ optionals stdenv.isLinux [ utillinuxMinimal ] # for libmount
|
||||||
++ optionals doCheck [ tzdata libxml2 desktop-file-utils shared-mime-info ];
|
++ optionals doCheck [ tzdata libxml2 desktop-file-utils shared-mime-info ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig gettext perl python ];
|
nativeBuildInputs = [ pkgconfig gettext perl python libintl libiconv ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ zlib libffi libiconv ]
|
propagatedBuildInputs = [ zlib libffi ];
|
||||||
++ libintlOrEmpty;
|
|
||||||
|
|
||||||
# internal pcre would only add <200kB, but it's relatively common
|
# internal pcre would only add <200kB, but it's relatively common
|
||||||
configureFlags = [ "--with-pcre=system" ]
|
configureFlags = [ "--with-pcre=system" ]
|
||||||
@ -84,8 +83,7 @@ stdenv.mkDerivation rec {
|
|||||||
# GElf only supports elf64 hosts
|
# GElf only supports elf64 hosts
|
||||||
++ optional (!stdenv.hostPlatform.is64bit) "--disable-libelf";
|
++ optional (!stdenv.hostPlatform.is64bit) "--disable-libelf";
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = optional stdenv.isDarwin "-lintl"
|
NIX_CFLAGS_COMPILE = optional stdenv.isSunOS "-DBSD_COMP";
|
||||||
++ optional stdenv.isSunOS "-DBSD_COMP";
|
|
||||||
|
|
||||||
preConfigure = optionalString stdenv.isSunOS ''
|
preConfigure = optionalString stdenv.isSunOS ''
|
||||||
sed -i -e 's|inotify.h|foobar-inotify.h|g' configure
|
sed -i -e 's|inotify.h|foobar-inotify.h|g' configure
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, glib, flex, bison, pkgconfig, libffi, python
|
{ stdenv, fetchurl, glib, flex, bison, pkgconfig, libffi, python
|
||||||
, libintlOrEmpty, cctools, cairo, gnome3
|
, libintl, cctools, cairo, gnome3
|
||||||
, substituteAll, nixStoreDir ? builtins.storeDir
|
, substituteAll, nixStoreDir ? builtins.storeDir
|
||||||
, x11Support ? true
|
, x11Support ? true
|
||||||
}:
|
}:
|
||||||
@ -24,9 +24,8 @@ stdenv.mkDerivation rec {
|
|||||||
outputBin = "dev";
|
outputBin = "dev";
|
||||||
outputMan = "dev"; # tiny pages
|
outputMan = "dev"; # tiny pages
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig libintl ];
|
||||||
buildInputs = [ flex bison python setupHook/*move .gir*/ ]
|
buildInputs = [ flex bison python setupHook/*move .gir*/ ]
|
||||||
++ libintlOrEmpty
|
|
||||||
++ stdenv.lib.optional stdenv.isDarwin cctools;
|
++ stdenv.lib.optional stdenv.isDarwin cctools;
|
||||||
propagatedBuildInputs = [ libffi glib ];
|
propagatedBuildInputs = [ libffi glib ];
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
, openjpeg, libopus, librsvg
|
, openjpeg, libopus, librsvg
|
||||||
, wildmidi, fluidsynth, libvdpau, wayland
|
, wildmidi, fluidsynth, libvdpau, wayland
|
||||||
, libwebp, xvidcore, gnutls, mjpegtools
|
, libwebp, xvidcore, gnutls, mjpegtools
|
||||||
, libGLU_combined, libintlOrEmpty, libgme
|
, libGLU_combined, libintl, libgme
|
||||||
, openssl, x265, libxml2
|
, openssl, x265, libxml2
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -63,8 +63,8 @@ stdenv.mkDerivation rec {
|
|||||||
fluidsynth libvdpau
|
fluidsynth libvdpau
|
||||||
libwebp xvidcore gnutls libGLU_combined
|
libwebp xvidcore gnutls libGLU_combined
|
||||||
libgme openssl x265 libxml2
|
libgme openssl x265 libxml2
|
||||||
|
libintl
|
||||||
]
|
]
|
||||||
++ libintlOrEmpty
|
|
||||||
++ optional faacSupport faac
|
++ optional faacSupport faac
|
||||||
# for gtksink
|
# for gtksink
|
||||||
++ optional gtkSupport gtk3
|
++ optional gtkSupport gtk3
|
||||||
@ -75,7 +75,5 @@ stdenv.mkDerivation rec {
|
|||||||
# TODO: mjpegtools uint64_t is not compatible with guint64 on Darwin
|
# TODO: mjpegtools uint64_t is not compatible with guint64 on Darwin
|
||||||
++ optional (!stdenv.isDarwin) mjpegtools;
|
++ optional (!stdenv.isDarwin) mjpegtools;
|
||||||
|
|
||||||
LDFLAGS = optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, python, gstreamer, gobjectIntrospection
|
{ stdenv, fetchurl, pkgconfig, python, gstreamer, gobjectIntrospection
|
||||||
, orc, alsaLib, libXv, pango, libtheora
|
, orc, alsaLib, libXv, pango, libtheora
|
||||||
, cdparanoia, libvisual, libintlOrEmpty
|
, cdparanoia, libvisual, libintl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -25,9 +25,8 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
orc libXv pango libtheora cdparanoia
|
orc libXv pango libtheora cdparanoia libintl
|
||||||
]
|
]
|
||||||
++ libintlOrEmpty
|
|
||||||
++ stdenv.lib.optional stdenv.isLinux alsaLib
|
++ stdenv.lib.optional stdenv.isLinux alsaLib
|
||||||
++ stdenv.lib.optional (!stdenv.isDarwin) libvisual;
|
++ stdenv.lib.optional (!stdenv.isDarwin) libvisual;
|
||||||
|
|
||||||
@ -40,7 +39,5 @@ stdenv.mkDerivation rec {
|
|||||||
"--disable-cdparanoia"
|
"--disable-cdparanoia"
|
||||||
] else null;
|
] else null;
|
||||||
|
|
||||||
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
, libv4l, libdv, libavc1394, libiec61883
|
, libv4l, libdv, libavc1394, libiec61883
|
||||||
, libvpx, speex, flac, taglib, libshout
|
, libvpx, speex, flac, taglib, libshout
|
||||||
, cairo, gdk_pixbuf, aalib, libcaca
|
, cairo, gdk_pixbuf, aalib, libcaca
|
||||||
, libsoup, libpulseaudio, libintlOrEmpty
|
, libsoup, libpulseaudio, libintl
|
||||||
, darwin
|
, darwin
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -38,9 +38,8 @@ stdenv.mkDerivation rec {
|
|||||||
gst-plugins-base orc bzip2
|
gst-plugins-base orc bzip2
|
||||||
libdv libvpx speex flac taglib
|
libdv libvpx speex flac taglib
|
||||||
cairo gdk_pixbuf aalib libcaca
|
cairo gdk_pixbuf aalib libcaca
|
||||||
libsoup libshout
|
libsoup libshout libintl
|
||||||
]
|
]
|
||||||
++ libintlOrEmpty
|
|
||||||
++ optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ]
|
++ optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ]
|
||||||
++ optionals stdenv.isLinux [ libv4l libpulseaudio libavc1394 libiec61883 ];
|
++ optionals stdenv.isLinux [ libv4l libpulseaudio libavc1394 libiec61883 ];
|
||||||
|
|
||||||
@ -48,6 +47,4 @@ stdenv.mkDerivation rec {
|
|||||||
mkdir -p "$dev/lib/gstreamer-1.0"
|
mkdir -p "$dev/lib/gstreamer-1.0"
|
||||||
mv "$out/lib/gstreamer-1.0/"*.la "$dev/lib/gstreamer-1.0"
|
mv "$out/lib/gstreamer-1.0/"*.la "$dev/lib/gstreamer-1.0"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
LDFLAGS = optionalString stdenv.isDarwin "-lintl";
|
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, python, gstreamer, xorg, alsaLib, cdparanoia
|
{ fetchurl, stdenv, pkgconfig, python, gstreamer, xorg, alsaLib, cdparanoia
|
||||||
, libogg, libtheora, libvorbis, freetype, pango, liboil, glib, cairo, orc
|
, libogg, libtheora, libvorbis, freetype, pango, liboil, glib, cairo, orc
|
||||||
, libintlOrEmpty
|
, libintl
|
||||||
, ApplicationServices
|
, ApplicationServices
|
||||||
, # Whether to build no plugins that have external dependencies
|
, # Whether to build no plugins that have external dependencies
|
||||||
# (except the ALSA plugin).
|
# (except the ALSA plugin).
|
||||||
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# TODO : v4l, libvisual
|
# TODO : v4l, libvisual
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ pkgconfig glib cairo orc ]
|
[ pkgconfig glib cairo orc libintl ]
|
||||||
# can't build alsaLib on darwin
|
# can't build alsaLib on darwin
|
||||||
++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib
|
++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib
|
||||||
++ stdenv.lib.optionals (!minimalDeps)
|
++ stdenv.lib.optionals (!minimalDeps)
|
||||||
@ -37,11 +37,8 @@ stdenv.mkDerivation rec {
|
|||||||
liboil ]
|
liboil ]
|
||||||
# can't build cdparanoia on darwin
|
# can't build cdparanoia on darwin
|
||||||
++ stdenv.lib.optional (!minimalDeps && !stdenv.isDarwin) cdparanoia
|
++ stdenv.lib.optional (!minimalDeps && !stdenv.isDarwin) cdparanoia
|
||||||
++ libintlOrEmpty
|
|
||||||
++ stdenv.lib.optional stdenv.isDarwin ApplicationServices;
|
++ stdenv.lib.optional stdenv.isDarwin ApplicationServices;
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ gstreamer ];
|
propagatedBuildInputs = [ gstreamer ];
|
||||||
|
|
||||||
postInstall = "rm -rf $out/share/gtk-doc";
|
postInstall = "rm -rf $out/share/gtk-doc";
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ fetchurl, stdenv, lib, pkgconfig, gst-plugins-base, aalib, cairo
|
{ fetchurl, stdenv, lib, pkgconfig, gst-plugins-base, aalib, cairo
|
||||||
, flac, libjpeg, zlib, speex, libpng, libdv, libcaca, libvpx
|
, flac, libjpeg, zlib, speex, libpng, libdv, libcaca, libvpx
|
||||||
, libiec61883, libavc1394, taglib, libpulseaudio, gdk_pixbuf, orc
|
, libiec61883, libavc1394, taglib, libpulseaudio, gdk_pixbuf, orc
|
||||||
, glib, gstreamer, bzip2, libsoup, libshout, ncurses, libintlOrEmpty
|
, glib, gstreamer, bzip2, libsoup, libshout, ncurses, libintl
|
||||||
, # Whether to build no plugins that have external dependencies
|
, # Whether to build no plugins that have external dependencies
|
||||||
# (except the PulseAudio plugin).
|
# (except the PulseAudio plugin).
|
||||||
minimalDeps ? false
|
minimalDeps ? false
|
||||||
@ -23,15 +23,12 @@ stdenv.mkDerivation rec {
|
|||||||
configureFlags = [ "--enable-experimental" "--disable-oss" ];
|
configureFlags = [ "--enable-experimental" "--disable-oss" ];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ pkgconfig glib gstreamer gst-plugins-base ]
|
[ pkgconfig glib gstreamer gst-plugins-base libintl ]
|
||||||
++ lib.optional stdenv.isLinux libpulseaudio
|
++ lib.optional stdenv.isLinux libpulseaudio
|
||||||
++ libintlOrEmpty
|
|
||||||
++ lib.optionals (!minimalDeps)
|
++ lib.optionals (!minimalDeps)
|
||||||
[ aalib libcaca cairo libdv flac libjpeg libpng speex
|
[ aalib libcaca cairo libdv flac libjpeg libpng speex
|
||||||
taglib bzip2 libvpx gdk_pixbuf orc libsoup libshout ];
|
taglib bzip2 libvpx gdk_pixbuf orc libsoup libshout ];
|
||||||
|
|
||||||
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall = lib.optionalString (!minimalDeps) ''
|
postInstall = lib.optionalString (!minimalDeps) ''
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, glib, gstreamer, gst-plugins-base
|
{ fetchurl, stdenv, pkgconfig, glib, gstreamer, gst-plugins-base
|
||||||
, libmad, libdvdread, libmpeg2, libcdio, a52dec, x264, orc, lame, libintlOrEmpty }:
|
, libmad, libdvdread, libmpeg2, libcdio, a52dec, x264, orc, lame, libintl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gst-plugins-ugly-0.10.19";
|
name = "gst-plugins-ugly-0.10.19";
|
||||||
@ -13,9 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ pkgconfig glib gstreamer gst-plugins-base libmad libdvdread a52dec x264 orc lame ] ++ libintlOrEmpty;
|
[ pkgconfig glib gstreamer gst-plugins-base libmad libdvdread a52dec x264 orc lame libintl ];
|
||||||
|
|
||||||
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ fetchurl, stdenv, perl, bison, flex, pkgconfig, glib, libxml2, libintlOrEmpty }:
|
{ fetchurl, stdenv, perl, bison, flex, pkgconfig, glib, libxml2, libintl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gstreamer-0.10.36";
|
name = "gstreamer-0.10.36";
|
||||||
@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig libintl ];
|
||||||
buildInputs = [ perl bison flex ];
|
buildInputs = [ perl bison flex ];
|
||||||
propagatedBuildInputs = [ glib libxml2 ] ++ libintlOrEmpty;
|
propagatedBuildInputs = [ glib libxml2 ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i -e 's/^ /\t/' docs/gst/Makefile.in docs/libs/Makefile.in docs/plugins/Makefile.in
|
sed -i -e 's/^ /\t/' docs/gst/Makefile.in docs/libs/Makefile.in docs/plugins/Makefile.in
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, python
|
{ stdenv, fetchurl, pkgconfig, python
|
||||||
, gst-plugins-base, orc
|
, gst-plugins-base, orc
|
||||||
, a52dec, libcdio, libdvdread
|
, a52dec, libcdio, libdvdread
|
||||||
, lame, libmad, libmpeg2, x264, libintlOrEmpty, mpg123
|
, lame, libmad, libmpeg2, x264, libintl, mpg123
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -33,7 +33,6 @@ stdenv.mkDerivation rec {
|
|||||||
gst-plugins-base orc
|
gst-plugins-base orc
|
||||||
a52dec libcdio libdvdread
|
a52dec libcdio libdvdread
|
||||||
lame libmad libmpeg2 x264 mpg123
|
lame libmad libmpeg2 x264 mpg123
|
||||||
] ++ libintlOrEmpty;
|
libintl
|
||||||
|
];
|
||||||
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
|
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gettext, glib, atk, pango, cairo, perl, xorg
|
{ stdenv, fetchurl, pkgconfig, gettext, glib, atk, pango, cairo, perl, xorg
|
||||||
, gdk_pixbuf, libintlOrEmpty, xlibsWrapper, gobjectIntrospection
|
, gdk_pixbuf, xlibsWrapper, gobjectIntrospection
|
||||||
, xineramaSupport ? stdenv.isLinux
|
, xineramaSupport ? stdenv.isLinux
|
||||||
, cupsSupport ? true, cups ? null
|
, cupsSupport ? true, cups ? null
|
||||||
, gdktarget ? "x11"
|
, gdktarget ? "x11"
|
||||||
@ -24,8 +24,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = optionalString (libintlOrEmpty != []) "-lintl";
|
|
||||||
|
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
nativeBuildInputs = [ setupHook perl pkgconfig gettext gobjectIntrospection ];
|
nativeBuildInputs = [ setupHook perl pkgconfig gettext gobjectIntrospection ];
|
||||||
@ -38,7 +36,6 @@ stdenv.mkDerivation rec {
|
|||||||
libXrandr libXrender libXcomposite libXi libXcursor
|
libXrandr libXrender libXcomposite libXi libXcursor
|
||||||
]
|
]
|
||||||
++ optionals stdenv.isDarwin [ xlibsWrapper libXdamage ]
|
++ optionals stdenv.isDarwin [ xlibsWrapper libXdamage ]
|
||||||
++ libintlOrEmpty
|
|
||||||
++ optional xineramaSupport libXinerama
|
++ optional xineramaSupport libXinerama
|
||||||
++ optionals cupsSupport [ cups ]
|
++ optionals cupsSupport [ cups ]
|
||||||
++ optionals stdenv.isDarwin [ AppKit Cocoa ];
|
++ optionals stdenv.isDarwin [ AppKit Cocoa ];
|
||||||
|
@ -46,8 +46,6 @@ stdenv.mkDerivation rec {
|
|||||||
++ optional cupsSupport cups;
|
++ optional cupsSupport cups;
|
||||||
#TODO: colord?
|
#TODO: colord?
|
||||||
|
|
||||||
NIX_LDFLAGS = optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
# demos fail to install, no idea where's the problem
|
# demos fail to install, no idea where's the problem
|
||||||
preConfigure = "sed '/^SRC_SUBDIRS /s/demos//' -i Makefile.in";
|
preConfigure = "sed '/^SRC_SUBDIRS /s/demos//' -i Makefile.in";
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, freetype, cairo, libintlOrEmpty
|
{ stdenv, fetchurl, pkgconfig, glib, freetype, cairo, libintl
|
||||||
, icu, graphite2, harfbuzz # The icu variant uses and propagates the non-icu one.
|
, icu, graphite2, harfbuzz # The icu variant uses and propagates the non-icu one.
|
||||||
, withIcu ? false # recommended by upstream as default, but most don't needed and it's big
|
, withIcu ? false # recommended by upstream as default, but most don't needed and it's big
|
||||||
, withGraphite2 ? true # it is small and major distros do include it
|
, withGraphite2 ? true # it is small and major distros do include it
|
||||||
@ -25,9 +25,8 @@ stdenv.mkDerivation {
|
|||||||
( "--with-icu=" + (if withIcu then "yes" else "no") )
|
( "--with-icu=" + (if withIcu then "yes" else "no") )
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig libintl ];
|
||||||
buildInputs = [ glib freetype cairo ] # recommended by upstream
|
buildInputs = [ glib freetype cairo ]; # recommended by upstream
|
||||||
++ libintlOrEmpty;
|
|
||||||
propagatedBuildInputs = []
|
propagatedBuildInputs = []
|
||||||
++ optional withGraphite2 graphite2
|
++ optional withGraphite2 graphite2
|
||||||
++ optionals withIcu [ icu harfbuzz ]
|
++ optionals withIcu [ icu harfbuzz ]
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, glib, meson, ninja, pkgconfig, gettext
|
{ stdenv, fetchurl, fetchpatch, glib, meson, ninja, pkgconfig, gettext
|
||||||
, gobjectIntrospection, dbus, libintlOrEmpty
|
, gobjectIntrospection, dbus
|
||||||
, fixDarwinDylibNames
|
, fixDarwinDylibNames
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -14,10 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ glib ];
|
propagatedBuildInputs = [ glib ];
|
||||||
nativeBuildInputs = [ meson ninja pkgconfig gettext gobjectIntrospection ];
|
nativeBuildInputs = [ meson ninja pkgconfig gettext gobjectIntrospection ];
|
||||||
buildInputs = libintlOrEmpty
|
buildInputs = stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||||
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# https://gitlab.gnome.org/GNOME/json-glib/issues/27
|
# https://gitlab.gnome.org/GNOME/json-glib/issues/27
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, intltool, gettext, glib, libxml2, zlib, bzip2
|
{ fetchurl, stdenv, pkgconfig, intltool, gettext, glib, libxml2, zlib, bzip2
|
||||||
, python, perl, gdk_pixbuf, libiconv, libintlOrEmpty }:
|
, python, perl, gdk_pixbuf, libiconv, libintl }:
|
||||||
|
|
||||||
let inherit (stdenv.lib) optionals; in
|
let inherit (stdenv.lib) optionals; in
|
||||||
|
|
||||||
@ -11,21 +11,18 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1hhdz0ymda26q6bl5ygickkgrh998lxqq4z9i8dzpcvqna3zpzr9";
|
sha256 = "1hhdz0ymda26q6bl5ygickkgrh998lxqq4z9i8dzpcvqna3zpzr9";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig intltool ];
|
nativeBuildInputs = [ pkgconfig intltool libintl ];
|
||||||
|
|
||||||
buildInputs = [ gettext bzip2 zlib python ]
|
buildInputs = [ gettext bzip2 zlib python ]
|
||||||
++ stdenv.lib.optional doCheck perl;
|
++ stdenv.lib.optional doCheck perl;
|
||||||
|
|
||||||
propagatedBuildInputs = [ libxml2 glib gdk_pixbuf libiconv ]
|
propagatedBuildInputs = [ libxml2 glib gdk_pixbuf libiconv ];
|
||||||
++ libintlOrEmpty;
|
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
preCheck = "patchShebangs ./tests/";
|
preCheck = "patchShebangs ./tests/";
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "GNOME's Structured File Library";
|
description = "GNOME's Structured File Library";
|
||||||
homepage = https://www.gnome.org/projects/libgsf;
|
homepage = https://www.gnome.org/projects/libgsf;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, glib, pkgconfig, perl, gettext, gobjectIntrospection, libintlOrEmpty, gnome3 }:
|
{ stdenv, fetchurl, glib, pkgconfig, perl, gettext, gobjectIntrospection, libintl, gnome3 }:
|
||||||
let
|
let
|
||||||
pname = "libgtop";
|
pname = "libgtop";
|
||||||
version = "2.38.0";
|
version = "2.38.0";
|
||||||
@ -12,11 +12,8 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ glib ];
|
propagatedBuildInputs = [ glib ];
|
||||||
buildInputs = libintlOrEmpty;
|
|
||||||
nativeBuildInputs = [ pkgconfig perl gettext gobjectIntrospection ];
|
nativeBuildInputs = [ pkgconfig perl gettext gobjectIntrospection ];
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
, avahiSupport ? false # build support for Avahi in libinfinity
|
, avahiSupport ? false # build support for Avahi in libinfinity
|
||||||
, stdenv, fetchurl, pkgconfig, glib, libxml2, gnutls, gsasl
|
, stdenv, fetchurl, pkgconfig, glib, libxml2, gnutls, gsasl
|
||||||
, gtk2 ? null, gtkdoc ? null, avahi ? null, libdaemon ? null, libidn, gss
|
, gtk2 ? null, gtkdoc ? null, avahi ? null, libdaemon ? null, libidn, gss
|
||||||
, libintlOrEmpty }:
|
, libintl }:
|
||||||
|
|
||||||
let
|
let
|
||||||
edf = flag: feature: (if flag then "--with-" else "--without-") + feature;
|
edf = flag: feature: (if flag then "--with-" else "--without-") + feature;
|
||||||
@ -19,14 +19,14 @@ in stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ glib libxml2 gsasl libidn gss libintlOrEmpty ]
|
buildInputs = [ glib libxml2 gsasl libidn gss libintl ]
|
||||||
++ optional gtkWidgets gtk2
|
++ optional gtkWidgets gtk2
|
||||||
++ optional documentation gtkdoc
|
++ optional documentation gtkdoc
|
||||||
++ optional avahiSupport avahi
|
++ optional avahiSupport avahi
|
||||||
++ optional daemon libdaemon;
|
++ optional daemon libdaemon;
|
||||||
|
|
||||||
propagatedBuildInputs = [ gnutls ];
|
propagatedBuildInputs = [ gnutls ];
|
||||||
|
|
||||||
configureFlags = ''
|
configureFlags = ''
|
||||||
${if documentation then "--enable-gtk-doc" else "--disable-gtk-doc"}
|
${if documentation then "--enable-gtk-doc" else "--disable-gtk-doc"}
|
||||||
${edf gtkWidgets "inftextgtk"}
|
${edf gtkWidgets "inftextgtk"}
|
||||||
@ -36,8 +36,6 @@ in stdenv.mkDerivation rec {
|
|||||||
${edf avahiSupport "avahi"}
|
${edf avahiSupport "avahi"}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://gobby.0x539.de/;
|
homepage = http://gobby.0x539.de/;
|
||||||
description = "An implementation of the Infinote protocol written in GObject-based C";
|
description = "An implementation of the Infinote protocol written in GObject-based C";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, libgcrypt, curl, gnutls, pkgconfig, libiconv, libintlOrEmpty }:
|
{ stdenv, fetchurl, libgcrypt, curl, gnutls, pkgconfig, libiconv, libintl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libmicrohttpd-${version}";
|
name = "libmicrohttpd-${version}";
|
||||||
@ -11,8 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "dev" "devdoc" "info" ];
|
outputs = [ "out" "dev" "devdoc" "info" ];
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ libgcrypt curl gnutls ]
|
buildInputs = [ libgcrypt curl gnutls libiconv libintl ];
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv libintlOrEmpty ];
|
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
# Since `localhost' can't be resolved in a chroot, work around it.
|
# Since `localhost' can't be resolved in a chroot, work around it.
|
||||||
@ -38,4 +37,3 @@ stdenv.mkDerivation rec {
|
|||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ lib, stdenv, fetchurl, pkgconfig, glib, gdk_pixbuf, pango, cairo, libxml2, libgsf
|
{ lib, stdenv, fetchurl, pkgconfig, glib, gdk_pixbuf, pango, cairo, libxml2, libgsf
|
||||||
, bzip2, libcroco, libintlOrEmpty, darwin, rust, gnome3
|
, bzip2, libcroco, libintl, darwin, rust, gnome3
|
||||||
, withGTK ? false, gtk3 ? null
|
, withGTK ? false, gtk3 ? null
|
||||||
, vala, gobjectIntrospection }:
|
, vala, gobjectIntrospection }:
|
||||||
|
|
||||||
@ -15,11 +15,9 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0c550a0bffef768a436286116c03d9f6cd3f97f5021c13e7f093b550fac12562";
|
sha256 = "0c550a0bffef768a436286116c03d9f6cd3f97f5021c13e7f093b550fac12562";
|
||||||
};
|
};
|
||||||
|
|
||||||
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
|
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
buildInputs = [ libxml2 libgsf bzip2 libcroco pango libintlOrEmpty ];
|
buildInputs = [ libxml2 libgsf bzip2 libcroco pango libintl ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ glib gdk_pixbuf cairo ] ++ lib.optional withGTK gtk3;
|
propagatedBuildInputs = [ glib gdk_pixbuf cairo ] ++ lib.optional withGTK gtk3;
|
||||||
|
|
||||||
|
@ -14,10 +14,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ glib ];
|
propagatedBuildInputs = [ glib ];
|
||||||
nativeBuildInputs = [ pkgconfig intltool libxslt docbook_xsl ];
|
nativeBuildInputs = [ pkgconfig intltool libxslt docbook_xsl libintl ];
|
||||||
buildInputs = [ libgcrypt gobjectIntrospection vala_0_38 ];
|
buildInputs = [ libgcrypt gobjectIntrospection vala_0_38 ];
|
||||||
# optional: build docs with gtk-doc? (probably needs a flag as well)
|
# optional: build docs with gtk-doc? (probably needs a flag as well)
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{ stdenv, fetchurl, glib, libxml2, pkgconfig, gnome3
|
{ stdenv, fetchurl, glib, libxml2, pkgconfig, gnome3
|
||||||
, gnomeSupport ? true, sqlite, glib-networking, gobjectIntrospection
|
, gnomeSupport ? true, sqlite, glib-networking, gobjectIntrospection
|
||||||
, valaSupport ? true, vala_0_40
|
, valaSupport ? true, vala_0_40
|
||||||
, libintlOrEmpty
|
|
||||||
, intltool, python3 }:
|
, intltool, python3 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "libsoup";
|
pname = "libsoup";
|
||||||
version = "2.62.0";
|
version = "2.62.0";
|
||||||
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
buildInputs = libintlOrEmpty ++ [ python3 sqlite ];
|
buildInputs = [ python3 sqlite ];
|
||||||
nativeBuildInputs = [ pkgconfig intltool gobjectIntrospection ]
|
nativeBuildInputs = [ pkgconfig intltool gobjectIntrospection ]
|
||||||
++ stdenv.lib.optionals valaSupport [ vala_0_40 ];
|
++ stdenv.lib.optionals valaSupport [ vala_0_40 ];
|
||||||
propagatedBuildInputs = [ glib libxml2 ];
|
propagatedBuildInputs = [ glib libxml2 ];
|
||||||
@ -36,8 +36,6 @@ stdenv.mkDerivation rec {
|
|||||||
"--with-gnome=${if gnomeSupport then "yes" else "no"}"
|
"--with-gnome=${if gnomeSupport then "yes" else "no"}"
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
propagatedUserEnvPackages = [ glib-networking.out ];
|
propagatedUserEnvPackages = [ glib-networking.out ];
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
|
@ -15,7 +15,9 @@ in
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ cmake ] ++
|
buildInputs = [ cmake ] ++
|
||||||
(if stdenv.isDarwin then [darwin.apple_sdk.frameworks.Cocoa] else [gtk3]);
|
(if backend == "darwin" then [darwin.apple_sdk.frameworks.Cocoa]
|
||||||
|
else if backend == "unix" then [gtk3])
|
||||||
|
else null;
|
||||||
|
|
||||||
preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
|
preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
sed -i 's/set(CMAKE_OSX_DEPLOYMENT_TARGET "10.8")//' ./CMakeLists.txt
|
sed -i 's/set(CMAKE_OSX_DEPLOYMENT_TARGET "10.8")//' ./CMakeLists.txt
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, pkgconfig, libXft, cairo, harfbuzz
|
{ stdenv, fetchurl, fetchpatch, pkgconfig, libXft, cairo, harfbuzz
|
||||||
, libintlOrEmpty, gobjectIntrospection, darwin
|
, libintl, gobjectIntrospection, darwin
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||||||
CoreGraphics
|
CoreGraphics
|
||||||
CoreText
|
CoreText
|
||||||
]);
|
]);
|
||||||
propagatedBuildInputs = [ cairo harfbuzz libXft ] ++ libintlOrEmpty;
|
propagatedBuildInputs = [ cairo harfbuzz libXft libintl ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchurl, cmake, ninja, pkgconfig, libiconv, libintlOrEmpty
|
{ stdenv, lib, fetchurl, cmake, ninja, pkgconfig, libiconv, libintl
|
||||||
, zlib, curl, cairo, freetype, fontconfig, lcms, libjpeg, openjpeg
|
, zlib, curl, cairo, freetype, fontconfig, lcms, libjpeg, openjpeg
|
||||||
, withData ? true, poppler_data
|
, withData ? true, poppler_data
|
||||||
, qt5Support ? false, qtbase ? null
|
, qt5Support ? false, qtbase ? null
|
||||||
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
buildInputs = [ libiconv ] ++ libintlOrEmpty ++ lib.optional withData poppler_data;
|
buildInputs = [ libiconv libintl ] ++ lib.optional withData poppler_data;
|
||||||
|
|
||||||
# TODO: reduce propagation to necessary libs
|
# TODO: reduce propagation to necessary libs
|
||||||
propagatedBuildInputs = with lib;
|
propagatedBuildInputs = with lib;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, pkgconfig, gettext, gobjectIntrospection, libnotify, gnutls, libgcrypt
|
, pkgconfig, gettext, gobjectIntrospection, libnotify, gnutls, libgcrypt
|
||||||
, gtk3, wayland, libwebp, enchant2, xorg, libxkbcommon, epoxy, at-spi2-core
|
, gtk3, wayland, libwebp, enchant2, xorg, libxkbcommon, epoxy, at-spi2-core
|
||||||
, libxml2, libsoup, libsecret, libxslt, harfbuzz, libpthreadstubs, pcre, nettle, libtasn1, p11-kit
|
, libxml2, libsoup, libsecret, libxslt, harfbuzz, libpthreadstubs, pcre, nettle, libtasn1, p11-kit
|
||||||
, libidn, libedit, readline, libGLU_combined, libintlOrEmpty
|
, libidn, libedit, readline, libGLU_combined, libintl
|
||||||
, enableGeoLocation ? true, geoclue2, sqlite
|
, enableGeoLocation ? true, geoclue2, sqlite
|
||||||
, enableGtk2Plugins ? false, gtk2 ? null
|
, enableGtk2Plugins ? false, gtk2 ? null
|
||||||
, gst-plugins-base, gst-plugins-bad, woff2
|
, gst-plugins-base, gst-plugins-bad, woff2
|
||||||
@ -60,15 +60,13 @@ stdenv.mkDerivation rec {
|
|||||||
"-DENABLE_GTKDOC=OFF"
|
"-DENABLE_GTKDOC=OFF"
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = optionalString stdenv.isDarwin " -lintl";
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake ninja perl python2 ruby bison gperf
|
cmake ninja perl python2 ruby bison gperf
|
||||||
pkgconfig gettext gobjectIntrospection
|
pkgconfig gettext gobjectIntrospection
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = libintlOrEmpty ++ [
|
buildInputs = [
|
||||||
libwebp enchant2 libnotify gnutls pcre nettle libidn libgcrypt woff2
|
libintl libwebp enchant2 libnotify gnutls pcre nettle libidn libgcrypt woff2
|
||||||
libxml2 libsecret libxslt harfbuzz libpthreadstubs libtasn1 p11-kit
|
libxml2 libsecret libxslt harfbuzz libpthreadstubs libtasn1 p11-kit
|
||||||
sqlite gst-plugins-base gst-plugins-bad libxkbcommon epoxy at-spi2-core
|
sqlite gst-plugins-base gst-plugins-bad libxkbcommon epoxy at-spi2-core
|
||||||
] ++ optional enableGeoLocation geoclue2
|
] ++ optional enableGeoLocation geoclue2
|
||||||
|
@ -1,17 +1,15 @@
|
|||||||
{ stdenv, fetchurl, SDL, SDL_mixer, zlib, libpng, libintlOrEmpty }:
|
{ stdenv, fetchurl, SDL, SDL_mixer, zlib, libpng, libintl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "lbreakout2-${version}";
|
name = "lbreakout2-${version}";
|
||||||
version = "2.6.5";
|
version = "2.6.5";
|
||||||
buildInputs = [ SDL SDL_mixer zlib libpng ] ++ libintlOrEmpty;
|
buildInputs = [ SDL SDL_mixer zlib libpng libintl ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/lgames/${name}.tar.gz";
|
url = "mirror://sourceforge/lgames/${name}.tar.gz";
|
||||||
sha256 = "0vwdlyvh7c4y80q5vp7fyfpzbqk9lq3w8pvavi139njkalbxc14i";
|
sha256 = "0vwdlyvh7c4y80q5vp7fyfpzbqk9lq3w8pvavi139njkalbxc14i";
|
||||||
};
|
};
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Breakout clone from the LGames series";
|
description = "Breakout clone from the LGames series";
|
||||||
homepage = http://lgames.sourceforge.net/LBreakout2/;
|
homepage = http://lgames.sourceforge.net/LBreakout2/;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gnutls, liburcu, lmdb, libcap_ng, libidn
|
{ stdenv, fetchurl, pkgconfig, gnutls, liburcu, lmdb, libcap_ng, libidn
|
||||||
, systemd, nettle, libedit, zlib, libiconv, libintlOrEmpty
|
, systemd, nettle, libedit, zlib, libiconv, libintl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let inherit (stdenv.lib) optional optionals; in
|
let inherit (stdenv.lib) optional optionals; in
|
||||||
@ -20,11 +20,10 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
gnutls liburcu libidn
|
gnutls liburcu libidn
|
||||||
nettle libedit
|
nettle libedit
|
||||||
libiconv lmdb
|
libiconv lmdb libintl
|
||||||
# without sphinx &al. for developer documentation
|
# without sphinx &al. for developer documentation
|
||||||
]
|
]
|
||||||
++ optionals stdenv.isLinux [ libcap_ng systemd ]
|
++ optionals stdenv.isLinux [ libcap_ng systemd ]
|
||||||
++ libintlOrEmpty
|
|
||||||
++ optional stdenv.isDarwin zlib; # perhaps due to gnutls
|
++ optional stdenv.isDarwin zlib; # perhaps due to gnutls
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
@ -43,4 +42,3 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = [ maintainers.vcunat ];
|
maintainers = [ maintainers.vcunat ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libexif, popt, libintlOrEmpty }:
|
{ stdenv, fetchurl, pkgconfig, libexif, popt, libintl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "exif-0.6.21";
|
name = "exif-0.6.21";
|
||||||
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ libexif popt ] ++ libintlOrEmpty;
|
buildInputs = [ libexif popt libintl ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://libexif.sourceforge.net/;
|
homepage = http://libexif.sourceforge.net/;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, libintlOrEmpty }:
|
{ stdenv, fetchurl, pkgconfig, glib, libintl }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
@ -11,9 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ glib libintlOrEmpty ];
|
buildInputs = [ glib libintl ];
|
||||||
|
|
||||||
NIX_LDFLAGS = optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.freedesktop.org/wiki/Software/desktop-file-utils;
|
homepage = http://www.freedesktop.org/wiki/Software/desktop-file-utils;
|
||||||
|
@ -23,9 +23,6 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
propagatedBuildInputs = [ zip unzip mtools dosfstools coreutils ];
|
propagatedBuildInputs = [ zip unzip mtools dosfstools coreutils ];
|
||||||
|
|
||||||
# segfaults on darwin without
|
|
||||||
NIX_LDFLAGS = lib.optional stdenv.isDarwin "-F/System/Library/Frameworks";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Configurable embedded Linux firmware update creator and runner";
|
description = "Configurable embedded Linux firmware update creator and runner";
|
||||||
homepage = https://github.com/fhunleth/fwup;
|
homepage = https://github.com/fhunleth/fwup;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, gettext, pkgconfig, perl
|
{ stdenv, fetchurl, gettext, pkgconfig, perl
|
||||||
, libidn2, zlib, pcre, libuuid, libiconv
|
, libidn2, zlib, pcre, libuuid, libiconv, libintl
|
||||||
, IOSocketSSL, LWP, python3, lzip
|
, IOSocketSSL, LWP, python3, lzip
|
||||||
, libpsl ? null
|
, libpsl ? null
|
||||||
, openssl ? null }:
|
, openssl ? null }:
|
||||||
@ -25,12 +25,10 @@ stdenv.mkDerivation rec {
|
|||||||
do
|
do
|
||||||
sed -i "$i" -e's/localhost/127.0.0.1/g'
|
sed -i "$i" -e's/localhost/127.0.0.1/g'
|
||||||
done
|
done
|
||||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
|
||||||
export LIBS="-liconv -lintl"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ gettext pkgconfig perl lzip ];
|
nativeBuildInputs = [ gettext pkgconfig perl lzip libiconv libintl ];
|
||||||
buildInputs = [ libidn2 libiconv zlib pcre libuuid ]
|
buildInputs = [ libidn2 zlib pcre libuuid ]
|
||||||
++ stdenv.lib.optionals doCheck [ IOSocketSSL LWP python3 ]
|
++ stdenv.lib.optionals doCheck [ IOSocketSSL LWP python3 ]
|
||||||
++ stdenv.lib.optional (openssl != null) openssl
|
++ stdenv.lib.optional (openssl != null) openssl
|
||||||
++ stdenv.lib.optional (libpsl != null) libpsl
|
++ stdenv.lib.optional (libpsl != null) libpsl
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, libxml2, libxslt, getopt, nixUnstable, dysnomia, libintlOrEmpty, libiconv }:
|
{ stdenv, fetchurl, pkgconfig, glib, libxml2, libxslt, getopt, nixUnstable, dysnomia, libintl, libiconv }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "disnix-0.8";
|
name = "disnix-0.8";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = https://github.com/svanderburg/disnix/files/1756701/disnix-0.8.tar.gz;
|
url = https://github.com/svanderburg/disnix/files/1756701/disnix-0.8.tar.gz;
|
||||||
sha256 = "02cmj1jqk5i90szjsn5csr7qb7n42v04rvl9syx0zi9sx9ldnb0w";
|
sha256 = "02cmj1jqk5i90szjsn5csr7qb7n42v04rvl9syx0zi9sx9ldnb0w";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ glib libxml2 libxslt getopt nixUnstable libintlOrEmpty libiconv dysnomia ];
|
buildInputs = [ glib libxml2 libxslt getopt nixUnstable libintl libiconv dysnomia ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A Nix-based distributed service deployment tool";
|
description = "A Nix-based distributed service deployment tool";
|
||||||
|
@ -28,8 +28,6 @@ stdenv.mkDerivation rec {
|
|||||||
readline libusb gnutls adns openldap zlib bzip2 sqlite
|
readline libusb gnutls adns openldap zlib bzip2 sqlite
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./fix-libusb-include-path.patch
|
./fix-libusb-include-path.patch
|
||||||
];
|
];
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, python, perl, intltool, flex, autoreconfHook,
|
{ stdenv, fetchFromGitHub, python, perl, intltool, flex, autoreconfHook
|
||||||
texinfo, libiconv }:
|
, texinfo, libiconv, libintl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "recode-3.7-2fd838565";
|
name = "recode-3.7-2fd838565";
|
||||||
@ -11,16 +11,13 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "06vyjqaraamcc5vka66mlvxj27ihccqc74aymv2wn8nphr2rhh03";
|
sha256 = "06vyjqaraamcc5vka66mlvxj27ihccqc74aymv2wn8nphr2rhh03";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ python perl intltool flex texinfo autoreconfHook libiconv ];
|
nativeBuildInputs = [ python perl intltool flex texinfo autoreconfHook libiconv libintl ];
|
||||||
|
|
||||||
preAutoreconf = ''
|
preAutoreconf = ''
|
||||||
# fix build with new automake, https://bugs.gentoo.org/show_bug.cgi?id=419455
|
# fix build with new automake, https://bugs.gentoo.org/show_bug.cgi?id=419455
|
||||||
substituteInPlace Makefile.am --replace "ACLOCAL = ./aclocal.sh @ACLOCAL@" ""
|
substituteInPlace Makefile.am --replace "ACLOCAL = ./aclocal.sh @ACLOCAL@" ""
|
||||||
sed -i '/^AM_C_PROTOTYPES/d' configure.ac
|
sed -i '/^AM_C_PROTOTYPES/d' configure.ac
|
||||||
substituteInPlace src/Makefile.am --replace "ansi2knr" ""
|
substituteInPlace src/Makefile.am --replace "ansi2knr" ""
|
||||||
''
|
|
||||||
+ stdenv.lib.optionalString stdenv.isDarwin ''
|
|
||||||
export LDFLAGS=-lintl
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
#doCheck = true; # doesn't work yet
|
#doCheck = true; # doesn't work yet
|
||||||
|
@ -8072,7 +8072,6 @@ let self = _self // overrides; _self = with self; {
|
|||||||
LocaleGettext = buildPerlPackage {
|
LocaleGettext = buildPerlPackage {
|
||||||
name = "LocaleGettext-1.05";
|
name = "LocaleGettext-1.05";
|
||||||
buildInputs = stdenv.lib.optional (stdenv.isFreeBSD || stdenv.isDarwin || stdenv.isCygwin) pkgs.gettext;
|
buildInputs = stdenv.lib.optional (stdenv.isFreeBSD || stdenv.isDarwin || stdenv.isCygwin) pkgs.gettext;
|
||||||
NIX_CFLAGS_LINK = stdenv.lib.optional (stdenv.isFreeBSD || stdenv.isDarwin || stdenv.isCygwin) "-lintl";
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://cpan/authors/id/P/PV/PVANDRY/gettext-1.05.tar.gz;
|
url = mirror://cpan/authors/id/P/PV/PVANDRY/gettext-1.05.tar.gz;
|
||||||
sha256 = "15262a00vx714szpx8p2z52wxkz46xp7acl72znwjydyq4ypydi7";
|
sha256 = "15262a00vx714szpx8p2z52wxkz46xp7acl72znwjydyq4ypydi7";
|
||||||
|
Loading…
Reference in New Issue
Block a user