Merge staging-next into master
This commit is contained in:
@@ -1,23 +1,29 @@
|
||||
{ stdenv, fetchFromGitHub, tzdata, iana-etc, go_bootstrap, runCommand, writeScriptBin
|
||||
, perl, which, pkgconfig, patch, procps, pcre, cacert, llvm, Security, Foundation }:
|
||||
, perl, which, pkgconfig, patch, procps, pcre, cacert, llvm, Security, Foundation
|
||||
, buildPackages, targetPackages }:
|
||||
|
||||
let
|
||||
|
||||
inherit (stdenv.lib) optionals optionalString;
|
||||
|
||||
clangHack = writeScriptBin "clang" ''
|
||||
#!${stdenv.shell}
|
||||
exec ${stdenv.cc}/bin/clang "$@" 2> >(sed '/ld: warning:.*ignoring unexpected dylib file/ d' 1>&2)
|
||||
'';
|
||||
|
||||
goBootstrap = runCommand "go-bootstrap" {} ''
|
||||
mkdir $out
|
||||
cp -rf ${go_bootstrap}/* $out/
|
||||
cp -rf ${buildPackages.go_bootstrap}/* $out/
|
||||
chmod -R u+w $out
|
||||
find $out -name "*.c" -delete
|
||||
cp -rf $out/bin/* $out/share/go/bin/
|
||||
'';
|
||||
|
||||
goarch = platform: {
|
||||
"i686" = "386";
|
||||
"x86_64" = "amd64";
|
||||
"aarch64" = "arm64";
|
||||
"arm" = "arm";
|
||||
"armv5tel" = "arm";
|
||||
"armv6l" = "arm";
|
||||
"armv7l" = "arm";
|
||||
}.${platform.parsed.cpu.name} or (throw "Unsupported system");
|
||||
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -31,13 +37,13 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0pk7pxfm3ij2ksdrg49jz501fr1d103zr4mjjwv821if9g279jc9";
|
||||
};
|
||||
|
||||
GOCACHE = "off";
|
||||
|
||||
# perl is used for testing go vet
|
||||
nativeBuildInputs = [ perl which pkgconfig patch procps ];
|
||||
buildInputs = [ cacert pcre ]
|
||||
++ optionals stdenv.isLinux [ stdenv.cc.libc.out ]
|
||||
++ optionals (stdenv.hostPlatform.libc == "glibc") [ stdenv.cc.libc.static ];
|
||||
|
||||
|
||||
propagatedBuildInputs = optionals stdenv.isDarwin [ Security Foundation ];
|
||||
|
||||
hardeningDisable = [ "all" ];
|
||||
@@ -131,57 +137,94 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace "src/cmd/link/internal/ld/lib.go" --replace dsymutil ${llvm}/bin/llvm-dsymutil
|
||||
'';
|
||||
|
||||
GOOS = stdenv.hostPlatform.parsed.kernel.name;
|
||||
GOARCH = {
|
||||
"i686" = "386";
|
||||
"x86_64" = "amd64";
|
||||
"aarch64" = "arm64";
|
||||
"arm" = "arm";
|
||||
"armv5tel" = "arm";
|
||||
"armv6l" = "arm";
|
||||
"armv7l" = "arm";
|
||||
}.${stdenv.hostPlatform.parsed.cpu.name} or (throw "Unsupported system");
|
||||
GOOS = stdenv.targetPlatform.parsed.kernel.name;
|
||||
GOARCH = goarch stdenv.targetPlatform;
|
||||
# GOHOSTOS/GOHOSTARCH must match the building system, not the host system.
|
||||
# Go will nevertheless build a for host system that we will copy over in
|
||||
# the install phase.
|
||||
GOHOSTOS = stdenv.buildPlatform.parsed.kernel.name;
|
||||
GOHOSTARCH = goarch stdenv.buildPlatform;
|
||||
|
||||
# {CC,CXX}_FOR_TARGET must be only set for cross compilation case as go expect those
|
||||
# to be different from CC/CXX
|
||||
CC_FOR_TARGET = if (stdenv.hostPlatform != stdenv.targetPlatform) then
|
||||
"${targetPackages.stdenv.cc}/bin/${targetPackages.stdenv.cc.targetPrefix}cc"
|
||||
else if (stdenv.buildPlatform != stdenv.targetPlatform) then
|
||||
"${stdenv.cc.targetPrefix}cc"
|
||||
else
|
||||
null;
|
||||
CXX_FOR_TARGET = if (stdenv.hostPlatform != stdenv.targetPlatform) then
|
||||
"${targetPackages.stdenv.cc}/bin/${targetPackages.stdenv.cc.targetPrefix}c++"
|
||||
else if (stdenv.buildPlatform != stdenv.targetPlatform) then
|
||||
"${stdenv.cc.targetPrefix}c++"
|
||||
else
|
||||
null;
|
||||
|
||||
GOARM = toString (stdenv.lib.intersectLists [(stdenv.hostPlatform.parsed.cpu.version or "")] ["5" "6" "7"]);
|
||||
GO386 = 387; # from Arch: don't assume sse2 on i686
|
||||
CGO_ENABLED = 1;
|
||||
GOROOT_BOOTSTRAP = "${goBootstrap}/share/go";
|
||||
# Hopefully avoids test timeouts on Hydra
|
||||
GO_TEST_TIMEOUT_SCALE = 3;
|
||||
|
||||
# The go build actually checks for CC=*/clang and does something different, so we don't
|
||||
# just want the generic `cc` here.
|
||||
CC = if stdenv.isDarwin then "clang" else "cc";
|
||||
# Indicate that we are running on build infrastructure
|
||||
# Some tests assume things like home directories and users exists
|
||||
GO_BUILDER_NAME = "nix";
|
||||
|
||||
configurePhase = ''
|
||||
# Indicate that we are running on build infrastructure
|
||||
# Some tests assume things like home directories and users exists
|
||||
export GO_BUILDER_NAME=nix
|
||||
GOROOT_BOOTSTRAP="${goBootstrap}/share/go";
|
||||
|
||||
mkdir -p $out/share/go/bin
|
||||
export GOROOT=$out/share/go
|
||||
export GOBIN=$GOROOT/bin
|
||||
export PATH=$GOBIN:$PATH
|
||||
postConfigure = ''
|
||||
export GOCACHE=$TMPDIR/go-cache
|
||||
# this is compiled into the binary
|
||||
export GOROOT_FINAL=$out/share/go
|
||||
|
||||
export PATH=$(pwd)/bin:$PATH
|
||||
|
||||
# Independent from host/target, CC should produce code for the building system.
|
||||
export CC=${buildPackages.stdenv.cc}/bin/cc
|
||||
ulimit -a
|
||||
'';
|
||||
|
||||
postConfigure = optionalString stdenv.isDarwin ''
|
||||
export PATH=${clangHack}/bin:$PATH
|
||||
postBuild = ''
|
||||
(cd src && ./make.bash)
|
||||
'';
|
||||
|
||||
doCheck = stdenv.hostPlatform == stdenv.targetPlatform;
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
(cd src && ./run.bash --no-rebuild)
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
rm -r pkg/{bootstrap,obj}
|
||||
# Contains the wrong perl shebang when cross compiling,
|
||||
# since it is not used for anything we can deleted as well.
|
||||
rm src/regexp/syntax/make_perl_groups.pl
|
||||
'' + (if (stdenv.buildPlatform != stdenv.hostPlatform) then ''
|
||||
mv bin/*_*/* bin
|
||||
rmdir bin/*_*
|
||||
${optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
|
||||
rm -rf pkg/${GOHOSTOS}_${GOHOSTARCH} pkg/tool/${GOHOSTOS}_${GOHOSTARCH}
|
||||
''}
|
||||
'' else if (stdenv.hostPlatform != stdenv.targetPlatform) then ''
|
||||
rm -rf bin/*_*
|
||||
${optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
|
||||
rm -rf pkg/${GOOS}_${GOARCH} pkg/tool/${GOOS}_${GOARCH}
|
||||
''}
|
||||
'' else "");
|
||||
|
||||
installPhase = ''
|
||||
cp -r . $GOROOT
|
||||
( cd $GOROOT/src && ./all.bash )
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
rm -r $out/share/go/pkg/bootstrap
|
||||
rm -r $out/share/go/pkg/obj
|
||||
ln -s $out/share/go/bin $out/bin
|
||||
runHook preInstall
|
||||
mkdir -p $GOROOT_FINAL
|
||||
cp -a bin pkg src lib misc api doc $GOROOT_FINAL
|
||||
ln -s $GOROOT_FINAL/bin $out/bin
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
disallowedReferences = [ go_bootstrap ];
|
||||
disallowedReferences = [ goBootstrap ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
branch = "1.11";
|
||||
|
||||
@@ -31,6 +31,8 @@ let
|
||||
] ++ lib.optional (atLeast "0.38") graphviz
|
||||
++ extraBuildInputs;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = false; # fails, requires dbus daemon
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
@@ -64,9 +66,15 @@ in rec {
|
||||
|
||||
vala_0_40 = generic {
|
||||
major = "0.40";
|
||||
minor = "6";
|
||||
sha256 = "1qjbwhifwwqbdg5zilvnwm4n76g8p7jwqs3fa0biw3rylzqm193d";
|
||||
minor = "11";
|
||||
sha256 = "0xhm61kjdws167pafcji43s7icfvpq58lkbq3irb1jv3icjr3i8z";
|
||||
};
|
||||
|
||||
vala = vala_0_38;
|
||||
vala_0_42 = generic {
|
||||
major = "0.42";
|
||||
minor = "3";
|
||||
sha256 = "0zaq9009wqk5aah131m426a2ia0scwpjpl4npf8p7p43wv8kvisz";
|
||||
};
|
||||
|
||||
vala = vala_0_42;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ go, govers, parallel, lib, fetchgit, fetchhg, fetchbzr, rsync
|
||||
, removeReferencesTo, fetchFromGitHub }:
|
||||
{ go, govers, lib, fetchgit, fetchhg, fetchbzr, rsync
|
||||
, removeReferencesTo, fetchFromGitHub, stdenv }:
|
||||
|
||||
{ name, buildInputs ? [], nativeBuildInputs ? [], passthru ? {}, preFixup ? ""
|
||||
, shellHook ? ""
|
||||
@@ -78,9 +78,11 @@ go.stdenv.mkDerivation (
|
||||
(builtins.removeAttrs args [ "goPackageAliases" "disabled" ]) // {
|
||||
|
||||
inherit name;
|
||||
nativeBuildInputs = [ removeReferencesTo go parallel ]
|
||||
nativeBuildInputs = [ removeReferencesTo go ]
|
||||
++ (lib.optional (!dontRenameImports) govers) ++ nativeBuildInputs;
|
||||
buildInputs = [ go ] ++ buildInputs;
|
||||
buildInputs = buildInputs;
|
||||
|
||||
inherit (go) GOOS GOARCH;
|
||||
|
||||
configurePhase = args.configurePhase or ''
|
||||
runHook preConfigure
|
||||
@@ -162,12 +164,23 @@ go.stdenv.mkDerivation (
|
||||
else
|
||||
touch $TMPDIR/buildFlagsArray
|
||||
fi
|
||||
export -f buildGoDir # parallel needs to see the function
|
||||
export -f buildGoDir # xargs needs to see the function
|
||||
if [ -z "$enableParallelBuilding" ]; then
|
||||
export NIX_BUILD_CORES=1
|
||||
fi
|
||||
getGoDirs "" | parallel -j $NIX_BUILD_CORES buildGoDir install
|
||||
|
||||
getGoDirs "" | xargs -n1 -P $NIX_BUILD_CORES bash -c 'buildGoDir install "$@"' --
|
||||
'' + lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
|
||||
# normalize cross-compiled builds w.r.t. native builds
|
||||
(
|
||||
dir=$NIX_BUILD_TOP/go/bin/${go.GOOS}_${go.GOARCH}
|
||||
if [[ -n "$(shopt -s nullglob; echo $dir/*)" ]]; then
|
||||
mv $dir/* $dir/..
|
||||
fi
|
||||
if [[ -d $dir ]]; then
|
||||
rmdir $dir
|
||||
fi
|
||||
)
|
||||
'' + ''
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
@@ -175,7 +188,7 @@ go.stdenv.mkDerivation (
|
||||
checkPhase = args.checkPhase or ''
|
||||
runHook preCheck
|
||||
|
||||
getGoDirs test | parallel -j $NIX_BUILD_CORES buildGoDir test
|
||||
getGoDirs test | xargs -n1 -P $NIX_BUILD_CORES bash -c 'buildGoDir test "$@"' --
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
@@ -474,7 +474,7 @@ self: super: builtins.intersectAttrs super {
|
||||
hapistrano = addBuildTool super.hapistrano pkgs.buildPackages.git;
|
||||
|
||||
# This propagates this to everything depending on haskell-gi-base
|
||||
haskell-gi-base = addBuildDepend super.haskell-gi-base pkgs.gobjectIntrospection;
|
||||
haskell-gi-base = addBuildDepend super.haskell-gi-base pkgs.gobject-introspection;
|
||||
|
||||
# requires valid, writeable $HOME
|
||||
hatex-guide = overrideCabal super.hatex-guide (drv: {
|
||||
|
||||
@@ -86041,7 +86041,7 @@ self: {
|
||||
|
||||
"gi-girepository" = callPackage
|
||||
({ mkDerivation, base, bytestring, Cabal, containers, gi-glib
|
||||
, gi-gobject, gobjectIntrospection, haskell-gi, haskell-gi-base
|
||||
, gi-gobject, gobject-introspection, haskell-gi, haskell-gi-base
|
||||
, haskell-gi-overloading, text, transformers
|
||||
}:
|
||||
mkDerivation {
|
||||
@@ -86053,11 +86053,11 @@ self: {
|
||||
base bytestring containers gi-glib gi-gobject haskell-gi
|
||||
haskell-gi-base haskell-gi-overloading text transformers
|
||||
];
|
||||
libraryPkgconfigDepends = [ gobjectIntrospection ];
|
||||
libraryPkgconfigDepends = [ gobject-introspection ];
|
||||
doHaddock = false;
|
||||
description = "GIRepository (gobject-introspection) bindings";
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
}) {inherit (pkgs.gnome3) gobjectIntrospection;};
|
||||
}) {inherit (pkgs.gnome3) gobject-introspection;};
|
||||
|
||||
"gi-glib" = callPackage
|
||||
({ mkDerivation, base, bytestring, Cabal, containers, glib
|
||||
@@ -99188,7 +99188,7 @@ self: {
|
||||
|
||||
"haskell-gi" = callPackage
|
||||
({ mkDerivation, attoparsec, base, bytestring, Cabal, containers
|
||||
, directory, doctest, filepath, glib, gobjectIntrospection
|
||||
, directory, doctest, filepath, glib, gobject-introspection
|
||||
, haskell-gi-base, mtl, pretty-show, process, regex-tdfa, safe
|
||||
, text, transformers, xdg-basedir, xml-conduit
|
||||
}:
|
||||
@@ -99201,12 +99201,12 @@ self: {
|
||||
haskell-gi-base mtl pretty-show process regex-tdfa safe text
|
||||
transformers xdg-basedir xml-conduit
|
||||
];
|
||||
libraryPkgconfigDepends = [ glib gobjectIntrospection ];
|
||||
libraryPkgconfigDepends = [ glib gobject-introspection ];
|
||||
testHaskellDepends = [ base doctest process ];
|
||||
description = "Generate Haskell bindings for GObject Introspection capable libraries";
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
}) {inherit (pkgs) glib;
|
||||
inherit (pkgs.gnome3) gobjectIntrospection;};
|
||||
inherit (pkgs.gnome3) gobject-introspection;};
|
||||
|
||||
"haskell-gi-base" = callPackage
|
||||
({ mkDerivation, base, bytestring, containers, glib, text }:
|
||||
|
||||
56
pkgs/development/interpreters/spidermonkey/60.nix
Normal file
56
pkgs/development/interpreters/spidermonkey/60.nix
Normal file
@@ -0,0 +1,56 @@
|
||||
{ stdenv, fetchurl, fetchpatch, autoconf213, pkgconfig, perl, python2, zip, which, readline, icu, zlib, nspr }:
|
||||
|
||||
let
|
||||
version = "60.3.0";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "spidermonkey-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://mozilla/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz";
|
||||
sha256 = "0qak5gmkx8xm88xgnxdmj4z7sivbbvmg2v029fp9q5ms38cg6rjm";
|
||||
};
|
||||
|
||||
buildInputs = [ readline icu zlib nspr ];
|
||||
nativeBuildInputs = [ autoconf213 pkgconfig perl which python2 zip ];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = https://bug1415202.bmoattachments.org/attachment.cgi?id=8926363;
|
||||
sha256 = "082ryrvqa3lvs67v3sq9kf2jshf4qp1fpi195wffc40jdrl8fnin";
|
||||
})
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
export CXXFLAGS="-fpermissive"
|
||||
export LIBXUL_DIST=$out
|
||||
export PYTHON="${python2.interpreter}"
|
||||
|
||||
# We can't build in js/src/, so create a build dir
|
||||
mkdir obj
|
||||
cd obj/
|
||||
configureScript=../js/src/configure
|
||||
'';
|
||||
|
||||
# We need the flags specified here for gjs:
|
||||
# https://gitlab.gnome.org/GNOME/gnome-sdk-images/blob/bc8829439a4f1019d0c56a293ddd84e936fdf9f9/org.gnome.Sdk.json.in#L744
|
||||
configureFlags = [
|
||||
"--with-system-zlib"
|
||||
"--with-system-icu"
|
||||
"--with-intl-api"
|
||||
"--enable-readline"
|
||||
"--enable-shared-js"
|
||||
"--enable-posix-nspr-emulation"
|
||||
"--disable-jemalloc"
|
||||
"--enable-release"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Mozilla's JavaScript engine written in C/C++";
|
||||
homepage = https://developer.mozilla.org/en/SpiderMonkey;
|
||||
license = licenses.gpl2; # TODO: MPL/GPL/LGPL tri-license.
|
||||
maintainers = [ maintainers.abbradar ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, glib, intltool, makeWrapper, shadow
|
||||
, gobjectIntrospection, polkit, systemd, coreutils, meson, dbus
|
||||
, gobject-introspection, polkit, systemd, coreutils, meson, dbus
|
||||
, ninja, python3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig makeWrapper meson ninja python3 ];
|
||||
|
||||
buildInputs = [ glib intltool gobjectIntrospection polkit systemd dbus ];
|
||||
buildInputs = [ glib intltool gobject-introspection polkit systemd dbus ];
|
||||
|
||||
mesonFlags = [ "-Dsystemdsystemunitdir=etc/systemd/system"
|
||||
"-Dlocalstatedir=/var" ];
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, substituteAll, pkgconfig, gettext, gtk3, glib
|
||||
, gtk-doc, libarchive, gobjectIntrospection, libxslt, pngquant
|
||||
, gtk-doc, libarchive, gobject-introspection, libxslt, pngquant
|
||||
, sqlite, libsoup, attr, acl, docbook_xsl, docbook_xml_dtd_42
|
||||
, libuuid, json-glib, meson, gperf, ninja
|
||||
}:
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
glib gettext sqlite libsoup
|
||||
attr acl libuuid json-glib
|
||||
libarchive gobjectIntrospection gperf
|
||||
libarchive gobject-introspection gperf
|
||||
];
|
||||
propagatedBuildInputs = [ gtk3 ];
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchpatch, fetchFromGitHub, meson, ninja, pkgconfig, gettext
|
||||
, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt
|
||||
, libstemmer, glib, xapian, libxml2, libyaml, gobjectIntrospection
|
||||
, libstemmer, glib, xapian, libxml2, libyaml, gobject-introspection
|
||||
, pcre, itstool, gperf, vala
|
||||
}:
|
||||
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [
|
||||
meson ninja pkgconfig gettext
|
||||
libxslt xmlto docbook_xsl docbook_xml_dtd_45
|
||||
gobjectIntrospection itstool vala
|
||||
gobject-introspection itstool vala
|
||||
];
|
||||
|
||||
buildInputs = [ libstemmer pcre glib xapian libxml2 libyaml gperf ];
|
||||
|
||||
@@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
#cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib" "-DBICPL_DIR=${bicpl}/lib" "-DBUILD_TESTING=FALSE" ];
|
||||
|
||||
checkPhase = "ctest --output-on-failure";
|
||||
doCheck = false;
|
||||
# internal_volume_io.h: No such file or directory
|
||||
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "at-spi2-atk";
|
||||
version = "2.26.2";
|
||||
version = "2.30.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "0vkan52ab9vrkknnv8y4f1cspk8x7xd10qx92xk9ys71p851z2b1";
|
||||
sha256 = "16lav8k3mcxf2hblfh95zcw41glmb92wwwwljrf10yza0h85gqg2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig ]
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
, meson
|
||||
, ninja
|
||||
, pkgconfig
|
||||
, gobjectIntrospection
|
||||
, gobject-introspection
|
||||
|
||||
, dbus
|
||||
, glib
|
||||
@@ -19,16 +19,16 @@
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "at-spi2-core";
|
||||
version = "2.28.0";
|
||||
version = "2.30.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "11qwdxxx4jm0zj04xydlwah41axiz276dckkiql3rr0wn5x4i8j2";
|
||||
sha256 = "0azvgdmmivfz1fki25mz582gmwvfpajcnqhlq7s53nhr7lwzax81";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection ]
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection ]
|
||||
# Fixup rpaths because of meson, remove with meson-0.47
|
||||
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||
buildInputs = [ dbus glib libX11 libXtst libXi ];
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{ stdenv, fetchurl, meson, ninja, gettext, pkgconfig, glib
|
||||
, fixDarwinDylibNames, gobjectIntrospection, gnome3
|
||||
, fixDarwinDylibNames, gobject-introspection, gnome3
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "atk";
|
||||
version = "2.28.1";
|
||||
version = "2.30.0";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -12,22 +12,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "1z7laf6qwv5zsqcnj222dm5f43c6f3liil0cgx4s4s62xjk1wfnd";
|
||||
sha256 = "0yq25iisnf0rmlg2x5ghzqk9vhf2jramb2khxqghqakz47a90kfx";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# darwin linker arguments https://bugzilla.gnome.org/show_bug.cgi?id=794326
|
||||
(fetchurl {
|
||||
url = https://bugzilla.gnome.org/attachment.cgi?id=369680;
|
||||
sha256 = "11v8fhpsbapa04ifb2268cga398vfk1nq8i628441632zjz1diwg";
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gettext gobjectIntrospection ];
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gettext gobject-introspection ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
# Required by atk.pc
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, autoconf, automake, libtool, gnome3, which, fetchgit, libgtop, libwnck3, glib, vala, pkgconfig
|
||||
, libstartup_notification, gobjectIntrospection, gtk-doc, docbook_xsl
|
||||
, libstartup_notification, gobject-introspection, gtk-doc, docbook_xsl
|
||||
, xorgserver, dbus, python2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
automake
|
||||
docbook_xsl
|
||||
gnome3.gnome-common
|
||||
gobjectIntrospection
|
||||
gobject-introspection
|
||||
gtk-doc
|
||||
libtool
|
||||
pkgconfig
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ fetchurl, stdenv, pkgconfig, meson, ninja
|
||||
, gobjectIntrospection, clutter, gtk3, gnome3 }:
|
||||
, gobject-introspection, clutter, gtk3, gnome3 }:
|
||||
|
||||
let
|
||||
pname = "clutter-gtk";
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
propagatedBuildInputs = [ clutter gtk3 ];
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection ];
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection ];
|
||||
|
||||
postBuild = "rm -rf $out/share/gtk-doc";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libGLU_combined, libX11, libXext, libXfixes
|
||||
, libXdamage, libXcomposite, libXi, libxcb, cogl, pango, atk, json-glib
|
||||
, gobjectIntrospection, gtk3, gnome3, libinput, libgudev, libxkbcommon
|
||||
, gobject-introspection, gtk3, gnome3, libinput, libgudev, libxkbcommon
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
propagatedBuildInputs =
|
||||
[ libX11 libGLU_combined libXext libXfixes libXdamage libXcomposite libXi cogl pango
|
||||
atk json-glib gobjectIntrospection libxcb libinput libgudev libxkbcommon
|
||||
atk json-glib gobject-introspection libxcb libinput libgudev libxkbcommon
|
||||
];
|
||||
|
||||
configureFlags = [ "--enable-introspection" ]; # needed by muffin AFAIK
|
||||
|
||||
@@ -13,9 +13,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
doCheck = !stdenv.isDarwin;
|
||||
checkPhase = ''
|
||||
preCheck = ''
|
||||
export LD_LIBRARY_PATH=$(readlink -f ./src)
|
||||
CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, fetchpatch, pkgconfig, libGL, glib, gdk_pixbuf, xorg, libintl
|
||||
, pangoSupport ? true, pango, cairo, gobjectIntrospection, wayland, gnome3
|
||||
, pangoSupport ? true, pango, cairo, gobject-introspection, wayland, gnome3
|
||||
, mesa_noglu
|
||||
, gstreamerSupport ? true, gst_all_1 }:
|
||||
|
||||
@@ -44,7 +44,7 @@ in stdenv.mkDerivation rec {
|
||||
++ stdenv.lib.optionals (!stdenv.isDarwin) [ "--enable-gles1" "--enable-gles2" ];
|
||||
|
||||
propagatedBuildInputs = with xorg; [
|
||||
glib gdk_pixbuf gobjectIntrospection wayland mesa_noglu
|
||||
glib gdk_pixbuf gobject-introspection wayland mesa_noglu
|
||||
libGL libXrandr libXfixes libXcomposite libXdamage
|
||||
]
|
||||
++ stdenv.lib.optionals gstreamerSupport [ gst_all_1.gstreamer
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
--- a/m4/sasl2.m4 2018-11-18 22:33:29.902625600 +0300
|
||||
+++ b/m4/sasl2.m4 2018-11-18 22:33:59.828746176 +0300
|
||||
@@ -339,7 +339,8 @@
|
||||
],
|
||||
[ AC_DEFINE(HAVE_GSS_SPNEGO,,[Define if your GSSAPI implementation supports SPNEGO])
|
||||
AC_MSG_RESULT(yes) ],
|
||||
- AC_MSG_RESULT(no))
|
||||
+ AC_MSG_RESULT(no),
|
||||
+ AC_MSG_RESULT(no))
|
||||
LIBS="$cmu_save_LIBS"
|
||||
|
||||
else
|
||||
@@ -1,32 +1,29 @@
|
||||
{ lib, stdenv, fetchurl, openssl, openldap, kerberos, db, gettext,
|
||||
pam, fixDarwinDylibNames, autoreconfHook, fetchpatch, enableLdap ? false }:
|
||||
{ lib, stdenv, fetchurl, openssl, openldap, kerberos, db, gettext
|
||||
, pam, fixDarwinDylibNames, autoreconfHook, fetchpatch, enableLdap ? false
|
||||
, buildPackages }:
|
||||
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cyrus-sasl-${version}${optionalString (kerberos == null) "-without-kerberos"}";
|
||||
version = "2.1.26";
|
||||
version = "2.1.27";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.cyrusimap.org/cyrus-sasl/${name}.tar.gz";
|
||||
sha256 = "1hvvbcsg21nlncbgs0cgn3iwlnb3vannzwsp6rwvnn9ba4v53g4g";
|
||||
sha256 = "1m85zcpgfdhm43cavpdkhb1s2zq1b31472hq1w1gs3xh94anp1i6";
|
||||
};
|
||||
|
||||
outputs = [ "bin" "dev" "out" "man" "devdoc" ];
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = [ autoreconfHook fixDarwinDylibNames ];
|
||||
buildInputs =
|
||||
[ openssl db gettext kerberos ]
|
||||
++ lib.optional enableLdap openldap
|
||||
++ lib.optional stdenv.isFreeBSD autoreconfHook
|
||||
++ lib.optional stdenv.isLinux pam
|
||||
++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||
++ lib.optional stdenv.isLinux pam;
|
||||
|
||||
patches = [
|
||||
./missing-size_t.patch # https://bugzilla.redhat.com/show_bug.cgi?id=906519
|
||||
(fetchpatch {
|
||||
name = "CVE-2013-4122.patch";
|
||||
url = "mirror://sourceforge/miscellaneouspa/files/glibc217/cyrus-sasl-2.1.26-glibc217-crypt.diff";
|
||||
sha256 = "05l7dh1w9d5fvzg0pjwzqh0fy4ah8y5cv6v67s4ssbq8xwd4pkf2";
|
||||
})
|
||||
./cyrus-sasl-ac-try-run-fix.patch
|
||||
] ++ lib.optional stdenv.isFreeBSD (
|
||||
fetchurl {
|
||||
url = "http://www.linuxfromscratch.org/patches/blfs/svn/cyrus-sasl-2.1.26-fixes-3.patch";
|
||||
@@ -42,10 +39,6 @@ stdenv.mkDerivation rec {
|
||||
"--enable-shared"
|
||||
] ++ lib.optional enableLdap "--with-ldap=${openldap.dev}";
|
||||
|
||||
# Avoid triggering regenerating using broken autoconf/libtool bits.
|
||||
# (many distributions carry patches to remove/replace, but this works for now)
|
||||
dontUpdateAutotoolsGnuConfigScripts = if stdenv.hostPlatform.isMusl then true else null;
|
||||
|
||||
installFlags = lib.optional stdenv.isDarwin [ "framedir=$(out)/Library/Frameworks/SASL2.framework" ];
|
||||
|
||||
postInstall = ''
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, python, pkgconfig
|
||||
, glib, icu, gobjectIntrospection }:
|
||||
, glib, icu, gobject-introspection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dee-${version}";
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v";
|
||||
};
|
||||
|
||||
buildInputs = [ glib gobjectIntrospection icu ];
|
||||
buildInputs = [ glib gobject-introspection icu ];
|
||||
nativeBuildInputs = [ python pkgconfig ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-Wno-error=misleading-indentation" ]; # gcc-6
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, libnice, pkgconfig, pythonPackages, gstreamer, gst-plugins-base
|
||||
, gst-python, gupnp-igd, gobjectIntrospection
|
||||
, gst-python, gupnp-igd, gobject-introspection
|
||||
, gst-plugins-good, gst-plugins-bad, gst-libav
|
||||
}:
|
||||
|
||||
@@ -17,7 +17,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ libnice python pygobject2 gupnp-igd libnice ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
|
||||
nativeBuildInputs = [ pkgconfig gobject-introspection ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
gstreamer gst-plugins-base gst-python
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, autoreconfHook, docbook_xml_dtd_412, docbook_xml_dtd_42, docbook_xml_dtd_43, docbook_xsl, which, libxml2
|
||||
, gobjectIntrospection, gtk-doc, intltool, libxslt, pkgconfig, xmlto, appstream-glib, substituteAll, glibcLocales, yacc, xdg-dbus-proxy, p11-kit
|
||||
, gobject-introspection, gtk-doc, intltool, libxslt, pkgconfig, xmlto, appstream-glib, substituteAll, glibcLocales, yacc, xdg-dbus-proxy, p11-kit
|
||||
, bubblewrap, bzip2, dbus, glib, gpgme, json-glib, libarchive, libcap, libseccomp, coreutils, python2, hicolor-icon-theme
|
||||
, libsoup, lzma, ostree, polkit, python3, systemd, xorg, valgrind, glib-networking, makeWrapper, gnome3 }:
|
||||
|
||||
@@ -33,7 +33,7 @@ in stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook libxml2 docbook_xml_dtd_412 docbook_xml_dtd_42 docbook_xml_dtd_43 docbook_xsl which gobjectIntrospection
|
||||
autoreconfHook libxml2 docbook_xml_dtd_412 docbook_xml_dtd_42 docbook_xml_dtd_43 docbook_xsl which gobject-introspection
|
||||
gtk-doc intltool libxslt pkgconfig xmlto appstream-glib yacc makeWrapper
|
||||
];
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config
|
||||
|
||||
propagatedBuildInputs = [ freetype ];
|
||||
nativeBuildInputs = [ pkgconfig gperf ];
|
||||
nativeBuildInputs = [ pkgconfig gperf libxslt ];
|
||||
buildInputs = [ expat ];
|
||||
|
||||
configureFlags = [
|
||||
@@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = ''
|
||||
cd "$out/etc/fonts"
|
||||
"${libxslt.bin}/bin/xsltproc" --stringparam fontDirectories "${dejavu_fonts.minimal}" \
|
||||
xsltproc --stringparam fontDirectories "${dejavu_fonts.minimal}" \
|
||||
--stringparam fontconfigConfigVersion "${configVersion}" \
|
||||
--path $out/share/xml/fontconfig \
|
||||
${./make-fonts-conf.xsl} $out/etc/fonts/fonts.conf \
|
||||
@@ -77,4 +77,3 @@ stdenv.mkDerivation rec {
|
||||
maintainers = [ maintainers.vcunat ];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
|
||||
, meson
|
||||
, ninja
|
||||
@@ -21,6 +22,13 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1kp4b1hpx2ky20ixgy2xhj5iygfl7ps5k9kglh1z5i7mhykg4r3a";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/fribidi/fribidi/pull/88.patch";
|
||||
sha256 = "1n4l6333vhbxfckwg101flmvq6bbygg66fjp69ddcjqaqb6gh9k9";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs test
|
||||
'';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, gettext, gobjectIntrospection, pkgconfig
|
||||
{ stdenv, fetchurl, gettext, gobject-introspection, pkgconfig
|
||||
, meson, ninja, glibcLocales, git, vala, glib, zlib
|
||||
}:
|
||||
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0l19sr6pg0cfcddmi5n79d08mjjbhn427ip5jlsy9zddq9r24aqr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja glibcLocales git pkgconfig vala gettext gobjectIntrospection ];
|
||||
nativeBuildInputs = [ meson ninja glibcLocales git pkgconfig vala gettext gobject-introspection ];
|
||||
|
||||
buildInputs = [ glib zlib ];
|
||||
|
||||
|
||||
@@ -1,25 +1,16 @@
|
||||
{ stdenv, fetchurl, fetchFromGitLab, fetchpatch, fixDarwinDylibNames, meson, ninja, pkgconfig, gettext, python3, libxml2, libxslt, docbook_xsl
|
||||
{ stdenv, fetchurl, fetchpatch, fixDarwinDylibNames, meson, ninja, pkgconfig, gettext, python3, libxml2, libxslt, docbook_xsl
|
||||
, docbook_xml_dtd_43, gtk-doc, glib, libtiff, libjpeg, libpng, libX11, gnome3
|
||||
, jasper, gobjectIntrospection, doCheck ? false, makeWrapper }:
|
||||
, jasper, gobject-introspection, doCheck ? false, makeWrapper }:
|
||||
|
||||
let
|
||||
pname = "gdk-pixbuf";
|
||||
version = "2.36.12";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.38.0";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
# TODO: Change back once tests/bug753605-atsize.jpg is part of the dist tarball
|
||||
# src = fetchurl {
|
||||
# url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
# sha256 = "0d534ysa6n9prd17wwzisq7mj6qkhwh8wcf8qgin1ar3hbs5ry7z";
|
||||
# };
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
owner = "GNOME";
|
||||
repo = "gdk-pixbuf";
|
||||
rev = version;
|
||||
sha256 = "18lwqg63vyap2m1mw049rnb8fm869429xbf7636a2n21gs3d3jwv";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "0ixfmnxjylx06mjaw116apymwi1a8rnkmkbbvqaxxg2pfwy9fl6x";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -28,21 +19,13 @@ stdenv.mkDerivation rec {
|
||||
# For now, we are patching the build script to avoid the dependency.
|
||||
./no-mime-sniffing.patch
|
||||
|
||||
# Fix installed tests with meson
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=795527
|
||||
(fetchurl {
|
||||
url = https://bugzilla.gnome.org/attachment.cgi?id=371381;
|
||||
sha256 = "0nl1cixkjfa5kcfh0laz8h6hdsrpdkxqn7a1k35jrb6zwc9hbydn";
|
||||
})
|
||||
|
||||
# Add missing test file bug753605-atsize.jpg
|
||||
(fetchpatch {
|
||||
url = https://gitlab.gnome.org/GNOME/gdk-pixbuf/commit/87f8f4bf01dfb9982c1ef991e4060a5e19fdb7a7.patch;
|
||||
sha256 = "1slzywwnrzfx3zjzdsxrvp4g2q4skmv50pdfmyccp41j7bfyb2j0";
|
||||
})
|
||||
|
||||
# Move installed tests to a separate output
|
||||
./installed-tests-path.patch
|
||||
|
||||
(fetchpatch {
|
||||
url = https://gitlab.gnome.org/GNOME/gdk-pixbuf/commit/a7d582f75a71320554b881e063a65f4ced679c1c.patch;
|
||||
sha256 = "0z0w52bh4hcrdllbgrqvh12iqzr7k1pb0wdr9vz2qslg1kjk4j92";
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" "man" "devdoc" "installedTests" ];
|
||||
@@ -54,7 +37,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson ninja pkgconfig gettext python3 libxml2 libxslt docbook_xsl docbook_xml_dtd_43
|
||||
gtk-doc gobjectIntrospection makeWrapper
|
||||
gtk-doc gobject-introspection makeWrapper
|
||||
]
|
||||
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||
|
||||
@@ -64,7 +47,7 @@ stdenv.mkDerivation rec {
|
||||
"-Ddocs=true"
|
||||
"-Djasper=true"
|
||||
"-Dx11=true"
|
||||
"-Dgir=${if gobjectIntrospection != null then "true" else "false"}"
|
||||
"-Dgir=${if gobject-introspection != null then "true" else "false"}"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
@@ -99,6 +82,10 @@ stdenv.mkDerivation rec {
|
||||
done
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
PATH=$PATH:$out/bin # for install script
|
||||
'';
|
||||
|
||||
# The tests take an excessive amount of time (> 1.5 hours) and memory (> 6 GB).
|
||||
inherit doCheck;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
, evemu
|
||||
, frame
|
||||
, gdk_pixbuf
|
||||
, gobjectIntrospection
|
||||
, gobject-introspection
|
||||
, grail
|
||||
, gtk3
|
||||
, libX11
|
||||
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
||||
[ pygobject3 ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig wrapGAppsHook python3Packages.wrapPython];
|
||||
buildInputs = [ atk dbus evemu frame gdk_pixbuf gobjectIntrospection grail
|
||||
buildInputs = [ atk dbus evemu frame gdk_pixbuf gobject-introspection grail
|
||||
gtk3 libX11 libXext libXi libXtst pango python3Packages.python xorgserver
|
||||
];
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitLab, meson, ninja, pkgconfig, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, json-glib, libsoup, libnotify, gdk_pixbuf
|
||||
, modemmanager, avahi, glib-networking, python3, wrapGAppsHook, gobjectIntrospection, vala
|
||||
{ stdenv, fetchFromGitLab, intltool, meson, ninja, pkgconfig, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, json-glib, libsoup, libnotify, gdk_pixbuf
|
||||
, modemmanager, avahi, glib-networking, python3, wrapGAppsHook, gobject-introspection, vala
|
||||
, withDemoAgent ? false
|
||||
}:
|
||||
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig meson ninja wrapGAppsHook python3 vala gobjectIntrospection
|
||||
pkgconfig intltool meson ninja wrapGAppsHook python3 vala gobject-introspection
|
||||
# devdoc
|
||||
gtk-doc docbook_xsl docbook_xml_dtd_412
|
||||
];
|
||||
|
||||
@@ -1,28 +1,20 @@
|
||||
{ stdenv, fetchurl, fetchpatch, meson, ninja, pkgconfig, glib, gettext, python3, gnutls, p11-kit, libproxy, gnome3
|
||||
{ stdenv, fetchurl, meson, ninja, pkgconfig, glib, gettext, python3, gnutls, p11-kit, libproxy, gnome3
|
||||
, gsettings-desktop-schemas }:
|
||||
|
||||
let
|
||||
pname = "glib-networking";
|
||||
version = "2.56.0";
|
||||
version = "2.58.0";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "14vw8xwajd7m31bpavg2psk693plhjikwpk8bzf3jl1fmsy11za7";
|
||||
sha256 = "0s006gs9nsq6mg31spqha1jffzmp6qjh10y27h0fxf1iw1ah5ymx";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ]; # to deal with propagatedBuildInputs
|
||||
|
||||
patches = [
|
||||
# Use GNUTLS system trust for certificates
|
||||
(fetchpatch {
|
||||
url = https://gitlab.gnome.org/GNOME/glib-networking/commit/f1c8feee014007cc913b71357acb609f8d1200df.patch;
|
||||
sha256 = "1rbxqsrcb5if3xs2d18pqzd9xnjysdj715ijc41n5w326fsawg7i";
|
||||
})
|
||||
];
|
||||
|
||||
PKG_CONFIG_GIO_2_0_GIOMODULEDIR = "${placeholder "out"}/lib/gio/modules";
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, gettext, pkgconfig, perl, python
|
||||
, libiconv, zlib, libffi, pcre, libelf, gnome3
|
||||
{ stdenv, fetchurl, gettext, meson, ninja, pkgconfig, perl, python3, glibcLocales
|
||||
, libiconv, zlib, libffi, pcre, libelf, gnome3, libselinux, bash, gnum4, gtk-doc, docbook_xsl, docbook_xml_dtd_45
|
||||
# use utillinuxMinimal to avoid circular dependency (utillinux, systemd, glib)
|
||||
, utillinuxMinimal ? null
|
||||
|
||||
@@ -43,7 +43,7 @@ let
|
||||
ln -sr -t "''${!outputInclude}/include/" "''${!outputInclude}"/lib/*/include/* 2>/dev/null || true
|
||||
'';
|
||||
|
||||
version = "2.56.0";
|
||||
version = "2.58.1";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/glib/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "1iqgi90fmpl3l23jm2iv44qp7hqsxvnv7978s18933bvx4bnxvzc";
|
||||
sha256 = "1mnp4vankish8bqxymdl591p9v1ynk7pfc5dmpx3vamn4vcskmlp";
|
||||
};
|
||||
|
||||
patches = optional stdenv.isDarwin ./darwin-compilation.patch
|
||||
@@ -59,48 +59,53 @@ stdenv.mkDerivation rec {
|
||||
++ optionals stdenv.hostPlatform.isMusl [
|
||||
./quark_init_on_demand.patch
|
||||
./gobject_init_on_demand.patch
|
||||
] ++ [ ./schema-override-variable.patch ];
|
||||
] ++ [
|
||||
./schema-override-variable.patch
|
||||
# Require substituteInPlace in postPatch
|
||||
./fix-gio-launch-desktop-path.patch
|
||||
];
|
||||
|
||||
outputs = [ "bin" "out" "dev" "devdoc" ];
|
||||
outputBin = "dev";
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
buildInputs = [ libelf setupHook pcre ]
|
||||
++ optionals stdenv.isLinux [ utillinuxMinimal ]; # for libmount
|
||||
buildInputs = [
|
||||
libelf setupHook pcre
|
||||
bash gnum4 # install glib-gettextize and m4 macros for other apps to use
|
||||
] ++ optionals stdenv.isLinux [
|
||||
libselinux
|
||||
utillinuxMinimal # for libmount
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig perl python gettext ];
|
||||
nativeBuildInputs = [ meson ninja pkgconfig perl python3 gettext gtk-doc docbook_xsl docbook_xml_dtd_45 glibcLocales ];
|
||||
|
||||
propagatedBuildInputs = [ zlib libffi gettext libiconv ];
|
||||
|
||||
# internal pcre would only add <200kB, but it's relatively common
|
||||
configureFlags = [ "--with-pcre=system" ]
|
||||
++ optional stdenv.isDarwin "--disable-compile-warnings"
|
||||
++ optional stdenv.isSunOS "--disable-dtrace"
|
||||
# Can't run this test when cross-compiling
|
||||
++ optionals (stdenv.hostPlatform != stdenv.buildPlatform)
|
||||
[ "glib_cv_stack_grows=no" "glib_cv_uscore=no" ]
|
||||
# GElf only supports elf64 hosts
|
||||
++ optional (!stdenv.hostPlatform.is64bit) "--disable-libelf";
|
||||
mesonFlags = [
|
||||
"-Dgtk_doc=true"
|
||||
];
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
NIX_CFLAGS_COMPILE = optional stdenv.isSunOS "-DBSD_COMP";
|
||||
|
||||
preConfigure = optionalString stdenv.isSunOS ''
|
||||
sed -i -e 's|inotify.h|foobar-inotify.h|g' configure
|
||||
'';
|
||||
postPatch = ''
|
||||
substituteInPlace meson.build --replace "install_dir : 'bin'," "install_dir : glib_bindir,"
|
||||
|
||||
postConfigure = ''
|
||||
patchShebangs ./gobject/
|
||||
# substitute fix-gio-launch-desktop-path.patch
|
||||
substituteInPlace gio/gdesktopappinfo.c --replace "@bindir@" "$out/bin"
|
||||
|
||||
chmod +x gio/tests/gengiotypefuncs.py
|
||||
patchShebangs gio/tests/gengiotypefuncs.py
|
||||
patchShebangs glib/gen-unicode-tables.pl
|
||||
patchShebangs tests/gen-casefold-txt.py
|
||||
patchShebangs tests/gen-casemap-txt.py
|
||||
'';
|
||||
|
||||
LIBELF_CFLAGS = optional stdenv.isFreeBSD "-I${libelf}";
|
||||
LIBELF_LIBS = optional stdenv.isFreeBSD "-L${libelf} -lelf";
|
||||
|
||||
preBuild = optionalString stdenv.isDarwin ''
|
||||
export MACOSX_DEPLOYMENT_TARGET=
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
DETERMINISTIC_BUILD = 1;
|
||||
|
||||
postInstall = ''
|
||||
@@ -109,6 +114,11 @@ stdenv.mkDerivation rec {
|
||||
mv "$dev/bin/$app" "$bin/bin"
|
||||
done
|
||||
|
||||
# Add gio-launch-desktop to $out so we can refer to it from $dev
|
||||
mkdir $out/bin
|
||||
mv "$dev/bin/gio-launch-desktop" "$out/bin/"
|
||||
ln -s "$out/bin/gio-launch-desktop" "$bin/bin/"
|
||||
|
||||
moveToOutput "share/glib-2.0" "$dev"
|
||||
substituteInPlace "$dev/bin/gdbus-codegen" --replace "$out" "$dev"
|
||||
sed -i "$dev/bin/glib-gettextize" -e "s|^gettext_dir=.*|gettext_dir=$dev/share/glib-2.0/gettext|"
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/gio/gdesktopappinfo.c
|
||||
+++ b/gio/gdesktopappinfo.c
|
||||
@@ -2725,7 +2725,7 @@ g_desktop_app_info_launch_uris_with_spawn (GDesktopAppInfo *info,
|
||||
|
||||
/* Fall back on usual searching in $PATH */
|
||||
if (tmp == NULL)
|
||||
- tmp = "gio-launch-desktop";
|
||||
+ tmp = "@bindir@/gio-launch-desktop";
|
||||
g_once_init_leave (&gio_launch_desktop_path, tmp);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, glib, zlib, gnupg, libgpgerror, gobjectIntrospection }:
|
||||
{ stdenv, fetchurl, pkgconfig, glib, zlib, gnupg, libgpgerror, gobject-introspection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.6.23";
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
|
||||
nativeBuildInputs = [ pkgconfig gobject-introspection ];
|
||||
propagatedBuildInputs = [ glib zlib libgpgerror ];
|
||||
configureFlags = [ "--enable-introspection=yes" ];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, glib, zlib, gnupg, gpgme, libidn2, libunistring, gobjectIntrospection }:
|
||||
{ stdenv, fetchurl, pkgconfig, glib, zlib, gnupg, gpgme, libidn2, libunistring, gobject-introspection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "3.2.3";
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
buildInputs = [ gobjectIntrospection zlib gpgme libidn2 libunistring ];
|
||||
buildInputs = [ gobject-introspection zlib gpgme libidn2 libunistring ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
propagatedBuildInputs = [ glib ];
|
||||
configureFlags = [ "--enable-introspection=yes" ];
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
+++ b/gir/cairo-1.0.gir.in
|
||||
@@ -5,7 +5,7 @@
|
||||
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
|
||||
<package name="%CAIRO_GIR_PACKAGE%"/>
|
||||
<package name="@CAIRO_GIR_PACKAGE@"/>
|
||||
<namespace name="cairo" version="1.0"
|
||||
- shared-library="%CAIRO_SHARED_LIBRARY%"
|
||||
+ shared-library="@cairoLib@/%CAIRO_SHARED_LIBRARY%"
|
||||
- shared-library="@CAIRO_SHARED_LIBRARY@"
|
||||
+ shared-library="@cairoLib@/@CAIRO_SHARED_LIBRARY@"
|
||||
c:identifier-prefixes="cairo"
|
||||
c:symbol-prefixes="cairo">
|
||||
<record name="Context" c:type="cairo_t" foreign="1"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- a/giscanner/scannermain.py
|
||||
+++ b/giscanner/scannermain.py
|
||||
@@ -100,6 +100,39 @@
|
||||
@@ -101,6 +101,39 @@
|
||||
return group
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
+ # Newer multiple-output-optimized stdenv has an environment variable
|
||||
+ # $outputLib which in turn specifies another variable which then is used as
|
||||
+ # the destination for the library contents (${!outputLib}/lib).
|
||||
+ store_path = os.environ.get(os.environ.get("outputLib"))
|
||||
+ store_path = os.environ.get(os.environ.get("outputLib")) if "outputLib" in os.environ else None
|
||||
+ if store_path is None:
|
||||
+ outputs = os.environ.get("outputs", "out").split()
|
||||
+ if "lib" in outputs:
|
||||
@@ -38,9 +38,9 @@
|
||||
+
|
||||
+
|
||||
def _get_option_parser():
|
||||
parser = optparse.OptionParser('%prog [options] sources')
|
||||
parser.add_option('', "--quiet",
|
||||
@@ -209,6 +242,10 @@
|
||||
parser = optparse.OptionParser('%prog [options] sources',
|
||||
version='%prog ' + giscanner.__version__)
|
||||
@@ -211,6 +244,10 @@
|
||||
parser.add_option("", "--filelist",
|
||||
action="store", dest="filelist", default=[],
|
||||
help="file containing headers and sources to be scanned")
|
||||
@@ -53,48 +53,63 @@
|
||||
parser.add_option_group(group)
|
||||
--- a/giscanner/shlibs.py
|
||||
+++ b/giscanner/shlibs.py
|
||||
@@ -63,6 +63,11 @@
|
||||
pattern = "([^\s]*lib*%s[^A-Za-z0-9_-][^\s\(\)]*)"
|
||||
return re.compile(pattern % re.escape(library_name))
|
||||
@@ -62,6 +62,12 @@
|
||||
$""" % re.escape(library_name), re.VERBOSE)
|
||||
|
||||
|
||||
+def _ldd_library_nix_pattern(library_name):
|
||||
+ nix_store_dir = re.escape('@nixStoreDir@'.rstrip('/'))
|
||||
+ pattern = r'(%s(?:/[^/]*)+lib%s[^A-Za-z0-9_-][^\s\(\)]*)'
|
||||
+ return re.compile(pattern % (nix_store_dir, re.escape(library_name)))
|
||||
+
|
||||
|
||||
+
|
||||
# This is a what we do for non-la files. We assume that we are on an
|
||||
# ELF-like system where ldd exists and the soname extracted with ldd is
|
||||
@@ -112,7 +117,7 @@
|
||||
proc = subprocess.Popen(args, stdout=subprocess.PIPE)
|
||||
patterns = {}
|
||||
for library in libraries:
|
||||
# a filename that can be opened with dlopen().
|
||||
@@ -110,17 +116,16 @@ def _resolve_non_libtool(options, binary, libraries):
|
||||
if isinstance(output, bytes):
|
||||
output = output.decode("utf-8", "replace")
|
||||
|
||||
- # Use absolute paths on OS X to conform to how libraries are usually
|
||||
- # referenced on OS X systems, and file names everywhere else.
|
||||
- basename = platform.system() != 'Darwin'
|
||||
- return resolve_from_ldd_output(libraries, output, basename=basename)
|
||||
+ # Never strip away absolute paths in Nix
|
||||
+ basename = False
|
||||
+ return resolve_from_ldd_output(libraries, output, basename=basename, fallback_libpath=options.fallback_libpath)
|
||||
|
||||
|
||||
-def resolve_from_ldd_output(libraries, output, basename=False):
|
||||
+def resolve_from_ldd_output(libraries, output, basename=False, fallback_libpath=""):
|
||||
patterns = {}
|
||||
for library in libraries:
|
||||
if not os.path.isfile(library):
|
||||
- patterns[library] = _ldd_library_pattern(library)
|
||||
+ patterns[library] = (_ldd_library_pattern(library), _ldd_library_nix_pattern(library))
|
||||
if len(patterns) == 0:
|
||||
return []
|
||||
|
||||
shlibs = []
|
||||
for line in proc.stdout:
|
||||
@@ -122,11 +127,14 @@
|
||||
# possible for the name of the binary to match _ldd_library_pattern.
|
||||
if line == binary.args[0] + ':\n':
|
||||
continue
|
||||
@@ -129,11 +134,14 @@ def resolve_from_ldd_output(libraries, output, basename=False):
|
||||
if line.endswith(':'):
|
||||
continue
|
||||
for word in line.split():
|
||||
- for library, pattern in patterns.items():
|
||||
- m = pattern.search(line)
|
||||
- m = pattern.match(word)
|
||||
+ for library, (pattern, nix_pattern) in patterns.items():
|
||||
+ if line.find('@nixStoreDir@') != -1:
|
||||
+ m = nix_pattern.search(line)
|
||||
+ m = nix_pattern.match(word)
|
||||
+ else:
|
||||
+ m = pattern.search(line)
|
||||
+ m = pattern.match(word)
|
||||
if m:
|
||||
del patterns[library]
|
||||
- shlibs.append(m.group(1))
|
||||
+ shlibs.append(os.path.join(options.fallback_libpath, m.group(1)))
|
||||
- shlibs.append(_sanitize_install_name(m.group()))
|
||||
+ shlibs.append(os.path.join(fallback_libpath, _sanitize_install_name(m.group())))
|
||||
break
|
||||
|
||||
if len(patterns) > 0:
|
||||
if len(patterns) > 0:
|
||||
--- a/giscanner/utils.py
|
||||
+++ b/giscanner/utils.py
|
||||
@@ -113,17 +113,11 @@
|
||||
@@ -116,17 +116,11 @@
|
||||
if dlname is None:
|
||||
return None
|
||||
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{ stdenv, fetchurl, glib, flex, bison, pkgconfig, libffi, python
|
||||
, libintl, cctools, cairo, gnome3
|
||||
{ stdenv, fetchurl, glib, flex, bison, meson, ninja, pkgconfig, libffi, python3
|
||||
, libintl, cctools, cairo, gnome3, glibcLocales, fetchpatch
|
||||
, substituteAll, nixStoreDir ? builtins.storeDir
|
||||
, x11Support ? true
|
||||
}:
|
||||
# now that gobjectIntrospection creates large .gir files (eg gtk3 case)
|
||||
# now that gobject-introspection creates large .gir files (eg gtk3 case)
|
||||
# it may be worth thinking about using multiple derivation outputs
|
||||
# In that case its about 6MB which could be separated
|
||||
|
||||
let
|
||||
pname = "gobject-introspection";
|
||||
version = "1.56.0";
|
||||
version = "1.58.1";
|
||||
in
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -17,21 +17,22 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "1y50pbn5qqbcv2h9rkz96wvv5jls2gma9bkqjq6wapmaszx5jw0d";
|
||||
sha256 = "12fzs3044047icdfs7cb2lsmnfi6w6fyhkci3m2rbvf5llgnhm29";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
outputs = [ "out" "dev" "man" ];
|
||||
outputBin = "dev";
|
||||
outputMan = "dev"; # tiny pages
|
||||
|
||||
nativeBuildInputs = [ pkgconfig libintl ];
|
||||
buildInputs = [ flex bison python setupHook/*move .gir*/ ]
|
||||
LC_ALL = "en_US.UTF-8"; # for tests
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig libintl glibcLocales ];
|
||||
buildInputs = [ flex bison python3 setupHook/*move .gir*/ ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin cctools;
|
||||
propagatedBuildInputs = [ libffi glib ];
|
||||
|
||||
preConfigure = ''
|
||||
sed 's|/usr/bin/env ||' -i tools/g-ir-tool-template.in
|
||||
'';
|
||||
mesonFlags = [
|
||||
"--datadir=${placeholder "dev"}/share"
|
||||
];
|
||||
|
||||
# outputs TODO: share/gobject-introspection-1.0/tests is needed during build
|
||||
# by pygobject3 (and maybe others), but it's only searched in $out
|
||||
@@ -39,6 +40,11 @@ stdenv.mkDerivation rec {
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
patches = [
|
||||
./macos-shared-library.patch
|
||||
(substituteAll {
|
||||
src = ./test_shlibs.patch;
|
||||
inherit nixStoreDir;
|
||||
})
|
||||
(substituteAll {
|
||||
src = ./absolute_shlib_path.patch;
|
||||
inherit nixStoreDir;
|
||||
@@ -49,12 +55,11 @@ stdenv.mkDerivation rec {
|
||||
cairoLib = "${getLib cairo}/lib";
|
||||
});
|
||||
|
||||
doCheck = false; # fails
|
||||
doCheck = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
attrPath = "gobjectIntrospection";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
diff --git a/giscanner/shlibs.py b/giscanner/shlibs.py
|
||||
index c93d20c..4d4915d 100644
|
||||
--- a/giscanner/shlibs.py
|
||||
+++ b/giscanner/shlibs.py
|
||||
@@ -43,6 +43,22 @@ def _resolve_libtool(options, binary, libraries):
|
||||
|
||||
return shlibs
|
||||
|
||||
+def _sanitize_install_name(install_name):
|
||||
+ '''
|
||||
+ On macOS, the dylib can be built with install_name as @rpath/libfoo.so
|
||||
+ instead of the absolute path to the library, so handle that. The name
|
||||
+ can also be @loader_path or @executable_path.
|
||||
+ '''
|
||||
+ if not install_name.startswith('@'):
|
||||
+ return install_name
|
||||
+ if install_name.startswith('@rpath/'):
|
||||
+ return install_name[7:]
|
||||
+ if install_name.startswith('@loader_path/'):
|
||||
+ return install_name[13:]
|
||||
+ if install_name.startswith('@executable_path/'):
|
||||
+ return install_name[17:]
|
||||
+ raise RuntimeError('Unknown install_name {!r}'.format(install_name))
|
||||
+
|
||||
|
||||
# Assume ldd output is something vaguely like
|
||||
#
|
||||
@@ -136,7 +152,7 @@ def resolve_from_ldd_output(libraries, output, basename=False):
|
||||
m = pattern.match(word)
|
||||
if m:
|
||||
del patterns[library]
|
||||
- shlibs.append(m.group())
|
||||
+ shlibs.append(_sanitize_install_name(m.group()))
|
||||
break
|
||||
|
||||
if len(patterns) > 0:
|
||||
@@ -0,0 +1,50 @@
|
||||
--- a/tests/scanner/test_shlibs.py
|
||||
+++ b/tests/scanner/test_shlibs.py
|
||||
@@ -10,6 +10,46 @@ from giscanner.shlibs import resolve_from_ldd_output
|
||||
|
||||
class TestLddParser(unittest.TestCase):
|
||||
|
||||
+ def test_resolve_from_ldd_output_nix(self):
|
||||
+ output = '''\
|
||||
+ libglib-2.0.so.0 => @nixStoreDir@/gmrf09y7sfxrr0mcx90dba7w41jj2kzk-glib-2.58.1/lib/libglib-2.0.so.0 (0x00007f0ee1b28000)
|
||||
+ libgobject-2.0.so.0 => @nixStoreDir@/gmrf09y7sfxrr0mcx90dba7w41jj2kzk-glib-2.58.1/lib/libgobject-2.0.so.0 (0x00007f0ee18cf000)
|
||||
+ libgio-2.0.so.0 => @nixStoreDir@/gmrf09y7sfxrr0mcx90dba7w41jj2kzk-glib-2.58.1/lib/libgio-2.0.so.0 (0x00007f0ee1502000)
|
||||
+ libxml2.so.2 => @nixStoreDir@/72mxkk74cv266snkjpz1kwl1i2rg8rpc-libxml2-2.9.8/lib/libxml2.so.2 (0x00007f0ee119c000)
|
||||
+ libsqlite3.so.0 => @nixStoreDir@/ck5ay23hsmlc67pg3m34kzd1k2hhvww0-sqlite-3.24.0/lib/libsqlite3.so.0 (0x00007f0ee0e98000)
|
||||
+ libpsl.so.5 => @nixStoreDir@/qn3l2gn7m76f318676wflrs2z6d4rrkj-libpsl-0.20.2-list-2017-02-03/lib/libpsl.so.5 (0x00007f0ee0c88000)
|
||||
+ libc.so.6 => @nixStoreDir@/g2yk54hifqlsjiha3szr4q3ccmdzyrdv-glibc-2.27/lib/libc.so.6 (0x00007f0ee08d4000)
|
||||
+ libpcre.so.1 => @nixStoreDir@/hxbq8lpc53qsf1bc0dfcsm47wmcxzjvh-pcre-8.42/lib/libpcre.so.1 (0x00007f0ee0662000)
|
||||
+ @nixStoreDir@/g2yk54hifqlsjiha3szr4q3ccmdzyrdv-glibc-2.27/lib64/ld-linux-x86-64.so.2 (0x00007f0ee20ff000)
|
||||
+ libblkid.so.1 => @nixStoreDir@/q0kgnq21j0l2yd77gdlld371246cwghh-util-linux-2.32.1/lib/libblkid.so.1 (0x00007f0edd0cd000)
|
||||
+ libuuid.so.1 => @nixStoreDir@/q0kgnq21j0l2yd77gdlld371246cwghh-util-linux-2.32.1/lib/libuuid.so.1 (0x00007f0edcec5000)
|
||||
+ librt.so.1 => @nixStoreDir@/g2yk54hifqlsjiha3szr4q3ccmdzyrdv-glibc-2.27/lib/librt.so.1 (0x00007f0edccbd000)
|
||||
+ libstdc++.so.6 => @nixStoreDir@/3v5r7fkrbkw2qajadvjbf6p6qriz9p1i-gcc-7.3.0-lib/lib/libstdc++.so.6 (0x00007f0edc936000)
|
||||
+ libgcc_s.so.1 => @nixStoreDir@/g2yk54hifqlsjiha3szr4q3ccmdzyrdv-glibc-2.27/lib/libgcc_s.so.1 (0x00007f0edc720000)
|
||||
+ '''
|
||||
+ libraries = ['glib-2.0', 'gio-2.0']
|
||||
+
|
||||
+ self.assertEqual(
|
||||
+ ['@nixStoreDir@/gmrf09y7sfxrr0mcx90dba7w41jj2kzk-glib-2.58.1/lib/libglib-2.0.so.0',
|
||||
+ '@nixStoreDir@/gmrf09y7sfxrr0mcx90dba7w41jj2kzk-glib-2.58.1/lib/libgio-2.0.so.0'],
|
||||
+ resolve_from_ldd_output(libraries, output, basename=False))
|
||||
+
|
||||
+ def test_resolve_from_ldd_output_macos(self):
|
||||
+ output = '''\
|
||||
+ @rpath/libatk-1.0.0.dylib
|
||||
+ @rpath/libgstreamer-1.0.0.dylib (compatibility version 0.0.0, current version 0.0.0)
|
||||
+ /Volumes/USB_SSD/cerbero/build/dist/darwin_x86_64/lib/libglib-2.0.0.dylib (compatibility version 0.0.0, current version 0.0.0)
|
||||
+ /Volumes/USB_SSD/cerbero/build/dist/darwin_x86_64/lib/libintl.dylib (compatibility version 0.0.0, current version 0.0.0)
|
||||
+ /Volumes/USB_SSD/cerbero/build/dist/darwin_x86_64/lib/libgobject-2.0.0.dylib (compatibility version 0.0.0, current version 0.0.0)
|
||||
+ /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4)
|
||||
+ '''
|
||||
+ libraries = ['atk-1.0']
|
||||
+ fallback_libpath = '@nixStoreDir@/1ynd5b01z87c1nw75k5iy7sq49hpkw53-atk-2.30.0/lib'
|
||||
+
|
||||
+ self.assertEqual(
|
||||
+ [ '%s/libatk-1.0.0.dylib' % fallback_libpath ],
|
||||
+ resolve_from_ldd_output(libraries, output, basename=False, fallback_libpath=fallback_libpath))
|
||||
+
|
||||
def test_resolve_from_ldd_output(self):
|
||||
output = '''\
|
||||
libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fbe12d68000)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gettext, gtk-doc, gobjectIntrospection, python2, gtk3, cairo, glib }:
|
||||
{ stdenv, fetchurl, pkgconfig, gettext, gtk-doc, gobject-introspection, python2, gtk3, cairo, glib }:
|
||||
|
||||
let
|
||||
version = "2.0.4";
|
||||
@@ -13,7 +13,7 @@ in stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gettext gtk-doc python2 ];
|
||||
buildInputs = [ gtk3 cairo glib gobjectIntrospection ];
|
||||
buildInputs = [ gtk3 cairo glib gobject-introspection ];
|
||||
|
||||
configureFlags = [
|
||||
"--disable-python"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, ninja, vala_0_40, pkgconfig, gobjectIntrospection, gnome3, gtk3, glib, gettext }:
|
||||
{ stdenv, fetchFromGitHub, cmake, ninja, vala_0_40, pkgconfig, gobject-introspection, gnome3, gtk3, glib, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "granite";
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
gettext
|
||||
gobjectIntrospection
|
||||
gobject-introspection
|
||||
ninja
|
||||
pkgconfig
|
||||
vala_0_40 # should be `elementary.vala` when elementary attribute set is merged
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchbzr, pkgconfig, qmake, qtbase, qtdeclarative, glib, gobjectIntrospection }:
|
||||
{ stdenv, fetchbzr, pkgconfig, qmake, qtbase, qtdeclarative, glib, gobject-introspection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gsettings-qt-${version}";
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
qmake
|
||||
gobjectIntrospection
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitLab, pkgconfig, meson, ninja, glib, glib-networking
|
||||
, sqlite, gobjectIntrospection, vala, gtk-doc, libsecret, docbook_xsl
|
||||
, sqlite, gobject-introspection, vala, gtk-doc, libsecret, docbook_xsl
|
||||
, docbook_xml_dtd_43, docbook_xml_dtd_45, glibcLocales, makeWrapper
|
||||
, symlinkJoin, gsignondPlugins, plugins }:
|
||||
|
||||
@@ -22,7 +22,7 @@ unwrapped = stdenv.mkDerivation rec {
|
||||
docbook_xml_dtd_45
|
||||
docbook_xsl
|
||||
glibcLocales
|
||||
gobjectIntrospection
|
||||
gobject-introspection
|
||||
gtk-doc
|
||||
meson
|
||||
ninja
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitLab, pkgconfig, meson, ninja, vala, glib, gsignond, json-glib, libsoup, gobjectIntrospection }:
|
||||
{ stdenv, fetchFromGitLab, pkgconfig, meson, ninja, vala, glib, gsignond, json-glib, libsoup, gobject-introspection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gsignond-plugin-lastfm-${version}";
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gobjectIntrospection
|
||||
gobject-introspection
|
||||
meson
|
||||
ninja
|
||||
pkgconfig
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitLab, pkgconfig, meson, ninja, vala, glib, gsignond, gobjectIntrospection }:
|
||||
{ stdenv, fetchFromGitLab, pkgconfig, meson, ninja, vala, glib, gsignond, gobject-introspection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gsignond-plugin-mail";
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gobjectIntrospection
|
||||
gobject-introspection
|
||||
meson
|
||||
ninja
|
||||
pkgconfig
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchFromGitLab, fetchpatch, pkgconfig, meson, ninja, glib, gsignond, check
|
||||
, json-glib, libsoup, gnutls, gtk-doc, docbook_xml_dtd_43, docbook_xml_dtd_45
|
||||
, docbook_xsl, glibcLocales, gobjectIntrospection }:
|
||||
, docbook_xsl, glibcLocales, gobject-introspection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gsignond-plugin-oauth-${version}";
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
docbook_xml_dtd_45
|
||||
docbook_xsl
|
||||
glibcLocales
|
||||
gobjectIntrospection
|
||||
gobject-introspection
|
||||
gtk-doc
|
||||
meson
|
||||
ninja
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitLab, fetchpatch, pkgconfig, meson, ninja, glib, gsignond, gsasl, check
|
||||
, gtk-doc, docbook_xml_dtd_43, docbook_xml_dtd_45, docbook_xsl, glibcLocales, gobjectIntrospection }:
|
||||
, gtk-doc, docbook_xml_dtd_43, docbook_xml_dtd_45, docbook_xsl, glibcLocales, gobject-introspection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gsignond-plugin-sasl-${version}";
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
docbook_xml_dtd_45
|
||||
docbook_xsl
|
||||
glibcLocales
|
||||
gobjectIntrospection
|
||||
gobject-introspection
|
||||
gtk-doc
|
||||
meson
|
||||
ninja
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libxml2, glib, gtk3, enchant2, isocodes, vala, gobjectIntrospection, gnome3 }:
|
||||
{ stdenv, fetchurl, pkgconfig, libxml2, glib, gtk3, enchant2, isocodes, vala, gobject-introspection, gnome3 }:
|
||||
|
||||
let
|
||||
pname = "gspell";
|
||||
@@ -16,7 +16,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
propagatedBuildInputs = [ enchant2 ]; # required for pkgconfig
|
||||
|
||||
nativeBuildInputs = [ pkgconfig vala gobjectIntrospection libxml2 ];
|
||||
nativeBuildInputs = [ pkgconfig vala gobject-introspection libxml2 ];
|
||||
buildInputs = [ glib gtk3 isocodes ];
|
||||
|
||||
passthru = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gobjectIntrospection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, libsoup, gtk3, glib }:
|
||||
{ stdenv, fetchurl, pkgconfig, gobject-introspection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, libsoup, gtk3, glib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gssdp-${version}";
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1p1m2m3ndzr2whipqw4vfb6s6ia0g7rnzzc4pnq8b8g1qw4prqd1";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gobjectIntrospection vala gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
||||
nativeBuildInputs = [ pkgconfig gobject-introspection vala gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
||||
buildInputs = [ libsoup gtk3 ];
|
||||
propagatedBuildInputs = [ glib ];
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, fetchpatch, lib
|
||||
, pkgconfig, meson, ninja, gettext, gobjectIntrospection
|
||||
, pkgconfig, meson, ninja, gettext, gobject-introspection
|
||||
, python3, gstreamer, orc, pango, libtheora
|
||||
, libintl, libopus
|
||||
, enableX11 ? stdenv.isLinux, libXv
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig python3 gettext gobjectIntrospection ]
|
||||
nativeBuildInputs = [ pkgconfig python3 gettext gobject-introspection ]
|
||||
|
||||
# Broken meson with Darwin. Should hopefully be fixed soon. Tracking
|
||||
# in https://bugzilla.gnome.org/show_bug.cgi?id=781148.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, fetchpatch, meson, ninja
|
||||
, pkgconfig, gettext, gobjectIntrospection
|
||||
, pkgconfig, gettext, gobject-introspection
|
||||
, bison, flex, python3, glib, makeWrapper
|
||||
, libcap,libunwind, darwin
|
||||
, lib
|
||||
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
outputBin = "dev";
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson ninja pkgconfig gettext bison flex python3 makeWrapper gobjectIntrospection
|
||||
meson ninja pkgconfig gettext bison flex python3 makeWrapper gobject-introspection
|
||||
];
|
||||
buildInputs =
|
||||
lib.optionals stdenv.isLinux [ libcap libunwind ]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, fetchpatch, meson, ninja
|
||||
, pkgconfig, python, gst-plugins-base, libxml2
|
||||
, flex, perl, gettext, gobjectIntrospection
|
||||
, flex, perl, gettext, gobject-introspection
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gettext gobjectIntrospection python flex perl ];
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gettext gobject-introspection python flex perl ];
|
||||
|
||||
propagatedBuildInputs = [ gst-plugins-base libxml2 ];
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, meson, ninja, pkgconfig
|
||||
, gst-plugins-base, gettext, gobjectIntrospection
|
||||
, gst-plugins-base, gettext, gobject-introspection
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ meson ninja gettext gobjectIntrospection pkgconfig ];
|
||||
nativeBuildInputs = [ meson ninja gettext gobject-introspection pkgconfig ];
|
||||
|
||||
buildInputs = [ gst-plugins-base ];
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gstreamer, gst-plugins-base
|
||||
, python, gobjectIntrospection, json-glib
|
||||
, python, gobject-introspection, json-glib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig gobjectIntrospection
|
||||
pkgconfig gobject-introspection
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gettext, glib, atk, pango, cairo, perl, xorg
|
||||
, gdk_pixbuf, xlibsWrapper, gobjectIntrospection
|
||||
, gdk_pixbuf, xlibsWrapper, gobject-introspection
|
||||
, xineramaSupport ? stdenv.isLinux
|
||||
, cupsSupport ? true, cups ? null
|
||||
, gdktarget ? if stdenv.isDarwin then "quartz" else "x11"
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
nativeBuildInputs = [ setupHook perl pkgconfig gettext gobjectIntrospection ];
|
||||
nativeBuildInputs = [ setupHook perl pkgconfig gettext gobject-introspection ];
|
||||
|
||||
patches = [
|
||||
./2.0-immodules.cache.patch
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, fetchpatch, pkgconfig, gettext, perl, makeWrapper, shared-mime-info
|
||||
, expat, glib, cairo, pango, gdk_pixbuf, atk, at-spi2-atk, gobjectIntrospection
|
||||
, expat, glib, cairo, pango, gdk_pixbuf, atk, at-spi2-atk, gobject-introspection
|
||||
, xorg, epoxy, json-glib, libxkbcommon, gmp, gnome3
|
||||
, x11Support ? stdenv.isLinux
|
||||
, waylandSupport ? stdenv.isLinux, mesa_noglu, wayland, wayland-protocols
|
||||
@@ -13,20 +13,20 @@ assert cupsSupport -> cups != null;
|
||||
with stdenv.lib;
|
||||
|
||||
let
|
||||
version = "3.22.30";
|
||||
version = "3.24.1";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gtk+3-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gtk+/${stdenv.lib.versions.majorMinor version}/gtk+-${version}.tar.xz";
|
||||
sha256 = "0rv5k8fyi2i19k4zncai6vf429s6zy3kncr8vb6f3m034z0sb951";
|
||||
sha256 = "0bxhsp7cjph7szg1iyv16nwi60bz59x1smjkqv6sv6mr0zipnf38";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
outputBin = "dev";
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gettext gobjectIntrospection perl makeWrapper ];
|
||||
nativeBuildInputs = [ pkgconfig gettext gobject-introspection perl makeWrapper ];
|
||||
|
||||
patches = [
|
||||
./3.0-immodules.cache.patch
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig, glib, gtk-doc, gtk, gobjectIntrospection }:
|
||||
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig, glib, gtk-doc, gtk, gobject-introspection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gtk-mac-integration-2.0.8";
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1fbhnvj0rqc3089ypvgnpkp6ad2rr37v5qk38008dgamb9h7f3qs";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig gtk-doc gobjectIntrospection ];
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig gtk-doc gobject-introspection ];
|
||||
buildInputs = [ glib ];
|
||||
propagatedBuildInputs = [ gtk ];
|
||||
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{ stdenv, fetchurl, pkgconfig, atk, cairo, glib, gtk3, pango, vala_0_40
|
||||
, libxml2, perl, intltool, gettext, gnome3, gobjectIntrospection, dbus, xvfb_run, shared-mime-info }:
|
||||
, libxml2, perl, intltool, gettext, gnome3, gobject-introspection, dbus, xvfb_run, shared-mime-info }:
|
||||
|
||||
let
|
||||
checkInputs = [ xvfb_run dbus ];
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "gtksourceview-${version}";
|
||||
version = "3.24.6";
|
||||
version = "3.24.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gtksourceview/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "7aa6bdfebcdc73a763dddeaa42f190c40835e6f8495bb9eb8f78587e2577c188";
|
||||
sha256 = "1zinqid62zjcsq7vy1y4mq1qh3hzd3zj7p8np7g0bdqd37zvi6qy";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -21,7 +21,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig intltool perl gobjectIntrospection vala_0_40 ]
|
||||
nativeBuildInputs = [ pkgconfig intltool perl gobject-introspection vala_0_40 ]
|
||||
++ stdenv.lib.optionals doCheck checkInputs;
|
||||
|
||||
buildInputs = [ atk cairo glib pango libxml2 gettext ];
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{ stdenv, fetchurl, pkgconfig, atk, cairo, glib, gtk3, pango, vala_0_40
|
||||
, libxml2, perl, gettext, gnome3, gobjectIntrospection, dbus, xvfb_run, shared-mime-info }:
|
||||
, libxml2, perl, gettext, gnome3, gobject-introspection, dbus, xvfb_run, shared-mime-info }:
|
||||
|
||||
let
|
||||
checkInputs = [ xvfb_run dbus ];
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "gtksourceview-${version}";
|
||||
version = "4.0.0";
|
||||
version = "4.0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gtksourceview/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "0amkspjsvxr3rjznmnwjwsgw030hayf6bw49ya4nligslwl7lp3f";
|
||||
sha256 = "0wwxgw43dmmaz07lzdzpladir26l2bly3lnf2ks6pna152wafm9x";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -21,7 +21,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gettext perl gobjectIntrospection vala_0_40 ]
|
||||
nativeBuildInputs = [ pkgconfig gettext perl gobject-introspection vala_0_40 ]
|
||||
++ stdenv.lib.optionals doCheck checkInputs;
|
||||
|
||||
buildInputs = [ atk cairo glib pango libxml2 ];
|
||||
@@ -41,7 +41,7 @@ in stdenv.mkDerivation rec {
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = "gtksourceview";
|
||||
attrPath = "gnome3.gtksourceview";
|
||||
attrPath = "gtksourceview4";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, gtk3, aspell, pkgconfig, enchant2, isocodes, intltool, gobjectIntrospection, vala}:
|
||||
{stdenv, fetchurl, gtk3, aspell, pkgconfig, enchant2, isocodes, intltool, gobject-introspection, vala}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gtkspell-${version}";
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0cjp6xdcnzh6kka42w9g0w2ihqjlq8yl8hjm9wsfnixk6qwgch5h";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig intltool gobjectIntrospection vala ];
|
||||
nativeBuildInputs = [ pkgconfig intltool gobject-introspection vala ];
|
||||
buildInputs = [ aspell gtk3 enchant2 isocodes ];
|
||||
propagatedBuildInputs = [ enchant2 ];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gobjectIntrospection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, gupnp, glib, libxml2 }:
|
||||
{ stdenv, fetchurl, pkgconfig, gobject-introspection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, gupnp, glib, libxml2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gupnp-av-${version}";
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0nmq6wlbfsssanv3jgv2z0nhfkv8vzfr3gq5qa8svryvvn2fyf40";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gobjectIntrospection vala gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
||||
nativeBuildInputs = [ pkgconfig gobject-introspection vala gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
||||
buildInputs = [ gupnp glib libxml2 ];
|
||||
|
||||
configureFlags = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gobjectIntrospection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, gupnp, gst_all_1 }:
|
||||
{ stdenv, fetchurl, pkgconfig, gobject-introspection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, gupnp, gst_all_1 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gupnp-dlna-${version}";
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gobjectIntrospection vala gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
||||
nativeBuildInputs = [ pkgconfig gobject-introspection vala gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
||||
buildInputs = [ gupnp gst_all_1.gst-plugins-base ];
|
||||
|
||||
configureFlags = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gettext, gobjectIntrospection, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, gupnp }:
|
||||
{ stdenv, fetchurl, pkgconfig, gettext, gobject-introspection, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, gupnp }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gupnp-igd-${version}";
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "081v1vhkbz3wayv49xfiskvrmvnpx93k25am2wnarg5cifiiljlb";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gettext gobjectIntrospection gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
||||
nativeBuildInputs = [ pkgconfig gettext gobject-introspection gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
||||
propagatedBuildInputs = [ glib gupnp ];
|
||||
|
||||
configureFlags = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gobjectIntrospection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, docbook_xml_dtd_44, glib, gssdp, libsoup, libxml2, libuuid }:
|
||||
{ stdenv, fetchurl, pkgconfig, gobject-introspection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, docbook_xml_dtd_44, glib, gssdp, libsoup, libxml2, libuuid }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gupnp-${version}";
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
./fix-requires.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gobjectIntrospection vala gtk-doc docbook_xsl docbook_xml_dtd_412 docbook_xml_dtd_44 ];
|
||||
nativeBuildInputs = [ pkgconfig gobject-introspection vala gtk-doc docbook_xsl docbook_xml_dtd_412 docbook_xml_dtd_44 ];
|
||||
propagatedBuildInputs = [ glib gssdp libsoup libxml2 libuuid ];
|
||||
|
||||
configureFlags = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, gobjectIntrospection
|
||||
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, gobject-introspection
|
||||
, gtk-doc, docbook_xsl, docbook_xml_dtd_412, docbook_xml_dtd_44
|
||||
, glib, systemd, libusb1, vala, hwdata
|
||||
}:
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [
|
||||
meson ninja pkgconfig gettext
|
||||
gtk-doc docbook_xsl docbook_xml_dtd_412 docbook_xml_dtd_44
|
||||
gobjectIntrospection vala
|
||||
gobject-introspection vala
|
||||
];
|
||||
buildInputs = [ systemd glib ];
|
||||
|
||||
|
||||
@@ -1,83 +1,59 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gettext, gnome3
|
||||
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, gnome3, dbus
|
||||
, glib, libgudev, udisks2, libgcrypt, libcap, polkit
|
||||
, libgphoto2, avahi, libarchive, fuse, libcdio
|
||||
, libxml2, libxslt, docbook_xsl, docbook_xml_dtd_42, samba, libmtp
|
||||
, gnomeSupport ? false, gnome, makeWrapper
|
||||
, libimobiledevice, libbluray, libcdio-paranoia, libnfs, openssh
|
||||
, libsecret, libgdata, python3
|
||||
# Remove when switching back to meson
|
||||
, autoreconfHook, lzma, bzip2
|
||||
}:
|
||||
|
||||
# TODO: switch to meson when upstream fixes a non-deterministic build failure
|
||||
# See https://bugzilla.gnome.org/show_bug.cgi?id=794549
|
||||
|
||||
# Meson specific things are commented out and annotated, so switching back
|
||||
# should simply require deleting autotools specific things and adding back meson
|
||||
# flags etc.
|
||||
|
||||
let
|
||||
pname = "gvfs";
|
||||
version = "1.36.2";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.38.1";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "1xq105596sk9yram5a143b369wpaiiwc9gz86n0j1kfr7nipkqn4";
|
||||
sha256 = "18311pn5kp9b4kf5prvhcjs0cwf7fm3mqh6s6p42avcr5j26l4zd";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# patchShebangs requires executable file
|
||||
chmod +x codegen.py meson_post_install.py
|
||||
patchShebangs meson_post_install.py
|
||||
patchShebangs codegen.py
|
||||
patchShebangs test test-driver
|
||||
'';
|
||||
|
||||
# Uncomment when switching back to meson
|
||||
# postPatch = ''
|
||||
# chmod +x meson_post_install.py # patchShebangs requires executable file
|
||||
# patchShebangs meson_post_install.py
|
||||
# '';
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook # Remove when switching to meson
|
||||
# meson ninja
|
||||
meson ninja python3
|
||||
pkgconfig gettext makeWrapper
|
||||
libxml2 libxslt docbook_xsl docbook_xml_dtd_42
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[ glib libgudev udisks2 libgcrypt
|
||||
libgphoto2 avahi libarchive fuse libcdio
|
||||
samba libmtp libcap polkit libimobiledevice libbluray
|
||||
libcdio-paranoia libnfs openssh
|
||||
# Remove when switching back to meson
|
||||
lzma bzip2
|
||||
# ToDo: a ligther version of libsoup to have FTP/HTTP support?
|
||||
] ++ stdenv.lib.optionals gnomeSupport (with gnome; [
|
||||
libsoup gcr
|
||||
gnome-online-accounts libsecret libgdata
|
||||
]);
|
||||
buildInputs = [
|
||||
glib libgudev udisks2 libgcrypt dbus
|
||||
libgphoto2 avahi libarchive fuse libcdio
|
||||
samba libmtp libcap polkit libimobiledevice libbluray
|
||||
libcdio-paranoia libnfs openssh
|
||||
# ToDo: a ligther version of libsoup to have FTP/HTTP support?
|
||||
] ++ stdenv.lib.optionals gnomeSupport (with gnome; [
|
||||
libsoup gcr
|
||||
gnome-online-accounts libsecret libgdata
|
||||
]);
|
||||
|
||||
# Remove when switching back to meson
|
||||
configureFlags = stdenv.lib.optional (!gnomeSupport) "--disable-gcr";
|
||||
mesonFlags = [
|
||||
"-Dsystemduserunitdir=${placeholder "out"}/lib/systemd/user"
|
||||
"-Dtmpfilesdir=no"
|
||||
] ++ stdenv.lib.optionals (!gnomeSupport) [
|
||||
"-Dgcr=false" "-Dgoa=false" "-Dkeyring=false" "-Dhttp=false"
|
||||
"-Dgoogle=false"
|
||||
] ++ stdenv.lib.optionals (samba == null) [
|
||||
# Xfce don't want samba
|
||||
"-Dsmb=false"
|
||||
];
|
||||
|
||||
# Uncomment when switching back to meson
|
||||
# mesonFlags = [
|
||||
# "-Dgio_module_dir=${placeholder "out"}/lib/gio/modules"
|
||||
# "-Dsystemduserunitdir=${placeholder "out"}/lib/systemd/user"
|
||||
# "-Ddbus_service_dir=${placeholder "out"}/share/dbus-1/services"
|
||||
# "-Dtmpfilesdir=no"
|
||||
# ] ++ stdenv.lib.optionals (!gnomeSupport) [
|
||||
# "-Dgcr=false" "-Dgoa=false" "-Dkeyring=false" "-Dhttp=false"
|
||||
# "-Dgoogle=false"
|
||||
# ] ++ stdenv.lib.optionals (samba == null) [
|
||||
# # Xfce don't want samba
|
||||
# "-Dsmb=false"
|
||||
# ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
checkInputs = [ python3 ];
|
||||
doCheck = false; # fails with "ModuleNotFoundError: No module named 'gi'"
|
||||
doInstallCheck = doCheck;
|
||||
|
||||
|
||||
35
pkgs/development/libraries/ilmbase/cross.patch
Normal file
35
pkgs/development/libraries/ilmbase/cross.patch
Normal file
@@ -0,0 +1,35 @@
|
||||
From: Helmut Grohne <>
|
||||
Subject: compile build tools with the build architecture compiler
|
||||
|
||||
Patch-Source: https://github.com/openexr/openexr/issues/221
|
||||
|
||||
Index: ilmbase-2.2.0/configure.ac
|
||||
===================================================================
|
||||
--- ilmbase-2.2.0.orig/configure.ac
|
||||
+++ ilmbase-2.2.0/configure.ac
|
||||
@@ -28,6 +28,7 @@
|
||||
AC_PROG_LN_S
|
||||
AC_PROG_LIBTOOL
|
||||
AC_PROG_MAKE_SET
|
||||
+AX_PROG_CXX_FOR_BUILD
|
||||
|
||||
dnl
|
||||
dnl PKGCONFIG preparations
|
||||
Index: ilmbase-2.2.0/Half/Makefile.am
|
||||
===================================================================
|
||||
--- ilmbase-2.2.0.orig/Half/Makefile.am
|
||||
+++ ilmbase-2.2.0/Half/Makefile.am
|
||||
@@ -17,9 +17,11 @@
|
||||
|
||||
CLEANFILES = eLut eLut.h toFloat toFloat.h
|
||||
|
||||
-eLut_SOURCES = eLut.cpp
|
||||
+eLut$(EXEEXT): eLut.cpp
|
||||
+ $(CXX_FOR_BUILD) $(CXXFLAGS_FOR_BUILD) $< -o $@
|
||||
|
||||
-toFloat_SOURCES = toFloat.cpp
|
||||
+toFloat$(EXEEXT): toFloat.cpp
|
||||
+ $(CXX_FOR_BUILD) $(CXXFLAGS_FOR_BUILD) $< -o $@
|
||||
|
||||
eLut.h: eLut
|
||||
./eLut > eLut.h
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, automake, autoconf, libtool, which }:
|
||||
{ stdenv, fetchurl, buildPackages, automake, autoconf, libtool, which }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ilmbase-${version}";
|
||||
@@ -16,11 +16,12 @@ stdenv.mkDerivation rec {
|
||||
./bootstrap
|
||||
'';
|
||||
|
||||
buildInputs = [ automake autoconf libtool which ];
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = [ automake autoconf libtool which ];
|
||||
|
||||
NIX_CFLAGS_LINK = [ "-pthread" ];
|
||||
|
||||
patches = [ ./bootstrap.patch ];
|
||||
patches = [ ./bootstrap.patch ./cross.patch ];
|
||||
|
||||
# fails 1 out of 1 tests with
|
||||
# "lt-ImathTest: testBoxAlgo.cpp:892: void {anonymous}::boxMatrixTransform(): Assertion `b21 == b2' failed"
|
||||
|
||||
@@ -1,30 +1,22 @@
|
||||
{ stdenv, fetchurl, fetchpatch, glib, meson, ninja, pkgconfig, gettext
|
||||
, gobjectIntrospection, fixDarwinDylibNames, gnome3
|
||||
{ stdenv, fetchurl, glib, meson, ninja, pkgconfig, gettext
|
||||
, gobject-introspection, fixDarwinDylibNames, gnome3
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "json-glib";
|
||||
version = "1.4.2";
|
||||
version = "1.4.4";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "2d7709a44749c7318599a6829322e081915bdc73f5be5045882ed120bb686dc8";
|
||||
sha256 = "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ glib ];
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gettext gobjectIntrospection ];
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gettext gobject-introspection ];
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||
|
||||
patches = [
|
||||
# https://gitlab.gnome.org/GNOME/json-glib/issues/27
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.gnome.org/GNOME/json-glib/merge_requests/2.diff";
|
||||
sha256 = "0pf006jxj1ki7a0w4ykxm6b24m0wafrhpdcmixsw9x83m227156c";
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, meson, ninja, glib, json-glib, pkgconfig, gobjectIntrospection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_43, gnome3 }:
|
||||
{ stdenv, fetchurl, meson, ninja, glib, json-glib, pkgconfig, gobject-introspection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_43, gnome3 }:
|
||||
let
|
||||
version = "3.28.1";
|
||||
version = "3.30.0";
|
||||
pname = "jsonrpc-glib";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
@@ -8,12 +8,12 @@ stdenv.mkDerivation {
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection vala gtk-doc docbook_xsl docbook_xml_dtd_43 ];
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection vala gtk-doc docbook_xsl docbook_xml_dtd_43 ];
|
||||
buildInputs = [ glib json-glib ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0avff2ldjvwrb8rnzlgslagdjf6x7bmdx69rsq20k6f38icw4ang";
|
||||
sha256 = "0z7v2kld9gyh0faarbs82vrdvg8h6a01x9mxlrwkxbghjgmq05w4";
|
||||
};
|
||||
|
||||
mesonFlags = [
|
||||
|
||||
@@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
|
||||
description = "MIT Kerberos 5";
|
||||
homepage = http://web.mit.edu/kerberos/;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
platforms = platforms.unix ++ platforms.windows;
|
||||
maintainers = with maintainers; [ wkennington ];
|
||||
};
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, autoconf, automake, libtool, pkgconfig, gnome3
|
||||
, gtk-doc, gtk2, python2Packages, lua, gobjectIntrospection
|
||||
, gtk-doc, gtk2, python2Packages, lua, gobject-introspection
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -17,7 +17,7 @@ in stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
autoconf automake libtool gnome3.gnome-common gtk-doc gtk2
|
||||
python pygtk lua gobjectIntrospection
|
||||
python pygtk lua gobject-introspection
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, gnome3
|
||||
, gtk-doc, gtk3, libX11, libXext, libXrender, gobjectIntrospection
|
||||
, gtk-doc, gtk3, libX11, libXext, libXrender, gobject-introspection
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ autoconf automake libtool pkgconfig ];
|
||||
buildInputs = [
|
||||
gnome3.gnome-common gtk-doc gtk3
|
||||
libX11 libXext libXrender gobjectIntrospection
|
||||
libX11 libXext libXrender gobject-introspection
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, autoconf, automake, autoreconfHook, fetchurl, glib, gobjectIntrospection, gtk-doc, libtool, libxml2, libxslt, openssl, pkgconfig, python27Packages, xmlsec, zlib }:
|
||||
{ stdenv, autoconf, automake, autoreconfHook, fetchurl, glib, gobject-introspection, gtk-doc, libtool, libxml2, libxslt, openssl, pkgconfig, python27Packages, xmlsec, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ autoconf automake glib gobjectIntrospection gtk-doc libtool libxml2 libxslt openssl python27Packages.six xmlsec zlib ];
|
||||
buildInputs = [ autoconf automake glib gobject-introspection gtk-doc libtool libxml2 libxslt openssl python27Packages.six xmlsec zlib ];
|
||||
|
||||
configurePhase = ''
|
||||
./configure --with-pkg-config=$PKG_CONFIG_PATH \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitLab, meson, ninja, glib, check, python3, vala, gtk-doc, glibcLocales
|
||||
, libxml2, libxslt, pkgconfig, sqlite, docbook_xsl, docbook_xml_dtd_43, gobjectIntrospection }:
|
||||
, libxml2, libxslt, pkgconfig, sqlite, docbook_xsl, docbook_xml_dtd_43, gobject-introspection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libaccounts-glib-${version}";
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
docbook_xml_dtd_43
|
||||
docbook_xsl
|
||||
glibcLocales
|
||||
gobjectIntrospection
|
||||
gobject-introspection
|
||||
gtk-doc
|
||||
meson
|
||||
ninja
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
, glib, dbus-glib, gtkVersion ? "3"
|
||||
, gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null
|
||||
, gtk3 ? null, libindicator-gtk3 ? null, libdbusmenu-gtk3 ? null
|
||||
, python2Packages, gobjectIntrospection, vala
|
||||
, python2Packages, gobject-introspection, vala
|
||||
, monoSupport ? false, mono ? null, gtk-sharp-2_0 ? null
|
||||
}:
|
||||
|
||||
@@ -34,7 +34,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
glib dbus-glib
|
||||
python pygobject2 pygtk gobjectIntrospection vala
|
||||
python pygobject2 pygtk gobject-introspection vala
|
||||
] ++ (if gtkVersion == "2"
|
||||
then [ libindicator-gtk2 ] ++ optionals monoSupport [ mono gtk-sharp-2_0 ]
|
||||
else [ libindicator-gtk3 ]);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk-doc, libxslt, docbook_xsl
|
||||
, docbook_xml_dtd_43, python3, gobjectIntrospection, glib, udev, kmod, parted, libyaml
|
||||
, docbook_xml_dtd_43, python3, gobject-introspection, glib, udev, kmod, parted, libyaml
|
||||
, cryptsetup, lvm2, dmraid, utillinux, libbytesize, libndctl, nss, volume_key
|
||||
}:
|
||||
|
||||
@@ -22,7 +22,7 @@ in stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook pkgconfig gtk-doc libxslt docbook_xsl docbook_xml_dtd_43 python3 gobjectIntrospection
|
||||
autoreconfHook pkgconfig gtk-doc libxslt docbook_xsl docbook_xml_dtd_43 python3 gobject-introspection
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ fetchurl, stdenv, pkgconfig, glib, gtk3, cairo, sqlite, gnome3
|
||||
, clutter-gtk, libsoup, gobjectIntrospection /*, libmemphis */ }:
|
||||
, clutter-gtk, libsoup, gobject-introspection /*, libmemphis */ }:
|
||||
|
||||
let
|
||||
pname = "libchamplain";
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
|
||||
nativeBuildInputs = [ pkgconfig gobject-introspection ];
|
||||
|
||||
propagatedBuildInputs = [ glib gtk3 cairo clutter-gtk sqlite libsoup ];
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ libevent openssl ];
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
checkPhase = "ctest";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "C client library for Couchbase";
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ stdenv, fetchurl, ninja, meson, pkgconfig, vala, gobjectIntrospection, libxml2
|
||||
, gtk-doc, docbook_xsl, dbus, xvfb_run, glib, gtk3, gnome3 }:
|
||||
{ stdenv, fetchurl, ninja, meson, pkgconfig, vala, gobject-introspection, libxml2
|
||||
, gtk-doc, docbook_xsl, docbook_xml_dtd_43, glibcLocales, dbus, xvfb_run, glib, gtk3, gnome3 }:
|
||||
|
||||
let
|
||||
version = "3.28.5";
|
||||
version = "3.30.2";
|
||||
pname = "libdazzle";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
@@ -13,17 +13,20 @@ stdenv.mkDerivation {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/libdazzle/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "08qdwv2flywnh6kibkyv0pnm67pk8xlmjh4yqx6hf13hyhkxkqgg";
|
||||
sha256 = "1m9n1gcxndly24rjkxzvmx02a2rkb6ad4cy7p6ncanm1kyp0wxvq";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ninja meson pkgconfig vala gobjectIntrospection libxml2 gtk-doc docbook_xsl dbus xvfb_run ];
|
||||
nativeBuildInputs = [ ninja meson pkgconfig vala gobject-introspection libxml2 gtk-doc docbook_xsl docbook_xml_dtd_43 glibcLocales dbus xvfb_run ];
|
||||
buildInputs = [ glib gtk3 ];
|
||||
|
||||
mesonFlags = [
|
||||
"-Denable_gtk_doc=true"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
# https://gitlab.gnome.org/GNOME/libdazzle/issues/25
|
||||
doCheck = false;
|
||||
|
||||
checkPhase = ''
|
||||
export NO_AT_BRIDGE=1
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchurl, lib, file
|
||||
, pkgconfig, intltool
|
||||
, glib, dbus-glib, json-glib
|
||||
, gobjectIntrospection, vala_0_38, gnome-doc-utils
|
||||
, gobject-introspection, vala_0_38, gnome-doc-utils
|
||||
, gtkVersion ? null, gtk2 ? null, gtk3 ? null }:
|
||||
|
||||
with lib;
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
glib dbus-glib json-glib
|
||||
gobjectIntrospection vala_0_38 gnome-doc-utils
|
||||
gobject-introspection vala_0_38 gnome-doc-utils
|
||||
] ++ optional (gtkVersion != null) (if gtkVersion == "2" then gtk2 else gtk3);
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, python }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libevdev-1.5.9";
|
||||
name = "libevdev-1.6.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.freedesktop.org/software/libevdev/${name}.tar.xz";
|
||||
sha256 = "0xca343ff12wh6nsq76r0nbsfrm8dypjrzm4fqz9vv9v8i8kfrp1";
|
||||
sha256 = "057qdrwbhql2lvr4kxljk3yqjsmh65hyrfbr2b681nc7b635q07m";
|
||||
};
|
||||
|
||||
buildInputs = [ python ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, vala, gobjectIntrospection, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, libxml2, libsoup, gnome3 }:
|
||||
{ stdenv, fetchurl, pkgconfig, vala, gobject-introspection, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, libxml2, libsoup, gnome3 }:
|
||||
|
||||
let
|
||||
version = "0.7.0";
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig vala gobjectIntrospection gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
||||
nativeBuildInputs = [ pkgconfig vala gobject-introspection gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
||||
buildInputs = [ glib libxml2 libsoup ];
|
||||
|
||||
configureFlags = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fetchpatch, glib, pkgconfig, perl, gettext, gobjectIntrospection, libtool, gnome3, gtk-doc }:
|
||||
{ stdenv, fetchurl, fetchpatch, glib, pkgconfig, perl, gettext, gobject-introspection, libtool, gnome3, gtk-doc }:
|
||||
let
|
||||
pname = "libgtop";
|
||||
version = "2.38.0";
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ glib ];
|
||||
nativeBuildInputs = [ pkgconfig gnome3.gnome-common libtool gtk-doc perl gettext gobjectIntrospection ];
|
||||
nativeBuildInputs = [ pkgconfig gnome3.gnome-common libtool gtk-doc perl gettext gobject-introspection ];
|
||||
|
||||
preConfigure = ''
|
||||
./autogen.sh
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, udev, glib, gobjectIntrospection, gnome3 }:
|
||||
{ stdenv, fetchurl, pkgconfig, udev, glib, gobject-introspection, gnome3 }:
|
||||
|
||||
let
|
||||
pname = "libgudev";
|
||||
@@ -13,7 +13,7 @@ in stdenv.mkDerivation rec {
|
||||
sha256 = "ee4cb2b9c573cdf354f6ed744f01b111d4b5bed3503ffa956cefff50489c7860";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
|
||||
nativeBuildInputs = [ pkgconfig gobject-introspection ];
|
||||
buildInputs = [ udev glib ];
|
||||
|
||||
# There's a dependency cycle with umockdev and the tests fail to LD_PRELOAD anyway.
|
||||
|
||||
54
pkgs/development/libraries/libhandy/default.nix
Normal file
54
pkgs/development/libraries/libhandy/default.nix
Normal file
@@ -0,0 +1,54 @@
|
||||
{ stdenv, fetchFromGitLab, meson, ninja, pkgconfig, gobject-introspection, vala
|
||||
, gtk-doc, docbook_xsl, docbook_xml_dtd_43
|
||||
, gtk3, gnome3
|
||||
, dbus, xvfb_run, libxml2
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "libhandy";
|
||||
version = "0.0.5";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" "glade" ];
|
||||
outputBin = "dev";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "source.puri.sm";
|
||||
owner = "Librem5";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0h25ckdfx3slc2mn4vi06bhw42nrqpzn75i9d7wby9iq0cl13l08";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson ninja pkgconfig gobject-introspection vala
|
||||
gtk-doc docbook_xsl docbook_xml_dtd_43
|
||||
];
|
||||
buildInputs = [ gnome3.gnome-desktop gtk3 gnome3.glade libxml2 ];
|
||||
checkInputs = [ dbus xvfb_run ];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dgtk_doc=true"
|
||||
];
|
||||
|
||||
PKG_CONFIG_GLADEUI_2_0_MODULEDIR = "${placeholder "glade"}/lib/glade/modules";
|
||||
PKG_CONFIG_GLADEUI_2_0_CATALOGDIR = "${placeholder "glade"}/share/glade/catalogs";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkPhase = ''
|
||||
export NO_AT_BRIDGE=1
|
||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
meson test --print-errorlogs
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A library full of GTK+ widgets for mobile phones";
|
||||
homepage = https://source.puri.sm/Librem5/libhandy;
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ jtojnar ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, meson, ninja, makeFontsConf
|
||||
, gnome3, glib, json-glib, libarchive, libsoup, gobjectIntrospection }:
|
||||
{ stdenv, fetchurl, pkgconfig, meson, ninja, makeFontsConf, vala_0_40
|
||||
, gnome3, glib, json-glib, libarchive, libsoup, gobject-introspection }:
|
||||
|
||||
let
|
||||
pname = "libhttpseverywhere";
|
||||
@@ -12,7 +12,8 @@ in stdenv.mkDerivation rec {
|
||||
sha256 = "1jmn6i4vsm89q1axlq4ajqkzqmlmjaml9xhw3h9jnal46db6y00w";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ gnome3.vala gobjectIntrospection meson ninja pkgconfig ];
|
||||
# Broken with newest Vala https://gitlab.gnome.org/GNOME/libhttpseverywhere/issues/1
|
||||
nativeBuildInputs = [ vala_0_40 gobject-introspection meson ninja pkgconfig ];
|
||||
buildInputs = [ glib gnome3.libgee json-glib libsoup libarchive ];
|
||||
|
||||
mesonFlags = [ "-Denable_valadoc=true" ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, perl, pkgconfig, cmake, ninja, vala, gobjectIntrospection
|
||||
{ stdenv, fetchFromGitHub, perl, pkgconfig, cmake, ninja, vala, gobject-introspection
|
||||
, python3, tzdata, gtk-doc, docbook_xsl, docbook_xml_dtd_43, glib, libxml2, icu }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
perl pkgconfig cmake ninja vala gobjectIntrospection
|
||||
perl pkgconfig cmake ninja vala gobject-introspection
|
||||
(python3.withPackages (pkgs: with pkgs; [ pygobject3 ])) # running libical-glib tests
|
||||
gtk-doc docbook_xsl docbook_xml_dtd_43 # docs
|
||||
];
|
||||
@@ -35,6 +35,7 @@ stdenv.mkDerivation rec {
|
||||
# Using install check so we do not have to manually set
|
||||
# LD_LIBRARY_PATH and GI_TYPELIB_PATH variables
|
||||
doInstallCheck = true;
|
||||
enableParallelChecking = false;
|
||||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
, pkgconfig, autoconf
|
||||
, glib, dbus-glib, libdbusmenu
|
||||
, gtkVersion ? "3", gtk2 ? null, gtk3 ? null
|
||||
, pythonPackages, gobjectIntrospection, vala, gnome-doc-utils
|
||||
, pythonPackages, gobject-introspection, vala, gnome-doc-utils
|
||||
, monoSupport ? false, mono ? null, gtk-sharp-2_0 ? null
|
||||
}:
|
||||
|
||||
@@ -24,7 +24,7 @@ in stdenv.mkDerivation rec {
|
||||
sha256 = "10am0ymajx633b33anf6b79j37k61z30v9vaf5f9fwk1x5cw1q21";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig autoconf gobjectIntrospection vala gnome-doc-utils ];
|
||||
nativeBuildInputs = [ pkgconfig autoconf gobject-introspection vala gnome-doc-utils ];
|
||||
|
||||
buildInputs = [
|
||||
glib dbus-glib libdbusmenu
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ gtkWidgets ? false # build GTK widgets for libinfinity
|
||||
, avahiSupport ? false # build support for Avahi in libinfinity
|
||||
, stdenv, fetchurl, pkgconfig, glib, libxml2, gnutls, gsasl
|
||||
, gobjectIntrospection
|
||||
, gobject-introspection
|
||||
, gtk3 ? null, gtk-doc, docbook_xsl, docbook_xml_dtd_412, avahi ? null, libdaemon, libidn, gss
|
||||
, libintl }:
|
||||
|
||||
@@ -21,7 +21,7 @@ let
|
||||
|
||||
outputs = [ "bin" "out" "dev" "man" "devdoc" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gtk-doc docbook_xsl docbook_xml_dtd_412 gobjectIntrospection ];
|
||||
nativeBuildInputs = [ pkgconfig gtk-doc docbook_xsl docbook_xml_dtd_412 gobject-introspection ];
|
||||
buildInputs = [ glib libxml2 gsasl libidn gss libintl libdaemon ]
|
||||
++ stdenv.lib.optional gtkWidgets gtk3
|
||||
++ stdenv.lib.optional avahiSupport avahi;
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
{ stdenv, fetchurl, nasm
|
||||
}:
|
||||
{ stdenv, fetchurl, cmake, nasm }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libjpeg-turbo-${version}";
|
||||
version = "1.5.3";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/libjpeg-turbo/${name}.tar.gz";
|
||||
sha256 = "08r5b5mywwrxv4axvq80dm31cklz81grczlzlxr2xqa6pgi90j5j";
|
||||
}; # github releases still need autotools, surprisingly
|
||||
sha256 = "1zv6z093l3x3jzygvni7b819j7xhn6d63jhcdrckj7fz67n6ry75";
|
||||
};
|
||||
|
||||
patches =
|
||||
stdenv.lib.optional (stdenv.hostPlatform.libc or null == "msvcrt")
|
||||
@@ -16,12 +15,20 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "bin" "dev" "out" "man" "doc" ];
|
||||
|
||||
nativeBuildInputs = [ nasm ];
|
||||
nativeBuildInputs = [ cmake nasm ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
preConfigure = ''
|
||||
cmakeFlagsArray+=(
|
||||
"-DCMAKE_INSTALL_BINDIR=$bin/bin"
|
||||
"-DENABLE_STATIC=0"
|
||||
)
|
||||
'';
|
||||
|
||||
doCheck = true; # not cross;
|
||||
checkTarget = "test";
|
||||
preCheck = ''
|
||||
export LD_LIBRARY_PATH="$NIX_BUILD_TOP/${name}:$LD_LIBRARY_PATH"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://libjpeg-turbo.virtualgl.org/;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{stdenv, fetchurl, fetchFromBitbucket, autoreconfHook, gtkdoc, gettext
|
||||
, pkgconfig, glib, libxml2, gobjectIntrospection, gnome-common, unzip
|
||||
, pkgconfig, glib, libxml2, gobject-introspection, gnome-common, unzip
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
''--with-locale-alias=${stdenv.cc.libc}/share/locale/locale.alias''
|
||||
];
|
||||
|
||||
buildInputs = [ gettext glib libxml2 gobjectIntrospection gnome-common
|
||||
buildInputs = [ gettext glib libxml2 gobject-introspection gnome-common
|
||||
unzip ];
|
||||
nativeBuildInputs = [ autoreconfHook gtkdoc gettext pkgconfig ];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, ninja, meson, pkgconfig, vala, gobjectIntrospection
|
||||
{ stdenv, fetchurl, ninja, meson, pkgconfig, vala, gobject-introspection
|
||||
, glib, libgudev, libevdev, gnome3 }:
|
||||
|
||||
let
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "14vqz30p4693yy3yxs0gj858x25sl2kawib1g9lj8g5frgl0hd82";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig vala gobjectIntrospection ];
|
||||
nativeBuildInputs = [ meson ninja pkgconfig vala gobject-introspection ];
|
||||
buildInputs = [ glib libgudev libevdev ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl
|
||||
, libtool, pkgconfig, automake, autoconf, intltool
|
||||
, glib, gobjectIntrospection, gtk2, gtk-doc
|
||||
, glib, gobject-introspection, gtk2, gtk-doc
|
||||
, clutter, clutter-gtk
|
||||
}:
|
||||
|
||||
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
automake autoconf libtool
|
||||
intltool
|
||||
gobjectIntrospection glib
|
||||
gobject-introspection glib
|
||||
gtk2 gtk-doc clutter clutter-gtk
|
||||
];
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, autoreconfHook
|
||||
, glib, gdk_pixbuf, gobjectIntrospection }:
|
||||
, glib, gdk_pixbuf, gobject-introspection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
ver_maj = "0.7";
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
# disable tests as we don't need to depend on gtk+(2/3)
|
||||
configureFlags = [ "--disable-tests" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook gobjectIntrospection ];
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook gobject-introspection ];
|
||||
buildInputs = [ glib gdk_pixbuf ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fetchpatch, pkgconfig, intltool, gobjectIntrospection, gtk-doc, docbook_xsl
|
||||
{ stdenv, fetchurl, fetchpatch, pkgconfig, intltool, gobject-introspection, gtk-doc, docbook_xsl
|
||||
, glib, libsoup, libxml2, libxslt, check, curl, perl, hwdata, osinfo-db, vala ? null
|
||||
}:
|
||||
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig vala intltool gobjectIntrospection gtk-doc docbook_xsl
|
||||
pkgconfig vala intltool gobject-introspection gtk-doc docbook_xsl
|
||||
];
|
||||
buildInputs = [ glib libsoup libxml2 libxslt ];
|
||||
checkInputs = [ check curl perl ];
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, docbook_xsl, gtk-doc, icu
|
||||
, libxslt, pkgconfig, python2 }:
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, docbook_xsl, docbook_xml_dtd_43, gtk-doc, icu
|
||||
, libxslt, pkgconfig, python3 }:
|
||||
|
||||
let
|
||||
|
||||
@@ -11,21 +11,21 @@ let
|
||||
owner = "publicsuffix";
|
||||
};
|
||||
|
||||
libVersion = "0.17.0";
|
||||
libVersion = "0.20.2";
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "libpsl-${version}";
|
||||
version = "${libVersion}-list-${listVersion}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "08dbl6ihnlf0kj4c9pdpjv9mmw7p676pzh1q184wl32csra5pzdd";
|
||||
sha256 = "0ijingxpnvl5xnna32j93ijagvjsvw2lhj71q39hz9xhzjzrda9b";
|
||||
rev = "libpsl-${libVersion}";
|
||||
repo = "libpsl";
|
||||
owner = "rockdaboot";
|
||||
};
|
||||
|
||||
buildInputs = [ icu libxslt ];
|
||||
nativeBuildInputs = [ autoreconfHook docbook_xsl gtk-doc pkgconfig python2 ];
|
||||
nativeBuildInputs = [ autoreconfHook docbook_xsl docbook_xml_dtd_43 gtk-doc pkgconfig python3 ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/psl.c --replace bits/stat.h sys/stat.h
|
||||
@@ -33,7 +33,6 @@ in stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
preAutoreconf = ''
|
||||
mkdir m4
|
||||
gtkdocize
|
||||
'';
|
||||
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
{ lib, stdenv, fetchurl, pkgconfig, glib, gdk_pixbuf, pango, cairo, libxml2, libgsf
|
||||
, bzip2, libcroco, libintl, darwin, rust, gnome3
|
||||
, withGTK ? false, gtk3 ? null
|
||||
, vala, gobjectIntrospection }:
|
||||
, vala, gobject-introspection }:
|
||||
|
||||
let
|
||||
pname = "librsvg";
|
||||
version = "2.42.4";
|
||||
version = "2.44.9";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "1qsd0j7s97ab5fzy5b5gix5b7hbw57cr46ia8pkcrr4ylsi80li2";
|
||||
sha256 = "1ivg7cz7zlfjhnxvp7z2344r8r0z02mjh4mpgy823az6ps62igwj";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" "installedTests" ];
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
propagatedBuildInputs = [ glib gdk_pixbuf cairo ] ++ lib.optional withGTK gtk3;
|
||||
|
||||
nativeBuildInputs = [ pkgconfig rust.rustc rust.cargo vala gobjectIntrospection ]
|
||||
nativeBuildInputs = [ pkgconfig rust.rustc rust.cargo vala gobject-introspection ]
|
||||
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
ApplicationServices
|
||||
]);
|
||||
|
||||
@@ -1,30 +1,39 @@
|
||||
{ stdenv, fetchurl, glib, pkgconfig, intltool, libxslt, docbook_xsl
|
||||
, libgcrypt, gobjectIntrospection, vala_0_38, gnome3, libintl }:
|
||||
{ stdenv, fetchurl, glib, pkgconfig, intltool, libxslt, python3, docbook_xsl, docbook_xml_dtd_42
|
||||
, libgcrypt, gobject-introspection, vala, gtk-doc, gnome3, libintl, dbus, xvfb_run }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libsecret";
|
||||
version = "0.18.5";
|
||||
version = "0.18.6";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww";
|
||||
sha256 = "0vynag97a9bnnb8ipah45av8xg8jzmhd572rw3zj78s1pa8ciysy";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
propagatedBuildInputs = [ glib ];
|
||||
nativeBuildInputs = [ pkgconfig intltool libxslt docbook_xsl libintl ];
|
||||
buildInputs = [ libgcrypt gobjectIntrospection vala_0_38 ];
|
||||
nativeBuildInputs = [ pkgconfig intltool libxslt docbook_xsl docbook_xml_dtd_42 libintl gobject-introspection vala gtk-doc ];
|
||||
buildInputs = [ libgcrypt ];
|
||||
# optional: build docs with gtk-doc? (probably needs a flag as well)
|
||||
|
||||
# checkInputs = [ python2 ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = false; # fails. with python3 tests fail to evaluate, with python2 they fail to run python3
|
||||
installCheckInputs = [ python3 python3.pkgs.dbus-python python3.pkgs.pygobject3 xvfb_run dbus gnome3.gjs ];
|
||||
|
||||
# needs to run after install because typelibs point to absolute paths
|
||||
doInstallCheck = false; # Failed to load shared library '/force/shared/libmock_service.so.0' referenced by the typelib
|
||||
installCheckPhase = ''
|
||||
export NO_AT_BRIDGE=1
|
||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
make check
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, pkgconfig, meson, ninja, vala, python3, gtk-doc, docbook_xsl, docbook_xml_dtd_43, docbook_xml_dtd_412, glib, check, gobjectIntrospection }:
|
||||
{ stdenv, fetchgit, pkgconfig, meson, ninja, vala, python3, gtk-doc, docbook_xsl, docbook_xml_dtd_43, docbook_xml_dtd_412, glib, check, gobject-introspection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libsignon-glib";
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
docbook_xml_dtd_412
|
||||
docbook_xml_dtd_43
|
||||
docbook_xsl
|
||||
gobjectIntrospection
|
||||
gobject-introspection
|
||||
gtk-doc
|
||||
meson
|
||||
ninja
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user