git.iko.soy/typeable/nixpkgs
on master help sign in
libindicate: remove
commit249a4896316a33f38691fb9be158b6c319a8fd14 authorworldofpeace <worldofpeace@protonmail.ch> dateTue 10 Dec 2019, 22:41 (7 years ago) parent48fdd1a
3 files changed+3−70
pkgs/development/libraries/libindicate/default.nix−66 pkgs/top-level/aliases.nix+3 pkgs/top-level/all-packages.nix−4
pkgs/development/libraries/libindicate/default.nixdeleted−66
@@ -1,66 +0,0 @@
1−# TODO: Resolve the issues with the Mono bindings.
2−
3−{ stdenv, fetchurl, lib, file
4−, pkgconfig, autoconf
5−, glib, dbus-glib, libdbusmenu
6−, gtkVersion ? "3", gtk2 ? null, gtk3 ? null
7−, python2Packages, gobject-introspection, vala, gnome-doc-utils
8−, monoSupport ? false, mono ? null, gtk-sharp-2_0 ? null
9− }:
10−
11−with lib;
12−
13−let
14− inherit (python2Packages) python pygobject2 pygtk;
15−in stdenv.mkDerivation rec {
16− name = let postfix = if gtkVersion == "2" && monoSupport then "sharp" else "gtk${gtkVersion}";
17− in "libindicate-${postfix}-${version}";
18− version = "${versionMajor}.${versionMinor}";
19− versionMajor = "12.10";
20− versionMinor = "1";
21−
22− src = fetchurl {
23− url = "${meta.homepage}/${versionMajor}/${version}/+download/libindicate-${version}.tar.gz";
24− sha256 = "10am0ymajx633b33anf6b79j37k61z30v9vaf5f9fwk1x5cw1q21";
25− };
26−
27− nativeBuildInputs = [ pkgconfig autoconf gobject-introspection vala gnome-doc-utils ];
28−
29− buildInputs = [
30− glib dbus-glib libdbusmenu
31− python pygobject2 pygtk
32− ] ++ (if gtkVersion == "2"
33− then [ gtk2 ] ++ optionals monoSupport [ mono gtk-sharp-2_0 ]
34− else [ gtk3 ]);
35−
36− postPatch = ''
37− substituteInPlace configure.ac \
38− --replace '=codegendir pygtk-2.0' '=codegendir pygobject-2.0' \
39− --replace 'pyglib-2.0-python$PYTHON_VERSION' 'pyglib-2.0-python'
40− autoconf
41− for f in {configure,ltmain.sh,m4/libtool.m4}; do
42− substituteInPlace $f \
43− --replace /usr/bin/file ${file}/bin/file
44− done
45− '';
46−
47− configureFlags = [
48− "CFLAGS=-Wno-error"
49− "--sysconfdir=/etc"
50− "--localstatedir=/var"
51− "--with-gtk=${gtkVersion}"
52− ];
53−
54− installFlags = [
55− "sysconfdir=\${out}/etc"
56− "localstatedir=\${TMPDIR}"
57− ];
58−
59− meta = {
60− description = "Library for raising indicators via DBus";
61− homepage = https://launchpad.net/libindicate;
62− license = with licenses; [ lgpl21 lgpl3 ];
63− platforms = platforms.linux;
64− maintainers = [ maintainers.msteen ];
65− };
66−}
pkgs/top-level/aliases.nix+3
@@ -198,6 +198,9 @@ mapAliases ({
198198 libcanberra_gtk3 = libcanberra-gtk3; # added 2018-02-25
199199 libcap_manpages = libcap.doc; # added 2016-04-29
200200 libcap_pam = if stdenv.isLinux then libcap.pam else null; # added 2016-04-29
201+ libindicate = throw "libindacate has been removed from nixpkgs, as it's abandoned and uses deprecated libraries"; # added 2019-12-10
202+ libindicate-gtk3 = throw "libindacate-gtk2 has been removed from nixpkgs, as it's abandoned and uses deprecated libraries"; # added 2019-12-10
203+ libindicate-gtk2 = throw "libindacate-gtk3 has been removed from nixpkgs, as it's abandoned and uses deprecated libraries"; # added 2019-12-10
201204 libcap_progs = libcap.out; # added 2016-04-29
202205 libdbusmenu_qt5 = libsForQt5.libdbusmenu; # added 2015-12-19
203206 libdbusmenu-glib = libdbusmenu; # added 2018-05-01
pkgs/top-level/all-packages.nix−4
@@ -12443,10 +12443,6 @@ in
1244312443
1244412444 libimobiledevice = callPackage ../development/libraries/libimobiledevice { };
1244512445
12446− libindicate-gtk2 = libindicate.override { gtkVersion = "2"; };
12447− libindicate-gtk3 = libindicate.override { gtkVersion = "3"; };
12448− libindicate = callPackage ../development/libraries/libindicate { };
12449−
1245012446 libindicator-gtk2 = libindicator.override { gtkVersion = "2"; };
1245112447 libindicator-gtk3 = libindicator.override { gtkVersion = "3"; };
1245212448 libindicator = callPackage ../development/libraries/libindicator { };