--- freetalk-3.2.orig/debian/watch +++ freetalk-3.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://download.savannah.gnu.org/releases/freetalk/freetalk-([\d\.]+)\.tar\.gz --- freetalk-3.2.orig/debian/dirs +++ freetalk-3.2/debian/dirs @@ -0,0 +1 @@ +usr/share/locale --- freetalk-3.2.orig/debian/changelog +++ freetalk-3.2/debian/changelog @@ -0,0 +1,118 @@ +freetalk (3.2-1ubuntu1) karmic; urgency=low + + * Fix FTBFS due to a modified const in src/callbacks.cc (LP: #443241) + + -- Jon Bernard Mon, 05 Oct 2009 12:17:44 -0400 + +freetalk (3.2-1) unstable; urgency=low + + * New upstream release: + + Fix hang at start-up for some users (Closes: #495219) + * debian/copyright: + + All files of package is under GPL-3+ now + + Updated emails of upstream authors + + Updated Debian copyright and my email there + + -- Kartik Mistry Tue, 18 Nov 2008 08:59:04 +0530 + +freetalk (3.1-1) unstable; urgency=medium + + * Urgency set to medium, fixing FTBFS on ia64 due to dependency on guile-1.8 + * New upstream version + * debian/patches: + + Removed, merged with upstream + * debian/rules: + + Dropped dpatch support + * debian/control: + + Dropped dpatch support + + -- Kartik Mistry Wed, 27 Aug 2008 19:10:36 +0530 + +freetalk (3.0-3) unstable; urgency=medium + + * Fixing RC bug, urgency set to medium + * debian/control: + + Does not depend on guile1.8 for ia64 arch, so that freetalk can + migrate in Lenny and this will fix dependency of automake1.8 of + version 0.69 (Closes: #496115) + + Updated my maintainer email address + + -- Kartik Mistry Sat, 23 Aug 2008 12:57:45 +0530 + +freetalk (3.0-2) unstable; urgency=low + + * Fix bashism in extensions/first-time-run.sh (Closes: #489577) + * Update Standard-Version to 3.8.0 in debian/control + * remove errant .arch-ids in examples/ directory. + * Fixed debian/rules to correctly handle config.sub and config.guess so they + are not included in the diff.gz + * ./configure --enable-maintainer-mode + * depend on guile1.8 not 1.6 + + -- Jaldhar H. Vyas Mon, 21 Jul 2008 19:13:28 -0400 + +freetalk (3.0-1) unstable; urgency=low + + * New upstream release + * debian/control: + + Updated dependency on guile-1.8-dev, automake1.10 + + Added dpatch support + + Moved Homepage entry to control field + + Updated long description + + Updated Standards-Version to 3.7.3 + * debian/copyright: + + Updated license text, freetalk is under GPL-3 now + + Corrected package copyright text + + Added src/* license text as they are under GPL-2 + + Updated download location + * debian/watch: updated to get latest versions + * debian/rules: + + Updated automake support + + Added option for verbose mode + + Changes needed for dpatch support + * debian/patches/01_manpage_fix.dpatch: + + Added patch to fix wrong NAME section + + -- Kartik Mistry Sat, 1 Dec 2007 14:56:11 +0530 + +freetalk (0.69-2) unstable; urgency=low + + * debian/control: added missing build dependency on texinfo and automake1.8 + so that buildd can include and build .info file correctly + * debian/control: updated long description, added ${misc:Depends} to Depends + * Added debian/watch file + * debian/rules: clean target removes symlink files from doc/ which probably + causing build failure on arm arch + + -- Kartik Mistry Sun, 4 Nov 2007 19:17:01 +0530 + +freetalk (0.69-1) unstable; urgency=low + + * New maintainer with permission, Thanks Baishampayan Ghose + + * New upstream release (Closes: #417674) + * freetalk.info.gz is corrected now (Closes: #378308) + * debian/rules: cleanups, fixed clean target, made first-time-run.sh script + executable, fixed locale installations due to missing --locale-dir option + * debian/copyright: updated according to standard format + * debian/control: updated debhelper compability to 5, updated according to + standards-version 3.7.2, sorted dependencies to alphabetical order, fixed + short and long descriptions, added homepage entry to long description + * debian/docs: added AUTHORS file + * debian/dirs: added to fix locale installtions + + -- Kartik Mistry Mon, 10 Sep 2007 15:04:59 +0530 + +freetalk (0.5-2) unstable; urgency=low + + * Call dh_installinfo in debian/rules (Closes: #348619) + + -- Baishampayan Ghose Sat, 11 Feb 2006 01:53:42 +0530 + +freetalk (0.5-1) unstable; urgency=low + + * Initial Release. + * (Closes: #342691) + + -- Baishampayan Ghose Sat, 10 Dec 2005 10:10:47 +0530 + --- freetalk-3.2.orig/debian/docs +++ freetalk-3.2/debian/docs @@ -0,0 +1,3 @@ +AUTHORS +NEWS +README --- freetalk-3.2.orig/debian/copyright +++ freetalk-3.2/debian/copyright @@ -0,0 +1,40 @@ +This package was debianized by Baishampayan Ghose on +Sat, 10 Dec 2005 10:10:47 +0530. + +It was downloaded from: . + +Upstream authors: + Anand Avati + Anand Babu + Harshavardhana + Vikas Gorur + + Documentation: Harshavardhana + + Logo design: Ravi Shekhar S + + +Copyright (C) 2005-2007 Freetalk Core Team + +License: GPL-3+ + + This package 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 3 of the License, or (at your + option) any later version. + + This package 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 package; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU General Public License can be +found in `/usr/share/common-licenses/GPL`. + +The Debian packaging is (C) 2005-2006 Baishampayan Ghose , +(C) 2007-2008 Kartik Mistry and is licensed under the GPL, +see above. --- freetalk-3.2.orig/debian/compat +++ freetalk-3.2/debian/compat @@ -0,0 +1 @@ +5 --- freetalk-3.2.orig/debian/rules +++ freetalk-3.2/debian/rules @@ -0,0 +1,96 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CONFFLAGS = +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + CONFFLAGS += --build $(DEB_HOST_GNU_TYPE) +else + CONFFLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: + automake-1.10 -a -c; aclocal-1.10; autoconf + +configure-stamp: configure + dh_testdir + ln -sf /usr/share/misc/config.sub . + ln -sf /usr/share/misc/config.guess . + rm -f config.cache + + ./configure CFLAGS="$(CFLAGS)" $(CONFFLAGS) \ + --enable-maintainer-mode \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --localedir=\$${prefix}/share/locale + + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + [ ! -f Makefile ] || $(MAKE) distclean + + rm -f po/*.gmo po/stamp-po po/*.pot po/*.po \ + doc/version.texi doc/mdate-sh doc/texinfo.tex + + find -type d -name autom4te.cache -print0 | xargs -0 -r rm -rf \; + -rm -f platform.h auto-include.h + find -type d -name build -print0 | xargs -0 -r rm -rf \; + find \( -name config.sub -o -name config.guess \) -print0 | xargs -0 -r rm -f \; + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/freetalk + chmod 0755 $(CURDIR)/debian/freetalk/usr/share/freetalk/extensions/first-time-run.sh + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples examples/* + dh_installman + dh_installinfo + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean configure binary-indep binary-arch binary install --- freetalk-3.2.orig/debian/control +++ freetalk-3.2/debian/control @@ -0,0 +1,18 @@ +Source: freetalk +Section: net +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Kartik Mistry +Uploaders: Jaldhar H. Vyas +Build-Depends: debhelper (>= 5), automake1.10, autotools-dev, guile-1.8-dev [!ia64], guile-1.6-dev [ia64], libglib2.0-dev, libloudmouth1-dev, libreadline5-dev, texinfo +Homepage: http://www.gnu.org/software/freetalk +Standards-Version: 3.8.0 + +Package: freetalk +Architecture: any +Depends: guile-1.8 [!ia64], guile-1.6 [ia64], ${shlibs:Depends}, ${misc:Depends} +Recommends: beep, dict, urlview +Description: A console based Jabber client + This package features a readline interface with completion of buddy names, + commands and even ordinary English words. Freetalk is extensible, configurable, + and scriptable through a Guile interface. --- freetalk-3.2.orig/src/callbacks.cc +++ freetalk-3.2/src/callbacks.cc @@ -116,13 +116,13 @@ LmMessage *msg, gpointer user_data) { LmMessageNode *root, *body, *x; - const char *from, *msg_str, *type; - char *ts = NULL; + const char *msg_str, *type; + char *from, *ts = NULL; root = lm_message_get_node (msg); body = lm_message_node_get_child (root, "body"); - from = lm_message_node_get_attribute (msg->node, "from"); + from = (char *) lm_message_node_get_attribute (msg->node, "from"); /* since the file-transfer happens in-band with messages, we can no longer * ignore messages with no 'body' */