Browse Source

finch: Fix ssl plugin to link against libpurple

Fixes ssl not working mentioned in #95.
android-5
Fredrik Fornwall 9 years ago
parent
commit
cf84430a0f
  1. 2
      packages/finch/build.sh
  2. 19
      packages/finch/ssl-makefile.patch

2
packages/finch/build.sh

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://pidgin.im/ TERMUX_PKG_HOMEPAGE=http://pidgin.im/
TERMUX_PKG_DESCRIPTION="Text-based multi-protocol instant messaging client" TERMUX_PKG_DESCRIPTION="Text-based multi-protocol instant messaging client"
TERMUX_PKG_VERSION=2.10.12 TERMUX_PKG_VERSION=2.10.12
TERMUX_PKG_BUILD_REVISION=2 TERMUX_PKG_BUILD_REVISION=3
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/pidgin/Pidgin/${TERMUX_PKG_VERSION}/pidgin-${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/pidgin/Pidgin/${TERMUX_PKG_VERSION}/pidgin-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_DEPENDS="libgnutls, libxml2, ncurses-ui-libs, glib" TERMUX_PKG_DEPENDS="libgnutls, libxml2, ncurses-ui-libs, glib"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-gtkui --disable-gstreamer --disable-vv --disable-idn --disable-meanwhile --disable-avahi --disable-dbus --disable-perl --disable-tcl --without-zephyr --with-ncurses-headers=$TERMUX_PREFIX/include --without-python" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-gtkui --disable-gstreamer --disable-vv --disable-idn --disable-meanwhile --disable-avahi --disable-dbus --disable-perl --disable-tcl --without-zephyr --with-ncurses-headers=$TERMUX_PREFIX/include --without-python"

19
packages/finch/ssl-makefile.patch

@ -0,0 +1,19 @@
diff -u -r ../pidgin-2.10.12/libpurple/plugins/ssl/Makefile.in ./libpurple/plugins/ssl/Makefile.in
--- ../pidgin-2.10.12/libpurple/plugins/ssl/Makefile.in 2015-12-31 18:19:51.000000000 -0500
+++ ./libpurple/plugins/ssl/Makefile.in 2016-05-06 05:14:11.266023479 -0400
@@ -632,13 +632,13 @@
$(AM_V_CCLD)$(nss_prefs_la_LINK) $(am_nss_prefs_la_rpath) $(nss_prefs_la_OBJECTS) $(nss_prefs_la_LIBADD) $(LIBS)
ssl-gnutls.la: $(ssl_gnutls_la_OBJECTS) $(ssl_gnutls_la_DEPENDENCIES) $(EXTRA_ssl_gnutls_la_DEPENDENCIES)
- $(AM_V_CCLD)$(ssl_gnutls_la_LINK) $(am_ssl_gnutls_la_rpath) $(ssl_gnutls_la_OBJECTS) $(ssl_gnutls_la_LIBADD) $(LIBS)
+ $(AM_V_CCLD)$(ssl_gnutls_la_LINK) $(am_ssl_gnutls_la_rpath) $(ssl_gnutls_la_OBJECTS) $(ssl_gnutls_la_LIBADD) $(LIBS) -lpurple
ssl-nss.la: $(ssl_nss_la_OBJECTS) $(ssl_nss_la_DEPENDENCIES) $(EXTRA_ssl_nss_la_DEPENDENCIES)
$(AM_V_CCLD)$(ssl_nss_la_LINK) $(am_ssl_nss_la_rpath) $(ssl_nss_la_OBJECTS) $(ssl_nss_la_LIBADD) $(LIBS)
ssl.la: $(ssl_la_OBJECTS) $(ssl_la_DEPENDENCIES) $(EXTRA_ssl_la_DEPENDENCIES)
- $(AM_V_CCLD)$(ssl_la_LINK) $(am_ssl_la_rpath) $(ssl_la_OBJECTS) $(ssl_la_LIBADD) $(LIBS)
+ $(AM_V_CCLD)$(ssl_la_LINK) $(am_ssl_la_rpath) $(ssl_la_OBJECTS) $(ssl_la_LIBADD) $(LIBS) -lpurple
mostlyclean-compile:
-rm -f *.$(OBJEXT)
Loading…
Cancel
Save