forked from mirrors/nixpkgs
Merge pull request #2315 from lethalman/gnome3
gedit, libmediaart, fix xdg-user-dirs, enable GI in grilo, prioritize nautilus mimetype, seahorse, gnome-music, glade, gnome-documents
This commit is contained in:
commit
7eabca3409
|
@ -100,9 +100,12 @@
|
|||
./services/desktops/accountservice.nix
|
||||
./services/desktops/gnome3/at-spi2-core.nix
|
||||
./services/desktops/gnome3/evolution-data-server.nix
|
||||
./services/desktops/gnome3/gnome-documents.nix
|
||||
./services/desktops/gnome3/gnome-keyring.nix
|
||||
./services/desktops/gnome3/gnome-online-accounts.nix
|
||||
./services/desktops/gnome3/gnome-online-miners.nix
|
||||
./services/desktops/gnome3/gnome-user-share.nix
|
||||
./services/desktops/gnome3/seahorse.nix
|
||||
./services/desktops/gnome3/sushi.nix
|
||||
./services/desktops/gnome3/tracker.nix
|
||||
./services/desktops/telepathy.nix
|
||||
|
|
43
nixos/modules/services/desktops/gnome3/gnome-documents.nix
Normal file
43
nixos/modules/services/desktops/gnome3/gnome-documents.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
# GNOME Documents daemon.
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
with pkgs.lib;
|
||||
|
||||
{
|
||||
|
||||
###### interface
|
||||
|
||||
options = {
|
||||
|
||||
services.gnome3.gnome-documents = {
|
||||
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Whether to enable GNOME Documents services, a document
|
||||
manager application for GNOME.
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
###### implementation
|
||||
|
||||
config = mkIf config.services.gnome3.gnome-documents.enable {
|
||||
|
||||
environment.systemPackages = [ pkgs.gnome3.gnome-documents ];
|
||||
|
||||
services.dbus.packages = [ pkgs.gnome3.gnome-documents ];
|
||||
|
||||
services.gnome3.gnome-online-accounts.enable = true;
|
||||
|
||||
services.gnome3.gnome-online-miners.enable = true;
|
||||
|
||||
};
|
||||
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
# GNOME Online Miners daemon.
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
with pkgs.lib;
|
||||
|
||||
{
|
||||
|
||||
###### interface
|
||||
|
||||
options = {
|
||||
|
||||
services.gnome3.gnome-online-miners = {
|
||||
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Whether to enable GNOME Online Miners, a service that
|
||||
crawls through your online content.
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
###### implementation
|
||||
|
||||
config = mkIf config.services.gnome3.gnome-online-miners.enable {
|
||||
|
||||
environment.systemPackages = [ pkgs.gnome3.gnome-online-miners ];
|
||||
|
||||
services.dbus.packages = [ pkgs.gnome3.gnome-online-miners ];
|
||||
|
||||
};
|
||||
|
||||
}
|
38
nixos/modules/services/desktops/gnome3/seahorse.nix
Normal file
38
nixos/modules/services/desktops/gnome3/seahorse.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Seahorse daemon.
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
with pkgs.lib;
|
||||
|
||||
{
|
||||
|
||||
###### interface
|
||||
|
||||
options = {
|
||||
|
||||
services.gnome3.seahorse = {
|
||||
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Whether to enable Seahorse search provider for the GNOME Shell activity search.
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
###### implementation
|
||||
|
||||
config = mkIf config.services.gnome3.seahorse.enable {
|
||||
|
||||
environment.systemPackages = [ pkgs.gnome3.seahorse ];
|
||||
|
||||
services.dbus.packages = [ pkgs.gnome3.seahorse ];
|
||||
|
||||
};
|
||||
|
||||
}
|
|
@ -15,6 +15,16 @@ let
|
|||
in
|
||||
filter (x: !(builtins.elem (pkgName x) ysNames)) xs;
|
||||
|
||||
# Prioritize nautilus by default when opening directories
|
||||
mimeAppsList = pkgs.writeTextFile {
|
||||
name = "gnome-mimeapps";
|
||||
destination = "/share/applications/mimeapps.list";
|
||||
text = ''
|
||||
[Default Applications]
|
||||
inode/directory=nautilus.desktop
|
||||
'';
|
||||
};
|
||||
|
||||
in {
|
||||
|
||||
options = {
|
||||
|
@ -42,9 +52,11 @@ in {
|
|||
services.accounts-daemon.enable = true;
|
||||
services.gnome3.at-spi2-core.enable = true;
|
||||
services.gnome3.evolution-data-server.enable = true;
|
||||
services.gnome3.gnome-documents.enable = mkDefault true;
|
||||
services.gnome3.gnome-keyring.enable = true;
|
||||
services.gnome3.gnome-online-accounts.enable = mkDefault true;
|
||||
services.gnome3.gnome-user-share.enable = mkDefault true;
|
||||
services.gnome3.seahorse.enable = mkDefault true;
|
||||
services.gnome3.sushi.enable = mkDefault true;
|
||||
services.gnome3.tracker.enable = mkDefault true;
|
||||
hardware.pulseaudio.enable = mkDefault true;
|
||||
|
@ -66,7 +78,8 @@ in {
|
|||
export XDG_MENU_PREFIX=gnome
|
||||
|
||||
# Don't let epiphany depend upon gnome-shell
|
||||
export XDG_DATA_DIRS=$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}${pkgs.gnome3.gnome_shell}/share/gsettings-schemas/${pkgs.gnome3.gnome_shell.name}
|
||||
# Override default mimeapps
|
||||
export XDG_DATA_DIRS=$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}${pkgs.gnome3.gnome_shell}/share/gsettings-schemas/${pkgs.gnome3.gnome_shell.name}:${mimeAppsList}/share
|
||||
|
||||
# Let gnome-control-center find gnome-shell search providers
|
||||
export GNOME_SEARCH_PROVIDERS_DIR=${config.system.path}/share/gnome-shell/search-providers/
|
||||
|
@ -117,6 +130,8 @@ in {
|
|||
gnome3.gnome-user-docs
|
||||
|
||||
gnome3.file-roller
|
||||
gnome3.gedit
|
||||
gnome3.gnome-music
|
||||
gnome3.gnome-tweak-tool
|
||||
] config.environment.gnome3.excludePackages);
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
|
|||
preFixup = ''
|
||||
wrapProgram "$out/bin/transmission-remote-gtk" \
|
||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
||||
rm $out/share/icons/hicolor/icon-theme.cache
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
|
@ -21,6 +21,7 @@ stdenv.mkDerivation rec {
|
|||
preFixup = ''
|
||||
wrapProgram "$out/bin/file-roller" \
|
||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
||||
rm $out/share/icons/hicolor/icon-theme.cache
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
39
pkgs/desktops/gnome-3/apps/gedit/default.nix
Normal file
39
pkgs/desktops/gnome-3/apps/gedit/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ stdenv, intltool, fetchurl, enchant, isocodes
|
||||
, pkgconfig, gtk3, glib, hicolor_icon_theme
|
||||
, bash, makeWrapper, itstool, libsoup, libxml2
|
||||
, gnome3, librsvg, gdk_pixbuf, file }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gedit-3.10.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gedit/3.10/${name}.tar.xz";
|
||||
sha256 = "40dc10b6e26fd8523087e7321a20a063f4c1e586dffd7ce8ee78eead11359f9e";
|
||||
};
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool enchant isocodes
|
||||
gdk_pixbuf gnome3.gnome_icon_theme librsvg libsoup
|
||||
gnome3.libpeas gnome3.gtksourceview libxml2
|
||||
hicolor_icon_theme gnome3.gnome_icon_theme_symbolic
|
||||
gnome3.gsettings_desktop_schemas makeWrapper file ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/gedit" \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
||||
--prefix LD_LIBRARY_PATH : "${gnome3.libpeas}/lib:${gnome3.gtksourceview}/lib" \
|
||||
--prefix XDG_DATA_DIRS : "${gnome3.gtksourceview}/share:${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Gedit;
|
||||
description = "Official text editor of the GNOME desktop environment";
|
||||
maintainers = with maintainers; [ lethalman ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
37
pkgs/desktops/gnome-3/apps/glade/default.nix
Normal file
37
pkgs/desktops/gnome-3/apps/glade/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ stdenv, intltool, fetchurl, python
|
||||
, pkgconfig, gtk3, glib, hicolor_icon_theme
|
||||
, makeWrapper, itstool, libxml2, docbook_xsl
|
||||
, gnome3, librsvg, gdk_pixbuf, libxslt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "glade-3.16.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/glade/3.16/${name}.tar.xz";
|
||||
sha256 = "994ac258bc100d3907ed40a2880c3144f13997b324477253e812d59f2716523f";
|
||||
};
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool libxml2 python
|
||||
gnome3.gsettings_desktop_schemas makeWrapper docbook_xsl
|
||||
gdk_pixbuf gnome3.gnome_icon_theme librsvg libxslt
|
||||
hicolor_icon_theme gnome3.gnome_icon_theme_symbolic ];
|
||||
|
||||
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"
|
||||
rm $out/share/icons/hicolor/icon-theme.cache
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Glade;
|
||||
description = "User interface designer for GTK+ applications";
|
||||
maintainers = with maintainers; [ lethalman ];
|
||||
license = licenses.lgpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
54
pkgs/desktops/gnome-3/apps/gnome-documents/default.nix
Normal file
54
pkgs/desktops/gnome-3/apps/gnome-documents/default.nix
Normal file
|
@ -0,0 +1,54 @@
|
|||
{ stdenv, intltool, fetchurl, evince, gjs
|
||||
, pkgconfig, gtk3, glib, hicolor_icon_theme
|
||||
, makeWrapper, itstool, libxslt, webkitgtk
|
||||
, gnome3, librsvg, gdk_pixbuf, libsoup, docbook_xsl
|
||||
, gobjectIntrospection, json_glib
|
||||
, gmp, desktop_file_utils }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnome-documents-3.10.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-documents/3.10/${name}.tar.xz";
|
||||
sha256 = "2b7267c9c4e5767039632cb31877ed2e57f994b657e8863dd79af5287db45745";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool libxslt
|
||||
docbook_xsl desktop_file_utils
|
||||
gnome3.gsettings_desktop_schemas makeWrapper gmp
|
||||
gdk_pixbuf gnome3.gnome_icon_theme librsvg evince
|
||||
libsoup webkitgtk gjs gobjectIntrospection gnome3.rest
|
||||
gnome3.tracker gnome3.libgdata gnome3.gnome_online_accounts
|
||||
gnome3.gnome_desktop gnome3.libzapojit json_glib
|
||||
hicolor_icon_theme gnome3.gnome_icon_theme_symbolic ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preFixup =
|
||||
let
|
||||
libPath = stdenv.lib.makeLibraryPath
|
||||
[ evince gtk3 gnome3.tracker gnome3.gnome_online_accounts ];
|
||||
in
|
||||
''
|
||||
substituteInPlace $out/bin/gnome-documents --replace gapplication "${glib}/bin/gapplication"
|
||||
wrapProgram "$out/bin/gnome-documents" \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
||||
--prefix LD_LIBRARY_PATH ":" "${libPath}" \
|
||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \
|
||||
--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"
|
||||
rm $out/share/icons/hicolor/icon-theme.cache
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Documents;
|
||||
description = "Document manager application designed to work with GNOME 3";
|
||||
maintainers = with maintainers; [ lethalman ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
54
pkgs/desktops/gnome-3/apps/gnome-music/default.nix
Normal file
54
pkgs/desktops/gnome-3/apps/gnome-music/default.nix
Normal file
|
@ -0,0 +1,54 @@
|
|||
{ stdenv, intltool, fetchurl, gdk_pixbuf, tracker
|
||||
, python3, libxml2, python3Packages, libnotify
|
||||
, pkgconfig, gtk3, glib, hicolor_icon_theme, cairo
|
||||
, makeWrapper, itstool, gnome3, librsvg, gst_all_1 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnome-music-3.10.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-music/3.10/${name}.tar.xz";
|
||||
sha256 = "64220d4c0f9115a6ed27ec99c7ec7afc065d12e5a32371936f303ef981f5325f";
|
||||
};
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool gnome3.libmediaart
|
||||
gdk_pixbuf gnome3.gnome_icon_theme librsvg python3
|
||||
gnome3.grilo libxml2 python3Packages.pygobject3 libnotify
|
||||
python3Packages.pycairo python3Packages.dbus
|
||||
gst_all_1.gstreamer gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad
|
||||
hicolor_icon_theme gnome3.gnome_icon_theme_symbolic
|
||||
gnome3.gsettings_desktop_schemas makeWrapper tracker ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preFixup =
|
||||
let
|
||||
libPath = stdenv.lib.makeLibraryPath
|
||||
[ glib gtk3 libnotify tracker gnome3.grilo cairo
|
||||
gst_all_1.gstreamer gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad ];
|
||||
in
|
||||
''
|
||||
wrapProgram "$out/bin/gnome-music" \
|
||||
--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 GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
||||
--prefix LD_LIBRARY_PATH : "${libPath}" \
|
||||
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" \
|
||||
--prefix GRL_PLUGIN_PATH : "${gnome3.grilo-plugins}/lib/grilo-0.2" \
|
||||
--prefix PYTHONPATH : "$PYTHONPATH"
|
||||
|
||||
rm $out/share/icons/hicolor/icon-theme.cache
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Music;
|
||||
description = "Music player and management application for the GNOME desktop environment";
|
||||
maintainers = with maintainers; [ lethalman ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
41
pkgs/desktops/gnome-3/apps/seahorse/default.nix
Normal file
41
pkgs/desktops/gnome-3/apps/seahorse/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ stdenv, intltool, fetchurl
|
||||
, pkgconfig, gtk3, glib, hicolor_icon_theme
|
||||
, makeWrapper, itstool, gnupg, libsoup
|
||||
, gnome3, librsvg, gdk_pixbuf, gpgme
|
||||
, libsecret, avahi, p11_kit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "seahorse-3.10.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/seahorse/3.10/${name}.tar.xz";
|
||||
sha256 = "89cabf19f77a55f220bc61a3b97e4db845a0980f0f1d9c66147cc9a4ced8cd16";
|
||||
};
|
||||
|
||||
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.gnome_icon_theme librsvg gpgme
|
||||
libsecret avahi libsoup p11_kit
|
||||
hicolor_icon_theme gnome3.gnome_icon_theme_symbolic ];
|
||||
|
||||
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"
|
||||
rm $out/share/icons/hicolor/icon-theme.cache
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Seahorse;
|
||||
description = "Application for managing encryption keys and passwords in the GnomeKeyring";
|
||||
maintainers = with maintainers; [ lethalman ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
27
pkgs/desktops/gnome-3/core/gnome-online-miners/default.nix
Normal file
27
pkgs/desktops/gnome-3/core/gnome-online-miners/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, fetchurl, pkgconfig, glib, gnome3, libxml2
|
||||
, libsoup, json_glib, gmp, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnome-online-miners-3.10.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-online-miners/3.10/${name}.tar.xz";
|
||||
sha256 = "129807d398e7744870110e6875629b6858d289021271550569ce5afa10fe9ea8";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
buildInputs = [ pkgconfig glib gnome3.libgdata libxml2 libsoup gmp openssl
|
||||
gnome3.grilo gnome3.libzapojit gnome3.gnome_online_accounts
|
||||
gnome3.tracker gnome3.gfbgraph json_glib gnome3.rest ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Projects/GnomeOnlineMiners;
|
||||
description = "A set of crawlers that go through your online content and index them locally in Tracker";
|
||||
maintainers = with maintainers; [ lethalman ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
27
pkgs/desktops/gnome-3/core/grilo-plugins/default.nix
Normal file
27
pkgs/desktops/gnome-3/core/grilo-plugins/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, fetchurl, pkgconfig, file, intltool, glib, sqlite
|
||||
, gnome3, libxml2, gupnp, gssdp, lua5, liboauth, gupnp_av
|
||||
, gmime, json_glib, avahi, tracker, itstool }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "grilo-plugins-0.2.12";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/grilo-plugins/0.2/${name}.tar.xz";
|
||||
sha256 = "15bed8a633c81b251920ab677d455433e641388f605277ca88e549cc89012b48";
|
||||
};
|
||||
|
||||
installFlags = [ "GRL_PLUGINS_DIR=$(out)/lib/grilo-0.2" ];
|
||||
|
||||
buildInputs = [ pkgconfig gnome3.grilo libxml2 gupnp gssdp gnome3.libgdata
|
||||
lua5 liboauth gupnp_av sqlite gnome3.gnome_online_accounts
|
||||
gnome3.totem-pl-parser gnome3.rest gmime json_glib
|
||||
avahi gnome3.libmediaart tracker intltool itstool ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/action/show/Projects/Grilo;
|
||||
description = "A collection of plugins for the Grilo framework";
|
||||
maintainers = with maintainers; [ lethalman ];
|
||||
license = licenses.lgpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -1,4 +1,5 @@
|
|||
{ stdenv, fetchurl, pkgconfig, file, intltool, glib, libxml2, gnome3 }:
|
||||
{ stdenv, fetchurl, pkgconfig, file, intltool, glib
|
||||
, libxml2, gnome3, gobjectIntrospection, libsoup }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "grilo-0.2.10";
|
||||
|
@ -8,9 +9,17 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "559a2470fe541b0090bcfdfac7a33e92dba967727bbab6d0eca70e5636a77b25";
|
||||
};
|
||||
|
||||
configureFlags = [ "--enable-grl-pls" ];
|
||||
configureFlags = [ "--enable-grl-pls" "--enable-grl-net" ];
|
||||
|
||||
buildInputs = [ pkgconfig file intltool glib libxml2 gnome3.totem-pl-parser ];
|
||||
preConfigure = ''
|
||||
for f in src/Makefile.in libs/pls/Makefile.in libs/net/Makefile.in; do
|
||||
substituteInPlace $f --replace @INTROSPECTION_GIRDIR@ "$out/share/gir-1.0/"
|
||||
substituteInPlace $f --replace @INTROSPECTION_TYPELIBDIR@ "$out/lib/girepository-1.0"
|
||||
done
|
||||
'';
|
||||
|
||||
buildInputs = [ pkgconfig file intltool glib libxml2 libsoup
|
||||
gnome3.totem-pl-parser gobjectIntrospection ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/action/show/Projects/Grilo;
|
||||
|
|
|
@ -19,21 +19,22 @@ stdenv.mkDerivation rec {
|
|||
NIX_CFLAGS_COMPILE = "-I${gnome3.glib}/include/gio-unix-2.0";
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
propagatedBuildInputs = [ gdk_pixbuf gnome3.gnome_icon_theme librsvg
|
||||
hicolor_icon_theme gnome3.gnome_icon_theme_symbolic ];
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool libxml2 gnome3.grilo
|
||||
clutter_gtk clutter-gst gnome3.totem-pl-parser
|
||||
clutter_gtk clutter-gst gnome3.totem-pl-parser gnome3.grilo-plugins
|
||||
gst_all_1.gstreamer gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad
|
||||
gnome3.libpeas pygobject3 shared_mime_info dbus_glib
|
||||
gdk_pixbuf gnome3.gnome_icon_theme librsvg
|
||||
hicolor_icon_theme gnome3.gnome_icon_theme_symbolic
|
||||
gnome3.gsettings_desktop_schemas makeWrapper file ];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/totem" \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" \
|
||||
--prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome3.gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||
--prefix GRL_PLUGIN_PATH : "${gnome3.grilo-plugins}/lib/grilo-0.2" \
|
||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||
|
||||
rm $out/share/icons/hicolor/icon-theme.cache
|
||||
'';
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
, libpng, libexif, libgsf, libuuid, bzip2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tracker-1.0.0";
|
||||
name = "tracker-0.16.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/tracker/1.0/${name}.tar.xz";
|
||||
sha256 = "a1d033faf2c78f0e239f3c2c961b96623c9a7dabd938c08e3f5660bd70f54ba2";
|
||||
url = "mirror://gnome/sources/tracker/0.16/${name}.tar.xz";
|
||||
sha256 = "9c2f50839c2b8b352ab9a022597ef985c1900e6286c0c3bcb7a64da39dbb3580";
|
||||
};
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
|
|
|
@ -48,6 +48,8 @@ rec {
|
|||
|
||||
gnome_common = callPackage ./core/gnome-common { };
|
||||
|
||||
gnome_desktop = callPackage ./core/gnome-desktop { };
|
||||
|
||||
gnome-dictionary = callPackage ./core/gnome-dictionary { };
|
||||
|
||||
gnome-disk-utility = callPackage ./core/gnome-disk-utility { };
|
||||
|
@ -70,6 +72,8 @@ rec {
|
|||
|
||||
gnome_online_accounts = callPackage ./core/gnome-online-accounts { };
|
||||
|
||||
gnome-online-miners = callPackage ./core/gnome-online-miners { };
|
||||
|
||||
gnome_session = callPackage ./core/gnome-session { };
|
||||
|
||||
gnome_shell = callPackage ./core/gnome-shell { };
|
||||
|
@ -94,8 +98,12 @@ rec {
|
|||
|
||||
grilo = callPackage ./core/grilo { };
|
||||
|
||||
grilo-plugins = callPackage ./core/grilo-plugins { };
|
||||
|
||||
gsettings_desktop_schemas = callPackage ./core/gsettings-desktop-schemas { };
|
||||
|
||||
gtksourceview = callPackage ./core/gtksourceview { };
|
||||
|
||||
gucharmap = callPackage ./core/gucharmap { };
|
||||
|
||||
gvfs = pkgs.gvfs.override { gnome = pkgs.gnome3; };
|
||||
|
@ -145,23 +153,33 @@ rec {
|
|||
|
||||
#### Apps (http://ftp.acc.umu.se/pub/GNOME/apps/)
|
||||
|
||||
file-roller = callPackage ./desktop/file-roller { };
|
||||
file-roller = callPackage ./apps/file-roller { };
|
||||
|
||||
gnome_desktop = callPackage ./desktop/gnome-desktop { };
|
||||
gedit = callPackage ./apps/gedit { };
|
||||
|
||||
gtksourceview = callPackage ./desktop/gtksourceview { };
|
||||
glade = callPackage ./apps/glade { };
|
||||
|
||||
gnome-documents = callPackage ./apps/gnome-documents { };
|
||||
|
||||
gnome-music = callPackage ./apps/gnome-music { };
|
||||
|
||||
# scrollkeeper replacement
|
||||
rarian = callPackage ./desktop/rarian { };
|
||||
|
||||
seahorse = callPackage ./apps/seahorse { };
|
||||
|
||||
|
||||
#### Misc -- other packages on http://ftp.gnome.org/pub/GNOME/sources/
|
||||
|
||||
gfbgraph = callPackage ./misc/gfbgraph { };
|
||||
|
||||
goffice = callPackage ./misc/goffice { };
|
||||
|
||||
gitg = callPackage ./misc/gitg { };
|
||||
|
||||
libgit2-glib = callPackage ./misc/libgit2-glib { };
|
||||
|
||||
libmediaart = callPackage ./misc/libmediaart { };
|
||||
|
||||
gexiv2 = callPackage ./misc/gexiv2 { };
|
||||
|
||||
|
|
23
pkgs/desktops/gnome-3/misc/gfbgraph/default.nix
Normal file
23
pkgs/desktops/gnome-3/misc/gfbgraph/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, intltool, fetchurl, pkgconfig, glib
|
||||
, gnome3, libsoup, json_glib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gfbgraph-0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gfbgraph/0.2/${name}.tar.xz";
|
||||
sha256 = "534ca84920445b9d89e2480348eedde3ce950db3628ae0a79703e8f2d52fa724";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig glib libsoup gnome3.gnome_online_accounts
|
||||
json_glib gnome3.rest ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "GLib/GObject wrapper for the Facebook Graph API";
|
||||
maintainers = with maintainers; [ lethalman ];
|
||||
license = licenses.lgpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
19
pkgs/desktops/gnome-3/misc/libmediaart/default.nix
Normal file
19
pkgs/desktops/gnome-3/misc/libmediaart/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ stdenv, fetchurl, pkgconfig, glib, gdk_pixbuf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libmediaart-0.4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/libmediaart/0.4/${name}.tar.xz";
|
||||
sha256 = "e8ec92a642f4df7f988364f6451adf89e1611d7379a636d8c7eff4ca21a0fd1c";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig glib gdk_pixbuf ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Library tasked with managing, extracting and handling media art caches";
|
||||
maintainers = with maintainers; [ lethalman ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, fetchurl, pkgconfig, glib, intltool
|
||||
, libtool, gobjectIntrospection, polkit, systemd }:
|
||||
{ stdenv, fetchurl, pkgconfig, glib, intltool, makeWrapper
|
||||
, libtool, gobjectIntrospection, polkit, systemd, coreutils }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "accountsservice-0.6.35";
|
||||
|
@ -9,8 +9,19 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0f1hzl6hw56xvwgmd4yvmdyj15xj1fafw45pzv3qarww7h0wg8b5";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig glib intltool libtool
|
||||
buildInputs = [ pkgconfig glib intltool libtool makeWrapper
|
||||
gobjectIntrospection polkit systemd ];
|
||||
|
||||
configureFlags = [ "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
|
||||
configureFlags = [ "--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
||||
"--localstatedir=/var" ];
|
||||
|
||||
patches = [ ./no-create-dirs.patch ];
|
||||
patchFlags = "-p0";
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/libexec/accounts-daemon" \
|
||||
--run "${coreutils}/bin/mkdir -p /var/lib/AccountsService/users" \
|
||||
--run "${coreutils}/bin/mkdir -p /var/lib/AccountsService/icons"
|
||||
'';
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
--- src/Makefile.in.orig 2014-04-23 22:30:00.276005326 +0200
|
||||
+++ src/Makefile.in 2014-04-23 22:30:16.809409113 +0200
|
||||
@@ -881,8 +881,8 @@
|
||||
gdbus-codegen --generate-c-code accounts-user-generated --c-namespace Accounts --interface-prefix=org.freedesktop.Accounts. $(top_srcdir)/data/org.freedesktop.Accounts.User.xml
|
||||
|
||||
install-data-hook:
|
||||
- $(MKDIR_P) "$(DESTDIR)$(localstatedir)/lib/AccountsService/users"
|
||||
- $(MKDIR_P) "$(DESTDIR)$(localstatedir)/lib/AccountsService/icons"
|
||||
+# $(MKDIR_P) "$(DESTDIR)$(localstatedir)/lib/AccountsService/users"
|
||||
+# $(MKDIR_P) "$(DESTDIR)$(localstatedir)/lib/AccountsService/icons"
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, libxslt, docbook_xsl }:
|
||||
{ stdenv, fetchurl, libxslt, docbook_xsl, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xdg-user-dirs-0.15";
|
||||
|
@ -8,7 +8,12 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "20b4a751f41d0554bce3e0ce5e8d934be98cc62d48f0b90a894c3e1916552786";
|
||||
};
|
||||
|
||||
buildInputs = [ libxslt docbook_xsl ];
|
||||
buildInputs = [ libxslt docbook_xsl makeWrapper ];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/xdg-user-dirs-update" \
|
||||
--prefix XDG_CONFIG_DIRS : "$out/etc/xdg"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://freedesktop.org/wiki/Software/xdg-user-dirs;
|
||||
|
|
Loading…
Reference in a new issue