All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Huewe <PeterHuewe@gmx.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] package: Add support for pidgin/finch instant messenger
Date: Fri, 14 May 2010 14:12:47 +0200	[thread overview]
Message-ID: <201005141412.48421.PeterHuewe@gmx.de> (raw)
In-Reply-To: <20100514110321.370b99b9@surf>

From: Peter Huewe <peterhuewe@gmx.de>

Pidgin is a free and open source instant multiprotocol (ICQ, IRC, Jabber
...) messenger.

Finch is a ncurses based console version of pidgin.

For more information visit http://pidgin.im

This patch adds support for Finch 2.7.0 to the buildroot buildsystem.
Finch is compiled with support for ICQ, IRC and Jabber;
However other protocols might be added to the script too / script can be
converted to a more modular style.

Tested on and compiled with atmel ngw100_defconfig.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
Updated version due to the helpful remarks by thomas.

 package/Config.in                                  |    1 +
 package/pidgin/Config.in                           |   10 ++++
 package/pidgin/README-ISSUES.txt                   |    9 +++
 .../pidgin-2.7.0-fix-build-without-gst.patch       |   22 ++++++++
 package/pidgin/pidgin.mk                           |   52 ++++++++++++++++++++
 5 files changed, 94 insertions(+), 0 deletions(-)
 create mode 100644 package/pidgin/Config.in
 create mode 100644 package/pidgin/README-ISSUES.txt
 create mode 100644 package/pidgin/pidgin-2.7.0-fix-build-without-gst.patch
 create mode 100644 package/pidgin/pidgin.mk

diff --git a/package/Config.in b/package/Config.in
index d3c4316..3749f5a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -391,6 +391,7 @@ source "package/olsr/Config.in"
 source "package/openntpd/Config.in"
 source "package/openssh/Config.in"
 source "package/openvpn/Config.in"
+source "package/pidgin/Config.in"
 source "package/portmap/Config.in"
 source "package/pppd/Config.in"
 source "package/radvd/Config.in"
diff --git a/package/pidgin/Config.in b/package/pidgin/Config.in
new file mode 100644
index 0000000..cc2f8ec
--- /dev/null
+++ b/package/pidgin/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PIDGIN
+	bool "pidgin/finch"
+	select BR2_PACKAGE_LIBXML2
+	select BR2_PACKAGE_NCURSES_TARGET_PANEL
+	help
+		Pidgin is a multi-protocol Instant Messaging client that allows you to use all of your IM accounts at once.
+		Finch is the ncurses based version of pidgin.
+		This builds only the ncurses based client! with support for jabber (works), irc(works) and icq/aim (broken)
+		http://pidgin.im/
+
diff --git a/package/pidgin/README-ISSUES.txt b/package/pidgin/README-ISSUES.txt
new file mode 100644
index 0000000..2b33ec9
--- /dev/null
+++ b/package/pidgin/README-ISSUES.txt
@@ -0,0 +1,9 @@
+ISSUES:
+- TERM has to be set to xterm  -> TERM=xterm
+	(this is a little problem if I access the board via rs232 with kermit)
+
+TODOs:
+- Make buildscript more modular -> one should be able to select which
+  protocols shall be built
+
+Created 20100514 by Peter Huewe (peterhuewe at gmx.de)
diff --git a/package/pidgin/pidgin-2.7.0-fix-build-without-gst.patch b/package/pidgin/pidgin-2.7.0-fix-build-without-gst.patch
new file mode 100644
index 0000000..feb380d
--- /dev/null
+++ b/package/pidgin/pidgin-2.7.0-fix-build-without-gst.patch
@@ -0,0 +1,22 @@
+See http://developer.pidgin.im/ticket/11850 for details.
+
+Author: Polynomial-C
+---
+--- pidgin-2.7.0/libpurple/media/backend-fs2.h
++++ pidgin-2.7.0/libpurple/media/backend-fs2.h
+@@ -55,6 +55,7 @@
+  */
+ GType purple_media_backend_fs2_get_type(void);
+ 
++#ifdef USE_GSTREAMER
+ /*
+  * Temporary function in order to be able to test while
+  * integrating with PurpleMedia
+@@ -71,6 +72,7 @@
+ void purple_media_backend_fs2_set_output_volume(PurpleMediaBackendFs2 *self,
+ 		const gchar *sess_id, const gchar *who, double level);
+ /* end tmp */
++#endif /* USE_GSTREAMER */
+ 
+ G_END_DECLS
+ 
diff --git a/package/pidgin/pidgin.mk b/package/pidgin/pidgin.mk
new file mode 100644
index 0000000..dcb70b1
--- /dev/null
+++ b/package/pidgin/pidgin.mk
@@ -0,0 +1,52 @@
+#############################################################
+#
+# pidgin/finch
+#
+# "Pidgin is an easy to use and free chat client used by millions. 
+# Connect to ICQ, IRC, Jabber and more chat networks all at once."
+#
+# Finch is the ncurses based console version of this pidgin, 
+# which is provided by this package
+# http://pidgin.im
+#
+# Buildroot Script by Peter Huewe <peterhuewe -@- gmx.de>
+#############################################################
+PIDGIN_VERSION = 2.7.0
+PIDGIN_SOURCE = pidgin-$(PIDGIN_VERSION).tar.bz2
+PIDGIN_CONF_ENV = ac_cv_path_pythonpath=''
+PIDGIN_CONF_OPT= --disable-gtkui \
+                --enable-consoleui \
+                --disable-screensaver \
+                --disable-sm \
+                --disable-startup-notification \
+                --disable-gtkspell \
+                --disable-gestures   \
+                --disable-schemas-install \
+                --disable-gstreamer \
+                --disable-gstreamer-interfaces  \
+                --disable-farsight \
+                --disable-vv \
+                --disable-idn \
+                --disable-meanwhile \
+                --disable-avahi \
+                --disable-fortify \
+                --disable-dbus  \
+                --disable-nm  \
+                --disable-mono \
+                --disable-perl \
+                --enable-gnutls=no \
+                --enable-nss=no \
+                --disable-tcl \
+                --disable-tk \
+                --disable-pixmaps-install \
+                --enable-nls \
+                --disable-doxygen \
+                --disable-dot \
+                --without-x \
+                --with-static-prpls=oscar,jabber,irc \
+                --without-python \
+                --disable-plugins \
+                --disable-debug \
+
+PIDGIN_DEPENDENCIES = gettext libintl libglib2
+$(eval $(call AUTOTARGETS,package,pidgin))
-- 
1.6.4.4

  reply	other threads:[~2010-05-14 12:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-14  1:00 [Buildroot] package: Add support for pidgin/finch instant messenger Peter Huewe
2010-05-14  9:03 ` Thomas Petazzoni
2010-05-14 12:12   ` Peter Huewe [this message]
2010-06-24 11:47     ` [Buildroot] [PATCH v3] package: Add support for pidgin/finch instant messenger (2.7.1) Peter Huewe
2010-06-24 14:02       ` Thomas Petazzoni
2010-06-24 15:26         ` [Buildroot] [PATCH v4] " Peter Huewe
2010-06-25  7:19           ` Thomas Petazzoni
2010-06-25 10:00             ` Peter Hüwe
2010-06-25 10:02             ` [Buildroot] docs: Fixed spelling error in buildroot.html GETTEXT instead of GNUTTEXT Peter Hüwe
2010-06-25 12:02               ` Thomas Petazzoni
2010-06-25 12:15               ` Peter Korsgaard
2010-07-05 21:12             ` [Buildroot] [PATCH v5] package: Add support for pidgin/finch instant messenger (2.7.1) Peter Hüwe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201005141412.48421.PeterHuewe@gmx.de \
    --to=peterhuewe@gmx.de \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.