new package: loqui - simple gtk2-based client for irc
This commit is contained in:
parent
0b13e90fa7
commit
35d04c575b
|
@ -0,0 +1,15 @@
|
|||
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
|
||||
|
||||
TERMUX_PKG_HOMEPAGE=https://launchpad.net/loqui
|
||||
TERMUX_PKG_DESCRIPTION="IRC client for the Gtk+-2.0 environment"
|
||||
TERMUX_PKG_VERSION=0.6.4
|
||||
TERMUX_PKG_SRCURL=http://launchpad.net/loqui/${TERMUX_PKG_VERSION:0:3}/${TERMUX_PKG_VERSION}/+download/loqui-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=d0718f0eb095fbfe2af1b4ca5a0d05cd85e969322be3f5bc9fad26f042910b36
|
||||
TERMUX_PKG_DEPENDS="atk, fontconfig, freetype, gdk-pixbuf, glib, gtk2, libandroid-support, libandroid-shmem, libcairo-x, libffi, pango-x, pcre"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-glibtest --disable-gtktest"
|
||||
TERMUX_PKG_RM_AFTER_INSTALL="lib/locale"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
export CFLAGS="${CFLAGS} -Wno-return-type"
|
||||
export LIBS="-landroid-shmem"
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
diff -uNr loqui-0.6.4/libloqui/loqui_webutils.c loqui-0.6.4.mod/libloqui/loqui_webutils.c
|
||||
--- loqui-0.6.4/libloqui/loqui_webutils.c 2015-11-15 15:04:43.000000000 +0200
|
||||
+++ loqui-0.6.4.mod/libloqui/loqui_webutils.c 2018-10-09 01:26:57.549143238 +0300
|
||||
@@ -48,7 +48,7 @@
|
||||
void
|
||||
loqui_webutils_get(gchar *url, GList *header_list, LoquiWebUtilsGetType get_type, LoquiWebCallback cb, gpointer data)
|
||||
{
|
||||
- gint stdout = -1;
|
||||
+ gint _stdout = -1;
|
||||
GError *error = NULL;
|
||||
GIOChannel *ioch;
|
||||
GClosure *closure;
|
||||
@@ -90,7 +90,7 @@
|
||||
|
||||
NULL,
|
||||
NULL,
|
||||
- &stdout,
|
||||
+ &_stdout,
|
||||
NULL,
|
||||
|
||||
&error)) {
|
||||
@@ -100,7 +100,7 @@
|
||||
|
||||
closure = g_cclosure_new((GCallback) cb, data, NULL);
|
||||
|
||||
- ioch = g_io_channel_unix_new(stdout);
|
||||
+ ioch = g_io_channel_unix_new(_stdout);
|
||||
g_io_channel_set_encoding(ioch, NULL, NULL);
|
||||
|
||||
g_io_add_watch(ioch, G_IO_IN | G_IO_PRI | G_IO_ERR | G_IO_HUP | G_IO_NVAL, curl_readable_cb, closure);
|
Loading…
Reference in New Issue