Unverified Commit 3bed93fa authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

telepathy-{logger, gabble}: drop (#400308)

parents 1ba2b99f 468c8e58
Loading
Loading
Loading
Loading
+0 −64
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  pkg-config,
  libxslt,
  telepathy-glib,
  python3,
  libxml2,
  dbus-glib,
  dbus,
  sqlite,
  libsoup_2_4,
  libnice,
  gnutls,
  fetchpatch,
}:

stdenv.mkDerivation rec {
  pname = "telepathy-gabble";
  version = "0.18.4";

  src = fetchurl {
    url = "https://telepathy.freedesktop.org/releases/telepathy-gabble/telepathy-gabble-${version}.tar.gz";
    sha256 = "174nlkqm055vrhv11gy73m20jbsggcb0ddi51c7s9m3j5ibr2p0i";
  };

  patches = [
    (fetchpatch {
      url = "https://github.com/archlinux/svntogit-packages/raw/edcf78c831894000f2fbfd3e5818e363911c746a/trunk/telepathy-gabble-0.18.4-python3.patch";
      hash = "sha256-bvcZW6gbCNogqwPDaXHTbohe7c2GAYjXeHGyBEDVsB4=";
    })
  ];

  nativeBuildInputs = [
    pkg-config
    libxslt
    python3
  ];
  buildInputs = [
    libxml2
    dbus-glib
    sqlite
    libsoup_2_4
    libnice
    telepathy-glib
    gnutls
  ];

  nativeCheckInputs = [ dbus ];

  configureFlags = [ "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt" ];

  enableParallelBuilding = true;
  doCheck = true;

  meta = with lib; {
    description = "Jabber/XMPP connection manager for the Telepathy framework";
    mainProgram = "telepathy-gabble-xmpp-console";
    homepage = "https://telepathy.freedesktop.org/components/telepathy-gabble/";
    license = licenses.lgpl21Plus;
    platforms = lib.platforms.unix;
  };
}
+0 −73
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  dbus-glib,
  libxml2,
  sqlite,
  telepathy-glib,
  python3,
  pkg-config,
  dconf,
  makeWrapper,
  intltool,
  libxslt,
  gobject-introspection,
  dbus,
  fetchpatch,
  darwin,
}:

stdenv.mkDerivation rec {
  pname = "telepathy-logger";
  version = "0.8.2";

  src = fetchurl {
    url = "https://telepathy.freedesktop.org/releases/telepathy-logger/telepathy-logger-${version}.tar.bz2";
    sha256 = "1bjx85k7jyfi5pvl765fzc7q2iz9va51anrc2djv7caksqsdbjlg";
  };

  patches = [
    (fetchpatch {
      url = "https://github.com/archlinux/svntogit-packages/raw/2b5bdbb4739d3517f5e7300edc8dab775743b96d/trunk/0001-tools-Fix-the-build-with-Python-3.patch";
      hash = "sha256-o1lfdZIIqaxn7ntQZnoOMqquc6efTHgSIxB5dpFWRgg=";
    })
  ];

  nativeBuildInputs = [
    makeWrapper
    pkg-config
    intltool
    libxslt
    gobject-introspection
    python3
  ];
  buildInputs =
    [
      dbus-glib
      libxml2
      sqlite
      telepathy-glib
      dbus
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      darwin.apple_sdk.frameworks.AppKit
      darwin.apple_sdk.frameworks.Foundation
    ];

  configureFlags = [ "--enable-call" ];

  preFixup = ''
    wrapProgram "$out/libexec/telepathy-logger" \
      --prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules" \
      --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
  '';

  meta = with lib; {
    description = "Logger service for Telepathy framework";
    homepage = "https://telepathy.freedesktop.org/components/telepathy-logger/";
    license = licenses.lgpl21Plus;
    maintainers = [ ];
    platforms = platforms.unix;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -1706,6 +1706,8 @@ mapAliases {
  teamspeak_client = teamspeak3; # Added 2024-11-07
  teamspeak5_client = teamspeak6-client; # Added 2025-01-29
  teck-programmer = throw "teck-programmer was removed because it was broken and unmaintained"; # added 2024-08-23
  telepathy-gabble = throw "'telepathy-gabble' has been removed as it was unmaintained, unused, broken and used outdated libraries"; # Added 2025-04-20
  telepathy-logger = throw "'telepathy-logger' has been removed as it was unmaintained, unused and broken"; # Added 2025-04-20
  teleport_13 = throw "teleport 13 has been removed as it is EOL. Please upgrade to Teleport 14 or later"; # Added 2024-05-26
  teleport_14 = throw "teleport 14 has been removed as it is EOL. Please upgrade to Teleport 15 or later"; # Added 2024-10-18
  teleport_15 = throw "teleport 15 has been removed as it is EOL. Please upgrade to Teleport 16 or later"; # Added 2025-03-28