mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
gnome3_20: Add GNOME 3.20 package set
This commit is contained in:
parent
99cfbda5c6
commit
da62589d8e
@ -81,7 +81,6 @@ in {
|
||||
};
|
||||
|
||||
environment.gnome3.packageSet = mkOption {
|
||||
type = types.nullOr types.package;
|
||||
default = null;
|
||||
example = literalExample "pkgs.gnome3_18";
|
||||
description = "Which GNOME 3 package set to use.";
|
||||
|
41
nixos/tests/gnome3_20-gdm.nix
Normal file
41
nixos/tests/gnome3_20-gdm.nix
Normal file
@ -0,0 +1,41 @@
|
||||
import ./make-test.nix ({ pkgs, ...} : {
|
||||
name = "gnome3-gdm";
|
||||
meta = with pkgs.stdenv.lib.maintainers; {
|
||||
maintainers = [ lethalman ];
|
||||
};
|
||||
|
||||
machine =
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{ imports = [ ./common/user-account.nix ];
|
||||
|
||||
services.xserver.enable = true;
|
||||
|
||||
services.xserver.displayManager.gdm = {
|
||||
enable = true;
|
||||
autoLogin = {
|
||||
enable = true;
|
||||
user = "alice";
|
||||
};
|
||||
};
|
||||
services.xserver.desktopManager.gnome3.enable = true;
|
||||
environment.gnome3.packageSet = pkgs.gnome3_20;
|
||||
|
||||
virtualisation.memorySize = 512;
|
||||
};
|
||||
|
||||
testScript =
|
||||
''
|
||||
$machine->waitForX;
|
||||
$machine->sleep(15);
|
||||
|
||||
# Check that logging in has given the user ownership of devices.
|
||||
$machine->succeed("getfacl /dev/snd/timer | grep -q alice");
|
||||
|
||||
$machine->succeed("su - alice -c 'DISPLAY=:0.0 gnome-terminal &'");
|
||||
$machine->succeed("xauth merge ~alice/.Xauthority");
|
||||
$machine->waitForWindow(qr/Terminal/);
|
||||
$machine->sleep(20);
|
||||
$machine->screenshot("screen");
|
||||
'';
|
||||
})
|
38
nixos/tests/gnome3_20.nix
Normal file
38
nixos/tests/gnome3_20.nix
Normal file
@ -0,0 +1,38 @@
|
||||
import ./make-test.nix ({ pkgs, ...} : {
|
||||
name = "gnome3";
|
||||
meta = with pkgs.stdenv.lib.maintainers; {
|
||||
maintainers = [ domenkozar eelco chaoflow lethalman ];
|
||||
};
|
||||
|
||||
machine =
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{ imports = [ ./common/user-account.nix ];
|
||||
|
||||
services.xserver.enable = true;
|
||||
|
||||
services.xserver.displayManager.auto.enable = true;
|
||||
services.xserver.displayManager.auto.user = "alice";
|
||||
services.xserver.desktopManager.gnome3.enable = true;
|
||||
|
||||
environment.gnome3.packageSet = pkgs.gnome3_20;
|
||||
|
||||
virtualisation.memorySize = 512;
|
||||
};
|
||||
|
||||
testScript =
|
||||
''
|
||||
$machine->waitForX;
|
||||
$machine->sleep(15);
|
||||
|
||||
# Check that logging in has given the user ownership of devices.
|
||||
$machine->succeed("getfacl /dev/snd/timer | grep -q alice");
|
||||
|
||||
$machine->succeed("su - alice -c 'DISPLAY=:0.0 gnome-terminal &'");
|
||||
$machine->succeed("xauth merge ~alice/.Xauthority");
|
||||
$machine->waitForWindow(qr/Terminal/);
|
||||
$machine->mustSucceed("timeout 900 bash -c 'journalctl -f|grep -m 1 \"GNOME Shell started\"'");
|
||||
$machine->sleep(10);
|
||||
$machine->screenshot("screen");
|
||||
'';
|
||||
})
|
28
pkgs/desktops/gnome-3/3.20/apps/accerciser/default.nix
Normal file
28
pkgs/desktops/gnome-3/3.20/apps/accerciser/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
|
||||
, itstool, libxml2, python3, python3Packages, pyatspi, at_spi2_core
|
||||
, dbus, intltool, libwnck3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "accerciser-3.14.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/accerciser/3.14/${name}.tar.xz";
|
||||
sha256 = "0x05gpajpcs01g7m34g6fxz8122cf9kx3k0lchwl34jy8xfr39gm";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig gtk3 wrapGAppsHook itstool libxml2 python3 pyatspi
|
||||
python3Packages.pygobject3 python3Packages.ipython
|
||||
at_spi2_core dbus intltool libwnck3 gnome3.defaultIconTheme
|
||||
];
|
||||
|
||||
wrapPrefixVariables = [ "PYTHONPATH" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Accerciser;
|
||||
description = "Interactive Python accessibility explorer";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
36
pkgs/desktops/gnome-3/3.20/apps/bijiben/default.nix
Normal file
36
pkgs/desktops/gnome-3/3.20/apps/bijiben/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv, intltool, fetchurl, pkgconfig, glib
|
||||
, evolution_data_server, evolution, sqlite
|
||||
, makeWrapper, itstool, desktop_file_utils
|
||||
, clutter_gtk, libuuid, webkitgtk, zeitgeist
|
||||
, gnome3, librsvg, gdk_pixbuf, libxml2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
|
||||
buildInputs = [ pkgconfig glib intltool itstool libxml2
|
||||
clutter_gtk libuuid webkitgtk gnome3.tracker
|
||||
gnome3.gnome_online_accounts zeitgeist desktop_file_utils
|
||||
gnome3.gsettings_desktop_schemas makeWrapper
|
||||
gdk_pixbuf gnome3.defaultIconTheme librsvg
|
||||
evolution_data_server evolution sqlite ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/bijiben" \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Bijiben;
|
||||
description = "Note editor designed to remain simple to use";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/bijiben/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/bijiben/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "bijiben-3.20.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/bijiben/3.20/bijiben-3.20.2.tar.xz;
|
||||
sha256 = "5774dfdedb79f5ffe5bac3cebe0816dc7e6410381744dcb999815061dee6a981";
|
||||
};
|
||||
}
|
26
pkgs/desktops/gnome-3/3.20/apps/cheese/default.nix
Normal file
26
pkgs/desktops/gnome-3/3.20/apps/cheese/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv, intltool, fetchurl, wrapGAppsHook, gnome-video-effects, libcanberra_gtk3
|
||||
, pkgconfig, gtk3, glib, clutter_gtk, clutter-gst, udev, gst_all_1, itstool
|
||||
, libgudev
|
||||
, adwaita-icon-theme, librsvg, gdk_pixbuf, gnome3, gnome_desktop, libxml2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool wrapGAppsHook gnome-video-effects itstool
|
||||
gdk_pixbuf adwaita-icon-theme librsvg udev gst_all_1.gstreamer libxml2
|
||||
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gnome_desktop
|
||||
gst_all_1.gst-plugins-bad clutter_gtk clutter-gst
|
||||
libcanberra_gtk3 libgudev ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${glib}/include/gio-unix-2.0";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Cheese;
|
||||
description = "Take photos and videos with your webcam, with fun graphical effects";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/cheese/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/cheese/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "cheese-3.20.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/cheese/3.20/cheese-3.20.2.tar.xz;
|
||||
sha256 = "b7c18719b708e039c063ef09278ee813923556e06af4a7e9598c5d3bdeb83775";
|
||||
};
|
||||
}
|
49
pkgs/desktops/gnome-3/3.20/apps/evolution/default.nix
Normal file
49
pkgs/desktops/gnome-3/3.20/apps/evolution/default.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{ stdenv, intltool, fetchurl, libxml2, webkitgtk, highlight
|
||||
, pkgconfig, gtk3, glib, libnotify, gtkspell3
|
||||
, makeWrapper, itstool, shared_mime_info, libical, db, gcr, sqlite
|
||||
, gnome3, librsvg, gdk_pixbuf, libsecret, nss, nspr, icu, libtool
|
||||
, libcanberra_gtk3, bogofilter, gst_all_1, procps, p11_kit }:
|
||||
|
||||
let
|
||||
majVer = gnome3.version;
|
||||
in stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
|
||||
propagatedBuildInputs = [ gnome3.gtkhtml ];
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool libxml2 libtool
|
||||
gdk_pixbuf gnome3.defaultIconTheme librsvg db icu
|
||||
gnome3.evolution_data_server libsecret libical gcr
|
||||
webkitgtk shared_mime_info gnome3.gnome_desktop gtkspell3
|
||||
libcanberra_gtk3 bogofilter gnome3.libgdata sqlite
|
||||
gst_all_1.gstreamer gst_all_1.gst-plugins-base p11_kit
|
||||
nss nspr libnotify procps highlight gnome3.libgweather
|
||||
gnome3.gsettings_desktop_schemas makeWrapper ];
|
||||
|
||||
configureFlags = [ "--disable-spamassassin" "--disable-pst-import" "--disable-autoar"
|
||||
"--disable-libcryptui" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${nspr}/include/nspr -I${nss}/include/nss -I${glib}/include/gio-unix-2.0";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preFixup = ''
|
||||
for f in $out/bin/* $out/libexec/*; do
|
||||
wrapProgram "$f" \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Evolution;
|
||||
description = "Personal information management application that provides integrated mail, calendaring and address book functionality";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.lgpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/evolution/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/evolution/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "evolution-3.20.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/evolution/3.20/evolution-3.20.2.tar.xz;
|
||||
sha256 = "66fa6e18c4e6a29c44870d5786e4dbb82507a8254bca9e27e802625081fca630";
|
||||
};
|
||||
}
|
22
pkgs/desktops/gnome-3/3.20/apps/file-roller/default.nix
Normal file
22
pkgs/desktops/gnome-3/3.20/apps/file-roller/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ stdenv, fetchurl, glib, pkgconfig, gnome3, intltool, itstool, libxml2, libarchive
|
||||
, attr, bzip2, acl, wrapGAppsHook, librsvg, gdk_pixbuf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
# TODO: support nautilus
|
||||
# it tries to create {nautilus}/lib/nautilus/extensions-3.0/libnautilus-fileroller.so
|
||||
|
||||
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
||||
|
||||
buildInputs = [ glib gnome3.gtk intltool itstool libxml2 libarchive
|
||||
gnome3.defaultIconTheme attr bzip2 acl gdk_pixbuf librsvg
|
||||
gnome3.dconf ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/FileRoller;
|
||||
description = "Archive manager for the GNOME desktop environment";
|
||||
platforms = platforms.linux;
|
||||
maintainers = gnome3.maintainers;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/file-roller/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/file-roller/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "file-roller-3.20.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/file-roller/3.20/file-roller-3.20.2.tar.xz;
|
||||
sha256 = "93188a7ac9285cb85551c327082aeaeb51ac39a9722cb96b0e29d5ec2ae353c6";
|
||||
};
|
||||
}
|
31
pkgs/desktops/gnome-3/3.20/apps/gedit/default.nix
Normal file
31
pkgs/desktops/gnome-3/3.20/apps/gedit/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, intltool, fetchurl, enchant, isocodes
|
||||
, pkgconfig, gtk3, glib
|
||||
, bash, wrapGAppsHook, itstool, libsoup, libxml2
|
||||
, gnome3, librsvg, gdk_pixbuf, file, gspell }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
||||
|
||||
buildInputs = [ gtk3 glib intltool itstool enchant isocodes
|
||||
gdk_pixbuf gnome3.defaultIconTheme librsvg libsoup
|
||||
gnome3.libpeas gnome3.gtksourceview libxml2
|
||||
gnome3.gsettings_desktop_schemas gnome3.dconf file gspell ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${gnome3.libpeas}/lib:${gnome3.gtksourceview}/lib")
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Gedit;
|
||||
description = "Official text editor of the GNOME desktop environment";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/gedit/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/gedit/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gedit-3.20.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gedit/3.20/gedit-3.20.2.tar.xz;
|
||||
sha256 = "32a1276a71a0d4a5af4e20a87bc273170ba8e075fc1ca7f51c8d3a6c150463f8";
|
||||
};
|
||||
}
|
30
pkgs/desktops/gnome-3/3.20/apps/glade/default.nix
Normal file
30
pkgs/desktops/gnome-3/3.20/apps/glade/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv, intltool, fetchurl, python
|
||||
, pkgconfig, gtk3, glib
|
||||
, makeWrapper, itstool, libxml2, docbook_xsl
|
||||
, gnome3, librsvg, gdk_pixbuf, libxslt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool libxml2 python
|
||||
gnome3.gsettings_desktop_schemas makeWrapper docbook_xsl
|
||||
gdk_pixbuf gnome3.defaultIconTheme librsvg libxslt ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/glade" \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Glade;
|
||||
description = "User interface designer for GTK+ applications";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.lgpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/glade/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/glade/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "glade-3.20.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/glade/3.20/glade-3.20.0.tar.xz;
|
||||
sha256 = "82d96dca5dec40ee34e2f41d49c13b4ea50da8f32a3a49ca2da802ff14dc18fe";
|
||||
};
|
||||
}
|
42
pkgs/desktops/gnome-3/3.20/apps/gnome-boxes/default.nix
Normal file
42
pkgs/desktops/gnome-3/3.20/apps/gnome-boxes/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ stdenv, fetchurl, makeWrapper, pkgconfig, intltool, itstool, libvirt-glib
|
||||
, glib, gobjectIntrospection, libxml2, gtk3, gtkvnc, libvirt, spice_gtk
|
||||
, spice_protocol, libuuid, libsoup, libosinfo, systemd, tracker, vala
|
||||
, libcap_ng, libcap, yajl, gmp, gdbm, cyrus_sasl, gnome3, librsvg
|
||||
, desktop_file_utils, mtools, cdrkit, libcdio, numactl, xen
|
||||
, libusb, libarchive, acl, libgudev, qemu
|
||||
}:
|
||||
|
||||
# TODO: ovirt (optional)
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
buildInputs = [
|
||||
makeWrapper pkgconfig intltool itstool libvirt-glib glib
|
||||
gobjectIntrospection libxml2 gtk3 gtkvnc libvirt spice_gtk spice_protocol
|
||||
libuuid libsoup libosinfo systemd tracker vala libcap_ng libcap yajl gmp
|
||||
gdbm cyrus_sasl gnome3.defaultIconTheme libusb libarchive
|
||||
librsvg desktop_file_utils acl libgudev numactl xen
|
||||
];
|
||||
|
||||
preFixup = ''
|
||||
for prog in "$out/bin/"*; do
|
||||
wrapProgram "$prog" \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \
|
||||
--prefix PATH : "${mtools}/bin:${cdrkit}/bin:${libcdio}/bin:${qemu}/bin"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Simple GNOME 3 application to access remote or virtual systems";
|
||||
homepage = https://wiki.gnome.org/action/show/Apps/Boxes;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ bjornfor ];
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/gnome-boxes/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/gnome-boxes/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-boxes-3.20.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-boxes/3.20/gnome-boxes-3.20.2.tar.xz;
|
||||
sha256 = "c0379ce1de9d2a43a6875cbe1f2ef7ef69161b284926d59c44246a9142130fc5";
|
||||
};
|
||||
}
|
22
pkgs/desktops/gnome-3/3.20/apps/gnome-calendar/default.nix
Normal file
22
pkgs/desktops/gnome-3/3.20/apps/gnome-calendar/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
|
||||
, intltool, evolution_data_server, sqlite, libxml2, libsoup
|
||||
, glib, gnome_online_accounts }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${gnome3.glib}/include/gio-unix-2.0";
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig gtk3 wrapGAppsHook intltool evolution_data_server
|
||||
sqlite libxml2 libsoup glib gnome3.defaultIconTheme gnome_online_accounts
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Calendar;
|
||||
description = "Simple and beautiful calendar application for GNOME";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/gnome-calendar/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/gnome-calendar/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-calendar-3.20.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-calendar/3.20/gnome-calendar-3.20.2.tar.xz;
|
||||
sha256 = "f132cff56310b83cf086628e949685b04cdaf872e989d67dbb8a3e4e9943deee";
|
||||
};
|
||||
}
|
19
pkgs/desktops/gnome-3/3.20/apps/gnome-characters/default.nix
Normal file
19
pkgs/desktops/gnome-3/3.20/apps/gnome-characters/default.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
|
||||
, intltool, gjs, gdk_pixbuf, librsvg }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig gtk3 wrapGAppsHook intltool gjs gdk_pixbuf
|
||||
librsvg gnome3.defaultIconTheme
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Design/Apps/CharacterMap;
|
||||
description = "Simple utility application to find and insert unusual characters";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/gnome-characters/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/gnome-characters/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-characters-3.20.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-characters/3.20/gnome-characters-3.20.1.tar.xz;
|
||||
sha256 = "6891eed27a5b023200992540266a9216d081eef890d6d0836380dc3c0033857c";
|
||||
};
|
||||
}
|
27
pkgs/desktops/gnome-3/3.20/apps/gnome-clocks/default.nix
Normal file
27
pkgs/desktops/gnome-3/3.20/apps/gnome-clocks/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, intltool, fetchurl, libgweather, libnotify
|
||||
, pkgconfig, gtk3, glib, gsound
|
||||
, makeWrapper, itstool, libcanberra_gtk3, libtool
|
||||
, gnome3, librsvg, gdk_pixbuf, geoclue2, wrapGAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool libcanberra_gtk3
|
||||
gnome3.gsettings_desktop_schemas makeWrapper
|
||||
gdk_pixbuf gnome3.defaultIconTheme librsvg
|
||||
gnome3.gnome_desktop gnome3.geocode_glib geoclue2
|
||||
libgweather libnotify libtool gsound
|
||||
wrapGAppsHook ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Clocks;
|
||||
description = "Clock application designed for GNOME 3";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/gnome-clocks/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/gnome-clocks/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-clocks-3.20.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-clocks/3.20/gnome-clocks-3.20.1.tar.xz;
|
||||
sha256 = "92ad7b409c5118464af49ca28262ae43e9d377435ad2b10048b23e6e11ae476f";
|
||||
};
|
||||
}
|
39
pkgs/desktops/gnome-3/3.20/apps/gnome-documents/default.nix
Normal file
39
pkgs/desktops/gnome-3/3.20/apps/gnome-documents/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ stdenv, intltool, fetchurl, evince, gjs
|
||||
, pkgconfig, gtk3, glib
|
||||
, makeWrapper, itstool, libxslt, webkitgtk
|
||||
, gnome3, librsvg, gdk_pixbuf, libsoup, docbook_xsl
|
||||
, gobjectIntrospection, json_glib, inkscape, poppler_utils
|
||||
, gmp, desktop_file_utils, wrapGAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
configureFlags = [ "--enable-getting-started" ];
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool libxslt
|
||||
docbook_xsl desktop_file_utils inkscape poppler_utils
|
||||
gnome3.gsettings_desktop_schemas makeWrapper gmp
|
||||
gdk_pixbuf gnome3.defaultIconTheme librsvg evince
|
||||
libsoup webkitgtk gjs gobjectIntrospection gnome3.rest
|
||||
gnome3.tracker gnome3.libgdata gnome3.gnome_online_accounts
|
||||
gnome3.gnome_desktop gnome3.libzapojit json_glib
|
||||
wrapGAppsHook ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preFixup = ''
|
||||
substituteInPlace $out/bin/gnome-documents --replace gapplication "${glib}/bin/gapplication"
|
||||
|
||||
gappsWrapperArgs+=(--run 'if [ -z "$XDG_CACHE_DIR" ]; then XDG_CACHE_DIR=$HOME/.cache; fi; if [ -w "$XDG_CACHE_DIR/.." ]; then mkdir -p "$XDG_CACHE_DIR/gnome-documents"; fi')
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Documents;
|
||||
description = "Document manager application designed to work with GNOME 3";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/gnome-documents/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/gnome-documents/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-documents-3.20.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-documents/3.20/gnome-documents-3.20.0.tar.xz;
|
||||
sha256 = "a5fa496c5e80eccb8d2e5bba7f4d7dc4cc6c9f53d5bc028402428771be1237d2";
|
||||
};
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
{ stdenv, fetchurl, gnome3, intltool, itstool, libxml2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
buildInputs = [ intltool itstool libxml2 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://live.gnome.org/DocumentationProject;
|
||||
description = "Help a new user get started in GNOME";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.cc-by-sa-30;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-getting-started-docs-3.20.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-getting-started-docs/3.20/gnome-getting-started-docs-3.20.0.tar.xz;
|
||||
sha256 = "0dc3a69d646c3ee3c6ef1a34dbc7f469d66275bd20215071fd495ae5900fcfdc";
|
||||
};
|
||||
}
|
21
pkgs/desktops/gnome-3/3.20/apps/gnome-logs/default.nix
Normal file
21
pkgs/desktops/gnome-3/3.20/apps/gnome-logs/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
|
||||
, intltool, itstool, libxml2, systemd }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
configureFlags = [ "--disable-tests" ];
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig gtk3 wrapGAppsHook intltool itstool libxml2
|
||||
systemd gnome3.defaultIconTheme
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Logs;
|
||||
description = "A log viewer for the systemd journal";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/gnome-logs/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/gnome-logs/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-logs-3.20.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-logs/3.20/gnome-logs-3.20.1.tar.xz;
|
||||
sha256 = "b797841faac4e176c64497837de27b1b953d16d2482e8a773a48b38117b1367e";
|
||||
};
|
||||
}
|
25
pkgs/desktops/gnome-3/3.20/apps/gnome-maps/default.nix
Normal file
25
pkgs/desktops/gnome-3/3.20/apps/gnome-maps/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchurl, intltool, pkgconfig, gnome3, gtk3
|
||||
, gobjectIntrospection, gdk_pixbuf, librsvg, autoreconfHook
|
||||
, geoclue2, wrapGAppsHook, folks, libchamplain, gfbgraph, file, libsoup }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
buildInputs = [ pkgconfig intltool gobjectIntrospection wrapGAppsHook
|
||||
gtk3 geoclue2 gnome3.gjs gnome3.libgee folks gfbgraph
|
||||
gnome3.geocode_glib libchamplain file libsoup
|
||||
gdk_pixbuf librsvg autoreconfHook
|
||||
gnome3.gnome_online_accounts gnome3.defaultIconTheme ];
|
||||
|
||||
patches = [ ./soup.patch ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Maps;
|
||||
description = "A map application for GNOME 3";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
12
pkgs/desktops/gnome-3/3.20/apps/gnome-maps/soup.patch
Normal file
12
pkgs/desktops/gnome-3/3.20/apps/gnome-maps/soup.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- gnome-maps-3.18.0/configure.ac.orig 2015-09-24 18:38:31.912498368 +0200
|
||||
+++ gnome-maps-3.18.0/configure.ac 2015-09-24 18:38:40.783320413 +0200
|
||||
@@ -50,8 +50,9 @@
|
||||
folks >= $FOLKS_MIN_VERSION
|
||||
geocode-glib-1.0 >= $GEOCODE_MIN_VERSION
|
||||
champlain-0.12 >= $CHAMPLAIN_MIN_VERSION
|
||||
libxml-2.0
|
||||
rest-0.7
|
||||
+ libsoup-2.4
|
||||
])
|
||||
AC_SUBST(GNOME_MAPS_LIB_CFLAGS)
|
||||
AC_SUBST(GNOME_MAPS_LIB_LIBS)
|
10
pkgs/desktops/gnome-3/3.20/apps/gnome-maps/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/gnome-maps/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-maps-3.20.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-maps/3.20/gnome-maps-3.20.1.tar.xz;
|
||||
sha256 = "4874d10a3cfdffd5d1db6084d67b5e8dc8c2db2ff995302b80060ecfc5e99bd5";
|
||||
};
|
||||
}
|
30
pkgs/desktops/gnome-3/3.20/apps/gnome-music/default.nix
Normal file
30
pkgs/desktops/gnome-3/3.20/apps/gnome-music/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv, intltool, fetchurl, gdk_pixbuf, tracker
|
||||
, python3, libxml2, python3Packages, libnotify, wrapGAppsHook
|
||||
, pkgconfig, gtk3, glib, cairo
|
||||
, makeWrapper, itstool, gnome3, librsvg, gst_all_1 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool gnome3.libmediaart
|
||||
gdk_pixbuf gnome3.defaultIconTheme librsvg python3
|
||||
gnome3.grilo gnome3.grilo-plugins gnome3.totem-pl-parser libxml2 libnotify
|
||||
python3Packages.pycairo python3Packages.dbus python3Packages.requests2
|
||||
python3Packages.pygobject3 gst_all_1.gstreamer gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad wrapGAppsHook
|
||||
gnome3.gsettings_desktop_schemas makeWrapper tracker ];
|
||||
|
||||
wrapPrefixVariables = [ "PYTHONPATH" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Music;
|
||||
description = "Music player and management application for the GNOME desktop environment";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/gnome-music/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/gnome-music/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-music-3.20.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-music/3.20/gnome-music-3.20.2.tar.xz;
|
||||
sha256 = "ca328bfd85ba8cb651e4e3c5d56499b111cb95b4f3e9b2e482cca7830213c7a0";
|
||||
};
|
||||
}
|
26
pkgs/desktops/gnome-3/3.20/apps/gnome-nettool/default.nix
Normal file
26
pkgs/desktops/gnome-3/3.20/apps/gnome-nettool/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
|
||||
, libgtop, intltool, itstool, libxml2, nmap, inetutils }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnome-nettool-3.8.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-nettool/3.8/${name}.tar.xz";
|
||||
sha256 = "1c9cvzvyqgfwa5zzyvp7118pkclji62fkbb33g4y9sp5kw6m397h";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig gtk3 wrapGAppsHook libgtop intltool itstool libxml2
|
||||
gnome3.defaultIconTheme
|
||||
];
|
||||
|
||||
propagatedUserEnvPkgs = [ nmap inetutils ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://projects.gnome.org/gnome-network;
|
||||
description = "A collection of networking tools";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
31
pkgs/desktops/gnome-3/3.20/apps/gnome-photos/default.nix
Normal file
31
pkgs/desktops/gnome-3/3.20/apps/gnome-photos/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, intltool, fetchurl, exempi, libxml2
|
||||
, pkgconfig, gtk3, glib
|
||||
, makeWrapper, itstool, gegl, babl, lcms2
|
||||
, desktop_file_utils, gmp, libmediaart, wrapGAppsHook
|
||||
, gnome3, librsvg, gdk_pixbuf, libexif, gexiv2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
# doCheck = true;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${gnome3.glib}/include/gio-unix-2.0";
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool gegl babl gnome3.libgdata
|
||||
gnome3.gsettings_desktop_schemas makeWrapper gmp libmediaart
|
||||
gdk_pixbuf gnome3.defaultIconTheme librsvg exempi
|
||||
gnome3.gfbgraph gnome3.grilo-plugins gnome3.grilo
|
||||
gnome3.gnome_online_accounts gnome3.gnome_desktop
|
||||
lcms2 libexif gnome3.tracker libxml2 desktop_file_utils
|
||||
wrapGAppsHook gexiv2 ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Photos;
|
||||
description = "Photos is an application to access, organize and share your photos with GNOME 3";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/gnome-photos/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/gnome-photos/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-photos-3.20.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-photos/3.20/gnome-photos-3.20.1.tar.xz;
|
||||
sha256 = "7639cc9367aa0f4bbf54aa46edaeedb91fcce85d387e8ffb669470710e247e5a";
|
||||
};
|
||||
}
|
19
pkgs/desktops/gnome-3/3.20/apps/gnome-weather/default.nix
Normal file
19
pkgs/desktops/gnome-3/3.20/apps/gnome-weather/default.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook, gjs
|
||||
, libgweather, intltool, itstool, geoclue2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig gtk3 wrapGAppsHook gjs intltool itstool
|
||||
libgweather gnome3.defaultIconTheme geoclue2
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Weather;
|
||||
description = "Access current weather conditions and forecasts";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/gnome-weather/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/gnome-weather/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-weather-3.20.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-weather/3.20/gnome-weather-3.20.1.tar.xz;
|
||||
sha256 = "e310ecd56f396ac0e8e5652ac8b63258720034e23afbf32fbb2d509f25bbb2b6";
|
||||
};
|
||||
}
|
22
pkgs/desktops/gnome-3/3.20/apps/nautilus-sendto/default.nix
Normal file
22
pkgs/desktops/gnome-3/3.20/apps/nautilus-sendto/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ stdenv, fetchurl, glib, pkgconfig, gnome3, intltool
|
||||
, gobjectIntrospection, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nautilus-sendto-${version}";
|
||||
|
||||
version = "3.8.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/nautilus-sendto/3.8/${name}.tar.xz";
|
||||
sha256 = "03fa46bff271acdbdedab6243b2a84e5ed3daa19c81b69d087b3e852c8fe5dab";
|
||||
};
|
||||
|
||||
buildInputs = [ glib pkgconfig gobjectIntrospection intltool makeWrapper ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Integrates Evolution and Pidgin into the Nautilus file manager";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
22
pkgs/desktops/gnome-3/3.20/apps/polari/default.nix
Normal file
22
pkgs/desktops/gnome-3/3.20/apps/polari/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ stdenv, intltool, fetchurl, gdk_pixbuf, adwaita-icon-theme
|
||||
, telepathy_glib, gjs, itstool, telepathy_idle
|
||||
, pkgconfig, gtk3, glib, librsvg, gnome3, wrapGAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
propagatedUserEnvPkgs = [ telepathy_idle ];
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool adwaita-icon-theme wrapGAppsHook
|
||||
telepathy_glib gjs gdk_pixbuf librsvg ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Polari;
|
||||
description = "IRC chat client designed to integrate with the GNOME desktop";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/polari/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/polari/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "polari-3.20.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/polari/3.20/polari-3.20.2.tar.xz;
|
||||
sha256 = "4b7641e54ee8a2e6018e1b4cea4802d94d90c2f09b9558e0a767838effd1347f";
|
||||
};
|
||||
}
|
35
pkgs/desktops/gnome-3/3.20/apps/seahorse/default.nix
Normal file
35
pkgs/desktops/gnome-3/3.20/apps/seahorse/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ stdenv, intltool, fetchurl, vala
|
||||
, pkgconfig, gtk3, glib
|
||||
, makeWrapper, itstool, gnupg, libsoup
|
||||
, gnome3, librsvg, gdk_pixbuf, gpgme
|
||||
, libsecret, avahi, p11_kit, openssh }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${gnome3.glib}/include/gio-unix-2.0";
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool gnome3.gcr
|
||||
gnome3.gsettings_desktop_schemas makeWrapper gnupg
|
||||
gdk_pixbuf gnome3.defaultIconTheme librsvg gpgme
|
||||
libsecret avahi libsoup p11_kit vala gnome3.gcr
|
||||
openssh ];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/seahorse" \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Seahorse;
|
||||
description = "Application for managing encryption keys and passwords in the GnomeKeyring";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/seahorse/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/seahorse/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "seahorse-3.20.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/seahorse/3.20/seahorse-3.20.0.tar.xz;
|
||||
sha256 = "e2b07461ed54a8333e5628e9b8e517ec2b731068377bf376570aad998274c6df";
|
||||
};
|
||||
}
|
21
pkgs/desktops/gnome-3/3.20/apps/vinagre/default.nix
Normal file
21
pkgs/desktops/gnome-3/3.20/apps/vinagre/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, vte, libxml2, gtkvnc, intltool
|
||||
, libsecret, itstool, makeWrapper, librsvg }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 vte libxml2 gtkvnc intltool libsecret
|
||||
itstool makeWrapper gnome3.defaultIconTheme librsvg ];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/vinagre" \
|
||||
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH:$out/share"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Vinagre;
|
||||
description = "Remote desktop viewer for GNOME";
|
||||
platforms = platforms.linux;
|
||||
maintainers = gnome3.maintainers;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/apps/vinagre/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/apps/vinagre/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "vinagre-3.20.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/vinagre/3.20/vinagre-3.20.2.tar.xz;
|
||||
sha256 = "5fc78ef9ab9ee7d4e3c50d38d82d9bcbd915191bcf0349d55a2fd56eaa87eaa0";
|
||||
};
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
{ stdenv, fetchurl, pkgconfig, intltool, gnome3
|
||||
, iconnamingutils, gtk, gdk_pixbuf, librsvg, hicolor_icon_theme }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
# For convenience, we can specify adwaita-icon-theme only in packages
|
||||
propagatedBuildInputs = [ hicolor_icon_theme ];
|
||||
|
||||
buildInputs = [ gdk_pixbuf librsvg ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig intltool iconnamingutils gtk ];
|
||||
|
||||
# remove a tree of dirs with no files within
|
||||
postInstall = '' rm -rf "$out/locale" '';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
platforms = platforms.linux;
|
||||
maintainers = gnome3.maintainers;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/core/adwaita-icon-theme/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/core/adwaita-icon-theme/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "adwaita-icon-theme-3.20";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/adwaita-icon-theme/3.20/adwaita-icon-theme-3.20.tar.xz;
|
||||
sha256 = "7a0a887349f340dd644032f89d81264b694c4b006bd51af1c2c368d431e7ae35";
|
||||
};
|
||||
}
|
32
pkgs/desktops/gnome-3/3.20/core/baobab/default.nix
Normal file
32
pkgs/desktops/gnome-3/3.20/core/baobab/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ stdenv, intltool, fetchurl, vala, libgtop
|
||||
, pkgconfig, gtk3, glib
|
||||
, bash, makeWrapper, itstool, libxml2
|
||||
, gnome3, librsvg, gdk_pixbuf, file }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${gnome3.glib}/include/gio-unix-2.0";
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
|
||||
buildInputs = [ vala pkgconfig gtk3 glib libgtop intltool itstool libxml2
|
||||
gnome3.gsettings_desktop_schemas makeWrapper file
|
||||
gdk_pixbuf gnome3.defaultIconTheme librsvg ];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/baobab" \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Baobab;
|
||||
description = "Graphical application to analyse disk usage in any Gnome environment";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/core/baobab/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/core/baobab/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "baobab-3.20.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/baobab/3.20/baobab-3.20.1.tar.xz;
|
||||
sha256 = "e9dff12a76b0d730ce224215860512eb0188280c622faf186937563b96249d1f";
|
||||
};
|
||||
}
|
31
pkgs/desktops/gnome-3/3.20/core/caribou/default.nix
Normal file
31
pkgs/desktops/gnome-3/3.20/core/caribou/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ fetchurl, stdenv, pkgconfig, gnome3, clutter, dbus, pythonPackages, libxml2, autoconf
|
||||
, libxklavier, libXtst, gtk2, intltool, libxslt, at_spi2_core, automake114x }:
|
||||
|
||||
let
|
||||
majorVersion = "0.4";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "caribou-${majorVersion}.18.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/caribou/${majorVersion}/${name}.tar.xz";
|
||||
sha256 = "0l1ikx56ddgayvny3s2xv8hs3p23xsclw4zljs3cczv4b89dzymf";
|
||||
};
|
||||
|
||||
buildInputs = with gnome3;
|
||||
[ glib pkgconfig gtk clutter at_spi2_core dbus pythonPackages.python automake114x
|
||||
pythonPackages.pygobject3 libxml2 libXtst gtk2 intltool libxslt autoconf ];
|
||||
|
||||
propagatedBuildInputs = [ gnome3.libgee libxklavier ];
|
||||
|
||||
preBuild = ''
|
||||
patchShebangs .
|
||||
substituteInPlace libcaribou/Makefile.am --replace "--shared-library=libcaribou.so.0" "--shared-library=$out/lib/libcaribou.so.0"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
platforms = platforms.linux;
|
||||
maintainers = gnome3.maintainers;
|
||||
};
|
||||
|
||||
}
|
16
pkgs/desktops/gnome-3/3.20/core/dconf-editor/default.nix
Normal file
16
pkgs/desktops/gnome-3/3.20/core/dconf-editor/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{ stdenv, fetchurl, vala, libxslt, pkgconfig, glib, dbus_glib, gnome3
|
||||
, libxml2, intltool, docbook_xsl_ns, docbook_xsl, wrapGAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
||||
|
||||
buildInputs = [ vala libxslt glib dbus_glib gnome3.gtk libxml2 gnome3.defaultIconTheme
|
||||
intltool docbook_xsl docbook_xsl_ns gnome3.dconf ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
platforms = platforms.linux;
|
||||
maintainers = gnome3.maintainers;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/core/dconf-editor/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/core/dconf-editor/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "dconf-editor-3.20.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/dconf-editor/3.20/dconf-editor-3.20.2.tar.xz;
|
||||
sha256 = "486dcb60001b934186f3c3591897d986459bf240f35641fbb59ee957c15af2be";
|
||||
};
|
||||
}
|
23
pkgs/desktops/gnome-3/3.20/core/dconf/default.nix
Normal file
23
pkgs/desktops/gnome-3/3.20/core/dconf/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchurl, vala, libxslt, pkgconfig, glib, dbus_glib, gnome3
|
||||
, libxml2, intltool, docbook_xsl_ns, docbook_xsl, makeWrapper }:
|
||||
|
||||
let
|
||||
majorVersion = "0.24";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dconf-${version}";
|
||||
version = "${majorVersion}.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/dconf/${majorVersion}/${name}.tar.xz";
|
||||
sha256 = "4373e0ced1f4d7d68d518038796c073696280e22957babb29feb0267c630fec2";
|
||||
};
|
||||
|
||||
buildInputs = [ vala libxslt pkgconfig glib dbus_glib gnome3.gtk libxml2
|
||||
intltool docbook_xsl docbook_xsl_ns makeWrapper ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
platforms = platforms.linux;
|
||||
maintainers = gnome3.maintainers;
|
||||
};
|
||||
}
|
57
pkgs/desktops/gnome-3/3.20/core/empathy/default.nix
Normal file
57
pkgs/desktops/gnome-3/3.20/core/empathy/default.nix
Normal file
@ -0,0 +1,57 @@
|
||||
{ stdenv, intltool, fetchurl, webkitgtk, pkgconfig, gtk3, glib
|
||||
, file, librsvg, gnome3, gdk_pixbuf
|
||||
, dbus_glib, dbus_libs, telepathy_glib, telepathy_farstream
|
||||
, clutter_gtk, clutter-gst, gst_all_1, cogl, gnome_online_accounts
|
||||
, gcr, libsecret, folks, libpulseaudio, telepathy_mission_control
|
||||
, telepathy_logger, libnotify, clutter, libsoup, gnutls
|
||||
, evolution_data_server
|
||||
, libcanberra_gtk3, p11_kit, farstream, libtool, shared_mime_info
|
||||
, bash, makeWrapper, itstool, libxml2, libxslt, icu, libgee }:
|
||||
|
||||
# TODO: enable more features
|
||||
|
||||
let
|
||||
majorVersion = "3.12";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "empathy-${majorVersion}.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/empathy/${majorVersion}/${name}.tar.xz";
|
||||
sha256 = "11yl8msyf017197fm6h15yw159yjp9i08566l967yashbx7gzr6i";
|
||||
};
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard
|
||||
gnome_online_accounts shared_mime_info ];
|
||||
propagatedBuildInputs = [ folks telepathy_logger evolution_data_server
|
||||
telepathy_mission_control ];
|
||||
buildInputs = [ pkgconfig gtk3 glib webkitgtk intltool itstool
|
||||
libxml2 libxslt icu file makeWrapper
|
||||
telepathy_glib clutter_gtk clutter-gst cogl
|
||||
gst_all_1.gstreamer gst_all_1.gst-plugins-base
|
||||
gcr libsecret libpulseaudio gnome3.yelp_xsl gdk_pixbuf
|
||||
libnotify clutter libsoup gnutls libgee p11_kit
|
||||
libcanberra_gtk3 telepathy_farstream farstream
|
||||
gnome3.defaultIconTheme gnome3.gsettings_desktop_schemas
|
||||
file libtool librsvg ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-I${dbus_glib}/include/dbus-1.0"
|
||||
"-I${dbus_libs}/include/dbus-1.0"
|
||||
"-I${dbus_libs}/lib/dbus-1.0/include" ];
|
||||
|
||||
preFixup = ''
|
||||
for f in $out/bin/* $out/libexec/*; do
|
||||
wrapProgram $f \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${gnome3.gnome_themes_standard}/share:$out/share:$GSETTINGS_SCHEMAS_PATH"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Empathy;
|
||||
description = "Messaging program which supports text, voice, video chat, and file transfers over many different protocols";
|
||||
maintainers = gnome3.maintainers;
|
||||
# TODO: license = [ licenses.gpl2 licenses.lgpl2 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
20
pkgs/desktops/gnome-3/3.20/core/eog/default.nix
Normal file
20
pkgs/desktops/gnome-3/3.20/core/eog/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ fetchurl, stdenv, intltool, pkgconfig, itstool, libxml2, libjpeg, gnome3
|
||||
, shared_mime_info, wrapGAppsHook, librsvg, libexif }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
||||
|
||||
buildInputs = with gnome3;
|
||||
[ intltool itstool libxml2 libjpeg gtk glib libpeas librsvg
|
||||
gsettings_desktop_schemas shared_mime_info adwaita-icon-theme
|
||||
gnome_desktop libexif dconf ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/EyeOfGnome;
|
||||
platforms = platforms.linux;
|
||||
description = "GNOME image viewer";
|
||||
maintainers = gnome3.maintainers;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/core/eog/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/core/eog/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "eog-3.20.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/eog/3.20/eog-3.20.2.tar.xz;
|
||||
sha256 = "d7d022af85ea0046e90b02fc94672757300bbbdb422eef2be2afc99fc2cd87e7";
|
||||
};
|
||||
}
|
34
pkgs/desktops/gnome-3/3.20/core/epiphany/default.nix
Normal file
34
pkgs/desktops/gnome-3/3.20/core/epiphany/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ stdenv, intltool, fetchurl, pkgconfig, gtk3, glib, nspr, icu
|
||||
, bash, wrapGAppsHook, gnome3, libwnck3, libxml2, libxslt, libtool
|
||||
, webkitgtk, libsoup, glib_networking, libsecret, gnome_desktop, libnotify, p11_kit
|
||||
, sqlite, gcr, avahi, nss, isocodes, itstool, file, which
|
||||
, gdk_pixbuf, librsvg, gnome_common }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
# Tests need an X display
|
||||
configureFlags = [ "--disable-static --disable-tests" ];
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig file wrapGAppsHook ];
|
||||
|
||||
buildInputs = [ gtk3 glib intltool libwnck3 libxml2 libxslt pkgconfig file
|
||||
webkitgtk libsoup libsecret gnome_desktop libnotify libtool
|
||||
sqlite isocodes nss itstool p11_kit nspr icu gnome3.yelp_tools
|
||||
gdk_pixbuf gnome3.defaultIconTheme librsvg which gnome_common
|
||||
gcr avahi gnome3.gsettings_desktop_schemas gnome3.dconf ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${nspr}/include/nspr -I${nss}/include/nss -I${glib}/include/gio-unix-2.0";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Epiphany;
|
||||
description = "WebKit based web browser for GNOME";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/core/epiphany/libxml_depend.patch
Normal file
10
pkgs/desktops/gnome-3/3.20/core/epiphany/libxml_depend.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- configure.ac.orig 2015-04-08 18:53:52.284580835 +0200
|
||||
+++ configure.ac 2015-04-08 18:55:55.697225280 +0200
|
||||
@@ -113,6 +113,7 @@
|
||||
PKG_CHECK_MODULES(WEB_EXTENSION, [
|
||||
webkit2gtk-web-extension-4.0 >= $WEBKIT_GTK_REQUIRED
|
||||
libsecret-1 >= $LIBSECRET_REQUIRED
|
||||
+ libxml-2.0 >= $LIBXML_REQUIRED
|
||||
])
|
||||
AC_SUBST(WEB_EXTENSION_CFLAGS)
|
||||
AC_SUBST(WEB_EXTENSION_LIBS)
|
10
pkgs/desktops/gnome-3/3.20/core/epiphany/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/core/epiphany/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "epiphany-3.20.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/epiphany/3.20/epiphany-3.20.2.tar.xz;
|
||||
sha256 = "d107ea1d621e91b1c5a7b51435fa81684d4cd4dd2c6fd71adf95e9a46fe6237a";
|
||||
};
|
||||
}
|
63
pkgs/desktops/gnome-3/3.20/core/evince/default.nix
Normal file
63
pkgs/desktops/gnome-3/3.20/core/evince/default.nix
Normal file
@ -0,0 +1,63 @@
|
||||
{ fetchurl, stdenv, pkgconfig, intltool, perl, perlXMLParser, libxml2
|
||||
, glib, gtk3, pango, atk, gdk_pixbuf, shared_mime_info, itstool, gnome3
|
||||
, poppler, ghostscriptX, djvulibre, libspectre, libsecret , wrapGAppsHook
|
||||
, librsvg, gobjectIntrospection
|
||||
, recentListSize ? null # 5 is not enough, allow passing a different number
|
||||
, supportXPS ? false # Open XML Paper Specification via libgxps
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
||||
|
||||
buildInputs = [
|
||||
intltool perl perlXMLParser libxml2
|
||||
glib gtk3 pango atk gdk_pixbuf gobjectIntrospection
|
||||
itstool gnome3.adwaita-icon-theme
|
||||
gnome3.libgnome_keyring gnome3.gsettings_desktop_schemas
|
||||
poppler ghostscriptX djvulibre libspectre
|
||||
libsecret librsvg gnome3.adwaita-icon-theme gnome3.dconf
|
||||
] ++ stdenv.lib.optional supportXPS gnome3.libgxps;
|
||||
|
||||
configureFlags = [
|
||||
"--disable-nautilus" # Do not use nautilus
|
||||
"--enable-introspection"
|
||||
(if supportXPS then "--enable-xps" else "--disable-xps")
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${gnome3.glib}/include/gio-unix-2.0";
|
||||
|
||||
preConfigure = with stdenv.lib;
|
||||
optionalString doCheck ''
|
||||
for file in test/*.py; do
|
||||
echo "patching $file"
|
||||
sed '1s,/usr,${python},' -i "$file"
|
||||
done
|
||||
'' + optionalString (recentListSize != null) ''
|
||||
sed -i 's/\(gtk_recent_chooser_set_limit .*\)5)/\1${builtins.toString recentListSize})/' shell/ev-open-recent-action.c
|
||||
sed -i 's/\(if (++n_items == \)5\(.*\)/\1${builtins.toString recentListSize}\2/' shell/ev-window.c
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${shared_mime_info}/share")
|
||||
'';
|
||||
|
||||
doCheck = false; # would need pythonPackages.dogTail, which is missing
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.gnome.org/projects/evince/;
|
||||
description = "GNOME's document viewer";
|
||||
|
||||
longDescription = ''
|
||||
Evince is a document viewer for multiple document formats. It
|
||||
currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
|
||||
of Evince is to replace the multiple document viewers that exist
|
||||
on the GNOME Desktop with a single simple application.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.vcunat ];
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/core/evince/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/core/evince/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "evince-3.20.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/evince/3.20/evince-3.20.0.tar.xz;
|
||||
sha256 = "cf8358a453686c2a7f85d245f83fe918c0ce02eb6532339f3e02e31249a5a280";
|
||||
};
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
{ fetchurl, stdenv, pkgconfig, gnome3, python
|
||||
, intltool, libsoup, libxml2, libsecret, icu, sqlite
|
||||
, p11_kit, db, nspr, nss, libical, gperf, makeWrapper, valaSupport ? true, vala }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
buildInputs = with gnome3;
|
||||
[ pkgconfig glib python intltool libsoup libxml2 gtk gnome_online_accounts
|
||||
gcr p11_kit libgweather libgdata gperf makeWrapper icu sqlite gsettings_desktop_schemas ]
|
||||
++ stdenv.lib.optional valaSupport vala;
|
||||
|
||||
propagatedBuildInputs = [ libsecret nss nspr libical db ];
|
||||
|
||||
# uoa irrelevant for now
|
||||
configureFlags = [ "--disable-uoa" "--disable-google-auth" ]
|
||||
++ stdenv.lib.optional valaSupport "--enable-vala-bindings";
|
||||
|
||||
preFixup = ''
|
||||
for f in "$out/libexec/"*; do
|
||||
wrapProgram "$f" --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
platforms = platforms.linux;
|
||||
maintainers = gnome3.maintainers;
|
||||
};
|
||||
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "evolution-data-server-3.20.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/evolution-data-server/3.20/evolution-data-server-3.20.2.tar.xz;
|
||||
sha256 = "8cdc74b08f1404f5df4b8cf5ccc4999a3e70a1db9ce472f71b623266941ffad9";
|
||||
};
|
||||
}
|
43
pkgs/desktops/gnome-3/3.20/core/folks/default.nix
Normal file
43
pkgs/desktops/gnome-3/3.20/core/folks/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ fetchurl, stdenv, pkgconfig, glib, gnome3, nspr, intltool
|
||||
, vala, sqlite, libxml2, dbus_glib, libsoup, nss, dbus_libs
|
||||
, telepathy_glib, evolution_data_server, libsecret, db }:
|
||||
|
||||
# TODO: enable more folks backends
|
||||
|
||||
let
|
||||
majorVersion = "0.11";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "folks-${majorVersion}.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/folks/${majorVersion}/${name}.tar.xz";
|
||||
sha256 = "0q9hny6a38zn0gamv0ji0pn3jw6bpn2i0fr6vbzkhm9h9ws0cqvz";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ glib gnome3.libgee sqlite ];
|
||||
# dbus_daemon needed for tests
|
||||
buildInputs = [ dbus_glib telepathy_glib evolution_data_server dbus_libs
|
||||
vala libsecret libxml2 libsoup nspr nss intltool db ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
configureFlags = "--disable-fatal-warnings";
|
||||
|
||||
NIX_CFLAGS_COMPILE = ["-I${nspr}/include/nspr" "-I${nss}/include/nss"
|
||||
"-I${dbus_glib}/include/dbus-1.0" "-I${dbus_libs}/include/dbus-1.0"];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postBuild = "rm -rf $out/share/gtk-doc";
|
||||
|
||||
meta = {
|
||||
description = "Folks";
|
||||
|
||||
homepage = https://wiki.gnome.org/Projects/Folks;
|
||||
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
|
||||
maintainers = gnome3.maintainers;
|
||||
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
||||
};
|
||||
}
|
32
pkgs/desktops/gnome-3/3.20/core/gconf/default.nix
Normal file
32
pkgs/desktops/gnome-3/3.20/core/gconf/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ stdenv, fetchurl, pkgconfig, dbus_glib, gnome3 ? null, glib, libxml2
|
||||
, intltool, polkit, orbit, withGtk ? false }:
|
||||
|
||||
assert withGtk -> (gnome3 != null);
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
versionMajor = "3.2";
|
||||
versionMinor = "6";
|
||||
moduleName = "GConf";
|
||||
|
||||
origName = "${moduleName}-${versionMajor}.${versionMinor}";
|
||||
|
||||
name = "gconf-${versionMajor}.${versionMinor}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${origName}.tar.xz";
|
||||
sha256 = "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr";
|
||||
};
|
||||
|
||||
buildInputs = [ libxml2 polkit orbit ] ++ stdenv.lib.optional withGtk gnome3.gtk;
|
||||
propagatedBuildInputs = [ glib dbus_glib ];
|
||||
nativeBuildInputs = [ pkgconfig intltool ];
|
||||
|
||||
# ToDo: ldap reported as not found but afterwards reported as supported
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://projects.gnome.org/gconf/;
|
||||
description = "A system for storing application preferences";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
28
pkgs/desktops/gnome-3/3.20/core/gcr/default.nix
Normal file
28
pkgs/desktops/gnome-3/3.20/core/gcr/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchurl, pkgconfig, intltool, gnupg, p11_kit, glib
|
||||
, libgcrypt, libtasn1, dbus_glib, gtk, pango, gdk_pixbuf, atk
|
||||
, gobjectIntrospection, makeWrapper, libxslt, vala, gnome3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig intltool gnupg glib gobjectIntrospection libxslt
|
||||
libgcrypt libtasn1 dbus_glib gtk pango gdk_pixbuf atk makeWrapper vala
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ p11_kit ];
|
||||
|
||||
#doCheck = true;
|
||||
|
||||
#enableParallelBuilding = true; issues on hydra
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/gcr-viewer" \
|
||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
platforms = platforms.linux;
|
||||
maintainers = gnome3.maintainers;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/core/gcr/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/core/gcr/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gcr-3.20.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gcr/3.20/gcr-3.20.0.tar.xz;
|
||||
sha256 = "90572c626d8a708225560c42b4421f7941315247fa1679d4ef569bde7f4bb379";
|
||||
};
|
||||
}
|
41
pkgs/desktops/gnome-3/3.20/core/gdm/3.16-wip/default.nix
Normal file
41
pkgs/desktops/gnome-3/3.20/core/gdm/3.16-wip/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ stdenv, fetchurl, pkgconfig, glib, itstool, libxml2, xorg, dbus
|
||||
, intltool, accountsservice, libX11, gnome3, systemd, gnome_session
|
||||
, gtk, libcanberra_gtk3, pam, libtool, gobjectIntrospection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gdm-${gnome3.version}.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gdm/${gnome3.version}/${name}.tar.xz";
|
||||
sha256 = "0mhv3q8z208qvhz00zrxlqn7w9gi5vy6w8dpjh5s2ka28l3yhbn3";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace ./configure --replace "/usr/bin/X" "${xorg.xorgserver}/bin/X"
|
||||
substituteInPlace daemon/gdm-simple-slave.c --replace 'BINDIR "/gnome-session' '"${gnome_session}/bin/gnome-session'
|
||||
substituteInPlace daemon/gdm-launch-environment.c --replace 'BINDIR "/dbus-launch' '"${dbus.tools}/bin/dbus-launch'
|
||||
substituteInPlace data/gdm.conf-custom.in --replace '#WaylandEnable=false' 'WaylandEnable=false'
|
||||
sed 's/#Enable=true/Enable=true/' -i data/gdm.conf-custom.in
|
||||
'';
|
||||
|
||||
configureFlags = [ "--localstatedir=/var" "--with-systemd=yes" "--without-plymouth"
|
||||
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
||||
"--with-initial-vt=10" ];
|
||||
|
||||
buildInputs = [ pkgconfig glib itstool libxml2 intltool
|
||||
accountsservice gnome3.dconf systemd
|
||||
gobjectIntrospection libX11 gtk
|
||||
libcanberra_gtk3 pam libtool ];
|
||||
|
||||
#enableParallelBuilding = true; # problems compiling
|
||||
|
||||
# Disable Access Control because our X does not support FamilyServerInterpreted yet
|
||||
patches = [ ./xserver_path.patch ./sessions_dir.patch ./disable_x_access_control.patch ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Projects/GDM;
|
||||
description = "A program that manages graphical display servers and handles graphical user logins";
|
||||
platforms = platforms.linux;
|
||||
maintainers = gnome3.maintainers;
|
||||
};
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
--- gdm-3.16.0/daemon/gdm-display.c.orig 2015-04-08 13:53:14.370274369 +0200
|
||||
+++ gdm-3.16.0/daemon/gdm-display.c 2015-04-08 13:53:36.287520435 +0200
|
||||
@@ -1706,9 +1706,10 @@
|
||||
|
||||
gdm_error_trap_push ();
|
||||
|
||||
- for (i = 0; i < G_N_ELEMENTS (host_entries); i++) {
|
||||
+ /*for (i = 0; i < G_N_ELEMENTS (host_entries); i++) {
|
||||
XAddHost (self->priv->x11_display, &host_entries[i]);
|
||||
- }
|
||||
+ }*/
|
||||
+ XDisableAccessControl(self->priv->x11_display);
|
||||
|
||||
XSync (self->priv->x11_display, False);
|
||||
if (gdm_error_trap_pop ()) {
|
@ -0,0 +1,17 @@
|
||||
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
|
||||
index f759d2d..d154716 100644
|
||||
--- a/daemon/gdm-session.c
|
||||
+++ b/daemon/gdm-session.c
|
||||
@@ -373,9 +373,12 @@ get_system_session_dirs (void)
|
||||
#ifdef ENABLE_WAYLAND_SUPPORT
|
||||
DATADIR "/wayland-sessions/",
|
||||
#endif
|
||||
+ NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
+ search_dirs[4] = getenv("GDM_SESSIONS_DIR") != NULL ? getenv("GDM_SESSIONS_DIR") : NULL;
|
||||
+
|
||||
return search_dirs;
|
||||
}
|
||||
|
@ -0,0 +1,83 @@
|
||||
--- a/daemon/gdm-server.c 2014-07-30 23:00:17.786841724 +0200
|
||||
+++ b/daemon/gdm-server.c 2014-07-30 23:02:10.491239180 +0200
|
||||
@@ -322,7 +322,11 @@
|
||||
fallback:
|
||||
#endif
|
||||
|
||||
- server->priv->command = g_strdup_printf (X_SERVER X_SERVER_ARG_FORMAT, verbosity, debug_options);
|
||||
+ if (g_getenv("GDM_X_SERVER") != NULL) {
|
||||
+ server->priv->command = g_strdup (g_getenv("GDM_X_SERVER"));
|
||||
+ } else {
|
||||
+ server->priv->command = g_strdup_printf (X_SERVER X_SERVER_ARG_FORMAT, verbosity, debug_options);
|
||||
+ }
|
||||
}
|
||||
|
||||
static gboolean
|
||||
--- gdm-3.16.0/daemon/gdm-x-session.c.orig 2015-04-15 18:44:16.875743928 +0200
|
||||
+++ gdm-3.16.0/daemon/gdm-x-session.c 2015-04-16 13:34:02.335708638 +0200
|
||||
@@ -207,6 +207,8 @@
|
||||
char *display_fd_string = NULL;
|
||||
char *vt_string = NULL;
|
||||
char *display_number;
|
||||
+ int nixos_argc = 0;
|
||||
+ char **nixos_argv = NULL;
|
||||
gsize display_number_size;
|
||||
|
||||
auth_file = prepare_auth_file ();
|
||||
@@ -236,7 +238,15 @@
|
||||
|
||||
display_fd_string = g_strdup_printf ("%d", DISPLAY_FILENO);
|
||||
|
||||
- g_ptr_array_add (arguments, X_SERVER);
|
||||
+ if (g_getenv("GDM_X_SERVER") != NULL) {
|
||||
+ int i = 0;
|
||||
+ g_shell_parse_argv(g_getenv("GDM_X_SERVER"), &nixos_argc, &nixos_argv, NULL);
|
||||
+ for (i = 0; i < nixos_argc; i++) {
|
||||
+ g_ptr_array_add (arguments, nixos_argv[i]);
|
||||
+ }
|
||||
+ } else {
|
||||
+ g_ptr_array_add (arguments, X_SERVER);
|
||||
+ }
|
||||
|
||||
if (vt_string != NULL) {
|
||||
g_ptr_array_add (arguments, vt_string);
|
||||
@@ -259,12 +269,12 @@
|
||||
g_ptr_array_add (arguments, "-noreset");
|
||||
g_ptr_array_add (arguments, "-keeptty");
|
||||
|
||||
- g_ptr_array_add (arguments, "-verbose");
|
||||
+ /*g_ptr_array_add (arguments, "-verbose");
|
||||
if (state->debug_enabled) {
|
||||
g_ptr_array_add (arguments, "7");
|
||||
} else {
|
||||
g_ptr_array_add (arguments, "3");
|
||||
- }
|
||||
+ }*/
|
||||
|
||||
if (state->debug_enabled) {
|
||||
g_ptr_array_add (arguments, "-core");
|
||||
@@ -275,6 +285,9 @@
|
||||
(const char * const *) arguments->pdata,
|
||||
&error);
|
||||
g_free (display_fd_string);
|
||||
+ if (nixos_argv) {
|
||||
+ g_strfreev (nixos_argv);
|
||||
+ }
|
||||
g_clear_object (&launcher);
|
||||
g_ptr_array_free (arguments, TRUE);
|
||||
|
||||
--- gdm-3.16.0/daemon/gdm-session.c.orig 2015-04-16 14:19:01.392802683 +0200
|
||||
+++ gdm-3.16.0/daemon/gdm-session.c 2015-04-16 14:20:36.012296764 +0200
|
||||
@@ -2359,6 +2359,12 @@
|
||||
gchar *desktop_names;
|
||||
const char *locale;
|
||||
|
||||
+ if (g_getenv ("GDM_X_SERVER") != NULL) {
|
||||
+ gdm_session_set_environment_variable (self,
|
||||
+ "GDM_X_SERVER",
|
||||
+ g_getenv ("GDM_X_SERVER"));
|
||||
+ }
|
||||
+
|
||||
gdm_session_set_environment_variable (self,
|
||||
"GDMSESSION",
|
||||
get_session_name (self));
|
42
pkgs/desktops/gnome-3/3.20/core/gdm/default.nix
Normal file
42
pkgs/desktops/gnome-3/3.20/core/gdm/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ stdenv, fetchurl, pkgconfig, glib, itstool, libxml2, xorg, dbus
|
||||
, intltool, accountsservice, libX11, gnome3, systemd, gnome_session, autoreconfHook
|
||||
, gtk, libcanberra_gtk3, pam, libtool, gobjectIntrospection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
# Only needed to make it build
|
||||
preConfigure = ''
|
||||
substituteInPlace ./configure --replace "/usr/bin/X" "${xorg.xorgserver.out}/bin/X"
|
||||
'';
|
||||
|
||||
configureFlags = [ "--sysconfdir=/etc"
|
||||
"--localstatedir=/var"
|
||||
"--with-systemd=yes"
|
||||
"--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
|
||||
|
||||
buildInputs = [ pkgconfig glib itstool libxml2 intltool autoreconfHook
|
||||
accountsservice gnome3.dconf systemd
|
||||
gobjectIntrospection libX11 gtk
|
||||
libcanberra_gtk3 pam libtool ];
|
||||
|
||||
#enableParallelBuilding = true; # problems compiling
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace daemon/gdm-simple-slave.c --replace 'BINDIR "/gnome-session' '"${gnome_session}/bin/gnome-session'
|
||||
'';
|
||||
|
||||
# Disable Access Control because our X does not support FamilyServerInterpreted yet
|
||||
patches = [ ./xserver_path.patch ./sessions_dir.patch
|
||||
./disable_x_access_control.patch ./no-dbus-launch.patch
|
||||
./libsystemd.patch ];
|
||||
|
||||
installFlags = [ "sysconfdir=$(out)/etc" "dbusconfdir=$(out)/etc/dbus-1/system.d" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Projects/GDM;
|
||||
description = "A program that manages graphical display servers and handles graphical user logins";
|
||||
platforms = platforms.linux;
|
||||
maintainers = gnome3.maintainers;
|
||||
};
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
--- gdm-3.14.2/daemon/gdm-slave.c.orig 2015-04-16 15:05:27.844353079 +0200
|
||||
+++ gdm-3.14.2/daemon/gdm-slave.c 2015-04-16 15:05:40.240417915 +0200
|
||||
@@ -369,8 +369,9 @@
|
||||
gdm_error_trap_push ();
|
||||
|
||||
for (i = 0; i < G_N_ELEMENTS (host_entries); i++) {
|
||||
- XAddHost (slave->priv->server_display, &host_entries[i]);
|
||||
+ //XAddHost (slave->priv->server_display, &host_entries[i]);
|
||||
}
|
||||
+ XDisableAccessControl(slave->priv->server_display);
|
||||
|
||||
XSync (slave->priv->server_display, False);
|
||||
if (gdm_error_trap_pop ()) {
|
21
pkgs/desktops/gnome-3/3.20/core/gdm/libsystemd.patch
Normal file
21
pkgs/desktops/gnome-3/3.20/core/gdm/libsystemd.patch
Normal file
@ -0,0 +1,21 @@
|
||||
https://github.com/GNOME/gdm/commit/eee5bf72c9bb1c1d62eb0e7102088ae3b9a188cd
|
||||
--- a/configure.ac 2016-05-27 11:10:44.589740789 +0200
|
||||
+++ b/configure.ac 2016-05-27 11:11:00.146427723 +0200
|
||||
@@ -888,7 +888,7 @@
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
PKG_CHECK_MODULES(SYSTEMD,
|
||||
- [libsystemd-login >= 186 libsystemd-daemon],
|
||||
+ [libsystemd],
|
||||
[have_systemd=yes], [have_systemd=no])
|
||||
|
||||
if test "x$with_systemd" = "xauto" ; then
|
||||
@@ -912,7 +912,7 @@
|
||||
AC_SUBST(SYSTEMD_LIBS)
|
||||
|
||||
PKG_CHECK_MODULES(JOURNALD,
|
||||
- [libsystemd-journal],
|
||||
+ [libsystemd],
|
||||
[have_journald=yes], [have_journald=no])
|
||||
|
||||
if test "x$enable_systemd_journal" = "xauto" ; then
|
20
pkgs/desktops/gnome-3/3.20/core/gdm/no-dbus-launch.patch
Normal file
20
pkgs/desktops/gnome-3/3.20/core/gdm/no-dbus-launch.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- a/daemon/gdm-launch-environment.c 2015-06-22 15:11:07.277474398 +0000
|
||||
+++ b/daemon/gdm-launch-environment.c 2015-06-22 15:12:31.301157665 +0000
|
||||
@@ -48,8 +48,6 @@
|
||||
#include "gdm-session-enum-types.h"
|
||||
#include "gdm-launch-environment.h"
|
||||
|
||||
-#define DBUS_LAUNCH_COMMAND BINDIR "/dbus-launch --exit-with-session"
|
||||
-
|
||||
extern char **environ;
|
||||
|
||||
#define GDM_LAUNCH_ENVIRONMENT_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GDM_TYPE_LAUNCH_ENVIRONMENT, GdmLaunchEnvironmentPrivate))
|
||||
@@ -512,7 +510,7 @@
|
||||
gdm_session_select_program (launch_environment->priv->session, launch_environment->priv->command);
|
||||
} else {
|
||||
/* wrap it in dbus-launch */
|
||||
- char *command = g_strdup_printf ("%s %s", DBUS_LAUNCH_COMMAND, launch_environment->priv->command);
|
||||
+ char *command = g_strdup (launch_environment->priv->command);
|
||||
|
||||
gdm_session_select_program (launch_environment->priv->session, command);
|
||||
g_free (command);
|
17
pkgs/desktops/gnome-3/3.20/core/gdm/sessions_dir.patch
Normal file
17
pkgs/desktops/gnome-3/3.20/core/gdm/sessions_dir.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
|
||||
index f759d2d..d154716 100644
|
||||
--- a/daemon/gdm-session.c
|
||||
+++ b/daemon/gdm-session.c
|
||||
@@ -373,9 +373,12 @@ get_system_session_dirs (void)
|
||||
#ifdef ENABLE_WAYLAND_SUPPORT
|
||||
DATADIR "/wayland-sessions/",
|
||||
#endif
|
||||
+ NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
+ search_dirs[4] = getenv("GDM_SESSIONS_DIR") != NULL ? getenv("GDM_SESSIONS_DIR") : NULL;
|
||||
+
|
||||
return search_dirs;
|
||||
}
|
||||
|
10
pkgs/desktops/gnome-3/3.20/core/gdm/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/core/gdm/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gdm-3.14.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gdm/3.14/gdm-3.14.2.tar.xz;
|
||||
sha256 = "e20eb61496161ad95b1058dbf8aea9b7b004df4d0ea6b0fab4401397d9db5930";
|
||||
};
|
||||
}
|
15
pkgs/desktops/gnome-3/3.20/core/gdm/xserver_path.patch
Normal file
15
pkgs/desktops/gnome-3/3.20/core/gdm/xserver_path.patch
Normal file
@ -0,0 +1,15 @@
|
||||
--- a/daemon/gdm-server.c 2014-07-30 23:00:17.786841724 +0200
|
||||
+++ b/daemon/gdm-server.c 2014-07-30 23:02:10.491239180 +0200
|
||||
@@ -322,7 +322,11 @@
|
||||
fallback:
|
||||
#endif
|
||||
|
||||
- server->priv->command = g_strdup_printf (X_SERVER X_SERVER_ARG_FORMAT, verbosity, debug_options);
|
||||
+ if (g_getenv("GDM_X_SERVER") != NULL) {
|
||||
+ server->priv->command = g_strdup (g_getenv("GDM_X_SERVER"));
|
||||
+ } else {
|
||||
+ server->priv->command = g_strdup_printf (X_SERVER X_SERVER_ARG_FORMAT, verbosity, debug_options);
|
||||
+ }
|
||||
}
|
||||
|
||||
static gboolean
|
14
pkgs/desktops/gnome-3/3.20/core/geocode-glib/default.nix
Normal file
14
pkgs/desktops/gnome-3/3.20/core/geocode-glib/default.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ fetchurl, stdenv, pkgconfig, gnome3, intltool, libsoup, json_glib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
buildInputs = with gnome3;
|
||||
[ intltool pkgconfig glib libsoup json_glib ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
platforms = platforms.linux;
|
||||
maintainers = gnome3.maintainers;
|
||||
};
|
||||
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/core/geocode-glib/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/core/geocode-glib/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "geocode-glib-3.20.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/geocode-glib/3.20/geocode-glib-3.20.1.tar.xz;
|
||||
sha256 = "669fc832cabf8cc2f0fc4194a8fa464cdb9c03ebf9aca5353d7cf935ba8637a2";
|
||||
};
|
||||
}
|
20
pkgs/desktops/gnome-3/3.20/core/gjs/default.nix
Normal file
20
pkgs/desktops/gnome-3/3.20/core/gjs/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ fetchurl, stdenv, pkgconfig, gnome3, gtk3, gobjectIntrospection
|
||||
, spidermonkey_24, pango, readline, glib, libxml2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
buildInputs = [ libxml2 gobjectIntrospection pkgconfig gtk3 glib pango readline ];
|
||||
|
||||
propagatedBuildInputs = [ spidermonkey_24 ];
|
||||
|
||||
postInstall = ''
|
||||
sed 's|-lreadline|-L${readline.out}/lib -lreadline|g' -i $out/lib/libgjs.la
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
maintainers = gnome3.maintainers;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/core/gjs/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/core/gjs/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gjs-1.44.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gjs/1.44/gjs-1.44.0.tar.xz;
|
||||
sha256 = "88c960f6ad47a6931d123f5d6317d13704f58572f68a4391913a254ff27dce80";
|
||||
};
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gnome3, intltool }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
nativeBuildInputs = [ pkgconfig intltool ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
platforms = platforms.linux;
|
||||
maintainers = gnome3.maintainers;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/core/gnome-backgrounds/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/core/gnome-backgrounds/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-backgrounds-3.20";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-backgrounds/3.20/gnome-backgrounds-3.20.tar.xz;
|
||||
sha256 = "d66c6e165e5c16b79ee4ab83102fa73fa20ce4e14191036ee68e8e82cf537127";
|
||||
};
|
||||
}
|
23
pkgs/desktops/gnome-3/3.20/core/gnome-bluetooth/default.nix
Normal file
23
pkgs/desktops/gnome-3/3.20/core/gnome-bluetooth/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchurl, gnome3, pkgconfig, gtk3, intltool, glib
|
||||
, udev, itstool, libxml2, makeWrapper, libnotify, libcanberra_gtk3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
buildInputs = [ pkgconfig intltool glib gtk3 udev libxml2 gnome3.defaultIconTheme
|
||||
makeWrapper gnome3.gsettings_desktop_schemas itstool
|
||||
libnotify libcanberra_gtk3 ];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/bluetooth-sendto" \
|
||||
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://help.gnome.org/users/gnome-bluetooth/stable/index.html.en;
|
||||
description = "Application that let you manage Bluetooth in the GNOME destkop";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
12
pkgs/desktops/gnome-3/3.20/core/gnome-bluetooth/src.nix
Normal file
12
pkgs/desktops/gnome-3/3.20/core/gnome-bluetooth/src.nix
Normal file
@ -0,0 +1,12 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: rec {
|
||||
major = "3.18";
|
||||
minor = "3";
|
||||
name = "gnome-bluetooth-${major}.${minor}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-bluetooth/${major}/${name}.tar.xz";
|
||||
sha256 = "1qwc9q7x22sc71zhqv4db78rqzxl6fqfw6d978ydqap54c2bg0g4";
|
||||
};
|
||||
}
|
26
pkgs/desktops/gnome-3/3.20/core/gnome-calculator/default.nix
Normal file
26
pkgs/desktops/gnome-3/3.20/core/gnome-calculator/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv, intltool, fetchurl, pkgconfig, libxml2
|
||||
, bash, gtk3, glib, wrapGAppsHook
|
||||
, itstool, gnome3, librsvg, gdk_pixbuf, mpfr, gmp, libsoup }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${gnome3.glib}/include/gio-unix-2.0";
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
||||
|
||||
buildInputs = [ bash gtk3 glib intltool itstool
|
||||
libxml2 gnome3.gtksourceview mpfr gmp
|
||||
gdk_pixbuf gnome3.defaultIconTheme librsvg
|
||||
gnome3.gsettings_desktop_schemas gnome3.dconf libsoup ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/action/show/Apps/Calculator;
|
||||
description = "Application that solves mathematical equations and is suitable as a default application in a Desktop environment";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/core/gnome-calculator/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/core/gnome-calculator/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-calculator-3.20.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-calculator/3.20/gnome-calculator-3.20.1.tar.xz;
|
||||
sha256 = "02edcf99857599ac10ecd2faaf33ad20a9f11f7c5a89a52ee1b511d99b594b90";
|
||||
};
|
||||
}
|
17
pkgs/desktops/gnome-3/3.20/core/gnome-common/default.nix
Normal file
17
pkgs/desktops/gnome-3/3.20/core/gnome-common/default.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ stdenv, fetchurl, which, gnome3, autoconf, automake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
patches = [(fetchurl {
|
||||
name = "gnome-common-patch";
|
||||
url = "https://bug697543.bugzilla-attachments.gnome.org/attachment.cgi?id=240935";
|
||||
sha256 = "17abp7czfzirjm7qsn2czd03hdv9kbyhk3lkjxg2xsf5fky7z7jl";
|
||||
})];
|
||||
|
||||
propagatedBuildInputs = [ which autoconf automake ]; # autogen.sh which is using gnome_common tends to require which
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
maintainers = gnome3.maintainers;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/core/gnome-common/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/core/gnome-common/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-common-3.18.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-common/3.18/gnome-common-3.18.0.tar.xz;
|
||||
sha256 = "22569e370ae755e04527b76328befc4c73b62bfd4a572499fde116b8318af8cf";
|
||||
};
|
||||
}
|
47
pkgs/desktops/gnome-3/3.20/core/gnome-contacts/default.nix
Normal file
47
pkgs/desktops/gnome-3/3.20/core/gnome-contacts/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ stdenv, intltool, fetchurl, evolution_data_server, db
|
||||
, pkgconfig, gtk3, glib, libsecret
|
||||
, libchamplain, clutter_gtk, geocode_glib
|
||||
, bash, makeWrapper, itstool, folks, libnotify, libxml2
|
||||
, gnome3, librsvg, gdk_pixbuf, file, telepathy_glib, nspr, nss
|
||||
, libsoup, vala, dbus_glib, automake115x, autoconf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard evolution_data_server ];
|
||||
|
||||
# force build from vala
|
||||
preBuild = ''
|
||||
touch src/*.vala
|
||||
'';
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool evolution_data_server
|
||||
gnome3.gsettings_desktop_schemas makeWrapper file libnotify
|
||||
folks gnome3.gnome_desktop telepathy_glib libsecret dbus_glib
|
||||
libxml2 libsoup gnome3.gnome_online_accounts nspr nss
|
||||
gdk_pixbuf gnome3.defaultIconTheme librsvg
|
||||
libchamplain clutter_gtk geocode_glib
|
||||
vala automake115x autoconf db ];
|
||||
|
||||
preFixup = ''
|
||||
for f in "$out/bin/gnome-contacts" "$out/libexec/gnome-contacts-search-provider"; do
|
||||
wrapProgram $f \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||
done
|
||||
'';
|
||||
|
||||
patches = [ ./gio_unix.patch ];
|
||||
|
||||
patchFlags = "-p0";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Contacts;
|
||||
description = "Contacts is GNOME's integrated address book";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
--- configure.ac.orig 2015-04-09 18:45:50.581232289 +0200
|
||||
+++ configure.ac 2015-04-09 18:45:59.744280137 +0200
|
||||
@@ -54,6 +54,7 @@
|
||||
champlain-0.12
|
||||
clutter-gtk-1.0
|
||||
geocode-glib-1.0 >= 3.15.3
|
||||
+ gio-unix-2.0
|
||||
"
|
||||
PKG_CHECK_MODULES(CONTACTS, [$pkg_modules])
|
||||
|
10
pkgs/desktops/gnome-3/3.20/core/gnome-contacts/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/core/gnome-contacts/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-contacts-3.20.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-contacts/3.20/gnome-contacts-3.20.0.tar.xz;
|
||||
sha256 = "bef88dc728aa7bb058c530fd936b262d96bbc17e73d640279842371bb3ad1588";
|
||||
};
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
{ fetchurl, stdenv, pkgconfig, gnome3, ibus, intltool, upower, makeWrapper
|
||||
, libcanberra, libcanberra_gtk3, accountsservice, libpwquality, libpulseaudio
|
||||
, gdk_pixbuf, librsvg, libxkbfile, libnotify, libgudev
|
||||
, libxml2, polkit, libxslt, libgtop, libsoup, colord, colord-gtk
|
||||
, cracklib, python, libkrb5, networkmanagerapplet, networkmanager
|
||||
, libwacom, samba, shared_mime_info, tzdata, icu, libtool, udev
|
||||
, docbook_xsl, docbook_xsl_ns, modemmanager, clutter, clutter_gtk
|
||||
, fontconfig, sound-theme-freedesktop, grilo }:
|
||||
|
||||
# http://ftp.gnome.org/pub/GNOME/teams/releng/3.10.2/gnome-suites-core-3.10.2.modules
|
||||
# TODO: bluetooth, wacom, printers
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
propagatedUserEnvPkgs =
|
||||
[ gnome3.gnome_themes_standard gnome3.libgnomekbd ];
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=752596
|
||||
enableParallelBuilding = false;
|
||||
|
||||
buildInputs = with gnome3;
|
||||
[ pkgconfig intltool ibus gtk glib upower libcanberra gsettings_desktop_schemas
|
||||
libxml2 gnome_desktop gnome_settings_daemon polkit libxslt libgtop gnome-menus
|
||||
gnome_online_accounts libsoup colord libpulseaudio fontconfig colord-gtk libpwquality
|
||||
accountsservice libkrb5 networkmanagerapplet libwacom samba libnotify libxkbfile
|
||||
shared_mime_info icu libtool docbook_xsl docbook_xsl_ns gnome3.grilo
|
||||
gdk_pixbuf gnome3.defaultIconTheme librsvg clutter clutter_gtk
|
||||
gnome3.vino udev libcanberra_gtk3 libgudev
|
||||
networkmanager modemmanager makeWrapper gnome3.gnome-bluetooth grilo ];
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace tz.h --replace "/usr/share/zoneinfo/zone.tab" "${tzdata}/share/zoneinfo/zone.tab"
|
||||
substituteInPlace panels/datetime/tz.h --replace "/usr/share/zoneinfo/zone.tab" "${tzdata}/share/zoneinfo/zone.tab"
|
||||
|
||||
# hack to make test-endianess happy
|
||||
mkdir -p $out/share/locale
|
||||
substituteInPlace panels/datetime/test-endianess.c --replace "/usr/share/locale/" "$out/share/locale/"
|
||||
'';
|
||||
|
||||
preFixup = with gnome3; ''
|
||||
wrapProgram $out/bin/gnome-control-center \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:${sound-theme-freedesktop}/share:$out/share:$out/share/gnome-control-center:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||
for i in $out/share/applications/*; do
|
||||
substituteInPlace $i --replace "gnome-control-center" "$out/bin/gnome-control-center"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Utilities to configure the GNOME desktop";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = gnome3.maintainers;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/core/gnome-control-center/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/core/gnome-control-center/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-control-center-3.20.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-control-center/3.20/gnome-control-center-3.20.1.tar.xz;
|
||||
sha256 = "ce6474fc60f78ed3cfaf555e55a52ec3ebb6437fa184e08ad6077bbec380a1ed";
|
||||
};
|
||||
}
|
24
pkgs/desktops/gnome-3/3.20/core/gnome-desktop/default.nix
Normal file
24
pkgs/desktops/gnome-3/3.20/core/gnome-desktop/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchurl, pkgconfig, python, libxml2Python, libxslt, which, libX11, gnome3, gtk3, glib
|
||||
, intltool, gnome_doc_utils, libxkbfile, xkeyboard_config, isocodes, itstool, wayland
|
||||
, gobjectIntrospection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
# this should probably be setuphook for glib
|
||||
NIX_CFLAGS_COMPILE = "-I${glib}/include/gio-unix-2.0";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ pkgconfig python libxml2Python libxslt which libX11
|
||||
xkeyboard_config isocodes itstool wayland
|
||||
gtk3 glib intltool gnome_doc_utils libxkbfile
|
||||
gobjectIntrospection ];
|
||||
|
||||
propagatedBuildInputs = [ gnome3.gsettings_desktop_schemas ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
platforms = platforms.linux;
|
||||
maintainers = gnome3.maintainers;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/3.20/core/gnome-desktop/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.20/core/gnome-desktop/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-desktop-3.20.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-desktop/3.20/gnome-desktop-3.20.2.tar.xz;
|
||||
sha256 = "492c2da7aa8c3a8b65796e8171fc8f0dfb5d322dd2799c0d76392e1fb061e2b2";
|
||||
};
|
||||
}
|
32
pkgs/desktops/gnome-3/3.20/core/gnome-dictionary/default.nix
Normal file
32
pkgs/desktops/gnome-3/3.20/core/gnome-dictionary/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ stdenv, intltool, fetchurl
|
||||
, pkgconfig, gtk3, glib
|
||||
, bash, makeWrapper, itstool, libxml2
|
||||
, gnome3, librsvg, gdk_pixbuf, file }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${gnome3.glib}/include/gio-unix-2.0";
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
propagatedBuildInputs = [ gdk_pixbuf gnome3.defaultIconTheme librsvg ];
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool libxml2 file
|
||||
gnome3.gsettings_desktop_schemas makeWrapper ];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/gnome-dictionary" \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome3.gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Dictionary;
|
||||
description = "Dictionary is the GNOME application to look up definitions";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user