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