gnome3: build packages on linux platform

This commit is contained in:
Domen Kožar 2014-01-10 01:09:26 +01:00
parent bc6e2e9c36
commit 3154c378ad
9 changed files with 30 additions and 21 deletions

View File

@ -14,4 +14,8 @@ stdenv.mkDerivation rec {
buildInputs = [ python pkgconfig popt atk libX11 libICE xlibs.libXtst libXi
intltool dbus_glib at_spi2_core libSM ];
meta = with stdenv.lib; {
platforms = platforms.linux;
};
}

View File

@ -19,6 +19,10 @@ stdenv.mkDerivation (rec {
# ToDo: on non-NixOS we create a symlink from there?
configureFlags = "--with-dbus-daemondir=/run/current-system/sw/bin/";
meta = with stdenv.lib; {
platforms = platforms.linux;
};
}
// stdenv.lib.optionalAttrs stdenv.isDarwin {
NIX_LDFLAGS = "-lintl";

View File

@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
'';
doCheck = false; # would need pythonPackages.dogTail, which is missing
meta = {
meta = with stdenv.lib; {
homepage = http://www.gnome.org/projects/evince/;
description = "GNOME's document viewer";
@ -61,5 +61,6 @@ stdenv.mkDerivation rec {
'';
license = "GPLv2+";
platforms = platforms.linux;
};
}

View File

@ -22,8 +22,9 @@ stdenv.mkDerivation rec {
# ToDo: ldap reported as not found but afterwards reported as supported
meta = {
meta = with stdenv.lib; {
homepage = http://projects.gnome.org/gconf/;
description = "A system for storing application preferences";
platforms = platforms.linux;
};
}

View File

@ -14,7 +14,11 @@ stdenv.mkDerivation rec {
libgcrypt libtasn1 dbus_glib gtk pango gdk_pixbuf atk
];
configureFlags = "--disable-introspection";
configureFlags = [ "--disable-introspection" ];
#doCheck = true;
meta = with stdenv.lib; {
platforms = platforms.linux;
};
}

View File

@ -23,4 +23,8 @@ stdenv.mkDerivation rec {
"--with-pkcs11-config=$$out/etc/pkcs11/" # installation directories
"--with-pkcs11-modules=$$out/lib/pkcs11/"
];
meta = with stdenv.lib; {
platforms = platforms.linux;
};
}

View File

@ -11,4 +11,8 @@ stdenv.mkDerivation rec {
configureFlags = if stdenv ? glibc then "--with-zoneinfo-dir=${stdenv.glibc}/share/zoneinfo" else "";
propagatedBuildInputs = [ libxml2 gtk libsoup gconf pango gdk_pixbuf atk ];
nativeBuildInputs = [ pkgconfig intltool ];
meta = with stdenv.lib; {
platforms = platforms.linux;
};
}

View File

@ -6,6 +6,11 @@ stdenv.mkDerivation rec {
url = "mirror://gnome/sources/rarian/0.8/${name}.tar.bz2";
sha256 = "aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577";
};
buildInputs = [pkgconfig perl perlXMLParser libxml2 libxslt];
configureFlags = "--with-xml-catalog=${docbook_xml_dtd_42}/xml/dtd/docbook/docbook.cat";
meta = with stdenv.lib; {
platforms = platforms.linux;
};
}

View File

@ -1,18 +0,0 @@
{stdenv, fetchurl, pkgconfig, perl, perlXMLParser, libxml2, libxslt, docbook_xml_dtd_42, automake}:
stdenv.mkDerivation {
name = "scrollkeeper-0.3.14";
src = fetchurl {
url = mirror://gnome/sources/scrollkeeper/0.3/scrollkeeper-0.3.14.tar.bz2;
sha256 = "08n1xgj1f53zahwm0wpn3jid3rfbhi3iwby0ilaaldnid5qriqgc";
};
# The fuloong2f is not supported by scrollkeeper-0.3.14 config.guess
preConfigure = "
substituteInPlace extract/dtds/Makefile.am --replace /usr/bin/xmlcatalog xmlcatalog
cp ${automake}/share/automake*/config.{sub,guess} .
";
buildInputs = [pkgconfig perl perlXMLParser libxml2 libxslt];
configureFlags = "--with-xml-catalog=${docbook_xml_dtd_42}/xml/dtd/docbook/docbook.cat";
}