mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 01:02:20 +00:00
pidgin: drop
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
diff --git a/libpurple/plugin.c b/libpurple/plugin.c
|
||||
index 4f2b402..fda9add 100644
|
||||
--- a/libpurple/plugin.c
|
||||
+++ b/libpurple/plugin.c
|
||||
@@ -1181,8 +1181,15 @@ purple_plugins_get_handle(void) {
|
||||
void
|
||||
purple_plugins_init(void) {
|
||||
void *handle = purple_plugins_get_handle();
|
||||
+ gchar **paths, **p;
|
||||
|
||||
purple_plugins_add_search_path(LIBDIR);
|
||||
+ paths = g_strsplit(g_getenv("PURPLE_PLUGIN_PATH"), ":", -1);
|
||||
+ if (paths) {
|
||||
+ for (p = paths; *p; ++p)
|
||||
+ if (**p) purple_plugins_add_search_path(*p);
|
||||
+ }
|
||||
+ g_strfreev(paths);
|
||||
|
||||
purple_signal_register(handle, "plugin-load",
|
||||
purple_marshal_VOID__POINTER,
|
||||
@@ -1,179 +0,0 @@
|
||||
{
|
||||
stdenv,
|
||||
callPackage,
|
||||
fetchurl,
|
||||
makeWrapper,
|
||||
aspell,
|
||||
avahi,
|
||||
cacert,
|
||||
dbus,
|
||||
dbus-glib,
|
||||
farstream,
|
||||
gettext,
|
||||
gst_all_1,
|
||||
gtk2,
|
||||
gtk2-x11,
|
||||
intltool,
|
||||
lib,
|
||||
libice,
|
||||
libsm,
|
||||
libxscrnsaver,
|
||||
libxext,
|
||||
libgcrypt,
|
||||
libgnt,
|
||||
libidn,
|
||||
libstartup_notification,
|
||||
libxml2,
|
||||
ncurses,
|
||||
nspr,
|
||||
nss,
|
||||
perlPackages,
|
||||
pkg-config,
|
||||
python3,
|
||||
pidgin,
|
||||
plugins ? [ ],
|
||||
withOpenssl ? false,
|
||||
openssl,
|
||||
withGnutls ? false,
|
||||
gnutls,
|
||||
withCyrus_sasl ? true,
|
||||
cyrus_sasl,
|
||||
pidginPackages,
|
||||
}:
|
||||
|
||||
# FIXME: clean the mess around choosing the SSL library (nss by default)
|
||||
|
||||
let
|
||||
unwrapped = stdenv.mkDerivation rec {
|
||||
pname = "pidgin";
|
||||
version = "2.14.14";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/pidgin/pidgin-${version}.tar.bz2";
|
||||
sha256 = "sha256-D/yZlN7xAmD5ilXNEy3u+o3EqYNUUcwOmCdHvUWOI1Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
intltool
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0";
|
||||
|
||||
buildInputs =
|
||||
let
|
||||
python-with-dbus = python3.withPackages (pp: with pp; [ dbus-python ]);
|
||||
in
|
||||
[
|
||||
aspell
|
||||
avahi
|
||||
cyrus_sasl
|
||||
dbus
|
||||
dbus-glib
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good
|
||||
gst_all_1.gstreamer
|
||||
libice
|
||||
libsm
|
||||
libxscrnsaver
|
||||
libxext
|
||||
libgnt
|
||||
libidn
|
||||
libstartup_notification
|
||||
libxml2
|
||||
ncurses # optional: build finch - the console UI
|
||||
nspr
|
||||
nss
|
||||
python-with-dbus
|
||||
]
|
||||
++ lib.optional withOpenssl openssl
|
||||
++ lib.optionals withGnutls [
|
||||
gnutls
|
||||
libgcrypt
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
gtk2
|
||||
farstream
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin gtk2-x11;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
]
|
||||
++ (with perlPackages; [
|
||||
perl
|
||||
XMLParser
|
||||
])
|
||||
++ lib.optional stdenv.hostPlatform.isLinux gtk2
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin gtk2-x11;
|
||||
|
||||
patches = [
|
||||
./add-search-path.patch
|
||||
./pidgin-makefile.patch
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--with-nspr-includes=${nspr.dev}/include/nspr"
|
||||
"--with-nspr-libs=${nspr.out}/lib"
|
||||
"--with-nss-includes=${nss.dev}/include/nss"
|
||||
"--with-nss-libs=${nss.out}/lib"
|
||||
"--with-ncurses-headers=${ncurses.dev}/include"
|
||||
"--with-system-ssl-certs=${cacert}/etc/ssl/certs"
|
||||
"--disable-meanwhile"
|
||||
"--disable-nm"
|
||||
"--disable-tcl"
|
||||
"--disable-gevolution"
|
||||
"--disable-gtkspell"
|
||||
]
|
||||
++ lib.optionals withCyrus_sasl [ "--enable-cyrus-sasl=yes" ]
|
||||
++ lib.optionals withGnutls [
|
||||
"--enable-gnutls=yes"
|
||||
"--enable-nss=no"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ "--disable-vv" ]
|
||||
++ lib.optionals stdenv.cc.isClang [ "CFLAGS=-Wno-error=int-conversion" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/pidgin \
|
||||
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
||||
'';
|
||||
|
||||
doInstallCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||
# In particular, this detects missing python imports in some of the tools.
|
||||
postFixup =
|
||||
let
|
||||
# TODO: python is a script, so it doesn't work as interpreter on darwin
|
||||
binsToTest = lib.optionalString stdenv.hostPlatform.isLinux "purple-remote," + "pidgin,finch";
|
||||
in
|
||||
lib.optionalString doInstallCheck ''
|
||||
for f in "''${!outputBin}"/bin/{${binsToTest}}; do
|
||||
echo "Testing: $f --help"
|
||||
"$f" --help
|
||||
done
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
makePluginPath = lib.makeSearchPathOutput "lib" "lib/purple-${lib.versions.major version}";
|
||||
withPlugins =
|
||||
pluginfn:
|
||||
callPackage ./wrapper.nix {
|
||||
plugins = pluginfn pidginPackages;
|
||||
pidgin = unwrapped;
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Multi-protocol instant messaging client";
|
||||
mainProgram = "pidgin";
|
||||
homepage = "https://pidgin.im/";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ ];
|
||||
};
|
||||
};
|
||||
|
||||
in
|
||||
if plugins == [ ] then unwrapped else unwrapped.withPlugins (_: plugins)
|
||||
@@ -1,64 +0,0 @@
|
||||
diff --git a/pidgin/Makefile.am b/pidgin/Makefile.am
|
||||
index 84d927b..1467c19 100644
|
||||
--- a/pidgin/Makefile.am
|
||||
+++ b/pidgin/Makefile.am
|
||||
@@ -151,6 +151,7 @@ pidgin_LDADD = \
|
||||
$(GLIB_LIBS) \
|
||||
$(DBUS_LIBS) \
|
||||
$(GSTREAMER_LIBS) \
|
||||
+ $(GSTINTERFACES_LIBS) \
|
||||
$(GSTVIDEO_LIBS) \
|
||||
$(XSS_LIBS) \
|
||||
$(SM_LIBS) \
|
||||
@@ -171,6 +172,7 @@ AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GLIB_CFLAGS) \
|
||||
$(GSTREAMER_CFLAGS) \
|
||||
+ $(GSTINTERFACES_CFLAGS) \
|
||||
$(DEBUG_CFLAGS) \
|
||||
$(GTK_CFLAGS) \
|
||||
$(DBUS_CFLAGS) \
|
||||
diff --git a/pidgin/Makefile.in b/pidgin/Makefile.in
|
||||
index 0d51e25..dd5d879 100644
|
||||
--- a/pidgin/Makefile.in
|
||||
+++ b/pidgin/Makefile.in
|
||||
@@ -703,6 +703,7 @@ EXTRA_DIST = \
|
||||
@ENABLE_GTK_TRUE@ $(GLIB_LIBS) \
|
||||
@ENABLE_GTK_TRUE@ $(DBUS_LIBS) \
|
||||
@ENABLE_GTK_TRUE@ $(GSTREAMER_LIBS) \
|
||||
+@ENABLE_GTK_TRUE@ $(GSTINTERFACES_LIBS) \
|
||||
@ENABLE_GTK_TRUE@ $(GSTVIDEO_LIBS) \
|
||||
@ENABLE_GTK_TRUE@ $(XSS_LIBS) \
|
||||
@ENABLE_GTK_TRUE@ $(SM_LIBS) \
|
||||
@@ -723,6 +724,7 @@ EXTRA_DIST = \
|
||||
@ENABLE_GTK_TRUE@ -I$(top_srcdir) \
|
||||
@ENABLE_GTK_TRUE@ $(GLIB_CFLAGS) \
|
||||
@ENABLE_GTK_TRUE@ $(GSTREAMER_CFLAGS) \
|
||||
+@ENABLE_GTK_TRUE@ $(GSTINTERFACES_CFLAGS) \
|
||||
@ENABLE_GTK_TRUE@ $(DEBUG_CFLAGS) \
|
||||
@ENABLE_GTK_TRUE@ $(GTK_CFLAGS) \
|
||||
@ENABLE_GTK_TRUE@ $(DBUS_CFLAGS) \
|
||||
diff --git a/pidgin/plugins/Makefile.am b/pidgin/plugins/Makefile.am
|
||||
index 3bb8c22..6d1e869 100644
|
||||
--- a/pidgin/plugins/Makefile.am
|
||||
+++ b/pidgin/plugins/Makefile.am
|
||||
@@ -145,6 +145,7 @@ AM_CPPFLAGS = \
|
||||
$(GTK_CFLAGS) \
|
||||
$(UNITY_CFLAGS) \
|
||||
$(GSTREAMER_CFLAGS) \
|
||||
+ $(GSTINTERFACES_CFLAGS) \
|
||||
$(PLUGIN_CFLAGS)
|
||||
|
||||
#
|
||||
diff --git a/pidgin/plugins/Makefile.in b/pidgin/plugins/Makefile.in
|
||||
index 82a34aa..1f7db00 100644
|
||||
--- a/pidgin/plugins/Makefile.in
|
||||
+++ b/pidgin/plugins/Makefile.in
|
||||
@@ -781,6 +781,7 @@ AM_CPPFLAGS = \
|
||||
$(GTK_CFLAGS) \
|
||||
$(UNITY_CFLAGS) \
|
||||
$(GSTREAMER_CFLAGS) \
|
||||
+ $(GSTINTERFACES_CFLAGS) \
|
||||
$(PLUGIN_CFLAGS)
|
||||
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
libxml2,
|
||||
pidgin,
|
||||
pkg-config,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pidgin-carbons";
|
||||
version = "0.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gkdr";
|
||||
repo = "carbons";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-qiyIvmJbRmCrAi/93UxDVtO76nSdtzUVfT/sZGxxAh8=";
|
||||
};
|
||||
|
||||
makeFlags = [ "PURPLE_PLUGIN_DIR=$(out)/lib/pidgin" ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
libxml2
|
||||
pidgin
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/gkdr/carbons";
|
||||
description = "XEP-0280: Message Carbons plugin for libpurple";
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -1,65 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
newScope,
|
||||
pidgin,
|
||||
texliveBasic,
|
||||
config,
|
||||
}:
|
||||
|
||||
lib.makeScope newScope (
|
||||
self:
|
||||
let
|
||||
callPackage = self.callPackage;
|
||||
in
|
||||
{
|
||||
pidgin = callPackage ../. {
|
||||
withOpenssl = config.pidgin.openssl or true;
|
||||
withGnutls = config.pidgin.gnutls or false;
|
||||
plugins = [ ];
|
||||
};
|
||||
|
||||
pidginPackages = self;
|
||||
|
||||
pidgin-latex = callPackage ./pidgin-latex {
|
||||
texLive = texliveBasic;
|
||||
};
|
||||
|
||||
pidgin-carbons = callPackage ./carbons { };
|
||||
|
||||
pidgin-xmpp-receipts = callPackage ./pidgin-xmpp-receipts { };
|
||||
|
||||
pidgin-otr = callPackage ./otr { };
|
||||
|
||||
pidgin-osd = callPackage ./pidgin-osd { };
|
||||
|
||||
pidgin-sipe = callPackage ./sipe { };
|
||||
|
||||
pidgin-window-merge = callPackage ./window-merge { };
|
||||
|
||||
purple-discord = callPackage ./purple-discord { };
|
||||
|
||||
purple-googlechat = callPackage ./purple-googlechat { };
|
||||
|
||||
purple-lurch = callPackage ./purple-lurch { };
|
||||
|
||||
purple-mm-sms = callPackage ./purple-mm-sms { };
|
||||
|
||||
purple-plugin-pack = callPackage ./purple-plugin-pack { };
|
||||
|
||||
purple-slack = callPackage ./purple-slack { };
|
||||
|
||||
}
|
||||
// lib.optionalAttrs config.allowAliases {
|
||||
tdlib-purple = throw "'pidginPackages.tdlib-purple' has been removed due to being broken for more than a year; see RFC 180"; # Added 2026-02-05
|
||||
pidgin-indicator = throw "'pidginPackages.pidgin-indicator' has been removed as it depended on libappindicator-gtk2, which was removed for depending on the deprecated GTK 2 engine."; # Added 2026-08-10
|
||||
purple-matrix = throw "'pidginPackages.purple-matrix' has been unmaintained since April 2022, so it was removed.";
|
||||
pidgin-skypeweb = throw "'pidginPackages.pidgin-skypeweb' has been removed since Skype was shut down in May 2025.";
|
||||
purple-hangouts = throw "'pidginPackages.purple-hangouts' has been removed as Hangouts Classic is obsolete and migrated to Google Chat.";
|
||||
pidgin-msn-pecan = throw "'pidginPackages.pidgin-msn-pecan' has been removed as it's unmaintained upstream and doesn't work with escargot";
|
||||
pidgin-mra = throw "'pidginPackages.pidgin-mra' has been removed since mail.ru agent service has stopped functioning in 2024.";
|
||||
purple-facebook = throw "'pidginPackages.purple-facebook' has been removed as it is unmaintained and doesn't support e2ee enforced by facebook.";
|
||||
pidgin-opensteamworks = throw "'pidginPackages.pidgin-opensteamworks' has been removed as it is unmaintained and no longer works with Steam.";
|
||||
purple-vk-plugin = throw "'pidginPackages.purple-vk-plugin' has been removed as upstream repository was deleted and no active forks are found.";
|
||||
purple-xmpp-http-upload = throw "'pidginPackages.purple-xmpp-http-upload' has been removed because it is no longer maintained upstream."; # Added 2026-09-02
|
||||
}
|
||||
)
|
||||
@@ -1,33 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
libotr,
|
||||
pidgin,
|
||||
intltool,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pidgin-otr";
|
||||
version = "4.0.2";
|
||||
src = fetchurl {
|
||||
url = "https://otr.cypherpunks.ca/pidgin-otr-${version}.tar.gz";
|
||||
sha256 = "1i5s9rrgbyss9rszq6c6y53hwqyw1k86s40cpsfx5ccl9bprxdgl";
|
||||
};
|
||||
|
||||
postInstall = "ln -s \$out/lib/pidgin \$out/share/pidgin-otr";
|
||||
|
||||
nativeBuildInputs = [ intltool ];
|
||||
buildInputs = [
|
||||
libotr
|
||||
pidgin
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://otr.cypherpunks.ca/";
|
||||
description = "Plugin for Pidgin 2.x which implements OTR Messaging";
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -1,53 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
pidgin,
|
||||
texLive,
|
||||
imagemagick,
|
||||
glib,
|
||||
gtk2,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.5.0";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "pidgin-latex";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/pidgin-latex/pidgin-latex_${version}.tar.bz2";
|
||||
sha256 = "9c850aee90d7e59de834f83e09fa6e3e51b123f06e265ead70957608ada95441";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
gtk2
|
||||
glib
|
||||
pidgin
|
||||
];
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
postPatch = ''
|
||||
sed -e 's/-Wl,-soname//' -i Makefile
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
wrapArgs = "--prefix PATH ':' ${
|
||||
lib.makeBinPath [
|
||||
texLive
|
||||
imagemagick
|
||||
]
|
||||
}";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://sourceforge.net/projects/pidgin-latex/";
|
||||
description = "LaTeX rendering plugin for Pidgin IM";
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
pidgin,
|
||||
xosd,
|
||||
autoreconfHook,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pidgin-osd";
|
||||
version = "0.2.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "edanaher";
|
||||
repo = "pidgin-osd";
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "07wa9anz99hnv6kffpcph3fbq8mjbyq17ij977ggwgw37zb9fzb5";
|
||||
};
|
||||
|
||||
# autoreconf is run such that it *really* wants all the files, and there's no
|
||||
# default ChangeLog. So make it happy.
|
||||
preAutoreconf = "touch ChangeLog";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/lib/pidgin
|
||||
mv $out/lib/pidgin-osd.{la,so} $out/lib/pidgin
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [
|
||||
xosd
|
||||
pidgin
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/mbroemme/pidgin-osd";
|
||||
description = "Plugin for Pidgin which implements on-screen display via libxosd";
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
pidgin,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.8";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "pidgin-xmpp-receipts";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "noonien-d";
|
||||
repo = "pidgin-xmpp-receipts";
|
||||
rev = "release_${version}";
|
||||
sha256 = "13kwaymzkymjsdv8q95byd173i4vanj211vgx9cm0y8ag2r3cjsb";
|
||||
};
|
||||
|
||||
buildInputs = [ pidgin ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/pidgin/
|
||||
cp xmpp-receipts.so $out/lib/pidgin/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://devel.kondorgulasch.de/pidgin-xmpp-receipts/";
|
||||
description = "Message delivery receipts (XEP-0184) Pidgin plugin";
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
imagemagick,
|
||||
gettext,
|
||||
pidgin,
|
||||
json-glib,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "purple-discord";
|
||||
version = "unstable-2021-10-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "EionRobb";
|
||||
repo = "purple-discord";
|
||||
rev = "b7ac72399218d2ce011ac84bb171b572560aa2d2";
|
||||
sha256 = "0xvj9rdvgsvcr55sk9m40y07rchg699l1yr98xqwx7sc2sba3814";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
imagemagick
|
||||
gettext
|
||||
];
|
||||
buildInputs = [
|
||||
pidgin
|
||||
json-glib
|
||||
];
|
||||
|
||||
env = {
|
||||
PKG_CONFIG_PURPLE_PLUGINDIR = "${placeholder "out"}/lib/purple-2";
|
||||
PKG_CONFIG_PURPLE_DATADIR = "${placeholder "out"}/share";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/EionRobb/purple-discord";
|
||||
description = "Discord plugin for Pidgin";
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ sna ];
|
||||
};
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
pidgin,
|
||||
glib,
|
||||
json-glib,
|
||||
protobuf,
|
||||
protobufc,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "purple-googlechat";
|
||||
version = "unstable-2021-10-18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "EionRobb";
|
||||
repo = "purple-googlechat";
|
||||
rev = "56ba7f79883eca67d37629d365776f6c0b40abdc";
|
||||
sha256 = "sha256-iTYVgYI9+6rqqBl5goeEAXpK8FgHDv0MmPsV/82reWA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ protobufc ];
|
||||
buildInputs = [
|
||||
pidgin
|
||||
glib
|
||||
json-glib
|
||||
protobuf
|
||||
];
|
||||
|
||||
env = {
|
||||
PKG_CONFIG_PURPLE_PLUGINDIR = "${placeholder "out"}/lib/purple-2";
|
||||
PKG_CONFIG_PURPLE_DATADIR = "${placeholder "out"}/share";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/EionRobb/purple-googlechat";
|
||||
description = "Native Google Chat support for pidgin";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
pidgin,
|
||||
minixml,
|
||||
libxml2,
|
||||
sqlite,
|
||||
libgcrypt,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "purple-lurch";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gkdr";
|
||||
repo = "lurch";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-yyzotKL1Z4B2BxloJndJKemONMPLG9pVDVe2K5AL05g=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace lib/axc/lib/libsignal-protocol-c/CMakeLists.txt \
|
||||
--replace-fail "cmake_minimum_required(VERSION 2.8.4)" "cmake_minimum_required(VERSION 3.10)"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [
|
||||
pidgin
|
||||
minixml
|
||||
libxml2
|
||||
sqlite
|
||||
libgcrypt
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 -t $out/lib/purple-2 build/lurch.so
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/gkdr/lurch";
|
||||
description = "XEP-0384: OMEMO Encryption for libpurple";
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ emmanuelrosa ];
|
||||
};
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
glibmm_2_4,
|
||||
pidgin,
|
||||
pkg-config,
|
||||
modemmanager,
|
||||
fetchFromGitLab,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "purple-mm-sms";
|
||||
version = "0.1.7";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "source.puri.sm";
|
||||
owner = "Librem5";
|
||||
repo = "purple-mm-sms";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-WSr55XOSvb+fqH4E27gVbNLROtzCLKyjiRWW8aJ8JyQ=";
|
||||
};
|
||||
|
||||
makeFlags = [
|
||||
"DATA_ROOT_DIR_PURPLE=$(out)/share"
|
||||
"PLUGIN_DIR_PURPLE=$(out)/lib/purple-2"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
glibmm_2_4
|
||||
pidgin
|
||||
modemmanager
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://source.puri.sm/Librem5/purple-mm-sms";
|
||||
description = "Libpurple plugin for sending and receiving SMS via Modemmanager";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
meson,
|
||||
ninja,
|
||||
pidgin,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "purple-plugin-pack";
|
||||
version = "2.8.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/pidgin/purple-plugin-pack-2.8.0.tar.xz";
|
||||
hash = "sha256-gszemnJRp1t+A6P5qSkBTY4AjBtvRuWGOPX0dto+JC0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace meson.build \
|
||||
--replace "PURPLE.get_pkgconfig_variable('plugindir')" "'$out/lib/purple-2'" \
|
||||
--replace "PURPLE.get_pkgconfig_variable('datadir')" "'$out/share'" \
|
||||
--replace "PIDGIN.get_pkgconfig_variable('plugindir')" "'$out/lib/pidgin'" \
|
||||
--replace "PIDGIN.get_pkgconfig_variable('datadir')" "'$out/share'"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
pidgin
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://keep.imfreedom.org/pidgin/purple-plugin-pack";
|
||||
description = "Collection of plugins for purple-based clients such as Pidgin";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ bdimcheff ];
|
||||
};
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
pidgin,
|
||||
pkg-config,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "purple-slack-unstable";
|
||||
version = "2020-09-22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dylex";
|
||||
repo = "slack-libpurple";
|
||||
rev = "2e9fa028224b02e29473b1b998fc1e5f487e79ec";
|
||||
sha256 = "1sksqshiwldd32k8jmiflp2pcax31ym6rypr4qa4v5vdn907g80m";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ pidgin ];
|
||||
|
||||
env = {
|
||||
PKG_CONFIG_PURPLE_PLUGINDIR = "${placeholder "out"}/lib/purple-2";
|
||||
PKG_CONFIG_PURPLE_DATAROOTDIR = "${placeholder "out"}/share";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/dylex/slack-libpurple";
|
||||
description = "Slack plugin for Pidgin";
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ eyjhb ];
|
||||
};
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
diff --git a/src/core/sipe-xml.c b/src/core/sipe-xml.c
|
||||
index cfc5311..c38f6e8 100644
|
||||
--- a/src/core/sipe-xml.c
|
||||
+++ b/src/core/sipe-xml.c
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <time.h>
|
||||
|
||||
#include "libxml/parser.h"
|
||||
+#include "libxml/xmlerror.h"
|
||||
#include "libxml/c14n.h"
|
||||
#include "libxml/xmlversion.h"
|
||||
|
||||
@@ -154,7 +155,7 @@ static void callback_error(void *user_data, const char *msg, ...)
|
||||
g_free(errmsg);
|
||||
}
|
||||
|
||||
-static void callback_serror(void *user_data, xmlErrorPtr error)
|
||||
+static void callback_serror(void *user_data, const xmlError *error)
|
||||
{
|
||||
struct _parser_data *pd = user_data;
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
pidgin,
|
||||
intltool,
|
||||
libxml2,
|
||||
gmime,
|
||||
nss,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pidgin-sipe";
|
||||
version = "1.25.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/sipe/${pname}-${version}.tar.gz";
|
||||
sha256 = "0262sz00iqxylx0xfyr48xikhiqzr8pg7b4b7vwj5iv4qxpxv939";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# add sipe_utils_memdup() function
|
||||
(fetchpatch {
|
||||
url = "https://repo.or.cz/siplcs.git/patch/567d0ddc0692adfef5f15d0d383825a9b2ea4b49";
|
||||
sha256 = "24L8ZfoOGc3JoTCGxuTNjuHzt5QgFDu1+vSoJpGvde4=";
|
||||
})
|
||||
# replace g_memdup() with sipe_utils_memdup()
|
||||
# g_memdup is deprecatein newer Glib
|
||||
(fetchpatch {
|
||||
url = "https://repo.or.cz/siplcs.git/patch/583a734e63833f03d11798b7b0d59a17d08ae60f";
|
||||
sha256 = "Ai6Czpy/FYvBi4GZR7yzch6OcouJgfreI9HcojhGVV4=";
|
||||
})
|
||||
./0001-fix-libxml-error-signature.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ intltool ];
|
||||
buildInputs = [
|
||||
pidgin
|
||||
gmime
|
||||
libxml2
|
||||
nss
|
||||
];
|
||||
configureFlags = [
|
||||
"--without-dbus"
|
||||
"--enable-quality-check=no"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postInstall = "ln -s \$out/lib/purple-2 \$out/share/pidgin-sipe";
|
||||
|
||||
meta = {
|
||||
description = "SIPE plugin for Pidgin IM";
|
||||
homepage = "http://sipe.sourceforge.net/";
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pidgin,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pidgin-window-merge";
|
||||
version = "0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/downloads/dm0-/window_merge/window_merge-${version}.tar.gz";
|
||||
sha256 = "0cb5rvi7jqvm345g9mlm4wpq0240kcybv81jpw5wlx7hz0lwi478";
|
||||
};
|
||||
|
||||
buildInputs = [ pidgin ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/dm0-/window_merge";
|
||||
description = "Pidgin plugin that merges the Buddy List window with a conversation window";
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
symlinkJoin,
|
||||
pidgin,
|
||||
makeWrapper,
|
||||
plugins,
|
||||
}:
|
||||
|
||||
let
|
||||
extraArgs = map (x: x.wrapArgs or "") plugins;
|
||||
in
|
||||
symlinkJoin {
|
||||
name = "pidgin-with-plugins-${pidgin.version}";
|
||||
|
||||
paths = [ pidgin ] ++ plugins;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/pidgin \
|
||||
--suffix-each PURPLE_PLUGIN_PATH ':' "$out/lib/purple-${lib.versions.major pidgin.version} $out/lib/pidgin" \
|
||||
${toString extraArgs}
|
||||
wrapProgram $out/bin/finch \
|
||||
--suffix-each PURPLE_PLUGIN_PATH ':' "$out/lib/purple-${lib.versions.major pidgin.version}" \
|
||||
${toString extraArgs}
|
||||
'';
|
||||
}
|
||||
@@ -2125,6 +2125,7 @@ mapAliases {
|
||||
php82Packages = throw "php82 is EOL"; # Added 2026-10-18
|
||||
pianotrans = throw "'pianotrans' has been removed because its dependency 'piano-transcription-inference' was unmaintained"; # Added 2026-08-13
|
||||
picom-next = throw "'picom-next' has been renamed to/replaced by 'picom'"; # Converted to throw 2025-10-27
|
||||
pidgin = throw "'pidgin' has been removed, as it relies on gtk2 libraries"; # Added 2026-10-24
|
||||
pidgin-carbons = throw "'pidgin-carbons' has been renamed to/replaced by 'pidginPackages.pidgin-carbons'"; # Converted to throw 2025-10-27
|
||||
pidgin-indicator = throw "'pidgin-indicator' has been renamed to/replaced by 'pidginPackages.pidgin-indicator'"; # Converted to throw 2025-10-27
|
||||
pidgin-latex = throw "'pidgin-latex' has been renamed to/replaced by 'pidginPackages.pidgin-latex'"; # Converted to throw 2025-10-27
|
||||
@@ -2137,6 +2138,7 @@ mapAliases {
|
||||
pidgin-skypeweb = throw "'pidgin-skypeweb' has been removed since Skype was shut down in May 2025"; # Added 2025-09-15
|
||||
pidgin-window-merge = throw "'pidgin-window-merge' has been renamed to/replaced by 'pidginPackages.pidgin-window-merge'"; # Converted to throw 2025-10-27
|
||||
pidgin-xmpp-receipts = throw "'pidgin-xmpp-receipts' has been renamed to/replaced by 'pidginPackages.pidgin-xmpp-receipts'"; # Converted to throw 2025-10-27
|
||||
pidginPackages = throw "'pidginPackages' has been removed, as Pidgin 2 has been removed"; # Added 2026-10-24
|
||||
pilipalax = throw "'pilipalax' has been removed from nixpkgs due to it not being maintained"; # Added 2025-07-25
|
||||
pinecone = throw "'pinecone' has been removed, as it is unmaintained and obsolete"; # Added 2026-03-31
|
||||
pinentry = throw "'pinentry' has been removed. Pick an appropriate variant like 'pinentry-curses' or 'pinentry-gnome3'"; # Converted to throw 2025-10-26
|
||||
|
||||
@@ -8683,12 +8683,6 @@ with pkgs;
|
||||
|
||||
pianoteq = callPackage ../applications/audio/pianoteq { };
|
||||
|
||||
pidginPackages = recurseIntoAttrs (
|
||||
callPackage ../applications/networking/instant-messengers/pidgin/pidgin-plugins { }
|
||||
);
|
||||
|
||||
inherit (pidginPackages) pidgin;
|
||||
|
||||
puredata-with-plugins =
|
||||
plugins: callPackage ../by-name/pu/puredata/wrapper.nix { inherit plugins; };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user