gnome2: remove aliases

This commit is contained in:
Jan Tojnar 2019-03-03 22:30:31 +01:00
parent bbe29c055d
commit 57c745f530
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4
22 changed files with 72 additions and 83 deletions

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, pkgconfig, gtk }:
{stdenv, fetchurl, pkgconfig, gtk2 }:
stdenv.mkDerivation rec {
version = "0.1";
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ stdenv gtk ];
buildInputs = [ stdenv gtk2 ];
preferLocalBuild = true;

View file

@ -1,6 +1,6 @@
{ stdenv, glib, fetchurl, fetchpatch, cyrus_sasl, gettext, openldap, ptlib, opal, libXv, rarian, intltool
, perlPackages, evolution-data-server, gnome-doc-utils, avahi, autoreconfHook
, libsigcxx, gtk, dbus-glib, libnotify, libXext, xorgproto, gnome3, boost, libsecret
, libsigcxx, gtk2, dbus-glib, libnotify, libXext, xorgproto, gnome3, boost, libsecret
, pkgconfig, libxml2, unixODBC, db, nspr, nss, zlib
, libXrandr, which, libxslt, libtasn1, gmp, nettle, sqlite, makeWrapper }:
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
buildInputs = [ cyrus_sasl gettext openldap ptlib opal libXv rarian intltool
evolution-data-server gnome-doc-utils avahi
libsigcxx gtk dbus-glib libnotify libXext xorgproto sqlite
libsigcxx gtk2 dbus-glib libnotify libXext xorgproto sqlite
gnome3.libsoup glib gnome3.adwaita-icon-theme boost
autoreconfHook pkgconfig libxml2 unixODBC db nspr
nss zlib libsecret libXrandr which libxslt libtasn1

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, gnome_python, librsvg, libwnck, libgtop, pkgconfig, python2, gtk }:
{ stdenv, fetchurl, gnome_python, librsvg, libwnck, libgtop, pkgconfig, python2, gtk2 }:
let
inherit (python2.pkgs) python pygtk;
@ -14,7 +14,7 @@ in stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk librsvg libwnck libgtop python ];
buildInputs = [ gtk2 librsvg libwnck libgtop python ];
propagatedBuildInputs = [ gnome_python pygtk ];
# gnome-python-desktop expects that .pth file is already installed by PyGTK

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, python2, pkgconfig, libgnome, GConf, glib, gtk, gnome_vfs }:
{ stdenv, fetchurl, python2, pkgconfig, libgnome, GConf, glib, gtk2, gnome_vfs }:
with stdenv.lib;
@ -14,7 +14,7 @@ in stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ python glib gtk GConf libgnome gnome_vfs ];
buildInputs = [ python glib gtk2 GConf libgnome gnome_vfs ];
propagatedBuildInputs = [ pygobject2 pygtk dbus-python ];
# gnome-python expects that .pth file is already installed by PyGTK in the

View file

@ -1,8 +1,8 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtkmm, libglade }:
{ stdenv, fetchurl, pkgconfig, intltool, gtkmm2, libglade }:
stdenv.mkDerivation rec {
name = "libglademm-2.6.7";
src = fetchurl {
url = "mirror://gnome/sources/libglademm/2.6/${name}.tar.bz2";
sha256 = "1hrbg9l5qb7w0xvr7013qamkckyj0fqc426c851l69zpmhakqm1q";
@ -12,6 +12,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool ];
propagatedBuildInputs = [ gtkmm libglade ];
propagatedBuildInputs = [ gtkmm2 libglade ];
}

View file

@ -1,14 +1,6 @@
{ stdenv, pkgs, lib }:
{ config, stdenv, pkgs, lib }:
lib.makeScope pkgs.newScope (self: with self; {
# Backward compatibility.
gtkdoc = self.gtk-doc;
startup_notification = pkgs.libstartup_notification;
startupnotification = pkgs.libstartup_notification;
gnomedocutils = self.gnome-doc-utils;
gnomeicontheme = self.gnome_icon_theme;
gnome_common = gnome-common;
inherit (pkgs) rarian;
#### PLATFORM
@ -22,9 +14,7 @@ lib.makeScope pkgs.newScope (self: with self; {
libglade = callPackage ./platform/libglade { };
libgnomeprint = callPackage ./platform/libgnomeprint {
bison = pkgs.bison2;
};
libgnomeprint = callPackage ./platform/libgnomeprint { };
libgnomeprintui = callPackage ./platform/libgnomeprintui { };
@ -46,7 +36,6 @@ lib.makeScope pkgs.newScope (self: with self; {
gnome_python = callPackage ./bindings/gnome-python { };
gnome_python_desktop = callPackage ./bindings/gnome-python-desktop { };
python_rsvg = self.gnome_python_desktop;
gnome_vfs = callPackage ./platform/gnome-vfs { };
@ -62,9 +51,6 @@ lib.makeScope pkgs.newScope (self: with self; {
gtkhtml4 = callPackage ./platform/gtkhtml/4.x.nix { };
# Required for nautilus
inherit (pkgs) libunique;
gtkglext = callPackage ./platform/gtkglext { };
#### DESKTOP
@ -84,13 +70,22 @@ lib.makeScope pkgs.newScope (self: with self; {
libglademm = callPackage ./bindings/libglademm { };
} // lib.optionalAttrs (config.allowAliases or true) {
inherit (pkgs)
# GTK Libs
glib glibmm atk atkmm cairo pango pangomm gdk_pixbuf gtkmm2 libcanberra-gtk2
# Included for backwards compatibility
libsoup libwnck gtk-doc gnome-doc-utils;
libsoup libwnck gtk-doc gnome-doc-utils rarian;
gtk = pkgs.gtk2;
gtkmm = pkgs.gtkmm2;
python_rsvg = self.gnome_python_desktop;
gtkdoc = pkgs.gtk-doc;
startup_notification = pkgs.libstartup_notification;
startupnotification = pkgs.libstartup_notification;
gnomedocutils = pkgs.gnome-doc-utils;
gnomeicontheme = self.gnome_icon_theme;
gnome_common = gnome-common;
})

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, intltool, iconnamingutils, gtk }:
{ stdenv, fetchurl, pkgconfig, intltool, iconnamingutils, gtk2 }:
stdenv.mkDerivation rec {
name = "gnome-icon-theme-2.91.93";
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "cc7f15e54e2640697b58c26e74cc3f6ebadeb4ef6622bffe9c1e6874cc3478d6";
};
nativeBuildInputs = [ pkgconfig intltool iconnamingutils gtk ];
nativeBuildInputs = [ pkgconfig intltool iconnamingutils gtk2 ];
# remove a tree of dirs with no files within
postInstall = '' rm -r "$out/share/locale" '';

View file

@ -1,5 +1,5 @@
{stdenv, fetchpatch, fetchurl, autoreconfHook, pkgconfig, atk, cairo, glib
, gnome-common, gtk, pango
, gnome-common, gtk2, pango
, libxml2Python, perl, intltool, gettext, gtk-mac-integration-gtk2 }:
with stdenv.lib;
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
atk cairo glib gtk
atk cairo glib gtk2
pango libxml2Python perl intltool
gettext
] ++ optionals stdenv.isDarwin [

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, intltool, pkgconfig, glib, gtk, ncurses
{ stdenv, fetchurl, fetchpatch, intltool, pkgconfig, glib, gtk2, ncurses
, pythonSupport ? false, python27Packages}:
let
@ -29,7 +29,7 @@ in stdenv.mkDerivation rec {
];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool glib gtk ncurses ] ++
buildInputs = [ intltool glib gtk2 ncurses ] ++
stdenv.lib.optionals pythonSupport [python pygtk];
configureFlags = [

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, pkgconfig, glib, gtk, libGLU_combined, pango, pangox_compat, xorg }:
{ stdenv, fetchurl, fetchpatch, pkgconfig, glib, gtk2, libGLU_combined, pango, pangox_compat, xorg }:
stdenv.mkDerivation rec {
name = "gtkglext-1.2.0";
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
};
buildInputs = with xorg;
[ pkgconfig glib gtk libGLU_combined pango libX11 libXmu ];
[ pkgconfig glib gtk2 libGLU_combined pango libX11 libXmu ];
propagatedBuildInputs = [ pangox_compat ];
patches = [

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, gtk, intltool,
{ stdenv, fetchurl, pkgconfig, gtk2, intltool,
GConf, enchant, isocodes, gnome_icon_theme }:
stdenv.mkDerivation rec {
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
patches = [ ./01_remove-disable-deprecated.patch ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk intltool GConf enchant isocodes gnome_icon_theme ];
buildInputs = [ gtk2 intltool GConf enchant isocodes gnome_icon_theme ];
NIX_LDFLAGS = [ "-lgthread-2.0" ];
}

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, bison, pkgconfig, popt, libxml2, gtk, libtool
{ stdenv, fetchurl, bison, pkgconfig, popt, libxml2, gtk2, libtool
, intltool, libbonobo, GConf, libgnomecanvas, libgnome, libglade }:
stdenv.mkDerivation rec {
@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ bison popt gtk libxml2 GConf libglade libtool ];
buildInputs = [ bison popt gtk2 libxml2 GConf libglade libtool ];
propagatedBuildInputs = [ libbonobo libgnomecanvas libgnome ];
}

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, pkgconfig, gtk, libxml2, python, gettext}:
{stdenv, fetchurl, pkgconfig, gtk2, libxml2, python, gettext}:
stdenv.mkDerivation {
name = "libglade-2.6.4";
@ -11,7 +11,7 @@ stdenv.mkDerivation {
outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk python gettext ];
buildInputs = [ gtk2 python gettext ];
NIX_LDFLAGS = "-lgmodule-2.0";

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, gtk, intltool, libart_lgpl, libglade }:
{ stdenv, fetchurl, pkgconfig, gtk2, intltool, libart_lgpl, libglade }:
stdenv.mkDerivation rec {
name = "libgnomecanvas-${minVer}.3";
@ -13,5 +13,5 @@ stdenv.mkDerivation rec {
buildInputs = [ libglade ];
nativeBuildInputs = [ pkgconfig intltool ];
propagatedBuildInputs = [ libart_lgpl gtk ];
propagatedBuildInputs = [ libart_lgpl gtk2 ];
}

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, libgnomecanvas, gtkmm }:
{ stdenv, fetchurl, pkgconfig, libgnomecanvas, gtkmm2 }:
stdenv.mkDerivation {
name = "libgnomecanvasmm-2.26.0";
@ -9,5 +9,5 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libgnomecanvas gtkmm ];
buildInputs = [ libgnomecanvas gtkmm2 ];
}

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2, intltool, libart_lgpl }:
{ stdenv, fetchurl, pkgconfig, gtk2, gettext, libxml2, intltool, libart_lgpl }:
stdenv.mkDerivation rec {
name = "libgnomecups-0.2.3";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
patches = [ ./glib.patch ./cups_1.6.patch ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk gettext intltool libart_lgpl ];
buildInputs = [ gtk2 gettext intltool libart_lgpl ];
propagatedBuildInputs = [ libxml2 ];
}

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2, intltool, libart_lgpl
, libgnomecups, bison, flex }:
{ stdenv, fetchurl, pkgconfig, gtk2, gettext, libxml2, intltool, libart_lgpl
, libgnomecups, bison2, flex }:
stdenv.mkDerivation rec {
name = "libgnomeprint-2.18.8";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
patches = [ ./bug653388.patch ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk gettext intltool libart_lgpl libgnomecups bison flex ];
buildInputs = [ gtk2 gettext intltool libart_lgpl libgnomecups bison2 flex ];
propagatedBuildInputs = [ libxml2 ];

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, pkgconfig, gtk, gettext, intltool, libgnomecanvas, libgnomeprint, gnomeicontheme}:
{stdenv, fetchurl, pkgconfig, gtk2, gettext, intltool, libgnomecanvas, libgnomeprint, gnome_icon_theme}:
stdenv.mkDerivation {
name = "libgnomeprintui-2.18.6";
@ -9,5 +9,5 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk gettext intltool libgnomecanvas libgnomeprint gnomeicontheme];
buildInputs = [ gtk2 gettext intltool libgnomecanvas libgnomeprint gnome_icon_theme];
}

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2 }:
{stdenv, fetchurl, pkgconfig, gtk2, gettext, libxml2 }:
stdenv.mkDerivation {
name = "libgtkhtml-2.11.1";
@ -9,7 +9,7 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk gettext ];
buildInputs = [ gtk2 gettext ];
propagatedBuildInputs = [ libxml2 ];
hardeningDisable = [ "format" ];

View file

@ -3,7 +3,7 @@
lib.makeScope pkgs.newScope (self: with self; {
#### NixOS support
inherit (pkgs.gnome2) libglade libwnck vte gtksourceview;
inherit (pkgs.gnome2) libglade vte gtksourceview;
inherit (pkgs.gnome3) dconf;
inherit (pkgs.perlPackages) URI;

View file

@ -37818,7 +37818,7 @@ self: {
description = "Proof-of-concept tool for writing using binary choices";
license = "GPL";
hydraPlatforms = stdenv.lib.platforms.none;
}) {inherit (pkgs) gtk2; inherit (pkgs.gnome2) pango;};
}) {inherit (pkgs) gtk2; inherit (pkgs) pango;};
"bitstream" = callPackage
({ mkDerivation, base, base-unicode-symbols, bytestring, QuickCheck
@ -49324,7 +49324,7 @@ self: {
description = "Bindings to the Clutter animation library";
license = "LGPL";
hydraPlatforms = stdenv.lib.platforms.none;
}) {inherit (pkgs) clutter; inherit (pkgs.gnome2) pango;};
}) {inherit (pkgs) clutter; inherit (pkgs) pango;};
"cmaes" = callPackage
({ mkDerivation, base, doctest, doctest-prop, mtl, process, random
@ -86876,7 +86876,7 @@ self: {
doHaddock = false;
description = "GIRepository (gobject-introspection) bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs.gnome3) gobject-introspection;};
}) {inherit (pkgs) gobject-introspection;};
"gi-glib" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, glib
@ -87179,7 +87179,7 @@ self: {
description = "JavaScriptCore bindings";
license = stdenv.lib.licenses.lgpl21;
hydraPlatforms = stdenv.lib.platforms.none;
}) {inherit (pkgs.gnome3) webkitgtk;};
}) {inherit (pkgs) webkitgtk;};
"gi-notify" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-gdkpixbuf
@ -87244,7 +87244,7 @@ self: {
'';
description = "Pango bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs) cairo; inherit (pkgs.gnome2) pango;};
}) {inherit (pkgs) cairo; inherit (pkgs) pango;};
"gi-pangocairo" = callPackage
({ mkDerivation, base, bytestring, Cabal, cairo, containers
@ -87269,7 +87269,7 @@ self: {
'';
description = "PangoCairo bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs) cairo; inherit (pkgs.gnome2) pango;};
}) {inherit (pkgs) cairo; inherit (pkgs) pango;};
"gi-poppler" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-cairo
@ -87330,7 +87330,7 @@ self: {
doHaddock = false;
description = "Libsoup bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs.gnome2) libsoup;};
}) {inherit (pkgs) libsoup;};
"gi-vte" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-atk
@ -87397,7 +87397,7 @@ self: {
description = "WebKit2 bindings";
license = stdenv.lib.licenses.lgpl21;
hydraPlatforms = stdenv.lib.platforms.none;
}) {inherit (pkgs.gnome3) webkitgtk;};
}) {inherit (pkgs) webkitgtk;};
"gi-webkit2webextension" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-gio
@ -87443,7 +87443,7 @@ self: {
description = "Wnck bindings";
license = stdenv.lib.licenses.lgpl21;
hydraPlatforms = stdenv.lib.platforms.none;
}) {inherit (pkgs.gnome2) libwnck;};
}) {inherit (pkgs) libwnck;};
"gi-xlib" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, haskell-gi
@ -100853,7 +100853,7 @@ self: {
description = "Generate Haskell bindings for GObject Introspection capable libraries";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs) glib;
inherit (pkgs.gnome3) gobject-introspection;};
inherit (pkgs) gobject-introspection;};
"haskell-gi-base" = callPackage
({ mkDerivation, base, bytestring, containers, glib, text }:
@ -162583,7 +162583,7 @@ self: {
description = "Binding to the Pango text rendering engine";
license = stdenv.lib.licenses.lgpl21;
hydraPlatforms = stdenv.lib.platforms.none;
}) {inherit (pkgs.gnome2) pango;};
}) {inherit (pkgs) pango;};
"pangraph" = callPackage
({ mkDerivation, algebraic-graphs, attoparsec, base, bytestring
@ -170483,8 +170483,8 @@ self: {
description = "Binding to the Poppler";
license = stdenv.lib.licenses.gpl2;
hydraPlatforms = stdenv.lib.platforms.none;
}) {inherit (pkgs) gdk_pixbuf; inherit (pkgs) gtk2;
inherit (pkgs.gnome2) pango; inherit (pkgs) poppler;};
}) {inherit (pkgs) gdk_pixbuf; inherit (pkgs) gtk2;
inherit (pkgs) pango; inherit (pkgs) poppler;};
"populate-setup-exe-cache" = callPackage
({ mkDerivation, base }:
@ -202162,7 +202162,7 @@ self: {
description = "Experimental web browser";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
}) {inherit (pkgs.gnome2) libsoup;};
}) {inherit (pkgs) libsoup;};
"spine" = callPackage
({ mkDerivation, base }:
@ -216310,7 +216310,7 @@ self: {
description = "A desktop bar based on WebKit";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
}) {inherit (pkgs) gtk3; inherit (pkgs.gnome3) webkitgtk;};
}) {inherit (pkgs) gtk3; inherit (pkgs) webkitgtk;};
"tibetan-utils" = callPackage
({ mkDerivation, base, composition-prelude, either, hspec
@ -231877,7 +231877,7 @@ self: {
description = "JavaScriptCore FFI from webkitgtk";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
}) {inherit (pkgs.gnome3) webkitgtk;};
}) {inherit (pkgs) webkitgtk;};
"webkitgtk3" = callPackage
({ mkDerivation, base, bytestring, Cabal, cairo, glib

View file

@ -3175,9 +3175,7 @@ in
gsmartcontrol = callPackage ../tools/misc/gsmartcontrol { };
gssdp = callPackage ../development/libraries/gssdp {
inherit (gnome2) libsoup;
};
gssdp = callPackage ../development/libraries/gssdp { };
gt5 = callPackage ../tools/system/gt5 { };
@ -3204,9 +3202,7 @@ in
gup = callPackage ../development/tools/build-managers/gup {};
gupnp = callPackage ../development/libraries/gupnp {
inherit (gnome2) libsoup;
};
gupnp = callPackage ../development/libraries/gupnp { };
gupnp-av = callPackage ../development/libraries/gupnp-av {};
@ -17585,9 +17581,7 @@ in
gspell = callPackage ../development/libraries/gspell { };
gtk2fontsel = callPackage ../applications/misc/gtk2fontsel {
inherit (gnome2) gtk;
};
gtk2fontsel = callPackage ../applications/misc/gtk2fontsel { };
guake = callPackage ../applications/misc/guake { };
@ -22348,7 +22342,7 @@ in
dpkg = callPackage ../tools/package-management/dpkg { };
ekiga = newScope pkgs.gnome2 ../applications/networking/instant-messengers/ekiga { };
ekiga = callPackage ../applications/networking/instant-messengers/ekiga { };
emulationstation = callPackage ../misc/emulators/emulationstation {
stdenv = overrideCC stdenv gcc5;