* 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<glib/gi18n-lib.h>
#include<glib/gstdio.h>
#include<gplugin.h>
#define BUF_LONG (4096)
#ifdef HAVE_X11
#include<X11/Xlib.h>
#endif
#include<gdk/gdkkeysyms.h>
#include<talkatu.h>
#include<purple.h>
#include<math.h>
#include"gtkdnd-hints.h"
#include"gtkblist.h"
#include"gtkconv.h"
#include"gtkconvwin.h"
#include"gtkdialogs.h"
#include"gtkprivacy.h"
#include"gtkutils.h"
#include"pidginavatar.h"
#include"pidginclosebutton.h"
#include"pidgincolor.h"
#include"pidginconversationwindow.h"
#include"pidgincore.h"
#include"pidgingdkpixbuf.h"
#include"pidgininfopane.h"
#include"pidgininvitedialog.h"
#include"pidginmenutray.h"
#include"pidginmessage.h"
#include"pidginpresenceicon.h"
#include"pidginstock.h"
#include"pidginstylecontext.h"
#define ADD_MESSAGE_HISTORY_AT_ONCE 100
/*
* A GTK Instant Message pane.
*/
struct_PidginImPane
{
GtkWidget*block;
GtkWidget*send_file;
GtkWidget*sep1;
GtkWidget*sep2;
GtkWidget*check;
GtkWidget*progress;
guint32typing_timer;
GtkWidget*avatar;
};
/*
* GTK Chat panes.
*/
struct_PidginChatPane
{
GtkWidget*count;
GtkWidget*list;
GtkWidget*topic_text;
};
#define CLOSE_CONV_TIMEOUT_SECS (10 * 60)
#define AUTO_RESPONSE "<AUTO-REPLY> : "
typedefenum
{
PIDGIN_CONV_SET_TITLE=1<<0,
PIDGIN_CONV_BUDDY_ICON=1<<1,
PIDGIN_CONV_MENU=1<<2,
PIDGIN_CONV_TAB_ICON=1<<3,
PIDGIN_CONV_TOPIC=1<<4,
PIDGIN_CONV_COLORIZE_TITLE=1<<6,
}PidginConvFields;
enum{
CONV_ICON_COLUMN,
CONV_TEXT_COLUMN,
CONV_EMBLEM_COLUMN,
CONV_PROTOCOL_ICON_COLUMN,
CONV_NUM_COLUMNS
}PidginInfopaneColumns;
#define PIDGIN_CONV_ALL ((1 << 7) - 1)
/* XXX: These color defines shouldn't really be here. But the nick-color
* generation algorithm uses them, so keeping these around until we fix that. */
#define DEFAULT_SEND_COLOR "#204a87"
#define DEFAULT_HIGHLIGHT_COLOR "#AF7F00"
#define BUDDYICON_SIZE_MIN 32
#define BUDDYICON_SIZE_MAX 96
/* These probably won't conflict with any WebKit values. */