Skip to contentSkip to conversation

package: Add support for pidgin/finch instant messenger

Buildroot Superseded Peter Huewe 3 participants 12 messages May 14, 2010 – Jul 5, 2010

lore
Share & tools
lore
#0 lore raw

From: Peter Huewe <[email protected]>

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.

---
Filed under Pidgin, not finch as Pidgin is the main app. This makes it easier to add support for pidgin later (by someone who has X running on his board :)

 package/Config.in                                  |    1 +
 package/pidgin/Config.in                           |   13 +++++
 package/pidgin/README-ISSUES.txt                   |    9 +++
 .../pidgin-2.7.0-fix-build-without-gst.patch       |   22 ++++++++
 package/pidgin/pidgin.mk                           |   54 ++++++++++++++++++++
 5 files changed, 99 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
package/Config.in +1 -0
index d3c4316..3749f5a 100644
@@ -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"
package/pidgin/Config.in new file +13 -0
new file mode 100644
index 0000000..00202f4
@@ -0,0 +1,13 @@
+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 (finch)!
+		
+		with support for jabber irc(works) and icq/aim
+		http://pidgin.im/
package/pidgin/README-ISSUES.txt new file +9 -0
new file mode 100644
index 0000000..2b33ec9
@@ -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)
package/pidgin/pidgin-2.7.0-fix-build-without-gst.patch new file +22 -0
new file mode 100644
index 0000000..feb380d
@@ -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
+ 
package/pidgin/pidgin.mk new file +54 -0

54 lines not on this page · raw message

Signature · 1 line
1.6.4.4
#1 lore raw

package/pidgin/pidgin.mk line 51

Quoted 2 lines · On Fri, 14 May 2010 03:00:24 +0200 Peter Huewe <[email protected]> wrote:
package/pidgin/pidgin.mk new file +2 -0
+                $(DISABLE_NLS) \
+                $(DISABLE_LARGEFILE) \

Not needed.

Quoted 1 line

+PIDGIN_DEPENDENCIES = uclibc gettext libintl libglib2

You can remove "uclibc" here, it is not needed.

Thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

PATCH v2 1/1 package: Add support for pidgin/finch instant messenger

From: Peter Huewe <[email protected]>

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.

---
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
package/Config.in +1 -0
index d3c4316..3749f5a 100644
@@ -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"
package/pidgin/Config.in new file +10 -0
new file mode 100644
index 0000000..cc2f8ec
@@ -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/
+
package/pidgin/README-ISSUES.txt new file +9 -0
new file mode 100644
index 0000000..2b33ec9
@@ -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)
package/pidgin/pidgin-2.7.0-fix-build-without-gst.patch new file +22 -0
new file mode 100644
index 0000000..feb380d
@@ -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
+ 
package/pidgin/pidgin.mk new file +52 -0

52 lines not on this page · raw message

Signature · 1 line
1.6.4.4
#3 lore raw

PATCH v3 1/1 package: Add support for pidgin/finch instant messenger (2.7.1)

From: Peter Huewe <[email protected]>

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.1 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.

---
Changes to v2:
- Version Bump to 2.7.1
- LIBTOOL_PATCH = NO, added
- added dependencies for ncurses and libxml2 to be build first

 package/Config.in                |    1 +
 package/pidgin/Config.in         |   10 +++++++
 package/pidgin/README-ISSUES.txt |    9 ++++++
 package/pidgin/pidgin.mk         |   53 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 73 insertions(+), 0 deletions(-)
 create mode 100644 package/pidgin/Config.in
 create mode 100644 package/pidgin/README-ISSUES.txt
 create mode 100644 package/pidgin/pidgin.mk
package/Config.in +1 -0
index 5ce01a0..bd491b5 100644
@@ -403,6 +403,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"
package/pidgin/Config.in new file +10 -0
new file mode 100644
index 0000000..cc2f8ec
@@ -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/
+
package/pidgin/README-ISSUES.txt new file +9 -0
new file mode 100644
index 0000000..2b33ec9
@@ -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)
package/pidgin/pidgin.mk new file +53 -0

53 lines not on this page · raw message

Signature · 1 line
1.7.1
#4 lore raw

PATCH v3 1/1 package: Add support for pidgin/finch instant messenger (2.7.1)

Hello Peter,

package/pidgin/Config.in line 9

Quoted 9 lines · On Thu, 24 Jun 2010 13:47:01 +0200 Peter Huewe <[email protected]> wrote:
package/pidgin/Config.in new file +9 -0
+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/

The help message must be :

* Indented by a tab + 2 spaces
* Wrapped to fit ~80 columns

Quoted 1 line

+PIDGIN_DEPENDENCIES = gettext libintl libglib2 ncurses libxml2

This dependency on gettext isn't correct. See
http://buildroot.org/downloads/buildroot.html#gettext-integration for details.

Thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#5 lore raw

PATCH v4 1/1 package: Add support for pidgin/finch instant messenger (2.7.1)

From: Peter Huewe <[email protected]>

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.1 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.

---
Changes to v3:
- Help message wrapped at ~80chars,
- Help message indented 1Tab 2 Chars
- correct gettext dependency

 package/Config.in                |    1 +
 package/pidgin/Config.in         |   15 +++++++++++
 package/pidgin/README-ISSUES.txt |    9 ++++++
 package/pidgin/pidgin.mk         |   52 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 77 insertions(+), 0 deletions(-)
 create mode 100644 package/pidgin/Config.in
 create mode 100644 package/pidgin/README-ISSUES.txt
 create mode 100644 package/pidgin/pidgin.mk
package/Config.in +1 -0
index 5ce01a0..bd491b5 100644
@@ -403,6 +403,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"
package/pidgin/Config.in new file +15 -0
new file mode 100644
index 0000000..3737435
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_PIDGIN
+	bool "pidgin/finch"
+	select BR2_PACKAGE_LIBXML2
+	select BR2_PACKAGE_NCURSES_TARGET_PANEL
+	select BR2_PACKAGE_GNUTTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
+	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, by locale)
+	  
+	  For more details see http://pidgin.im/
package/pidgin/README-ISSUES.txt new file +9 -0
new file mode 100644
index 0000000..2b33ec9
@@ -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)
package/pidgin/pidgin.mk new file +52 -0

52 lines not on this page · raw message

Signature · 1 line
1.7.1
#6 lore raw

PATCH v4 1/1 package: Add support for pidgin/finch instant messenger (2.7.1)

package/pidgin/Config.in line 5

Quoted 1 line · On Thu, 24 Jun 2010 17:26:25 +0200 Peter Huewe <[email protected]> wrote:
package/pidgin/Config.in new file +1 -0
+	select BR2_PACKAGE_GNUTTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE

^^^ should be BR2_PACKAGE_GETTEXT

Otherwise, looks good, I think the next version will get by Acked-by :-)

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#7 lore raw

PATCH v4 1/1 package: Add support for pidgin/finch instant messenger (2.7.1)

Am Freitag 25 Juni 2010 09:19:27 schrieb Thomas Petazzoni:

Quoted 11 lines

On Thu, 24 Jun 2010 17:26:25 +0200

package/pidgin/Config.in line 5

Quoted 1 line · Peter Huewe
package/pidgin/Config.in new file +1 -0
+	select BR2_PACKAGE_GNUTTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE

^^^ should be BR2_PACKAGE_GETTEXT

Otherwise, looks good, I think the next version will get by Acked-by :-)

Thomas

Then it seems to be wrong in the documentation - esspecially if you look at the extra T in GNUT :)

Quoted 5 lines

Packages that need gettext only when locale support is enabled should:

1. Use select BR2_PACKAGE_GNUTTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE and
possibly select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE if libintl is also needed

http://buildroot.org/downloads/buildroot.html#gettext-integration
Maybe we should change that - patch comes in the next message ;)

Peter

#8 lore raw

[Buildroot] docs: Fixed spelling error in buildroot.html GETTEXT instead of GNUTTEXT

In reply to Thomas Petazzoni

From: Peter Huewe <[email protected]>

Fixed spelling error in Documentation buildroot.html#gettext-integration

GETTEXT instead of GNUTTEXT

---
 docs/buildroot.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
docs/buildroot.html +2 -2
index 71bd72b..52d8391 100644
@@ -1633,7 +1633,7 @@ LIBFOO_POST_PATCH_HOOKS += LIBFOO_POST_PATCH_FIXUP
     <p>Therefore, packages that unconditionnally need gettext should:</p>
 
     <ol>
-      <li>Use <code>select BR2_PACKAGE_GNUTTEXT if
+      <li>Use <code>select BR2_PACKAGE_GETTEXT if
       BR2_NEEDS_GETTEXT</code> and possibly <code>select
       BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT</code> if libintl is
       also needed</li>
@@ -1646,7 +1646,7 @@ LIBFOO_POST_PATCH_HOOKS += LIBFOO_POST_PATCH_FIXUP
     should:</p>
 
     <ol>
-      <li>Use <code>select BR2_PACKAGE_GNUTTEXT if
+      <li>Use <code>select BR2_PACKAGE_GETTEXT if
       BR2_NEEDS_GETTEXT_IF_LOCALE</code> and possibly <code>select
       BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE</code> if
       libintl is also needed</li>
Signature · 1 line
1.7.1
#9 lore raw

[Buildroot] docs: Fixed spelling error in buildroot.html GETTEXT instead of GNUTTEXT

Quoted 3 lines · On Fri, 25 Jun 2010 12:02:03 +0200 Peter H?we <[email protected]> wrote:

Fixed spelling error in Documentation buildroot.html#gettext-integration

GETTEXT instead of GNUTTEXT

Indeed, I did it wrong when writing the documentation. Therefore for this documentation patch:

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#10 lore raw

[Buildroot] docs: Fixed spelling error in buildroot.html GETTEXT instead of GNUTTEXT

In reply to Peter Hüwe
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter H?we <[email protected]> writes:

Peter> From: Peter Huewe <[email protected]>
Peter> Fixed spelling error in Documentation buildroot.html#gettext-integration

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#11 lore raw

PATCH v5 1/1 package: Add support for pidgin/finch instant messenger (2.7.1)

In reply to Thomas Petazzoni

From: Peter Huewe <[email protected]>

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.1 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.

---
 package/Config.in                |    1 +
 package/pidgin/Config.in         |   15 +++++++++++
 package/pidgin/README-ISSUES.txt |    9 ++++++
 package/pidgin/pidgin.mk         |   52 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 77 insertions(+), 0 deletions(-)
 create mode 100644 package/pidgin/Config.in
 create mode 100644 package/pidgin/README-ISSUES.txt
 create mode 100644 package/pidgin/pidgin.mk
package/Config.in +1 -0
index eba21da..f292bc6 100644
@@ -404,6 +404,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"
package/pidgin/Config.in new file +15 -0
new file mode 100644
index 0000000..76b3cc2
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_PIDGIN
+	bool "pidgin/finch"
+	select BR2_PACKAGE_LIBXML2
+	select BR2_PACKAGE_NCURSES_TARGET_PANEL
+	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
+	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, by locale)
+	  
+	  For more details see http://pidgin.im/
package/pidgin/README-ISSUES.txt new file +9 -0
new file mode 100644
index 0000000..2b33ec9
@@ -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)
package/pidgin/pidgin.mk new file +52 -0

52 lines not on this page · raw message

Signature · 1 line
1.7.1