Initial purple of autotools and the mingw stuff
--- a/.hgignore Tue Sep 26 02:41:52 2017 +0000
+++ b/.hgignore Fri Oct 20 00:23:13 2017 -0500
@@ -9,24 +9,15 @@
-.*/?Makefile\.am\.mingw$
@@ -35,20 +26,7 @@
@@ -64,9 +42,6 @@
doc/reference/.*/version.xml
libpurple/dbus-bindings.c
libpurple/dbus-types.[ch]
@@ -85,17 +60,7 @@
^libpurple/tests/test-suite\.log$
libpurple/win32/libpurplerc.rc$
@@ -105,7 +70,6 @@
pidgin/.*\.gresource\.[ch]$
pidgin/data/im.pidgin.Pidgin.appdata.xml$
@@ -137,7 +101,6 @@
win32-install-dir(\.release)?
share/ca-certs/cacert.pem
share/ca-certs/certdata.txt
--- a/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,142 +0,0 @@
- m4macros/introspection.m4 \
-noinst_HEADERS = config.h package_revision.h
-dist-pre-hook: package_revision.h
- $(AM_V_at)echo "error: gtk-doc must be installed and enabled in order to make dist"
- $(AM_V_at)echo "re-run ./configure with --enable-gtk-doc switch and try again"
- $(AM_V_at)if [ ! -f "$(top_builddir)libpurple/libpurple.la" ]; then \
- $(MAKE) -C libpurple libpurple.la; \
- $(AM_V_at)if [ ! -f "$(top_builddir)libpurple/protocols/facebook/libfacebook.la" ]; then \
- $(MAKE) -C libpurple/protocols/facebook libfacebook.la; \
- $(AM_V_at)if [ ! -f "$(top_builddir)finch/libgnt/libgnt.la" ]; then \
- $(MAKE) -C finch/libgnt libgnt.la; \
- $(AM_V_at)if [ ! -f "$(top_builddir)finch/libfinch.la" ]; then \
- $(MAKE) -C finch libfinch.la; \
- $(AM_V_at)if [ ! -f "$(top_builddir)pidgin/libpidgin.la" ]; then \
- $(MAKE) -C pidgin libpidgin.la; \
- (cd po ; intltool-update -m 2>&1 | grep -v '^mismatched quotes.*\.py$$' | sed "s|current directory|po directory|" | grep . ; if [ $$? = 0 ] ; then exit 1 ; else exit 0 ; fi)
-# Ensure these files are sorted and contain no duplicates:
- LC_ALL=C sort -c -t/ -u po/POTFILES.in
- LC_ALL=C sort -c -t/ -u po/POTFILES.skip
-# Ensure COPYRIGHT is 100% UTF-8
- iconv -f utf8 -t utf8 COPYRIGHT | cmp COPYRIGHT -
-# Ensure our version string does not contain "dev"
- test x`echo $(PACKAGE_VERSION) | grep dev` = x
-# Ensure ChangeLogs have the correct version
- head ChangeLog | grep "^version $(PACKAGE_VERSION) (.*):$$" >/dev/null
- head ChangeLog.API | grep "^version $(PACKAGE_VERSION):$$" >/dev/null
-# Ensure we're working from a tag...
- test x`hg log -r "tag($(PACKAGE_VERSION))" --template "{node}"` = x`hg log -r . -T '{node}'`
-# ... and have no changes in the working copy.
- test "x`hg st -mard`" = x
- gpg -ab pidgin-$(PACKAGE_VERSION).tar.gz
- gpg -ab pidgin-$(PACKAGE_VERSION).tar.bz2
- gpg --verify pidgin-$(PACKAGE_VERSION).tar.gz.asc pidgin-$(PACKAGE_VERSION).tar.gz
- gpg --verify pidgin-$(PACKAGE_VERSION).tar.bz2.asc pidgin-$(PACKAGE_VERSION).tar.bz2
-release: commit-check version-check distcheck sign-packages
-# We always try to rebuild all objects that depends on this dummy target.
-# if both attempts fail, then we need to remove the empty file that >
-# creates, and also make sure that the shell command exits
-# successfully; the rm -f ensures both
-package_revision_raw.txt: .FORCE
- $(AM_V_GEN)REAL_BLDDIR=$$PWD/$(top_builddir); \
- (hg --cwd $(srcdir) log -r . -T {node}) 2>/dev/null >$@.new \
- $(AM_V_at)if test -f $@.new; then \
- if ! test -f "$@" || ! diff "$@" "$@".new > /dev/null ; then \
-package_revision.h: package_revision_raw.txt
- $(AM_V_GEN)if test -f $<; then \
- echo "#define REVISION \"`cat $<`\"" > $@; \
- $(AM_V_at)if test ! -f $@ -a -f $(srcdir)/$@; then \
- $(AM_V_at)test -f $@ || echo "#define REVISION \"unknown\"" > $@
-# This is a magic directive copy-and-pasted, then modified, from the
-# automake 1.9 manual, section 13.4, "Checking the distribution".
-# Normally, 'distcheck' does a clean build, and then afterwards runs
-# 'distclean', and 'distclean' is supposed to remove everything that
-# the build created. However, we have some targets (package_revision.txt)
-# that we distribute, but then always attempt to rebuild optimistically, and
-# then if that fails fall back on the distributed versions. This
-# means that 'distclean' should _not_ remove those files, since they
-# are distributed, yet building the package will generate those files,
-# thus automake thinks that 'distclean' _should_ remove those files,
-# and 'distcheck' gets cranky if we don't. So basically what this
-# line does is tell 'distcheck' to shut up and ignore those two files.
-distcleancheck_listfiles = find . -type f -a ! -name package_revision.h
-AM_DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
-SUBDIRS = . m4macros libpurple $(GNT_DIR) $(GTK_DIR) $(PO_DIR) share/ca-certs share/sounds doc
-DISTCLEANFILES= intltool-extract intltool-merge intltool-update \
- package_revision_raw.txt
--- a/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,191 +0,0 @@
-# Author: hermanator12002@yahoo.com
-# Description: Top Makefile for win32 (mingw) port of Pidgin and libpurple
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-# Generate a X.X.X.X version for the installer file versioning header
-# The last digit will be 99 for a final release, 0 for dev or unknown, or the beta number
-PIDGIN_PRODUCT_VERSION = $(shell \
- if (int($$3) == $$3) { \
- sub(int($$3), "", $$5); \
- if (sub("beta", "", $$5) > 0) { \
- printf("%s.%s.%s.%s", $$1, $$2, int($$3), $$4); \
-GTK_INSTALL_VERSION = 2.24.18.0
-authenticode_sign = $(SIGNTOOL) sign \
- /f "$(SIGNTOOL_PFX)" /p "$(SIGNTOOL_PASSWORD)" \
- /d $(2) /du "https://pidgin.im" \
- /tr "http://timestamp.comodoca.com/rfc3161" /td SHA256 \
-authenticode_sign = $(MONO_SIGNCODE) \
- -spc "$(SIGNCODE_SPC)" -v "$(SIGNCODE_PVK)" \
- -a sha1 -$$ commercial \
- -n "$(2)" -i "https://pidgin.im" \
- -t "http://timestamp.verisign.com/scripts/timstamp.dll" -tr 10 \
-gpg_sign = $(GPG_SIGN) -ab $(1) && $(GPG_SIGN) --verify $(1).asc
-STRIPPED_RELEASE_DIR = $(PIDGIN_TREE_TOP)/pidgin-$(PIDGIN_VERSION)-win32bin
-DEBUG_SYMBOLS_DIR = $(PIDGIN_TREE_TOP)/pidgin-$(PIDGIN_VERSION)-dbgsym
-PIDGIN_INST_DEP_DIR="$(WIN32_DEV_TOP)/pidgin-inst-deps-20130214"
-# Any *.dll or *.exe files included in win32-install-dir that we don't compile
-# should be included in this list so they don't get stripped
-#build an expression for `find` to use to ignore the above files
-EXTERNAL_DLLS_FIND_EXP = $(patsubst %,-o -name %,$(EXTERNAL_DLLS))
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install installer installer_offline installer_zip debug_symbols_zip installers clean uninstall create_release_install_dir generate_installer_includes $(PIDGIN_REVISION_H) $(PIDGIN_REVISION_RAW_TXT) gtk_runtime_zip
-all: $(PIDGIN_CONFIG_H) $(PIDGIN_REVISION_H)
- $(MAKE_at) $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE)
- $(MAKE_at) $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE)
- $(MAKE_at) $(MAKE) -C $(PURPLE_PO_TOP) -f $(MINGW_MAKEFILE)
-install: all $(PIDGIN_INSTALL_DIR)
- $(MAKE_at) $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) install
- $(MAKE_at) $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) install
- $(MAKE_at) $(MAKE) -C $(PURPLE_PO_TOP) -f $(MINGW_MAKEFILE) install
- $(MAKE_at) $(MAKE) -C share/ca-certs -f $(MINGW_MAKEFILE) install
- $(MAKE_at) $(MAKE) -C share/sounds -f $(MINGW_MAKEFILE) install
- cp $(PIDGIN_INST_DEP_DIR)/exchndl.dll $(PIDGIN_INSTALL_DIR)
- chmod -R 777 $(PIDGIN_INSTALL_DIR)
- cd pidgin/win32/nsis/ ; ./generate_gtk_zip.sh "$(GPG_SIGN)"
-generate_installer_includes: create_release_install_dir gtk_runtime_zip debug_symbols_zip $(PIDGIN_TREE_TOP)/pidgin/win32/nsis/nsis_translations.desktop
- rm -f pidgin/win32/nsis/pidgin-translations.nsh pidgin/win32/nsis/pidgin-spellcheck.nsh pidgin/win32/nsis/pidgin-spellcheck-preselect.nsh
- find $(STRIPPED_RELEASE_DIR)/locale -maxdepth 1 -mindepth 1 \
- -exec basename {} ';' \
- | LC_ALL=C sort | sed -e s/^/\!insertmacro\ LANG_SECTION\ \"/ -e s/$$/\"/ \
- > pidgin/win32/nsis/pidgin-translations.nsh
- #Convert the available.lst lines to "!insertmacro SPELLCHECK_SECTION lang lang_name lang_file"
- sed -e "/^#/d" -e "s/^[^,]\{1,\},[^,]\{1,\},/\"/" \
- -e "s/,/\"\ \"/" -e "s/,/\"\ \"/" -e "s/[\ \t]*$$/\"/" \
- -e "s/^/\!insertmacro\ SPELLCHECK_SECTION\ /" \
- pidgin/win32/nsis/available.lst \
- > pidgin/win32/nsis/pidgin-spellcheck.nsh
- #Convert the lines to "!insertmacro CHECK_SPELLCHECK_SECTION lang"
- iconv -f latin1 -t utf-8 pidgin/win32/nsis/pidgin-spellcheck.nsh | \
- sed -e "s/SPELLCHECK_SECTION/CHECK_SPELLCHECK_SECTION/" \
- -e "s/ \"[^\"]*\"\ \"[^\"]*\"[\t\ ]*$$//" | \
- iconv -f utf-8 -t latin1 \
- > pidgin/win32/nsis/pidgin-spellcheck-preselect.nsh
- #Generate the Installer translations
- echo "!define GCOMPRIS_NSIS_INCLUDE_PATH \".\"" > $(PIDGIN_TREE_TOP)/pidgin/win32/nsis/langmacros.nsh
- echo "@INSERT_TRANSLATIONS@" >> $(PIDGIN_TREE_TOP)/pidgin/win32/nsis/langmacros.nsh
- $(PERL) $(PIDGIN_TREE_TOP)/pidgin/win32/nsis/create_nsis_translations.pl \
- $(PIDGIN_TREE_TOP)/pidgin/win32/nsis/nsis_translations.desktop \
- $(PIDGIN_TREE_TOP)/pidgin/win32/nsis/langmacros.nsh \
- $(PIDGIN_TREE_TOP)/pidgin/win32/nsis/translations
-create_release_install_dir: install
- rm -rf $(STRIPPED_RELEASE_DIR)
- mkdir $(STRIPPED_RELEASE_DIR)
- tar -cf - $(PIDGIN_INSTALL_DIR) --exclude=Gtk --exclude=spellcheck/share \
- | tar --strip 2 -xC $(STRIPPED_RELEASE_DIR) -f -
- find $(STRIPPED_RELEASE_DIR) \( -name '*.dll' -o -name '*.exe' \) \
- -not \( -false $(EXTERNAL_DLLS_FIND_EXP) \) \
- -exec $(STRIP) --strip-unneeded {} ';'
- $(call authenticode_sign, $(STRIPPED_RELEASE_DIR)/pidgin.exe, "Pidgin $(PIDGIN_VERSION)")
-installer: generate_installer_includes
- $(eval $@_DEBUG_SYMBOLS_SHA1SUM := $(shell sha1sum $(DEBUG_SYMBOLS_DIR).zip | sed -e "s/\ .*$$//"))
- $(eval $@_GTK_SHA1SUM := $(shell sha1sum pidgin/win32/nsis/gtk-runtime-$(GTK_INSTALL_VERSION).zip | sed -e "s/\ .*$$//"))
- $(MAKENSIS) -V3 -DPIDGIN_VERSION="$(PIDGIN_VERSION)" -DPIDGIN_PRODUCT_VERSION="$(PIDGIN_PRODUCT_VERSION)" \
- -DPIDGIN_INSTALL_DIR="$(STRIPPED_RELEASE_DIR)" -DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" \
- -DDEBUG_SYMBOLS_SHA1SUM="$($@_DEBUG_SYMBOLS_SHA1SUM)" -DGTK_SHA1SUM="$($@_GTK_SHA1SUM)"\
- pidgin/win32/nsis/pidgin-installer.nsi
- $(call authenticode_sign, pidgin/win32/nsis/pidgin-$(PIDGIN_VERSION).exe, "Pidgin Installer")
- mv pidgin/win32/nsis/pidgin-$(PIDGIN_VERSION).exe ./
- $(call gpg_sign, pidgin-$(PIDGIN_VERSION).exe)
-installer_offline: generate_installer_includes
- $(MAKENSIS) -V3 -DPIDGIN_VERSION="$(PIDGIN_VERSION)" -DPIDGIN_PRODUCT_VERSION="$(PIDGIN_PRODUCT_VERSION)" \
- -DPIDGIN_INSTALL_DIR="$(STRIPPED_RELEASE_DIR)" -DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" \
- pidgin/win32/nsis/pidgin-installer.nsi
- $(call authenticode_sign, pidgin/win32/nsis/pidgin-$(PIDGIN_VERSION)-offline.exe, "Pidgin Installer")
- mv pidgin/win32/nsis/pidgin-$(PIDGIN_VERSION)-offline.exe ./
- $(call gpg_sign, pidgin-$(PIDGIN_VERSION)-offline.exe)
-installer_zip: create_release_install_dir
- rm -f pidgin-$(PIDGIN_VERSION)-win32-bin.zip
- zip -9 -r pidgin-$(PIDGIN_VERSION)-win32-bin.zip $(STRIPPED_RELEASE_DIR)
- $(call gpg_sign, pidgin-$(PIDGIN_VERSION)-win32-bin.zip)
-debug_symbols_zip: install
- rm -rf $(DEBUG_SYMBOLS_DIR) $(DEBUG_SYMBOLS_DIR).zip
- mkdir $(DEBUG_SYMBOLS_DIR)
- tar -cf - `find $(PIDGIN_INSTALL_DIR) \( -name '*.dll' -o -name '*.exe' \) \
- -not \( -false $(EXTERNAL_DLLS_FIND_EXP) \) -print` \
- | tar --strip 2 --xform s/$$/.dbgsym/ -xC $(DEBUG_SYMBOLS_DIR) -f -
- cp $(MEANWHILE_TOP)/bin/libmeanwhile-1.dll.debug $(DEBUG_SYMBOLS_DIR)/libmeanwhile-1.dll.dbgsym
- zip -9 -r $(DEBUG_SYMBOLS_DIR).zip $(DEBUG_SYMBOLS_DIR)
- $(call gpg_sign, $(DEBUG_SYMBOLS_DIR).zip)
-installers: installer installer_offline debug_symbols_zip installer_zip
- $(MAKE_at) $(MAKE) -C $(PURPLE_PO_TOP) -f $(MINGW_MAKEFILE) clean
- $(MAKE_at) $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) clean
- $(MAKE_at) $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) clean
- $(MAKE_at) $(MAKE) -C share/ca-certs -f $(MINGW_MAKEFILE) clean
- rm -f $(PIDGIN_CONFIG_H) $(PIDGIN_REVISION_H) $(PIDGIN_REVISION_RAW_TXT) ./VERSION pidgin-$(PIDGIN_VERSION)*.exe pidgin-$(PIDGIN_VERSION)-win32-bin.zip $(DEBUG_SYMBOLS_DIR).zip
- rm -rf $(PURPLE_INSTALL_PERL_DIR) $(PIDGIN_INSTALL_PLUGINS_DIR) $(PURPLE_INSTALL_PO_DIR) $(PIDGIN_INSTALL_DIR) $(STRIPPED_RELEASE_DIR) $(DEBUG_SYMBOLS_DIR)
-include $(PIDGIN_COMMON_TARGETS)
--- a/acinclude.m4 Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,527 +0,0 @@
-dnl Added by setup-gettext. Do not remove this
-dnl unless you know what you are doing.
-AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
-# Configure paths for GLIB
-dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
-dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gobject or
-dnl gthread is specified in MODULES, pass to pkg-config
-AC_DEFUN([AM_PATH_GLIB_2_0],
-dnl Get the cflags and libraries from pkg-config
-AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run a test GLIB program],
- pkg_config_args=glib-2.0
- pkg_config_args="$pkg_config_args gobject-2.0"
- pkg_config_args="$pkg_config_args gthread-2.0"
- AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
- if test x$PKG_CONFIG != xno ; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
- echo *** pkg-config too old; version 0.7 or better required.
- min_glib_version=ifelse([$1], ,2.0.0,$1)
- AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
- if test x$PKG_CONFIG != xno ; then
- ## don't try to run the test against uninstalled libtool libs
- if $PKG_CONFIG --uninstalled $pkg_config_args; then
- echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
- if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
- if test x"$no_glib" = x ; then
- GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
- GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
- GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
- GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
- GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
- glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
- glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
- glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
- if test "x$enable_glibtest" = "xyes" ; then
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $GLIB_CFLAGS"
- LIBS="$GLIB_LIBS $LIBS"
-dnl Now check if the installed GLIB is sufficiently new. (Also sanity
-dnl checks the results of pkg-config to some extent)
- int major, minor, micro;
- system ("touch conf.glibtest");
- /* HP/UX 9 (%@#!) writes to sscanf strings */
- tmp_version = g_strdup("$min_glib_version");
- if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
- printf("%s, bad version string\n", "$min_glib_version");
- if ((glib_major_version != $glib_config_major_version) ||
- (glib_minor_version != $glib_config_minor_version) ||
- (glib_micro_version != $glib_config_micro_version))
- printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
- $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
- glib_major_version, glib_minor_version, glib_micro_version);
- printf ("*** was found! If pkg-config was correct, then it is best\n");
- printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
- printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
- printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
- printf("*** required on your system.\n");
- printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
- printf("*** to point to the correct configuration files\n");
- else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
- (glib_minor_version != GLIB_MINOR_VERSION) ||
- (glib_micro_version != GLIB_MICRO_VERSION))
- printf("*** GLIB header files (version %d.%d.%d) do not match\n",
- GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
- printf("*** library (version %d.%d.%d)\n",
- glib_major_version, glib_minor_version, glib_micro_version);
- if ((glib_major_version > major) ||
- ((glib_major_version == major) && (glib_minor_version > minor)) ||
- ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
- printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
- glib_major_version, glib_minor_version, glib_micro_version);
- printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
- printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
- printf("*** If you have already installed a sufficiently new version, this error\n");
- printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
- printf("*** being found. The easiest way to fix this is to remove the old version\n");
- printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
- printf("*** correct copy of pkg-config. (In this case, you will have to\n");
- printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
- printf("*** so that the correct libraries are found at run-time))\n");
-],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
- CFLAGS="$ac_save_CFLAGS"
- if test "x$no_glib" = x ; then
- AC_MSG_RESULT(yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version))
- ifelse([$2], , :, [$2])
- if test "$PKG_CONFIG" = "no" ; then
- echo "*** A new enough version of pkg-config was not found."
- echo "*** See http://www.freedesktop.org/software/pkgconfig/"
- if test -f conf.glibtest ; then
- echo "*** Could not run GLIB test program, checking why..."
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $GLIB_CFLAGS"
- LIBS="$LIBS $GLIB_LIBS"
-], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
- [ echo "*** The test program compiled, but did not run. This usually means"
- echo "*** that the run-time linker is not finding GLIB or finding the wrong"
- echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
- echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
- echo "*** to the installed location Also, make sure you have run ldconfig if that"
- echo "*** is required on your system"
- echo "*** If you have an old version installed, it is best to remove it, although"
- echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
- [ echo "*** The test program failed to compile or link. See the file config.log for the"
- echo "*** exact error that occurred. This usually means GLIB is incorrectly installed."])
- CFLAGS="$ac_save_CFLAGS"
- ifelse([$3], , :, [$3])
- AC_SUBST(GLIB_GENMARSHAL)
- AC_SUBST(GOBJECT_QUERY)
-# Configure paths for GTK+
-dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
-dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES,
-AC_DEFUN([AM_PATH_GTK_2_0],
-dnl Get the cflags and libraries from pkg-config
-AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program],
- pkg_config_args=gtk+-2.0
- pkg_config_args="$pkg_config_args gthread-2.0"
- AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
- if test x$PKG_CONFIG != xno ; then
- if pkg-config --atleast-pkgconfig-version 0.7 ; then
- echo *** pkg-config too old; version 0.7 or better required.
- min_gtk_version=ifelse([$1], ,2.0.0,$1)
- AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version)
- if test x$PKG_CONFIG != xno ; then
- ## don't try to run the test against uninstalled libtool libs
- if $PKG_CONFIG --uninstalled $pkg_config_args; then
- echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
- if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
- if test x"$no_gtk" = x ; then
- GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
- GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
- gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
- gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
- gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
- if test "x$enable_gtktest" = "xyes" ; then
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $GTK_CFLAGS"
-dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
-dnl checks the results of pkg-config to some extent)
- int major, minor, micro;
- system ("touch conf.gtktest");
- /* HP/UX 9 (%@#!) writes to sscanf strings */
- tmp_version = g_strdup("$min_gtk_version");
- if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
- printf("%s, bad version string\n", "$min_gtk_version");
- if ((gtk_major_version != $gtk_config_major_version) ||
- (gtk_minor_version != $gtk_config_minor_version) ||
- (gtk_micro_version != $gtk_config_micro_version))
- printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
- $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
- gtk_major_version, gtk_minor_version, gtk_micro_version);
- printf ("*** was found! If pkg-config was correct, then it is best\n");
- printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
- printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
- printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
- printf("*** required on your system.\n");
- printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
- printf("*** to point to the correct configuration files\n");
- else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
- (gtk_minor_version != GTK_MINOR_VERSION) ||
- (gtk_micro_version != GTK_MICRO_VERSION))
- printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
- GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
- printf("*** library (version %d.%d.%d)\n",
- gtk_major_version, gtk_minor_version, gtk_micro_version);
- if ((gtk_major_version > major) ||
- ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
- ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
- printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
- gtk_major_version, gtk_minor_version, gtk_micro_version);
- printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
- printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
- printf("*** If you have already installed a sufficiently new version, this error\n");
- printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
- printf("*** being found. The easiest way to fix this is to remove the old version\n");
- printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
- printf("*** correct copy of pkg-config. (In this case, you will have to\n");
- printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
- printf("*** so that the correct libraries are found at run-time))\n");
-],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
- CFLAGS="$ac_save_CFLAGS"
- if test "x$no_gtk" = x ; then
- AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
- ifelse([$2], , :, [$2])
- if test "$PKG_CONFIG" = "no" ; then
- echo "*** A new enough version of pkg-config was not found."
- echo "*** See http://pkgconfig.sourceforge.net"
- if test -f conf.gtktest ; then
- echo "*** Could not run GTK+ test program, checking why..."
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $GTK_CFLAGS"
-], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
- [ echo "*** The test program compiled, but did not run. This usually means"
- echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
- echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
- echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
- echo "*** to the installed location Also, make sure you have run ldconfig if that"
- echo "*** is required on your system"
- echo "*** If you have an old version installed, it is best to remove it, although"
- echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
- [ echo "*** The test program failed to compile or link. See the file config.log for the"
- echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."])
- CFLAGS="$ac_save_CFLAGS"
- ifelse([$3], , :, [$3])
-dnl ac_var_timeszone_externals.m4
-# Define 'timezone', 'altzone' and 'daylight'
-# http://www.gnu.org/software/ac-archive/Miscellaneous/ac_var_timezone_externals.html
-# Use instead of 'AC_STRUCT_TIMEZONE' to determine whether the
-# the external timezone variables 'timezone', 'altzone' and 'daylight' exist,
-# defining 'HAVE_TIMEZONE', 'HAVE_ALTZONE' and 'HAVE_DAYLIGHT' respectively
-# (as well as gaining the macros defined by 'AC_STRUCT_TIMEZONE').
-# Mark R.Bannister <markb@freedomware.co.uk>
-AC_DEFUN([AC_VAR_TIMEZONE_EXTERNALS],
-[ AC_REQUIRE([AC_STRUCT_TIMEZONE])dnl
- AC_CACHE_CHECK(for timezone external, mb_cv_var_timezone,
- [ AC_TRY_LINK([#include <time.h>], [return (int)timezone;],
- mb_cv_var_timezone=yes,
- AC_CACHE_CHECK(for altzone external, mb_cv_var_altzone,
- [ AC_TRY_LINK([#include <time.h>], [return (int)altzone;],
- AC_CACHE_CHECK(for daylight external, mb_cv_var_daylight,
- [ AC_TRY_LINK([#include <time.h>], [return (int)daylight;],
- mb_cv_var_daylight=yes,
- if test $mb_cv_var_timezone = yes; then
- AC_DEFINE([HAVE_TIMEZONE], 1,
- [Define if you have the external 'timezone' variable.])
- if test $mb_cv_var_altzone = yes; then
- AC_DEFINE([HAVE_ALTZONE], 1,
- [Define if you have the external 'altzone' variable.])
- if test $mb_cv_var_daylight = yes; then
- AC_DEFINE([HAVE_DAYLIGHT], 1,
- [Define if you have the external 'daylight' variable.])
-dnl Available from the GNU Autoconf Macro Archive at:
-dnl http://www.gnu.org/software/ac-archive/htmldoc/ac_prog_perl_modules.html
-AC_DEFUN([AC_PROG_PERL_MODULES],[dnl
-# Make sure we have perl
-if test -z "$PERL"; then
-AC_CHECK_PROG(PERL,perl,perl)
-if test "x$PERL" != x; then
- ac_perl_modules_failed=0
- for ac_perl_module in $ac_perl_modules; do
- AC_MSG_CHECKING(for perl module $ac_perl_module)
- # Would be nice to log result here, but can't rely on autoconf internals
- $PERL "-M$ac_perl_module" -e exit > /dev/null 2>&1
- ac_perl_modules_failed=1
- # Run optional shell commands
- if test "$ac_perl_modules_failed" = 0; then
- AC_MSG_WARN(could not find perl)
-dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas
-dnl (i.e. pass to gconftool-2
-dnl Defines GCONF_SCHEMA_FILE_DIR which is a filesystem directory where
-dnl you should install foo.schemas files
-AC_DEFUN([AM_GCONF_SOURCE_2],
- if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
- GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
- AC_ARG_WITH(gconf-source,
- [ --with-gconf-source=sourceaddress Config database for installing schema files.],GCONF_SCHEMA_CONFIG_SOURCE="$withval",)
- AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE)
- AC_MSG_RESULT([Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation])
- if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
- GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
- AC_ARG_WITH(gconf-schema-file-dir,
- [ --with-gconf-schema-file-dir=dir Directory for installing schema files.],GCONF_SCHEMA_FILE_DIR="$withval",)
- AC_SUBST(GCONF_SCHEMA_FILE_DIR)
- AC_MSG_RESULT([Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files])
- AC_ARG_ENABLE(schemas-install,
- [ --disable-schemas-install Disable the schemas installation],
- *) AC_MSG_ERROR(bad value ${enableval} for --enable-schemas-install) ;;
- AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [test "$enable_schemas_install" != no])
--- a/autogen.sh Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,214 +0,0 @@
-# Pidgin and Finch: The Pimpin' Penguin IM Clients That're Good for the Soul
-# Copyright (C) 2003-2008 Gary Kramlich <grim@reaperworld.com>
-# 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)
-# 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
-# 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 02110-1301, USA.
-###############################################################################
-###############################################################################
-# This script uses a config file that can be used to stash common arguments
-# passed to configure or environment variables that need to be set before
-# configure is called. The configuration file is a simple shell script that
-# By default, the config file that is used is named 'autogen.args'. This can
-# Available options that are handled are as follow:
-# ACLOCAL_FLAGS - command line arguments to pass to aclocal
-# AUTOCONF_FLAGS - command line arguments to pass to autoconf
-# AUTOHEADER_FLAGS - command line arguments to pass to autoheader
-# AUTOMAKE_FLAGS - command line arguments to pass to automake flags
-# CONFIGURE_FLAGS - command line arguments to pass to configure
-# GLIB_GETTEXTIZE_FLAGS - command line arguments to pass to glib-gettextize
-# GTKDOCIZE_FLAGS - command line arguments to pass to gtkdocize
-# INTLTOOLIZE_FLAGS - command line arguments to pass to intltoolize
-# LIBTOOLIZE_FLAGS - command line arguments to pass to libtoolize
-# If you're using a different c compiler, you can override the environment
-# variable in 'autogen.args'. For example, say you're using distcc, just add
-# the following to 'autogen.args':
-# This will work for any influential environment variable to configure.
-###############################################################################
-ARGS_FILE="autogen.args"
-DEFAULT_ACLOCAL_FLAGS="-I m4macros"
- libtoolize="glibtoolize"
- if [ -n ${BREW} ] ; then
- GETTEXT_PREFIX=$(${BREW} --prefix gettext 2>/dev/null)
- if [ -n ${GETTEXT_PREFIX} ] ; then
- PATH=${GETTEXT_PREFIX}/bin:$PATH
- DEFAULT_ACLOCAL_FLAGS="${DEFAULT_ACLOCAL_FLAGS} -I ${GETTEXT_PREFIX}/share/aclocal"
- GI_PREFIX=$(${BREW} --prefix gobject-introspection)
- if [ -n ${GI_PREFIX} ] ; then
- PATH=${GI_PREFIX}/bin:$PATH
- DEFAULT_ACLOCAL_FLAGS="${DEFAULT_ACLOCAL_FLAGS} -I ${GI_PREFIX}/share/aclocal"
-###############################################################################
-###############################################################################
- printf "%s" "checking for ${CMD}... "
- BIN=`which ${CMD} 2>/dev/null`
- if [ x"${BIN}" = x"" ] ; then
- echo "${CMD} is required to build ${PACKAGE}!"
-run_or_die () { # beotch
- OUTPUT=`mktemp autogen-XXXXXX`
- printf "running %s %s... " ${CMD} "$*"
- ${CMD} ${@} >${OUTPUT} 2>&1
- printf "checking for gtkdocize... "
- GTKDOCIZE=`which gtkdocize 2>/dev/null`
- if [ x"${GTKDOCIZE}" = x"" ] ; then
- echo "EXTRA_DIST =" > gtk-doc.make
- echo "You don't have gtk-doc installed, and thus won't be able to
-generate the documentation.
- run_or_die ${GTKDOCIZE} ${GTKDOCIZE_FLAGS}
-###############################################################################
-# We really start here, yes, very sneaky!
-###############################################################################
-FIGLET=`which figlet 2> /dev/null`
-if [ x"${FIGLET}" != x"" ] ; then
- ${FIGLET} -f small ${PACKAGE}
- echo "build system is being generated"
- echo "autogenerating build system for '${PACKAGE}'"
-###############################################################################
-# Look for our args file
-###############################################################################
-printf "%s" "checking for ${ARGS_FILE}: "
-if [ -f ${ARGS_FILE} ] ; then
- printf "%s" "sourcing ${ARGS_FILE}: "
- . "`dirname "$0"`"/${ARGS_FILE}
-###############################################################################
-# Work inside the source directory
-##############################################################################
-test -z "$SRCDIR" && SRCDIR=`dirname "$0"`
-test -z "$SRCDIR" && SRCDIR=.
-###############################################################################
-# Check for our required helpers
-###############################################################################
-check "$libtoolize"; LIBTOOLIZE=${BIN};
-check "glib-gettextize"; GLIB_GETTEXTIZE=${BIN};
-check "intltoolize"; INTLTOOLIZE=${BIN};
-check "sed"; SED=${BIN};
-check "aclocal"; ACLOCAL=${BIN};
-check "autoheader"; AUTOHEADER=${BIN};
-check "automake"; AUTOMAKE=${BIN};
-check "autoconf"; AUTOCONF=${BIN};
-###############################################################################
-# Run all of our helpers
-###############################################################################
-run_or_die ${LIBTOOLIZE} ${LIBTOOLIZE_FLAGS:-"-c -f --automake"}
-run_or_die ${GLIB_GETTEXTIZE} ${GLIB_GETTEXTIZE_FLAGS:-"--force --copy"}
-run_or_die ${INTLTOOLIZE} ${INTLTOOLIZE_FLAGS:-"-c -f --automake"}
-# This call to sed is needed to work around an annoying bug in intltool 0.40.6
-# See https://developer.pidgin.im/ticket/9520 for details
-run_or_die ${SED} -i -e "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" po/Makefile.in.in
-# glib-gettextize doesn't seems to use AM_V_GEN macro
-${SED} -i -e "s:\\tfile=\`echo:\\t@echo -e \" GEN\\\\t\$\@\"; file=\`echo:g" po/Makefile.in.in
-run_or_die ${ACLOCAL} ${ACLOCAL_FLAGS:-"${DEFAULT_ACLOCAL_FLAGS}"}
-run_or_die ${AUTOHEADER} ${AUTOHEADER_FLAGS}
-run_or_die ${AUTOMAKE} ${AUTOMAKE_FLAGS:-"-a -c --gnu"}
-run_or_die ${AUTOCONF} ${AUTOCONF_FLAGS}
-###############################################################################
-###############################################################################
-if test -z "$NOCONFIGURE"; then
- echo "running $SRCDIR/configure ${CONFIGURE_FLAGS} $@"
- "$SRCDIR/configure" ${CONFIGURE_FLAGS} $@
--- a/config.h.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,404 +0,0 @@
-/* config.h. Generated from config.h.in by configure. */
-/* config.h.in. Generated from configure.ac by autoheader. */
-/* Define if building universal (internal helper macro) */
-/* #undef AC_APPLE_UNIVERSAL_BUILD */
-/* configure arguments */
-/* #undef CONFIG_ARGS */
-/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
- systems. This function is required for `alloca.c' support on those systems.
-/* #undef CRAY_STACKSEG_END */
-/* Define to 1 if using `alloca.c'. */
-/* Define if debugging is enabled. */
-/* display version info */
-/* #undef DISPLAY_VERSION */
-/* Define if mono enabled. */
-/* #undef ENABLE_MONO */
-/* always defined to indicate that i18n is enabled */
-/* use the given file as GnuTLS default trust store */
-/* #undef GG_CONFIG_GNUTLS_SYSTEM_TRUST_STORE */
-/* Define to 1 if you have `alloca', as a function or macro. */
-/* #undef HAVE_ALLOCA */
-/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
-/* #undef HAVE_ALLOCA_H */
-/* Define if you have the external 'altzone' variable. */
-/* #undef HAVE_ALTZONE */
-/* Define to 1 if you have the `bind_textdomain_codeset' function. */
-/* #undef HAVE_BIND_TEXTDOMAIN_CODESET */
-/* Define to 1 if you have the `connect' function. */
-/* #undef HAVE_CONNECT */
-/* Define to 1 if Cyrus SASL is present */
-/* It's defined in global.mak. */
-/* #undef HAVE_CYRUS_SASL */
-/* Define if you have the external 'daylight' variable. */
-/* Define if we are using D-Bus. */
-/* Define to 1 if you have the `dcgettext' function. */
-/* #undef HAVE_DCGETTEXT */
-/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
-/* #undef HAVE_DECL_TZNAME */
-/* Define to 1 if you have the <dlfcn.h> header file. */
-/* #undef HAVE_DLFCN_H */
-/* Define if we're using evolution addressbook. */
-/* #undef HAVE_EVOLUTION_ADDRESSBOOK */
-/* Define to 1 if you have the <EXTERN.h> header file. */
-/* #undef HAVE_EXTERN_H */
-/* Use Farsight instead of Farstream */
-/* #undef HAVE_FARSIGHT */
-/* Define to 1 if you have the <fcntl.h> header file. */
-/* Define to 1 if your stdio has int fileno(FILE *). */
-/* Define to 1 if you have the getaddrinfo function (since WinXP). */
-#define HAVE_GETADDRINFO 1
-/* Define to 1 if you have the `gethostid' function. */
-/* #define HAVE_GETHOSTID 1 */
-/* Define to 1 if you have the `getifaddrs' function. */
-/* #undef HAVE_GETIFADDRS */
-/* Define if the GNU gettext() function is already present or preinstalled. */
-/* #define HAVE_GETTEXT 1 */
-/* Define if you have GNUTLS */
-/* Define to 1 if you have the <gnutls/gnutls.h> header file. */
-#define HAVE_GNUTLS_GNUTLS_H 1
-/* Define if your gnutls has gnutls_priority_set_direct and friends */
-/* #undef HAVE_GNUTLS_PRIORITY_FUNCS */
-/* Define to 1 if you have the `inet_ntop' function. */
-#define HAVE_INET_NTOP 1
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-/* Define if we have IOKit */
-/* Define if the IPV6_V6ONLY setsockopt option exists */
-/* #undef HAVE_IPV6_V6ONLY */
-/* Define to 1 if you have the `krb_get_err_text' function. */
-/* #undef HAVE_KRB_GET_ERR_TEXT */
-/* Define to 1 if you have the `krb_get_lrealm' function. */
-/* #undef HAVE_KRB_GET_LREALM */
-/* Define to 1 if you have the `krb_log' function. */
-/* #undef HAVE_KRB_LOG */
-/* Define to 1 if you have the `krb_rd_req' function. */
-/* #undef HAVE_KRB_RD_REQ */
-/* Define to 1 if you have the `krb_set_key' function. */
-/* #undef HAVE_KRB_SET_KEY */
-/* Define if your <locale.h> file defines LC_MESSAGES. */
-/* #define HAVE_LC_MESSAGES 1 */
-/* Linked with external libgadu */
-/* Define to 1 if you have the `nsl' library (-lnsl). */
-/* #define HAVE_LIBNSL 1 */
-/* Define to 1 if you have the `resolv' library (-lresolv). */
-/* #define HAVE_LIBRESOLV 1 */
-/* Define to 1 if you have the `socket' library (-lsocket). */
-/* #undef HAVE_LIBSOCKET */
-/* Define to 1 if you have the <malloc.h> header file. */
-/* Define if we have support for application media type. */
-/* #undef HAVE_MEDIA_APPLICATION */
-/* Define to 1 if you have the `mono_jit_init' function. */
-/* #undef HAVE_MONO_JIT_INIT */
-/* Define to 1 if you have the <mono/jit/jit.h> header file. */
-/* #undef HAVE_MONO_JIT_JIT_H */
-/* Define to 1 if you have the <mono/metadata/object.h> header file. */
-/* #undef HAVE_MONO_METADATA_OBJECT_H */
-/* Define if we have NetworkManager. */
-/* #undef HAVE_NETWORKMANAGER */
-/* Define to 1 if you have the <nspr.h> header file. */
-/* Define if you have Mozilla NSS */
-/* Define to 1 if you have the <nss.h> header file. */
-/* Define if we have Pango 1.4 or newer. */
-/* Define to 1 if you have the <paths.h> header file. */
-/* #define HAVE_PATHS_H 1 */
-/* Define to 1 if you have the <prio.h> header file. */
-/* #undef HAVE_PRIO_H */
-/* Define to 1 if you have the <sgtty.h> header file. */
-/* #define HAVE_SGTTY_H 1 */
-/* Define if we have silcmime.h */
-#define HAVE_SILCMIME_H 1
-/* Define to 1 if you have the <smime.h> header file. */
-/* #undef HAVE_SMIME_H */
-/* Define to 1 if you have the `snprintf' function. */
-/* Define if you have SSL */
-/* Define to 1 if you have the <ssl.h> header file. */
-/* Define to 1 if you have the <stdint.h> header file. */
-/* Define to 1 if you have the `strdup' function. */
-/* Define to 1 if you have a strftime() that supports the %z format string. */
-/* #undef HAVE_STRFTIME_Z_FORMAT */
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-/* Define if struct sockaddr has an sa_len member */
-/* #undef HAVE_STRUCT_SOCKADDR_SA_LEN */
-/* Define to 1 if `tm_zone' is a member of `struct tm'. */
-/* #define HAVE_STRUCT_TM_TM_ZONE 1 */
-/* Define to 1 if you have the <sys/cdefs.h> header file. */
-/* #define HAVE_SYS_CDEFS_H 1 */
-/* Define to 1 if you have the <sys/file.h> header file. */
-#define HAVE_SYS_FILE_H 1
-/* Define to 1 if you have the <sys/filio.h> header file. */
-/* #undef HAVE_SYS_FILIO_H */
-/* Define to 1 if you have the <sys/ioctl.h> header file. */
-/* #define HAVE_SYS_IOCTL_H 1 */
-/* Define to 1 if you have the <sys/msgbuf.h> header file. */
-/* #undef HAVE_SYS_MSGBUF_H */
-/* Define to 1 if you have the <sys/param.h> header file. */
-/* #define HAVE_SYS_PARAM_H 1 */
-/* Define to 1 if you have the <sys/select.h> header file. */
-/* #define HAVE_SYS_SELECT_H 1 */
-/* Define to 1 if you have the <sys/socket.h> header file. */
-/* #define HAVE_SYS_SOCKET_H 1 */
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-/* Define to 1 if you have the <sys/sysctl.h> header file. */
-/* #define HAVE_SYS_SYSCTL_H 1 */
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-/* Define to 1 if you have the <sys/uio.h> header file. */
-/* #define HAVE_SYS_UIO_H 1 */
-/* Define to 1 if you have the <sys/utsname.h> header file. */
-/* #define HAVE_SYS_UTSNAME_H 1 */
-/* Define to 1 if you have the <sys/wait.h> header file. */
-/* #define HAVE_SYS_WAIT_H 1 */
-/* Define to 1 if you have the <termios.h> header file. */
-/* #define HAVE_TERMIOS_H 1 */
-/* Define to 1 if you have the `timegm' function. */
-/* #define HAVE_TIMEGM 1 */
-/* Define if you have the external 'timezone' variable. */
-/* Define if you have a tm_gmtoff member in struct tm */
-/* #define HAVE_TM_GMTOFF 1 */
-/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
- `HAVE_STRUCT_TM_TM_ZONE' instead. */
-/* #define HAVE_TM_ZONE 1 */
-/* Define to 1 if you don't have `tm_zone' but do have the external array
-/* #undef HAVE_TZNAME */
-/* Define to 1 if you have the <unistd.h> header file. */
-/*#define HAVE_UNISTD_H 1*/
-/* Define to 1 if you have X11 */
-/* #define HAVE_X11 1 */
-/* whether or not we have xsltproc for devhelp index */
-/* #define HAVE_XSLTPROC 1 */
-/* Define if external libzephyr should be used. */
-/* #undef LIBZEPHYR_EXT */
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
-/* #define LT_OBJDIR ".libs/" */
-/* Define to 1 if you don't have wide-character support. */
-/* #undef NO_WIDECHAR */
-#define PACKAGE "pidgin"
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "devel@pidgin.im"
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "pidgin"
-/* Define to the full name and version of this package. */
-/* #define PACKAGE_STRING "pidgin ?-.?.?devel" */
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "pidgin"
-/* Define to the home page for this package. */
-/* Define to the version of this package. */
-/* #define PACKAGE_VERSION "?.?.?devel" */
-/* Define if plugins are enabled. */
-#define PURPLE_PLUGINS 1
-/* The size of `time_t', as computed by sizeof. */
-/* If using the C implementation of alloca, define if you know the
- direction of stack growth for your system; otherwise it will be
- automatically deduced at runtime.
- STACK_DIRECTION > 0 => grows toward higher addresses
- STACK_DIRECTION < 0 => grows toward lower addresses
- STACK_DIRECTION = 0 => direction of growth unknown */
-/* #undef STACK_DIRECTION */
-/* Loads static protocol plugin module initialization functions. */
-#ifndef STATIC_PROTO_INIT
-#define STATIC_PROTO_INIT static void static_proto_init(void) { }
-/* Use GStreamer for playing sounds */
-/* It's defined in global.mak. */
-/* #undef USE_GSTREAMER */
-/* Use voice and video */
-/* It's defined in global.mak. */
-/* Use GNU Libidn for stringprep and IDN */
-/* Define if python headers are available. */
-/* Use voice and video */
-/* Version number of package */
-#define VERSION "@VERSION@"
-#define DISPLAY_VERSION "@DISPLAY_VERSION@"
-/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
- significant byte first (like Motorola and SPARC, unlike Intel). */
-/* # undef WORDS_BIGENDIAN */
-/* Define to 1 if the X Window System is missing or not being used. */
-/* #undef X_DISPLAY_MISSING */
-#define ZEPHYR_INT32 long
-/* Define if kerberos should be used in Zephyr. */
-/* #undef ZEPHYR_USES_KERBEROS */
-/* Number of bits in a file offset, on hosts where this is settable. */
-/* #define _FILE_OFFSET_BITS 64 */
-/* Define for large files, on AIX-style hosts. */
-/* #undef _LARGE_FILES */
-/* Define to `unsigned int' if <sys/types.h> does not define. */
- * Following are added for Win32 version of Pidgin
-#define HAVE_VSNPRINTF 1
-#define FINCH_LIBDIR wpurple_lib_dir(NULL)
-#define PIDGIN_LIBDIR wpurple_lib_dir(NULL)
-#define PURPLE_DATADIR wpurple_bin_dir()
-#define PURPLE_LIBDIR wpurple_lib_dir(NULL)
-#define PURPLE_LOCALEDIR wpurple_locale_dir()
-#define PURPLE_SYSCONFDIR wpurple_sysconf_dir()
-/* _WIN32_WINNT_WINXP = 0x0501 */
-#define _WIN32_WINNT 0x0501
--- a/configure.ac Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2104 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-# UPDATING VERSION NUMBERS FOR RELEASES
-# purple_micro_version += 1
-# If any functions have been added to libpurple, Pidgin, or Finch:
-# purple_micro_version = 0
-# purple_minor_version += 1
-# purple_lt_current += 1
-# If backwards compatibility has been broken in libpurple, Pidgin, or Finch:
-# purple_micro_version = 0
-# purple_minor_version = 0
-# purple_major_version += 1;
-# purple_lt_current += 1
-# purple_version_suffix should be similar to one of the following:
-# For beta releases: [beta2]
-# For code under development: [devel]
-# For production releases: []
-# If any code has changed in libgnt:
-# gnt_micro_version += 1
-# If any functions have been added to libgnt:
-# gnt_minor_version += 1
-# If backwards compatibility has been broken in libgnt:
-# gnt_major_version += 1;
-# gnt_version_suffix should be similar to one of the following:
-# For beta releases: [beta2]
-# For code under development: [devel]
-# For production releases: []
-# Make sure to update finch/libgnt/configure.ac with libgnt version changes.
-m4_define([purple_lt_current], [20])
-m4_define([purple_major_version], [3])
-m4_define([purple_minor_version], [0])
-m4_define([purple_micro_version], [0])
-m4_define([purple_version_suffix], [devel])
-m4_define([purple_version],
- [purple_major_version.purple_minor_version.purple_micro_version])
-m4_define([purple_display_version], purple_version[]m4_ifdef([purple_version_suffix],[purple_version_suffix]))
-# the last version for Finch 2 was 2.8.10,
-# the first version for Finch 3 was 2.9.0
-m4_define([gnt_lt_current], [9])
-m4_define([gnt_major_version], [2])
-m4_define([gnt_minor_version], [9])
-m4_define([gnt_micro_version], [0])
-m4_define([gnt_version_suffix], [devel])
-m4_define([gnt_version],
- [gnt_major_version.gnt_minor_version.gnt_micro_version])
-m4_define([gnt_display_version], gnt_version[]m4_ifdef([gnt_version_suffix],[gnt_version_suffix]))
-AC_INIT([pidgin], [purple_display_version], [devel@pidgin.im])
-if test `pwd | wc -w` -ne 1; then
-You are attempting to build in a path that contains spaces. This
-will fail. Relocate this source tree to a path that does not contain
-spaces and run configure again.
-AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_MACRO_DIR([m4macros])
-AM_INIT_AUTOMAKE([1.11 -Wno-portability dist-bzip2 subdir-objects])
-PURPLE_MAJOR_VERSION=purple_major_version
-PURPLE_MINOR_VERSION=purple_minor_version
-PURPLE_MICRO_VERSION=purple_micro_version
-PURPLE_VERSION=purple_display_version
-PURPLE_API_VERSION=$((purple_lt_current - purple_minor_version))
-AC_SUBST(PURPLE_MAJOR_VERSION)
-AC_SUBST(PURPLE_MINOR_VERSION)
-AC_SUBST(PURPLE_MICRO_VERSION)
-AC_SUBST(PURPLE_VERSION)
-AC_SUBST(PURPLE_API_VERSION)
-PURPLE_LT_VERSION_INFO="purple_lt_current:purple_micro_version:purple_minor_version"
-AC_SUBST(PURPLE_LT_VERSION_INFO)
-GNT_MAJOR_VERSION=gnt_major_version
-GNT_MINOR_VERSION=gnt_minor_version
-GNT_MICRO_VERSION=gnt_micro_version
-GNT_VERSION=gnt_display_version
-GNT_API_VERSION=$((gnt_lt_current - gnt_minor_version))
-AC_SUBST(GNT_MAJOR_VERSION)
-AC_SUBST(GNT_MINOR_VERSION)
-AC_SUBST(GNT_MICRO_VERSION)
-AC_SUBST(GNT_API_VERSION)
-GNT_LT_VERSION_INFO="gnt_lt_current:gnt_micro_version:gnt_minor_version"
-AC_SUBST(GNT_LT_VERSION_INFO)
-AC_PATH_PROG(sedpath, sed)
-dnl Storing configure arguments
-AC_DEFINE_UNQUOTED(CONFIG_ARGS, "$ac_configure_args", [configure arguments])
-dnl Checks for programs.
-LT_INIT([disable-static])
-dnl Check for Sun compiler
-AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
- *-*-mingw* | *-*-cygwin*)
- PLUGIN_LDFLAGS="-avoid-version -no-undefined"
- AC_CHECK_TOOL(WINDRES, windres)
- AC_DEFINE(IS_WIN32_CROSS_COMPILED, 1,
- [Define to 1, when building with autotools (not necessarily
- cross-compiling) for windows. It's a temporary hack to remain
- non-autotools win32 build working. Drop it when we fully
- switch our win32 build to autotools.])
- AC_DEFINE(WIN32_LEAN_AND_MEAN, 1,
- [Define to 1, to build faster for win32.])
- PLUGIN_LDFLAGS="-avoid-version"
-AM_CONDITIONAL(IS_WIN32, test "x$is_win32" = "xyes")
-AC_SUBST([PLUGIN_LDFLAGS])
-PURPLE_LIBS="\$(top_builddir)/libpurple/libpurple.la \$(GLIB_LIBS) \$(GPLUGIN_LIBS)"
-PIDGIN_LIBS="\$(top_builddir)/pidgin/libpidgin.la \$(GTK_LIBS) \$(PURPLE_LIBS) \$(WEBKIT_LIBS)"
-FINCH_LIBS="\$(top_builddir)/finch/libfinch.la \$(top_builddir)/finch/libgnt/libgnt.la \$(PURPLE_LIBS)"
-dnl Checks for header files.
-AC_CHECK_HEADERS(fcntl.h unistd.h stdint.h)
-dnl Checks for typedefs, structures, and compiler characteristics.
-AC_CHECK_SIZEOF(time_t, ,[
-AC_ARG_WITH(win32-dirs, [AS_HELP_STRING([--with-win32-dirs=<classic|fhs>],
- [use win32 classic (Program Files-like) or FHS (unix-like) directory structure (default: classic)])], [
- if test "x$withval" != "xclassic" -a "x$withval" != "xfhs" ; then
- AC_MSG_ERROR([Unsupported win32-dirs option. Please choose "classic" or "fhs".])
- with_win32_dirs="$withval"
- ], with_win32_dirs="classic")
-if test "x$is_win32" = "xyes" -a "x$with_win32_dirs" = "xfhs" ; then
- AC_DEFINE(USE_WIN32_FHS, 1, [Define to 1, to use FHS on win32.])
-dnl Check for directories
-if test "x$is_win32" = "xyes" ; then
- if test "x$with_win32_dirs" = "xfhs" ; then
- AS_AC_EXPAND(win32_fhs_bindir, "$bindir")
- AC_DEFINE_UNQUOTED([WIN32_FHS_BINDIR], ["$win32_fhs_bindir"],
- [bindir, as defined by configure])
- AS_AC_EXPAND(win32_fhs_libdir, "$libdir")
- AC_DEFINE_UNQUOTED([WIN32_FHS_LIBDIR], ["$win32_fhs_libdir"],
- [libdir, as defined by configure])
- AS_AC_EXPAND(win32_fhs_datadir, "$datadir")
- AC_DEFINE_UNQUOTED([WIN32_FHS_DATADIR], ["$win32_fhs_datadir"],
- [datadir, as defined by configure])
- AS_AC_EXPAND(win32_fhs_sysconfdir, "$sysconfdir")
- AC_DEFINE_UNQUOTED([WIN32_FHS_SYSCONFDIR], ["$win32_fhs_sysconfdir"],
- [sysconfdir, as defined by configure])
- AS_AC_EXPAND(win32_fhs_localedir, "$localedir")
- AC_DEFINE_UNQUOTED([WIN32_FHS_LOCALEDIR], ["$win32_fhs_localedir"],
- [localedir, as defined by configure])
- purple_libdir="wpurple_lib_dir(\"purple-$PURPLE_MAJOR_VERSION\")"
- pidgin_libdir="wpurple_lib_dir(\"pidgin-$PURPLE_MAJOR_VERSION\")"
- finch_libdir="wpurple_lib_dir(\"finch-$PURPLE_MAJOR_VERSION\")"
- purple_libdir="wpurple_lib_dir(NULL)"
- pidgin_libdir="wpurple_lib_dir(NULL)"
- finch_libdir="wpurple_lib_dir(NULL)"
- purple_datadir="wpurple_data_dir()"
- purple_sysconfdir="wpurple_sysconf_dir()"
- purple_localedir="wpurple_locale_dir()"
- AS_AC_EXPAND(purple_datadir, "$datadir")
- purple_datadir="\"$purple_datadir\""
- AS_AC_EXPAND(purple_sysconfdir, "$sysconfdir")
- purple_sysconfdir="\"$purple_sysconfdir\""
- AS_AC_EXPAND(purple_localedir, "$localedir")
- purple_localedir="\"$purple_localedir\""
- AS_AC_EXPAND(common_libdir, "$libdir")
- purple_libdir="\"$common_libdir/purple-$PURPLE_MAJOR_VERSION\""
- pidgin_libdir="\"$common_libdir/pidgin-$PURPLE_MAJOR_VERSION\""
- finch_libdir="\"$common_libdir/finch-$PURPLE_MAJOR_VERSION\""
-AC_DEFINE_UNQUOTED([PURPLE_DATADIR], [$purple_datadir],
- [datadir to use, may expand into a function call that returns const char *])
-AC_DEFINE_UNQUOTED([PURPLE_LIBDIR], [$purple_libdir],
- [libdir to use for libpurple, may expand into a function call that returns const char *])
-AC_DEFINE_UNQUOTED([PIDGIN_LIBDIR], [$pidgin_libdir],
- [libdir to use for Pidgin, may expand into a function call that returns const char *])
-AC_DEFINE_UNQUOTED([FINCH_LIBDIR], [$finch_libdir],
- [libdir to use for Finch, may expand into a function call that returns const char *])
-AC_DEFINE_UNQUOTED([PURPLE_SYSCONFDIR], [$purple_sysconfdir],
- [sysconfdir to use, may expand into a function call that returns const char *])
-AC_DEFINE_UNQUOTED([PURPLE_LOCALEDIR], [$purple_localedir],
- [localedir to use, may expand into a function call that returns const char *])
-PURPLE_PLUGINDIR="\$(libdir)/purple-$PURPLE_MAJOR_VERSION"
-AC_SUBST([PURPLE_PLUGINDIR])
-PIDGIN_PLUGINDIR="\$(libdir)/pidgin-$PURPLE_MAJOR_VERSION"
-AC_SUBST([PIDGIN_PLUGINDIR])
-FINCH_PLUGINDIR="\$(libdir)/finch-$PURPLE_MAJOR_VERSION"
-AC_SUBST([FINCH_PLUGINDIR])
-dnl Checks for library functions.
-if test "x$is_win32" != "xyes" ; then
- AC_CHECK_FUNC(inet_aton, , [AC_CHECK_LIB(resolv, inet_aton, ,
- [AC_MSG_ERROR([inet_aton not found])])])
-AC_CHECK_LIB(nsl, gethostent)
-if test "x$is_win32" = "xyes" ; then
- AC_DEFINE(HAVE_GETADDRINFO, 1, [Define to 1 if you have the getaddrinfo function.])
- AC_DEFINE(HAVE_INET_NTOP, 1, [Define to 1 if you have the `inet_ntop' function.])
- AC_CHECK_FUNC(socket, , [AC_CHECK_LIB(socket, socket, ,
- [AC_MSG_ERROR([socket not found])])])
- dnl If all goes well, by this point the previous two checks will have
- dnl pulled in -lsocket and -lnsl if we need them.
- AC_CHECK_FUNC(getaddrinfo,
- [AC_DEFINE([HAVE_GETADDRINFO], [1],
- [Define to 1 if you have the getaddrinfo function.])],
- [AC_CHECK_LIB(socket, getaddrinfo,
- [AC_DEFINE([HAVE_GETADDRINFO]) LIBS="-lsocket -lnsl $LIBS"], , -lnsl)])
- AC_CHECK_FUNCS(inet_ntop)
-AC_CHECK_FUNCS(getifaddrs)
-dnl Check for socklen_t (in Unix98)
-AC_MSG_CHECKING(for socklen_t)
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
- # include <sys/socket.h>
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
- # include <sys/socket.h>
- int accept(int, struct sockaddr *, size_t *);
- AC_DEFINE(socklen_t, size_t, [socklen_t size])
- AC_DEFINE(socklen_t, int, [socklen_t size])
-dnl Some systems do not have sa_len field for struct sockaddr.
-AC_CHECK_MEMBER([struct sockaddr.sa_len],
- [AC_DEFINE([HAVE_STRUCT_SOCKADDR_SA_LEN],[1],
- [Define if struct sockaddr has an sa_len member])],[:],
- # include <sys/socket.h>
-dnl Check for v6-only sockets
-AC_CHECK_DECL([IPV6_V6ONLY],
- [AC_DEFINE([HAVE_IPV6_V6ONLY],[1],
- [Define if the IPV6_V6ONLY setsockopt option exists])],
- # include <netinet/in.h>
-dnl to prevent the g_stat()/g_unlink() crash,
-dnl (09:50:07) Robot101: LSchiere2: it's easy. +LC_SYS_LARGEFILE somewhere in configure.ac
-dnl FreeBSD doesn't have libdl, dlopen is provided by libc
-AC_CHECK_FUNC(dlopen, LIBDL="", [AC_CHECK_LIB(dl, dlopen, LIBDL="-ldl")])
-dnl Windows and Haiku do not use libm for the math functions, they are part
-AC_SEARCH_LIBS([ceil], [m], [], [
- AC_MSG_ERROR([unable to find the ceil() function])
-AC_MSG_CHECKING([for fileno()])
-AC_RUN_IFELSE([AC_LANG_SOURCE([[
-int main(int argc, char *argv[])
- AC_DEFINE([HAVE_FILENO], [1],
- [Define to 1 if your stdio has int fileno(FILE *).])
- # Fallback for Cross Compiling...
- # This will enable the compatibility code.
-AC_MSG_CHECKING([for the %z format string in strftime()])
-AC_RUN_IFELSE([AC_LANG_SOURCE([[
- if (strftime(buf, sizeof(buf), "%z", localtime(&t)) != 5)
- fprintf(stderr, "strftime(\"%%z\") yields: \"%s\"\n", buf);
- return !((buf[0] == '-' || buf[0] == '+') &&
- (buf[1] >= '0' && buf[1] <= '9') &&
- (buf[2] >= '0' && buf[2] <= '9') &&
- (buf[3] >= '0' && buf[3] <= '9') &&
- (buf[4] >= '0' && buf[4] <= '9')
- AC_DEFINE([HAVE_STRFTIME_Z_FORMAT], [1],
- [Define to 1 if you have a strftime() that supports the %z format string.])
- # Fallback for Cross Compiling...
- # This will enable the compatibility code.
-# before gettexting, in case iconv matters
- AC_CHECK_HEADER(CoreFoundation/CoreFoundation.h, [
- AC_CHECK_HEADER(IOKit/IOKitLib.h, [
- AC_DEFINE(HAVE_IOKIT, 1, [Define if we have IOKit])
- LIBS="$LIBS -framework IOKit -framework CoreFoundation"
- AC_MSG_CHECKING([for fink])
- AC_MSG_RESULT([found, adding /sw to search paths])
- CPPFLAGS="$CPPFLAGS -I/sw/include"
- LDFLAGS="$LDFLAGS -L/sw/lib"
- AC_MSG_RESULT([not found])
-dnl #######################################################################
-dnl # Disable creation and installation of translation files
-dnl #######################################################################
-AC_ARG_ENABLE(nls, AS_HELP_STRING([--disable-nls], [disable installation of translation files]), enable_i18n="$enableval", enable_i18n=yes)
-if test x$enable_i18n = xyes; then
- AC_SUBST(GETTEXT_PACKAGE)
- ALL_LINGUAS="af am ar as ast az be@latin bg bn_IN bn br brx bs ca ca@valencia cs da de dz el en_AU en_CA en_GB eo es_AR es et eu fa fi fr ga gl gu he hi hr hu id it ja ka kk km kn ko ks ku_IQ ku lt lv mai mhr mk ml mn mr ms_MY my_MM nb ne nl nn oc or pa pl ps pt_BR pt ro ru sd si sk sl sq sr@latin sr sv sw ta te th tr tt uk ur uz vi xh zh_CN zh_HK zh_TW"
- dnl If we don't have msgfmt, then po/ is going to fail -- ensure that
- dnl AM_GLIB_GNU_GETTEXT found it.
- if test x$MSGFMT = xno -o x$MSGFMT$GMSGFMT$INTLTOOL_MSGFMT = x
-The msgfmt command is required to build libpurple. If it is installed
-on your system, ensure that it is in your path. If it is not, install
-GNU gettext to continue.
-If you have msgfmt installed, but for some reason this error message
-is still displayed, you have encountered what appears to be a bug in
-third-party configure macros. Try setting the MSGFMT environment
-variable to the absolute path to your msgfmt binary and trying
-configure again, like this:
-MSGFMT=/path/to/msgfmt ./configure ...
-AM_CONDITIONAL(INSTALL_I18N, test "x$enable_i18n" = "xyes")
-dnl #######################################################################
-dnl # Check for GLib 2.40 (required)
-dnl #######################################################################
-PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.40.0 gio-2.0 gobject-2.0 gthread-2.0], , [
-You must have GLib 2.40.0 or newer development headers installed to build.
-If you have these installed already you may need to install pkg-config so
-GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
-AC_SUBST(GLIB_GENMARSHAL)
-GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
-AC_PATH_PROG(GLIB_COMPILE_RESOURCES, [glib-compile-resources])
-AC_PATH_PROG(GTESTER, gtester)
-AC_ARG_WITH([extraversion],
- AS_HELP_STRING([--with-extraversion=STRING],
- [extra version number to be displayed in Help->About and --help (for packagers)]),
- EXTRA_VERSION=$withval)
-if test x"$EXTRA_VERSION" != "x" ; then
- AC_DEFINE_UNQUOTED(DISPLAY_VERSION, "$VERSION-$EXTRA_VERSION", [display version info])
- AC_DEFINE_UNQUOTED(DISPLAY_VERSION, "$VERSION", [display version info])
-AC_ARG_ENABLE(missing-dependencies, [AS_HELP_STRING([--disable-missing-dependencies],
- [skip missing dependencies instead of aborting configure])],
- force_deps="$enableval", force_deps="yes")
- with_x="$withval", with_x="$is_not_win32")
-AC_ARG_ENABLE(gtkui, [AS_HELP_STRING([--disable-gtkui],
- [compile without GTK+ user interface])],
- enable_gtkui="$enableval", enable_gtkui="yes")
-AC_ARG_ENABLE(consoleui, [AS_HELP_STRING([--disable-consoleui],
- [compile without console user interface])],
- [enable_consoleui=$enableval force_finch=$enableval], [enable_consoleui=yes force_finch=no])
-dnl #######################################################################
-dnl # Check for GTK+ 2.18 and other things used by the GTK UI
-dnl #######################################################################
- [AS_HELP_STRING([--disable-enchant],
- [compile without Enchant spell checking support])],
- enable_enchant="$enableval", enable_enchant="yes")
-AC_ARG_ENABLE(gevolution,
- [AS_HELP_STRING([--enable-gevolution],
- [compile with the Evolution plugin])],
- enable_gevolution="$enableval", enable_gevolution="no")
- [AS_HELP_STRING([--enable-cap],
- [compile with Contact Availability Prediction plugin])],
- enable_cap="$enableval", enable_cap="no")
- [AS_HELP_STRING([--disable-gestures],
- [compile without the gestures plugin])],
- enable_gestures="$enableval", enable_gestures="yes")
- [AS_HELP_STRING([--enable-gcr],
- [compile with GCR certificate widgets])],
- enable_gcr="$enableval", enable_gcr="no")
-# We can't assume that $x_libraries will be set, because autoconf does not
-# set it in the case when the X libraries are in a standard place.
-if test X"$x_libraries" = X"" || test X"$x_libraries" = XNONE; then
- x_libpath_add="-L$x_libraries"
-if test X"$x_includes" = X"" || test X"$x_includes" = XNONE; then
- x_incpath_add="-I$x_includes"
-dnl #######################################################################
-dnl Check Pidgin dependencies
-dnl #######################################################################
-if test "x$enable_gtkui" = "xyes" ; then
- PKG_CHECK_MODULES(GTK, [gtk+-3.0 >= 3.4.2], , [
-You must have GTK+ 3.4.2 or newer development headers installed to compile
-Pidgin. If you want to build only Finch then specify --disable-gtkui when
- dnl We only really need Pango >= 1.4 for decent RTL support
- PKG_CHECK_MODULES(PANGO, [pango >= 1.4.0],
- AC_DEFINE(HAVE_PANGO14, 1, [Define if we have Pango 1.4 or newer.]),:)
- PKG_CHECK_MODULES(WEBKIT, ["webkitgtk-3.0" >= $WEBKIT_VERSION], , [
-You must have WebKit for GTK+3 $WEBKIT_VERSION or newer development headers
-installed to compile Pidgin. If you want to build only Finch then specify
---disable-gtkui when running configure.
- AC_SUBST(WEBKIT_CFLAGS)
- dnl #######################################################################
- dnl # Check if we should compile with enchant support
- dnl #######################################################################
- dnl We need enchant for spell checking dictionary enumeration,
- dnl because webkit1 doesn't have this.
- if test "x$enable_enchant" = "xyes" ; then
- PKG_CHECK_MODULES(ENCHANT, enchant, , [
- if test "x$force_deps" = "xyes" -a "x$use_enchant" = "xno"; then
-Enchant development headers not found.
-Use --disable-enchant if you do not need it.
- if test "x$use_enchant" = "xyes" ; then
- AC_DEFINE(USE_ENCHANT, 1, [Define if we're using enchant])
- AC_SUBST(ENCHANT_CFLAGS)
- dnl #######################################################################
- dnl # Check if we should compile with X support
- dnl #######################################################################
- if test "x$with_x" = "xyes" ; then
- PKG_CHECK_MODULES(X11, x11,
- [AC_DEFINE(HAVE_X11, 1, [Define to 1 if you have X11])],
- if test "x$x_incpath_add" != "x" -a "x$x_libpath_add" != "x"; then
- X11_LIBS="$x_libpath_add"
- X11_CFLAGS="$x_incpath_add"
- if test "x$force_deps" = "xyes" ; then
-X11 development headers not found.
-Use --without-x if you do not need X11 support.
- dnl #######################################################################
- dnl # Check for X11 to allow the gestures plugin
- dnl #######################################################################
- if test "x$enable_gestures" = "xyes"; then
- if test "x$with_x" = "xno" ; then
- dnl #######################################################################
- dnl # Check for stuff needed by the Evolution integration plugin.
- dnl #######################################################################
- if test "x$enable_gevolution" = "xyes"; then
- evo_deps="libebook-1.2 libedata-book-1.2 evolution-data-server-1.2 >= 3.6"
- PKG_CHECK_MODULES(EVOLUTION_ADDRESSBOOK, $evo_deps, , [
- if test "x$enable_gevolution" = "xyes"; then
- AC_DEFINE(HAVE_EVOLUTION_ADDRESSBOOK, 1, [Define if we're using evolution addressbook.])
- AC_SUBST(EVOLUTION_ADDRESSBOOK_CFLAGS)
- AC_SUBST(EVOLUTION_ADDRESSBOOK_LIBS)
- if test "x$force_deps" = "xyes" ; then
-Evolution development headers not found (libebook, libedata-book, evolution-data-server >= 3.6).
-Use --disable-gevolution if you do not need it.
- dnl #######################################################################
- dnl # Check for libsqlite3 (for the Contact Availability Prediction plugin)
- dnl #######################################################################
- if test "x$enable_cap" = "xyes"; then
- PKG_CHECK_MODULES(SQLITE3, sqlite3 >= 3.3,,[
- if test "x$force_deps" = "xyes" ; then
-sqlite3 development headers not found.
-Use --disable-cap if you do not need the Contact Availability Prediction plugin.
- dnl #######################################################################
- dnl # Check for GCR for its certificate widgets
- dnl #######################################################################
- if test "x$enable_gcr" = "xyes"; then
- PKG_CHECK_MODULES(GCR, gcr-3, [
- AC_DEFINE(ENABLE_GCR, 1, [Define to 1 if GCR is found.])], [
- if test "x$force_deps" = "xyes" ; then
-GCR for GTK+3 development headers not found.
-Use --disable-gcr if you do not need GCR certificate widgets.
-AM_CONDITIONAL(ENABLE_GTK, test "x$enable_gtkui" = "xyes")
-AM_CONDITIONAL(BUILD_GEVOLUTION, test "x$enable_gevolution" = "xyes")
-AM_CONDITIONAL(ENABLE_CAP, test "x$enable_cap" = "xyes")
-AM_CONDITIONAL(ENABLE_GESTURES, test "x$enable_gestures" = "xyes")
-AM_CONDITIONAL(ENABLE_GCR, test "x$enable_gcr" = "xyes")
-dnl #######################################################################
-dnl # Check for ncurses and other things used by the console UI
-dnl #######################################################################
-AC_ARG_WITH(ncurses-headers, [AS_HELP_STRING([--with-ncurses-headers=DIR],
- [compile finch against the ncurses includes in DIR])],
- [ac_ncurses_includes="$withval"], [ac_ncurses_includes=""])
-if test "x$enable_consoleui" = "xyes"; then
- AC_CHECK_LIB(ncursesw, initscr, [GNT_LIBS="-lncursesw"], [enable_consoleui=no])
- AC_CHECK_LIB(panelw, update_panels, [GNT_LIBS="$GNT_LIBS -lpanelw"],
- [enable_consoleui=no], [$GNT_LIBS])
- if test "x$is_win32" = "xyes" ; then
- ncurses_sys_prefix="/usr/$host/sys-root/mingw"
- ncurses_sys_prefix="/usr"
- ncurses_sys_dirs="$ncurses_sys_prefix/include/ncursesw $ncurses_sys_prefix/include"
- if test "x$enable_consoleui" = "xyes"; then
- dnl # Some distros put the headers in ncursesw/, some don't
- for location in $ac_ncurses_includes $NCURSES_HEADERS $ncurses_sys_dirs
- f="$location/ncurses.h"
- orig_CPPFLAGS="$CPPFLAGS"
- CFLAGS="$CFLAGS -I$location"
- CPPFLAGS="$CPPFLAGS -I$location"
- AC_MSG_CHECKING([if $f supports wide characters])
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
- #define _XOPEN_SOURCE_EXTENDED
- # error get_wch not found!
- if test x"$dir" != x"." ; then
- CPPFLAGS="$orig_CPPFLAGS"
- CPPFLAGS="$orig_CPPFLAGS"
- if test x"$found_ncurses_h" = x"no" ; then
- # ncursesw was not found. Look for plain old ncurses
- AC_CHECK_LIB(ncurses, initscr, [GNT_LIBS="-lncurses"], [enable_consoleui=no])
- AC_CHECK_LIB(panel, update_panels, [GNT_LIBS="$GNT_LIBS -lpanel"],
- [enable_consoleui=no], [$GNT_LIBS])
- AC_DEFINE(NO_WIDECHAR, 1, [Define to 1 if you don't have wide-character support.])
- if test x"$ac_ncurses_includes" != "x"; then
- GNT_CFLAGS="-I$ac_ncurses_includes"
- if test x"$NCURSES_HEADERS" != "x"; then
- GNT_CFLAGS="-I$NCURSES_HEADERS"
-if test "x$force_finch" = "xyes" -a "x$enable_consoleui" != "xyes"; then
-Finch will not be built. You need to install ncursesw (or ncurses) and its development headers.
-AM_CONDITIONAL(ENABLE_GNT, test "x$enable_consoleui" = "xyes")
-#AC_CHECK_FUNC(wcwidth, [AC_DEFINE([HAVE_WCWIDTH], [1], [Define to 1 if you have wcwidth function.])])
-dnl #######################################################################
-dnl # Check for LibXML2 (required)
-dnl #######################################################################
-PKG_CHECK_MODULES(LIBXML, [libxml-2.0 >= 2.6.0], , [
-You must have libxml2 >= 2.6.0 development headers installed to build.
-PKG_CHECK_EXISTS([libxml-2.0 >= 2.6.18], , [
-Versions of libxml2 < 2.6.18 may contain bugs that could cause XMPP messages to be discarded.
-dnl #######################################################################
-dnl # Check for JSON-GLib (required)
-dnl #######################################################################
-PKG_CHECK_MODULES([JSON], [json-glib-1.0 >= 0.14.0], , [
-You must have JSON-GLib >= 0.14.0 development headers installed to build.
-dnl #######################################################################
-dnl # Check for GStreamer
-dnl #######################################################################
-AC_ARG_ENABLE(gstreamer,
- [AS_HELP_STRING([--disable-gstreamer], [compile without GStreamer audio support])],
- enable_gst="$enableval", enable_gst="yes")
-if test x"$enable_gst" != "xno"; then
- PKG_CHECK_MODULES(GSTREAMER, [gstreamer-1.0], [
- AC_DEFINE(USE_GSTREAMER, 1, [Use GStreamer for playing sounds])
- AC_SUBST(GSTREAMER_CFLAGS)
- AC_SUBST(GSTREAMER_LIBS)
- if test "x$force_deps" = "xyes" ; then
- GStreamer development headers not found.
- Use --disable-gstreamer if you do not need GStreamer (sound) support.
-dnl #######################################################################
-dnl # Check for GStreamer Video
-dnl #######################################################################
-if test "x$enable_gst" != "xno"; then
- AC_ARG_ENABLE(gstreamer-video,
- [AS_HELP_STRING([--disable-gstreamer-video], [compile without GStreamer 1.0 Video Overlay support])],
- enable_gstvideo="$enableval", enable_gstvideo="yes")
- if test "x$enable_gstvideo" != "xno"; then
- PKG_CHECK_MODULES(GSTVIDEO, [gstreamer-video-1.0], [
- AC_DEFINE(USE_GSTVIDEO, 1, [Use GStreamer Video Overlay support])
- AC_SUBST(GSTVIDEO_CFLAGS)
- AC_SUBST(GSTVIDEO_LIBS)
-dnl #######################################################################
-dnl # Check for Farstream
-dnl #######################################################################
-AC_ARG_ENABLE(farstream,
- [AS_HELP_STRING([--disable-farstream], [compile without farstream support])],
- enable_farstream="$enableval", enable_farstream="yes")
-if test "x$enable_farstream" != "xno"; then
- PKG_CHECK_MODULES(FARSTREAM, [farstream-0.2 >= 0.2.7], [
- AC_SUBST(FARSTREAM_CFLAGS)
- AC_SUBST(FARSTREAM_LIBS)
-dnl #######################################################################
-dnl # Check for Voice and Video support
-dnl #######################################################################
- [AS_HELP_STRING([--disable-vv], [compile without voice and video support])],
- enable_vv="$enableval", enable_vv="yes")
-if test "x$enable_vv" != "xno"; then
- if test "x$enable_gst" != "xno" -a "x$enable_gstvideo" != "xno" -a "x$enable_farstream" != "xno"; then
- AC_DEFINE(USE_VV, 1, [Use voice and video])
- if test "x$force_deps" = "xyes"; then
-Dependencies for voice/video were not met.
-Install the necessary gstreamer and farstream packages first.
-Or use --disable-vv if you do not need voice/video support.
-AM_CONDITIONAL(USE_VV, test "x$enable_vv" != "xno")
-dnl #######################################################################
-dnl # Check for Raw data streams support in Farstream
-dnl #######################################################################
-if test "x$enable_vv" != "xno"; then
- PKG_CHECK_MODULES(GSTAPP, [gstreamer-app-1.0], [
- AC_DEFINE(USE_GSTAPP, 1, [Use GStreamer Video Overlay support])
- AC_SUBST(GSTAPP_CFLAGS)
- AC_DEFINE(HAVE_MEDIA_APPLICATION, 1, [Define if we have support for application media type.])
-dnl #######################################################################
-dnl # Check for Internationalized Domain Name support
-dnl #######################################################################
- [AS_HELP_STRING([--disable-idn], [compile without IDN support])],
- [enable_idn="$enableval" force_idn=$enableval], [enable_idn="yes" force_idn=no])
-if test "x$enable_idn" != "xno"; then
- PKG_CHECK_MODULES(IDN, libidn >= 0.0.0, [
- AC_DEFINE(USE_IDN, 1, [Use GNU Libidn for stringprep and IDN])
- if test "x$force_deps" = "xyes" ; then
-GNU Libidn development headers not found.
-Use --disable-idn if you do not need it.
-dnl #######################################################################
-dnl # Check for Meanwhile headers (for Sametime)
-dnl #######################################################################
-AC_ARG_ENABLE(meanwhile,
- [AS_HELP_STRING([--disable-meanwhile],
- [compile without meanwhile (required for Sametime support)])],
- enable_meanwhile="$enableval", enable_meanwhile="yes")
-if test "x$enable_meanwhile" = "xyes"; then
- PKG_CHECK_MODULES(MEANWHILE, [meanwhile >= 1.0.0 meanwhile < 2.0.0], [
- if test "x$force_deps" = "xyes" ; then
-Meanwhile development headers not found.
-Use --disable-meanwhile if you do not need meanwhile (Sametime) support.
-AC_SUBST(MEANWHILE_CFLAGS)
-AC_SUBST(MEANWHILE_LIBS)
-dnl #######################################################################
-dnl # Check for Native Avahi headers (for Bonjour)
-dnl #######################################################################
- [AS_HELP_STRING([--disable-avahi],
- [compile without avahi (required for Bonjour support)])],
- enable_avahi="$enableval", enable_avahi="yes")
-if test "x$enable_avahi" = "xyes" -a "x$is_win32" = "xyes" ; then
-elif test "x$enable_avahi" = "xyes"; then
- AC_ARG_WITH(avahi-client-includes, [AS_HELP_STRING([--with-avahi-client-includes=DIR], [compile the Bonjour plugin against the Avahi Client includes in DIR])], [ac_avahi_client_includes="$withval"], [ac_avahi_client_includes="no"])
- AC_ARG_WITH(avahi-client-libs, [AS_HELP_STRING([--with-avahi-client-libs=DIR], [compile the Bonjour plugin against the Avahi Client libs in DIR])], [ac_avahi_client_libs="$withval"], [ac_avahi_client_libs="no"])
- dnl Attempt to autodetect Avahi
- PKG_CHECK_MODULES(AVAHI, [avahi-client avahi-glib], [
- dnl Override AVAHI_CFLAGS if the user specified an include dir
- if test "$ac_avahi_client_includes" != "no"; then
- AVAHI_CFLAGS="-I$ac_avahi_client_includes"
- CPPFLAGS_save="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS $AVAHI_CFLAGS"
- AC_CHECK_HEADER(avahi-client/client.h, [avahiincludes=yes], [avahiincludes=no])
- CPPFLAGS="$CPPFLAGS $AVAHI_CFLAGS $GLIB_CFLAGS"
- AC_CHECK_HEADER(avahi-glib/glib-malloc.h, [avahiincludes=yes], [avahiincludes=no])
- CPPFLAGS="$CPPFLAGS_save"
- dnl Override AVAHI_LIBS if the user specified a libs dir
- if test "$ac_avahi_client_libs" != "no"; then
- AVAHI_LIBS="-L$ac_avahi_client_libs -lavahi-common -lavahi-client -lavahi-glib "
- AC_CHECK_LIB(avahi-client, avahi_client_new, [avahilibs=yes], [avahilibs=no], $AVAHI_LIBS)
-if test "x$enable_avahi" = "xyes" -a \( "x$avahiincludes" = "xno" -o "x$avahilibs" = "xno" \); then
- if test "x$force_deps" = "xyes"; then
-avahi development headers not found.
-Use --disable-avahi if you do not need avahi (Bonjour) support.
-dnl #######################################################################
-dnl # Check for SILC client includes and libraries
-dnl #######################################################################
-AC_ARG_WITH(silc-includes, [AS_HELP_STRING([--with-silc-includes=DIR], [compile the SILC plugin against includes in DIR])], [ac_silc_includes="$withval"], [ac_silc_includes="no"])
-AC_ARG_WITH(silc-libs, [AS_HELP_STRING([--with-silc-libs=DIR], [compile the SILC plugin against the SILC libs in DIR])], [ac_silc_libs="$withval"], [ac_silc_libs="no"])
-if test -n "$with_silc_includes" || test -n "$with_silc_libs"; then
- silc_manual_check="yes"
-if test "x$silc_manual_check" = "xno"; then
- PKG_CHECK_MODULES(SILC, [silcclient >= 1.1], [
- if test "$ac_silc_includes" != "no"; then
- SILC_CFLAGS="-I$ac_silc_includes"
- CPPFLAGS_save="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS $SILC_CFLAGS"
- AC_CHECK_HEADER(silc.h, [silcincludes=yes])
- CPPFLAGS="$CPPFLAGS_save"
- if test "$ac_silc_libs" != "no"; then
- SILC_LIBS="-L$ac_silc_libs"
- SILC_LIBS="$SILC_LIBS -lsilc -lsilcclient -lpthread $LIBDL"
- AC_CHECK_LIB(silcclient, silc_client_init, [silcclient=yes], , $SILC_LIBS)
- if test "x$silcincludes" = "xyes" -a "x$silcclient" = "xyes"; then
-dnl SILC Toolkit >= 1.0.1 has a new MIME API
-if test "x$silcclient" = "xyes"; then
- AC_DEFINE(HAVE_SILCMIME_H, 1, [Define if we have silcmime.h])
-dnl #######################################################################
-dnl # Check for Gadu-Gadu protocol library (libgadu)
-dnl #######################################################################
- [AS_HELP_STRING([--disable-libgadu],
- [compile without libgadu (required for GaduGadu support)])],
- enable_libgadu="$enableval", enable_libgadu="yes")
-if test "x$enable_libgadu" = "xyes"; then
- PKG_CHECK_MODULES(LIBGADU, [libgadu >= 1.12.0], [
- AC_CHECK_LIB(gadu, gg_is_gpl_compliant, [ ], [
- if test "x$force_deps" = "xyes" ; then
-libgadu is not compatible with the GPL when compiled with OpenSSL support.
-To link against libgadu, please recompile it using:
-./configure --with-openssl=no
-Then rerun this ./configure
- if test "x$have_libgadu" != "xyes" -a "x$force_deps" = "xyes" ; then
-Libgadu development headers not found.
-Use --disable-libgadu if you do not need GG (GaduGadu) support.
-AC_SUBST(LIBGADU_CFLAGS)
-AC_ARG_WITH(static-prpls, [AS_HELP_STRING([--with-static-prpls], [Link to certain protocols statically])], [STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`], [STATIC_PRPLS=""])
-if test "x$STATIC_PRPLS" != "x" -a "x$DYNAMIC_PRPLS" = "xall"; then
-if test "x$STATIC_PRPLS" = "xall" ; then
- STATIC_PRPLS="bonjour facebook gg irc jabber novell oscar sametime silc simple zephyr"
-if test "x$have_meanwhile" != "xyes" ; then
- STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/sametime//'`
-if test "x$avahiincludes" != "xyes" -o "x$avahilibs" != "xyes"; then
- STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/bonjour//'`
-if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then
- STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/silc//'`
-if test "x$have_libgadu" != "xyes" ; then
- STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/gg//'`
-if test "x$is_win32" = "xyes" ; then
- STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/zephyr//'`
-for i in $STATIC_PRPLS ; do
- dnl Ugly special case for "libsilcpurple.la":
- if test "x$i" = "xsilc"; then
- STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/$i/lib${i}purple.la"
- STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/$i/lib$i.la"
- extern_load="$extern_load extern gboolean ${i}_plugin_load();"
- load_proto="$load_proto ${i}_plugin_load();"
- extern_unload="$extern_unload extern gboolean ${i}_plugin_unload();"
- unload_proto="$unload_proto ${i}_plugin_unload();"
- bonjour) static_bonjour=yes ;;
- facebook) static_facebook=yes ;;
- jabber) static_jabber=yes ;;
- novell) static_novell=yes ;;
- oscar) static_oscar=yes ;;
- aim) static_oscar=yes ;;
- icq) static_oscar=yes ;;
- sametime) static_sametime=yes ;;
- silc) static_silc=yes ;;
- simple) static_simple=yes ;;
- zephyr) static_zephyr=yes ;;
- *) echo "Invalid static protocol $i!!" ; exit 1 ;;
-AM_CONDITIONAL(STATIC_BONJOUR, test "x$static_bonjour" = "xyes")
-AM_CONDITIONAL(STATIC_FACEBOOK, test "x$static_facebook" = "xyes")
-AM_CONDITIONAL(STATIC_GG, test "x$static_gg" = "xyes")
-AM_CONDITIONAL(STATIC_IRC, test "x$static_irc" = "xyes")
-AM_CONDITIONAL(STATIC_JABBER, test "x$static_jabber" = "xyes")
-AM_CONDITIONAL(STATIC_NOVELL, test "x$static_novell" = "xyes")
-AM_CONDITIONAL(STATIC_OSCAR, test "x$static_oscar" = "xyes")
-AM_CONDITIONAL(STATIC_SAMETIME, test "x$static_sametime" = "xyes" -a "x$have_meanwhile" = "xyes")
-AM_CONDITIONAL(STATIC_SILC, test "x$static_silc" = "xyes" -a "x$have_silc" = "xyes")
-AM_CONDITIONAL(STATIC_SIMPLE, test "x$static_simple" = "xyes")
-AM_CONDITIONAL(STATIC_ZEPHYR, test "x$static_zephyr" = "xyes")
-AC_SUBST(STATIC_LINK_LIBS)
-AC_DEFINE_UNQUOTED(STATIC_PROTO_LOAD, $extern_load static void static_proto_load(void) { $load_proto },
- [Loads protocols from static protocol plugin modules.])
-AC_DEFINE_UNQUOTED(STATIC_PROTO_UNLOAD, $extern_unload static void static_proto_unload(void) { $unload_proto },
- [Unloads protocols from static protocol plugin modules.])
-AC_ARG_WITH(dynamic_prpls, [AS_HELP_STRING([--with-dynamic-prpls], [specify which protocols to build dynamically])], [DYNAMIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`])
-if test "x$DYNAMIC_PRPLS" = "xall" ; then
- DYNAMIC_PRPLS="bonjour facebook gg irc jabber novell oscar sametime silc simple zephyr"
-if test "x$have_meanwhile" != "xyes"; then
- DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/sametime//'`
-if test "x$avahiincludes" != "xyes" -o "x$avahilibs" != "xyes"; then
- DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/bonjour//'`
-if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then
- DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/silc//'`
-if test "x$have_libgadu" != "xyes"; then
- DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/gg//'`
-if test "x$is_win32" = "xyes" ; then
- DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/zephyr//'`
-for i in $DYNAMIC_PRPLS ; do
- bonjour) dynamic_bonjour=yes ;;
- facebook) dynamic_facebook=yes ;;
- irc) dynamic_irc=yes ;;
- jabber) dynamic_jabber=yes ;;
- novell) dynamic_novell=yes ;;
- null) dynamic_null=yes ;;
- oscar) dynamic_oscar=yes ;;
- aim) dynamic_oscar=yes ;;
- icq) dynamic_oscar=yes ;;
- sametime) dynamic_sametime=yes ;;
- silc) dynamic_silc=yes ;;
- simple) dynamic_simple=yes ;;
- zephyr) dynamic_zephyr=yes ;;
- *) echo "Invalid dynamic protocol $i!!" ; exit 1 ;;
-AC_ARG_ENABLE(plugins, [AS_HELP_STRING([--disable-plugins], [compile without plugin support])], , enable_plugins=yes)
-AC_ARG_WITH(krb4, [AS_HELP_STRING([--with-krb4=PREFIX], [compile Zephyr plugin with Kerberos 4 support])], kerberos="$withval", kerberos="no")
-AC_ARG_WITH(zephyr, [AS_HELP_STRING([--with-zephyr=PREFIX], [compile Zephyr plugin against external libzephyr])], zephyr="$withval", zephyr="no")
-AM_CONDITIONAL(EXTERNAL_LIBZEPHYR, test "x$zephyr" != "xno")
-AC_CHECK_HEADERS(sys/utsname.h)
-AC_ARG_ENABLE(fortify, [AS_HELP_STRING([--disable-fortify], [compile without FORTIFY_SOURCE support])], , enable_fortify=yes)
-DEBUG_CFLAGS="$DEBUG_CFLAGS -DPURPLE_DISABLE_DEPRECATED -DPIDGIN_DISABLE_DEPRECATED -DFINCH_DISABLE_DEPRECATED -DGNT_DISABLE_DEPRECATED"
-if test "x$GCC" = "xyes"; then
- dnl We enable -Wall later.
- dnl If it's set after the warning CFLAGS in the compiler invocation, it counteracts the -Wno... flags.
- dnl This leads to warnings we don't want.
- CFLAGS=`echo $CFLAGS |$sedpath 's/-Wall//'`
- dnl ENABLE WARNINGS SUPPORTED BY THE VERSION OF GCC IN USE
- dnl Future Possibilities
- dnl Consider adding -Wbad-function-cast.
- dnl This leads to spurious warnings using GPOINTER_TO_INT(), et al. directly on a function call.
- dnl We'd need an intermediate variable.
- "-Wdeclaration-after-statement" \
- "-Werror-implicit-function-declaration" \
- "-Wextra -Wno-unused-parameter" \
- "-Wno-missing-field-initializers" \
- "-Werror=format-security" \
- "-Wmissing-declarations" \
- "-Wmissing-prototypes" \
- CFLAGS="$CFLAGS $newflag"
- AC_MSG_CHECKING(for $newflag option to gcc)
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])], [
- DEBUG_CFLAGS="$DEBUG_CFLAGS $newflag"
- if test "x$enable_fortify" = "xyes"; then
- AC_MSG_CHECKING(for FORTIFY_SOURCE support)
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <features.h>]], [[
- #if !(__GNUC_PREREQ (4, 1) \
- || (defined __GNUC_RH_RELEASE__ && __GNUC_PREREQ (4, 0)) \
- || (defined __GNUC_RH_RELEASE__ && __GNUC_PREREQ (3, 4) \
- && __GNUC_MINOR__ == 4 \
- && (__GNUC_PATCHLEVEL__ > 2 \
- || (__GNUC_PATCHLEVEL__ == 2 && __GNUC_RH_RELEASE__ >= 8))))
- #error No FORTIFY_SOURCE support
- DEBUG_CFLAGS="$DEBUG_CFLAGS -Wp,-D_FORTIFY_SOURCE=2"
- DEBUG_CFLAGS="-Wall $DEBUG_CFLAGS"
-DEBUG_CPPFLAGS=`echo "$DEBUG_CFLAGS" | $sedpath 's/-Wdeclaration-after-statement//' | $sedpath 's/-Wmissing-prototypes//' | $sedpath 's/-Waggregate-return//'`
-if test "x$SUNCC" = "xyes"; then
- CFLAGS="$CFLAGS -features=extensions"
-AC_PATH_PROG(pidginpath, pidgin)
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [
- #if !defined(__clang__)
-])], have_clang=yes, have_clang=no)
-AC_ARG_ENABLE(clang-address-sanitizer,
- [AS_HELP_STRING([--enable-clang-address-sanitizer],
- [compile with the Clang's address sanitizer enabled])],
- enable_clang_address_sanitizer="$enableval", enable_clang_address_sanitizer="no")
-if test "x$enable_clang_address_sanitizer" = "xyes" -a "x$have_clang" = "xno"; then
-Clang address sanitizer requested, but we don't compile with Clang.
-Disable the sanitizer or run configure script with CC and CCX set to clang binaries.
-if test "x$have_clang" = "xyes"; then
- GLIB_LIBS=`echo $GLIB_LIBS | $sedpath 's/-pthread/-lpthread/'`
-if test "x$enable_clang_address_sanitizer" = "xyes"; then
- CFLAGS="$CFLAGS -faddress-sanitizer -g -fno-omit-frame-pointer -fno-inline -fno-optimize-sibling-calls"
-AC_ARG_ENABLE(glib-errors-trace, [AS_HELP_STRING([--enable-glib-errors-trace], [print backtraces for glib errors])], enable_glibtrace="$enableval", enable_glibtrace="no")
-if test "x$enable_glibtrace" = "xyes"; then
- if test "x$have_clang" = "xyes"; then
- AC_MSG_ERROR([--enable-glib-errors-trace doesn't work with clang])
- AC_DEFINE(ENABLE_GLIBTRACE, 1, [Define if backtraces should be printed for glib errors.])
- dnl CFLAGS="$CFLAGS -rdynamic"
- CFLAGS="$CFLAGS -rdynamic"
-dnl #######################################################################
-dnl # Check for D-Bus libraries
-dnl #######################################################################
-# dbus doesn't compile for win32 at the moment
- [AS_HELP_STRING([--disable-dbus], [disable D-Bus support])], ,
- enable_dbus="$is_not_win32")
-if test "x$enable_dbus" = "xyes" ; then
- AC_CHECK_PROG(enable_dbus, dbus-binding-tool, yes, no)
-if test "x$enable_dbus" = "xyes" ; then
- PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.60 dbus-glib-1 >= 0.60], [
- if test "x$force_deps" = "xyes" ; then
-D-Bus development headers not found.
-Use --disable-dbus if you do not need D-Bus support.
-dnl #######################################################################
-dnl # Check for Unity and Messaging Menu
-dnl # Remove when Ubuntu 16.04 is EOL
-dnl #######################################################################
-AC_ARG_ENABLE(unity, [AC_HELP_STRING([--enable-unity],
- [compile with support for unity integration plugin])], enable_unity="$enableval", enable_unity="no")
-if test "$enable_unity" = yes; then
- PKG_CHECK_MODULES(UNITY, [unity >= 6.8 messaging-menu >= 12.10], , [
-You must have libunity9 >= 6.8 and libmessaging-menu >= 12.10 to build the unity integration plugin.
- USES_MM_CHAT_SECTION="X-MessagingMenu-UsesChatSection=true"
- AC_SUBST(USES_MM_CHAT_SECTION)
-AM_CONDITIONAL(ENABLE_UNITY, [test "x$enable_unity" = "xyes"])
-dnl #######################################################################
-dnl # Check for Secret Service headers
-dnl #######################################################################
-AC_ARG_ENABLE(libsecret,
- [AC_HELP_STRING([--disable-libsecret], [enable Secret Service support])],
- enable_secret_service="$enableval", enable_secret_service="$is_not_win32")
-if test "x$enable_secret_service" = "xyes" ; then
- PKG_CHECK_MODULES(SECRETSERVICE, [libsecret-1], [
- AC_SUBST(SECRETSERVICE_CFLAGS)
- AC_SUBST(SECRETSERVICE_LIBS)
- AC_DEFINE(HAVE_SECRETSERVICE, 1, [Define if we have Secret Service.])
- enable_secret_service="no"
- if test "x$force_deps" = "xyes" ; then
-Libsecret development headers not found
-Use --disable-libsecret if you do not need it.
-AM_CONDITIONAL(ENABLE_SECRETSERVICE, test "x$enable_secret_service" = "xyes")
-dnl #######################################################################
-dnl # Check for GNOME Keyring headers
-dnl #######################################################################
-AC_ARG_ENABLE(gnome-keyring,
- [AC_HELP_STRING([--disable-gnome-keyring], [disable GNOME Keyring support])],
- enable_gnome_keyring="$enableval", enable_gnome_keyring="$is_not_win32")
-if test "x$enable_gnome_keyring" = "xyes" ; then
- PKG_CHECK_MODULES(GNOMEKEYRING, [gnome-keyring-1], [
- AC_SUBST(GNOMEKEYRING_CFLAGS)
- AC_SUBST(GNOMEKEYRING_LIBS)
- AC_DEFINE(HAVE_GNOMEKEYRING, 1, [Define if we have GNOME Keyring.])
- enable_gnome_keyring="no"
- if test "x$force_deps" = "xyes" ; then
-GNOME Keyring development headers not found
-Use --disable-gnome-keyring if you do not need it.
-AM_CONDITIONAL(ENABLE_GNOMEKEYRING, test "x$enable_gnome_keyring" = "xyes")
-dnl #######################################################################
-dnl # Check for KWallet headers
-dnl #######################################################################
- [AC_HELP_STRING([--disable-kwallet], [disable KWallet support])],
- enable_kwallet="$enableval", enable_kwallet="$is_not_win32")
-AC_ARG_WITH(kwallet-includes, [AC_HELP_STRING([--with-kwallet-includes=DIR], [compile the KWallet plugin against includes in DIR])], [ac_kwallet_includes="$withval"], [ac_kwallet_includes="no"])
-AC_ARG_WITH(kwallet-libs, [AC_HELP_STRING([--with-kwallet-libs=DIR], [compile the KWallet plugin against the KWallet libs in DIR])], [ac_kwallet_libs="$withval"], [ac_kwallet_libs="no"])
-if test "x$enable_kwallet" = "xyes"; then
- dnl Ensure C++ compiler works
- AC_CHECK_PROG(CXXTEST, [$CXX], [$CXX])
- if test "x$CXXTEST" = "x"; then
- if test "x$force_deps" = "xyes"; then
-A C++ compiler was not found.
-Use --disable-kwallet if you do not need KWallet support.
-CPPFLAGS_save="$CPPFLAGS"
-if test "x$enable_kwallet" = "xyes"; then
- PKG_CHECK_MODULES(QT4, [QtCore], [
- if test "x$force_deps" = "xyes"; then
-Qt4 development headers not found.
-Use --disable-kwallet if you do not need KWallet support.
-if test "x$enable_kwallet" = "xyes"; then
- AC_MSG_CHECKING([for metaobject compiler])
- MOC=`$PKG_CONFIG --variable=moc_location QtCore`
- if test -z "$with_kwallet_includes" || test -z "$with_kwallet_libs"; then
- AC_CHECK_PROG(KDE4_CONFIG, kde4-config, kde4-config, no)
- if test "x$KDE4_CONFIG" = "xno"; then
- if test "x$force_deps" = "xyes"; then
-kde4-config not found. $KDE4_CONFIG
-Use --disable-kwallet if you do not need KWallet support.
-Use --with-kwallet-includes and --with-kwallet-libs to set up includes manually.
-if test "x$enable_kwallet" = "xyes"; then
- if test "$ac_kwallet_includes" != "no"; then
- KWALLET_CXXFLAGS="-I$ac_kwallet_includes"
- elif test "x$KDE4_CONFIG" != "xno"; then
- KWALLET_CXXFLAGS="$QT4_CFLAGS -I`$KDE4_CONFIG --path include`"
- CPPFLAGS="$CPPFLAGS $KWALLET_CXXFLAGS"
- AC_CHECK_HEADER([kwallet.h], , [
- if test "x$force_deps" = "xyes"; then
-KWallet development headers not found.
-Use --disable-kwallet if you do not need KWallet support.
-if test "x$enable_kwallet" = "xyes"; then
- AC_MSG_CHECKING([for KWallet libraries])
- if test "$ac_kwallet_libs" != "no"; then
- KWALLET_LIBS="-L$ac_kwallet_libs -lkdeui"
- elif test "x$KDE4_CONFIG" != "xno"; then
- KWALLET_LIBS="-L`$KDE4_CONFIG --install lib`/kde4/devel -lkdeui"
- KWALLET_LIBS="$KWALLET_LIBS"
- LIBS="$LIBS $KWALLET_LIBS $QT4_LIBS"
- AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <kwallet.h>],
- [KWallet::Wallet::LocalWallet();])], [AC_MSG_RESULT([yes])],
- if test "x$force_deps" = "xyes"; then
-KWallet development libraries not found.
-Use --disable-kwallet if you do not need KWallet support.
-CPPFLAGS="$CPPFLAGS_save"
-AC_SUBST(KWALLET_CXXFLAGS)
-AM_CONDITIONAL(ENABLE_KWALLET, test "x$enable_kwallet" = "xyes")
-dnl #######################################################################
-dnl # Check for GPlugin 0.0.17
-dnl #######################################################################
-if test "x$enable_plugins" = "xyes" ; then
- PKG_CHECK_MODULES(GPLUGIN, [gplugin >= 0.0.17 gmodule-2.0], [
- dnl # GPLUGIN_REQ sets pkg-config requirements in the .pc file
- GPLUGIN_REQ=[", gplugin"]
- GPlugin 0.0.17 development headers not found, which are required if you wish to
- Use --disable-plugins if you want to disable plugins.
- AC_SUBST(GPLUGIN_CFLAGS)
- enable_introspection=no
-dnl # Check for gobject introspection
-GOBJECT_INTROSPECTION_CHECK([1.30.0])
-if test "x$enable_introspection" = "xyes" ; then
- AC_DEFINE(ENABLE_INTROSPECTION, 1, [Define if GObject introspection is enabled.])
-dnl #######################################################################
-dnl #######################################################################
-dnl Python scripts are used to auto-generate about 3000 lines of C
-dnl and XML code that wraps (part of) the existing API so that
-dnl it is now accessible through D-Bus.
-dnl Python is only required if --enable-dbus is used, and only for
-dnl the build process to generate the code, not for running pidgin.
-dnl This autogenerated code is system-independent, so in principle we
-dnl can generate all of it before shipping. But I thought adding
-dnl auto-generated stuff to the repository is inelegant.
-dnl Alternatively, these python scripts could be rewritten
- AS_HELP_STRING([--with-python=PATH],
- [which python interpreter to use for dbus code generation]),
-if test "x$enable_dbus" = "xyes" || test "x$enable_consoleui" = "xyes" ; then
- if test -z "$PYTHON" -a "x$is_win32" = "xyes" ; then
- dnl there are problems with include files when cross compiling
- dnl feel free to fix it, if you want
- elif test -z "$PYTHON" -o "x$PYTHON" = "xyes"; then
- AC_PATH_PROG([PYTHON], [python], [no])
- if test x"$PYTHON" = x"no" -a "x$is_win32" != "xyes" ; then
- AC_MSG_WARN([python interpreter not found in your path])
- if test "x$PYTHON" != "xno" ; then
- if $PYTHON -c "import sys; sys.exit(sys.version[[:3]] >= '2.4')" ; then
- AC_MSG_WARN([python version >= 2.4 required])
-dnl ###########################################################################
-dnl # Find the D-Bus services dir.
-dnl # This is a 3 step process that
-dnl # 1. checks if --with-dbus-services was set, if so use that.
-dnl # 2. checks if --prefix was given, if so use that.
-dnl # 3. fallbacks to installing into what should be the correct system
-dnl # This is still prone to error if one of the legacy directories exist
-dnl # although a newer dbus is installed. But I have tried to order the
-dnl # directory searching to keep this situation at a minimum.
-dnl ###########################################################################
-AC_ARG_WITH(dbus-services, [AS_HELP_STRING([--with-dbus-services=<dir>], [where the D-Bus services directory is located.])])
-if test x"$enable_dbus" = "xyes" ; then
- AC_MSG_CHECKING([location of the D-Bus services directory])
- if ! test -z "$with_dbus_services" ; then
- if ! test -d "$with_dbus_services" ; then
- AC_MSG_ERROR([$with_dbus_services does not exist, if this is the correct location please make sure that it exists.])
- DBUS_SERVICES_DIR="$with_dbus_services"
- if test x"$prefix" = x"NONE" ; then
- dnl # no prefix given, so we look for the correct dbus system paths.
- dnl # if a prefix is given, we use it.
- serviceprefixes="$prefix/share $prefix/lib /usr/share /usr/local/share"
- for d in $serviceprefixes ; do
- dir="$d/dbus-1/services"
- DBUS_SERVICES_DIR="$dir"
- if test -z $DBUS_SERVICES_DIR ; then
- AC_MSG_ERROR([D-Bus services directory was not found! Please use --with-dbus-services and specify its location.])
- DBUS_SERVICES_DIR="$datadir/dbus-1/services"
- AC_MSG_RESULT([$DBUS_SERVICES_DIR])
- AC_DEFINE(HAVE_DBUS, 1, [Define if we are using D-Bus.])
-AC_SUBST(DBUS_SERVICES_DIR)
-if test "x$enable_dbus" = "xyes" ; then
- echo "Building with D-Bus support"
- echo "Building without D-Bus support"
-AM_CONDITIONAL(ENABLE_DBUS, test "x$enable_dbus" = "xyes")
-dnl Check for Python headers (currently useful only for libgnt)
-if test "x$enable_consoleui" = "xyes" -a ! -z "$PYTHON" -a x"$PYTHON" != x"no" ; then
- AC_MSG_CHECKING(for Python compile flags)
- if test -f ${PYTHON}-config; then
- PY_CFLAGS=`${PYTHON}-config --includes`
- PY_LIBS=`${PYTHON}-config --libs`
- AC_DEFINE(USE_PYTHON, [1], [Define if python headers are available.])
- AC_MSG_RESULT([Cannot find ${PYTHON}-config])
-dnl #######################################################################
-dnl # Thanks go to Evolution for the checks.
-dnl #######################################################################
-AC_ARG_WITH(system-ssl-certs, [AS_HELP_STRING([--with-system-ssl-certs=<dir>], [directory containing system-wide SSL CA certificates])], [ssl_certificates_dir=$withval])
-if ! test -z "$ssl_certificates_dir" ; then
- if test "x$ssl_certificates_dir" = "xyes" ; then
- AC_MSG_ERROR([--with-system-ssl-certs requires that a location is specified, eg. --with-system-ssl-certs=/etc/pki/tls/certs])
- if ! test -d "$ssl_certificates_dir" ; then
- if test "x$is_win32" = "xyes" ; then
- AC_MSG_WARN([$ssl_certificates_dir does not exist. \
-It may be OK when cross-compiling, but please make sure about it.])
- AC_MSG_ERROR([$ssl_certificates_dir does not exist, \
-if this is the correct location please make sure that it exists.])
- SSL_CERTIFICATES_DIR="$ssl_certificates_dir"
-AC_SUBST(SSL_CERTIFICATES_DIR)
-if test "x$SSL_CERTIFICATES_DIR" != "x" ; then
- AC_DEFINE_UNQUOTED([SSL_CERTIFICATES_DIR], ["$SSL_CERTIFICATES_DIR"],
- [Directory where SSL certificates can be found])
-AM_CONDITIONAL(INSTALL_SSL_CERTIFICATES, test "x$SSL_CERTIFICATES_DIR" = "x")
-if test "$ac_cv_cygwin" = yes ; then
- AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
-AC_SUBST(DEBUG_CPPFLAGS)
-if test "x$enable_plugins" = "xyes" ; then
- AC_DEFINE(PURPLE_PLUGINS, 1, [Define if plugins are enabled.])
- AM_CONDITIONAL(PLUGINS, true)
- PLUGINS_DEFINE="#define PURPLE_PLUGINS 1"
- AM_CONDITIONAL(PLUGINS, false)
- PLUGINS_DEFINE="#undef PURPLE_PLUGINS"
-AC_SUBST(PLUGINS_DEFINE)
-dnl #######################################################################
-dnl # Check for Nettle (Crypto Library)
-dnl #######################################################################
- [AC_HELP_STRING([--disable-nettle], [disable Nettle support])],
- enable_nettle="$enableval", enable_nettle="yes")
-if test "x$enable_nettle" = "xyes" ; then
- PKG_CHECK_MODULES(NETTLE, [nettle >= 3.0], [
- AC_SUBST(NETTLE_CFLAGS)
- AC_DEFINE(HAVE_NETTLE, 1, [Define if we have Nettle.])
- if test "x$enable_nettle" != "xyes" -a "x$force_deps" = "xyes" ; then
-Nettle development headers not found
-Use --disable-nettle if you do not need it.
-AM_CONDITIONAL(ENABLE_NETTLE, test "x$enable_nettle" = "xyes")
-dnl #######################################################################
-dnl # Check for Cyrus-SASL (for xmpp/irc)
-dnl #######################################################################
-dnl AC_CHECK_SIZEOF(short)
-AC_CHECK_FUNCS(snprintf connect)
-AC_ARG_ENABLE(cyrus-sasl, AS_HELP_STRING([--enable-cyrus-sasl], [enable Cyrus SASL support for xmpp/irc]), enable_cyrus_sasl=$enableval, enable_cyrus_sasl=no)
-if test "x$enable_cyrus_sasl" = "xyes" ; then
- AC_CHECK_LIB(sasl2, sasl_client_init, [
- AM_CONDITIONAL(USE_CYRUS_SASL, true)
- AC_DEFINE(HAVE_CYRUS_SASL, [1], [Define to 1 if Cyrus SASL is present])
- AM_CONDITIONAL(USE_CYRUS_SASL, false)
- AC_MSG_ERROR([Cyrus SASL library not found])
- AM_CONDITIONAL(USE_CYRUS_SASL, false)
-dnl #######################################################################
-dnl # Check for Kerberos (for Zephyr)
-dnl #######################################################################
-AC_DEFINE(ZEPHYR_INT32, long, [Size of an int32.])
-if test "$kerberos" != "no" ; then
- if test "$kerberos" != "yes" ; then
- KRB4_CFLAGS="-I${kerberos}/include"
- if test -d "$kerberos/include/kerberosIV" ; then
- KRB4_CFLAGS="$KRB4_CFLAGS -I${kerberos}/include/kerberosIV"
- KRB4_LDFLAGS="-L${kerberos}/lib"
- elif test -d /usr/local/include/kerberosIV ; then
- KRB4_CFLAGS="-I/usr/local/include/kerberosIV"
- elif test -d /usr/include/kerberosIV ; then
- KRB4_CFLAGS="-I/usr/include/kerberosIV"
- AC_DEFINE(ZEPHYR_USES_KERBEROS, 1, [Define if kerberos should be used in Zephyr.])
- orig_LDFLAGS="$LDFLAGS"
- LDFLAGS="$LDFLAGS $KRB4_LDFLAGS"
- AC_CHECK_LIB(krb4, krb_rd_req,
- [KRB4_LIBS="-lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err"],
- [AC_CHECK_LIB(krb, krb_rd_req,
- [KRB4_LIBS="-lkrb -ldes"],
- [AC_MSG_ERROR([Kerberos 4 libraries not found])],
- -ldes425 -lkrb5 -lk5crypto -lcom_err)
- LIBS="$LIBS $KRB4_LIBS"
- AC_CHECK_FUNCS(krb_set_key krb_rd_req krb_get_lrealm)
- AC_CHECK_FUNCS(krb_get_err_text krb_log)
- LDFLAGS="$orig_LDFLAGS"
-dnl #######################################################################
-dnl # Check for external libzephyr
-dnl #######################################################################
-AC_SUBST(ZEPHYR_LDFLAGS)
-if test "$zephyr" != "no" ; then
- if test "$zephyr" != "yes" ; then
- ZEPHYR_CFLAGS="-I${zephyr}/include"
- ZEPHYR_LDFLAGS="-L${zephyr}/lib"
- elif test -d /usr/athena/include/zephyr ; then
- ZEPHYR_CFLAGS="-I/usr/athena/include"
- elif test -d /usr/include/zephyr ; then
- ZEPHYR_CFLAGS="-I/usr/include"
- elif test -d /usr/local/include/zephyr ; then
- ZEPHYR_CFLAGS="-I/usr/local/include"
- AC_DEFINE(LIBZEPHYR_EXT, 1 , [Define if external libzephyr should be used.])
- AM_CONDITIONAL(EXTERNAL_LIBZEPHYR, test "x$zephyr" != "xno")
- orig_LDFLAGS="$LDFLAGS"
- LDFLAGS="$LDFLAGS $ZEPHYR_LDFLAGS"
- AC_CHECK_LIB(zephyr, ZInitialize,
- [ZEPHYR_LIBS="-lzephyr"],
- [AC_MSG_ERROR([Zephyr libraries not found])],
- LDFLAGS="$orig_LDFLAGS"
-AC_MSG_CHECKING(for me pot o' gold)
-AC_CHECK_FUNCS(gethostid timegm)
-AC_CHECK_HEADERS(paths.h sgtty.h sys/cdefs.h)
-AC_CHECK_HEADERS(sys/file.h sys/filio.h sys/ioctl.h sys/msgbuf.h)
-AC_CHECK_HEADERS(sys/select.h sys/uio.h sys/wait.h)
-AC_CHECK_HEADERS(termios.h)
-# sys/sysctl.h on OpenBSD 4.2 requires sys/param.h
-# sys/sysctl.h on FreeBSD requires sys/types.h
-AC_CHECK_HEADERS(sys/param.h)
-AC_CHECK_HEADERS(sys/sysctl.h, [], [],
- # include <sys/param.h>
-AC_CHECK_HEADERS(sys/socket.h)
-AC_VAR_TIMEZONE_EXTERNALS
-AC_CHECK_MEMBER([struct tm.tm_gmtoff],
- [AC_DEFINE(HAVE_TM_GMTOFF, 1, [Define if you have a tm_gmtoff member in struct tm])],
-dnl #######################################################################
-dnl # Disable pixmap installation
-dnl #######################################################################
-AC_ARG_ENABLE(pixmaps-install, AS_HELP_STRING([--disable-pixmaps-install], [disable installation of pixmap files - Pidgin still needs them!]), enable_pixmaps="$enableval", enable_pixmaps=yes)
-AM_CONDITIONAL(INSTALL_PIXMAPS, test "x$enable_pixmaps" = "xyes")
-dnl #######################################################################
-dnl # Tweak status tray icon installation directory
-dnl #######################################################################
-AC_ARG_ENABLE(trayicon-compat, AS_HELP_STRING([--enable-trayicon-compat], [install tray icons in location compatible with older releases of hicolor-icon-theme]), enable_traycompat="$enableval", enable_traycompat=no)
-AM_CONDITIONAL(ENABLE_TRAYCOMPAT, test "x$enable_traycompat" = "xyes")
-m4_ifdef([GTK_DOC_CHECK], [
-GTK_DOC_CHECK([1.16],[--flavour no-tmpl])
- if test "x$force_deps" = "xyes" -a "x$enable_gtk_doc" = "xyes"; then
-You have requested to generate documentation, but gtk-doc was not found.
- AM_CONDITIONAL([ENABLE_GTK_DOC], false)
-AC_ARG_ENABLE(debug, [AS_HELP_STRING([--enable-debug],
- [compile with debugging support])], , enable_debug=no)
-if test "x$enable_debug" = "xyes" ; then
- AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
-AM_CONDITIONAL(PURPLE_AVAILABLE, true)
-AC_CONFIG_FILES([Makefile
- doc/reference/finch/Makefile
- doc/reference/finch/version.xml
- doc/reference/libpurple/Makefile
- doc/reference/libpurple/version.xml
- doc/reference/protocols/Makefile
- doc/reference/protocols/facebook/Makefile
- doc/reference/protocols/version.xml
- doc/reference/pidgin/Makefile
- doc/reference/pidgin/version.xml
- pidgin/data/im.pidgin.Pidgin.desktop.in
- pidgin/data/pidgin-3.pc
- pidgin/data/pidgin-3-uninstalled.pc
- pidgin/pixmaps/Makefile
- pidgin/pixmaps/emotes/default/24/Makefile
- pidgin/pixmaps/emotes/small/16/Makefile
- pidgin/plugins/Makefile
- pidgin/plugins/cap/Makefile
- pidgin/plugins/disco/Makefile
- pidgin/plugins/gestures/Makefile
- pidgin/plugins/gevolution/Makefile
- pidgin/plugins/musicmessaging/Makefile
- pidgin/plugins/ticker/Makefile
- pidgin/plugins/win32/transparency/Makefile
- pidgin/plugins/win32/winprefs/Makefile
- pidgin/win32/pidgin_dll_rc.rc
- pidgin/win32/pidgin_exe_rc.rc
- libpurple/data/purple-url-handler.desktop.in
- libpurple/data/purple-3.pc
- libpurple/data/purple-3-uninstalled.pc
- libpurple/example/Makefile
- libpurple/plugins/Makefile
- libpurple/plugins/keyrings/Makefile
- libpurple/protocols/Makefile
- libpurple/protocols/bonjour/Makefile
- libpurple/protocols/facebook/Makefile
- libpurple/protocols/gg/Makefile
- libpurple/protocols/irc/Makefile
- libpurple/protocols/jabber/Makefile
- libpurple/protocols/jabber/tests/Makefile
- libpurple/protocols/novell/Makefile
- libpurple/protocols/null/Makefile
- libpurple/protocols/oscar/Makefile
- libpurple/protocols/oscar/tests/Makefile
- libpurple/protocols/sametime/Makefile
- libpurple/protocols/silc/Makefile
- libpurple/protocols/simple/Makefile
- libpurple/protocols/zephyr/Makefile
- libpurple/tests/Makefile
- libpurple/win32/libpurplerc.rc
- share/ca-certs/Makefile
- finch/libfinch_winres.rc
- finch/libgnt/libgnt_winres.rc
- finch/libgnt/wms/Makefile
-echo Build GTK+ UI................. : $enable_gtkui
-echo Build console UI.............. : $enable_consoleui
-echo Build for X11................. : $with_x
-echo Enable Gestures............... : $enable_gestures
-echo Protocols to build dynamically : $DYNAMIC_PRPLS
-echo Protocols to link statically.. : $STATIC_PRPLS
-echo Build with GStreamer support.. : $enable_gst
-echo Build with D-Bus support...... : $enable_dbus
-echo Build with voice and video.... : $enable_vv
-if test "x$enable_dbus" = "xyes" ; then
- eval eval echo D-Bus services directory...... : $DBUS_SERVICES_DIR
-echo Build with GNU Libidn......... : $enable_idn
-if test "x$SSL_CERTIFICATES_DIR" != "x" ; then
- eval eval echo SSL CA certificates directory. : $SSL_CERTIFICATES_DIR
-echo Build with Nettle support..... : $enable_nettle
-echo Build with Cyrus SASL support. : $enable_cyrus_sasl
-echo Use kerberos 4 with zephyr.... : $kerberos
-echo Use external libzephyr........ : $zephyr
-echo Install pixmaps............... : $enable_pixmaps
-echo Old tray icon compatibility... : $enable_traycompat
-echo Install translations.......... : $enable_i18n
-echo Has you....................... : yes
-echo Build with Enchant support.... : $use_enchant
-echo Build with GCR widgets........ : $enable_gcr
-echo Build Unity integration plugin.: $enable_unity
-echo Build with GNOME Keyring...... : $enable_gnome_keyring
-echo Build with KWallet............ : $enable_kwallet
-echo Build with Secret Service..... : $enable_secret_service
-echo Build with plugin support..... : $enable_plugins
-echo Enable Introspection...........: $enable_introspection
-if test "x$is_win32" = "xyes" ; then
- echo Win32 directory structure..... : $with_win32_dirs
-echo Print debugging messages...... : $enable_debug
-echo Generate documentation........ : $enable_gtk_doc
-eval eval echo Pidgin will be installed in $bindir.
-if test "x$pidginpath" != "x" ; then
- echo Warning: You have an old copy of Pidgin at $pidginpath.
-if test "x$enable_pixmaps" = "xno" ; then
- echo Warning: You have disabled the installation of pixmap data, but Pidgin
- echo still requires installed pixmaps. Be sure you know what you are doing.
-if test "x$enable_i18n" = "xno" ; then
- echo Warning: You have disabled the building and installation of translation
- echo data. This will prevent building Pidgin desktop files.
- echo Be sure you know what you are doing.
-echo configure complete, now type \'make\'
--- a/doc/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
- funniest_home_convos.txt \
--- a/doc/reference/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-SUBDIRS = libpurple protocols $(GNT_DIR) $(GTK_DIR)
--- a/doc/reference/finch/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,137 +0,0 @@
-## Process this file with automake to produce Makefile.in
-# We require automake 1.6 at least.
-# This is a blank Makefile.am for using gtk-doc.
-# Copy this to your project's API docs directory and modify the variables to
-# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
-# of using the various options.
-# The name of the module, e.g. 'glib'.
-# Uncomment for versioned docs and specify the version of the module, e.g. '2'.
-# The top-level XML file (SGML in the past). You can change this if you want to.
-DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
-# The directory containing the source code. Relative to $(srcdir).
-# gtk-doc will search all .c & .h files beneath here for inline comments
-# documenting the functions and macros.
-# e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=$(top_srcdir)/$(DOC_MODULE)
-# Extra options to pass to gtkdoc-scangobj. Not normally needed.
-# Extra options to supply to gtkdoc-scan.
-# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
- --deprecated-guards="PURPLE_DISABLE_DEPRECATED|GNT_DISABLE_DEPRECATED|FINCH_DISABLE_DEPRECATED" \
-# Extra options to supply to gtkdoc-mkdb.
-# e.g. MKDB_OPTIONS=--xml-mode --output-format=xml
-MKDB_OPTIONS=--xml-mode --output-format=xml --ignore-files="$(IGNORE_HFILES)"
-# Extra options to supply to gtkdoc-mktmpl
-# e.g. MKTMPL_OPTIONS=--only-section-tmpl
-# Extra options to supply to gtkdoc-mkhtml
-# Extra options to supply to gtkdoc-fixref. Not normally needed.
-# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
-# Used for dependencies. The docs will be rebuilt if any of these change.
-# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
-# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
-HFILE_GLOB=$(top_srcdir)/$(DOC_MODULE)/*.h
-CFILE_GLOB=$(top_srcdir)/$(DOC_MODULE)/*.c
-# Extra header to include when scanning, which are not under DOC_SOURCE_DIR
-# e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
-# Header files or dirs to ignore when scanning. Use base file/dir names
-# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code
-# Images to copy into HTML directory.
-# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
-# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
-# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
-content_files=version.xml
-# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
-# These files must be listed here *and* in content_files
-# e.g. expand_content_files=running.sgml
-# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
-# Only needed if you are using gtkdoc-scangobj to dynamically query widget
-# signals and properties.
-# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
-# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
- -I$(top_srcdir)/libpurple \
- -I$(top_srcdir)/finch \
- -I$(top_srcdir)/finch/libgnt \
- $(INTROSPECTION_CFLAGS) \
- $(top_builddir)/finch/libfinch.la \
- $(top_builddir)/libpurple/libpurple.la \
- $(INTROSPECTION_LIBS) \
- $(top_builddir)/finch/libgnt/libgnt.la
-# This includes the standard gtk-doc make rules, copied by gtkdocize.
-include $(top_srcdir)/gtk-doc.make
-# Other files to distribute
-# e.g. EXTRA_DIST += version.xml.in
-EXTRA_DIST += version.xml.in
-# Files not to distribute
-# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
-# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
-DISTCLEANFILES = $(DOC_MODULE).types $(DOC_MODULE)-sections.txt
-dist-hook: html-build.stamp
-# Comment this out if you want 'make check' to test you doc status
-# and run some sanity checks
- DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
-#TESTS = $(GTKDOC_CHECK)
--- a/doc/reference/libpurple/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,179 +0,0 @@
-## Process this file with automake to produce Makefile.in
-# We require automake 1.6 at least.
-# This is a blank Makefile.am for using gtk-doc.
-# Copy this to your project's API docs directory and modify the variables to
-# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
-# of using the various options.
-# The name of the module, e.g. 'glib'.
-# Uncomment for versioned docs and specify the version of the module, e.g. '2'.
-# The top-level XML file (SGML in the past). You can change this if you want to.
-DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
-# The directory containing the source code. Relative to $(srcdir).
-# gtk-doc will search all .c & .h files beneath here for inline comments
-# documenting the functions and macros.
-# e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=$(top_srcdir)/$(DOC_MODULE)
-# Extra options to pass to gtkdoc-scangobj. Not normally needed.
-# Extra options to supply to gtkdoc-scan.
-# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
- --deprecated-guards="PURPLE_DISABLE_DEPRECATED" \
-# Extra options to supply to gtkdoc-mkdb.
-# e.g. MKDB_OPTIONS=--xml-mode --output-format=xml
-MKDB_OPTIONS=--xml-mode --output-format=xml --ignore-files="$(IGNORE_HFILES)"
-# Extra options to supply to gtkdoc-mktmpl
-# e.g. MKTMPL_OPTIONS=--only-section-tmpl
-# Extra options to supply to gtkdoc-mkhtml
-# Extra options to supply to gtkdoc-fixref. Not normally needed.
-# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
-# Used for dependencies. The docs will be rebuilt if any of these change.
-# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
-# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
-HFILE_GLOB=$(top_srcdir)/$(DOC_MODULE)/*.h
-CFILE_GLOB=$(top_srcdir)/$(DOC_MODULE)/*.c
-# Extra header to include when scanning, which are not under DOC_SOURCE_DIR
-# e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
-# TODO: those files are not properly scanned when building out-of-tree
- $(top_builddir)/$(DOC_MODULE)/enums.h \
- $(top_builddir)/$(DOC_MODULE)/purple.h \
- $(top_builddir)/$(DOC_MODULE)/version.h
-# Header files or dirs to ignore when scanning. Use base file/dir names
-# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code
- purple-client-bindings.h \
-# Images to copy into HTML directory.
-# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
-# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
-# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
-content_files = version.xml \
- signals_certificate.xml \
- signals_connection.xml \
- signals_conversation.xml \
- signals_dbus_server.xml \
- signals_savedstatus.xml \
-# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
-# These files must be listed here *and* in content_files
-# e.g. expand_content_files=running.sgml
-# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
-# Only needed if you are using gtkdoc-scangobj to dynamically query widget
-# signals and properties.
-# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
-# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
- -I$(top_srcdir)/libpurple \
- $(GSTINTERFACES_CFLAGS) \
- $(NETWORKMANAGER_CFLAGS) \
- $(INTROSPECTION_CFLAGS)
- $(top_builddir)/libpurple/libpurple.la \
- $(NETWORKMANAGER_LIBS) \
- $(GSTINTERFACES_LIBS) \
- $(INTROSPECTION_LIBS) \
-# This includes the standard gtk-doc make rules, copied by gtkdocize.
-include $(top_srcdir)/gtk-doc.make
-# Other files to distribute
-# e.g. EXTRA_DIST += version.xml.in
-EXTRA_DIST += version.xml.in
-# Files not to distribute
-# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
-# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
-DISTCLEANFILES = $(DOC_MODULE).types $(DOC_MODULE)-sections.txt
-dist-hook: html-build.stamp
-# Comment this out if you want 'make check' to test you doc status
-# and run some sanity checks
- DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
-#TESTS = $(GTKDOC_CHECK)
--- a/doc/reference/pidgin/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,151 +0,0 @@
-## Process this file with automake to produce Makefile.in
-# We require automake 1.6 at least.
-# This is a blank Makefile.am for using gtk-doc.
-# Copy this to your project's API docs directory and modify the variables to
-# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
-# of using the various options.
-# The name of the module, e.g. 'glib'.
-# Uncomment for versioned docs and specify the version of the module, e.g. '2'.
-# The top-level XML file (SGML in the past). You can change this if you want to.
-DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
-# The directory containing the source code. Relative to $(srcdir).
-# gtk-doc will search all .c & .h files beneath here for inline comments
-# documenting the functions and macros.
-# e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=$(top_srcdir)/$(DOC_MODULE)
-# Extra options to pass to gtkdoc-scangobj. Not normally needed.
-# Extra options to supply to gtkdoc-scan.
-# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
- --deprecated-guards="PURPLE_DISABLE_DEPRECATED|PIDGIN_DISABLE_DEPRECATED" \
-# Extra options to supply to gtkdoc-mkdb.
-# e.g. MKDB_OPTIONS=--xml-mode --output-format=xml
-MKDB_OPTIONS=--xml-mode --output-format=xml --ignore-files="$(IGNORE_HFILES)"
-# Extra options to supply to gtkdoc-mktmpl
-# e.g. MKTMPL_OPTIONS=--only-section-tmpl
-# Extra options to supply to gtkdoc-mkhtml
-# Extra options to supply to gtkdoc-fixref. Not normally needed.
-# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
-# Used for dependencies. The docs will be rebuilt if any of these change.
-# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
-# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
-HFILE_GLOB=$(top_srcdir)/$(DOC_MODULE)/*.h
-CFILE_GLOB=$(top_srcdir)/$(DOC_MODULE)/*.c
-# Extra header to include when scanning, which are not under DOC_SOURCE_DIR
-# e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
-# Header files or dirs to ignore when scanning. Use base file/dir names
-# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code
-# Images to copy into HTML directory.
-# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
-# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
-# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
-content_files = version.xml \
- signals_gtkaccount.xml \
-# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
-# These files must be listed here *and* in content_files
-# e.g. expand_content_files=running.sgml
-# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
-# Only needed if you are using gtkdoc-scangobj to dynamically query widget
-# signals and properties.
-# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
-# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
- -I$(top_srcdir)/libpurple \
- -I$(top_srcdir)/pidgin \
- $(GSTINTERFACES_CFLAGS) \
- $(INTROSPECTION_CFLAGS)
- $(top_builddir)/pidgin/libpidgin.la \
- $(top_builddir)/libpurple/libpurple.la \
- $(GSTINTERFACES_LIBS) \
-# This includes the standard gtk-doc make rules, copied by gtkdocize.
-include $(top_srcdir)/gtk-doc.make
-# Other files to distribute
-# e.g. EXTRA_DIST += version.xml.in
-EXTRA_DIST += version.xml.in
-# Files not to distribute
-# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
-# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
-DISTCLEANFILES = $(DOC_MODULE).types $(DOC_MODULE)-sections.txt
-dist-hook: html-build.stamp
-# Comment this out if you want 'make check' to test you doc status
-# and run some sanity checks
- DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
-#TESTS = $(GTKDOC_CHECK)
--- a/doc/reference/protocols/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-EXTRA_DIST = version.xml.in
--- a/doc/reference/protocols/facebook/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,123 +0,0 @@
-## Process this file with automake to produce Makefile.in
-# We require automake 1.6 at least.
-# This is a blank Makefile.am for using gtk-doc.
-# Copy this to your project's API docs directory and modify the variables to
-# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
-# of using the various options.
-# The name of the module, e.g. 'glib'.
-# Uncomment for versioned docs and specify the version of the module, e.g. '2'.
-# The top-level XML file (SGML in the past). You can change this if you want to.
-DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
-# The directory containing the source code. Relative to $(srcdir).
-# gtk-doc will search all .c & .h files beneath here for inline comments
-# documenting the functions and macros.
-# e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=$(top_srcdir)/libpurple/protocols/$(DOC_MODULE)
-# Extra options to pass to gtkdoc-scangobj. Not normally needed.
-# Extra options to supply to gtkdoc-scan.
-# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
- --deprecated-guards="PURPLE_DISABLE_DEPRECATED" \
-# Extra options to supply to gtkdoc-mkdb.
-# e.g. MKDB_OPTIONS=--xml-mode --output-format=xml
-MKDB_OPTIONS=--xml-mode --output-format=xml
-# Extra options to supply to gtkdoc-mktmpl
-# e.g. MKTMPL_OPTIONS=--only-section-tmpl
-# Extra options to supply to gtkdoc-mkhtml
-# Extra options to supply to gtkdoc-fixref. Not normally needed.
-# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
-# Used for dependencies. The docs will be rebuilt if any of these change.
-# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
-# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
-HFILE_GLOB=$(top_srcdir)/libpurple/protocols/$(DOC_MODULE)/*.h
-CFILE_GLOB=$(top_srcdir)/libpurple/protocols/$(DOC_MODULE)/*.c
-# Extra header to include when scanning, which are not under DOC_SOURCE_DIR
-# e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
-# TODO: those files are not properly scanned when building out-of-tree
-# Header files or dirs to ignore when scanning. Use base file/dir names
-# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code
-# Images to copy into HTML directory.
-# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
-# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
-# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
-content_files = ../version.xml
-# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
-# These files must be listed here *and* in content_files
-# e.g. expand_content_files=running.sgml
-# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
-# Only needed if you are using gtkdoc-scangobj to dynamically query widget
-# signals and properties.
-# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
-# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
- -I$(top_srcdir)/libpurple/protocols/$(DOC_MODULE) \
- $(INTROSPECTION_CFLAGS)
- $(top_builddir)/libpurple/protocols/$(DOC_MODULE)/lib$(DOC_MODULE).la \
-# This includes the standard gtk-doc make rules, copied by gtkdocize.
-include $(top_srcdir)/gtk-doc.make
-# Other files to distribute
-# e.g. EXTRA_DIST += version.xml.in
-# Files not to distribute
-# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
-# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
-DISTCLEANFILES = $(DOC_MODULE).types $(DOC_MODULE)-sections.txt
-dist-hook: html-build.stamp
-# Comment this out if you want 'make check' to test you doc status
-# and run some sanity checks
- DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
-#TESTS = $(GTKDOC_CHECK)
--- a/finch/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,184 +0,0 @@
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = finch.pc
-SUBDIRS = libgnt . plugins
-# XXX: should this be lib_, or noinst_?
-lib_LTLIBRARIES = libfinch.la
-libfinchincludedir=$(includedir)/finch
-libfinchinclude_HEADERS = \
-libfinch_la_DEPENDENCIES = @LIBOBJS@
-libfinch_la_LDFLAGS = -export-dynamic -no-undefined \
- -version-info $(PURPLE_LT_VERSION_INFO)
- $(INTROSPECTION_LIBS) \
- $(top_builddir)/libpurple/libpurple.la
-finch_DEPENDENCIES = $(builddir)/libfinch.la
-finch_LDFLAGS = -export-dynamic
-finch_LDADD = $(builddir)/libfinch.la $(libfinch_la_LIBADD)
- $(AM_V_GEN)$(WINDRES) -i $< -o $@
-FINCH_WIN32RES = finch_winres.o
-finch_DEPENDENCIES += $(FINCH_WIN32RES)
-finch_LDFLAGS += -Wl,$(FINCH_WIN32RES)
-LIBFINCH_WIN32RES = libfinch_winres.o
-libfinch_la_DEPENDENCIES += $(LIBFINCH_WIN32RES)
-libfinch_la_LDFLAGS += -Wl,$(LIBFINCH_WIN32RES)
- -I$(top_srcdir)/libpurple/ \
- -I$(top_builddir)/libpurple \
- $(INTROSPECTION_CFLAGS) \
--include $(INTROSPECTION_MAKEFILE)
-INTROSPECTION_SCANNER_ARGS = \
- --add-include-path=$(prefix)/share/gir-1.0 \
- --add-include-path=$(builddir)/libgnt \
- --add-include-path=$(top_builddir)/libpurple \
- --pkg=purple-$(PURPLE_MAJOR_VERSION) \
-INTROSPECTION_COMPILER_ARGS = \
- --includedir=$(prefix)/share/gir-1.0 \
- --includedir=$(builddir)/libgnt \
- --includedir=$(top_builddir)/libpurple
-introspection_sources = $(libfinchinclude_HEADERS)
-Finch-$(PURPLE_MAJOR_VERSION).$(PURPLE_MINOR_VERSION).gir: $(builddir)/libfinch.la
-Finch_3_0_gir_INCLUDES = \
- Gnt-$(GNT_MAJOR_VERSION).$(GNT_MINOR_VERSION) \
- Purple-$(PURPLE_MAJOR_VERSION).$(PURPLE_MINOR_VERSION)
-Finch_3_0_gir_CFLAGS = \
- -DDATADIR=\"$(datadir)\" \
- -DLIBDIR=\"$(libdir)/finch/\" \
- -DLOCALEDIR=\"$(datadir)/locale\" \
- -DSYSCONFDIR=\"$(sysconfdir)\" \
- -I$(top_srcdir)/libpurple/ \
- -I$(top_builddir)/libpurple/ \
- $(INTROSPECTION_CFLAGS) \
-Finch_3_0_gir_LIBS = $(builddir)/libfinch.la
-Finch_3_0_gir_FILES = $(introspection_sources)
-INTROSPECTION_GIRS += Finch-$(PURPLE_MAJOR_VERSION).$(PURPLE_MINOR_VERSION).gir
-INTROSPECTION_SCANNER_ENV = PKG_CONFIG_PATH=$(top_builddir)/libpurple/data/
- $(prefix)/share/gir-1.0 \
- $(INTROSPECTION_GIRDIR)
-gir_DATA = $(INTROSPECTION_GIRS)
- $(prefix)/share/gir-1.0 \
- $(INTROSPECTION_TYPELIBDIR)
-typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
-CLEANFILES = $(gir_DATA) $(typelib_DATA)
--- a/finch/libgnt/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,134 +0,0 @@
-pkgconfigdir = $(libdir)/pkgconfig
-lib_LTLIBRARIES = libgnt.la
-noinst_HEADERS = gntinternal.h
-libgnt_laincludedir=$(includedir)/gnt
-libgnt_lainclude_HEADERS = \
-libgnt_la_DEPENDENCIES =
-libgnt_la_LDFLAGS = -export-dynamic -version-info $(GNT_LT_VERSION_INFO) -no-undefined
- $(INTROSPECTION_LIBS) \
- $(AM_V_GEN)$(WINDRES) -i $< -o $@
-LIBGNT_WIN32RES = libgnt_winres.o
-libgnt_la_DEPENDENCIES += $(LIBGNT_WIN32RES)
-libgnt_la_LDFLAGS += -Wl,$(LIBGNT_WIN32RES)
-libgnt_la_LIBADD += -lgmodule-2.0
- $(INTROSPECTION_CFLAGS) \
--include $(INTROSPECTION_MAKEFILE)
-INTROSPECTION_SCANNER_ARGS = \
- --add-include-path=$(prefix)/share/gir-1.0 \
-INTROSPECTION_COMPILER_ARGS = --includedir=$(prefix)/share/gir-1.0
-introspection_sources = $(libgnt_lainclude_HEADERS)
-Gnt-$(GNT_MAJOR_VERSION).$(GNT_MINOR_VERSION).gir: $(builddir)/libgnt.la
-Gnt_2_9_gir_INCLUDES = GObject-2.0
- $(INTROSPECTION_CFLAGS) \
-Gnt_2_9_gir_LIBS = $(builddir)/libgnt.la
-Gnt_2_9_gir_FILES = $(introspection_sources)
-INTROSPECTION_GIRS += Gnt-$(GNT_MAJOR_VERSION).$(GNT_MINOR_VERSION).gir
- $(prefix)/share/gir-1.0 \
- $(INTROSPECTION_GIRDIR)
-gir_DATA = $(INTROSPECTION_GIRS)
- $(prefix)/share/gir-1.0 \
- $(INTROSPECTION_TYPELIBDIR)
-typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
-CLEANFILES = $(gir_DATA) $(typelib_DATA)
--- a/finch/libgnt/wms/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-# These custom wms depend on libpurple
-s_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-irssi_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-plugindir = $(libdir)/gnt
-irssi_la_SOURCES = irssi.c
- $(top_builddir)/libpurple/libpurple.la
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
- -I$(top_srcdir)/finch \
- -I$(top_srcdir)/finch/libgnt \
--- a/finch/plugins/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-gntclipboard_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-gntgf_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-gnthistory_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-gntlastlog_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-gnttinyurl_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-grouping_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-plugindir = @FINCH_PLUGINDIR@
-gntclipboard_la_SOURCES = gntclipboard.c
-gntgf_la_SOURCES = gntgf.c
-gnthistory_la_SOURCES = gnthistory.c
-gntlastlog_la_SOURCES = lastlog.c
-gnttinyurl_la_SOURCES = gnttinyurl.c
-grouping_la_SOURCES = grouping.c
-gntclipboard_la_CFLAGS = $(X11_CFLAGS)
-gntgf_la_CFLAGS = $(X11_CFLAGS)
-gntclipboard_la_LIBADD = @FINCH_LIBS@ $(X11_LIBS)
-gntgf_la_LIBADD = @FINCH_LIBS@ $(X11_LIBS)
-gnthistory_la_LIBADD = @FINCH_LIBS@
-gntlastlog_la_LIBADD = @FINCH_LIBS@
-gnttinyurl_la_LIBADD = @FINCH_LIBS@
-grouping_la_LIBADD = @FINCH_LIBS@
- -I$(top_builddir)/libpurple \
- -I$(top_srcdir)/libpurple \
- -I$(top_srcdir)/finch \
- -I$(top_srcdir)/finch/libgnt \
-# This part allows people to build their own plugins in here.
- $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_builddir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module @PLUGIN_LDFLAGS@ $(PLUGIN_LIBS)
- @rm -f tmp$@.lo tmp$@.o libtmp$@.la
- @cp .libs/libtmp$@.so.so $@
- @rm -rf .libs/libtmp$@.*
--- a/glib-tap.mk Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,135 +0,0 @@
-# GLIB - Library of useful C routines
- G_TEST_SRCDIR="$(abs_srcdir)" \
- G_TEST_BUILDDIR="$(abs_builddir)" \
- MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256))
-LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/tap-driver.sh
-LOG_COMPILER = $(top_srcdir)/tap-test
-# initialize variables for unconditional += appending
-CLEANFILES = *.log *.trs
-installed_test_LTLIBRARIES =
-installed_test_PROGRAMS =
-installed_test_SCRIPTS =
-nobase_installed_test_DATA =
-# We support a fairly large range of possible variables. It is expected that all types of files in a test suite
-# will belong in exactly one of the following variables.
-# First, we support the usual automake suffixes, but in lowercase, with the customary meaning:
-# test_programs, test_scripts, test_data, test_ltlibraries
-# The above are used to list files that are involved in both uninstalled and installed testing. The
-# test_programs and test_scripts are taken to be actual testcases and will be run as part of the test suite.
-# Note that _data is always used with the nobase_ automake variable name to ensure that installed test data is
-# installed in the same way as it appears in the package layout.
-# In order to mark a particular file as being only for one type of testing, use 'installed' or 'uninstalled',
-# installed_test_programs, uninstalled_test_programs
-# installed_test_scripts, uninstalled_test_scripts
-# installed_test_data, uninstalled_test_data
-# installed_test_ltlibraries, uninstalled_test_ltlibraries
-# Additionally, we support 'extra' infixes for programs and scripts. This is used for support programs/scripts
-# that should not themselves be run as testcases (but exist to be used from other testcases):
-# test_extra_programs, installed_test_extra_programs, uninstalled_test_extra_programs
-# test_extra_scripts, installed_test_extra_scripts, uninstalled_test_extra_scripts
-# Additionally, for _scripts and _data, we support the customary dist_ prefix so that the named script or data
-# file automatically end up in the tarball.
-# dist_test_scripts, dist_test_data, dist_test_extra_scripts
-# dist_installed_test_scripts, dist_installed_test_data, dist_installed_test_extra_scripts
-# dist_uninstalled_test_scripts, dist_uninstalled_test_data, dist_uninstalled_test_extra_scripts
-# Note that no file is automatically disted unless it appears in one of the dist_ variables. This follows the
-# standard automake convention of not disting programs scripts or data by default.
-# test_programs, test_scripts, uninstalled_test_programs and uninstalled_test_scripts (as well as their disted
-# variants) will be run as part of the in-tree 'make check'. These are all assumed to be runnable under
-# gtester. That's a bit strange for scripts, but it's possible.
-TESTS += $(test_programs) $(test_scripts) $(uninstalled_test_programs) $(uninstalled_test_scripts) \
- $(dist_test_scripts) $(dist_uninstalled_test_scripts)
-# Note: build even the installed-only targets during 'make check' to ensure that they still work.
-# We need to do a bit of trickery here and manage disting via EXTRA_DIST instead of using dist_ prefixes to
-# prevent automake from mistreating gmake functions like $(wildcard ...) and $(addprefix ...) as if they were
-# filenames, including removing duplicate instances of the opening part before the space, eg. '$(addprefix'.
-all_test_programs = $(test_programs) $(uninstalled_test_programs) $(installed_test_programs) \
- $(test_extra_programs) $(uninstalled_test_extra_programs) $(installed_test_extra_programs)
-all_test_scripts = $(test_scripts) $(uninstalled_test_scripts) $(installed_test_scripts) \
- $(test_extra_scripts) $(uninstalled_test_extra_scripts) $(installed_test_extra_scripts)
-all_dist_test_scripts = $(dist_test_scripts) $(dist_uninstalled_test_scripts) $(dist_installed_test_scripts) \
- $(dist_test_extra_scripts) $(dist_uninstalled_test_extra_scripts) $(dist_installed_test_extra_scripts)
-all_test_scripts += $(all_dist_test_scripts)
-EXTRA_DIST += $(all_dist_test_scripts)
-all_test_data = $(test_data) $(uninstalled_test_data) $(installed_test_data)
-all_dist_test_data = $(dist_test_data) $(dist_uninstalled_test_data) $(dist_installed_test_data)
-all_test_data += $(all_dist_test_data)
-EXTRA_DIST += $(all_dist_test_data)
-all_test_ltlibs = $(test_ltlibraries) $(uninstalled_test_ltlibraries) $(installed_test_ltlibraries)
-if ENABLE_ALWAYS_BUILD_TESTS
-noinst_LTLIBRARIES += $(all_test_ltlibs)
-noinst_PROGRAMS += $(all_test_programs)
-noinst_SCRIPTS += $(all_test_scripts)
-noinst_DATA += $(all_test_data)
-check_LTLIBRARIES += $(all_test_ltlibs)
-check_PROGRAMS += $(all_test_programs)
-check_SCRIPTS += $(all_test_scripts)
-check_DATA += $(all_test_data)
-if ENABLE_INSTALLED_TESTS
-installed_test_PROGRAMS += $(test_programs) $(installed_test_programs) \
- $(test_extra_programs) $(installed_test_extra_programs)
-installed_test_SCRIPTS += $(test_scripts) $(installed_test_scripts) \
- $(test_extra_scripts) $(installed_test_extra_scripts)
-installed_test_SCRIPTS += $(dist_test_scripts) $(dist_test_extra_scripts) \
- $(dist_installed_test_scripts) $(dist_installed_test_extra_scripts)
-nobase_installed_test_DATA += $(test_data) $(installed_test_data)
-nobase_installed_test_DATA += $(dist_test_data) $(dist_installed_test_data)
-installed_test_LTLIBRARIES += $(test_ltlibraries) $(installed_test_ltlibraries)
-installed_testcases = $(test_programs) $(installed_test_programs) \
- $(test_scripts) $(installed_test_scripts) \
- $(dist_test_scripts) $(dist_installed_test_scripts)
-installed_test_meta_DATA = $(installed_testcases:=.test)
-%.test: %$(EXEEXT) Makefile
- $(AM_V_GEN) (echo '[Test]' > $@.tmp; \
- echo 'Type=session' >> $@.tmp; \
- echo 'Exec=$(installed_testdir)/$(notdir $<) --tap' >> $@.tmp; \
- echo 'Output=TAP' >> $@.tmp; \
-CLEANFILES += $(installed_test_meta_DATA)
--- a/libpurple/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,506 +0,0 @@
- dbus-analyze-functions.py \
- dbus-analyze-signals.py \
- dbus-analyze-types.py \
- purple-notifications-example \
- data/purple-3-uninstalled.pc.in \
- data/purple-url-handler.desktop.in \
- win32/libc_interface.c \
- win32/libc_interface.h \
- win32/libc_internal.h \
- win32/libpurplerc.rc.in \
-SUBDIRS = . plugins protocols tests example
- media/backend-iface.c \
- tls-certificate-info.c \
- tls-certificate-info.h \
-purple_coreheaders += media-gst.h
-EXTRA_DIST += media-gst.h
- win32/libc_interface.c \
- win32/libc_interface.h \
- win32/libc_internal.h \
- $(AM_V_GEN)$(WINDRES) -i $< -o $@
-LIBPURPLE_WIN32RES = win32/libpurplerc.o
-LIBPURPLE_WIN32RES_LDFLAGS = -Wl,$(LIBPURPLE_WIN32RES)
-purple_builtheaders = purple.h version.h enums.h
- $(srcdir)/buddyicon.h \
- $(srcdir)/connection.h \
- $(srcdir)/conversation.h \
- $(srcdir)/conversationtypes.h \
- $(srcdir)/eventloop.h \
- $(srcdir)/protocols.h \
-# glib-mkenums doesn't handle VPATHs well, sed is used here to fix the
-# include paths and documentation.
-# Escaping possible . in $(srcdir) to \. for sed pattern.
-enums.h: $(srcdir)/enums.h.in $(purple_enumheaders)
- $(AM_V_GEN)$(GLIB_MKENUMS) --template $(srcdir)/enums.h.in $(purple_enumheaders) > $@
- sed -i 's,$(subst .,\.,$(srcdir))/,,g' $@
-enums.c: $(srcdir)/enums.c.in $(purple_enumheaders)
- $(AM_V_GEN)$(GLIB_MKENUMS) --template $(srcdir)/enums.c.in $(purple_enumheaders) > $@
- sed -i 's,$(subst .,\.,$(srcdir))/,,g' $@
- data/purple-url-handler.desktop
- dbus-client-binding.c \
- dbus-client-binding.h \
- purple-client-bindings.ch \
- purple-client-bindings.h \
-dbus_sources = dbus-server.c dbus-useful.c
-dbus_headers = dbus-server.h dbus-bindings.h dbus-purple.h dbus-useful.h dbus-define-api.h dbus-types.h
-dbus_exported = dbus-useful.h dbus-define-api.h account.h accounts.h blistnode.h \
- buddy.h buddylist.h buddyicon.h connection.h conversation.h \
- conversationtypes.h conversations.h core.h xfer.h log.h notify.h \
- prefs.h presence.h roomlist.h savedstatuses.h smiley.h smiley-list.h \
- status.h server.h util.h xmlnode.h protocol.h protocols.h
-# Filter out enums.h as it doesn't actually generate anything.
-# This way making from a VPATH and distcheck doesn't fail due
-# to not being able to find the enums.h file if it's already
-# been generated in the $(srcdir).
-purple_build_coreheaders = $(addprefix $(srcdir)/, $(purple_coreheaders)) \
- $(addprefix $(srcdir)/media/, $(purple_mediaheaders)) \
- $(filter-out: enums.h, $(purple_builtheaders))
-dbus_build_exported = $(addprefix $(srcdir)/, $(dbus_exported))
-# We should probably make this better
-dbus_signals = $(addprefix $(srcdir)/, $(purple_coresources)) \
- $(srcdir)/protocols/irc/irc.c \
- $(srcdir)/protocols/jabber/jabber.c
-dbus-types.ch: dbus-analyze-types.py $(purple_build_coreheaders)
- $(AM_V_GEN) $(PYTHON) $(srcdir)/dbus-analyze-types.py --pattern=PURPLE_DBUS_DEFINE_TYPE\(%s\) -o $@ $(purple_build_coreheaders)
-dbus-types.h: dbus-analyze-types.py $(purple_build_coreheaders)
- $(AM_V_GEN) $(PYTHON) $(srcdir)/dbus-analyze-types.py --pattern=PURPLE_DBUS_DECLARE_TYPE\(%s\) -o $@ $(purple_build_coreheaders)
-dbus-bindings.ch: dbus-analyze-functions.py $(dbus_exported)
- $(AM_V_GEN)$(PYTHON) $(srcdir)/dbus-analyze-functions.py -o $@ $(dbus_build_exported)
-dbus-signals.ch: dbus-analyze-signals.py $(dbus_signals)
- $(AM_V_GEN) $(PYTHON) $(srcdir)/dbus-analyze-signals.py -o $@ $(dbus_signals)
-dbus-server.$(OBJEXT): dbus-bindings.ch dbus-signals.ch dbus-types.ch dbus-types.h
-dbus-server.lo: dbus-bindings.ch dbus-signals.ch dbus-types.ch dbus-types.h
-# Declare these as dependencies so they're built even if `make distcheck`
-# is run immediately after configuring.
-$(libpurple_la_OBJECTS): dbus-types.h enums.h
-libpurple_client_lib = libpurple-client.la
-libpurple_client_la_SOURCES = purple-client.c purple-client.h
-libpurple_client_la_LDFLAGS = -version-info $(PURPLE_LT_VERSION_INFO) -no-undefined
-libpurple_client_la_LIBADD = $(DBUS_LIBS)
-purple-client-bindings.ch: dbus-analyze-functions.py $(dbus_exported)
- $(AM_V_GEN) $(PYTHON) $(srcdir)/dbus-analyze-functions.py --client -o $@ $(dbus_build_exported)
-purple-client-bindings.h: dbus-analyze-types.py dbus-analyze-functions.py $(purple_coreheaders) $(addprefix media/, $(purple_mediaheaders)) $(purple_builtheaders) $(dbus_exported)
- $(AM_V_GEN) $(PYTHON) $(srcdir)/dbus-analyze-types.py --keyword=enum --verbatim -o $@ $(purple_build_coreheaders)
- $(AM_V_at) $(PYTHON) $(srcdir)/dbus-analyze-functions.py --client --headers --append -o $@ $(dbus_build_exported)
-$(libpurple_client_la_OBJECTS): purple-client-bindings.h purple-client-bindings.ch
-purple_client_example_SOURCES = purple-client-example.c
-purple_client_example_DEPENDENCIES = libpurple-client.la
-purple_client_example_LDADD = \
-bin_PROGRAMS = purple-client-example
-purple-client-example.$(OBJEXT): purple-client-bindings.h
-bin_SCRIPTS = purple-remote purple-send purple-send-async purple-url-handler
-BUILT_SOURCES = $(purple_builtheaders) \
- $(purple_builtsources) \
- purple-client-bindings.ch \
- purple-client-bindings.h
-BUILT_SOURCES = $(purple_builtheaders) $(purple_builtsources)
-# Declare these as dependencies so they're built even if `make distcheck`
-# is run immediately after configuring.
-$(libpurple_la_OBJECTS): enums.h
-lib_LTLIBRARIES = libpurple.la $(libpurple_client_lib)
-libpurple_la_SOURCES = \
- $(purple_coresources) \
- $(purple_builtsources) \
-libpurpleincludedir=$(includedir)/libpurple
-libpurpleinclude_HEADERS = \
- $(purple_coreheaders) \
- $(purple_builtheaders) \
-mediaincludedir=$(includedir)/libpurple/media
-mediainclude_HEADERS = \
- $(addprefix $(srcdir)/media/, $(purple_mediaheaders))
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = data/purple-3.pc
-DESKTOP_FILE=data/purple-url-handler.desktop
-appsdir = $(datadir)/applications
-apps_in_files = data/purple-url-handler.desktop.in
-apps_DATA = $(apps_in_files:.desktop.in=.desktop)
-# silenced INTLTOOL_DESKTOP_RULE
-%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po)
- $(AM_V_GEN) LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ > /dev/null
-libpurple_la_DEPENDENCIES = \
- $(STATIC_LINK_LIBS) $(LIBPURPLE_WIN32RES)
-libpurple_la_LDFLAGS = -export-dynamic -version-info $(PURPLE_LT_VERSION_INFO) \
- -no-undefined $(LIBPURPLE_WIN32RES_LDFLAGS)
- $(NETWORKMANAGER_LIBS) \
- $(GSTINTERFACES_LIBS) \
- $(INTROSPECTION_LIBS) \
- $(GSTINTERFACES_CFLAGS) \
- $(NETWORKMANAGER_CFLAGS) \
- $(INTROSPECTION_CFLAGS)
--include $(INTROSPECTION_MAKEFILE)
-INTROSPECTION_SCANNER_ARGS = --add-include-path=$(prefix)/share/gir-1.0 --warn-all --pkg-export=purple-$(PURPLE_MAJOR_VERSION)
-INTROSPECTION_COMPILER_ARGS = --includedir=$(prefix)/share/gir-1.0
-introspection_sources = \
- $(libpurpleinclude_HEADERS) \
- $(addprefix media/, $(purple_mediaheaders))
-Purple-$(PURPLE_MAJOR_VERSION).$(PURPLE_MINOR_VERSION).gir: $(builddir)/libpurple.la
-Purple_3_0_gir_INCLUDES = Gio-2.0 GObject-2.0
-Purple_3_0_gir_INCLUDES += GPlugin-0.0
-Purple_3_0_gir_INCLUDES += DBus-1.0 DBusGLib-1.0
-Purple_3_0_gir_CFLAGS = \
- -DDATADIR=\"$(datadir)\" \
- -DLIBDIR=\"$(libdir)/purple-$(PURPLE_MAJOR_VERSION)/\" \
- -DLOCALEDIR=\"$(datadir)/locale\" \
- -DSYSCONFDIR=\"$(sysconfdir)\" \
- $(GSTINTERFACES_CFLAGS) \
- $(NETWORKMANAGER_CFLAGS) \
- $(INTROSPECTION_CFLAGS)
-Purple_3_0_gir_LIBS = $(builddir)/libpurple.la
-Purple_3_0_gir_FILES = $(introspection_sources)
-INTROSPECTION_GIRS += Purple-$(PURPLE_MAJOR_VERSION).$(PURPLE_MINOR_VERSION).gir
-girdir = $(prefix)/share/gir-1.0 $(INTROSPECTION_GIRDIR)
-gir_DATA = $(INTROSPECTION_GIRS)
-typelibdir = $(prefix)/share/gir-1.0 $(INTROSPECTION_TYPELIBDIR)
-typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
-CLEANFILES += $(gir_DATA) $(typelib_DATA)
--- a/libpurple/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,224 +0,0 @@
-# Description: Makefile for win32 (mingw) version of libpurple
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-NEEDED_DLLS = $(CYRUS_SASL_TOP)/bin/libsasl2-3.dll
- $(CYRUS_SASL_TOP)/lib/sasl2/libanonymous-3.dll \
- $(CYRUS_SASL_TOP)/lib/sasl2/libcrammd5-3.dll \
- $(CYRUS_SASL_TOP)/lib/sasl2/libdigestmd5-3.dll \
- $(CYRUS_SASL_TOP)/lib/sasl2/libplain-3.dll
- -I$(PURPLE_TOP)/win32 \
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(JSON_GLIB_TOP)/include/json-glib-1.0 \
- -I$(LIBXML2_TOP)/include/libxml2 \
- -I$(NSS_TOP)/include/nspr4 \
- -I$(NSS_TOP)/include/nss3 \
- -I$(GNUTLS_TOP)/include \
-LIB_PATHS += -L$(GTK_TOP)/lib \
- -L$(JSON_GLIB_TOP)/lib \
- media/backend-iface.c \
- win32/libc_interface.c \
-RC_SRC = win32/libpurplerc.rc
-OBJECTS = $(C_SRC:%.c=%.o) $(RC_SRC:%.rc=%.o)
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install install_shallow clean
- $(MAKE_at) $(MAKE) -C $(PURPLE_PROTOS_TOP) -f $(MINGW_MAKEFILE)
- $(MAKE_at) $(MAKE) -C $(PURPLE_PLUGINS_TOP) -f $(MINGW_MAKEFILE)
-install_shallow: $(PURPLE_INSTALL_DIR) $(TARGET).dll
- cp $(TARGET).dll $(PURPLE_INSTALL_DIR)
- cp $(NEEDED_DLLS) $(PURPLE_INSTALL_DIR)
- mkdir -p $(PURPLE_INSTALL_DIR)/sasl2
- cp $(CYRUS_SASL_PLUGINS) $(PURPLE_INSTALL_DIR)/sasl2
-install: install_shallow all
- $(MAKE_at) $(MAKE) -C $(PURPLE_PROTOS_TOP) -f $(MINGW_MAKEFILE) install
- $(MAKE_at) $(MAKE) -C $(PURPLE_PLUGINS_TOP) -f $(MINGW_MAKEFILE) install
-./win32/libpurplerc.rc: ./win32/libpurplerc.rc.in $(PIDGIN_TREE_TOP)/VERSION
- @sed -e 's/@PURPLE_VERSION@/$(PURPLE_VERSION)/g' \
- -e 's/@PURPLE_MAJOR_VERSION@/$(PURPLE_MAJOR_VERSION)/g' \
- -e 's/@PURPLE_MINOR_VERSION@/$(PURPLE_MINOR_VERSION)/g' \
- -e 's/@PURPLE_MICRO_VERSION@/$(PURPLE_MICRO_VERSION)/g' \
- -e 's/@PURPLE_API_VERSION@/$(PURPLE_API_VERSION)/g' \
-$(OBJECTS): $(PURPLE_CONFIG_H) $(PURPLE_VERSION_H) $(PURPLE_PURPLE_H)
-enums.h: enums.h.in $(ENUM_HEADERS)
- @$(GLIB_MKENUMS) --template enums.h.in $(ENUM_HEADERS) > enums.h
-enums.c: enums.c.in enums.h $(ENUM_HEADERS)
- @$(GLIB_MKENUMS) --template enums.c.in $(ENUM_HEADERS) > enums.c
-$(TARGET).dll $(TARGET).dll.a: $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -Wl,--output-def,$(TARGET).def,--out-implib,$(TARGET).dll.a -o $(TARGET).dll
- rm -f $(OBJECTS) $(RC_SRC) $(PURPLE_VERSION_H) $(PURPLE_PURPLE_H) enums.h enums.c
- rm -f $(TARGET).dll $(TARGET).dll.a $(TARGET).def
- $(MAKE_at) $(MAKE) -C $(PURPLE_PROTOS_TOP) -f $(MINGW_MAKEFILE) clean
- $(MAKE_at) $(MAKE) -C $(PURPLE_PLUGINS_TOP) -f $(MINGW_MAKEFILE) clean
-include $(PIDGIN_COMMON_TARGETS)
--- a/libpurple/example/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-noinst_PROGRAMS = nullclient
-nullclient_SOURCES = defines.h nullclient.c
-nullclient_DEPENDENCIES =
-nullclient_LDFLAGS = -export-dynamic
- $(top_builddir)/libpurple/libpurple.la \
- -I$(top_builddir)/libpurple \
- -I$(top_srcdir)/libpurple \
--- a/libpurple/plugins/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,137 +0,0 @@
-DBUS_LTLIB = dbus-example.la
-plugindir = @PURPLE_PLUGINDIR@
-autoaccept_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-buddynote_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-codeinline_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-debug_example_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-helloworld_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-idle_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-joinpart_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-log_reader_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-notify_example_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-offlinemsg_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-one_time_password_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-pluginpref_example_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-psychic_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-signals_test_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-simple_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-statenotify_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-# this can't be in a conditional otherwise automake 1.4 yells
-dbus_example_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
- pluginpref_example.la \
-autoaccept_la_SOURCES = autoaccept.c
-buddynote_la_SOURCES = buddynote.c
-codeinline_la_SOURCES = codeinline.c
-debug_example_la_SOURCES = debug_example.c
-helloworld_la_SOURCES = helloworld.c
-idle_la_SOURCES = idle.c
-joinpart_la_SOURCES = joinpart.c
-log_reader_la_SOURCES = log_reader.c
-notify_example_la_SOURCES = notify_example.c
-offlinemsg_la_SOURCES = offlinemsg.c
-one_time_password_la_SOURCES = one_time_password.c
-pluginpref_example_la_SOURCES = pluginpref_example.c
-psychic_la_SOURCES = psychic.c
-signals_test_la_SOURCES = signals-test.c
-simple_la_SOURCES = simple.c
-statenotify_la_SOURCES = statenotify.c
-autoaccept_la_LIBADD = @PURPLE_LIBS@
-buddynote_la_LIBADD = @PURPLE_LIBS@
-codeinline_la_LIBADD = @PURPLE_LIBS@
-idle_la_LIBADD = @PURPLE_LIBS@
-joinpart_la_LIBADD = @PURPLE_LIBS@
-log_reader_la_LIBADD = @PURPLE_LIBS@
-notify_example_la_LIBADD = @PURPLE_LIBS@
-offlinemsg_la_LIBADD = @PURPLE_LIBS@
-one_time_password_la_LIBADD = @PURPLE_LIBS@
-pluginpref_example_la_LIBADD = @PURPLE_LIBS@
-psychic_la_LIBADD = @PURPLE_LIBS@
-signals_test_la_LIBADD = @PURPLE_LIBS@
-simple_la_LIBADD = @PURPLE_LIBS@
-statenotify_la_LIBADD = @PURPLE_LIBS@
-CLEANFILES = dbus-example-bindings.ch
-dbus_example_la_SOURCES = dbus-example.c
-dbus_example_la_LIBADD = @PURPLE_LIBS@ $(DBUS_LIBS)
-$(top_builddir)/libpurple/dbus-types.h: always
- $(AM_V_GEN)cd $(@D) && $(MAKE) $(AM_MAKEFLAGS) $(@F)
-dbus-example-bindings.ch: $(top_srcdir)/libpurple/dbus-analyze-functions.py $(dbus_example_la_SOURCES)
- $(AM_V_GEN)cat $(srcdir)/$(dbus_example_la_SOURCES) | \
- $(PYTHON) $(top_srcdir)/libpurple/dbus-analyze-functions.py --export-only > $@
-$(dbus_example_la_OBJECTS) dbus-example.so: dbus-example-bindings.ch $(top_builddir)/libpurple/dbus-types.h
- dbus-buddyicons-example.py \
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
-# This part allows people to build their own plugins in here.
- $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_builddir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module @PLUGIN_LDFLAGS@ $(PLUGIN_LIBS)
- @rm -f tmp$@.lo tmp$@.o libtmp$@.la
- @cp .libs/libtmp$@*.so $@
- @rm -rf .libs/libtmp$@.*
--- a/libpurple/plugins/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-# Description: Makefile for win32 (mingw) version of libpurple Plugins
-PIDGIN_TREE_TOP := ../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-KEYRING_PLUGIN := ./keyrings
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
-LIB_PATHS += -L$(GTK_TOP)/lib \
-.PHONY: all clean plugins install
-all: $(PURPLE_DLL).a plugins
- $(MAKE_at) $(MAKE) -C $(KEYRING_PLUGIN) -f $(MINGW_MAKEFILE)
-install: all $(PURPLE_INSTALL_PLUGINS_DIR)
- $(MAKE_at) $(MAKE) -C $(KEYRING_PLUGIN) -f $(MINGW_MAKEFILE) install
- cp *.dll $(PURPLE_INSTALL_PLUGINS_DIR)
-%.dll: %.c $(PURPLE_CONFIG_H) $(PURPLE_VERSION_H)
- $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $<
- $(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@
- $(MAKE_at) $(MAKE) -C $(KEYRING_PLUGIN) -f $(MINGW_MAKEFILE) clean
-include $(PIDGIN_COMMON_TARGETS)
--- a/libpurple/plugins/keyrings/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,99 +0,0 @@
-plugindir = @PURPLE_PLUGINDIR@
-internalkeyring_la_CFLAGS = $(AM_CPPFLAGS) $(NETTLE_CFLAGS)
-internalkeyring_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-internalkeyring_la_SOURCES = internalkeyring.c
-internalkeyring_la_LIBADD = @PURPLE_LIBS@ $(NETTLE_LIBS)
-secretservice_la_CFLAGS = $(AM_CPPFLAGS) $(SECRETSERVICE_CFLAGS)
-secretservice_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-secretservice_la_SOURCES = secretservice.c
-secretservice_la_LIBADD = @PURPLE_LIBS@ $(SECRETSERVICE_LIBS)
-gnomekeyring_la_CFLAGS = $(AM_CPPFLAGS) $(GNOMEKEYRING_CFLAGS)
-gnomekeyring_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-gnomekeyring_la_SOURCES = gnomekeyring.c
-gnomekeyring_la_LIBADD = @PURPLE_LIBS@ $(GNOMEKEYRING_LIBS)
-wincred_la_CFLAGS = $(AM_CPPFLAGS)
-wincred_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-wincred_la_SOURCES = wincred.c
-wincred_la_LIBADD = @PURPLE_LIBS@
-kwallet_la_CXXFLAGS = $(KWALLET_CXXFLAGS) $(QT4_CFLAGS)
-kwallet_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-kwallet_la_SOURCES = kwallet.cpp
-kwallet_la_BUILTSOURCES = kwallet.moc
-kwallet_la_LIBADD = @PURPLE_LIBS@ $(KWALLET_LIBS) $(QT4_LIBS)
-kwallet.cpp: kwallet.moc
- $(AM_V_GEN)$(MOC) $(kwallet_la_CXXFLAGS) -i $(srcdir)/kwallet.cpp -o $@
-CLEANFILES += kwallet.moc
-#XXX: that might be done better than adding DEBUG_CPPFLAGS to all objects (not only C++ ones)
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
--- a/libpurple/plugins/keyrings/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-# Description: Makefile for keyring plugins.
-PIDGIN_TREE_TOP := ../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-TARGET_INTERNAL = internalkeyring
-TARGET_WINCRED = wincred
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(PURPLE_TOP)/win32 \
-C_SRC_INTERNAL = internalkeyring.c
-OBJECTS_INTERNAL = $(C_SRC_INTERNAL:%.c=%.o)
-C_SRC_WINCRED = wincred.c
-OBJECTS_WINCRED = $(C_SRC_WINCRED:%.c=%.o)
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install clean
-all: $(TARGET_INTERNAL).dll $(TARGET_WINCRED).dll
-install: all $(PURPLE_INSTALL_PLUGINS_DIR) $(PURPLE_INSTALL_DIR)
- cp $(TARGET_INTERNAL).dll $(PURPLE_INSTALL_PLUGINS_DIR)
- cp $(TARGET_WINCRED).dll $(PURPLE_INSTALL_PLUGINS_DIR)
-$(OBJECTS_INTERNAL): $(PURPLE_CONFIG_H)
-$(TARGET_INTERNAL).dll: $(PURPLE_DLL) $(OBJECTS_INTERNAL)
- $(CC) -shared $(OBJECTS_INTERNAL) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET_INTERNAL).dll
-$(TARGET_WINCRED).dll: $(PURPLE_DLL) $(OBJECTS_WINCRED)
- $(CC) -shared $(OBJECTS_WINCRED) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET_WINCRED).dll
- rm -f $(OBJECTS_INTERNAL) $(TARGET_INTERNAL).dll
- rm -f $(OBJECTS_WINCRED) $(TARGET_WINCRED).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/libpurple/protocols/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-EXTRA_DIST = Makefile.mingw
-DIST_SUBDIRS = bonjour facebook gg irc jabber novell null oscar sametime silc simple zephyr
-SUBDIRS = $(DYNAMIC_PRPLS) $(STATIC_PRPLS)
--- a/libpurple/protocols/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-# Author: hermanator12002@yahoo.com
-# Description: Protocols Makefile for win32 (mingw) port of libpurple
-PIDGIN_TREE_TOP := ../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-SUBDIRS = gg irc jabber novell null oscar sametime silc simple bonjour
-.PHONY: all install clean
- $(MAKE_at) for subdir in $(SUBDIRS); do \
- $(MAKE) -C $$subdir -f $(MINGW_MAKEFILE) || exit 1; \
- $(MAKE_at) for subdir in $(SUBDIRS); do \
- $(MAKE) -C $$subdir -f $(MINGW_MAKEFILE) install || exit 1; \
- $(MAKE_at) for subdir in $(SUBDIRS); do \
- $(MAKE) -C $$subdir -f $(MINGW_MAKEFILE) clean || exit 1; \
--- a/libpurple/protocols/bonjour/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-pkgdir = @PURPLE_PLUGINDIR@
-BONJOURSOURCES += dns_sd_proxy.c mdns_dns_sd.c
-BONJOURSOURCES += mdns_avahi.c
-libbonjour_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-st = -DPURPLE_STATIC_PRPL
-noinst_LTLIBRARIES = libbonjour.la
-libbonjour_la_SOURCES = $(BONJOURSOURCES)
-libbonjour_la_CFLAGS = $(AM_CFLAGS)
-pkg_LTLIBRARIES = libbonjour.la
-libbonjour_la_SOURCES = $(BONJOURSOURCES)
-libbonjour_la_LIBADD = @PURPLE_LIBS@ $(LIBXML_LIBS) $(AVAHI_LIBS)
-libbonjour_la_LIBADD += -lnetapi32
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
--- a/libpurple/protocols/bonjour/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,92 +0,0 @@
-# Description: Makefile for win32 (mingw) version of libbonjour
-PIDGIN_TREE_TOP := ../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_DIR)
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_PLUGINS_DIR)
-CFLAGS += -DUSE_BONJOUR_APPLE
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(LIBXML2_TOP)/include/libxml2 \
- -I$(PURPLE_TOP)/win32 \
-LIB_PATHS += -L$(GTK_TOP)/lib \
-OBJECTS = $(C_SRC:%.c=%.o)
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install clean
-install: all $(DLL_INSTALL_DIR)
- cp $(TARGET).dll $(DLL_INSTALL_DIR)
-$(OBJECTS): $(PURPLE_CONFIG_H)
-$(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/libpurple/protocols/facebook/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-pkgdir = @PURPLE_PLUGINDIR@
-libfacebook_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-st = -DPURPLE_STATIC_PRPL
-noinst_LTLIBRARIES = libfacebook.la
-libfacebook_la_SOURCES = $(FACEBOOKSOURCES)
-libfacebook_la_CFLAGS = $(AM_CFLAGS)
-pkg_LTLIBRARIES = libfacebook.la
-libfacebook_la_SOURCES = $(FACEBOOKSOURCES)
-libfacebook_la_LIBADD = @PURPLE_LIBS@ $(JSON_LIBS)
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
--- a/libpurple/protocols/facebook/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,94 +0,0 @@
-# Description: Makefile for win32 (mingw) version of libfacebook
-PIDGIN_TREE_TOP := ../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_DIR)
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_PLUGINS_DIR)
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(JSON_GLIB_TOP)/include/json-glib-1.0 \
- -I$(PURPLE_TOP)/win32 \
-LIB_PATHS += -L$(GTK_TOP)/lib \
- -L$(JSON_GLIB_TOP)/lib \
-OBJECTS = $(C_SRC:%.c=%.o)
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install clean
-install: all $(DLL_INSTALL_DIR)
- cp $(TARGET).dll $(DLL_INSTALL_DIR)
-$(OBJECTS): $(PURPLE_CONFIG_H)
-$(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/libpurple/protocols/gg/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,88 +0,0 @@
-pkgdir = @PURPLE_PLUGINDIR@
- oauth/oauth-parameter.c \
- oauth/oauth-parameter.h \
-libgg_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-st = -DPURPLE_STATIC_PRPL
-noinst_LTLIBRARIES = libgg.la
-libgg_la_SOURCES = $(GGSOURCES)
-libgg_la_CFLAGS = $(AM_CFLAGS)
-pkg_LTLIBRARIES = libgg.la
-libgg_la_SOURCES = $(GGSOURCES)
-libgg_la_LIBADD = @PURPLE_LIBS@ $(LIBGADU_LIBS) $(JSON_LIBS)
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
--- a/libpurple/protocols/gg/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,115 +0,0 @@
-# Description: Makefile for win32 (mingw) version of libgg
-PIDGIN_TREE_TOP := ../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-CFLAGS += -DGG_IGNORE_DEPRECATED
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_DIR)
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_PLUGINS_DIR)
- -I$(PURPLE_TOP)/win32 \
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(GNUTLS_TOP)/include \
- -I$(JSON_GLIB_TOP)/include/json-glib-1.0 \
- -I$(LIBGADU_TOP)/include
- -L$(JSON_GLIB_TOP)/lib \
- oauth/oauth-parameter.c \
-OBJECTS = $(C_SRC:%.c=%.o)
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install clean
-install: all $(DLL_INSTALL_DIR)
- cp $(TARGET).dll $(DLL_INSTALL_DIR)
-$(OBJECTS): $(PURPLE_CONFIG_H)
-$(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/libpurple/protocols/irc/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-pkgdir = @PURPLE_PLUGINDIR@
-libirc_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-st = -DPURPLE_STATIC_PRPL
-noinst_LTLIBRARIES = libirc.la
-libirc_la_SOURCES = $(IRCSOURCES)
-libirc_la_CFLAGS = $(AM_CFLAGS)
-pkg_LTLIBRARIES = libirc.la
-libirc_la_SOURCES = $(IRCSOURCES)
-libirc_la_LIBADD = @PURPLE_LIBS@ $(SASL_LIBS)
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
--- a/libpurple/protocols/irc/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,93 +0,0 @@
-# Description: Makefile for win32 (mingw) version of libirc
-PIDGIN_TREE_TOP := ../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_DIR)
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_PLUGINS_DIR)
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(PURPLE_TOP)/win32 \
-LIB_PATHS += -L$(GTK_TOP)/lib \
-OBJECTS = $(C_SRC:%.c=%.o)
-INCLUDE_PATHS += -I$(CYRUS_SASL_TOP)/include
-LIB_PATHS += -L$(CYRUS_SASL_TOP)/lib
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install clean
-install: all $(DLL_INSTALL_DIR)
- cp $(TARGET).dll $(DLL_INSTALL_DIR)
-$(OBJECTS): $(PURPLE_CONFIG_H)
-$(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/libpurple/protocols/jabber/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,135 +0,0 @@
-pkgdir = @PURPLE_PLUGINDIR@
- google/google_presence.c \
- google/google_presence.h \
- google/google_roster.c \
- google/google_roster.h \
- google/google_session.c \
- google/google_session.h \
-libjabber_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-JABBERSOURCES += auth_cyrus.c
-st = -DPURPLE_STATIC_PRPL
-noinst_LTLIBRARIES = libjabber.la
-libjabber_la_SOURCES = $(JABBERSOURCES)
-libjabber_la_CFLAGS = $(AM_CFLAGS)
-pkg_LTLIBRARIES = libjabber.la
-libjabber_la_SOURCES = $(JABBERSOURCES)
-libjabber_la_LIBADD = @PURPLE_LIBS@ $(SASL_LIBS) $(LIBXML_LIBS) $(IDN_LIBS)\
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
--- a/libpurple/protocols/jabber/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,142 +0,0 @@
-# Description: Makefile for win32 (mingw) version of libjabber
-PIDGIN_TREE_TOP := ../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_DIR)
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_PLUGINS_DIR)
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(LIBXML2_TOP)/include/libxml2 \
- -I$(PURPLE_TOP)/win32 \
-LIB_PATHS += -L$(GTK_TOP)/lib \
-VV_SRC = google/google_p2p.c
- google/google_presence.c \
- google/google_roster.c \
- google/google_session.c \
-OBJECTS = $(C_SRC:%.c=%.o)
-INCLUDE_PATHS += -I$(CYRUS_SASL_TOP)/include
-LIB_PATHS += -L$(CYRUS_SASL_TOP)/lib
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install clean
-install: all $(DLL_INSTALL_DIR)
- cp $(TARGET).dll $(DLL_INSTALL_DIR)
-$(OBJECTS): $(PURPLE_CONFIG_H)
-$(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
- rm -f $(OBJECTS) $(TARGET).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/libpurple/protocols/jabber/tests/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-include $(top_srcdir)/glib-tap.mk
- $(top_builddir)/libpurple/libpurple.la \
- $(top_builddir)/libpurple/protocols/jabber/libjabber.la \
- test_jabber_digest_md5 \
-test_jabber_caps_SOURCES=test_jabber_caps.c
-test_jabber_caps_LDADD=$(COMMON_LIBS)
-test_jabber_digest_md5_SOURCES=test_jabber_digest_md5.c
-test_jabber_digest_md5_LDADD=$(COMMON_LIBS)
-test_jabber_jutil_SOURCES=test_jabber_jutil.c
-test_jabber_jutil_LDADD=$(COMMON_LIBS)
-test_jabber_scram_SOURCES=test_jabber_scram.c
-test_jabber_scram_LDADD=$(COMMON_LIBS)
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
--- a/libpurple/protocols/novell/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-pkgdir = @PURPLE_PLUGINDIR@
-libnovell_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-st = -DPURPLE_STATIC_PRPL
-noinst_LTLIBRARIES = libnovell.la
-libnovell_la_SOURCES = $(NOVELLSOURCES)
-libnovell_la_CFLAGS = $(AM_CFLAGS)
-pkg_LTLIBRARIES = libnovell.la
-libnovell_la_SOURCES = $(NOVELLSOURCES)
-libnovell_la_LIBADD = @PURPLE_LIBS@
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
--- a/libpurple/protocols/novell/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,89 +0,0 @@
-# Description: Makefile for win32 (mingw) version of libnovell
-PIDGIN_TREE_TOP := ../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_DIR)
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_PLUGINS_DIR)
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(PURPLE_TOP)/win32 \
-LIB_PATHS += -L$(GTK_TOP)/lib \
-OBJECTS = $(C_SRC:%.c=%.o)
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install clean
-install: all $(DLL_INSTALL_DIR)
- cp $(TARGET).dll $(DLL_INSTALL_DIR)
-$(OBJECTS): $(PURPLE_CONFIG_H)
-$(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/libpurple/protocols/null/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-pkgdir = @PURPLE_PLUGINDIR@
-libnull_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-# nullprpl isn't built by default; when it is built, it's dynamically linked
-pkg_LTLIBRARIES = libnull.la
-libnull_la_SOURCES = $(NULLSOURCES)
-libnull_la_LIBADD = @PURPLE_LIBS@
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
--- a/libpurple/protocols/null/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,80 +0,0 @@
-# Description: Makefile for win32 (mingw) version of libnull
-PIDGIN_TREE_TOP := ../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_DIR)
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_PLUGINS_DIR)
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(PURPLE_TOP)/win32 \
-LIB_PATHS += -L$(GTK_TOP)/lib \
-OBJECTS = $(C_SRC:%.c=%.o)
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install install_real clean
-install_real: all $(DLL_INSTALL_DIR) $(PURPLE_INSTALL_DIR)
- cp $(TARGET).dll $(DLL_INSTALL_DIR)
-$(OBJECTS): $(PURPLE_CONFIG_H)
-$(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/libpurple/protocols/oscar/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,83 +0,0 @@
-pkgdir = @PURPLE_PLUGINDIR@
-liboscar_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-st = -DPURPLE_STATIC_PRPL
-noinst_LTLIBRARIES = liboscar.la
-liboscar_la_SOURCES = $(OSCARSOURCES)
-liboscar_la_CFLAGS = $(AM_CFLAGS)
-pkg_LTLIBRARIES = liboscar.la
-liboscar_la_SOURCES = $(OSCARSOURCES)
-liboscar_la_LIBADD = @PURPLE_LIBS@
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
--- a/libpurple/protocols/oscar/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,116 +0,0 @@
-# Description: Makefile for win32 (mingw) version of liboscar
-PIDGIN_TREE_TOP := ../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_DIR)
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_PLUGINS_DIR)
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(PURPLE_TOP)/win32 \
-LIB_PATHS += -L$(GTK_TOP)/lib \
-OBJECTS = $(C_SRC:%.c=%.o)
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install clean
-install: all $(DLL_INSTALL_DIR)
- cp $(TARGET).dll $(DLL_INSTALL_DIR)
-$(OBJECTS): $(PURPLE_CONFIG_H)
-$(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
- rm -f $(OBJECTS) $(TARGET).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/libpurple/protocols/oscar/tests/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-include $(top_srcdir)/glib-tap.mk
- $(top_builddir)/libpurple/libpurple.la \
- $(top_builddir)/libpurple/protocols/oscar/liboscar.la \
-test_oscar_util_SOURCES=test_oscar_util.c
-test_oscar_util_LDADD=$(COMMON_LIBS)
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
--- a/libpurple/protocols/sametime/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-pkgdir = @PURPLE_PLUGINDIR@
-noinst_HEADERS = sametime.h
-SAMETIMESOURCES = sametime.c
-st = -DPURPLE_STATIC_PRPL
-noinst_LTLIBRARIES = libsametime.la
-libsametime_la_CFLAGS = $(AM_CFLAGS)
-pkg_LTLIBRARIES = libsametime.la
-libsametime_la_SOURCES = $(SAMETIMESOURCES)
-libsametime_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-libsametime_la_LIBADD = @PURPLE_LIBS@ $(MEANWHILE_LIBS)
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
- -DG_LOG_DOMAIN=\"sametime\"
--- a/libpurple/protocols/sametime/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-# Description: Makefile for win32 (mingw) version of libsametime
-PIDGIN_TREE_TOP := ../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_DIR)
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_PLUGINS_DIR)
-CFLAGS += -DG_LOG_DOMAIN=\"sametime\"
- -I$(MEANWHILE_TOP)/include/meanwhile \
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(PURPLE_TOP)/win32 \
-LIB_PATHS += -L$(GTK_TOP)/lib \
- -L$(MEANWHILE_TOP)/lib \
-OBJECTS = $(C_SRC:%.c=%.o)
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install clean
-install: all $(DLL_INSTALL_DIR) $(PURPLE_INSTALL_DIR)
- cp $(TARGET).dll $(DLL_INSTALL_DIR)
-$(OBJECTS): $(PURPLE_CONFIG_H)
-$(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/libpurple/protocols/silc/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-pkgdir = @PURPLE_PLUGINDIR@
-libsilcpurple_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-st = -DPURPLE_STATIC_PRPL $(SILC_CFLAGS)
-noinst_LTLIBRARIES = libsilcpurple.la
-libsilcpurple_la_SOURCES = $(SILCSOURCES)
-libsilcpurple_la_CFLAGS = $(AM_CFLAGS)
-pkg_LTLIBRARIES = libsilcpurple.la
-libsilcpurple_la_SOURCES = $(SILCSOURCES)
-libsilcpurple_la_LIBADD = @PURPLE_LIBS@ $(SILC_LIBS)
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
--- a/libpurple/protocols/silc/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,91 +0,0 @@
-# Description: Makefile for win32 (mingw) version of libsilc protocol plugin
-PIDGIN_TREE_TOP := ../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-DEFINES := $(subst -DWIN32_LEAN_AND_MEAN,,$(DEFINES))
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_DIR)
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_PLUGINS_DIR)
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(PURPLE_TOP)/win32 \
- -I$(SILC_TOOLKIT)/include
-LIB_PATHS += -L$(GTK_TOP)/lib \
-OBJECTS = $(C_SRC:%.c=%.o)
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install clean
-install: all $(DLL_INSTALL_DIR) $(PURPLE_INSTALL_DIR)
- cp $(TARGET).dll $(DLL_INSTALL_DIR)
-$(OBJECTS): $(PURPLE_CONFIG_H)
-$(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -Wl,--image-base,0x74000000 -o $(TARGET).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/libpurple/protocols/simple/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-pkgdir = @PURPLE_PLUGINDIR@
-libsimple_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-libsimple_la_LIBADD = $(NETTLE_LIBS)
-st = -DPURPLE_STATIC_PRPL
-noinst_LTLIBRARIES = libsimple.la
-libsimple_la_SOURCES = $(SIMPLESOURCES)
-libsimple_la_CFLAGS = $(AM_CFLAGS)
-pkg_LTLIBRARIES = libsimple.la
-libsimple_la_SOURCES = $(SIMPLESOURCES)
-libsimple_la_LIBADD += @PURPLE_LIBS@
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
--- a/libpurple/protocols/simple/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-# Description: Makefile for win32 (mingw) version of libsimple
-PIDGIN_TREE_TOP := ../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_DIR)
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_PLUGINS_DIR)
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(PURPLE_TOP)/win32 \
-LIB_PATHS += -L$(GTK_TOP)/lib \
-OBJECTS = $(C_SRC:%.c=%.o)
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install clean
-install: all $(DLL_INSTALL_DIR)
- cp $(TARGET).dll $(DLL_INSTALL_DIR)
-$(OBJECTS): $(PURPLE_CONFIG_H)
-$(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/libpurple/protocols/zephyr/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,110 +0,0 @@
-pkgdir = @PURPLE_PLUGINDIR@
-ZEPHYRSOURCESEXT = zephyr.c zephyr.h
-ZEPHYRLIBS = $(KRB4_LDFLAGS) $(KRB4_LIBS)
-ZEPHYRLIBSEXT = $(ZEPHYR_LDFLAGS) $(ZEPHYR_LIBS)
-libzephyr_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-st = -DPURPLE_STATIC_PRPL -Dlint
-noinst_LTLIBRARIES = libzephyr.la
-libzephyr_la_SOURCES = $(ZEPHYRSOURCES)
-libzephyr_la_CFLAGS = $(AM_CFLAGS)
-libzephyr_la_LIBADD = @PURPLE_LIBS@ $(ZEPHYRLIBS)
-pkg_LTLIBRARIES = libzephyr.la
-libzephyr_la_SOURCES = $(ZEPHYRSOURCESEXT)
-libzephyr_la_LIBADD = @PURPLE_LIBS@ $(ZEPHYRLIBSEXT)
-libzephyr_la_SOURCES = $(ZEPHYRSOURCES)
-libzephyr_la_LIBADD = @PURPLE_LIBS@ $(ZEPHYRLIBS)
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
- -I$(top_srcdir)/libpurple/protocols \
--- a/libpurple/protocols/zephyr/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,150 +0,0 @@
-# Description: Makefile for win32 (mingw) version of libzephyr
-PIDGIN_TREE_TOP := ../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-KRB4_TOP := $(WIN32_DEV_TOP)/kfw-2.6.3-final.fixed
-DEFINES += -DWIN32 -DKRB5_SYSTYPES__
- DEFINES += -DZEPHYR_USES_KERBEROS
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_DIR)
- DLL_INSTALL_DIR = $(PURPLE_INSTALL_PLUGINS_DIR)
-INCLUDE_PATHS += -I$(ZEPHYR_ROOT) \
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(PURPLE_TOP)/win32 \
-ifeq ($(USE_KRB4), true)
- INCLUDE_PATHS += -I$(KRB4_TOP)/inc/krb4
-LIB_PATHS += -L$(GTK_TOP)/lib \
-ifeq ($(USE_KRB4), true)
- LIB_PATHS+=-L$(KRB4_TOP)/lib/i386
-C_SRC = ZAsyncLocate.c \
-OBJECTS = $(C_SRC:%.c=%.o)
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install clean
-install: all $(DLL_INSTALL_DIR)
- cp $(TARGET).dll $(DLL_INSTALL_DIR)
-$(OBJECTS): $(PURPLE_CONFIG_H)
-$(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -Wl,--enable-stdcall-fixup -o $(TARGET).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/libpurple/tests/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-include $(top_srcdir)/glib-tap.mk
- $(top_builddir)/libpurple/libpurple.la \
-test_image_SOURCES=test_image.c
-test_image_LDADD=$(COMMON_LIBS)
-test_smiley_SOURCES=test_smiley.c
-test_smiley_LDADD=$(COMMON_LIBS)
-test_smiley_list_SOURCES=test_smiley_list.c
-test_smiley_list_LDADD=$(COMMON_LIBS)
-test_trie_SOURCES=test_trie.c
-test_trie_LDADD=$(COMMON_LIBS)
-test_util_SOURCES=test_util.c
-test_util_LDADD=$(COMMON_LIBS)
-test_xmlnode_SOURCES=test_xmlnode.c
-test_xmlnode_LDADD=$(COMMON_LIBS)
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
- -DTEST_DATA_DIR=\"$(srcdir)/data\" \
--- a/m4macros/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-EXTRA_DIST=$(installed_m4) as-ac-expand.m4
-m4datadir=$(datadir)/aclocal
-m4data_DATA=$(installed_m4)
--- a/m4macros/as-ac-expand.m4 Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-dnl as-ac-expand.m4 0.2.0 -*- autoconf -*-
-dnl autostars m4 macro for expanding directories using configure's prefix
-dnl (C) 2003, 2004, 2005 Thomas Vander Stichele <thomas at apestaart dot org>
-dnl Copying and distribution of this file, with or without modification,
-dnl are permitted in any medium without royalty provided the copyright
-dnl notice and this notice are preserved.
-dnl AS_AC_EXPAND(VAR, CONFIGURE_VAR)
-dnl AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
-dnl will set SYSCONFDIR to /usr/local/etc if prefix=/usr/local
-AC_DEFUN([AS_AC_EXPAND],
- dnl first expand prefix and exec_prefix if necessary
- exec_prefix_save=$exec_prefix
- dnl if no prefix given, then use /usr/local, the default prefix
- if test "x$prefix" = "xNONE"; then
- prefix="$ac_default_prefix"
- dnl if no exec_prefix given, then use prefix
- if test "x$exec_prefix" = "xNONE"; then
- dnl loop until it doesn't change anymore
- new_full_var="`eval echo $full_var`"
- if test "x$new_full_var" = "x$full_var"; then break; fi
- AC_SUBST([$1], "$full_var")
- dnl restore prefix and exec_prefix
- exec_prefix=$exec_prefix_save
--- a/m4macros/glibtests.m4 Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
- AC_ARG_ENABLE(installed-tests,
- AS_HELP_STRING([--enable-installed-tests],
- [Enable installation of some test cases]),
- yes) ENABLE_INSTALLED_TESTS="1" ;;
- no) ENABLE_INSTALLED_TESTS="" ;;
- *) AC_MSG_ERROR([bad value ${enableval} for --enable-installed-tests]) ;;
- AM_CONDITIONAL([ENABLE_INSTALLED_TESTS], test "$ENABLE_INSTALLED_TESTS" = "1")
- AC_ARG_ENABLE(always-build-tests,
- AS_HELP_STRING([--enable-always-build-tests],
- [Enable always building tests during 'make all']),
- yes) ENABLE_ALWAYS_BUILD_TESTS="1" ;;
- no) ENABLE_ALWAYS_BUILD_TESTS="" ;;
- *) AC_MSG_ERROR([bad value ${enableval} for --enable-always-build-tests]) ;;
- AM_CONDITIONAL([ENABLE_ALWAYS_BUILD_TESTS], test "$ENABLE_ALWAYS_BUILD_TESTS" = "1")
- if test "$ENABLE_INSTALLED_TESTS" = "1"; then
- AC_SUBST(installed_test_metadir, [${datadir}/installed-tests/]AC_PACKAGE_NAME)
- AC_SUBST(installed_testdir, [${libexecdir}/installed-tests/]AC_PACKAGE_NAME)
--- a/m4macros/introspection.m4 Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,96 +0,0 @@
-dnl -*- mode: autoconf -*-
-dnl Copyright 2009 Johan Dahlin
-dnl This file is free software; the author(s) gives unlimited
-dnl permission to copy and/or distribute it, with or without
-dnl modifications, as long as this notice is preserved.
-m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
- AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
- AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
- AC_BEFORE([LT_INIT],[$0])dnl setup libtool first
- dnl enable/disable introspection
- enable_introspection=yes
- AC_ARG_ENABLE(introspection,
- AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]],
- [Enable introspection for this build]),,
- [enable_introspection=auto])
- AC_MSG_CHECKING([for gobject-introspection])
- dnl presence/version checking
- AS_CASE([$enable_introspection],
- found_introspection="no (disabled, use --enable-introspection to enable)"
- PKG_CHECK_EXISTS([gobject-introspection-1.0],,
- AC_MSG_ERROR([gobject-introspection-1.0 is not installed]))
- PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1],
- found_introspection=yes,
- AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME]))
- PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no)
- dnl Canonicalize enable_introspection
- enable_introspection=$found_introspection
- AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@])
- AC_MSG_RESULT([$found_introspection])
- INTROSPECTION_COMPILER=
- INTROSPECTION_GENERATE=
- INTROSPECTION_TYPELIBDIR=
- if test "x$found_introspection" = "xyes"; then
- INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
- INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
- INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
- INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
- INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
- INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
- INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
- INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
- AC_SUBST(INTROSPECTION_SCANNER)
- AC_SUBST(INTROSPECTION_COMPILER)
- AC_SUBST(INTROSPECTION_GENERATE)
- AC_SUBST(INTROSPECTION_GIRDIR)
- AC_SUBST(INTROSPECTION_TYPELIBDIR)
- AC_SUBST(INTROSPECTION_CFLAGS)
- AC_SUBST(INTROSPECTION_LIBS)
- AC_SUBST(INTROSPECTION_MAKEFILE)
- AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
-dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version])
-AC_DEFUN([GOBJECT_INTROSPECTION_CHECK],
- _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1])
-dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version])
-AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE],
- _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require])
--- a/m4macros/purple.m4 Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
-dnl ###########################################################################
-dnl # Configure paths for libpurple
-dnl # Gary Kramlich 2005
-dnl # Based off of glib-2.0.m4 by Owen Taylor
-dnl ###########################################################################
-dnl ###########################################################################
-dnl # AM_PATH_PURPLE([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
-dnl # Test for purple and define PURPLE_CFLAGS, PURPLE_LIBS, PURPLE_DATADIR, and
-dnl ###########################################################################
-AC_DEFUN([AM_PATH_PURPLE],
- AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
- if test x"$PKG_CONFIG" != x"no" ; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
- echo "*** pkg-config is too old; version 0.7 or newer is required."
- min_version=ifelse([$1], ,2.0.0,$1)
- AC_MSG_CHECKING(for purple - version >= $min_version)
- if test x"$no_purple" = x"" ; then
- PURPLE_DATADIR=`$PKG_CONFIG --variable=datadir purple`
- PURPLE_LIBDIR=`$PKG_CONFIG --variable=libdir purple`
- PURPLE_CFLAGS=`$PKG_CONFIG --cflags purple`
- PURPLE_LIBS=`$PKG_CONFIG --libs purple`
- purple_version=`$PKG_CONFIG --modversion purple`
- purple_major_version=`echo $purple_version | cut -d. -f 1`
- purple_minor_version=`echo $purple_version | cut -d. -f 2`
- dnl # stash the micro version in a temp variable. Then stash
- dnl # the numeric for it in purple_micro_version and anything
- dnl # else in purple_extra_version.
- purple_micro_version_temp=`echo $purple_version | cut -d. -f 3`
- purple_micro_version=`echo $purple_micro_version_temp | sed 's/[[^0-9]]//g'`
- purple_extra_version=`echo $purple_micro_version_temp | sed 's/[[0-9]]//g'`
- dnl # get the major, minor, and macro that the user gave us
- min_major_version=`echo $min_version | cut -d. -f 1`
- min_minor_version=`echo $min_version | cut -d. -f 2`
- min_micro_version=`echo $min_version | cut -d. -f 3`
- dnl # check the users version against the version from pkg-config
- if test $purple_major_version -eq $min_major_version -a \
- $purple_minor_version -ge $min_minor_version -a \
- $purple_micro_version -ge $min_micro_version
- found_version="$purple_major_version.$purple_minor_version.$purple_micro_version$purple_extra_version"
- dnl # Do we want a compile test here?
- if test x"$no_purple" = x"" ; then
- AC_MSG_RESULT(yes (version $purple_major_version.$purple_minor_version.$purple_micro_version$purple_extra_version))
- ifelse([$2], , :, [$2])
- if test x"$PKG_CONFIG" = x"no" ; then
- echo "*** A new enough version of pkg-config was not found."
- echo "*** See http://www.freedesktop.org/software/pkgconfig/"
- if test x"found_version" != x"" ; then
- echo "*** A new enough version of purple was not found."
- echo "*** You have version $found_version"
- echo "*** See https://pidgin.im/"
- ifelse([$3], , :, [$3])
- AC_SUBST(PURPLE_CFLAGS)
- AC_SUBST(PURPLE_DATADIR)
- AC_SUBST(PURPLE_LIBDIR)
--- a/pidgin/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,319 +0,0 @@
- data/im.pidgin.Pidgin.appdata.xml.in \
- data/im.pidgin.Pidgin.desktop.in \
- data/pidgin-3-uninstalled.pc.in \
- win32/MinimizeToTray.h \
- win32/MinimizeToTray.c \
- win32/pidgin_dll_rc.rc.in \
- win32/pidgin_exe_rc.rc.in \
- win32/prepare-workspace.sh \
- win32/gtkdocklet-win32.c \
- win32/nsis/generate_gtk_zip.sh \
- win32/nsis/pixmaps/pidgin-header.bmp \
- win32/nsis/pixmaps/pidgin-intro.bmp \
- win32/nsis/pixmaps/pidgin-install.ico \
- win32/nsis/available.lst \
- win32/nsis/pidgin-installer.nsi \
- win32/nsis/pidgin-plugin.nsh \
- win32/nsis/create_nsis_translations.pl \
- win32/nsis/nsis_translations.desktop.in
-SUBDIRS = . pixmaps plugins themes
-# XXX: should this be lib_, or noinst_?
-lib_LTLIBRARIES = libpidgin.la
-libpidgin_la_SOURCES = \
- gtkblist-theme-loader.c \
- gtkcellrendererexpander.c \
- gtkconv-theme-loader.c \
- gtkicon-theme-loader.c \
- gtkstatus-icon-theme.c \
-libpidgin_la_headers = \
- gtkblist-theme-loader.h \
- gtkcellrendererexpander.h \
- gtkconv-theme-loader.h \
- gtkicon-theme-loader.h \
- gtkstatus-icon-theme.h \
-noinst_HEADERS= gtkinternal.h
-libpidgin_la_SOURCES += \
-# Files that looks like obsolete (were used in Pidgin2):
-# win32/gtkdocklet-win32.c
-# win32/MinimizeToTray.c
-# win32/MinimizeToTray.h
-libpidgin_la_headers += \
- $(AM_V_GEN)$(WINDRES) -I $(srcdir)/win32 -I $(srcdir) -i $< -o $@
-LIBPIDGIN_WIN32RES = win32/pidgin_dll_rc.o
-LIBPIDGIN_WIN32RES_LDFLAGS = -Wl,$(LIBPIDGIN_WIN32RES)
-libpidginincludedir=$(includedir)/pidgin
-libpidgininclude_HEADERS = \
- $(libpidgin_la_headers)
-libpidgin_la_builtheaders = pidginresources.h
-libpidgin_la_builtsources = pidginresources.c
-BUILT_SOURCES = $(libpidgin_la_builtheaders) $(libpidgin_la_builtsources)
-CLEANFILES = pidginresources.h pidginresources.c
-%resources.h: %.gresource.xml
- $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --generate-header --target $@ --c-name $* --sourcedir $(srcdir) $<
-%resources.c: %.gresource.xml
- $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --generate-source --target $@ --c-name $* --sourcedir $(srcdir) $<
-pidginresources.c: gtkdebug.html
-pidginresources.h: gtkdebug.html
-gtkdebug.c: pidginresources.h
-libpidgin_la_DEPENDENCIES = @LIBOBJS@ $(LIBPIDGIN_WIN32RES)
-libpidgin_la_LDFLAGS = -export-dynamic -no-undefined \
- -version-info $(PURPLE_LT_VERSION_INFO) $(LIBPIDGIN_WIN32RES_LDFLAGS)
- $(GSTINTERFACES_LIBS) \
- $(INTROSPECTION_LIBS) \
- $(top_builddir)/libpurple/libpurple.la
-pidgin_DEPENDENCIES = $(builddir)/libpidgin.la
-pidgin_LDFLAGS = -export-dynamic
-pidgin_LDADD = $(builddir)/libpidgin.la $(libpidgin_la_LIBADD)
-libpidgin_la_LIBADD += -lwinmm
-pidgin_LDFLAGS += -mwindows
- -I$(top_builddir)/libpurple \
- -I$(top_srcdir)/libpurple/ \
- $(GSTINTERFACES_CFLAGS) \
- $(INTROSPECTION_CFLAGS)
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = data/pidgin-3.pc
-DESKTOP_FILE=data/im.pidgin.Pidgin.desktop
-appsdir = $(datadir)/applications
-apps_in_files = data/im.pidgin.Pidgin.desktop.in
-apps_DATA = $(apps_in_files:.desktop.in=.desktop)
-# silenced INTLTOOL_DESKTOP_RULE
-%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po)
- $(AM_V_GEN) LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ > /dev/null
-appdatadir = $(datarootdir)/metainfo
-appdata_DATA = $(appdata_in_files:.xml.in=.xml)
-appdata_in_files = data/im.pidgin.Pidgin.appdata.xml.in
-CLEANFILES += $(appdata_DATA)
-DISTCLEANFILES = $(DESKTOP_FILE)
--include $(INTROSPECTION_MAKEFILE)
-INTROSPECTION_SCANNER_ARGS = --warn-all --add-include-path=$(top_builddir)/libpurple --add-include-path=$(prefix)/share/gir-1.0 --pkg=purple-$(PURPLE_MAJOR_VERSION) --pkg-export=pidgin-$(PURPLE_MAJOR_VERSION)
-INTROSPECTION_COMPILER_ARGS = --includedir=$(top_builddir)/libpurple --includedir=$(prefix)/share/gir-1.0
-introspection_sources = $(libpidgininclude_HEADERS)
-Pidgin-$(PURPLE_MAJOR_VERSION).$(PURPLE_MINOR_VERSION).gir: $(builddir)/libpidgin.la
-Pidgin_3_0_gir_INCLUDES = GObject-2.0 Gtk-3.0 Purple-$(PURPLE_MAJOR_VERSION).$(PURPLE_MINOR_VERSION)
-Pidgin_3_0_gir_CFLAGS = \
- -DDATADIR=\"$(datadir)\" \
- -DLIBDIR=\"$(libdir)/pidgin/\" \
- -DLOCALEDIR=\"$(datadir)/locale\" \
- -DSYSCONFDIR=\"$(sysconfdir)\" \
- -I$(top_builddir)/libpurple \
- -I$(top_srcdir)/libpurple/ \
- $(GSTINTERFACES_CFLAGS) \
- $(INTROSPECTION_CFLAGS)
-Pidgin_3_0_gir_LIBS = $(builddir)/libpidgin.la
-Pidgin_3_0_gir_FILES = $(introspection_sources)
-INTROSPECTION_GIRS += Pidgin-$(PURPLE_MAJOR_VERSION).$(PURPLE_MINOR_VERSION).gir
-INTROSPECTION_SCANNER_ENV = PKG_CONFIG_PATH=$(top_builddir)/libpurple/data/
-girdir = $(prefix)/share/gir-1.0 $(INTROSPECTION_GIRDIR)
-gir_DATA = $(INTROSPECTION_GIRS)
-typelibdir = $(prefix)/share/gir-1.0 $(INTROSPECTION_TYPELIBDIR)
-typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
-CLEANFILES += $(gir_DATA) $(typelib_DATA)
--- a/pidgin/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,198 +0,0 @@
-# Description: Makefile for win32 (mingw) version of Pidgin
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-DEFINES := $(subst -DWIN32_LEAN_AND_MEAN,,$(DEFINES))
-EXE_NAME := $(EXE_TARGET).exe
-LDFLAGS := $(WINAPP) $(LD_HARDENING_OPTIONS) -Wl,--enable-auto-import -lssp
-PURPLE_INCLUDE_PATHS = \
- -I$(PURPLE_TOP)/win32 \
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include
- $(PURPLE_INCLUDE_PATHS) \
- -I$(PIDGIN_TOP)/win32 \
- -I$(GTK_TOP)/include/gtk-2.0 \
- -I$(GTK_TOP)/include/pango-1.0 \
- -I$(GTK_TOP)/include/atk-1.0 \
- -I$(GTK_TOP)/include/cairo \
- -I$(GTK_TOP)/include/gdk-pixbuf-2.0 \
- -I$(GTK_TOP)/lib/gtk-2.0/include \
- -I$(LIBSOUP_TOP)/include/libsoup-2.4 \
- -I$(LIBGADU_TOP)/include \
- -I$(WEBKITGTK_TOP)/include/webkitgtk-1.0
-LIB_PATHS += -L$(GTK_TOP)/lib \
- -L$(WEBKITGTK_TOP)/lib \
- gtkblist-theme-loader.c \
- gtkcellrendererexpander.c \
- gtkconv-theme-loader.c \
- gtkicon-theme-loader.c \
- gtkstatus-icon-theme.c \
-PIDGIN_RC_SRC = win32/pidgin_dll_rc.rc
-PIDGIN_OBJECTS = $(PIDGIN_C_SRC:%.c=%.o) $(PIDGIN_RC_SRC:%.rc=%.o)
-EXE_RC_SRC = win32/pidgin_exe_rc.rc
-EXE_C_SRC = win32/winpidgin.c
-EXE_OBJECTS = $(EXE_C_SRC:%.c=%.o) $(EXE_RC_SRC:%.rc=%.o)
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install install_shallow clean
-all: $(EXE_TARGET).exe $(PIDGIN_TARGET).dll
- $(MAKE_at) $(MAKE) -C $(PIDGIN_PLUGINS_TOP) -f $(MINGW_MAKEFILE)
-gtkdialogs.c: $(PIDGIN_REVISION_H)
-win32/pidgin_exe_rc.rc: win32/pidgin_exe_rc.rc.in $(PIDGIN_TREE_TOP)/VERSION
- @sed -e 's/@PURPLE_VERSION@/$(PIDGIN_VERSION)/g' \
- -e 's/@PURPLE_MAJOR_VERSION@/$(PURPLE_MAJOR_VERSION)/g' \
- -e 's/@PURPLE_MINOR_VERSION@/$(PURPLE_MINOR_VERSION)/g' \
- -e 's/@PURPLE_MICRO_VERSION@/$(PURPLE_MICRO_VERSION)/g' \
- -e 's/@PURPLE_API_VERSION@/$(PURPLE_API_VERSION)/g' \
-install_shallow: $(PIDGIN_INSTALL_DIR) $(EXE_TARGET).exe $(PIDGIN_TARGET).dll
- cp $(EXE_TARGET).exe $(PIDGIN_TARGET).dll $(PIDGIN_INSTALL_DIR)
- mkdir -p "$(PIDGIN_INSTALL_DIR)/theme"
- cp -r themes/* "$(PIDGIN_INSTALL_DIR)/theme/"
- chmod -R 777 "$(PIDGIN_INSTALL_DIR)/theme/"
-install: install_shallow all
- $(MAKE_at) $(MAKE) -C $(PIDGIN_PLUGINS_TOP) -f $(MINGW_MAKEFILE) install
- $(MAKE_at) $(MAKE) -C $(PIDGIN_PIXMAPS_TOP) -f $(MINGW_MAKEFILE) install
-win32/pidgin_dll_rc.rc: win32/pidgin_dll_rc.rc.in $(PIDGIN_TREE_TOP)/VERSION
- @sed -e 's/@PURPLE_VERSION@/$(PIDGIN_VERSION)/g' \
- -e 's/@PURPLE_MAJOR_VERSION@/$(PURPLE_MAJOR_VERSION)/g' \
- -e 's/@PURPLE_MINOR_VERSION@/$(PURPLE_MINOR_VERSION)/g' \
- -e 's/@PURPLE_MICRO_VERSION@/$(PURPLE_MICRO_VERSION)/g' \
- -e 's/@PURPLE_API_VERSION@/$(PURPLE_API_VERSION)/g' \
-$(EXE_OBJECTS) $(PIDGIN_OBJECTS): $(PIDGIN_CONFIG_H)
-gtkdebug.c: gtkdebug.html.h
-$(PIDGIN_TARGET).dll $(PIDGIN_TARGET).dll.a: $(PURPLE_DLL).a $(PIDGIN_OBJECTS)
- $(CC) -shared $(PIDGIN_OBJECTS) $(LIB_PATHS) $(PIDGIN_LIBS) $(DLL_LD_FLAGS) -Wl,--output-def,$(PIDGIN_TARGET).def,--out-implib,$(PIDGIN_TARGET).dll.a -o $(PIDGIN_TARGET).dll
-$(EXE_TARGET).exe: $(PIDGIN_CONFIG_H) $(PIDGIN_DLL).a $(EXE_OBJECTS) $(PIDGIN_TARGET).dll
- $(CC) $(EXE_OBJECTS) $(LDFLAGS) -o $(EXE_TARGET).exe
- $(MAKE_at) $(MAKE) -C $(PIDGIN_PLUGINS_TOP) -f $(MINGW_MAKEFILE) clean
- $(MAKE_at) $(MAKE) -C $(PIDGIN_PIXMAPS_TOP) -f $(MINGW_MAKEFILE) clean
- rm -f $(PIDGIN_OBJECTS) $(PIDGIN_RC_SRC) $(EXE_OBJECTS) $(EXE_RC_SRC)
- rm -f $(PIDGIN_TARGET).dll $(PIDGIN_TARGET).dll.a $(PIDGIN_TARGET).def
- rm -f $(EXE_TARGET).exe
-include $(PIDGIN_COMMON_TARGETS)
--- a/pidgin/pixmaps/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,604 +0,0 @@
-pidginpixmapdir = $(datadir)/pixmaps/pidgin
-pidginiconsdir = $(datadir)
-SUBDIRS = emotes/default/24 emotes/small/16
- emotes/default/24/Makefile.mingw \
- emotes/small/16/Makefile.mingw
- animations/16/connect0.png \
- animations/16/connect1.png \
- animations/16/connect2.png \
- animations/16/connect3.png \
- animations/16/connect4.png \
- animations/16/connect5.png \
- animations/16/connect6.png \
- animations/16/connect7.png \
- animations/16/connect8.png \
- animations/16/process-working0.png \
- animations/16/process-working1.png \
- animations/16/process-working2.png \
- animations/16/process-working3.png \
- animations/16/process-working4.png \
- animations/16/process-working5.png \
- animations/16/process-working6.png \
- animations/16/process-working7.png \
- animations/16/process-working8.png \
- animations/16/process-working9.png \
- animations/16/process-working10.png \
- animations/16/process-working11.png \
- animations/16/process-working12.png \
- animations/16/process-working13.png \
- animations/16/process-working14.png \
- animations/16/process-working15.png \
- animations/16/process-working16.png \
- animations/16/process-working17.png \
- animations/16/process-working18.png \
- animations/16/process-working19.png \
- animations/16/process-working20.png \
- animations/16/process-working21.png \
- animations/16/process-working22.png \
- animations/16/process-working23.png \
- animations/16/process-working24.png \
- animations/16/process-working25.png \
- animations/16/process-working26.png \
- animations/16/process-working27.png \
- animations/16/process-working28.png \
- animations/16/process-working29.png \
- animations/16/process-working30.png \
- animations/16/typing0.png \
- animations/16/typing1.png \
- animations/16/typing2.png \
- animations/16/typing3.png \
- animations/16/typing4.png \
- animations/16/typing5.png
- dialogs/16/scalable/error.svg \
- dialogs/16/scalable/info.svg \
- dialogs/16/scalable/mail.svg
- dialogs/16/question.png
- dialogs/64/dialog.png \
- dialogs/64/question.png \
- dialogs/scalable/auth.svg \
- dialogs/scalable/cool.svg \
- dialogs/scalable/dialog.svg \
- dialogs/scalable/error.svg \
- dialogs/scalable/info.svg \
- dialogs/scalable/question.svg \
- dialogs/scalable/warning.svg
- e2ee/16/not-private.png \
- emblems/16/aol-client.png \
- emblems/16/birthday.png \
- emblems/16/blocked.png \
- emblems/16/external.png \
- emblems/16/female.png \
- emblems/16/founder.png \
- emblems/16/free-for-chat.png \
- emblems/16/half-operator.png \
- emblems/16/hiptop.png \
- emblems/16/mobile.png \
- emblems/16/not-authorized.png \
- emblems/16/operator.png \
- emblems/16/secure.png \
- emblems/16/unavailable.png \
- emblems/scalable/aol-client.svg \
- emblems/scalable/blocked.svg \
- emblems/scalable/bot.svg \
- emblems/scalable/external.svg \
- emblems/scalable/female.svg \
- emblems/scalable/free-for-chat.svg \
- emblems/scalable/game.svg \
- emblems/scalable/male.svg \
- emblems/scalable/not-authorized.svg \
- emblems/scalable/secure.svg \
- emblems/scalable/unavailable.svg \
- emblems/scalable/video.svg \
- emblems/scalable/voice.svg
-EMOTES_DEFAULT_24_SCALABLE = \
- emotes/default/24/scalable/airplane.svg \
- emotes/default/24/scalable/bad.svg \
- emotes/default/24/scalable/beer.svg \
- emotes/default/24/scalable/bomb.svg \
- emotes/default/24/scalable/bowl.svg \
- emotes/default/24/scalable/boy.svg \
- emotes/default/24/scalable/brb.svg \
- emotes/default/24/scalable/cake.svg \
- emotes/default/24/scalable/camera.svg \
- emotes/default/24/scalable/can.svg \
- emotes/default/24/scalable/car.svg \
- emotes/default/24/scalable/cat.svg \
- emotes/default/24/scalable/chicken.svg \
- emotes/default/24/scalable/cigarette.svg \
- emotes/default/24/scalable/clock.svg \
- emotes/default/24/scalable/cloudy.svg \
- emotes/default/24/scalable/clover.svg \
- emotes/default/24/scalable/clown.svg \
- emotes/default/24/scalable/coffee.svg \
- emotes/default/24/scalable/coins.svg \
- emotes/default/24/scalable/computer.svg \
- emotes/default/24/scalable/console.svg \
- emotes/default/24/scalable/cow.svg \
- emotes/default/24/scalable/dog.svg \
- emotes/default/24/scalable/drink.svg \
- emotes/default/24/scalable/film.svg \
- emotes/default/24/scalable/flag.svg \
- emotes/default/24/scalable/ghost.svg \
- emotes/default/24/scalable/girl.svg \
- emotes/default/24/scalable/goat.svg \
- emotes/default/24/scalable/good.svg \
- emotes/default/24/scalable/hammer.svg \
- emotes/default/24/scalable/handcuffs.svg \
- emotes/default/24/scalable/island.svg \
- emotes/default/24/scalable/knife.svg \
- emotes/default/24/scalable/lamp.svg \
- emotes/default/24/scalable/liquor.svg \
- emotes/default/24/scalable/mail.svg \
- emotes/default/24/scalable/mobile.svg \
- emotes/default/24/scalable/monkey.svg \
- emotes/default/24/scalable/moon.svg \
- emotes/default/24/scalable/musical-note.svg \
- emotes/default/24/scalable/peace.svg \
- emotes/default/24/scalable/phone.svg \
- emotes/default/24/scalable/pidgin-emotes.svg \
- emotes/default/24/scalable/pig.svg \
- emotes/default/24/scalable/pill.svg \
- emotes/default/24/scalable/pizza.svg \
- emotes/default/24/scalable/plate.svg \
- emotes/default/24/scalable/poop.svg \
- emotes/default/24/scalable/present.svg \
- emotes/default/24/scalable/rainbow.svg \
- emotes/default/24/scalable/rain.svg \
- emotes/default/24/scalable/rose-dead.svg \
- emotes/default/24/scalable/rose.svg \
- emotes/default/24/scalable/search.svg \
- emotes/default/24/scalable/sheep.svg \
- emotes/default/24/scalable/shout.svg \
- emotes/default/24/scalable/skeleton.svg \
- emotes/default/24/scalable/snail.svg \
- emotes/default/24/scalable/snowman.svg \
- emotes/default/24/scalable/soccerball.svg \
- emotes/default/24/scalable/star.svg \
- emotes/default/24/scalable/sun.svg \
- emotes/default/24/scalable/thunder.svg \
- emotes/default/24/scalable/turtle.svg \
- emotes/default/24/scalable/tv.svg \
- emotes/default/24/scalable/umbrella.svg \
- emotes/default/24/scalable/watermelon.svg \
- emotes/default/24/scalable/yin-yang.svg
-EMOTES_SMALL_16_SCALABLE = \
- emotes/small/16/scalable/mobile.svg \
- emotes/small/16/scalable/pidgin-emotes.svg
-PROTOCOLS_16_SCALABLE = \
- protocols/16/scalable/aim.svg \
- protocols/16/scalable/bonjour.svg \
- protocols/16/scalable/gadu-gadu.svg \
- protocols/16/scalable/novell.svg \
- protocols/16/scalable/icq.svg \
- protocols/16/scalable/irc.svg \
- protocols/16/scalable/jabber.svg \
- protocols/16/scalable/meanwhile.svg \
- protocols/16/scalable/silc.svg \
- protocols/16/scalable/simple.svg \
- protocols/16/scalable/zephyr.svg
- protocols/16/bonjour.png \
- protocols/16/facebook.png \
- protocols/16/gadu-gadu.png \
- protocols/16/google-talk.png \
- protocols/16/novell.png \
- protocols/16/jabber.png \
- protocols/16/meanwhile.png \
- protocols/16/silc.png \
- protocols/16/simple.png \
- protocols/16/zephyr.png
- icons/hicolor/16x16/apps/scalable/pidgin.svg
-ICONS_16 = icons/hicolor/16x16/apps/pidgin.png
-ICONS_22 = icons/hicolor/22x22/apps/pidgin.png
- icons/hicolor/24x24/apps/scalable/pidgin.svg
-ICONS_24 = icons/hicolor/24x24/apps/pidgin.png
- icons/hicolor/32x32/apps/scalable/pidgin.svg
-ICONS_32 = icons/hicolor/32x32/apps/pidgin.png
-ICONS_48 = icons/hicolor/48x48/apps/pidgin.png
-ICONS_SCALABLE = icons/hicolor/scalable/apps/pidgin.svg
-PROTOCOLS_22_SCALABLE = \
- protocols/22/scalable/aim.svg \
- protocols/22/scalable/bonjour.svg \
- protocols/22/scalable/gadu-gadu.svg \
- protocols/22/scalable/novell.svg \
- protocols/22/scalable/icq.svg \
- protocols/22/scalable/irc.svg \
- protocols/22/scalable/jabber.svg \
- protocols/22/scalable/meanwhile.svg \
- protocols/22/scalable/silc.svg \
- protocols/22/scalable/simple.svg \
- protocols/22/scalable/zephyr.svg
- protocols/22/bonjour.png \
- protocols/22/facebook.png \
- protocols/22/gadu-gadu.png \
- protocols/22/google-talk.png \
- protocols/22/novell.png \
- protocols/22/jabber.png \
- protocols/22/meanwhile.png \
- protocols/22/silc.png \
- protocols/22/simple.png \
- protocols/22/zephyr.png
- protocols/48/bonjour.png \
- protocols/48/facebook.png \
- protocols/48/gadu-gadu.png \
- protocols/48/google-talk.png \
- protocols/48/novell.png \
- protocols/48/jabber.png \
- protocols/48/meanwhile.png \
- protocols/48/silc.png \
- protocols/48/simple.png \
- protocols/48/zephyr.png
- protocols/scalable/aim.svg \
- protocols/scalable/bonjour.svg \
- protocols/scalable/gadu-gadu.svg \
- protocols/scalable/google-talk.svg \
- protocols/scalable/novell.svg \
- protocols/scalable/icq.svg \
- protocols/scalable/irc.svg \
- protocols/scalable/jabber.svg \
- protocols/scalable/meanwhile.svg \
- protocols/scalable/silc.svg \
- protocols/scalable/simple.svg \
- protocols/scalable/zephyr.svg
- status/11/available.png \
- status/11/extended-away.png \
- status/11/invisible.png \
- status/11/log-out.png \
- status/11/offline.png \
- status/11/rtl/extended-away.png \
- status/11/rtl/log-in.png \
- status/11/rtl/log-out.png
- status/16/available.png \
- status/16/extended-away.png \
- status/16/invisible.png \
- status/16/log-out.png \
- status/16/offline.png \
- status/16/rtl/extended-away.png \
- status/16/rtl/log-in.png \
- status/16/rtl/log-out.png
- status/22/available.png \
- status/22/extended-away.png \
- status/22/invisible.png \
- status/22/log-out.png \
- status/22/offline.png \
- status/22/rtl/extended-away.png \
- status/22/rtl/log-in.png \
- status/22/rtl/log-out.png
- status/32/available.png \
- status/32/extended-away.png \
- status/32/invisible.png \
- status/32/log-out.png \
- status/32/offline.png \
- status/32/rtl/extended-away.png \
- status/32/rtl/log-in.png \
- status/32/rtl/log-out.png
- status/48/available.png \
- status/48/extended-away.png \
- status/48/invisible.png \
- status/48/log-out.png \
- status/48/offline.png \
- status/48/rtl/extended-away.png \
- status/48/rtl/log-in.png \
- status/48/rtl/log-out.png
- toolbar/11/message-new.png
- toolbar/16/scalable/change-bgcolor.svg \
- toolbar/16/scalable/change-fgcolor.svg \
- toolbar/16/scalable/emote-select.svg \
- toolbar/16/scalable/font-size-down.svg \
- toolbar/16/scalable/font-size-up.svg
- toolbar/16/audio-call.png \
- toolbar/16/change-bgcolor.png \
- toolbar/16/change-fgcolor.png \
- toolbar/16/emote-select.png \
- toolbar/16/font-face.png \
- toolbar/16/font-size-down.png \
- toolbar/16/font-size-up.png \
- toolbar/16/insert.png \
- toolbar/16/insert-image.png \
- toolbar/16/insert-link.png \
- toolbar/16/insert-screenshot.png \
- toolbar/16/message-new.png \
- toolbar/16/plugins.png \
- toolbar/16/send-file.png \
- toolbar/16/transfer.png \
- toolbar/16/unblock.png \
- toolbar/16/video-call.png \
- toolbar/16/get-attention.png
- toolbar/22/scalable/select-avatar.svg \
- toolbar/22/scalable/video-call.svg \
- toolbar/22/scalable/audio-call.svg
- toolbar/22/select-avatar.png \
- toolbar/22/video-call.png \
- toolbar/22/audio-call.png
- toolbar/32/scalable/video-call.svg \
- toolbar/32/scalable/audio-call.svg
- toolbar/32/video-call.png \
- toolbar/32/audio-call.png
- toolbar/48/scalable/video-call.svg \
- toolbar/48/scalable/audio-call.svg
- toolbar/48/video-call.png \
- toolbar/48/audio-call.png
- tray/16/available_4bit.ico \
- tray/16/away_4bit.ico \
- tray/16/busy_4bit.ico \
- tray/16/connecting_4bit.ico \
- tray/16/extended-away_4bit.ico \
- tray/16/invisible_4bit.ico \
- tray/16/message_4bit.ico \
- tray/16/offline_4bit.ico
-TRAY_THEME = tray/hicolor/index.theme
- tray/hicolor/16x16/status/pidgin-tray-away.png \
- tray/hicolor/16x16/status/pidgin-tray-busy.png \
- tray/hicolor/16x16/status/pidgin-tray-invisible.png \
- tray/hicolor/16x16/status/pidgin-tray-connect.png \
- tray/hicolor/16x16/status/pidgin-tray-xa.png \
- tray/hicolor/16x16/status/pidgin-tray-email.png \
- tray/hicolor/16x16/status/pidgin-tray-pending.png \
- tray/hicolor/16x16/status/pidgin-tray-offline.png \
- tray/hicolor/16x16/status/pidgin-tray-available.png
- tray/hicolor/22x22/status/pidgin-tray-away.png \
- tray/hicolor/22x22/status/pidgin-tray-busy.png \
- tray/hicolor/22x22/status/pidgin-tray-connect.png \
- tray/hicolor/22x22/status/pidgin-tray-xa.png \
- tray/hicolor/22x22/status/pidgin-tray-invisible.png \
- tray/hicolor/22x22/status/pidgin-tray-email.png \
- tray/hicolor/22x22/status/pidgin-tray-pending.png \
- tray/hicolor/22x22/status/pidgin-tray-offline.png \
- tray/hicolor/22x22/status/pidgin-tray-available.png
- tray/hicolor/32x32/status/pidgin-tray-away.png \
- tray/hicolor/32x32/status/pidgin-tray-busy.png \
- tray/hicolor/32x32/status/pidgin-tray-connect.png \
- tray/hicolor/32x32/status/pidgin-tray-xa.png \
- tray/hicolor/32x32/status/pidgin-tray-invisible.png \
- tray/hicolor/32x32/status/pidgin-tray-email.png \
- tray/hicolor/32x32/status/pidgin-tray-pending.png \
- tray/hicolor/32x32/status/pidgin-tray-offline.png \
- tray/hicolor/32x32/status/pidgin-tray-available.png
- tray/hicolor/48x48/status/pidgin-tray-away.png \
- tray/hicolor/48x48/status/pidgin-tray-busy.png \
- tray/hicolor/48x48/status/pidgin-tray-connect.png \
- tray/hicolor/48x48/status/pidgin-tray-xa.png \
- tray/hicolor/48x48/status/pidgin-tray-invisible.png \
- tray/hicolor/48x48/status/pidgin-tray-email.png \
- tray/hicolor/48x48/status/pidgin-tray-pending.png \
- tray/hicolor/48x48/status/pidgin-tray-offline.png \
- tray/hicolor/48x48/status/pidgin-tray-available.png
- $(DIALOGS_16_SCALABLE) \
- $(EMOTES_DEFAULT_24_SCALABLE) \
- $(PROTOCOLS_16_SCALABLE) \
- $(PROTOCOLS_22_SCALABLE) \
- $(TOOLBAR_16_SCALABLE) \
- $(TOOLBAR_22_SCALABLE) \
- $(TOOLBAR_32_SCALABLE) \
-pidginbuttonpixdir = $(datadir)/pixmaps/pidgin/buttons
-pidginbuttonpix_DATA = edit.png pause.png info.png
-pidgindistpixdir = $(datadir)/pixmaps/pidgin
-pidgindistpix_DATA = logo.png arrow-down.xpm arrow-left.xpm arrow-right.xpm arrow-up.xpm
-nobase_dist_pidginpixmap_DATA = \
- $(PROTOCOLS_SCALABLE) \
-# Install in a location compatible with hicolor-icon-theme 0.9
-pidginpixmaptray16dir = $(datadir)/pixmaps/pidgin/tray/hicolor/16x16/actions
-dist_pidginpixmaptray16_DATA = $(TRAY_16)
-pidginpixmaptray22dir = $(datadir)/pixmaps/pidgin/tray/hicolor/22x22/actions
-dist_pidginpixmaptray22_DATA = $(TRAY_22)
-pidginpixmaptray32dir = $(datadir)/pixmaps/pidgin/tray/hicolor/32x32/actions
-dist_pidginpixmaptray32_DATA = $(TRAY_32)
-pidginpixmaptray48dir = $(datadir)/pixmaps/pidgin/tray/hicolor/48x48/actions
-dist_pidginpixmaptray48_DATA = $(TRAY_48)
-# Install in the "correct" locations
-nobase_dist_pidginpixmap_DATA += \
-nobase_dist_pidginicons_DATA = \
--- a/pidgin/pixmaps/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-# Description: Makefile for win32 (mingw) version of Pidgin pixmaps
-PIDGIN_TREE_TOP := ../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-datadir := $(PIDGIN_INSTALL_DIR)
--include ./Makefile.am.mingw
-install: ./Makefile.am.mingw
- $(MAKE_at) if test '$(SUBDIRS)'; then \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- $(MAKE) -C $$subdir -f $(MINGW_MAKEFILE) install || exit 1 ;\
- if test '$(nobase_dist_pidginpixmap_DATA)'; then \
- list='$(nobase_dist_pidginpixmap_DATA)'; for file in $$list; do \
- dir=`dirname $$file`; \
- mkdir -p $(pidginpixmapdir)/$$dir; \
- cp $$file $(pidginpixmapdir)/$$dir/; \
- if test '$(pidginbuttonpix_DATA)'; then \
- mkdir -p $(pidginbuttonpixdir); \
- cp $(pidginbuttonpix_DATA) $(pidginbuttonpixdir); \
- if test '$(pidgindistpix_DATA)'; then \
- mkdir -p $(pidgindistpixdir); \
- cp $(pidgindistpix_DATA) $(pidgindistpixdir); \
-clean: ./Makefile.am.mingw
- $(MAKE_at) if test '$(SUBDIRS)'; then \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- $(MAKE) -C $$subdir -f $(MINGW_MAKEFILE) clean;\
- rm -f ./Makefile.am.mingw
-./Makefile.am.mingw: ./Makefile.am ./Makefile.mingw
- -e 's/^if\ INSTALL_PIXMAPS/ifeq (\$$(INSTALL_PIXMAPS), 1)/' \
- -e 's/^if\ ENABLE_TRAYCOMPAT/ifeq (\$$(ENABLE_TRAYCOMPAT), 1)/' \
--- a/pidgin/pixmaps/emotes/default/24/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,203 +0,0 @@
-pidginsmileypix_in_files = default.theme.in
-pidginsmileypixdir = $(datadir)/pixmaps/pidgin/emotes/default
-pidginsmileypix_DATA = \
- $(AM_V_GEN) sed -e 's/^_Name=/Name=/' \
- -e 's/^_Description=/Description=/' \
- -e 's/^_Author=/Author=/' \
-EXTRA_DIST = $(SMILEYS) $(pidginsmileypix_in_files) theme
--- a/pidgin/pixmaps/emotes/default/24/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-# Description: Makefile for win32 (mingw) version of Pidgin pixmaps
-PIDGIN_TREE_TOP := ../../../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-datadir = $(PIDGIN_INSTALL_DIR)
--include ./Makefile.am.mingw
-install: ./Makefile.am.mingw theme
- if test '$(pidginsmileypix_DATA)'; then \
- mkdir -p $(pidginsmileypixdir); \
- cp $(pidginsmileypix_DATA) $(pidginsmileypixdir); \
- rm -f theme ./Makefile.am.mingw
-./Makefile.am.mingw: ./Makefile.am
- sed -e 's/^if\ INSTALL_PIXMAPS/ifeq (\$$(INSTALL_PIXMAPS), 1)/' ./Makefile.am > $@
--- a/pidgin/pixmaps/emotes/small/16/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,103 +0,0 @@
-# These are mood images that are NOT also used in the smiley theme.
-pidginsmileypix_in_files = small.theme.in
-pidginsmileypixdir = $(datadir)/pixmaps/pidgin/emotes/small
-pidginsmileypix_DATA = \
- $(AM_V_GEN) sed -e 's/^_Name=/Name=/' \
- -e 's/^_Description=/Description=/' \
- -e 's/^_Author=/Author=/' \
-EXTRA_DIST = $(MOODS) $(SMILEYS) $(pidginsmileypix_in_files) theme
--- a/pidgin/pixmaps/emotes/small/16/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-# Description: Makefile for win32 (mingw) version of Pidgin pixmaps
-PIDGIN_TREE_TOP := ../../../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-datadir = $(PIDGIN_INSTALL_DIR)
--include ./Makefile.am.mingw
-install: ./Makefile.am.mingw theme
- if test '$(pidginsmileypix_DATA)'; then \
- mkdir -p $(pidginsmileypixdir); \
- cp $(pidginsmileypix_DATA) $(pidginsmileypixdir); \
- rm -f theme ./Makefile.am.mingw
-./Makefile.am.mingw: ./Makefile.am
- sed -e 's/^if\ INSTALL_PIXMAPS/ifeq (\$$(INSTALL_PIXMAPS), 1)/' ./Makefile.am > $@
--- a/pidgin/plugins/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,149 +0,0 @@
-DIST_SUBDIRS = cap disco gestures gevolution musicmessaging ticker win32/winprefs win32/transparency
-GEVOLUTION_DIR = gevolution
-MUSICMESSAGING_DIR = musicmessaging
- $(MUSICMESSAGING_DIR) \
-plugindir = @PIDGIN_PLUGINDIR@
-contact_priority_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-extplacement_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-gtk_signals_test_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-gtkbuddynote_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-history_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-iconaway_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-imgupload_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-markerline_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-notify_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-relnot_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-screencap_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-sendbutton_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-spellchk_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-unity_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-webkit_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-xmppconsole_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-plugin_LTLIBRARIES += unity.la
-contact_priority_la_SOURCES = contact_priority.c
-extplacement_la_SOURCES = extplacement.c
-gtk_signals_test_la_SOURCES = gtk-signals-test.c
-gtkbuddynote_la_SOURCES = gtkbuddynote.c
-history_la_SOURCES = history.c
-iconaway_la_SOURCES = iconaway.c
-imgupload_la_SOURCES = imgupload.c
-markerline_la_SOURCES = markerline.c
-notify_la_SOURCES = notify.c
-relnot_la_SOURCES = relnot.c
-screencap_la_SOURCES = screencap.c
-sendbutton_la_SOURCES = sendbutton.c
-spellchk_la_SOURCES = spellchk.c
-unity_la_SOURCES = unity.c
-webkit_la_SOURCES = webkit.c
-xmppconsole_la_SOURCES = xmppconsole.c
-contact_priority_la_LIBADD = @PIDGIN_LIBS@
-extplacement_la_LIBADD = @PIDGIN_LIBS@
-gtk_signals_test_la_LIBADD = @PIDGIN_LIBS@
-gtkbuddynote_la_LIBADD = @PIDGIN_LIBS@
-history_la_LIBADD = @PIDGIN_LIBS@
-iconaway_la_LIBADD = @PIDGIN_LIBS@
-imgupload_la_LIBADD = @PIDGIN_LIBS@ $(JSON_LIBS)
-markerline_la_LIBADD = @PIDGIN_LIBS@ $(WEBKIT_LIBS)
-notify_la_LIBADD = @PIDGIN_LIBS@
-relnot_la_LIBADD = @PIDGIN_LIBS@
-screencap_la_LIBADD = @PIDGIN_LIBS@
-sendbutton_la_LIBADD = @PIDGIN_LIBS@
-spellchk_la_LIBADD = @PIDGIN_LIBS@
-unity_la_LIBADD = @PIDGIN_LIBS@ $(UNITY_LIBS)
-webkit_la_LIBADD = @PIDGIN_LIBS@ $(WEBKIT_LIBS)
-xmppconsole_la_LIBADD = @PIDGIN_LIBS@
-imgupload_la_CFLAGS = $(JSON_CFLAGS)
- win32/transparency/Makefile.mingw \
- win32/transparency/win2ktrans.c \
- win32/winprefs/gtkappbar.c \
- win32/winprefs/gtkappbar.h \
- win32/winprefs/Makefile.mingw \
- win32/winprefs/winprefs.c
- -I$(top_builddir)/libpurple \
- -I$(top_srcdir)/libpurple \
- -I$(top_srcdir)/pidgin \
-# This part allows people to build their own plugins in here.
- $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_builddir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module @PLUGIN_LDFLAGS@ $(PLUGIN_LIBS)
- @rm -f tmp$@.lo tmp$@.o libtmp$@.la
- @cp .libs/libtmp$@*.so $@
- @rm -rf .libs/libtmp$@.*
--- a/pidgin/plugins/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,110 +0,0 @@
-# Description: Makefile for win32 (mingw) version of Pidgin Plugins
-PIDGIN_TREE_TOP := ../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-TICKER_PLUGIN := ./ticker
-TRANSPARENCY_PLUGIN := ./win32/transparency
-WINPREFS_PLUGIN := ./win32/winprefs
- -I$(GTK_TOP)/include/gtk-2.0 \
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/include/pango-1.0 \
- -I$(GTK_TOP)/include/atk-1.0 \
- -I$(GTK_TOP)/include/cairo \
- -I$(GTK_TOP)/include/gdk-pixbuf-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(GTK_TOP)/lib/gtk-2.0/include \
- -I$(LIBSOUP_TOP)/include/libsoup-2.4 \
- -I$(WEBKITGTK_TOP)/include/webkitgtk-1.0 \
- -I$(PURPLE_TOP)/win32 \
-LIB_PATHS += -L$(GTK_TOP)/lib \
- -L$(WEBKITGTK_TOP)/lib \
-LIBS = -lgtk-win32-2.0 \
-.PHONY: all clean plugins install
- $(MAKE_at) $(MAKE) -C $(DISCO_PLUGIN) -f $(MINGW_MAKEFILE)
- $(MAKE_at) $(MAKE) -C $(TICKER_PLUGIN) -f $(MINGW_MAKEFILE)
- $(MAKE_at) $(MAKE) -C $(TRANSPARENCY_PLUGIN) -f $(MINGW_MAKEFILE)
- $(MAKE_at) $(MAKE) -C $(WINPREFS_PLUGIN) -f $(MINGW_MAKEFILE)
-install: all $(PIDGIN_INSTALL_PLUGINS_DIR)
- $(MAKE_at) $(MAKE) -C $(DISCO_PLUGIN) -f $(MINGW_MAKEFILE) install
- $(MAKE_at) $(MAKE) -C $(TICKER_PLUGIN) -f $(MINGW_MAKEFILE) install
- $(MAKE_at) $(MAKE) -C $(TRANSPARENCY_PLUGIN) -f $(MINGW_MAKEFILE) install
- $(MAKE_at) $(MAKE) -C $(WINPREFS_PLUGIN) -f $(MINGW_MAKEFILE) install
- cp *.dll $(PIDGIN_INSTALL_PLUGINS_DIR)
-%.dll: %.c $(PURPLE_CONFIG_H) $(PURPLE_VERSION_H)
- $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $<
- $(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@
-include $(PIDGIN_COMMON_RULES)
- $(MAKE_at) $(MAKE) -C $(DISCO_PLUGIN) -f $(MINGW_MAKEFILE) clean
- $(MAKE_at) $(MAKE) -C $(TICKER_PLUGIN) -f $(MINGW_MAKEFILE) clean
- $(MAKE_at) $(MAKE) -C $(TRANSPARENCY_PLUGIN) -f $(MINGW_MAKEFILE) clean
- $(MAKE_at) $(MAKE) -C $(WINPREFS_PLUGIN) -f $(MINGW_MAKEFILE) clean
-include $(PIDGIN_COMMON_TARGETS)
--- a/pidgin/plugins/cap/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-capdir = @PIDGIN_PLUGINDIR@
-cap_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-cappixdir = $(datadir)/pixmaps/pidgin/buttons
-cap_LTLIBRARIES = cap.la
-cap_la_LIBADD = @PIDGIN_LIBS@ $(SQLITE3_LIBS)
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
- -I$(top_srcdir)/pidgin \
-EXTRA_DIST = Makefile.mingw
--- a/pidgin/plugins/cap/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-# Description: Makefile for cap plugin.
-PIDGIN_TREE_TOP := ../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-# This is where sqlite3.[ch] from the sqlite "amalgamation" archive were extracted to
-# This is available from http://www.sqlite.org/download.html
-SQLITE_TOP ?= $(WIN32_DEV_TOP)/sqlite-3.4.1
- -I$(GTK_TOP)/include/gtk-2.0 \
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/include/pango-1.0 \
- -I$(GTK_TOP)/include/atk-1.0 \
- -I$(GTK_TOP)/include/cairo \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(GTK_TOP)/lib/gtk-2.0/include \
- -I$(PURPLE_TOP)/win32 \
- -I$(PIDGIN_TOP)/win32 \
-LIB_PATHS += -L$(GTK_TOP)/lib \
- $(SQLITE_TOP)/sqlite3.c
-OBJECTS = $(C_SRC:%.c=%.o)
-LIBS = -lgtk-win32-2.0 \
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install clean
-install: $(PIDGIN_INSTALL_PLUGINS_DIR) all
- cp $(TARGET).dll $(PIDGIN_INSTALL_PLUGINS_DIR)
-$(OBJECTS): $(PIDGIN_CONFIG_H)
-$(TARGET).dll: $(PURPLE_DLL).a $(PIDGIN_DLL).a $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/pidgin/plugins/disco/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-plugindir = @PIDGIN_PLUGINDIR@
-xmppdisco_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-plugin_LTLIBRARIES = xmppdisco.la
-xmppdisco_la_SOURCES = \
-xmppdisco_la_LIBADD = @PIDGIN_LIBS@
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
- -I$(top_srcdir)/pidgin \
--- a/pidgin/plugins/disco/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,80 +0,0 @@
-# Description: Makefile for xmppdisco plugin.
-PIDGIN_TREE_TOP := ../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
- -I$(GTK_TOP)/include/gtk-2.0 \
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/include/pango-1.0 \
- -I$(GTK_TOP)/include/atk-1.0 \
- -I$(GTK_TOP)/include/cairo \
- -I$(GTK_TOP)/include/gdk-pixbuf-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(GTK_TOP)/lib/gtk-2.0/include \
- -I$(PURPLE_TOP)/win32 \
- -I$(PIDGIN_TOP)/win32 \
-LIB_PATHS += -L$(GTK_TOP)/lib \
-OBJECTS = $(C_SRC:%.c=%.o)
-LIBS = -lgtk-win32-2.0 \
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install clean
-install: $(PIDGIN_INSTALL_PLUGINS_DIR) all
- cp $(TARGET).dll $(PIDGIN_INSTALL_PLUGINS_DIR)
-$(OBJECTS): $(PIDGIN_CONFIG_H)
-$(TARGET).dll: $(PURPLE_DLL).a $(PIDGIN_DLL).a $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/pidgin/plugins/gestures/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-plugindir = @PIDGIN_PLUGINDIR@
-gestures_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-plugin_LTLIBRARIES = gestures.la
-gestures_la_LIBADD = @PIDGIN_LIBS@
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
- -I$(top_srcdir)/pidgin \
--- a/pidgin/plugins/gevolution/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-plugindir = @PIDGIN_PLUGINDIR@
-gevolution_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-plugin_LTLIBRARIES = gevolution.la
-gevolution_la_SOURCES = \
-gevolution_la_LIBADD = @PIDGIN_LIBS@ $(EVOLUTION_ADDRESSBOOK_LIBS) $(GPLUGIN_LIBS)
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
- -I$(top_srcdir)/pidgin \
- $(EVOLUTION_ADDRESSBOOK_CFLAGS) \
--- a/pidgin/plugins/musicmessaging/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-musicmessagingdir = @PIDGIN_PLUGINDIR@
-musicmessaging_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-musicmessagingpixdir = $(datadir)/pixmaps/pidgin/buttons
-musicmessagingpix_DATA = music.png
-musicmessaging_LTLIBRARIES = musicmessaging.la
-musicmessaging_la_SOURCES = \
-musicmessaging_la_LIBADD = @PIDGIN_LIBS@ $(DBUS_LIBS)
-CLEANFILES = music-messaging-bindings.ch
-$(top_builddir)/libpurple/dbus-types.h: always
- $(AM_V_GEN)cd $(@D) && $(MAKE) $(AM_MAKEFLAGS) $(@F)
-music-messaging-bindings.ch: $(top_srcdir)/libpurple/dbus-analyze-functions.py $(musicmessaging_la_SOURCES)
- $(AM_V_GEN)cat $(srcdir)/$(musicmessaging_la_SOURCES) | \
- $(PYTHON) $(top_srcdir)/libpurple/dbus-analyze-functions.py --export-only > $@
-$(musicmessaging_la_OBJECTS) musicmessaging.so: music-messaging-bindings.ch $(top_builddir)/libpurple/dbus-types.h
- -I$(top_builddir)/libpurple \
- -I$(top_srcdir)/libpurple \
- -I$(top_srcdir)/pidgin \
--- a/pidgin/plugins/ticker/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-plugindir = @PIDGIN_PLUGINDIR@
-ticker_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-plugin_LTLIBRARIES = ticker.la
-ticker_la_LIBADD = @PIDGIN_LIBS@
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
- -I$(top_srcdir)/pidgin \
--- a/pidgin/plugins/ticker/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-# Description: Makefile for ticker plugin.
-PIDGIN_TREE_TOP := ../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
- -I$(GTK_TOP)/include/gtk-2.0 \
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/include/pango-1.0 \
- -I$(GTK_TOP)/include/atk-1.0 \
- -I$(GTK_TOP)/include/cairo \
- -I$(GTK_TOP)/include/gdk-pixbuf-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(GTK_TOP)/lib/gtk-2.0/include \
- -I$(PURPLE_TOP)/win32 \
- -I$(PIDGIN_TOP)/win32 \
-LIB_PATHS += -L$(GTK_TOP)/lib \
-OBJECTS = $(C_SRC:%.c=%.o)
-LIBS = -lgtk-win32-2.0 \
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install clean
-install: $(PIDGIN_INSTALL_PLUGINS_DIR) all
- cp $(TARGET).dll $(PIDGIN_INSTALL_PLUGINS_DIR)
-$(OBJECTS): $(PIDGIN_CONFIG_H)
-$(TARGET).dll: $(PURPLE_DLL).a $(PIDGIN_DLL).a $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/pidgin/plugins/win32/transparency/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-plugindir = @PIDGIN_PLUGINDIR@
-plugin_LTLIBRARIES = win2ktrans.la
-win2ktrans_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-win2ktrans_la_SOURCES = win2ktrans.c
-win2ktrans_la_LIBADD = @PIDGIN_LIBS@
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
- -I$(top_srcdir)/pidgin \
--- a/pidgin/plugins/win32/transparency/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,76 +0,0 @@
-# Description: Makefile for win32trans plugin.
-PIDGIN_TREE_TOP := ../../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
- -I$(GTK_TOP)/include/gtk-2.0 \
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/include/pango-1.0 \
- -I$(GTK_TOP)/include/atk-1.0 \
- -I$(GTK_TOP)/include/cairo \
- -I$(GTK_TOP)/include/gdk-pixbuf-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(GTK_TOP)/lib/gtk-2.0/include \
- -I$(PURPLE_TOP)/win32 \
- -I$(PIDGIN_TOP)/win32 \
-LIB_PATHS += -L$(GTK_TOP)/lib \
-OBJECTS = $(C_SRC:%.c=%.o)
-LIBS = -lgtk-win32-2.0 \
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install clean
-install: all $(PIDGIN_INSTALL_PLUGINS_DIR)
- cp $(TARGET).dll $(PIDGIN_INSTALL_PLUGINS_DIR)
-$(TARGET).dll: $(PURPLE_DLL).a $(PIDGIN_DLL).a $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/pidgin/plugins/win32/winprefs/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-plugindir = @PIDGIN_PLUGINDIR@
-plugin_LTLIBRARIES = winprefs.la
-winprefs_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
-winprefs_la_LIBADD = @PIDGIN_LIBS@
- -I$(top_srcdir)/libpurple \
- -I$(top_builddir)/libpurple \
- -I$(top_srcdir)/pidgin \
--- a/pidgin/plugins/win32/winprefs/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-# Description: Makefile for winprefs plugin.
-PIDGIN_TREE_TOP := ../../../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-DEFINES := $(subst -DWIN32_LEAN_AND_MEAN,,$(DEFINES))
- -I$(GTK_TOP)/include/gtk-2.0 \
- -I$(GTK_TOP)/include/glib-2.0 \
- -I$(GTK_TOP)/include/pango-1.0 \
- -I$(GTK_TOP)/include/atk-1.0 \
- -I$(GTK_TOP)/include/cairo \
- -I$(GTK_TOP)/include/gdk-pixbuf-2.0 \
- -I$(GTK_TOP)/lib/glib-2.0/include \
- -I$(GTK_TOP)/lib/gtk-2.0/include \
- -I$(PURPLE_TOP)/win32 \
- -I$(PIDGIN_TOP)/win32 \
-LIB_PATHS += -L$(GTK_TOP)/lib \
-OBJECTS = $(C_SRC:%.c=%.o)
-LIBS = -lgtk-win32-2.0 \
-include $(PIDGIN_COMMON_RULES)
-.PHONY: all install clean
-install: $(TARGET).dll $(PIDGIN_INSTALL_PLUGINS_DIR)
- cp $(TARGET).dll $(PIDGIN_INSTALL_PLUGINS_DIR)
-$(TARGET).dll: $(PURPLE_DLL).a $(PIDGIN_DLL).a $(OBJECTS)
- $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
-include $(PIDGIN_COMMON_TARGETS)
--- a/pidgin/themes/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-themetemplatedir = $(datadir)/pidgin/theme
-themetemplate_DATA = Template.html
-themecontentsdir = $(themetemplatedir)/Contents
-themecontents_DATA = Contents/Info.plist
-themeresourcesdir = $(themecontentsdir)/Resources
-themeresources_DATA = Contents/Resources/Content.html \
- Contents/Resources/Status.html \
- Contents/Resources/main.css
-themeresourcesincomingdir = $(themeresourcesdir)/Incoming
-themeresourcesincoming_DATA = Contents/Resources/Incoming/Content.html
-themevariantsdir = $(themeresourcesdir)/Variants
-themevariants_DATA = Contents/Resources/Variants/Default.css \
- Contents/Resources/Variants/No-Timestamps.css
- $(themetemplate_DATA) \
- $(themecontents_DATA) \
- $(themeresources_DATA) \
- $(themeresourcesincoming_DATA) \
--- a/po/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-# Description: Makefile to generate mo files
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-CATALOGS = $(patsubst %.po,%.gmo,$(wildcard *.po))
- @rm -f $@ && $(GMSGFMT) --statistics -o $@ $<
-.PHONY: all install clean
- mkdir -p $(PURPLE_INSTALL_PO_DIR)
- @catalogs='$(CATALOGS)'; \
- for cat in $$catalogs; do \
- cat=`basename $$cat`; \
- lang=`echo $$cat | sed 's/\.gmo$$//'`; \
- dir=$(PURPLE_INSTALL_PO_DIR)/$$lang/LC_MESSAGES; \
- if test -r $$cat; then \
- cp $$cat $$dir/$(PACKAGE).mo; \
- echo "installing $$cat as $$dir/$(PACKAGE).mo"; \
- cp $(PURPLE_PO_TOP)/$$cat $$dir/$(PACKAGE).mo; \
- echo "installing $(PURPLE_PO_TOP)/$$cat as" \
- "$$dir/$(PACKAGE).mo"; \
--- a/share/ca-certs/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-cacertsdir = $(datadir)/purple/ca-certs
-if INSTALL_SSL_CERTIFICATES
-cacerts_DATA = $(EXTRA_CERTS)
--- a/share/ca-certs/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-# Description: Makefile for win32 (mingw) version of Pidgin ca-certs
-PIDGIN_TREE_TOP := ../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-datadir := $(PIDGIN_INSTALL_DIR)
--include ./Makefile.am.mingw
-cacertsdir := $(PIDGIN_INSTALL_DIR)/ca-certs
-install: ./Makefile.am.mingw
- if test '$(cacerts_DATA)'; then \
- mkdir -p $(cacertsdir); \
- cp $(cacerts_DATA) $(cacertsdir); \
- rm -f ./Makefile.am.mingw
-./Makefile.am.mingw: ./Makefile.am
- sed -e 's/^if\ INSTALL_SSL_CERTIFICATES/ifeq (\$$(INSTALL_SSL_CERTIFICATES), 1)/' ./Makefile.am > $@
--- a/share/sounds/Makefile.am Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-soundsdir = $(datadir)/sounds/purple
--- a/share/sounds/Makefile.mingw Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-# Description: Makefile for win32 (mingw) version of Pidgin sounds
-PIDGIN_TREE_TOP := ../..
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-datadir := $(PIDGIN_INSTALL_DIR)
- if test '$(sounds_DATA)'; then \
- mkdir -p $(soundsdir); \
- cp $(sounds_DATA) $(soundsdir); \
--- a/tap-driver.sh Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,652 +0,0 @@
-# Copyright (C) 2011-2013 Free Software Foundation, Inc.
-# 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, or (at your option)
-# 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, see <http://www.gnu.org/licenses/>.
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-# This file is maintained in Automake, please report
-# bugs to <bug-automake@gnu.org> or send patches to
-# <automake-patches@gnu.org>.
-scriptversion=2011-12-27.17; # UTC
-# Make unconditional expansion of undefined variables an error. This
-# helps a lot in preventing typo-related bugs.
- echo "$me: fatal: $*" >&2
- tap-driver.sh --test-name=NAME --log-file=PATH --trs-file=PATH
- [--expect-failure={yes|no}] [--color-tests={yes|no}]
- [--enable-hard-errors={yes|no}] [--ignore-exit]
- [--diagnostic-string=STRING] [--merge|--no-merge]
- [--comments|--no-comments] [--] TEST-COMMAND
-The \`--test-name', \`--log-file' and \`--trs-file' options are mandatory.
-# TODO: better error handling in option parsing (in particular, ensure
-# TODO: $log_file, $trs_file and $test_name are defined).
-test_name= # Used for reporting.
-log_file= # Where to save the result and output of the test script.
-trs_file= # Where to save the metadata of the test run.
- --help) print_usage; exit $?;;
- --version) echo "$me $scriptversion"; exit $?;;
- --test-name) test_name=$2; shift;;
- --log-file) log_file=$2; shift;;
- --trs-file) trs_file=$2; shift;;
- --color-tests) color_tests=$2; shift;;
- --expect-failure) expect_failure=$2; shift;;
- --enable-hard-errors) shift;; # No-op.
- --ignore-exit) ignore_exit=1;;
- --comments) comments=1;;
- --no-comments) comments=0;;
- --diagnostic-string) diag_string=$2; shift;;
- -*) usage_error "invalid option: '$1'";;
-test $# -gt 0 || usage_error "missing test command"
- yes) expect_failure=1;;
-if test $color_tests = yes; then
- color_map["red"]="[0;31m" # Red.
- color_map["grn"]="[0;32m" # Green.
- color_map["lgn"]="[1;32m" # Light green.
- color_map["blu"]="[1;34m" # Blue.
- color_map["mgn"]="[0;35m" # Magenta.
- color_map["std"]="[m" # No color.
- color_for_result["ERROR"] = "mgn"
- color_for_result["PASS"] = "grn"
- color_for_result["XPASS"] = "red"
- color_for_result["FAIL"] = "red"
- color_for_result["XFAIL"] = "lgn"
- color_for_result["SKIP"] = "blu"'
-# :; is there to work around a bug in bash 3.2 (and earlier) which
-# does not always set '$?' properly on redirection failure.
-# See the Autoconf manual for more details.
- # Ignore common signals (in this subshell only!), to avoid potential
- # problems with Korn shells. Some Korn shells are known to propagate
- # to themselves signals that have killed a child process they were
- # waiting for; this is done at least for SIGINT (and usually only for
- # it, in truth). Without the `trap' below, such a behaviour could
- # cause a premature exit in the current subshell, e.g., in case the
- # test command it runs gets terminated by a SIGINT. Thus, the awk
- # script we are piping into would never seen the exit status it
- # expects on its last input line (which is displayed below by the
- # last `echo $?' statement), and would thus die reporting an internal
- # For more information, see the Autoconf manual and the threads:
- # <http://lists.gnu.org/archive/html/bug-autoconf/2011-09/msg00004.html>
- # <http://mail.opensolaris.org/pipermail/ksh93-integration-discuss/2009-February/004121.html>
- if test $merge -gt 0; then
- ) | LC_ALL=C ${AM_TAP_AWK-awk} \
- -v test_script_name="$test_name" \
- -v log_file="$log_file" \
- -v trs_file="$trs_file" \
- -v expect_failure="$expect_failure" \
- -v ignore_exit="$ignore_exit" \
- -v comments="$comments" \
- -v diag_string="$diag_string" \
-# FIXME: the usages of "cat >&3" below could be optimized when using
-# FIXME: GNU awk, and/on on systems that supports /dev/fd/.
-# Implementation note: in what follows, `result_obj` will be an
-# associative array that (partly) simulates a TAP result object
-# from the `TAP::Parser` perl module.
- print me ": " msg | "cat >&2"
- fatal("internal error " where)
-# Convert a boolean to a "yes"/"no" string.
- return bool ? "yes" : "no";
-function add_test_result(result)
- if (!test_results_index)
- test_results_list[test_results_index] = result
- test_results_index += 1
- test_results_seen[result] = 1;
-# Whether the test script should be re-run by "make recheck".
- for (k in test_results_seen)
- if (k != "XFAIL" && k != "PASS" && k != "SKIP")
-# Whether the content of the log file associated to this test should
-# be copied into the "global" test-suite.log.
-function copy_in_global_log()
- for (k in test_results_seen)
-# FIXME: this can certainly be improved ...
-function get_global_test_result()
- if ("ERROR" in test_results_seen)
- if ("FAIL" in test_results_seen || "XPASS" in test_results_seen)
- for (k in test_results_seen)
-function stringify_result_obj(result_obj)
- if (result_obj["is_unplanned"] || result_obj["number"] != testno)
- if (plan_seen == LATE_PLAN)
- if (result_obj["directive"] == "TODO")
- return result_obj["is_ok"] ? "XPASS" : "XFAIL"
- if (result_obj["directive"] == "SKIP")
- return result_obj["is_ok"] ? "SKIP" : COOKED_FAIL;
- if (length(result_obj["directive"]))
- abort("in function stringify_result_obj()")
- return result_obj["is_ok"] ? COOKED_PASS : COOKED_FAIL
-function decorate_result(result)
- color_name = color_for_result[result]
- return color_map[color_name] "" result "" color_map["std"]
- # If we are not using colorized output, or if we do not know how
- # to colorize the given result, we should return it unchanged.
-function report(result, details)
- if (result ~ /^(X?(PASS|FAIL)|SKIP|ERROR)/)
- msg = ": " test_script_name
- add_test_result(result)
- else if (result == "#")
- msg = " " test_script_name ":"
- abort("in function report()")
- # Output on console might be colorized.
- print decorate_result(result) msg
- # Log the result in the log file too, to help debugging (this is
- # especially true when said result is a TAP error or "Bail out!").
- print result msg | "cat >&3";
-function testsuite_error(error_message)
- report("ERROR", "- " error_message)
-function handle_tap_result()
- details = result_obj["number"];
- if (length(result_obj["description"]))
- details = details " " result_obj["description"]
- if (plan_seen == LATE_PLAN)
- details = details " # AFTER LATE PLAN";
- else if (result_obj["is_unplanned"])
- details = details " # UNPLANNED";
- else if (result_obj["number"] != testno)
- details = sprintf("%s # OUT-OF-ORDER (expecting %d)",
- else if (result_obj["directive"])
- details = details " # " result_obj["directive"];
- if (length(result_obj["explanation"]))
- details = details " " result_obj["explanation"]
- report(stringify_result_obj(result_obj), details)
-# `skip_reason` should be empty whenever planned > 0.
-function handle_tap_plan(planned, skip_reason)
- planned += 0 # Avoid getting confused if, say, `planned` is "00"
- if (length(skip_reason) && planned > 0)
- abort("in function handle_tap_plan()")
- # Error, only one plan per stream is acceptable.
- testsuite_error("multiple test plans")
- planned_tests = planned
- # The TAP plan can come before or after *all* the TAP results; we speak
- # respectively of an "early" or a "late" plan. If we see the plan line
- # after at least one TAP result has been seen, assume we have a late
- # plan; in this case, any further test result seen after the plan will
- # be flagged as an error.
- plan_seen = (testno >= 1 ? LATE_PLAN : EARLY_PLAN)
- # If testno > 0, we have an error ("too many tests run") that will be
- # automatically dealt with later, so do not worry about it here. If
- # $plan_seen is true, we have an error due to a repeated plan, and that
- # has already been dealt with above. Otherwise, we have a valid "plan
- # with SKIP" specification, and should report it as a particular kind
- if (planned == 0 && testno == 0)
- if (length(skip_reason))
- skip_reason = "- " skip_reason;
- report("SKIP", skip_reason);
-function extract_tap_comment(line)
- if (index(line, diag_string) == 1)
- # Strip leading `diag_string` from `line`.
- line = substr(line, length(diag_string) + 1)
- # And strip any leading and trailing whitespace left.
- sub("^[ \t]*", "", line)
- sub("[ \t]*$", "", line)
- # Return what is left (if any).
-# When this function is called, we know that line is a TAP result line,
-# so that it matches the (perl) RE "^(not )?ok\b".
-function setup_result_obj(line)
- # Get the result, and remove it from the line.
- result_obj["is_ok"] = (substr(line, 1, 2) == "ok" ? 1 : 0)
- sub("^(not )?ok[ \t]*", "", line)
- # If the result has an explicit number, get it and strip it; otherwise,
- # automatically assing the next progresive number to it.
- if (line ~ /^[0-9]+$/ || line ~ /^[0-9]+[^a-zA-Z0-9_]/)
- # The final `+ 0` is to normalize numbers with leading zeros.
- result_obj["number"] = substr(line, 1, RLENGTH) + 0
- line = substr(line, RLENGTH + 1)
- result_obj["number"] = testno
- if (plan_seen == LATE_PLAN)
- # No further test results are acceptable after a "late" TAP plan
- result_obj["is_unplanned"] = 1
- else if (plan_seen && testno > planned_tests)
- result_obj["is_unplanned"] = 1
- result_obj["is_unplanned"] = 0
- # Strip trailing and leading whitespace.
- sub("^[ \t]*", "", line)
- sub("[ \t]*$", "", line)
- # This will have to be corrected if we have a "TODO"/"SKIP" directive.
- result_obj["description"] = line
- result_obj["directive"] = ""
- result_obj["explanation"] = ""
- if (index(line, "#") == 0)
- return # No possible directive, nothing more to do.
- # Directives are case-insensitive.
- rx = "[ \t]*#[ \t]*([tT][oO][dD][oO]|[sS][kK][iI][pP])[ \t]*"
- # See whether we have the directive, and if yes, where.
- pos = match(line, rx "$")
- pos = match(line, rx "[^a-zA-Z0-9_]")
- # If there was no TAP directive, we have nothing more to do.
- # Let`s now see if the TAP directive has been escaped. For example:
- # not escaped: ok \\# SKIP
- # escaped: ok \\\\\# SKIP
- # not escaped: ok \ # SKIP
- if (substr(line, pos, 1) == "#")
- for (i = pos; i > 1 && substr(line, i - 1, 1) == "\\"; i--)
- return # Directive was escaped.
- # Strip the directive and its explanation (if any) from the test
- result_obj["description"] = substr(line, 1, pos - 1)
- # Now remove the test description from the line, that has been dealt
- line = substr(line, pos)
- # Strip the directive, and save its value (normalized to upper case).
- sub("^[ \t]*#[ \t]*", "", line)
- result_obj["directive"] = toupper(substr(line, 1, 4))
- # Now get the explanation for the directive (if any), with leading
- # and trailing whitespace removed.
- sub("^[ \t]*", "", line)
- sub("[ \t]*$", "", line)
- result_obj["explanation"] = line
-function get_test_exit_message(status)
- if (status !~ /^[1-9][0-9]*$/)
- abort("getting exit status")
- else if (status == 127)
- exit_details = " (command not found?)"
- else if (status >= 128 && status <= 255)
- exit_details = sprintf(" (terminated by signal %d?)", status - 128)
- else if (status > 256 && status <= 384)
- # We used to report an "abnormal termination" here, but some Korn
- # shells, when a child process die due to signal number n, can leave
- # in $? an exit status of 256+n instead of the more standard 128+n.
- # Apparently, both behaviours are allowed by POSIX (2008), so be
- # prepared to handle them both. See also Austing Group report ID
- # 0000051 <http://www.austingroupbugs.net/view.php?id=51>
- exit_details = sprintf(" (terminated by signal %d?)", status - 256)
- # Never seen in practice.
- exit_details = " (abnormal termination)"
- return sprintf("exited with status %d%s", status, exit_details)
-function write_test_results()
- print ":global-test-result: " get_global_test_result() > trs_file
- print ":recheck: " yn(must_recheck()) > trs_file
- print ":copy-in-global-log: " yn(copy_in_global_log()) > trs_file
- for (i = 0; i < test_results_index; i += 1)
- print ":test-result: " test_results_list[i] > trs_file
-# Properly initialized once the TAP plan is seen.
-COOKED_PASS = expect_failure ? "XPASS": "PASS";
-COOKED_FAIL = expect_failure ? "XFAIL": "FAIL";
-# Enumeration-like constants to remember which kind of plan (if any)
-# has been seen. It is important that NO_PLAN evaluates "false" as
-testno = 0 # Number of test results seen so far.
-bailed_out = 0 # Whether a "Bail out!" directive has been seen.
-# Whether the TAP plan has been seen or not, and if yes, which kind
-# it is ("early" is seen before any test result, "late" otherwise).
- # Involutions required so that we are able to read the exit status
- # from the last input line.
- if (st < 0) # I/O error.
- fatal("I/O error while reading from input stream")
- else if (st == 0) # End-of-input
- abort("in input loop: only one input line")
- # Copy any input line verbatim into the log file.
- # Parsing of TAP input should stop after a "Bail out!" directive.
- if ($0 ~ /^(not )?ok$/ || $0 ~ /^(not )?ok[^a-zA-Z0-9_]/)
- # TAP plan (normal or "SKIP" without explanation).
- else if ($0 ~ /^1\.\.[0-9]+[ \t]*$/)
- # The next two lines will put the number of planned tests in $0.
- handle_tap_plan($0, "")
- # TAP "SKIP" plan, with an explanation.
- else if ($0 ~ /^1\.\.0+[ \t]*#/)
- # The next lines will put the skip explanation in $0, stripping
- # any leading and trailing whitespace. This is a little more
- # tricky in truth, since we want to also strip a potential leading
- # "SKIP" string from the message.
- sub("^[^#]*#[ \t]*(SKIP[: \t][ \t]*)?", "")
- # Older versions of prove and TAP::Harness (e.g., 3.17) did not
- # recognize a "Bail out!" directive when preceded by leading
- # whitespace, but more modern versions (e.g., 3.23) do. So we
- # emulate the latter, "more modern" behaviour.
- else if ($0 ~ /^[ \t]*Bail out!/)
- # Get the bailout message (if any), with leading and trailing
- # whitespace stripped. The message remains stored in `$0`.
- sub("^[ \t]*Bail out![ \t]*", "");
- # Format the error message for the
- bailout_message = "Bail out!"
- bailout_message = bailout_message " " $0
- testsuite_error(bailout_message)
- # Maybe we have too look for dianogtic comments too.
- else if (comments != 0)
- comment = extract_tap_comment($0);
-# A "Bail out!" directive should cause us to ignore any following TAP
-# error, as well as a non-zero exit status from the TAP producer.
- testsuite_error("missing test plan")
- else if (planned_tests != testno)
- bad_amount = testno > planned_tests ? "many" : "few"
- testsuite_error(sprintf("too %s tests run (expected %d, got %d)",
- bad_amount, planned_tests, testno))
- # Fetch exit status from the last line.
- exit_message = get_test_exit_message(nextline)
- testsuite_error(exit_message)
-} # End of "BEGIN" block.
-# TODO: document that we consume the file descriptor 3 :-(
-test $? -eq 0 || fatal "I/O or internal error"
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "scriptversion="
-# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
-# time-stamp-end: "; # UTC"
--- a/tap-test Tue Sep 26 02:41:52 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-# run a GTest in tap mode. The test binary is passed as $1