Merge pull request #45627 from jtojnar/gnome-cleanup

Gnome cleanup
This commit is contained in:
Jan Tojnar 2018-08-25 22:14:51 +02:00 committed by GitHub
commit e8a6d22174
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 30 additions and 30 deletions

View File

@ -2,7 +2,7 @@
, stdenv, fetchurl, pkgconfig, gtk3, gtkspell3 ? null , stdenv, fetchurl, pkgconfig, gtk3, gtkspell3 ? null
, perl, gmime2, gettext, intltool, itstool, libxml2, dbus-glib, libnotify, gnutls , perl, gmime2, gettext, intltool, itstool, libxml2, dbus-glib, libnotify, gnutls
, makeWrapper, gnupg , makeWrapper, gnupg
, gnomeSupport ? true, libgnome-keyring3 , gnomeSupport ? true, gnome3, libsecret
}: }:
assert spellChecking -> gtkspell3 != null; assert spellChecking -> gtkspell3 != null;
@ -17,10 +17,10 @@ stdenv.mkDerivation {
sha256 = "1b4wamv33hprghcjk903bpvnd233yxyrm18qnh13alc8h1553nk8"; sha256 = "1b4wamv33hprghcjk903bpvnd233yxyrm18qnh13alc8h1553nk8";
}; };
nativeBuildInputs = [ pkgconfig makeWrapper ]; nativeBuildInputs = [ pkgconfig gettext intltool itstool libxml2 makeWrapper ];
buildInputs = [ gtk3 perl gmime2 gettext intltool itstool libxml2 dbus-glib libnotify gnutls ] buildInputs = [ gtk3 gmime2 libnotify gnutls ]
++ stdenv.lib.optional spellChecking gtkspell3 ++ stdenv.lib.optional spellChecking gtkspell3
++ stdenv.lib.optional gnomeSupport libgnome-keyring3; ++ stdenv.lib.optionals gnomeSupport [ libsecret gnome3.gcr ];
configureFlags = [ configureFlags = [
"--with-dbus" "--with-dbus"

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, libxslt, which, libX11, gnome3, gtk3, glib { stdenv, fetchurl, substituteAll, pkgconfig, libxslt, which, libX11, gnome3, gtk3, glib
, intltool, libxml2, xkeyboard_config, isocodes, itstool, wayland , intltool, libxml2, xkeyboard_config, isocodes, itstool, wayland
, libseccomp, bubblewrap, gobjectIntrospection, gtk-doc, docbook_xsl }: , libseccomp, bubblewrap, gobjectIntrospection, gtk-doc, docbook_xsl }:
@ -30,18 +30,16 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ gnome3.gsettings-desktop-schemas ]; propagatedBuildInputs = [ gnome3.gsettings-desktop-schemas ];
patches = [ patches = [
./bubblewrap-paths.patch (substituteAll {
src = ./bubblewrap-paths.patch;
BUBBLEWRAP_BIN = "${bubblewrap}/bin/bwrap";
})
]; ];
configureFlags = [ configureFlags = [
"--enable-gtk-doc" "--enable-gtk-doc"
]; ];
postPatch = ''
substituteInPlace libgnome-desktop/gnome-desktop-thumbnail-script.c --subst-var-by \
BUBBLEWRAP_BIN "${bubblewrap}/bin/bwrap"
'';
passthru = { passthru = {
updateScript = gnome3.updateScript { updateScript = gnome3.updateScript {
packageName = "gnome-desktop"; packageName = "gnome-desktop";

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, dbus, libgcrypt, libtasn1, pam, python2, glib, libxslt { stdenv, fetchurl, pkgconfig, dbus, libgcrypt, pam, python2, glib, libxslt
, intltool, pango, gcr, gdk_pixbuf, atk, p11-kit, openssh, wrapGAppsHook , gettext, gcr, libcap_ng, libselinux, p11-kit, openssh, wrapGAppsHook
, docbook_xsl, docbook_xml_dtd_42, gnome3 }: , docbook_xsl, docbook_xml_dtd_43, gnome3 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "gnome-keyring-${version}"; name = "gnome-keyring-${version}";
@ -11,21 +11,15 @@ stdenv.mkDerivation rec {
sha256 = "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"; sha256 = "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1";
}; };
passthru = {
updateScript = gnome3.updateScript { packageName = "gnome-keyring"; attrPath = "gnome3.gnome-keyring"; };
};
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
buildInputs = with gnome3; [ buildInputs = [
dbus libgcrypt pam gtk3 libgnome-keyring openssh glib libgcrypt pam openssh libcap_ng libselinux
pango gcr gdk_pixbuf atk p11-kit gcr p11-kit
]; ];
propagatedBuildInputs = [ glib libtasn1 libxslt ];
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig intltool docbook_xsl docbook_xml_dtd_42 wrapGAppsHook pkgconfig gettext libxslt docbook_xsl docbook_xml_dtd_43 wrapGAppsHook
]; ];
configureFlags = [ configureFlags = [
@ -48,6 +42,13 @@ stdenv.mkDerivation rec {
make check make check
''; '';
passthru = {
updateScript = gnome3.updateScript {
packageName = "gnome-keyring";
attrPath = "gnome3.gnome-keyring";
};
};
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Collection of components in GNOME that store secrets, passwords, keys, certificates and make them available to applications"; description = "Collection of components in GNOME that store secrets, passwords, keys, certificates and make them available to applications";
homepage = https://wiki.gnome.org/Projects/GnomeKeyring; homepage = https://wiki.gnome.org/Projects/GnomeKeyring;

View File

@ -1,4 +1,4 @@
{ mkXfceDerivation, automakeAddFlags, dbus-glib, exo, garcon, gtk3 { mkXfceDerivation, automakeAddFlags, exo, garcon, gtk3
, libnotify ? null, libxfce4ui, libxfce4util, libxklavier ? null , libnotify ? null, libxfce4ui, libxfce4util, libxklavier ? null
, upower ? null, xfconf, xf86inputlibinput ? null }: , upower ? null, xfconf, xf86inputlibinput ? null }:
@ -19,7 +19,6 @@ mkXfceDerivation rec {
nativeBuildInputs = [ automakeAddFlags ]; nativeBuildInputs = [ automakeAddFlags ];
buildInputs = [ buildInputs = [
dbus-glib
exo exo
garcon garcon
gtk3 gtk3

View File

@ -1,10 +1,12 @@
{ stdenv, fetchFromGitHub, autoreconfHook, libtool { stdenv, fetchFromGitHub, autoreconfHook, umockdev, gobjectIntrospection
, pkgconfig, glib, systemd, libgudev, vala }: , pkgconfig, glib, systemd, libgudev, vala }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "umockdev-${version}"; name = "umockdev-${version}";
version = "0.11.3"; version = "0.11.3";
outputs = [ "bin" "out" "dev" "doc" ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "martinpitt"; owner = "martinpitt";
repo = "umockdev"; repo = "umockdev";
@ -19,7 +21,7 @@ stdenv.mkDerivation rec {
buildInputs = [ glib systemd libgudev ]; buildInputs = [ glib systemd libgudev ];
nativeBuildInputs = [ autoreconfHook libtool pkgconfig vala ]; nativeBuildInputs = [ autoreconfHook pkgconfig vala gobjectIntrospection ];
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, udev, libgudev, polkit, dbus-glib, ppp, gettext, pkgconfig { stdenv, fetchurl, glib, udev, libgudev, polkit, ppp, gettext, pkgconfig
, libmbim, libqmi, systemd, fetchpatch }: , libmbim, libqmi, systemd, fetchpatch }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ gettext pkgconfig ]; nativeBuildInputs = [ gettext pkgconfig ];
buildInputs = [ udev libgudev polkit dbus-glib ppp libmbim libqmi systemd ]; buildInputs = [ glib udev libgudev polkit ppp libmbim libqmi systemd ];
patches = [ patches = [
# Patch dependency on glib headers, this breaks packages using core headers (networkmanager-qt) # Patch dependency on glib headers, this breaks packages using core headers (networkmanager-qt)