pidgin/purple-plugin-pack

04ca25b7c135
Parents ea3780da6a08
Children e6803cfad87c
Some updates to make the Debian packaging easier

Fix a spelling mistake in irc-more

Remove this old debian directory. It needs to be redone and not in the root.

Initialize gettext in plonkers

Depend on enchant-2 instead of enchant

Testing Done:
Simple builds and packaging with some updates for the official Debian packaging that will be upstreamed to them.

Reviewed at https://reviews.imfreedom.org/r/28/
--- a/debian/README.Debian Tue Jul 14 03:36:26 2020 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-purple-plugin-pack for Debian
----------------------------
-
-Not all of the plugins that are distributed in this source package are built by default due to the likelyhood of abuse. Enabling them for a rebuild is fairly simple and left as an exercise for the reader.
-
- -- Benjamin Seidenberg <benjamin@debian.org>, Thu, 26 Oct 2006 22:37:45 -0400
--- a/debian/changelog Tue Jul 14 03:36:26 2020 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,116 +0,0 @@
-purple-plugin-pack (2.6.0-1) unstable; urgency=low
-
- * Non-maintainer upload.
- * New Upstream Release (Closes: #475915)
- + Adds new plugins
- - enhancedhist (Enhanced History)
- - colorize (colors messages in a calculated gradient)
- - splitter (splits messages at configurable length)
- - google (sends result of a Google "I'm Feeling Lucky" search as a link)
- - listlog (dumps list of users in a chat to message window for logging)
- - autoprofile (tools to change profile and status messages)
- - napster (NAPSTER IM protocol plugin)
- - xmppprio (allows changing priorities of XMPP statuses per account)
- + Fix crashes in plugins (Closes: #504344)
- - xchat-chats (would crash Pidgin 2.4.0 and newer)
- - irc-more (potential double-free caused by typo)
- + Fix bugs
- - Missing header include in timelog plugin that prevented proper plugin
- loading in some configurations.
- - Various memory leaks in plugins
- - Commands are properly unregistered when unloading gRIM and eight_ball
- - Mnemonics are no longer mistakenly interpreted from strings in the
- preferences window for slashexec
- - dewysiwygification's debug log messages now properly end lines
- - slahsexec strips ASCII control characters, fixing disconnects on XMPP
- - radio buttons in switchspell's menu are now grouped properly
- - switchspell no longer causes slow tab switching in conversation
- windows
- - slashexec no longer crashes on a NULL dereference when processing chat
- messages
- + Adds features
- - listhandler handles "FriendlyName" attributes in AIM-produced .blt files
- - irssi plugin has preferences to control some elements of behavior
- - eight_ball has /bollocks command, inspired by /dev/bollocks kernel
- module
- - dice now supports dice notation
- (http://en.wikipedia.org/wiki/Dice_notation) but is imperfect.
- - dice now calls /me command with its output
- - With Pidgin 2.4.0 and newer, irc-more adds /notice to send IRC notices
- * Updated package description (Closes: #511637, #479559)
-
- -- John Bailey <rekkanoryo@rekkanoryo.org> Sun, 30 Aug 2009 23:42:32 -0400
-
-purple-plugin-pack (2.2.0-1) unstable; urgency=low
-
- * New Upstream Release
- + Adds new plugins
- - convbadger
- - dewisygification
- - infopane
- - snpp
- - switchspell
- - timelog
- + Remove plugin hideconv (merged into Pidgin)
- + Various stability fixes
- * Fix debian/watch to reflect gaim->pidgin transition in upstream's
- repository (Closes: #450286)
- * Apply patch from Stu Tomlinson to fix timelog symbol issue.
-
- -- Benjamin Seidenberg <benjamin@debian.org> Mon, 17 Mar 2008 15:25:08 -0400
-
-purple-plugin-pack (2.0.0-1) unstable; urgency=low
-
- * New upstream release (Closes: #434958)
- - Blistops now offers the ability to stretch the display of screen names
- or aliases into the buddy icon column when no icon exists
- - Blistops now shows the menu bar when hovering near the top of the buddy
- list window. Resolves a number of Pidgin bug reports (Closes: #431178)
- - Listhandler now supports alias-only list exports and imports (rseeber)
- - Listhandler now exports and imports buddy notes created with the
- buddynote plugin
- - Added ignore plugin
- - Added irc-more plugin
- - Added highlight plugin
- - Added incomplete convbadger plugin
- - Added internationalization support to plonkers
- - Added more humorous stuff to eight_ball (resiak)
- - Added support for spaces in filenames to gRIM (rageboy04)
- - Added a stop subcommand in gRIM (rageboy04)
- - Changed order of arguments to gRIM command (rageboy04)
- - Fixed build-by-default status for switchspell
- - Fixed crash in album when using Pidgin 2.0.2 or newer
- (Closes: #434136, #433632, #434400)
- - Fixed potential crashes in some other plugins when using Pidgin 2.0.2 or
- newer
- - Fixed potential random crashes in irssi plugin (Closes: #432218)
- * Enabled new plugins ignore, irc-more and highlight
- * Applied upstream patch to sepandtab (Thanks: John Bailey)
- (Part of upstream commit r7241930964f41f9b0fddf83ab3f68f7b55de5870)
-
- -- Benjamin Seidenberg <benjamin@debian.org> Mon, 30 Jul 2007 01:23:10 -0400
-
-purple-plugin-pack (1.0-3) unstable; urgency=low
-
- * The "Third try's the charm" release
- * Add emtpy transitional package for gaim-irchelper (Closes: #428457)
- * Fix reference to gaim in package description (Closes: #427846)
-
- -- Benjamin Seidenberg <benjamin@debian.org> Mon, 11 Jun 2007 20:16:31 -0400
-
-purple-plugin-pack (1.0-2) unstable; urgency=low
-
- * The "Look before you leap" release (Thanks: Ari Pollak)
- * Enhance Pidgin, not gaim
- * Remove Conflict/Replace on gaim-irchelper to allow a transitional package
-
- -- Benjamin Seidenberg <benjamin@debian.org> Tue, 05 Jun 2007 18:03:08 -0400
-
-purple-plugin-pack (1.0-1) unstable; urgency=low
-
- * Initial release (Closes: #353641, #291973)
- * Adjust all Makefiles.in to remove duplicate dependency on pidgin
- * Remove unneeded .la files
-
- -- Benjamin Seidenberg <benjamin@debian.org> Sun, 27 May 2007 15:24:21 -0400
-
--- a/debian/compat Tue Jul 14 03:36:26 2020 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-5
--- a/debian/control Tue Jul 14 03:36:26 2020 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,138 +0,0 @@
-Source: purple-plugin-pack
-Section: net
-Priority: optional
-Maintainer: John Bailey <rekkanoryo@rekkanoryo.org>
-Build-Depends: debhelper (>= 5), pidgin-dev, pkg-config, libgtk2.0-dev, libglib2.0-dev, libxml-parser-perl, libenchant-dev, libgtkspell-dev, python
-Standards-Version: 3.8.1
-
-Package: pidgin-plugin-pack
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Enhances: pidgin, xmms
-Description: 59 useful plugins for Pidgin, Finch, and Purple
- The Plugin Pack is a collection of many simple-yet-useful plugins for Pidgin,
- Finch, and Purple. You will find a summary of each plugin below. For more
- about an individual plugin, please see http://plugins.guifications.org/
- .
- Note: not all 59 of these plugins are currently usable
- .
- Album: Archives buddy icons
- .
- AutoProfile: User profile and status message content generator
- .
- Autoreply: Autoreply for all the protocols
- .
- Away State Notification: Shows when someone goes away/back in a conversation
- .
- bash.org: Generates links for quotes at bash.org
- .
- Buddy Icon Tools: Tools to manipulate buddy icons *DANGEROUS*
- .
- Buddy List Options: Gives extended options to the buddy list
- .
- Buddy Time: Quickly see the local time of a buddy
- .
- Chronic: Sound playing triggers
- .
- Colorize: Colorizes outgoing message text.
- .
- Conversation Badger: Badges conversations with the protocol icon.
- .
- DeWYSIWYGification: Lets you type in HTML without it being escaped
- .
- Dice: Rolls dice in a chat or im
- .
- DiffTopic: Show the old topic when the topic in a chat room changes
- .
- Magic 8 Ball: Provides Magic 8-ball like functionality
- .
- Enhanced History: An enhanced version of the history plugin
- .
- Find IP: Find the IP of a person in the buddylist
- .
- Coin Flip: Flips a coin and outputs the result
- .
- gRIM: A completely stupid and pointless plugin
- .
- GNT Smart Ear: The GNT (Finch) component of the Smart Ear plugins
- .
- Google: Writes the results of an "I'm feeling lucky" search to a conversation
- .
- Group IM: Send an IM to a group of buddies
- .
- Buddy Time (Pidgin UI): Pidgin user interface for the Buddy Time plugin
- .
- Gtk Smart Ear: The GTK+ (Pidgin) component of the SmartEar plugin suite
- .
- Hide Conversation: Hide conversations without closing them
- .
- Highlight: Support for highlighting words
- .
- Ignorance: Allows management of users with various levels of activity
- .
- Ignore: Flexible plugin to selectively ignore people
- .
- Infopane Options: Adds some options for the information pane in conversations
- .
- IRC Helper: Handles the rough edges of the IRC protocol
- .
- IRC More: Adds additional IRC features
- .
- Irssi Features: Implements features of the IRC client irssi in Pidgin
- .
- Last Seen: Record when a buddy was last seen
- .
- List Handler: Provides numerous user-requested list-handling capabilities
- .
- Chat User List Logging: Logs the list of users in a chat when you join
- .
- Message Length: Shows the length of your current message in the menu tray
- .
- Mystatusbox: Hide/Show the per-account statusboxes
- .
- Napster: NAPSTER Protocol Plugin
- .
- Nicksaid: Record when someone said your nick in a chat
- .
- No Mobility: Stops you from messaging mobile users
- .
- Old Logger: Re-implements the legacy, deficient, logging
- .
- Plonkers: Tell plonkers what you really think
- .
- Schedule: Schedule reminders at specified times
- .
- Separate And Tab: Adds two placement functions for separating and tabbing
- .
- Show Offline: Show specific buddies while offline
- .
- SIM-fix: Fix messages from broken SIM clients
- .
- /exec: /exec a la UNIX IRC CLI
- .
- Smart Ear: The Core component of the Smart Ear plugins
- .
- SNPP: SNPP Plugin
- .
- Message Splitter: Splits sent messages into smaller ones of a specified size
- .
- SSL Info: Displays info about your currently loaded SSL plugin
- .
- Stocker: A stock ticker
- .
- stress: Stress libpurple
- .
- Switch Spell: Switch Spell Checker Language
- .
- GNU Talk Filters: Translates text in sent messages into humorous dialects
- .
- TimeLog: allows the viewing of Pidgin logs within a specific time range
- .
- XChat Chats: XChat-like chats with Pidgin
- .
- XMMS Remote Control: Control XMMS from Pidgin conversations
- .
- XMPP Priority: Adds account options that allow users to specify the priorities used for available and away for XMPP accounts.
- .
- .
- Homepage: http://plugins.guifications.org/
--- a/debian/copyright Tue Jul 14 03:36:26 2020 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-This package was debianized by Benjamin Seidenberg <benjamin@debian.org> on
-Thu, 26 Oct 2006 22:37:45 -0400 as gaim-plugin-pack. However, due to delays in
-stabalizing the gaim ABI it was not released until May, 2007
-as purple-plugin-pack.
-
-It was downloaded from http://plugins.guifications.org/trac/downloads
-
-Upstream Authors: Gary Kramlich <grim@reaperworld.com>
- Stu Tomlinson <stu@nosnilmot.com>
- Peter Lawler <bleeter@users.sf.net>
- John Bailey <rekkanoryo@users.sourceforge.net>
- Kevin Stange <kstange@users.sourceforge.net>
- Lennert Van Alboom <alverino@users.sourceforge.net>
- Daniel Atallah <datallah@users.sourceforge.net>
- Sadrul H Chowdhury <sadrul@users.sourceforge.net>
- Richard Laager <rlaager@guifications.org>
-
-Copyright (c) 2004-2007 Gary Kramlich <grim@reaperworld.com>,
- Stu Tomlinson <stu@nosnilmot.com>,
- Peter Lawler <bleeter@users.sf.net>,
- John Bailey <rekkanoryo@users.sourceforge.net>,
- Kevin Stange <kstange@users.sourceforge.net>,
- Lennert Van Alboom <alverino@users.sourceforge.net>,
- Daniel Atallah <datallah@users.sourceforge.net>,
- Sadrul H Chowdhury <sadrul@users.sourceforge.net>,
- Richard Laager <rlaager@guifications.org>,
-
-Individual Files Copyright:
-
-gaim-xchat/xtext.c: * Copyright (C) 1998 Peter Zelezny.
-stocker/gtkticker.c: * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
-stocker/gtkticker.c: * GtkTicker Copyright 2000 Syd Logan
-stocker/gtkticker.h: * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
-stocker/gtkticker.h: * Copyright 2000 Syd Logan
-irchelper/irchelper.c: * Copyright (C) 2005-2007, Richard Laager <rlaager@users.sf.net>
-irchelper/irchelper.c: * Copyright (C) 2004-2005, Mathias Hasselmann <mathias@taschenorakel.de>
-irchelper/irchelper.c: * Copyright (C) 2005, Daniel Beardsmore <uilleann@users.sf.net>
-irchelper/irchelper.c: * Copyright (C) 2005, Björn Nilsson <BNI on irc.freenode.net>
-irchelper/irchelper.c: * Copyright (C) 2005, Anthony Sofocleous <itchysoft_ant@users.sf.net>
-ignorance/regex.h: Copyright (C) 1985, 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
-ignorance/ignorance.c: * Copyright (c) 200?-2006 Levi Bard
-ignorance/ignorance.c: * Copyright (c) 2005-2006 Peter Lawler
-ignorance/ignorance.c: * Copyright (c) 2005-2006 John Baile
-napster/napster.c: * Copyright (C) 2000-2001, Rob Flynn <rob@marko.net>
-switchspell/switchspell.c: Copyright (C) 2007, Alfredo Raul Pena <arpena@users.sourceforge.net>, Sadrul H Chowdhury <sadrul@users.sourceforge.net>
-
-License:
-
- 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 2 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) 2006, 2007 Benjamin Seidenberg <benjamin@debian.org>
-and is licensed under the GPL, see above.
--- a/debian/dirs Tue Jul 14 03:36:26 2020 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-usr/bin
-usr/sbin
--- a/debian/docs Tue Jul 14 03:36:26 2020 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-NEWS
--- a/debian/files Tue Jul 14 03:36:26 2020 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-pidgin-plugin-pack_2.5.1-1_amd64.deb net optional
--- a/debian/rules Tue Jul 14 03:36:26 2020 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,99 +0,0 @@
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-config.status: configure
- dh_testdir
- # Add here commands to configure the package.
- ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CLFAGS="$(CFLAGS)"
-
-
-build: build-stamp
-
-build-stamp: config.status
- dh_testdir
-
- # Add here commands to compile the package.
- $(MAKE)
-
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
-
- # Add here commands to clean up after the build process.
- [ ! -f Makefile ] || $(MAKE) distclean
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
- cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
- cp -f /usr/share/misc/config.guess config.guess
-endif
-
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/pidgin-plugin-pack.
- $(MAKE) install DESTDIR=$(CURDIR)/debian/pidgin-plugin-pack
- # We don't need the la's
- rm $(CURDIR)/debian/pidgin-plugin-pack/usr/lib/pidgin/*.la
- rm $(CURDIR)/debian/pidgin-plugin-pack/usr/lib/purple-2/*.la
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs ChangeLog
- dh_installdocs
- dh_installexamples
-# dh_install
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
-# dh_perl
- dh_makeshlibs -n
- dh_pidgin
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
--- a/debian/update-control Tue Jul 14 03:36:26 2020 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ ! -f ../plugin_pack.py ] ; then
- echo "*** Please make sure your debian directory is under the top_srcdir of a" >&2
- echo "*** plugin pack release directory!" >&2
-
- exit 1
-fi
-
-OUTPUT=`mktemp control-XXXX`
-
-trap "rm -f ${OUTPUT}" 0 1 2 3 15
-
-# output the source package, and the header of the pidgin-plugin-pack package
-cat << EOF >> ${OUTPUT}
-Source: purple-plugin-pack
-Section: net
-Priority: optional
-Maintainer: John Bailey <rekkanoryo@rekkanoryo.org>
-Build-Depends: debhelper (>= 5), pidgin-dev, pkg-config, libgtk2.0-dev, libglib2.0-dev, libxml-parser-perl, libenchant-dev, libgtkspell-dev, python
-Standards-Version: 3.8.1
-
-Package: pidgin-plugin-pack
-Architecture: any
-Depends: \${shlibs:Depends}, \${misc:Depends}
-Enhances: pidgin, xmms
-EOF
-
-# output the details for pidgin-plugin-pack
-python ../plugin_pack.py debian_description >> ${OUTPUT}
-
-# now move the new control file in place
-mv ${OUTPUT} control
--- a/debian/watch Tue Jul 14 03:36:26 2020 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-# Compulsory line, this is a version 3 file
-version=3
-
-# <Webpage URL> <string match>
-#http://gaim.guifications.org/trac/downloads/gaim-plugin_pack-(.*)\.tar\.gz
-http://downloads.guifications.org/plugins/Plugin%20Pack/purple-plugin_pack-(.*)\.tar\.gz
--- a/irc-more/irc-more.c Tue Jul 14 03:36:26 2020 -0500
+++ b/irc-more/irc-more.c Tue Jul 14 04:09:47 2020 -0500
@@ -125,7 +125,7 @@
account, "None");
#endif
- purple_debug_info("irc-more", "Executng command: %s\n", cmd);
+ purple_debug_info("irc-more", "Executing command: %s\n", cmd);
result = purple_cmd_do_command(conv, cmd, esc, &error);
purple_debug_info("irc-more", "Executed command. Result: %d. Error: %s\n",
result, error ? error : "(null)");
--- a/meson.build Tue Jul 14 03:36:26 2020 -0500
+++ b/meson.build Tue Jul 14 04:09:47 2020 -0500
@@ -117,7 +117,7 @@
if GTKSPELL.found()
# FIXME: This is a hack that should not exist.
if run_command('pkg-config', '--static', '--libs', 'gtkspell-2.0').stdout().contains('enchant')
- ENCHANT = dependency('enchant', required : false)
+ ENCHANT = dependency('enchant-2', required : false)
ASPELL = []
BUILD_SWITCH_SPELL = ENCHANT.found()
--- a/plonkers/plonkers.c Tue Jul 14 03:36:26 2020 -0500
+++ b/plonkers/plonkers.c Tue Jul 14 04:09:47 2020 -0500
@@ -332,6 +332,10 @@
static void
init_plugin(PurplePlugin *plugin) {
+#ifdef ENABLE_NLS
+ bindtextdomain(GETTEXT_PACKAGE, PP_LOCALEDIR);
+ bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
+#endif
purple_prefs_add_none("/plugins/core/plugin_pack");
purple_prefs_add_none("/plugins/core/plugin_pack/plonkers");
purple_prefs_add_none("/plugins/core/plugin_pack/plonkers/plonkers");