* Remove checks for old Meson
We require 0.56.0 now.
* Remove deprecated Meson call
* Update calls to `pkgconfig.generate`
The library to wrap should be passed as first positional argument, and we can
pass actual dependencies as the runtime requirements. We can't pass things that
might be subprojects as dependencies, which may be a Meson bug, so pass those
ones as strings.
Testing Done:
Re-configured and looked at the pkgconfig files.
Reviewed at https://reviews.imfreedom.org/r/1064/
/*
* pidgin
*
* Pidgin is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*
*/
#ifdef HAVE_CONFIG_H
#include<config.h>
#endif
#include<errno.h>
#include<glib/gi18n-lib.h>
#include<glib/gstdio.h>
#include<locale.h>
#include<purple.h>
#include"gtkaccount.h"
#include"gtkblist.h"
#include"gtkconn.h"
#include"gtkxfer.h"
#include"gtkidle.h"
#include"gtkmedia.h"
#include"gtknotify.h"
#include"gtkprivacy.h"
#include"gtkrequest.h"
#include"gtkroomlist.h"
#include"gtksavedstatuses.h"
#include"gtkutils.h"
#include"gtkwhiteboard.h"
#include"pidginapplication.h"
#include"pidgincore.h"
#include"pidgindebug.h"
#include"pidginplugininfo.h"
#include"pidginprefs.h"
#include"pidginprivate.h"
#include"pidginstock.h"
#ifndef _WIN32
#include<signal.h>
#endif
#ifndef _WIN32
/*
* Lists of signals we wish to catch and those we wish to ignore.
* Each list terminated with -1
*/
staticconstintcatch_sig_list[]={
SIGSEGV,
SIGINT,
SIGTERM,
SIGQUIT,
SIGCHLD,
-1
};
staticconstintignore_sig_list[]={
SIGPIPE,
-1
};
#endif /* !_WIN32 */
#ifndef _WIN32
staticchar*segfault_message;
staticguintsignal_channel_watcher;
staticintsignal_sockets[2];
staticvoidsighandler(intsig);
staticvoidsighandler(intsig)
{
ssize_twritten;
/*
* We won't do any of the heavy lifting for the signal handling here
* because we have no idea what was interrupted. Previously this signal
* handler could result in some calls to malloc/free, which can cause
* deadlock in libc when the signal handler was interrupting a previous
* malloc or free. So instead we'll do an ugly hack where we write the
* signal number to one end of a socket pair. The other half of the
* socket pair is watched by our main loop. When the main loop sees new
* data on the socket it reads in the signal and performs the appropriate