dconf: move to top-level

This commit is contained in:
Jan Tojnar 2019-12-01 00:11:47 +01:00
parent 28cb34d538
commit 8cbc862b83
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
33 changed files with 76 additions and 82 deletions

View File

@ -74,7 +74,7 @@
preFixup = '' preFixup = ''
for f in $(find $out/bin/ $out/libexec/ -type f -executable); do for f in $(find $out/bin/ $out/libexec/ -type f -executable); do
wrapProgram "$f" \ wrapProgram "$f" \
--prefix GIO_EXTRA_MODULES : "${getLib gnome3.dconf}/lib/gio/modules" \ --prefix GIO_EXTRA_MODULES : "${getLib dconf}/lib/gio/modules" \
--prefix XDG_DATA_DIRS : "$out/share" \ --prefix XDG_DATA_DIRS : "$out/share" \
--prefix XDG_DATA_DIRS : "$out/share/gsettings-schemas/${name}" \ --prefix XDG_DATA_DIRS : "$out/share/gsettings-schemas/${name}" \
--prefix XDG_DATA_DIRS : "${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}" \ --prefix XDG_DATA_DIRS : "${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}" \
@ -102,7 +102,7 @@ preFixup = ''
</listitem> </listitem>
<listitem xml:id="ssec-gnome-hooks-dconf"> <listitem xml:id="ssec-gnome-hooks-dconf">
<para> <para>
<package>gnome3.dconf.lib</package> is a dependency of <package>wrapGAppsHook</package>, which then also adds it to the <envar>GIO_EXTRA_MODULES</envar> variable. <package>dconf.lib</package> is a dependency of <package>wrapGAppsHook</package>, which then also adds it to the <envar>GIO_EXTRA_MODULES</envar> variable.
</para> </para>
</listitem> </listitem>
<listitem xml:id="ssec-gnome-hooks-hicolor-icon-theme"> <listitem xml:id="ssec-gnome-hooks-hicolor-icon-theme">

View File

@ -55,7 +55,7 @@ in
# Without dconf enabled it is impossible to use IBus # Without dconf enabled it is impossible to use IBus
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
gnome3.dconf ibusAutostart dconf ibusAutostart
]; ];
environment.variables = { environment.variables = {

View File

@ -32,13 +32,13 @@ in
environment.etc = optionals (cfg.profiles != {}) environment.etc = optionals (cfg.profiles != {})
(mapAttrsToList mkDconfProfile cfg.profiles); (mapAttrsToList mkDconfProfile cfg.profiles);
services.dbus.packages = [ pkgs.gnome3.dconf ]; services.dbus.packages = [ pkgs.dconf ];
# For dconf executable # For dconf executable
environment.systemPackages = [ pkgs.gnome3.dconf ]; environment.systemPackages = [ pkgs.dconf ];
# Needed for unwrapped applications # Needed for unwrapped applications
environment.variables.GIO_EXTRA_MODULES = mkIf cfg.enable [ "${pkgs.gnome3.dconf.lib}/lib/gio/modules" ]; environment.variables.GIO_EXTRA_MODULES = mkIf cfg.enable [ "${pkgs.dconf.lib}/lib/gio/modules" ];
}; };
} }

View File

@ -281,7 +281,7 @@ in
customDconfDb = pkgs.stdenv.mkDerivation { customDconfDb = pkgs.stdenv.mkDerivation {
name = "gdm-dconf-db"; name = "gdm-dconf-db";
buildCommand = '' buildCommand = ''
${pkgs.gnome3.dconf}/bin/dconf compile $out ${customDconf}/dconf ${pkgs.dconf}/bin/dconf compile $out ${customDconf}/dconf
''; '';
}; };
in pkgs.stdenv.mkDerivation { in pkgs.stdenv.mkDerivation {

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, gnome3, gtksourceview3, at-spi2-core, gtksourceviewmm, { stdenv, fetchgit, dconf, gtksourceview3, at-spi2-core, gtksourceviewmm,
boost, epoxy, cmake, aspell, llvmPackages, libgit2, pkgconfig, pcre, boost, epoxy, cmake, aspell, llvmPackages, libgit2, pkgconfig, pcre,
libXdmcp, libxkbcommon, libpthreadstubs, wrapGAppsHook, aspellDicts, gtkmm3, libXdmcp, libxkbcommon, libpthreadstubs, wrapGAppsHook, aspellDicts, gtkmm3,
coreutils, glibc, dbus, openssl, libxml2, gnumake, ctags }: coreutils, glibc, dbus, openssl, libxml2, gnumake, ctags }:
@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
gtksourceviewmm gtksourceviewmm
llvmPackages.clang.cc llvmPackages.clang.cc
llvmPackages.lldb llvmPackages.lldb
gnome3.dconf dconf
]; ];

View File

@ -7,7 +7,7 @@
, bash , bash
, glib , glib
, glibcLocales , glibcLocales
, gnome3 , dconf
, gobject-introspection , gobject-introspection
, gsettings-desktop-schemas , gsettings-desktop-schemas
, gtk3 , gtk3
@ -66,7 +66,7 @@ python3.pkgs.buildPythonApplication rec {
buildInputs = [ buildInputs = [
bash bash
glib glib
gnome3.dconf dconf
gsettings-desktop-schemas gsettings-desktop-schemas
gtk3 gtk3
hunspell hunspell
@ -89,7 +89,7 @@ python3.pkgs.buildPythonApplication rec {
]; ];
propagatedUserEnvPkgs = [ propagatedUserEnvPkgs = [
gnome3.dconf dconf
]; ];
checkInputs = [ checkInputs = [

View File

@ -3,6 +3,7 @@
, vala , vala
, atk , atk
, cairo , cairo
, dconf
, glib , glib
, gnome3 , gnome3
, gtk3 , gtk3
@ -51,7 +52,7 @@ stdenv.mkDerivation rec {
gdk-pixbuf gdk-pixbuf
glib glib
gnome-menus gnome-menus
gnome3.dconf dconf
gtk3 gtk3
libX11 libX11
libXfixes libXfixes

View File

@ -6,7 +6,7 @@
, python3 , python3
, pkgconfig , pkgconfig
, dmd , dmd
, gnome3 , dconf
, dbus , dbus
, gsettings-desktop-schemas , gsettings-desktop-schemas
, desktop-file-utils , desktop-file-utils
@ -47,7 +47,7 @@ stdenv.mkDerivation {
buildInputs = [ buildInputs = [
dbus dbus
gettext gettext
gnome3.dconf dconf
gsettings-desktop-schemas gsettings-desktop-schemas
gtkd gtkd
libsecret libsecret

View File

@ -11,7 +11,7 @@
, meson , meson
, ninja , ninja
, pkgconfig , pkgconfig
, gnome3 , dconf
, gst_all_1 , gst_all_1
, wrapGAppsHook , wrapGAppsHook
, gobject-introspection , gobject-introspection
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
sqlite sqlite
libsoup libsoup
gettext gettext
gnome3.dconf dconf
gspell gspell
glib-networking glib-networking
] ++ (with gst_all_1; [ ] ++ (with gst_all_1; [

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, glib, gnome3, pkgconfig, dbus-glib, telepathy-glib, libxslt, makeWrapper }: { stdenv, fetchurl, glib, dconf, pkgconfig, dbus-glib, telepathy-glib, libxslt, makeWrapper }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "telepathy-idle"; pname = "telepathy-idle";
@ -10,11 +10,11 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib telepathy-glib dbus-glib libxslt telepathy-glib.python (stdenv.lib.getLib gnome3.dconf) makeWrapper ]; buildInputs = [ glib telepathy-glib dbus-glib libxslt telepathy-glib.python (stdenv.lib.getLib dconf) makeWrapper ];
preFixup = '' preFixup = ''
wrapProgram "$out/libexec/telepathy-idle" \ wrapProgram "$out/libexec/telepathy-idle" \
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules" --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules"
''; '';
meta = { meta = {

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, dbus-glib, libxml2, sqlite, telepathy-glib, pkgconfig { stdenv, fetchurl, dbus-glib, libxml2, sqlite, telepathy-glib, pkgconfig
, gnome3, makeWrapper, intltool, libxslt, gobject-introspection, dbus }: , dconf, makeWrapper, intltool, libxslt, gobject-introspection, dbus }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
project = "telepathy-logger"; project = "telepathy-logger";
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
preFixup = '' preFixup = ''
wrapProgram "$out/libexec/telepathy-logger" \ wrapProgram "$out/libexec/telepathy-logger" \
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules" \ --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
''; '';

View File

@ -1,7 +1,7 @@
{ stdenv { stdenv
, fetchurl , fetchurl
, pkgconfig , pkgconfig
, gnome3 , dconf
, telepathy-glib , telepathy-glib
, python3 , python3
, libxslt , libxslt
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
preFixup = '' preFixup = ''
wrapProgram "$lib/libexec/mission-control-5" \ wrapProgram "$lib/libexec/mission-control-5" \
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules" \ --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
''; '';

View File

@ -9,6 +9,7 @@
, makeDesktopItem , makeDesktopItem
, tzdata , tzdata
, cacert , cacert
, dconf
, glib , glib
, gtk2 , gtk2
, atk , atk
@ -137,7 +138,7 @@ let
gdk-pixbuf gdk-pixbuf
cairo cairo
pango pango
gnome3.dconf dconf
xorg.libX11 xorg.libX11
xorg.libXext xorg.libXext
xorg.libXrender xorg.libXrender

View File

@ -5,6 +5,7 @@
, cups , cups
, dbus-glib , dbus-glib
, dbus , dbus
, dconf
, fontconfig , fontconfig
, freetype , freetype
, gdk-pixbuf , gdk-pixbuf
@ -41,7 +42,7 @@ stdenv.mkDerivation rec {
sha256 = "1dgxzprpb8f5wpmvlvkxix0xxckfgjsi3wfcy9mb221a17cv0029"; sha256 = "1dgxzprpb8f5wpmvlvkxix0xxckfgjsi3wfcy9mb221a17cv0029";
}; };
buildInputs= [ wrapGAppsHook gsettings-desktop-schemas gtk3 gnome3.adwaita-icon-theme gnome3.dconf ]; buildInputs= [ wrapGAppsHook gsettings-desktop-schemas gtk3 gnome3.adwaita-icon-theme dconf ];
phases = [ "unpackPhase" "patchPhase" "installPhase" "fixupPhase" ]; phases = [ "unpackPhase" "patchPhase" "installPhase" "fixupPhase" ];

View File

@ -1,7 +1,6 @@
{ stdenv, fetchurl, libxml2, readline, zlib, perl, cairo, gtk3, gsl { stdenv, fetchurl, libxml2, readline, zlib, perl, cairo, gtk3, gsl
, pkgconfig, gtksourceview, pango, gettext , pkgconfig, gtksourceview, pango, gettext, dconf
, makeWrapper, gsettings-desktop-schemas, hicolor-icon-theme , makeWrapper, gsettings-desktop-schemas, hicolor-icon-theme
, gnome3
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -26,7 +25,7 @@ stdenv.mkDerivation rec {
--prefix XDG_DATA_DIRS : "$out/share" \ --prefix XDG_DATA_DIRS : "$out/share" \
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS" \ --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \ --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules" --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules"
''; '';
meta = { meta = {

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, file, which, intltool, gobject-introspection, { stdenv, fetchurl, file, which, intltool, gobject-introspection,
findutils, xdg_utils, gnome3, gtk3, pythonPackages, findutils, xdg_utils, dconf, gtk3, pythonPackages,
wrapGAppsHook wrapGAppsHook
}: }:
@ -25,7 +25,7 @@ pythonPackages.buildPythonApplication rec {
buildInputs = [ buildInputs = [
gtk3 gtk3
gnome3.dconf dconf
pythonPackages.pyxdg pythonPackages.pyxdg
pythonPackages.ptyprocess pythonPackages.ptyprocess
pythonPackages.pycairo pythonPackages.pycairo

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python3, gnome3, glib, deepin-gtk-theme, { stdenv, fetchFromGitHub, python3, dconf, glib, deepin-gtk-theme,
deepin-icon-theme, deepin-sound-theme, deepin-wallpapers, deepin }: deepin-icon-theme, deepin-sound-theme, deepin-wallpapers, deepin }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
gnome3.dconf dconf
deepin-gtk-theme deepin-gtk-theme
deepin-icon-theme deepin-icon-theme
deepin-sound-theme deepin-sound-theme

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, meson, ninja, vala, libxslt, pkgconfig, glib, gtk3, gnome3, python3 { stdenv, fetchurl, meson, ninja, vala, libxslt, pkgconfig, glib, gtk3, gnome3, python3, dconf
, libxml2, gettext, docbook_xsl, wrapGAppsHook, gobject-introspection }: , libxml2, gettext, docbook_xsl, wrapGAppsHook, gobject-introspection }:
let let
@ -17,7 +17,7 @@ in stdenv.mkDerivation rec {
gettext docbook_xsl libxml2 gobject-introspection python3 gettext docbook_xsl libxml2 gobject-introspection python3
]; ];
buildInputs = [ glib gtk3 gnome3.dconf ]; buildInputs = [ glib gtk3 dconf ];
postPatch = '' postPatch = ''
chmod +x meson_post_install.py chmod +x meson_post_install.py

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, substituteAll, pkgconfig, glib, itstool, libxml2, xorg { stdenv, fetchurl, substituteAll, pkgconfig, glib, itstool, libxml2, xorg
, accountsservice, libX11, gnome3, systemd, autoreconfHook , accountsservice, libX11, gnome3, systemd, autoreconfHook, dconf
, gtk3, libcanberra-gtk3, pam, libtool, gobject-introspection, plymouth , gtk3, libcanberra-gtk3, pam, libtool, gobject-introspection, plymouth
, librsvg, coreutils, xwayland, nixos-icons, fetchpatch }: , librsvg, coreutils, xwayland, nixos-icons, fetchpatch }:
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
"--with-udevdir=$(out)/lib/udev" "--with-udevdir=$(out)/lib/udev"
]; ];
nativeBuildInputs = [ pkgconfig libxml2 itstool autoreconfHook libtool gnome3.dconf ]; nativeBuildInputs = [ pkgconfig libxml2 itstool autoreconfHook libtool dconf ];
buildInputs = [ buildInputs = [
glib accountsservice systemd glib accountsservice systemd
gobject-introspection libX11 gtk3 gobject-introspection libX11 gtk3

View File

@ -35,7 +35,6 @@ lib.makeScope pkgs.newScope (self: with self; {
caribou = callPackage ./core/caribou { }; caribou = callPackage ./core/caribou { };
dconf = callPackage ./core/dconf { };
dconf-editor = callPackage ./core/dconf-editor { }; dconf-editor = callPackage ./core/dconf-editor { };
empathy = callPackage ./core/empathy { }; empathy = callPackage ./core/empathy { };
@ -359,4 +358,6 @@ lib.makeScope pkgs.newScope (self: with self; {
inherit (pkgs) gjs; # added 2019-01-05 inherit (pkgs) gjs; # added 2019-01-05
inherit (pkgs) yelp-tools; # added 2019-11-20 inherit (pkgs) yelp-tools; # added 2019-11-20
inherit (pkgs) dconf; # added 2019-11-30
}) })

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, libxml2, dbus-glib, { stdenv, fetchurl, pkgconfig, intltool, itstool, libxml2, dbus-glib,
libxklavier, libcanberra-gtk3, librsvg, libappindicator-gtk3, libxklavier, libcanberra-gtk3, librsvg, libappindicator-gtk3,
desktop-file-utils, gnome3, gtk3, mate, hicolor-icon-theme, wrapGAppsHook desktop-file-utils, dconf, gtk3, mate, hicolor-icon-theme, wrapGAppsHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
librsvg librsvg
libappindicator-gtk3 libappindicator-gtk3
gtk3 gtk3
gnome3.dconf dconf
hicolor-icon-theme hicolor-icon-theme
mate.mate-desktop mate.mate-desktop
mate.libmatekbd mate.libmatekbd

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, intltool, isocodes, gnome3, gtk3, wrapGAppsHook }: { stdenv, fetchurl, pkgconfig, intltool, isocodes, gnome3, gtk3, dconf, wrapGAppsHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mate-desktop"; pname = "mate-desktop";
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
gnome3.dconf dconf
gtk3 gtk3
isocodes isocodes
]; ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, glib, libwnck3, librsvg, libxml2, gnome3, gtk3, mate, hicolor-icon-theme, gobject-introspection, wrapGAppsHook }: { stdenv, fetchurl, pkgconfig, intltool, itstool, glib, libwnck3, librsvg, libxml2, dconf, gtk3, mate, hicolor-icon-theme, gobject-introspection, wrapGAppsHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mate-panel"; pname = "mate-panel";
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
librsvg librsvg
libxml2 libxml2
gtk3 gtk3
gnome3.dconf dconf
mate.libmateweather mate.libmateweather
mate.mate-desktop mate.mate-desktop
mate.mate-menus mate.mate-menus

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, intltool, glib, dbus-glib, libxklavier, { stdenv, fetchurl, pkgconfig, intltool, glib, dbus-glib, libxklavier,
libcanberra-gtk3, libnotify, nss, polkit, gnome3, gtk3, mate, libcanberra-gtk3, libnotify, nss, polkit, dconf, gtk3, mate,
pulseaudioSupport ? stdenv.config.pulseaudio or true, libpulseaudio, pulseaudioSupport ? stdenv.config.pulseaudio or true, libpulseaudio,
wrapGAppsHook, fetchpatch, autoreconfHook }: wrapGAppsHook, fetchpatch, autoreconfHook }:
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
nss nss
polkit polkit
gtk3 gtk3
gnome3.dconf dconf
mate.mate-desktop mate.mate-desktop
mate.libmatekbd mate.libmatekbd
mate.libmatemixer mate.libmatemixer

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, intltool, glib, itstool, libxml2, mate, gnome3, gtk3, vte, wrapGAppsHook }: { stdenv, fetchurl, pkgconfig, intltool, glib, itstool, libxml2, mate, dconf, gtk3, vte, wrapGAppsHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mate-terminal"; pname = "mate-terminal";
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
vte vte
gtk3 gtk3
gnome3.dconf dconf
]; ];
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -3,8 +3,6 @@
lib.makeScope pkgs.newScope (self: with self; { lib.makeScope pkgs.newScope (self: with self; {
#### NixOS support #### NixOS support
inherit (pkgs.gnome3) dconf;
mkXfceDerivation = callPackage ./mkXfceDerivation.nix { }; mkXfceDerivation = callPackage ./mkXfceDerivation.nix { };
automakeAddFlags = pkgs.makeSetupHook { } ./automakeAddFlags.sh; automakeAddFlags = pkgs.makeSetupHook { } ./automakeAddFlags.sh;
@ -217,4 +215,7 @@ lib.makeScope pkgs.newScope (self: with self; {
thunar-bare = thunar.override { thunar-bare = thunar.override {
thunarPlugins = []; thunarPlugins = [];
}; };
# added 2019-11-30
inherit (pkgs) dconf;
}) })

View File

@ -10,6 +10,7 @@
, dbus , dbus
, glib , glib
, dconf
, libX11 , libX11
, libXtst # at-spi2-core can be build without X support, but due it is a client-side library, GUI-less usage is a very rare case , libXtst # at-spi2-core can be build without X support, but due it is a client-side library, GUI-less usage is a very rare case
, libXi , libXi
@ -48,7 +49,7 @@ stdenv.mkDerivation rec {
postFixup = '' postFixup = ''
# Cannot use wrapGAppsHook'due to a dependency cycle # Cannot use wrapGAppsHook'due to a dependency cycle
wrapProgram $out/libexec/at-spi-bus-launcher \ wrapProgram $out/libexec/at-spi-bus-launcher \
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules" \ --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules" \
--prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name} --prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}
''; '';

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, autoreconfHook, docbook_xml_dtd_412, docbook_xml_dtd_42, docbook_xml_dtd_43, docbook_xsl, which, libxml2 { stdenv, fetchurl, autoreconfHook, docbook_xml_dtd_412, docbook_xml_dtd_42, docbook_xml_dtd_43, docbook_xsl, which, libxml2
, gobject-introspection, 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, gettext, hicolor-icon-theme, fuse, nixosTests , bubblewrap, bzip2, dbus, glib, gpgme, json-glib, libarchive, libcap, libseccomp, coreutils, gettext, hicolor-icon-theme, fuse, nixosTests
, libsoup, lzma, ostree, polkit, python3, systemd, xorg, valgrind, glib-networking, wrapGAppsHook, gnome3, gsettings-desktop-schemas, librsvg }: , libsoup, lzma, ostree, polkit, python3, systemd, xorg, valgrind, glib-networking, wrapGAppsHook, dconf, gsettings-desktop-schemas, librsvg }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "flatpak"; pname = "flatpak";
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
bubblewrap bzip2 dbus gnome3.dconf glib gpgme json-glib libarchive libcap libseccomp bubblewrap bzip2 dbus dconf glib gpgme json-glib libarchive libcap libseccomp
libsoup lzma ostree polkit python3 systemd xorg.libXau fuse libsoup lzma ostree polkit python3 systemd xorg.libXau fuse
gsettings-desktop-schemas glib-networking gsettings-desktop-schemas glib-networking
librsvg # for flatpak-validate-icon librsvg # for flatpak-validate-icon

View File

@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl, pkgconfig, autoreconfHook { lib, stdenv, fetchurl, pkgconfig, autoreconfHook
, libsndfile, libtool, makeWrapper, perlPackages , libsndfile, libtool, makeWrapper, perlPackages
, xorg, libcap, alsaLib, glib, gnome3 , xorg, libcap, alsaLib, glib, dconf
, avahi, libjack2, libasyncns, lirc, dbus , avahi, libjack2, libasyncns, lirc, dbus
, sbc, bluez5, udev, openssl, fftwFloat , sbc, bluez5, udev, openssl, fftwFloat
, speexdsp, systemd, webrtc-audio-processing , speexdsp, systemd, webrtc-audio-processing
@ -113,7 +113,7 @@ stdenv.mkDerivation rec {
preFixup = lib.optionalString stdenv.isLinux '' preFixup = lib.optionalString stdenv.isLinux ''
wrapProgram $out/libexec/pulse/gsettings-helper \ wrapProgram $out/libexec/pulse/gsettings-helper \
--prefix XDG_DATA_DIRS : "$out/share/gsettings-schemas/${name}" \ --prefix XDG_DATA_DIRS : "$out/share/gsettings-schemas/${name}" \
--prefix GIO_EXTRA_MODULES : "${lib.getLib gnome3.dconf}/lib/gio/modules" --prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules"
''; '';
meta = { meta = {

View File

@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, boost165, pkgconfig, python35 { stdenv, fetchFromGitHub, cmake, boost165, pkgconfig, python35
, tbb, openimageio, libjpeg, libpng, zlib, libtiff, ilmbase , tbb, openimageio, libjpeg, libpng, zlib, libtiff, ilmbase
, freetype, openexr, libXdmcp, libxkbcommon, epoxy, at-spi2-core , freetype, openexr, libXdmcp, libxkbcommon, epoxy, at-spi2-core
, dbus, doxygen, qt5, c-blosc, libGLU, gnome3, gtk3, pcre , dbus, doxygen, qt5, c-blosc, libGLU, gnome3, dconf, gtk3, pcre
, bison, flex, libpthreadstubs, libX11 , bison, flex, libpthreadstubs, libX11
, embree2, makeWrapper, gsettings-desktop-schemas, glib , embree2, makeWrapper, gsettings-desktop-schemas, glib
, withOpenCL ? true , opencl-headers, ocl-icd, opencl-clhpp , withOpenCL ? true , opencl-headers, ocl-icd, opencl-clhpp
@ -35,7 +35,7 @@ in stdenv.mkDerivation {
# needed for XDG_ICON_DIRS # needed for XDG_ICON_DIRS
gnome3.adwaita-icon-theme gnome3.adwaita-icon-theme
makeWrapper makeWrapper
(stdenv.lib.getLib gnome3.dconf) (stdenv.lib.getLib dconf)
] ++ stdenv.lib.optionals withOpenCL [opencl-headers ocl-icd opencl-clhpp]; ] ++ stdenv.lib.optionals withOpenCL [opencl-headers ocl-icd opencl-clhpp];
cmakeFlags = [ cmakeFlags = [
@ -66,7 +66,7 @@ in stdenv.mkDerivation {
wrapProgram "$out/bin/luxcoreui" \ wrapProgram "$out/bin/luxcoreui" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \ --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
--suffix XDG_DATA_DIRS : '${gnome3.adwaita-icon-theme}/share' \ --suffix XDG_DATA_DIRS : '${gnome3.adwaita-icon-theme}/share' \
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules" --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules"
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, intltool, openssl, curl, libnotify, { stdenv, fetchurl, pkgconfig, intltool, openssl, curl, libnotify,
libappindicator-gtk3, gst_all_1, gtk3, gnome3, wrapGAppsHook, aria2 ? null libappindicator-gtk3, gst_all_1, gtk3, dconf, wrapGAppsHook, aria2 ? null
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
libnotify libnotify
libappindicator-gtk3 libappindicator-gtk3
gtk3 gtk3
(stdenv.lib.getLib gnome3.dconf) (stdenv.lib.getLib dconf)
] ]
++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good ]) ++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good ])
++ (stdenv.lib.optional (aria2 != null) aria2); ++ (stdenv.lib.optional (aria2 != null) aria2);

View File

@ -456,7 +456,7 @@ in
findXMLCatalogs = makeSetupHook { } ../build-support/setup-hooks/find-xml-catalogs.sh; findXMLCatalogs = makeSetupHook { } ../build-support/setup-hooks/find-xml-catalogs.sh;
wrapGAppsHook = makeSetupHook { wrapGAppsHook = makeSetupHook {
deps = lib.optional (!stdenv.isDarwin) gnome3.dconf.lib ++ [ gtk3 librsvg makeWrapper ]; deps = lib.optional (!stdenv.isDarwin) dconf.lib ++ [ gtk3 librsvg makeWrapper ];
} ../build-support/setup-hooks/wrap-gapps-hook.sh; } ../build-support/setup-hooks/wrap-gapps-hook.sh;
separateDebugInfo = makeSetupHook { } ../build-support/setup-hooks/separate-debug-info.sh; separateDebugInfo = makeSetupHook { } ../build-support/setup-hooks/separate-debug-info.sh;
@ -1512,6 +1512,8 @@ in
datovka = libsForQt5.callPackage ../applications/networking/datovka { }; datovka = libsForQt5.callPackage ../applications/networking/datovka { };
dconf = callPackage ../development/libraries/dconf { };
ddar = callPackage ../tools/backup/ddar { }; ddar = callPackage ../tools/backup/ddar { };
ddate = callPackage ../tools/misc/ddate { }; ddate = callPackage ../tools/misc/ddate { };
@ -2438,9 +2440,7 @@ in
libkkc = callPackage ../tools/inputmethods/libkkc { }; libkkc = callPackage ../tools/inputmethods/libkkc { };
ibus = callPackage ../tools/inputmethods/ibus { ibus = callPackage ../tools/inputmethods/ibus { };
inherit (gnome3) dconf;
};
ibus-qt = callPackage ../tools/inputmethods/ibus/ibus-qt.nix { }; ibus-qt = callPackage ../tools/inputmethods/ibus/ibus-qt.nix { };
@ -2461,9 +2461,7 @@ in
protobuf = pkgs.protobuf.overrideDerivation (oldAttrs: { stdenv = clangStdenv; }); protobuf = pkgs.protobuf.overrideDerivation (oldAttrs: { stdenv = clangStdenv; });
}; };
table = callPackage ../tools/inputmethods/ibus-engines/ibus-table { table = callPackage ../tools/inputmethods/ibus-engines/ibus-table { };
inherit (gnome3) dconf;
};
table-chinese = callPackage ../tools/inputmethods/ibus-engines/ibus-table-chinese { table-chinese = callPackage ../tools/inputmethods/ibus-engines/ibus-table-chinese {
ibus-table = ibus-engines.table; ibus-table = ibus-engines.table;
@ -2482,9 +2480,7 @@ in
}; };
}; };
ibus-with-plugins = callPackage ../tools/inputmethods/ibus/wrapper.nix { ibus-with-plugins = callPackage ../tools/inputmethods/ibus/wrapper.nix { };
inherit (gnome3) dconf;
};
interception-tools = callPackage ../tools/inputmethods/interception-tools { }; interception-tools = callPackage ../tools/inputmethods/interception-tools { };
interception-tools-plugins = { interception-tools-plugins = {
@ -13586,11 +13582,11 @@ in
inherit stdenv fetchurl fetchpatch fetchFromGitHub makeSetupHook makeWrapper; inherit stdenv fetchurl fetchpatch fetchFromGitHub makeSetupHook makeWrapper;
bison = bison2; # error: too few arguments to function 'int yylex(... bison = bison2; # error: too few arguments to function 'int yylex(...
inherit cups; inherit cups;
inherit dconf;
inherit harfbuzz; inherit harfbuzz;
inherit libGL; inherit libGL;
inherit perl; inherit perl;
inherit gtk3; inherit gtk3;
inherit (gnome3) dconf;
inherit (gst_all_1) gstreamer gst-plugins-base; inherit (gst_all_1) gstreamer gst-plugins-base;
inherit llvmPackages_5; inherit llvmPackages_5;
}); });
@ -19025,9 +19021,7 @@ in
gmrun = callPackage ../applications/misc/gmrun {}; gmrun = callPackage ../applications/misc/gmrun {};
gnucash = callPackage ../applications/office/gnucash { gnucash = callPackage ../applications/office/gnucash { };
inherit (gnome3) dconf;
};
goffice = callPackage ../development/libraries/goffice { }; goffice = callPackage ../development/libraries/goffice { };
@ -19748,9 +19742,7 @@ in
lifelines = callPackage ../applications/misc/lifelines { }; lifelines = callPackage ../applications/misc/lifelines { };
liferea = callPackage ../applications/networking/newsreaders/liferea { liferea = callPackage ../applications/networking/newsreaders/liferea { };
inherit (gnome3) dconf;
};
lightworks = callPackage ../applications/video/lightworks { lightworks = callPackage ../applications/video/lightworks {
portaudio = portaudio2014; portaudio = portaudio2014;
@ -19888,7 +19880,7 @@ in
}; };
matchbox = callPackage ../applications/window-managers/matchbox { }; matchbox = callPackage ../applications/window-managers/matchbox { };
matrixcli = callPackage ../applications/networking/instant-messengers/matrixcli { matrixcli = callPackage ../applications/networking/instant-messengers/matrixcli {
inherit (python3Packages) buildPythonApplication buildPythonPackage inherit (python3Packages) buildPythonApplication buildPythonPackage
pygobject3 pytestrunner requests responses pytest python-olm pygobject3 pytestrunner requests responses pytest python-olm
@ -20786,9 +20778,7 @@ in
quantomatic = callPackage ../applications/science/physics/quantomatic { }; quantomatic = callPackage ../applications/science/physics/quantomatic { };
quassel = libsForQt5.callPackage ../applications/networking/irc/quassel { quassel = libsForQt5.callPackage ../applications/networking/irc/quassel { };
inherit (gnome3) dconf;
};
quasselClient = quassel.override { quasselClient = quassel.override {
monolithic = false; monolithic = false;
@ -21660,7 +21650,6 @@ in
virt-what = callPackage ../applications/virtualization/virt-what { }; virt-what = callPackage ../applications/virtualization/virt-what { };
virt-manager = callPackage ../applications/virtualization/virt-manager { virt-manager = callPackage ../applications/virtualization/virt-manager {
dconf = gnome3.dconf;
system-libvirt = libvirt; system-libvirt = libvirt;
}; };