This creates our pkg-config files on windows as well as fixes an include in
pidgin.h which can cause some issues.
This isn't usable as is, as you need a machine-file and a pkg-config wrapper
to make this all work, but that will be updated in the win32-dev.7z file thats
on data.imfreedom.org.
Testing Done:
Compiled guifications2 (which now uses meson) on windows and verified it works.
Reviewed at https://reviews.imfreedom.org/r/615/
/**
* @file gtkconv.c GTK+ Conversation API
* @ingroup pidgin
*/
/* 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
*
*/
#define _PIDGIN_GTKCONV_C_
#include"internal.h"
#include"pidgin.h"
#ifdef USE_GTKSPELL
#include<gtkspell/gtkspell.h>
# ifdef _WIN32
#include"wspell.h"
# endif
#endif
#include<gdk/gdkkeysyms.h>
#include"account.h"
#include"cmds.h"
#include"core.h"
#include"debug.h"
#include"glibcompat.h"
#include"idle.h"
#include"imgstore.h"
#include"log.h"
#include"notify.h"
#include"prpl.h"
#include"request.h"
#include"util.h"
#include"version.h"
#include"gtkdnd-hints.h"
#include"gtkblist.h"
#include"gtkconv.h"
#include"gtkconvwin.h"
#include"gtkdialogs.h"
#include"gtkimhtml.h"
#include"gtkimhtmltoolbar.h"
#include"gtklog.h"
#include"gtkmenutray.h"
#include"gtkpounce.h"
#include"gtkprefs.h"
#include"gtkprivacy.h"
#include"gtkstyle.h"
#include"gtkthemes.h"
#include"gtkutils.h"
#include"pidginstock.h"
#include"pidgintooltip.h"
#include"gtknickcolors.h"
#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_SMILEY_THEME=1<<5,
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
/* Undef this to turn off "custom-smiley" debug messages */