debian/0000755000000000000000000000000012143323671007170 5ustar debian/rules0000755000000000000000000000141011740436243010246 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) confflags ?= $(shell dpkg-buildflags --export=configure) %: dh $@ override_dh_auto_build: $(confflags) $(MAKE) override_dh_auto_install: mkdir -p $(CURDIR)/debian/pidgin-twitter/usr/lib/pidgin $(MAKE) install \ PIDGIN_PLUGIN_DIR=$(CURDIR)/debian/pidgin-twitter/usr/lib/pidgin \ PIDGIN_DATA_DIR=$(CURDIR)/debian/pidgin-twitter/usr/share override_dh_installchangelogs: cat $(CURDIR)/README | \ sed -n '/^5\./,/^6\./p' | \ sed -e 's/5\. //' -e 's/^6\..*//'> $(CURDIR)/ChangeLog.upstream dh_installchangelogs $(CURDIR)/ChangeLog.upstream override_dh_clean: dh_clean $(CURDIR)/ChangeLog.upstream debian/patches/0000755000000000000000000000000012143323624010615 5ustar debian/patches/series0000644000000000000000000000016312143323320012023 0ustar fix_ftbfs_gdkpixbuf_225.patch enable_hardening_build_flags.patch initializing_value.patch fix_ftbfs_glib_235.patch debian/patches/enable_hardening_build_flags.patch0000644000000000000000000000177111740436276017456 0ustar Description: enable hardening build flags Author: HIGUCHI Daisuke (VDR dai) updated, sugguested by Simon Ruderich , thanks. --- pidgin-twitter/Makefile.in.orig 2012-04-09 09:50:33.000000000 +0900 +++ pidgin-twitter/Makefile.in 2012-04-09 09:56:54.313313479 +0900 @@ -9,11 +9,11 @@ PIDGIN_DATA_DIR = @PIDGIN_PREFIX@/share PIDGIN_CFLAGS = @PIDGIN_CFLAGS@ GLIB_CFLAGS = @GLIB_CFLAGS@ XML_CFLAGS = @XML_CFLAGS@ -CFLAGS = -fPIC -shared -Wall -Werror -g $(PIDGIN_CFLAGS) $(GLIB_CFLAGS) $(XML_CFLAGS) -DDATADIR=\"$(PIDGIN_DATA_DIR)\" +CFLAGS += -fPIC -shared -Wall -Werror -g $(PIDGIN_CFLAGS) $(GLIB_CFLAGS) $(XML_CFLAGS) -DDATADIR=\"$(PIDGIN_DATA_DIR)\" GLIB_LIBS = @GLIB_LIBS@ XML_LIBS = @XML_LIBS@ -LDFLAGS = -fPIC -shared -Wall $(GLIB_LIBS) $(XML_LIBS) +LDFLAGS += -fPIC -shared -Wall $(GLIB_LIBS) $(XML_LIBS) all: $(TARGET) @@ -23,7 +23,7 @@ $(TARGET): $(OBJS) .c.o: - $(CC) -o $@ $< -c $(CFLAGS) + $(CC) -o $@ $< -c $(CFLAGS) $(CPPFLAGS) install: $(TARGET) debian/patches/fix_ftbfs_glib_235.patch0000644000000000000000000000107612143323624015202 0ustar Description: Fix FTBFS with glib 2.35. Do not use g_type_init() deprecated glib >= 2.35.0. Author: HIGUCHI Daisuke (VDR dai) Bug: http://bugs.debian.org/707459 diff --git a/main.c b/main.c index 042b20a..9a01642 100644 --- a/main.c +++ b/main.c @@ -1437,7 +1437,9 @@ init_plugin(PurplePlugin *plugin) { char *dirname = NULL; +#if !GLIB_CHECK_VERSION(2, 35, 0) g_type_init(); +#endif dirname = g_build_filename(purple_user_dir(), "pidgin-twitter", "icons", NULL); if(dirname) purple_prefs_add_string(OPT_ICON_DIR, dirname); debian/patches/initializing_value.patch0000644000000000000000000000074411733572531015540 0ustar Description: initializing value Author: HIGUCHI Daisuke (VDR dai) --- pidgin-twitter/twitter_api.c.orig 2011-09-03 21:11:06.000000000 +0900 +++ pidgin-twitter/twitter_api.c 2012-03-25 19:30:29.614236384 +0900 @@ -826,7 +826,7 @@ post_status_with_api_cb(PurpleUtilFetchU gchar *start = NULL; xmlDocPtr doc; xmlNode *nptr; - status_t *st; + status_t *st = NULL; gchar *m; start = strstr(url_text, " Bug-Ubuntu: https://bugs.launchpad.net/bugs/935366 --- pidgin-twitter-0.9.2.1.orig/icon.c +++ pidgin-twitter-0.9.2.1/icon.c @@ -280,7 +280,7 @@ got_page_cb(PurpleUtilFetchUrlData *url_ } if(data && data->pixbuf) { - gdk_pixbuf_unref(data->pixbuf); + g_object_unref(data->pixbuf); data->pixbuf = NULL; } @@ -327,7 +327,7 @@ make_scaled_pixbuf(const gchar *url_text size = DEFAULT_ICON_SIZE; dest = gdk_pixbuf_scale_simple(src, size, size, GDK_INTERP_HYPER); - gdk_pixbuf_unref(src); + g_object_unref(src); return dest; } debian/copyright0000644000000000000000000000213611733563751011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pidgin-twitter Source: http://www.honeyplanet.jp/pidgin-twitter/ Files: * Copyright: 2008-2010 the pidgin-twitter team License: GPL-2 Yoshiki Yazawa (@yazuuchi) and the pidgin-twitter team . This program 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 2 of the License, or (at your option) any later version. . This program 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 program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/source/0000755000000000000000000000000011630414532010465 5ustar debian/source/format0000644000000000000000000000001411630414532011673 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211630414532010363 0ustar 7 debian/watch0000644000000000000000000000023211630417311010211 0ustar # Compulsory line, this is a version 3 file version=3 http://www.honeyplanet.jp/pidgin-twitter \ http://www.honeyplanet.jp/pidgin-twitter-(.*)\.tar\.gz debian/docs0000644000000000000000000000002211630414532010032 0ustar FAQ FAQ_ja README debian/changelog0000644000000000000000000000575412143323670011054 0ustar pidgin-twitter (0.9.2.1-4) unstable; urgency=low * fix FTBFS with glib 2.35 (Closes: #707459). - debian/patches/fix_ftbfs_glib_235.patch: new file. * Bump up Standards-Version: 3.9.4 -- HIGUCHI Daisuke (VDR dai) Sat, 11 May 2013 10:56:21 +0900 pidgin-twitter (0.9.2.1-3) unstable; urgency=low * update hardening build flags (Closes: #668122). thanks to Simon Ruderich . - debian/patches/enable_hardening_build_flags.patch: updated. - debian/rules: updated. -- HIGUCHI Daisuke (VDR dai) Mon, 09 Apr 2012 10:23:16 +0900 pidgin-twitter (0.9.2.1-2) unstable; urgency=low * debian/control: update Vcs-Browser. * debian/copyright: switched to DEP-5 format. * debian/patches/fix_ftbfs_gdkpixbuf_225.patch - Fix FTBFS with gdk-pixbuf 2.25. - stolen from 0.9.2.1-1ubuntu1. thanks to Felix Geyer * debian/patches/initializing_value.patch: added. - initalizing value to fix FTBFS. * enable hardening build flags. - debian/rules: using dpkg-buildflags. - debian/patches/enable_hardening_build_flags.patch: added. * Bump up Standards-Version: 3.9.3 -- HIGUCHI Daisuke (VDR dai) Sun, 25 Mar 2012 19:57:02 +0900 pidgin-twitter (0.9.2.1-1) unstable; urgency=low * New upstream release. - Build fix for GCC 4.6 (Closes: #625418) * debian/watch - eliminate lintian warning: debian-watch-contains-dh_make-template * debian/copyright - eliminate lintian warning: helper-templates-in-copyright * Bump up Standards-Version: 3.9.2 -- HIGUCHI Daisuke (VDR dai) Sat, 03 Sep 2011 21:25:56 +0900 pidgin-twitter (0.9.2-1) unstable; urgency=low * Initial Debian release (Closes: #589324) - New upstream release. - Ubuntu PPA worked by Jean-Baptiste Lab , uploading this package to Debian with his consent. * re-created all debian/* files. - add override_dh_installchangelogs and override_dh_clean for generating upstream changelog. It is pointed out by Mauro Lizaur , Thank you. -- HIGUCHI Daisuke (VDR dai) Thu, 02 Sep 2010 22:47:27 +0900 pidgin-twitter (0.9.0-0~ppa2) karmic; urgency=low * Upstream version 0.9.0 -- Jean-Baptiste Lab Mon, 11 Jan 2010 20:40:58 +0100 pidgin-twitter (0.8.1-0~ppa2) hardy; urgency=low * Upstream version 0.8.1 -- Jean-Baptiste Lab Thu, 11 Dec 2008 07:19:18 +0100 pidgin-twitter (0.8.0rel1-0~ppa1) hardy; urgency=low * Upstream version 0.8.0 -- Jean-Baptiste Lab Tue, 28 Oct 2008 20:48:17 +0100 pidgin-twitter (0.8.0beta1-0~ppa2) hardy; urgency=low * Add dependency on dpatch -- Jean-Baptiste Lab Sun, 26 Oct 2008 10:19:42 +0100 pidgin-twitter (0.8.0beta1-0~ppa1) hardy; urgency=low * Initial release. -- Jean-Baptiste Lab Sat, 25 Oct 2008 08:29:29 +0200 debian/control0000644000000000000000000000202411733575026010600 0ustar Source: pidgin-twitter Section: net Priority: extra Maintainer: HIGUCHI Daisuke (VDR dai) Build-Depends: debhelper (>= 7.0.50~), autotools-dev, libglib2.0-dev (>= 2.16.0), libgtk2.0-dev (>= 2.12.0), libxml2-dev (>= 2.6.27), pidgin-dev (>= 2.6.0) Standards-Version: 3.9.3 Homepage: http://www.honeyplanet.jp/pidgin-twitter/ Vcs-Git: git://anonscm.debian.org/collab-maint/pidgin-twitter.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/pidgin-twitter.git Package: pidgin-twitter Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, pidgin Description: Pidgin plugin for Twitter A Pidgin plugin for a microblogging services such as Twitter. It allows you to post and read micro blogs on pidgin. It provides many useful features. For example, . - display user icon - translate sender's name to a link to her/his webpage - play sounds for specified users - count posting letters - filter messages from specified users . It supports Twitter, Wassr, identi.ca, jisko and friendfeed.