From: Tobias Geerinckx-Rice Date: Sun, 24 May 2020 16:11:01 +0200 Subject: [PATCH] gnu: pidgin: Find libnm. Copied verbatim from[0]. [0]: https://git.archlinux.org/svntogit/packages.git/plain/trunk/pidgin-nm-1.0.patch?h=packages/pidgin diff --git a/configure.ac b/configure.ac index 04836fa..0a2d451 100644 --- a/configure.ac +++ b/configure.ac @@ -1423,18 +1423,24 @@ fi dnl Check for NetworkManager.h; if we don't have it, oh well if test "x$enable_dbus" = "xyes" ; then if test "x$enable_nm" = "xyes" ; then - PKG_CHECK_MODULES(NETWORKMANAGER, [NetworkManager >= 0.5.0], [ + PKG_CHECK_MODULES(NETWORKMANAGER, [libnm], [ AC_SUBST(NETWORKMANAGER_CFLAGS) AC_SUBST(NETWORKMANAGER_LIBS) AC_DEFINE(HAVE_NETWORKMANAGER, 1, [Define if we have NetworkManager.]) ], [ - enable_nm=no - if test "x$force_deps" = "xyes" ; then - AC_MSG_ERROR([ + PKG_CHECK_MODULES(NETWORKMANAGER, [NetworkManager >= 0.5.0], [ + AC_SUBST(NETWORKMANAGER_CFLAGS) + AC_SUBST(NETWORKMANAGER_LIBS) + AC_DEFINE(HAVE_NETWORKMANAGER, 1, [Define if we have NetworkManager.]) + ], [ + enable_nm=no + if test "x$force_deps" = "xyes" ; then + AC_MSG_ERROR([ NetworkManager development headers not found. Use --disable-nm if you do not need NetworkManager support. ]) - fi]) + fi]) + ]) fi else enable_nm=no diff --git a/libpurple/network.c b/libpurple/network.c index c43e3c7..b17e439 100644 --- a/libpurple/network.c +++ b/libpurple/network.c @@ -939,8 +939,13 @@ nm_update_state(NMState state) #if NM_CHECK_VERSION(0,8,992) case NM_STATE_DISCONNECTING: #endif +#if NM_CHECK_VERSION(1,0,0) + if (prev != NM_STATE_CONNECTED_GLOBAL && prev != NM_STATE_UNKNOWN) + break; +#else if (prev != NM_STATE_CONNECTED && prev != NM_STATE_UNKNOWN) break; +#endif if (ui_ops != NULL && ui_ops->network_disconnected != NULL) ui_ops->network_disconnected(); break; th: root/NEWS
AgeCommit message (Expand)Author
2021-07-07guix-install.sh: Prompt for configuring substitutes discovery....Also ensure prompt_yes_no always print the message with a trailing space, which is more pleasing to the eye. * etc/guix-daemon.conf.in <--discover=no>: New guix-daemon option. * etc/guix-daemon.service.in: Likewise. * etc/init.d/guix-daemon.in: Likewise. * etc/openrc/guix-daemon.in: Likewise. * etc/guix-install.sh (configure_substitute_discovery): New procedure. (sys_enable_guix_daemon): Ask the user whether automatic substitute discovery should be enabled. Set the '--discover' argument accordingly. (prompt_yes_no): Add a trailing space to the message. (sys_authorize_build_farms): Remove trailing space from the message argument. * NEWS (Distribution): Add news. Maxim Cournoyer
2021-06-29pack: Add support for the deb format....* .dir-locals.el (scheme-mode)[gexp->derivation]: Define indentation rule. * guix/scripts/pack.scm (debian-archive): New procedure. (%formats): Register the new deb format. (show-formats): Add it to the usage string. * tests/pack.scm (%ar-bootstrap): New variable. (deb archive with symlinks): New test. * doc/guix.texi (Invoking guix pack): Document it. * NEWS: Add news entry. Maxim Cournoyer
2021-05-10Update NEWS.Maxim Cournoyer
2021-05-10Update NEWS.Leo Famulari
2021-05-10Update NEWS.Ludovic Courtès
2021-05-04Update NEWS.Ludovic Courtès
2020-11-22Update NEWS.Ludovic Courtès
2020-11-13Update NEWS.Ludovic Courtès
2020-11-09Update NEWS.Ludovic Courtès
2020-11-07Update NEWS.Mathieu Othacehe
2020-11-07Update NEWS.Ludovic Courtès
2020-11-05Update NEWS.Ludovic Courtès
2020-04-15Update NEWS.Ludovic Courtès
2020-04-12Update NEWS.Ludovic Courtès
2020-04-09Update NEWS.Ludovic Courtès
2019-05-17Update NEWS.Ludovic Courtès
2019-05-16Update NEWS.Ludovic Courtès
2019-05-01Update NEWS.Ludovic Courtès
2019-04-29Update NEWS.Ludovic Courtès
2019-04-28Update NEWS.Ludovic Courtès