tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
gnome3: dependency tweaks
Jan Tojnar
8 years ago
1c1d6771
5fae4f32
+485
-402
49 changed files
expand all
collapse all
unified
split
pkgs
desktops
gnome-3
apps
evolution
default.nix
glade
default.nix
gnome-boxes
default.nix
gnome-calendar
default.nix
gnome-clocks
default.nix
gnome-documents
default.nix
gnome-music
default.nix
gnome-photos
default.nix
polari
default.nix
core
eog
default.nix
epiphany
default.nix
evolution-data-server
default.nix
gcr
default.nix
gnome-bluetooth
default.nix
gnome-contacts
default.nix
gnome-desktop
default.nix
gnome-dictionary
default.nix
gnome-disk-utility
default.nix
gnome-font-viewer
default.nix
gnome-online-miners
default.nix
gnome-screenshot
default.nix
prevent-cache-updates.patch
gnome-shell
default.nix
fix-paths.patch
gnome-software
default.nix
gnome-terminal
default.nix
gsound
default.nix
libgweather
default.nix
mutter
default.nix
nautilus
default.nix
simple-scan
default.nix
totem
default.nix
totem-pl-parser
default.nix
src.nix
tracker
default.nix
src.nix
tracker-miners
default.nix
src.nix
vte
default.nix
default.nix
misc
gnome-packagekit
default.nix
gnome-tweak-tool
0001-Search-for-themes-and-icons-in-system-data-dirs.patch
0002-Don-t-show-multiple-entries-for-a-single-theme.patch
0003-Create-config-dir-if-it-doesn-t-exist.patch
default.nix
libgda
default.nix
development
libraries
giflib
5.0.nix
tools
misc
colord
default.nix
top-level
all-packages.nix
+5
-10
pkgs/desktops/gnome-3/apps/evolution/default.nix
···
1
1
-
{ stdenv, intltool, fetchurl, libxml2, webkitgtk, highlight
1
1
+
{ stdenv, cmake, intltool, fetchurl, libxml2, webkitgtk, highlight
2
2
, pkgconfig, gtk3, glib, libnotify, gtkspell3
3
3
, wrapGAppsHook, itstool, shared_mime_info, libical, db, gcr, sqlite
4
4
-
, gnome3, librsvg, gdk_pixbuf, libsecret, nss, nspr, icu, libtool
5
5
-
, libcanberra_gtk3, bogofilter, gst_all_1, procps, p11_kit, openldap
6
6
-
, cmake}:
4
4
+
, gnome3, librsvg, gdk_pixbuf, libsecret, nss, nspr, icu
5
5
+
, libcanberra_gtk3, bogofilter, gst_all_1, procps, p11_kit, openldap }:
7
6
8
7
let
9
8
majVer = gnome3.version;
···
15
14
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard
16
15
gnome3.evolution_data_server ];
17
16
18
18
-
propagatedBuildInputs = [ gnome3.gtkhtml ];
19
19
-
20
20
-
buildInputs = [ gtk3 glib intltool itstool libxml2 libtool
21
21
-
gdk_pixbuf gnome3.defaultIconTheme librsvg db icu
17
17
+
buildInputs = [ gtk3 glib gdk_pixbuf gnome3.defaultIconTheme librsvg db icu
22
18
gnome3.evolution_data_server libsecret libical gcr
23
19
webkitgtk shared_mime_info gnome3.gnome_desktop gtkspell3
24
20
libcanberra_gtk3 bogofilter gnome3.libgdata sqlite
···
26
22
nss nspr libnotify procps highlight gnome3.libgweather
27
23
gnome3.gsettings_desktop_schemas
28
24
gnome3.libgnome_keyring gnome3.glib_networking openldap
29
29
-
cmake
30
25
];
31
26
32
32
-
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
27
27
+
nativeBuildInputs = [ cmake intltool itstool libxml2 pkgconfig wrapGAppsHook ];
33
28
34
29
35
30
configureFlags = [ "--disable-pst-import" "--disable-autoar"
+5
-5
pkgs/desktops/gnome-3/apps/glade/default.nix
···
1
1
{ stdenv, intltool, fetchurl, python, autoreconfHook
2
2
-
, pkgconfig, gtk3, glib
3
3
-
, makeWrapper, itstool, libxml2, docbook_xsl
4
4
-
, gnome3, librsvg, gdk_pixbuf, libxslt }:
2
2
+
, pkgconfig, gtk3, glib, gobjectIntrospection
3
3
+
, wrapGAppsHook, itstool, libxml2, docbook_xsl
4
4
+
, gnome3, gdk_pixbuf, libxslt }:
5
5
6
6
stdenv.mkDerivation rec {
7
7
inherit (import ./src.nix fetchurl) name src;
···
9
9
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
10
10
11
11
nativeBuildInputs = [
12
12
-
pkgconfig intltool itstool makeWrapper docbook_xsl libxslt
12
12
+
pkgconfig intltool itstool wrapGAppsHook docbook_xsl libxslt gobjectIntrospection
13
13
# reconfiguration
14
14
autoreconfHook gnome3.gnome_common gnome3.yelp_tools
15
15
];
16
16
buildInputs = [ gtk3 glib libxml2 python
17
17
gnome3.gsettings_desktop_schemas
18
18
-
gdk_pixbuf gnome3.defaultIconTheme librsvg ];
18
18
+
gdk_pixbuf gnome3.defaultIconTheme ];
19
19
20
20
enableParallelBuilding = true;
21
21
+5
-5
pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix
···
1
1
-
{ stdenv, fetchurl, makeWrapper, pkgconfig, intltool, itstool, libvirt-glib
1
1
+
{ stdenv, fetchurl, makeWrapper, pkgconfig, gettext, itstool, libvirt-glib
2
2
, glib, gobjectIntrospection, libxml2, gtk3, gtkvnc, libvirt, spice_gtk
3
3
-
, spice_protocol, libuuid, libsoup, libosinfo, systemd, tracker, vala_0_32
3
3
+
, spice_protocol, libsoup, libosinfo, systemd, tracker, tracker-miners, vala
4
4
, libcap, yajl, gmp, gdbm, cyrus_sasl, gnome3, librsvg, desktop_file_utils
5
5
, mtools, cdrkit, libcdio, libusb, libarchive, acl, libgudev, qemu, libsecret
6
6
, libcap_ng, numactl, xen, libapparmor
···
16
16
doCheck = true;
17
17
18
18
nativeBuildInputs = [
19
19
-
makeWrapper pkgconfig intltool
19
19
+
makeWrapper pkgconfig gettext
20
20
];
21
21
22
22
buildInputs = [
23
23
itstool libvirt-glib glib gobjectIntrospection libxml2 gtk3 gtkvnc
24
24
-
libvirt spice_gtk spice_protocol libuuid libsoup libosinfo systemd
25
25
-
tracker vala_0_32 libcap yajl gmp gdbm cyrus_sasl libusb libarchive
24
24
+
libvirt spice_gtk spice_protocol libsoup libosinfo systemd
25
25
+
tracker tracker-miners vala libcap yajl gmp gdbm cyrus_sasl libusb libarchive
26
26
gnome3.defaultIconTheme librsvg desktop_file_utils acl libgudev libsecret
27
27
libcap_ng numactl xen libapparmor
28
28
];
+10
-6
pkgs/desktops/gnome-3/apps/gnome-calendar/default.nix
···
1
1
-
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
2
2
-
, intltool, evolution_data_server, sqlite, libxml2, libsoup
1
1
+
{ stdenv, fetchurl, meson, ninja, pkgconfig, wrapGAppsHook
2
2
+
, gettext, libxml2, gnome3, gtk, evolution_data_server, libsoup
3
3
, glib, gnome_online_accounts, gsettings_desktop_schemas }:
4
4
5
5
stdenv.mkDerivation rec {
···
7
7
8
8
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";
9
9
10
10
-
nativeBuildInputs = [ pkgconfig ];
10
10
+
nativeBuildInputs = [ meson ninja pkgconfig gettext libxml2 wrapGAppsHook ];
11
11
buildInputs = [
12
12
-
gtk3 wrapGAppsHook intltool evolution_data_server
13
13
-
sqlite libxml2 libsoup glib gnome3.defaultIconTheme gnome_online_accounts
14
14
-
gsettings_desktop_schemas
12
12
+
gtk evolution_data_server libsoup glib gnome_online_accounts
13
13
+
gsettings_desktop_schemas gnome3.defaultIconTheme
15
14
];
15
15
+
16
16
+
postPatch = ''
17
17
+
chmod +x meson_post_install.py # patchShebangs requires executable file
18
18
+
patchShebangs meson_post_install.py
19
19
+
'';
16
20
17
21
meta = with stdenv.lib; {
18
22
homepage = https://wiki.gnome.org/Apps/Calendar;
+13
-10
pkgs/desktops/gnome-3/apps/gnome-clocks/default.nix
···
1
1
-
{ stdenv, intltool, fetchurl, libgweather, libnotify
2
2
-
, pkgconfig, gtk3, glib, gsound
3
3
-
, makeWrapper, itstool, libcanberra_gtk3, libtool
4
4
-
, gnome3, librsvg, gdk_pixbuf, geoclue2, wrapGAppsHook }:
1
1
+
{ stdenv, fetchurl
2
2
+
, meson, ninja, gettext, pkgconfig, wrapGAppsHook, itstool, desktop_file_utils
3
3
+
, vala, gtk3, glib, gsound, libcanberra_gtk3
4
4
+
, gnome3, gdk_pixbuf, geoclue2, libgweather }:
5
5
6
6
stdenv.mkDerivation rec {
7
7
inherit (import ./src.nix fetchurl) name src;
8
8
9
9
doCheck = true;
10
10
11
11
-
nativeBuildInputs = [ pkgconfig ];
12
12
-
buildInputs = [ gtk3 glib intltool itstool libcanberra_gtk3
13
13
-
gnome3.gsettings_desktop_schemas makeWrapper
14
14
-
gdk_pixbuf gnome3.defaultIconTheme librsvg
11
11
+
nativeBuildInputs = [ vala meson ninja pkgconfig gettext itstool wrapGAppsHook desktop_file_utils ];
12
12
+
buildInputs = [ gtk3 glib libcanberra_gtk3
13
13
+
gnome3.gsettings_desktop_schemas
14
14
+
gdk_pixbuf gnome3.defaultIconTheme
15
15
gnome3.gnome_desktop gnome3.geocode_glib geoclue2
16
16
-
libgweather libnotify libtool gsound
17
17
-
wrapGAppsHook ];
16
16
+
libgweather gsound ];
18
17
19
18
enableParallelBuilding = true;
19
19
+
20
20
+
prePatch = "patchShebangs build-aux/";
21
21
+
22
22
+
checkPhase = "meson test";
20
23
21
24
meta = with stdenv.lib; {
22
25
homepage = https://wiki.gnome.org/Apps/Clocks;
+8
-11
pkgs/desktops/gnome-3/apps/gnome-documents/default.nix
···
1
1
-
{ stdenv, intltool, fetchurl, evince, gjs
2
2
-
, pkgconfig, gtk3, glib
3
3
-
, makeWrapper, itstool, libxslt, webkitgtk
1
1
+
{ stdenv, gettext, fetchurl, evince, gjs
2
2
+
, pkgconfig, gtk3, glib, tracker, tracker-miners
3
3
+
, itstool, libxslt, webkitgtk
4
4
, gnome3, librsvg, gdk_pixbuf, libsoup, docbook_xsl
5
5
, gobjectIntrospection, json_glib, inkscape, poppler_utils
6
6
, gmp, desktop_file_utils, wrapGAppsHook }:
···
12
12
13
13
configureFlags = [ "--enable-getting-started" ];
14
14
15
15
-
nativeBuildInputs = [ pkgconfig ];
16
16
-
buildInputs = [ gtk3 glib intltool itstool libxslt
17
17
-
docbook_xsl desktop_file_utils inkscape poppler_utils
18
18
-
gnome3.gsettings_desktop_schemas makeWrapper gmp
15
15
+
nativeBuildInputs = [ pkgconfig gettext itstool libxslt desktop_file_utils docbook_xsl wrapGAppsHook ];
16
16
+
buildInputs = [ gtk3 glib inkscape poppler_utils
17
17
+
gnome3.gsettings_desktop_schemas gmp
19
18
gdk_pixbuf gnome3.defaultIconTheme librsvg evince
20
19
libsoup webkitgtk gjs gobjectIntrospection gnome3.rest
21
21
-
gnome3.tracker gnome3.libgdata gnome3.gnome_online_accounts
22
22
-
gnome3.gnome_desktop gnome3.libzapojit json_glib
23
23
-
wrapGAppsHook ]
24
24
-
++ (with gnome3; [ libgepub ]);
20
20
+
tracker tracker-miners gnome3.libgdata gnome3.gnome_online_accounts
21
21
+
gnome3.gnome_desktop gnome3.libzapojit json_glib gnome3.libgepub ];
25
22
26
23
enableParallelBuilding = true;
27
24
+2
-2
pkgs/desktops/gnome-3/apps/gnome-music/default.nix
···
1
1
-
{ stdenv, intltool, fetchurl, gdk_pixbuf, tracker
1
1
+
{ stdenv, intltool, fetchurl, gdk_pixbuf, tracker, tracker-miners
2
2
, libxml2, python3Packages, libnotify, wrapGAppsHook
3
3
, pkgconfig, gtk3, glib, cairo
4
4
, makeWrapper, itstool, gnome3, librsvg, gst_all_1 }:
···
15
15
python3Packages.pycairo python3Packages.dbus-python python3Packages.requests
16
16
python3Packages.pygobject3 gst_all_1.gstreamer gst_all_1.gst-plugins-base
17
17
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad wrapGAppsHook
18
18
-
gnome3.gsettings_desktop_schemas makeWrapper tracker ];
18
18
+
gnome3.gsettings_desktop_schemas makeWrapper tracker tracker-miners ];
19
19
20
20
wrapPrefixVariables = [ "PYTHONPATH" ];
21
21
+2
-2
pkgs/desktops/gnome-3/apps/gnome-photos/default.nix
···
1
1
{ stdenv, intltool, fetchurl, exempi, libxml2
2
2
-
, pkgconfig, gtk3, glib
2
2
+
, pkgconfig, gtk3, glib, tracker, tracker-miners
3
3
, makeWrapper, itstool, gegl, babl, lcms2
4
4
, desktop_file_utils, gmp, libmediaart, wrapGAppsHook
5
5
, gnome3, librsvg, gdk_pixbuf, libexif, gexiv2, geocode_glib
···
18
18
gdk_pixbuf gnome3.defaultIconTheme librsvg exempi
19
19
gnome3.gfbgraph gnome3.grilo-plugins gnome3.grilo
20
20
gnome3.gnome_online_accounts gnome3.gnome_desktop
21
21
-
lcms2 libexif gnome3.tracker libxml2 desktop_file_utils
21
21
+
lcms2 libexif tracker tracker-miners libxml2 desktop_file_utils
22
22
wrapGAppsHook gexiv2 geocode_glib dleyna-renderer ];
23
23
24
24
enableParallelBuilding = true;
+14
-6
pkgs/desktops/gnome-3/apps/polari/default.nix
···
1
1
-
{ stdenv, intltool, fetchurl, gdk_pixbuf, adwaita-icon-theme
2
2
-
, telepathy_glib, gjs, itstool, telepathy_idle, libxml2
3
3
-
, pkgconfig, gtk3, glib, librsvg, libsecret, libsoup
1
1
+
{ stdenv, itstool, fetchurl, fetchpatch, gdk_pixbuf, adwaita-icon-theme
2
2
+
, telepathy_glib, gjs, meson, ninja, gettext, telepathy_idle, libxml2, desktop_file_utils
3
3
+
, pkgconfig, gtk3, glib, libsecret, libsoup, gobjectIntrospection, appstream-glib
4
4
, gnome3, wrapGAppsHook, telepathy_logger, gspell }:
5
5
6
6
stdenv.mkDerivation rec {
···
8
8
9
9
propagatedUserEnvPkgs = [ telepathy_idle telepathy_logger ];
10
10
11
11
-
nativeBuildInputs = [ pkgconfig ];
12
12
-
buildInputs = [ gtk3 glib intltool itstool adwaita-icon-theme wrapGAppsHook gnome3.gsettings_desktop_schemas
13
13
-
telepathy_glib telepathy_logger gjs gspell gdk_pixbuf librsvg libxml2 libsecret libsoup ];
11
11
+
nativeBuildInputs = [ meson ninja pkgconfig itstool gettext wrapGAppsHook libxml2
12
12
+
desktop_file_utils gobjectIntrospection appstream-glib ];
13
13
+
buildInputs = [ gtk3 glib adwaita-icon-theme gnome3.gsettings_desktop_schemas
14
14
+
telepathy_glib telepathy_logger gjs gspell gdk_pixbuf libsecret libsoup ];
15
15
+
16
16
+
patches = [
17
17
+
(fetchpatch {
18
18
+
url = https://gitlab.gnome.org/jtojnar/polari/commit/a6733a6ad95eac1813e7b18e3d0018a22ee7a377.diff;
19
19
+
sha256 = "0f5ll49h5w0477lkh67kaa2j83z376z1jk7z3i2v7cq4d3hi5lf9";
20
20
+
})
21
21
+
];
14
22
15
23
enableParallelBuilding = true;
16
24
+3
-3
pkgs/desktops/gnome-3/core/eog/default.nix
···
1
1
-
{ fetchurl, stdenv, intltool, pkgconfig, itstool, libxml2, libjpeg, gnome3
1
1
+
{ fetchurl, stdenv, gettext, pkgconfig, itstool, libxml2, libjpeg, gnome3
2
2
, shared_mime_info, wrapGAppsHook, librsvg, libexif }:
3
3
4
4
stdenv.mkDerivation rec {
5
5
inherit (import ./src.nix fetchurl) name src;
6
6
7
7
-
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
7
7
+
nativeBuildInputs = [ pkgconfig gettext itstool wrapGAppsHook ];
8
8
9
9
buildInputs = with gnome3;
10
10
-
[ intltool itstool libxml2 libjpeg gtk glib libpeas librsvg
10
10
+
[ libxml2 libjpeg gtk glib libpeas librsvg
11
11
gsettings_desktop_schemas shared_mime_info adwaita-icon-theme
12
12
gnome_desktop libexif dconf ];
13
13
+23
-13
pkgs/desktops/gnome-3/core/epiphany/default.nix
···
1
1
-
{ stdenv, intltool, fetchurl, pkgconfig, gtk3, glib, nspr, icu
2
2
-
, bash, wrapGAppsHook, gnome3, libwnck3, libxml2, libxslt, libtool
1
1
+
{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig, gtk, glib, icu
2
2
+
, wrapGAppsHook, gnome3, libxml2, libxslt, itstool
3
3
, webkitgtk, libsoup, glib_networking, libsecret, gnome_desktop, libnotify, p11_kit
4
4
-
, sqlite, gcr, avahi, nss, isocodes, itstool, file, which
5
5
-
, gdk_pixbuf, librsvg, gnome_common, gst_all_1, json_glib }:
4
4
+
, sqlite, gcr, isocodes, desktop_file_utils, file
5
5
+
, gdk_pixbuf, gnome_common, gst_all_1, json_glib }:
6
6
7
7
stdenv.mkDerivation rec {
8
8
inherit (import ./src.nix fetchurl) name src;
9
9
10
10
# Tests need an X display
11
11
-
configureFlags = [ "--disable-static --disable-tests" ];
11
11
+
mesonFlags = [ "-Dunit_tests=false" ];
12
12
13
13
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
14
14
15
15
-
nativeBuildInputs = [ pkgconfig file wrapGAppsHook ];
15
15
+
nativeBuildInputs = [ meson ninja libxslt pkgconfig itstool gettext file wrapGAppsHook desktop_file_utils ];
16
16
17
17
-
buildInputs = [ gtk3 glib intltool libwnck3 libxml2 libxslt file
18
18
-
webkitgtk libsoup libsecret gnome_desktop libnotify libtool
19
19
-
sqlite isocodes nss itstool p11_kit nspr icu gnome3.yelp_tools
20
20
-
gdk_pixbuf gnome3.defaultIconTheme librsvg which gnome_common
21
21
-
gcr avahi gnome3.gsettings_desktop_schemas gnome3.dconf
22
22
-
gnome3.glib_networking gst_all_1.gstreamer gst_all_1.gst-plugins-base
17
17
+
buildInputs = [ gtk glib webkitgtk libsoup libxml2 libsecret gnome_desktop libnotify
18
18
+
sqlite isocodes p11_kit icu gnome3.yelp_tools
19
19
+
gdk_pixbuf gnome3.defaultIconTheme gnome_common gcr
20
20
+
glib_networking gst_all_1.gstreamer gst_all_1.gst-plugins-base
23
21
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-ugly
24
22
gst_all_1.gst-libav json_glib ];
25
23
26
26
-
NIX_CFLAGS_COMPILE = "-I${nss.dev}/include/nss -I${glib.dev}/include/gio-unix-2.0";
24
24
+
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
27
25
28
26
enableParallelBuilding = true;
27
27
+
28
28
+
postPatch = ''
29
29
+
chmod +x post_install.py # patchShebangs requires executable file
30
30
+
patchShebangs post_install.py
31
31
+
'';
32
32
+
33
33
+
postFixup = ''
34
34
+
# Patched meson does not add internal libraries to rpath
35
35
+
for f in bin/.epiphany-wrapped libexec/.epiphany-search-provider-wrapped libexec/epiphany/.ephy-profile-migrator-wrapped lib/epiphany/web-extensions/libephywebextension.so; do
36
36
+
patchelf --set-rpath "$out/lib/epiphany:$(patchelf --print-rpath $out/$f)" "$out/$f"
37
37
+
done
38
38
+
'';
29
39
30
40
meta = with stdenv.lib; {
31
41
homepage = https://wiki.gnome.org/Apps/Epiphany;
+8
-7
pkgs/desktops/gnome-3/core/evolution-data-server/default.nix
···
1
1
{ fetchurl, stdenv, pkgconfig, gnome3, python, dconf
2
2
, intltool, libsoup, libxml2, libsecret, icu, sqlite
3
3
-
, p11_kit, db, nspr, nss, libical, gperf, makeWrapper, valaSupport ? true,
4
4
-
vala_0_32, cmake, kerberos, openldap, webkitgtk, libaccounts-glib }:
3
3
+
, p11_kit, db, nspr, nss, libical, gperf, makeWrapper, valaSupport ? true
4
4
+
, vala, cmake, kerberos, openldap, webkitgtk, libaccounts-glib, json_glib }:
5
5
6
6
stdenv.mkDerivation rec {
7
7
inherit (import ./src.nix fetchurl) name src;
8
8
9
9
+
nativeBuildInputs = [ cmake pkgconfig intltool python gperf makeWrapper ];
9
10
buildInputs = with gnome3;
10
10
-
[ pkgconfig glib python intltool libsoup libxml2 gtk gnome_online_accounts
11
11
-
(stdenv.lib.getLib dconf) gcr p11_kit libgweather libgdata gperf makeWrapper
12
12
-
icu sqlite gsettings_desktop_schemas cmake kerberos openldap webkitgtk
13
13
-
libaccounts-glib ]
14
14
-
++ stdenv.lib.optional valaSupport vala_0_32;
11
11
+
[ glib libsoup libxml2 gtk gnome_online_accounts
12
12
+
(stdenv.lib.getLib dconf) gcr p11_kit libgweather libgdata
13
13
+
icu sqlite gsettings_desktop_schemas kerberos openldap webkitgtk
14
14
+
libaccounts-glib json_glib ]
15
15
+
++ stdenv.lib.optional valaSupport vala;
15
16
16
17
propagatedBuildInputs = [ libsecret nss nspr libical db ];
17
18
+3
-4
pkgs/desktops/gnome-3/core/gcr/default.nix
···
1
1
{ stdenv, fetchurl, pkgconfig, intltool, gnupg, p11_kit, glib
2
2
, libgcrypt, libtasn1, dbus_glib, gtk, pango, gdk_pixbuf, atk
3
3
-
, gobjectIntrospection, makeWrapper, libxslt, vala_0_32, gnome3 }:
3
3
+
, gobjectIntrospection, makeWrapper, libxslt, vala, gnome3 }:
4
4
5
5
stdenv.mkDerivation rec {
6
6
inherit (import ./src.nix fetchurl) name src;
7
7
8
8
outputs = [ "out" "dev" ];
9
9
10
10
-
nativeBuildInputs = [ pkgconfig ];
10
10
+
nativeBuildInputs = [ pkgconfig intltool gobjectIntrospection libxslt makeWrapper vala ];
11
11
12
12
buildInputs = let
13
13
gpg = gnupg.override { guiSupport = false; }; # prevent build cycle with pinentry_gnome
14
14
in [
15
15
-
intltool gpg gobjectIntrospection libxslt
16
16
-
libgcrypt libtasn1 dbus_glib pango gdk_pixbuf atk makeWrapper vala_0_32
15
15
+
gpg libgcrypt libtasn1 dbus_glib pango gdk_pixbuf atk
17
16
];
18
17
19
18
propagatedBuildInputs = [ glib gtk p11_kit ];
+8
-9
pkgs/desktops/gnome-3/core/gnome-bluetooth/default.nix
···
1
1
-
{ stdenv, fetchurl, gnome3, pkgconfig, gtk3, intltool, glib
2
2
-
, udev, itstool, libxml2, makeWrapper, libnotify, libcanberra_gtk3 }:
1
1
+
{ stdenv, fetchurl, gnome3, meson, ninja, pkgconfig, gtk3, intltool, glib
2
2
+
, udev, itstool, libxml2, wrapGAppsHook, libnotify, libcanberra_gtk3 }:
3
3
4
4
stdenv.mkDerivation rec {
5
5
inherit (import ./src.nix fetchurl) name src;
6
6
7
7
-
nativeBuildInputs = [ pkgconfig ];
8
8
-
buildInputs = [ intltool glib gtk3 udev libxml2 gnome3.defaultIconTheme
9
9
-
makeWrapper gnome3.gsettings_desktop_schemas itstool
10
10
-
libnotify libcanberra_gtk3 ];
7
7
+
nativeBuildInputs = [ meson ninja intltool itstool pkgconfig libxml2 wrapGAppsHook ];
8
8
+
buildInputs = [ glib gtk3 udev libnotify libcanberra_gtk3
9
9
+
gnome3.defaultIconTheme gnome3.gsettings_desktop_schemas ];
11
10
12
12
-
preFixup = ''
13
13
-
wrapProgram "$out/bin/bluetooth-sendto" \
14
14
-
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
11
11
+
postPatch = ''
12
12
+
chmod +x meson_post_install.py # patchShebangs requires executable file
13
13
+
patchShebangs meson_post_install.py
15
14
'';
16
15
17
16
meta = with stdenv.lib; {
+4
-7
pkgs/desktops/gnome-3/core/gnome-contacts/default.nix
···
3
3
, libchamplain, clutter_gtk, geocode_glib
4
4
, bash, wrapGAppsHook, itstool, folks, libnotify, libxml2
5
5
, gnome3, librsvg, gdk_pixbuf, file, telepathy_glib, nspr, nss
6
6
-
, libsoup, vala_0_32, dbus_glib, automake, autoconf }:
6
6
+
, libsoup, vala, dbus_glib, automake, autoconf }:
7
7
8
8
stdenv.mkDerivation rec {
9
9
inherit (import ./src.nix fetchurl) name src;
···
17
17
touch src/*.vala
18
18
'';
19
19
20
20
-
nativeBuildInputs = [ pkgconfig ];
21
21
-
buildInputs = [ gtk3 glib intltool itstool evolution_data_server
22
22
-
gnome3.gsettings_desktop_schemas wrapGAppsHook file libnotify
20
20
+
nativeBuildInputs = [ vala automake autoconf pkgconfig intltool itstool wrapGAppsHook file ];
21
21
+
buildInputs = [ gtk3 glib evolution_data_server gnome3.gsettings_desktop_schemas libnotify
23
22
folks gnome3.gnome_desktop telepathy_glib libsecret dbus_glib
24
23
libxml2 libsoup gnome3.gnome_online_accounts nspr nss
25
25
-
gdk_pixbuf gnome3.defaultIconTheme librsvg
26
26
-
libchamplain clutter_gtk geocode_glib
27
27
-
vala_0_32 automake autoconf db ];
24
24
+
gdk_pixbuf gnome3.defaultIconTheme libchamplain clutter_gtk geocode_glib db ];
28
25
29
26
preFixup = ''
30
27
gappsWrapperArgs+=(
+2
-2
pkgs/desktops/gnome-3/core/gnome-desktop/default.nix
···
1
1
{ stdenv, fetchurl, pkgconfig, python, libxml2Python, libxslt, which, libX11, gnome3, gtk3, glib
2
2
, intltool, gnome_doc_utils, libxkbfile, xkeyboard_config, isocodes, itstool, wayland
3
3
-
, gobjectIntrospection }:
3
3
+
, libseccomp, gobjectIntrospection }:
4
4
5
5
stdenv.mkDerivation rec {
6
6
inherit (import ./src.nix fetchurl) name src;
···
14
14
buildInputs = [ python libxml2Python libxslt which libX11
15
15
xkeyboard_config isocodes itstool wayland
16
16
gtk3 glib intltool gnome_doc_utils libxkbfile
17
17
-
gobjectIntrospection ];
17
17
+
libseccomp gobjectIntrospection ];
18
18
19
19
propagatedBuildInputs = [ gnome3.gsettings_desktop_schemas ];
20
20
+17
-14
pkgs/desktops/gnome-3/core/gnome-dictionary/default.nix
···
1
1
-
{ stdenv, intltool, fetchurl
2
2
-
, pkgconfig, gtk3, glib
3
3
-
, bash, makeWrapper, itstool, libxml2
4
4
-
, gnome3, librsvg, gdk_pixbuf, file }:
1
1
+
{ stdenv, fetchurl, meson, ninja, pkgconfig, desktop_file_utils, appstream-glib, libxslt
2
2
+
, libxml2, gettext, itstool, wrapGAppsHook, docbook_xsl, docbook_xml_dtd_43
3
3
+
, gnome3, gtk, glib }:
5
4
6
5
stdenv.mkDerivation rec {
7
6
inherit (import ./src.nix fetchurl) name src;
8
7
9
8
doCheck = true;
10
9
11
11
-
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";
12
12
-
13
10
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
14
14
-
propagatedBuildInputs = [ gdk_pixbuf gnome3.defaultIconTheme librsvg ];
11
11
+
propagatedBuildInputs = [ gnome3.defaultIconTheme ];
15
12
16
16
-
nativeBuildInputs = [ pkgconfig ];
17
17
-
buildInputs = [ gtk3 glib intltool itstool libxml2 file
18
18
-
gnome3.gsettings_desktop_schemas makeWrapper ];
13
13
+
nativeBuildInputs = [ meson ninja pkgconfig wrapGAppsHook libxml2 gettext itstool
14
14
+
desktop_file_utils appstream-glib libxslt docbook_xsl ];
15
15
+
buildInputs = [ gtk glib gnome3.gsettings_desktop_schemas ];
16
16
+
17
17
+
postPatch = ''
18
18
+
substituteInPlace data/meson.build --replace \
19
19
+
"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" \
20
20
+
"${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl"
19
21
20
20
-
preFixup = ''
21
21
-
wrapProgram "$out/bin/gnome-dictionary" \
22
22
-
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
23
23
-
--prefix XDG_DATA_DIRS : "${gtk3.out}/share:${gnome3.gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
22
22
+
substituteInPlace data/gnome-dictionary.xml --replace \
23
23
+
http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd \
24
24
+
${docbook_xml_dtd_43}/xml/dtd/docbook/docbookx.dtd
24
25
'';
26
26
+
27
27
+
checkPhase = "meson test";
25
28
26
29
meta = with stdenv.lib; {
27
30
homepage = https://wiki.gnome.org/Apps/Dictionary;
+14
-13
pkgs/desktops/gnome-3/core/gnome-disk-utility/default.nix
···
1
1
-
{ stdenv, intltool, fetchurl, pkgconfig, udisks2, libsecret, libdvdread
2
2
-
, bash, gtk3, glib, wrapGAppsHook, cracklib, libnotify
3
3
-
, itstool, gnome3, gdk_pixbuf, libxml2, python
4
4
-
, libcanberra_gtk3, libxslt, libtool, docbook_xsl, libpwquality }:
1
1
+
{ stdenv, gettext, fetchurl, pkgconfig, udisks2, libsecret, libdvdread
2
2
+
, meson, ninja, gtk, glib, wrapGAppsHook, libnotify
3
3
+
, itstool, gnome3, gdk_pixbuf, libxml2
4
4
+
, libcanberra_gtk3, libxslt, docbook_xsl, libpwquality }:
5
5
6
6
stdenv.mkDerivation rec {
7
7
inherit (import ./src.nix fetchurl) name src;
8
8
-
9
9
-
doCheck = true;
10
8
11
9
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";
12
10
13
11
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
14
12
15
15
-
nativeBuildInputs = [ pkgconfig ];
16
16
-
buildInputs = [ bash gtk3 glib intltool itstool
17
17
-
libxslt libtool libsecret libpwquality cracklib
18
18
-
libnotify libdvdread libcanberra_gtk3 docbook_xsl
19
19
-
gdk_pixbuf gnome3.defaultIconTheme
20
20
-
udisks2 gnome3.gnome_settings_daemon
21
21
-
gnome3.gsettings_desktop_schemas wrapGAppsHook libxml2 ];
13
13
+
nativeBuildInputs = [ meson ninja pkgconfig gettext itstool libxslt docbook_xsl
14
14
+
wrapGAppsHook libxml2 ];
15
15
+
buildInputs = [ gtk glib libsecret libpwquality libnotify libdvdread libcanberra_gtk3
16
16
+
gdk_pixbuf udisks2 gnome3.defaultIconTheme
17
17
+
gnome3.gnome_settings_daemon gnome3.gsettings_desktop_schemas ];
18
18
+
19
19
+
postPatch = ''
20
20
+
chmod +x meson_post_install.py # patchShebangs requires executable file
21
21
+
patchShebangs meson_post_install.py
22
22
+
'';
22
23
23
24
meta = with stdenv.lib; {
24
25
homepage = https://en.wikipedia.org/wiki/GNOME_Disks;
+8
-16
pkgs/desktops/gnome-3/core/gnome-font-viewer/default.nix
···
1
1
-
{ stdenv, intltool, fetchurl
2
2
-
, pkgconfig, gtk3, glib
3
3
-
, bash, wrapGAppsHook, itstool
4
4
-
, gnome3, librsvg, gdk_pixbuf }:
1
1
+
{ stdenv, meson, ninja, gettext, fetchurl
2
2
+
, pkgconfig, gtk3, glib, libxml2
3
3
+
, wrapGAppsHook, gnome3 }:
5
4
6
5
stdenv.mkDerivation rec {
7
6
inherit (import ./src.nix fetchurl) name src;
8
7
9
8
doCheck = true;
10
9
11
11
-
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";
10
10
+
checkPhase = "meson test";
12
11
13
13
-
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
14
14
-
15
15
-
nativeBuildInputs = [ pkgconfig ];
16
16
-
buildInputs = [ gtk3 glib intltool itstool gnome3.gnome_desktop
17
17
-
gdk_pixbuf gnome3.defaultIconTheme librsvg
18
18
-
gnome3.gsettings_desktop_schemas wrapGAppsHook ];
12
12
+
nativeBuildInputs = [ meson ninja pkgconfig gettext wrapGAppsHook libxml2 ];
13
13
+
buildInputs = [ gtk3 glib gnome3.gnome_desktop gnome3.defaultIconTheme ];
19
14
20
20
-
preFixup = ''
21
21
-
gappsWrapperArgs+=(
22
22
-
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share"
23
23
-
)
24
24
-
'';
15
15
+
# Do not run meson-postinstall.sh
16
16
+
preConfigure = "sed -i '2,$ d' meson-postinstall.sh";
25
17
26
18
meta = with stdenv.lib; {
27
19
description = "Program that can preview fonts and create thumbnails for fonts";
+3
-10
pkgs/desktops/gnome-3/core/gnome-online-miners/default.nix
···
1
1
{ stdenv, fetchurl, pkgconfig, glib, gnome3, libxml2
2
2
-
, libsoup, json_glib, gmp, openssl, dleyna-server, makeWrapper }:
2
2
+
, libsoup, json_glib, gmp, openssl, dleyna-server, wrapGAppsHook }:
3
3
4
4
stdenv.mkDerivation rec {
5
5
inherit (import ./src.nix fetchurl) name src;
6
6
7
7
-
nativeBuildInputs = [ pkgconfig ];
7
7
+
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
8
8
buildInputs = [ glib gnome3.libgdata libxml2 libsoup gmp openssl
9
9
gnome3.grilo gnome3.libzapojit gnome3.grilo-plugins
10
10
-
gnome3.gnome_online_accounts makeWrapper gnome3.libmediaart
10
10
+
gnome3.gnome_online_accounts gnome3.libmediaart
11
11
gnome3.tracker gnome3.gfbgraph json_glib gnome3.rest
12
12
dleyna-server ];
13
13
14
14
enableParallelBuilding = true;
15
15
-
16
16
-
preFixup = ''
17
17
-
for f in $out/libexec/*; do
18
18
-
wrapProgram "$f" \
19
19
-
--prefix GRL_PLUGIN_PATH : "${gnome3.grilo-plugins}/lib/grilo-${gnome3.grilo-plugins.major}"
20
20
-
done
21
21
-
'';
22
15
23
16
meta = with stdenv.lib; {
24
17
homepage = https://wiki.gnome.org/Projects/GnomeOnlineMiners;
+16
-12
pkgs/desktops/gnome-3/core/gnome-screenshot/default.nix
···
1
1
-
{ stdenv, intltool, fetchurl, pkgconfig, libcanberra_gtk3
2
2
-
, bash, gtk3, glib, wrapGAppsHook
3
3
-
, itstool, gnome3, librsvg, gdk_pixbuf }:
1
1
+
{ stdenv, gettext, libxml2, fetchurl, pkgconfig, libcanberra_gtk3
2
2
+
, bash, gtk3, glib, meson, ninja, wrapGAppsHook, appstream-glib
3
3
+
, gnome3, librsvg, gdk_pixbuf }:
4
4
5
5
stdenv.mkDerivation rec {
6
6
inherit (import ./src.nix fetchurl) name src;
7
7
8
8
doCheck = true;
9
9
10
10
-
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";
10
10
+
checkPhase = "meson test";
11
11
+
12
12
+
13
13
+
postPatch = ''
14
14
+
chmod +x build-aux/postinstall.py # patchShebangs requires executable file
15
15
+
patchShebangs build-aux/postinstall.py
16
16
+
'';
11
17
12
18
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
13
19
propagatedBuildInputs = [ gdk_pixbuf gnome3.defaultIconTheme librsvg ];
14
20
15
15
-
nativeBuildInputs = [ pkgconfig ];
16
16
-
buildInputs = [ bash gtk3 glib intltool itstool libcanberra_gtk3
17
17
-
gnome3.gsettings_desktop_schemas wrapGAppsHook ];
21
21
+
nativeBuildInputs = [ meson ninja pkgconfig gettext appstream-glib libxml2 wrapGAppsHook ];
22
22
+
buildInputs = [ bash gtk3 glib libcanberra_gtk3
23
23
+
gnome3.gsettings_desktop_schemas ];
18
24
19
19
-
preFixup = ''
20
20
-
gappsWrapperArgs+=(
21
21
-
--prefix XDG_DATA_DIRS : "${gtk3.out}/share:${gnome3.gnome_themes_standard}/share"
22
22
-
)
23
23
-
'';
25
25
+
patches = [
26
26
+
./prevent-cache-updates.patch
27
27
+
];
24
28
25
29
meta = with stdenv.lib; {
26
30
homepage = https://en.wikipedia.org/wiki/GNOME_Screenshot;
+21
pkgs/desktops/gnome-3/core/gnome-screenshot/prevent-cache-updates.patch
···
1
1
+
--- a/build-aux/postinstall.py
2
2
+
+++ b/build-aux/postinstall.py
3
3
+
@@ -8,18 +8,6 @@
4
4
+
5
5
+
# Packaging tools define DESTDIR and this isn't needed for them
6
6
+
if 'DESTDIR' not in os.environ:
7
7
+
- print('Updating icon cache...')
8
8
+
- icon_cache_dir = os.path.join(datadir, 'icons', 'hicolor')
9
9
+
- if not os.path.exists(icon_cache_dir):
10
10
+
- os.makedirs(icon_cache_dir)
11
11
+
- subprocess.call(['gtk-update-icon-cache', '-qtf', icon_cache_dir])
12
12
+
-
13
13
+
- print('Updating desktop database...')
14
14
+
- desktop_database_dir = os.path.join(datadir, 'applications')
15
15
+
- if not os.path.exists(desktop_database_dir):
16
16
+
- os.makedirs(desktop_database_dir)
17
17
+
- subprocess.call(['update-desktop-database', '-q', desktop_database_dir])
18
18
+
-
19
19
+
print('Compiling GSettings schemas...')
20
20
+
schemas_dir = os.path.join(datadir, 'glib-2.0', 'schemas')
21
21
+
if not os.path.exists(schemas_dir):
+47
-28
pkgs/desktops/gnome-3/core/gnome-shell/default.nix
···
1
1
-
{ fetchurl, stdenv, pkgconfig, gnome3, json_glib, libcroco, intltool, libsecret
1
1
+
{ fetchurl, fetchpatch, stdenv, meson, ninja, pkgconfig, gnome3, json_glib, libcroco, gettext, libsecret
2
2
, python3Packages, libsoup, polkit, clutter, networkmanager, docbook_xsl , docbook_xsl_ns, at_spi2_core
3
3
-
, libstartup_notification, telepathy_glib, telepathy_logger, libXtst, p11_kit, unzip
4
4
-
, sqlite, libgweather, libcanberra_gtk3, librsvg, geoclue2
5
5
-
, libpulseaudio, libical, libtool, nss, gobjectIntrospection, gstreamer, makeWrapper
6
6
-
, accountsservice, gdk_pixbuf, gdm, upower, ibus, networkmanagerapplet }:
3
3
+
, libstartup_notification, telepathy_glib, telepathy_logger, libXtst, p11_kit, unzip, glibcLocales
4
4
+
, sqlite, libgweather, libcanberra_gtk3, librsvg, geoclue2, perl, docbook_xml_dtd_42
5
5
+
, libpulseaudio, libical, nss, gobjectIntrospection, gstreamer, wrapGAppsHook
6
6
+
, accountsservice, gdk_pixbuf, gdm, upower, ibus, networkmanagerapplet
7
7
+
, gst_all_1 }:
7
8
8
9
# http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.10.2.1.ebuild?revision=1.3&view=markup
9
10
···
14
15
inherit (import ./src.nix fetchurl) name src;
15
16
16
17
# Needed to find /etc/NetworkManager/VPN
17
17
-
configureFlags = [ "--sysconfdir=/etc" ];
18
18
+
mesonFlags = [ "--sysconfdir=/etc" ];
19
19
+
20
20
+
LANG = "en_US.UTF-8";
18
21
22
22
+
nativeBuildInputs = [ meson ninja gettext docbook_xsl docbook_xsl_ns perl wrapGAppsHook glibcLocales ];
19
23
buildInputs = with gnome3;
20
24
[ gsettings_desktop_schemas gnome_keyring gnome-menus glib gcr json_glib accountsservice
21
21
-
libcroco intltool libsecret pkgconfig libsoup polkit libcanberra_gtk2 gdk_pixbuf
25
25
+
libcroco libsecret pkgconfig libsoup polkit gdk_pixbuf
22
26
(librsvg.override { enableIntrospection = true; })
23
23
-
clutter networkmanager libstartup_notification telepathy_glib docbook_xsl docbook_xsl_ns
27
27
+
clutter networkmanager libstartup_notification telepathy_glib
24
28
libXtst p11_kit networkmanagerapplet gjs mutter libpulseaudio caribou evolution_data_server
25
25
-
libical libtool nss gtk gstreamer makeWrapper gdm
29
29
+
libical nss gtk gstreamer gdm
26
30
libcanberra_gtk3 gnome_control_center geoclue2
27
31
defaultIconTheme sqlite gnome3.gnome-bluetooth
28
32
libgweather # not declared at build time, but typelib is needed at runtime
29
33
gnome3.gnome-clocks # schemas needed
30
34
at_spi2_core upower ibus gnome_desktop telepathy_logger gnome3.gnome_settings_daemon
35
35
+
gst_all_1.gst-plugins-good # recording
31
36
gobjectIntrospection (stdenv.lib.getLib dconf) ];
32
37
33
33
-
installFlags = [ "keysdir=$(out)/share/gnome-control-center/keybindings" ];
38
38
+
patches = [
39
39
+
(fetchpatch {
40
40
+
name = "0001-build-Add-missing-dependency-to-run-js-test.patch";
41
41
+
url = https://bug787864.bugzilla-attachments.gnome.org/attachment.cgi?id=360016;
42
42
+
sha256 = "1dmahd8ysbzh33rxglba0fbq127aw9h14cl2a2bw9913vjxhxijm";
43
43
+
})
44
44
+
./fix-paths.patch
45
45
+
];
46
46
+
47
47
+
postPatch = ''
48
48
+
substituteInPlace man/meson.build --replace \
49
49
+
"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" \
50
50
+
"${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl"
51
51
+
52
52
+
substituteInPlace man/gnome-shell.xml --replace \
53
53
+
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd \
54
54
+
${docbook_xml_dtd_42}/xml/dtd/docbook/docbookx.dtd
55
55
+
'';
34
56
35
57
preBuild = ''
36
36
-
patchShebangs src/data-to-c.pl
37
37
-
substituteInPlace data/Makefile --replace " install-keysDATA" ""
58
58
+
# meson setup-hook changes the directory so the files are located one level up
59
59
+
patchShebangs ../src/data-to-c.pl
38
60
39
39
-
substituteInPlace src/gnome-shell-extension-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python"
40
40
-
substituteInPlace src/gnome-shell-perf-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python"
61
61
+
substituteInPlace ../src/gnome-shell-extension-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python"
62
62
+
substituteInPlace ../src/gnome-shell-perf-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python"
41
63
'';
42
42
-
43
64
44
65
preFixup = with gnome3; ''
45
45
-
wrapProgram "$out/bin/gnome-shell" \
46
46
-
--prefix PATH : "${unzip}/bin" \
47
47
-
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
48
48
-
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules" \
49
49
-
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
50
50
-
--prefix XDG_DATA_DIRS : "${gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS" \
51
51
-
--suffix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
66
66
+
gappsWrapperArgs+=(
67
67
+
--prefix PATH : "${unzip}/bin"
68
68
+
)
52
69
53
53
-
wrapProgram "$out/bin/gnome-shell-extension-prefs" \
54
54
-
--prefix XDG_DATA_DIRS : "$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
70
70
+
echo "${unzip}/bin" > $out/${passthru.mozillaPlugin}/extra-bin-path
71
71
+
'';
55
72
56
56
-
wrapProgram "$out/libexec/gnome-shell-calendar-server" \
57
57
-
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules" \
58
58
-
--prefix XDG_DATA_DIRS : "${evolution_data_server}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
73
73
+
postInstall = ''
74
74
+
glib-compile-schemas $out/share/glib-2.0/schemas
75
75
+
'';
59
76
60
60
-
echo "${unzip}/bin" > $out/${passthru.mozillaPlugin}/extra-bin-path
77
77
+
postFixup = ''
78
78
+
# Patched meson does not add internal libraries to rpath
79
79
+
patchelf --set-rpath "$out/lib/gnome-shell:$(patchelf --print-rpath $out/bin/.gnome-shell-wrapped)" $out/bin/.gnome-shell-wrapped
61
80
'';
62
81
63
82
enableParallelBuilding = true;
+18
pkgs/desktops/gnome-3/core/gnome-shell/fix-paths.patch
···
1
1
+
diff --git a/meson.build b/meson.build
2
2
+
index 4c1f5c63b..a9edb8795 100644
3
3
+
--- a/meson.build
4
4
+
+++ b/meson.build
5
5
+
@@ -59,12 +59,7 @@ servicedir = join_paths(datadir, 'dbus-1', 'services')
6
6
+
7
7
+
plugindir = get_variable('BROWSER_PLUGIN_DIR', mozplugindir)
8
8
+
9
9
+
-keybindings_dep = dependency('gnome-keybindings', required: false)
10
10
+
-if keybindings_dep.found()
11
11
+
- keysdir = keybindings_dep.get_pkgconfig_variable('keysdir')
12
12
+
-else
13
13
+
- keysdir = join_paths(datadir, 'gnome-control-center', 'keybindings')
14
14
+
-endif
15
15
+
+keysdir = join_paths(datadir, 'gnome-control-center', 'keybindings')
16
16
+
17
17
+
atk_bridge_dep = dependency('atk-bridge-2.0')
18
18
+
canberra_dep = dependency('libcanberra')
+33
-7
pkgs/desktops/gnome-3/core/gnome-software/default.nix
···
1
1
-
{ stdenv, fetchurl, pkgconfig, intltool, gnome3, wrapGAppsHook, packagekit
2
2
-
, appstream-glib, libsoup, polkit, attr, acl, libyaml, isocodes, gtkspell3
3
3
-
, json_glib, libsecret, valgrind-light }:
1
1
+
{ stdenv, fetchurl, pkgconfig, meson, ninja, gettext, gnome3, wrapGAppsHook, packagekit, ostree
2
2
+
, glib, appstream-glib, libsoup, polkit, attr, acl, libyaml, isocodes, gtkspell3, libxslt
3
3
+
, json_glib, libsecret, valgrind-light, docbook_xsl, docbook_xml_dtd_42, gtk_doc, desktop_file_utils }:
4
4
5
5
stdenv.mkDerivation rec {
6
6
inherit (import ./src.nix fetchurl) name src;
7
7
8
8
-
nativeBuildInputs = [ pkgconfig intltool wrapGAppsHook ];
9
9
-
buildInputs = [ gnome3.gtk packagekit appstream-glib libsoup
8
8
+
nativeBuildInputs = [ pkgconfig meson ninja gettext wrapGAppsHook libxslt
9
9
+
valgrind-light docbook_xsl gtk_doc desktop_file_utils ];
10
10
+
buildInputs = [ gnome3.gtk glib packagekit appstream-glib libsoup
10
11
gnome3.gsettings_desktop_schemas gnome3.gnome_desktop
11
11
-
gtkspell3 json_glib libsecret
12
12
-
polkit attr acl libyaml valgrind-light ];
12
12
+
gtkspell3 json_glib libsecret ostree
13
13
+
polkit attr acl libyaml ];
13
14
propagatedBuildInputs = [ isocodes ];
15
15
+
16
16
+
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
17
17
+
18
18
+
postPatch = ''
19
19
+
patchShebangs meson_post_install.sh
20
20
+
21
21
+
substituteInPlace src/meson.build --replace \
22
22
+
"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" \
23
23
+
"${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl"
24
24
+
25
25
+
for xml in src/gnome-software.xml src/gnome-software-editor.xml; do
26
26
+
substituteInPlace $xml --replace \
27
27
+
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd \
28
28
+
${docbook_xml_dtd_42}/xml/dtd/docbook/docbookx.dtd
29
29
+
done
30
30
+
'';
31
31
+
32
32
+
mesonFlags = [
33
33
+
"-Denable-flatpak=false"
34
34
+
"-Denable-rpm=false"
35
35
+
"-Denable-fwupd=false"
36
36
+
"-Denable-oauth=false"
37
37
+
"-Denable-ubuntu-reviews=false"
38
38
+
"-Denable-gudev=false"
39
39
+
];
14
40
15
41
postInstall = ''
16
42
mkdir -p $out/share/xml/
+4
-4
pkgs/desktops/gnome-3/core/gnome-terminal/default.nix
···
1
1
-
{ stdenv, fetchurl, pkgconfig, cairo, libxml2, gnome3, pango
2
2
-
, gnome_doc_utils, intltool, libX11, which, libuuid, vala_0_32
1
1
+
{ stdenv, fetchurl, pkgconfig, libxml2, gnome3
2
2
+
, gnome_doc_utils, intltool, which, libuuid, vala_0_32
3
3
, desktop_file_utils, itstool, wrapGAppsHook, appdata-tools }:
4
4
5
5
stdenv.mkDerivation rec {
6
6
inherit (import ./src.nix fetchurl) name src;
7
7
8
8
buildInputs = [ gnome3.gtk gnome3.gsettings_desktop_schemas gnome3.vte appdata-tools
9
9
-
gnome3.dconf itstool gnome3.nautilus vala_0_32 ];
9
9
+
gnome3.dconf itstool gnome3.nautilus ];
10
10
11
11
nativeBuildInputs = [ pkgconfig intltool gnome_doc_utils which libuuid libxml2
12
12
-
desktop_file_utils wrapGAppsHook ];
12
12
+
vala_0_32 desktop_file_utils wrapGAppsHook ];
13
13
14
14
# Silly ./configure, it looks for dbus file from gnome-shell in the
15
15
# installation tree of the package it is configuring.
+4
-4
pkgs/desktops/gnome-3/core/gsound/default.nix
···
3
3
let
4
4
majVer = "1.0";
5
5
in stdenv.mkDerivation rec {
6
6
-
name = "gsound-${majVer}.1";
6
6
+
name = "gsound-${majVer}.2";
7
7
8
8
src = fetchurl {
9
9
url = "mirror://gnome/sources/gsound/${majVer}/${name}.tar.xz";
10
10
-
sha256 = "ea0dd94429c0645f2f98824274ef04543fe459dd83a5449a68910acc3ba67f29";
10
10
+
sha256 = "bba8ff30eea815037e53bee727bbd5f0b6a2e74d452a7711b819a7c444e78e53";
11
11
};
12
12
13
13
-
nativeBuildInputs = [ pkgconfig ];
14
14
-
buildInputs = [ glib libcanberra_gtk2 gobjectIntrospection libtool ];
13
13
+
nativeBuildInputs = [ pkgconfig gobjectIntrospection libtool gnome3.vala ];
14
14
+
buildInputs = [ glib libcanberra_gtk2 ];
15
15
16
16
meta = with stdenv.lib; {
17
17
homepage = https://wiki.gnome.org/Projects/GSound;
+7
-2
pkgs/desktops/gnome-3/core/libgweather/default.nix
···
4
4
stdenv.mkDerivation rec {
5
5
inherit (import ./src.nix fetchurl) name src;
6
6
7
7
-
configureFlags = [ "--with-zoneinfo-dir=${tzdata}/share/zoneinfo" ];
7
7
+
configureFlags = [ "--with-zoneinfo-dir=${tzdata}/share/zoneinfo" "--enable-vala" ];
8
8
propagatedBuildInputs = [ libxml2 gtk libsoup gconf pango gdk_pixbuf atk gnome3.geocode_glib ];
9
9
-
nativeBuildInputs = [ pkgconfig intltool ];
9
9
+
nativeBuildInputs = [ pkgconfig intltool gnome3.vala ];
10
10
+
11
11
+
# Prevent building vapi into ${vala} derivation directory
12
12
+
prePatch = ''
13
13
+
substituteInPlace libgweather/Makefile.in --replace "\$(DESTDIR)\$(vapidir)" "\$(DESTDIR)\$(girdir)/../vala/vapi"
14
14
+
'';
10
15
11
16
meta = with stdenv.lib; {
12
17
platforms = platforms.linux;
+1
-1
pkgs/desktops/gnome-3/core/mutter/default.nix
···
1
1
-
{ fetchurl, fetchpatch, stdenv, pkgconfig, gnome3, intltool, gobjectIntrospection, upower, cairo
1
1
+
{ fetchurl, stdenv, pkgconfig, gnome3, intltool, gobjectIntrospection, upower, cairo
2
2
, pango, cogl, clutter, libstartup_notification, libcanberra_gtk2, zenity, libcanberra_gtk3
3
3
, libtool, makeWrapper, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libudev, libinput
4
4
, libgudev, libwacom, xwayland, autoreconfHook }:
+11
-7
pkgs/desktops/gnome-3/core/nautilus/default.nix
···
1
1
-
{ stdenv, fetchurl, pkgconfig, libxml2, dbus_glib, shared_mime_info, libexif
2
2
-
, gtk, gnome3, libunique, intltool, gobjectIntrospection, gnome-autoar, glib
3
3
-
, libnotify, wrapGAppsHook, exempi, librsvg, tracker, libselinux, gdk_pixbuf }:
1
1
+
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, libxml2, desktop_file_utils, wrapGAppsHook
2
2
+
, gtk, gnome3, gnome-autoar, glib, dbus_glib, shared_mime_info, libnotify, libexif
3
3
+
, exempi, librsvg, tracker, tracker-miners, libselinux, gdk_pixbuf }:
4
4
5
5
stdenv.mkDerivation rec {
6
6
inherit (import ./src.nix fetchurl) name src;
7
7
8
8
-
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
8
8
+
nativeBuildInputs = [ meson ninja pkgconfig libxml2 gettext wrapGAppsHook desktop_file_utils ];
9
9
10
10
-
buildInputs = [ libxml2 dbus_glib shared_mime_info libexif gtk libunique intltool exempi librsvg
11
11
-
gnome3.gnome_desktop gnome3.adwaita-icon-theme
12
12
-
gnome3.gsettings_desktop_schemas gnome3.dconf libnotify tracker libselinux ];
10
10
+
buildInputs = [ dbus_glib shared_mime_info libexif gtk exempi libnotify libselinux
11
11
+
tracker tracker-miners gnome3.gnome_desktop gnome3.adwaita-icon-theme
12
12
+
gnome3.gsettings_desktop_schemas ];
13
13
14
14
propagatedBuildInputs = [ gnome-autoar ];
15
15
···
26
26
27
27
# hardeningDisable = [ "format" ];
28
28
enableParallelBuilding = true;
29
29
+
30
30
+
postPatch = ''
31
31
+
patchShebangs build-aux/meson/postinstall.py
32
32
+
'';
29
33
30
34
patches = [ ./extension_dir.patch ];
31
35
+10
-12
pkgs/desktops/gnome-3/core/simple-scan/default.nix
···
1
1
-
{ stdenv, fetchurl, cairo, colord, glib, gtk3, gusb, intltool, itstool
2
2
-
, libusb1, libxml2, pkgconfig, sane-backends, vala_0_32, wrapGAppsHook
3
3
-
, gnome3 }:
1
1
+
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, itstool, wrapGAppsHook
2
2
+
, cairo, gdk_pixbuf, colord, glib, gtk, gusb, packagekit, libwebp
3
3
+
, libxml2, sane-backends, vala, gnome3 }:
4
4
5
5
stdenv.mkDerivation rec {
6
6
inherit (import ./src.nix fetchurl) name src;
7
7
8
8
-
buildInputs = [ cairo colord glib gnome3.defaultIconTheme gusb gtk3 libusb1 libxml2 sane-backends vala_0_32 ];
9
9
-
nativeBuildInputs = [ intltool itstool pkgconfig wrapGAppsHook ];
8
8
+
buildInputs = [ cairo gdk_pixbuf colord glib gnome3.defaultIconTheme gusb
9
9
+
gtk libwebp packagekit sane-backends vala ];
10
10
+
nativeBuildInputs = [ meson ninja gettext itstool pkgconfig wrapGAppsHook libxml2 ];
10
11
11
11
-
configureFlags = [ "--disable-packagekit" ];
12
12
+
postPatch = ''
13
13
+
patchShebangs data/meson_compile_gschema.py
12
14
13
13
-
patchPhase = ''
14
15
sed -i -e 's#Icon=scanner#Icon=simple-scan#g' ./data/simple-scan.desktop.in
15
15
-
'';
16
16
-
17
17
-
preBuild = ''
18
18
-
# Clean up stale .c files referencing packagekit headers as of 3.20.0:
19
19
-
make clean
20
16
'';
21
17
22
18
postInstall = ''
···
38
34
enableParallelBuilding = true;
39
35
40
36
doCheck = true;
37
37
+
38
38
+
checkPhase = "meson test";
41
39
42
40
meta = with stdenv.lib; {
43
41
description = "Simple scanning utility";
+2
-2
pkgs/desktops/gnome-3/core/totem-pl-parser/default.nix
···
1
1
-
{ stdenv, fetchurl, pkgconfig, file, intltool, gmime, libxml2, libsoup, gnome3 }:
1
1
+
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, gmime, libxml2, libsoup, gnome3 }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
inherit (import ./src.nix fetchurl) name src;
5
5
6
6
-
nativeBuildInputs = [ pkgconfig file intltool ];
6
6
+
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
7
7
buildInputs = [ gmime libxml2 libsoup ];
8
8
9
9
meta = with stdenv.lib; {
+1
-1
pkgs/desktops/gnome-3/core/totem-pl-parser/src.nix
···
5
5
6
6
src = fetchurl {
7
7
url = mirror://gnome/sources/totem-pl-parser/3.26/totem-pl-parser-3.26.0.tar.xz;
8
8
-
sha256 = "f153a53391e9b42fed5cb6ce62322a58e323fde6ec4a54d8ba4d376cf4c1fbcb";
8
8
+
sha256 = "1jzvq7s6qdsdpbc58jpcwvyj7qsq58r65kmnbknjzd79j4rsalzi";
9
9
};
10
10
}
+25
-12
pkgs/desktops/gnome-3/core/totem/default.nix
···
1
1
-
{ stdenv, intltool, fetchurl, gst_all_1
1
1
+
{ stdenv, fetchurl, meson, ninja, intltool, gst_all_1, clutter
2
2
, clutter_gtk, clutter-gst, python3Packages, shared_mime_info
3
3
, pkgconfig, gtk3, glib, gobjectIntrospection
4
4
-
, bash, wrapGAppsHook, itstool, libxml2, dbus_glib
5
5
-
, gnome3, librsvg, gdk_pixbuf, file, tracker, nautilus }:
4
4
+
, bash, wrapGAppsHook, itstool, libxml2, dbus_glib, vala, gnome3, librsvg
5
5
+
, gdk_pixbuf, file, tracker, nautilus }:
6
6
7
7
stdenv.mkDerivation rec {
8
8
inherit (import ./src.nix fetchurl) name src;
···
15
15
16
16
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
17
17
18
18
-
nativeBuildInputs = [ pkgconfig ];
19
19
-
buildInputs = [ gtk3 glib intltool itstool libxml2 gnome3.grilo
20
20
-
clutter_gtk clutter-gst gnome3.totem-pl-parser gnome3.grilo-plugins
21
21
-
gst_all_1.gstreamer gst_all_1.gst-plugins-base
22
22
-
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-ugly gst_all_1.gst-libav
23
23
-
gnome3.libpeas shared_mime_info dbus_glib
24
24
-
gdk_pixbuf gnome3.defaultIconTheme librsvg gnome3.gnome_desktop
25
25
-
gnome3.gsettings_desktop_schemas wrapGAppsHook file tracker nautilus ];
18
18
+
nativeBuildInputs = [ meson ninja vala pkgconfig intltool python3Packages.python itstool file wrapGAppsHook ];
19
19
+
buildInputs = [ gtk3 glib gnome3.grilo clutter_gtk clutter-gst gnome3.totem-pl-parser gnome3.grilo-plugins
20
20
+
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad
21
21
+
gst_all_1.gst-plugins-ugly gst_all_1.gst-libav gnome3.libpeas shared_mime_info dbus_glib
22
22
+
gdk_pixbuf libxml2 gnome3.defaultIconTheme gnome3.gnome_desktop
23
23
+
gnome3.gsettings_desktop_schemas tracker nautilus ];
26
24
27
25
propagatedBuildInputs = [ gobjectIntrospection python3Packages.pylint python3Packages.pygobject2 ];
28
26
29
29
-
configureFlags = [ "--with-nautilusdir=$(out)/lib/nautilus/extensions-3.0" ];
27
27
+
checkPhase = "meson test";
28
28
+
29
29
+
patches = [
30
30
+
(fetchurl {
31
31
+
name = "remove-pycompile.patch";
32
32
+
url = "https://bug787965.bugzilla-attachments.gnome.org/attachment.cgi?id=360204";
33
33
+
sha256 = "1iphlazllv42k553jqh3nqrrh5jb63gy3nhj4ipwc9xh4sg2irhi";
34
34
+
})
35
35
+
];
36
36
+
37
37
+
postPatch = ''
38
38
+
chmod +x meson_compile_python.py meson_post_install.py # patchShebangs requires executable file
39
39
+
patchShebangs .
40
40
+
'';
41
41
+
42
42
+
mesonFlags = [ "-Dwith-nautilusdir=lib/nautilus/extensions-3.0" ];
30
43
31
44
GI_TYPELIB_PATH = "$out/lib/girepository-1.0";
32
45
wrapPrefixVariables = [ "PYTHONPATH" ];
+45
pkgs/desktops/gnome-3/core/tracker-miners/default.nix
···
1
1
+
{ stdenv, intltool, fetchurl, libxml2, upower
2
2
+
, pkgconfig, gtk3, glib
3
3
+
, bash, wrapGAppsHook, itstool, vala, sqlite, libxslt
4
4
+
, gnome3, librsvg, gdk_pixbuf, libnotify
5
5
+
, evolution_data_server, gst_all_1, poppler
6
6
+
, icu, taglib, libjpeg, libtiff, giflib, libcue
7
7
+
, libvorbis, flac, exempi, networkmanager
8
8
+
, libpng, libexif, libgsf, libuuid, bzip2
9
9
+
, libsoup, json_glib, libseccomp
10
10
+
, libiptcdata }:
11
11
+
12
12
+
stdenv.mkDerivation rec {
13
13
+
inherit (import ./src.nix fetchurl) name src;
14
14
+
15
15
+
NIX_CFLAGS_COMPILE = "-I${poppler.dev}/include/poppler";
16
16
+
17
17
+
enableParallelBuilding = true;
18
18
+
19
19
+
nativeBuildInputs = [ vala pkgconfig intltool itstool libxslt wrapGAppsHook ];
20
20
+
# TODO: add libgrss, libenca
21
21
+
buildInputs = [
22
22
+
bzip2 evolution_data_server exempi flac giflib glib gnome3.totem-pl-parser
23
23
+
gnome3.tracker gst_all_1.gst-plugins-base gst_all_1.gstreamer icu
24
24
+
json_glib libcue libexif libgsf libiptcdata libjpeg libpng libseccomp libsoup
25
25
+
libtiff libuuid libvorbis libxml2 poppler taglib upower
26
26
+
];
27
27
+
28
28
+
LANG = "en_US.UTF-8"; # for running tests
29
29
+
30
30
+
doCheck = true;
31
31
+
32
32
+
postPatch = ''
33
33
+
substituteInPlace src/libtracker-common/tracker-domain-ontology.c --replace \
34
34
+
'SHAREDIR, "tracker", "domain-ontologies"' \
35
35
+
'"${gnome3.tracker}/share", "tracker", "domain-ontologies"'
36
36
+
'';
37
37
+
38
38
+
meta = with stdenv.lib; {
39
39
+
homepage = https://wiki.gnome.org/Projects/Tracker;
40
40
+
description = "Desktop-neutral user information store, search tool and indexer";
41
41
+
maintainers = gnome3.maintainers;
42
42
+
license = licenses.gpl2;
43
43
+
platforms = platforms.linux;
44
44
+
};
45
45
+
}
+10
pkgs/desktops/gnome-3/core/tracker-miners/src.nix
···
1
1
+
# Autogenerated by maintainers/scripts/gnome.sh update
2
2
+
3
3
+
fetchurl: {
4
4
+
name = "tracker-miners-2.0.2";
5
5
+
6
6
+
src = fetchurl {
7
7
+
url = mirror://gnome/sources/tracker-miners/2.0/tracker-miners-2.0.2.tar.xz;
8
8
+
sha256 = "cf417ece944c997f630dda41a7f5c449d609fa53dbb34fae7caa4c7af1e0e8ef";
9
9
+
};
10
10
+
}
+12
-32
pkgs/desktops/gnome-3/core/tracker/default.nix
···
1
1
-
{ stdenv, intltool, fetchurl, libxml2, upower
2
2
-
, pkgconfig, gtk3, glib
3
3
-
, bash, wrapGAppsHook, itstool, vala_0_32, sqlite, libxslt
4
4
-
, gnome3, librsvg, gdk_pixbuf, file, libnotify
5
5
-
, evolution_data_server, gst_all_1, poppler
6
6
-
, icu, taglib, libjpeg, libtiff, giflib, libcue
7
7
-
, libvorbis, flac, exempi, networkmanager
8
8
-
, libpng, libexif, libgsf, libuuid, bzip2
9
9
-
, libsoup, json_glib, libseccomp }:
1
1
+
{ stdenv, fetchurl, fetchpatch, intltool, pkgconfig
2
2
+
, libxml2, upower, glib, wrapGAppsHook, vala, sqlite, libxslt
3
3
+
, gnome3, icu, libuuid, networkmanager, libsoup, json_glib }:
10
4
11
5
stdenv.mkDerivation rec {
12
12
-
13
6
inherit (import ./src.nix fetchurl) name src;
14
14
-
15
15
-
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
16
16
-
17
17
-
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0 -I${poppler.dev}/include/poppler";
18
7
19
8
enableParallelBuilding = true;
20
9
21
21
-
nativeBuildInputs = [ pkgconfig ];
22
22
-
buildInputs = [ vala_0_32 gtk3 glib intltool itstool libxml2
23
23
-
bzip2 gnome3.totem-pl-parser libxslt
24
24
-
gnome3.gsettings_desktop_schemas wrapGAppsHook
25
25
-
file gdk_pixbuf gnome3.defaultIconTheme librsvg sqlite
26
26
-
upower libnotify evolution_data_server gnome3.libgee
27
27
-
gst_all_1.gstreamer gst_all_1.gst-plugins-base flac
28
28
-
poppler icu taglib libjpeg libtiff giflib libvorbis
29
29
-
exempi networkmanager libpng libexif libgsf libuuid
30
30
-
libsoup json_glib libseccomp
31
31
-
];
10
10
+
nativeBuildInputs = [ vala pkgconfig intltool libxslt wrapGAppsHook ];
11
11
+
# TODO: add libstemmer
12
12
+
buildInputs = [
13
13
+
glib libxml2 sqlite upower icu networkmanager libsoup libuuid json_glib
14
14
+
];
32
15
33
33
-
preConfigure = ''
34
34
-
substituteInPlace src/libtracker-sparql/Makefile.in --replace "--shared-library=libtracker-sparql" "--shared-library=$out/lib/libtracker-sparql"
35
35
-
'';
16
16
+
# TODO: figure out wrapping unit tests, some of them fail on missing gsettings_desktop_schemas
17
17
+
configureFlags = [ "--disable-unit-tests" ];
36
18
37
37
-
preFixup = ''
38
38
-
gappsWrapperArgs+=(
39
39
-
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share"
40
40
-
)
19
19
+
postPatch = ''
20
20
+
patchShebangs utils/g-ir-merge/g-ir-merge
41
21
'';
42
22
43
23
meta = with stdenv.lib; {
+3
-3
pkgs/desktops/gnome-3/core/tracker/src.nix
···
1
1
# Autogenerated by maintainers/scripts/gnome.sh update
2
2
3
3
fetchurl: {
4
4
-
name = "tracker-1.12.3";
4
4
+
name = "tracker-2.0.1";
5
5
6
6
src = fetchurl {
7
7
-
url = mirror://gnome/sources/tracker/1.12/tracker-1.12.3.tar.xz;
8
8
-
sha256 = "1mpq418lzba7fad0w0m3bnxvz3khf461b5zya8zmq5n1g0w99ki3";
7
7
+
url = mirror://gnome/sources/tracker/2.0/tracker-2.0.1.tar.xz;
8
8
+
sha256 = "ac5c9f4dbb0741af5877ae2818d8c053aa9a431477a924a17976bb7e44411e47";
9
9
};
10
10
}
+3
-4
pkgs/desktops/gnome-3/core/vte/default.nix
···
1
1
{ stdenv, fetchurl, intltool, pkgconfig
2
2
-
, gnome3, ncurses, gobjectIntrospection, vala_0_32, libxml2, gnutls
2
2
+
, gnome3, ncurses, gobjectIntrospection, vala, libxml2, gnutls
3
3
, fetchFromGitHub, autoconf, automake, libtool, gtk_doc, gperf, pcre2
4
4
}:
5
5
6
6
stdenv.mkDerivation rec {
7
7
inherit (import ./src.nix fetchurl) name src;
8
8
9
9
-
nativeBuildInputs = [ pkgconfig ];
10
10
-
buildInputs = [ gobjectIntrospection intltool gnome3.glib
11
11
-
gnome3.gtk3 ncurses vala_0_32 libxml2 gperf ];
9
9
+
nativeBuildInputs = [ gobjectIntrospection intltool pkgconfig vala gperf libxml2 ];
10
10
+
buildInputs = [ gnome3.glib gnome3.gtk3 ncurses ];
12
11
13
12
propagatedBuildInputs = [ gnutls pcre2 ];
14
13
+4
-2
pkgs/desktops/gnome-3/default.nix
···
54
54
gnome3 = self // { recurseForDerivations = false; };
55
55
gtk = gtk3;
56
56
gtkmm = gtkmm3;
57
57
-
vala = pkgs.vala_0_32;
57
57
+
vala = pkgs.vala_0_38;
58
58
gegl_0_3 = pkgs.gegl_0_3.override { inherit gtk; };
59
59
60
60
# Simplify the nixos module and gnome packages
···
237
237
238
238
totem-pl-parser = callPackage ./core/totem-pl-parser { };
239
239
240
240
-
tracker = callPackage ./core/tracker { giflib = pkgs.giflib_5_0; };
240
240
+
tracker = callPackage ./core/tracker { };
241
241
+
242
242
+
tracker-miners = callPackage ./core/tracker-miners { };
241
243
242
244
vte = callPackage ./core/vte { };
243
245
+6
-4
pkgs/desktops/gnome-3/misc/gnome-packagekit/default.nix
···
1
1
-
{ stdenv, fetchurl, pkgconfig, intltool, gnome3, libxslt, packagekit
2
2
-
, fontconfig, libcanberra_gtk3, libnotify, wrapGAppsHook, dbus_glib, dbus_libs }:
1
1
+
{ stdenv, fetchurl, pkgconfig, meson, ninja, gettext, gnome3, libxslt, packagekit, polkit
2
2
+
, fontconfig, libcanberra_gtk3, systemd, libnotify, wrapGAppsHook, dbus_glib, dbus_libs, desktop_file_utils }:
3
3
4
4
stdenv.mkDerivation rec {
5
5
inherit (import ./src.nix fetchurl) name src;
6
6
7
7
NIX_CFLAGS_COMPILE = "-I${dbus_glib.dev}/include/dbus-1.0 -I${dbus_libs.dev}/include/dbus-1.0";
8
8
9
9
-
nativeBuildInputs = [ pkgconfig intltool wrapGAppsHook ];
10
10
-
buildInputs = [ libxslt gnome3.gtk packagekit fontconfig
9
9
+
nativeBuildInputs = [ pkgconfig meson ninja gettext wrapGAppsHook desktop_file_utils ];
10
10
+
buildInputs = [ libxslt gnome3.gtk packagekit fontconfig systemd polkit
11
11
libcanberra_gtk3 libnotify dbus_glib dbus_libs ];
12
12
+
13
13
+
prePatch = "patchShebangs meson_post_install.sh";
12
14
13
15
meta = with stdenv.lib; {
14
16
homepage = https://www.freedesktop.org/software/PackageKit/;
+13
-39
pkgs/desktops/gnome-3/misc/gnome-tweak-tool/0001-Search-for-themes-and-icons-in-system-data-dirs.patch
···
1
1
-
From ac9e8e835888da1faa57f07c54fa4e73783621e2 Mon Sep 17 00:00:00 2001
1
1
+
From f7f7fe6bf36ca08c66192077bf964036eb02ffb5 Mon Sep 17 00:00:00 2001
2
2
From: Jascha Geerds <jascha@jgeerds.name>
3
3
-
Date: Sun, 25 Jun 2017 11:32:30 +0100
3
3
+
Date: Tue, 19 Sep 2017 03:08:07 +0200
4
4
Subject: [PATCH 1/3] Search for themes and icons in system data dirs
5
5
6
6
---
7
7
-
gtweak/tweaks/tweak_group_interface.py | 17 ++++-------------
8
8
-
gtweak/tweaks/tweak_group_keymouse.py | 7 ++-----
9
9
-
gtweak/utils.py | 17 +++++++++++++++++
10
10
-
3 files changed, 23 insertions(+), 18 deletions(-)
7
7
+
gtweak/tweaks/tweak_group_appearance.py | 17 ++++-------------
8
8
+
gtweak/utils.py | 17 +++++++++++++++++
9
9
+
2 files changed, 21 insertions(+), 13 deletions(-)
11
10
12
12
-
diff --git a/gtweak/tweaks/tweak_group_interface.py b/gtweak/tweaks/tweak_group_interface.py
13
13
-
index 97751ed..db89b85 100644
14
14
-
--- a/gtweak/tweaks/tweak_group_interface.py
15
15
-
+++ b/gtweak/tweaks/tweak_group_interface.py
11
11
+
diff --git a/gtweak/tweaks/tweak_group_appearance.py b/gtweak/tweaks/tweak_group_appearance.py
12
12
+
index ccadefc..0d12194 100644
13
13
+
--- a/gtweak/tweaks/tweak_group_appearance.py
14
14
+
+++ b/gtweak/tweaks/tweak_group_appearance.py
16
15
@@ -26,7 +26,7 @@ from gi.repository import Gtk
17
16
from gi.repository import GLib
18
17
19
18
import gtweak
20
19
-from gtweak.utils import walk_directories, make_combo_list_with_default, extract_zip_file
21
20
+from gtweak.utils import walk_directories, make_combo_list_with_default, extract_zip_file, get_resource_dirs
22
22
-
from gtweak.tweakmodel import Tweak, TWEAK_GROUP_APPEARANCE
21
21
+
from gtweak.tweakmodel import Tweak
23
22
from gtweak.gshellwrapper import GnomeShellFactory
24
23
from gtweak.gsettings import GSettingsSetting
25
24
@@ -50,10 +50,7 @@ class GtkThemeSwitcher(GSettingsComboTweak):
···
58
57
os.path.isdir(d) and \
59
58
os.path.exists(os.path.join(d, "cursors")))
60
59
return valid
61
61
-
diff --git a/gtweak/tweaks/tweak_group_keymouse.py b/gtweak/tweaks/tweak_group_keymouse.py
62
62
-
index 69c4b7e..b06900c 100644
63
63
-
--- a/gtweak/tweaks/tweak_group_keymouse.py
64
64
-
+++ b/gtweak/tweaks/tweak_group_keymouse.py
65
65
-
@@ -21,7 +21,7 @@ from gi.repository import GLib
66
66
-
67
67
-
import gtweak
68
68
-
from gtweak.gshellwrapper import GnomeShellFactory
69
69
-
-from gtweak.utils import XSettingsOverrides, walk_directories, make_combo_list_with_default
70
70
-
+from gtweak.utils import XSettingsOverrides, walk_directories, make_combo_list_with_default, get_resource_dirs
71
71
-
from gtweak.widgets import ListBoxTweakGroup, GSettingsComboTweak, GSettingsSwitchTweak, GetterSetterSwitchTweak, Title, GSettingsComboEnumTweak
72
72
-
73
73
-
_shell = GnomeShellFactory().get_shell()
74
74
-
@@ -41,10 +41,7 @@ class KeyThemeSwitcher(GSettingsComboTweak):
75
75
-
**options)
76
76
-
77
77
-
def _get_valid_key_themes(self):
78
78
-
- dirs = ( os.path.join(gtweak.DATA_DIR, "themes"),
79
79
-
- os.path.join(GLib.get_user_data_dir(), "themes"),
80
80
-
- os.path.join(os.path.expanduser("~"), ".themes"))
81
81
-
- valid = walk_directories(dirs, lambda d:
82
82
-
+ valid = walk_directories(get_resource_dirs("themes"), lambda d:
83
83
-
os.path.isfile(os.path.join(d, "gtk-3.0", "gtk-keys.css")) and \
84
84
-
os.path.isfile(os.path.join(d, "gtk-2.0-key", "gtkrc")))
85
85
-
return valid
86
60
diff --git a/gtweak/utils.py b/gtweak/utils.py
87
87
-
index 39f8833..b0993b6 100644
61
61
+
index de6c345..6c60b88 100644
88
62
--- a/gtweak/utils.py
89
63
+++ b/gtweak/utils.py
90
64
@@ -21,6 +21,7 @@ import tempfile
···
95
69
96
70
import gtweak
97
71
from gtweak.gsettings import GSettingsSetting
98
98
-
@@ -116,6 +117,22 @@ def execute_subprocess(cmd_then_args, block=True):
72
72
+
@@ -117,6 +118,22 @@ def execute_subprocess(cmd_then_args, block=True):
99
73
stdout, stderr = p.communicate()
100
74
return stdout, stderr, p.returncode
101
75
···
119
93
class AutostartManager:
120
94
121
95
--
122
122
-
2.12.2
96
96
+
2.14.1
123
97
+13
-36
pkgs/desktops/gnome-3/misc/gnome-tweak-tool/0002-Don-t-show-multiple-entries-for-a-single-theme.patch
···
1
1
-
From 25c047ac6a2ac892e2be3d7e002fbf7a16725a4c Mon Sep 17 00:00:00 2001
1
1
+
From 8e75fe5f1ebd8a140a7306294d2219aea4ac47d2 Mon Sep 17 00:00:00 2001
2
2
From: Jascha Geerds <jascha@jgeerds.name>
3
3
-
Date: Sun, 25 Jun 2017 11:35:10 +0100
3
3
+
Date: Tue, 19 Sep 2017 03:16:07 +0200
4
4
Subject: [PATCH 2/3] Don't show multiple entries for a single theme
5
5
6
6
---
7
7
-
gtweak/tweaks/tweak_group_interface.py | 8 ++++----
8
8
-
gtweak/tweaks/tweak_group_keymouse.py | 4 ++--
9
9
-
gtweak/utils.py | 16 ++++++++++++++++
10
10
-
3 files changed, 22 insertions(+), 6 deletions(-)
7
7
+
gtweak/tweaks/tweak_group_appearance.py | 8 ++++----
8
8
+
gtweak/utils.py | 16 ++++++++++++++++
9
9
+
2 files changed, 20 insertions(+), 4 deletions(-)
11
10
12
12
-
diff --git a/gtweak/tweaks/tweak_group_interface.py b/gtweak/tweaks/tweak_group_interface.py
13
13
-
index db89b85..4697fe3 100644
14
14
-
--- a/gtweak/tweaks/tweak_group_interface.py
15
15
-
+++ b/gtweak/tweaks/tweak_group_interface.py
11
11
+
diff --git a/gtweak/tweaks/tweak_group_appearance.py b/gtweak/tweaks/tweak_group_appearance.py
12
12
+
index 0d12194..8e05077 100644
13
13
+
--- a/gtweak/tweaks/tweak_group_appearance.py
14
14
+
+++ b/gtweak/tweaks/tweak_group_appearance.py
16
15
@@ -26,7 +26,7 @@ from gi.repository import Gtk
17
16
from gi.repository import GLib
18
17
19
18
import gtweak
20
19
-from gtweak.utils import walk_directories, make_combo_list_with_default, extract_zip_file, get_resource_dirs
21
20
+from gtweak.utils import walk_directories, make_combo_list_with_default, extract_zip_file, get_resource_dirs, get_unique_resources
22
22
-
from gtweak.tweakmodel import Tweak, TWEAK_GROUP_APPEARANCE
21
21
+
from gtweak.tweakmodel import Tweak
23
22
from gtweak.gshellwrapper import GnomeShellFactory
24
23
from gtweak.gsettings import GSettingsSetting
25
24
@@ -54,7 +54,7 @@ class GtkThemeSwitcher(GSettingsComboTweak):
···
49
48
50
49
class ShellThemeTweak(Gtk.Box, Tweak):
51
50
52
52
-
diff --git a/gtweak/tweaks/tweak_group_keymouse.py b/gtweak/tweaks/tweak_group_keymouse.py
53
53
-
index b06900c..d34793e 100644
54
54
-
--- a/gtweak/tweaks/tweak_group_keymouse.py
55
55
-
+++ b/gtweak/tweaks/tweak_group_keymouse.py
56
56
-
@@ -21,7 +21,7 @@ from gi.repository import GLib
57
57
-
58
58
-
import gtweak
59
59
-
from gtweak.gshellwrapper import GnomeShellFactory
60
60
-
-from gtweak.utils import XSettingsOverrides, walk_directories, make_combo_list_with_default, get_resource_dirs
61
61
-
+from gtweak.utils import XSettingsOverrides, walk_directories, make_combo_list_with_default, get_resource_dirs, get_unique_resources
62
62
-
from gtweak.widgets import ListBoxTweakGroup, GSettingsComboTweak, GSettingsSwitchTweak, GetterSetterSwitchTweak, Title, GSettingsComboEnumTweak
63
63
-
64
64
-
_shell = GnomeShellFactory().get_shell()
65
65
-
@@ -44,7 +44,7 @@ class KeyThemeSwitcher(GSettingsComboTweak):
66
66
-
valid = walk_directories(get_resource_dirs("themes"), lambda d:
67
67
-
os.path.isfile(os.path.join(d, "gtk-3.0", "gtk-keys.css")) and \
68
68
-
os.path.isfile(os.path.join(d, "gtk-2.0-key", "gtkrc")))
69
69
-
- return valid
70
70
-
+ return get_unique_resources(valid)
71
71
-
72
72
-
TWEAK_GROUPS = [
73
73
-
ListBoxTweakGroup(_("Keyboard and Mouse"),
74
51
diff --git a/gtweak/utils.py b/gtweak/utils.py
75
75
-
index b0993b6..0d995bc 100644
52
52
+
index 6c60b88..6fd7c6a 100644
76
53
--- a/gtweak/utils.py
77
54
+++ b/gtweak/utils.py
78
78
-
@@ -133,6 +133,22 @@ def get_resource_dirs(resource):
55
55
+
@@ -134,6 +134,22 @@ def get_resource_dirs(resource):
79
56
80
57
return [dir for dir in dirs if os.path.isdir(dir)]
81
58
···
99
76
class AutostartManager:
100
77
101
78
--
102
102
-
2.12.2
79
79
+
2.14.1
103
80
+4
-4
pkgs/desktops/gnome-3/misc/gnome-tweak-tool/0003-Create-config-dir-if-it-doesn-t-exist.patch
···
1
1
-
From ba2eb4be6c69ee8206e0139268c896e6a2b278d8 Mon Sep 17 00:00:00 2001
1
1
+
From 6a6a7d1c708a2f568277699c5b605fa03ccb5faa Mon Sep 17 00:00:00 2001
2
2
From: Jascha Geerds <jascha@jgeerds.name>
3
3
-
Date: Sun, 25 Jun 2017 11:50:33 +0100
3
3
+
Date: Tue, 19 Sep 2017 03:17:20 +0200
4
4
Subject: [PATCH 3/3] Create config dir if it doesn't exist
5
5
6
6
---
···
8
8
1 file changed, 4 insertions(+)
9
9
10
10
diff --git a/gtweak/gtksettings.py b/gtweak/gtksettings.py
11
11
-
index a0c163b..f5883ec 100644
11
11
+
index a11363b..2871c49 100644
12
12
--- a/gtweak/gtksettings.py
13
13
+++ b/gtweak/gtksettings.py
14
14
@@ -36,6 +36,10 @@ class GtkSettingsManager:
···
23
23
keyfile.load_from_file(self._path, 0)
24
24
except MemoryError:
25
25
--
26
26
-
2.12.2
26
26
+
2.14.1
27
27
+13
-10
pkgs/desktops/gnome-3/misc/gnome-tweak-tool/default.nix
···
1
1
-
{ stdenv, intltool, fetchurl, atk
1
1
+
{ stdenv, meson, ninja, gettext, fetchurl, atk
2
2
, pkgconfig, gtk3, glib, libsoup
3
3
-
, bash, itstool, libxml2, python2Packages
3
3
+
, bash, itstool, libxml2, python3Packages
4
4
, gnome3, librsvg, gdk_pixbuf, file, libnotify, gobjectIntrospection, wrapGAppsHook }:
5
5
6
6
stdenv.mkDerivation rec {
···
8
8
9
9
doCheck = true;
10
10
11
11
-
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
11
11
+
checkPhase = "meson test";
12
12
13
13
-
makeFlags = [ "DESTDIR=/" ];
13
13
+
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
14
14
15
15
-
nativeBuildInputs = [ pkgconfig ];
16
16
-
buildInputs = [ gtk3 glib intltool itstool libxml2
17
17
-
gnome3.gsettings_desktop_schemas file
15
15
+
nativeBuildInputs = [ meson ninja pkgconfig gettext itstool libxml2 file wrapGAppsHook ];
16
16
+
buildInputs = [ gtk3 glib gnome3.gsettings_desktop_schemas
18
17
gdk_pixbuf gnome3.defaultIconTheme librsvg
19
19
-
libnotify gnome3.gnome_shell python2Packages.pygobject3
18
18
+
libnotify gnome3.gnome_shell python3Packages.pygobject3
20
19
libsoup gnome3.gnome_settings_daemon gnome3.nautilus
21
21
-
gnome3.gnome_desktop wrapGAppsHook gobjectIntrospection
20
20
+
gnome3.gnome_desktop gobjectIntrospection
22
21
];
23
22
23
23
+
postPatch = ''
24
24
+
patchShebangs meson-postinstall.py
25
25
+
'';
26
26
+
24
27
preFixup = ''
25
28
gappsWrapperArgs+=(
26
26
-
--prefix PYTHONPATH : "$out/${python2Packages.python.sitePackages}:$PYTHONPATH")
29
29
+
--prefix PYTHONPATH : "$out/${python3Packages.python.sitePackages}:$PYTHONPATH")
27
30
'';
28
31
29
32
patches = [
+1
-1
pkgs/desktops/gnome-3/misc/libgda/default.nix
···
1
1
-
{ stdenv, fetchurl, pkgconfig, intltool, itstool, libxml2, gtk3, openssl }:
1
1
+
{ stdenv, fetchurl, fetchpatch, pkgconfig, intltool, itstool, libxml2, gtk3, openssl }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
inherit (import ./src.nix fetchurl) name src;
-18
pkgs/development/libraries/giflib/5.0.nix
···
1
1
-
{stdenv, fetchurl, xmlto, docbook_xml_dtd_412, docbook_xsl, libxml2 }:
2
2
-
3
3
-
stdenv.mkDerivation {
4
4
-
name = "giflib-5.0.6";
5
5
-
src = fetchurl {
6
6
-
url = mirror://sourceforge/giflib/giflib-5.0.6.tar.bz2;
7
7
-
sha256 = "1sk9ysh27nabwb6z7a38n8gy2y2rnl3vjkbapv7pbjnzrff862c9";
8
8
-
};
9
9
-
10
10
-
buildInputs = [ xmlto docbook_xml_dtd_412 docbook_xsl libxml2 ];
11
11
-
meta = {
12
12
-
description = "A library for reading and writing gif images";
13
13
-
platforms = stdenv.lib.platforms.unix;
14
14
-
license = stdenv.lib.licenses.mit;
15
15
-
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
16
16
-
branch = "5.0";
17
17
-
};
18
18
-
}
+1
-1
pkgs/tools/misc/colord/default.nix
···
1
1
{ stdenv, fetchurl, bash-completion
2
2
, glib, polkit, pkgconfig, gettext, gusb, lcms2, sqlite, systemd, dbus
3
3
, gobjectIntrospection, argyllcms, meson, ninja, libxml2, vala_0_38
4
4
-
, libgudev, sane-backends }:
4
4
+
, libgudev, sane-backends, udev }:
5
5
6
6
stdenv.mkDerivation rec {
7
7
name = "colord-1.4.1";
-1
pkgs/top-level/all-packages.nix
···
9645
9645
9646
9646
giflib = giflib_5_1;
9647
9647
giflib_4_1 = callPackage ../development/libraries/giflib/4.1.nix { };
9648
9648
-
giflib_5_0 = callPackage ../development/libraries/giflib/5.0.nix { };
9649
9648
giflib_5_1 = callPackage ../development/libraries/giflib/5.1.nix { };
9650
9649
9651
9650
libungif = callPackage ../development/libraries/giflib/libungif.nix { };