summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-01-07 00:43:11 +0000
committerSven Wegener <swegener@gentoo.org>2005-01-07 00:43:11 +0000
commitf6c19a8a074db30f6c20b9acb9ada1069580cab9 (patch)
tree6ab22834f74c205c38a2cab755a1da5d96efca3b /net-irc
parentmake version reporting automagic (Manifest recommit) (diff)
downloadgentoo-2-f6c19a8a074db30f6c20b9acb9ada1069580cab9.tar.gz
gentoo-2-f6c19a8a074db30f6c20b9acb9ada1069580cab9.tar.bz2
gentoo-2-f6c19a8a074db30f6c20b9acb9ada1069580cab9.zip
Removed irssi-recode from portage. No upstream maintainer and features have been integrated into irssi. Bug #75873.
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/irssi-recode/ChangeLog32
-rw-r--r--net-irc/irssi-recode/Manifest17
-rw-r--r--net-irc/irssi-recode/files/digest-irssi-recode-1.361
-rw-r--r--net-irc/irssi-recode/files/digest-irssi-recode-1.51
-rw-r--r--net-irc/irssi-recode/files/recode.c183
-rw-r--r--net-irc/irssi-recode/irssi-recode-1.36.ebuild43
-rw-r--r--net-irc/irssi-recode/irssi-recode-1.5.ebuild44
-rw-r--r--net-irc/irssi-recode/metadata.xml5
8 files changed, 0 insertions, 326 deletions
diff --git a/net-irc/irssi-recode/ChangeLog b/net-irc/irssi-recode/ChangeLog
deleted file mode 100644
index 04b72b10d45e..000000000000
--- a/net-irc/irssi-recode/ChangeLog
+++ /dev/null
@@ -1,32 +0,0 @@
-# ChangeLog for net-irc/irssi-recode
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi-recode/ChangeLog,v 1.7 2004/09/12 02:56:30 swegener Exp $
-
- 12 Sep 2004; Sven Wegener <swegener@gentoo.org> irssi-recode-1.36.ebuild,
- irssi-recode-1.5.ebuild:
- Block >=net-irc/irssi-0.8.10_rc5 since the features of net-irc/irssi-recode
- have been integrated into Irssi.
-
- 24 Jul 2004; Sven Wegener <swegener@gentoo.org> irssi-recode-1.36.ebuild,
- irssi-recode-1.5.ebuild:
- Tidied the ebuilds.
-
- 18 Jun 2004; Sven Wegener <swegener@gentoo.org> irssi-recode-1.36.ebuild,
- irssi-recode-1.5.ebuild:
- Added IUSE=""
-
-*irssi-recode-1.5 (21 Nov 2003)
-
- 21 Nov 2003; Chuck Short <zul@gentoo.org> irssi-recode-1.5.ebuild,
- metadata.xml, files/recode.c:
- NeNew version, closes #34020.
-
- 20 Nov 2003; Greg Fitzgerald <gregf@gentoo.org> irssi-recode-1.36.ebuild:
- moved to unstable, and added to ebuild
-
-*irssi-recode-1.36 (19 Nov 2003)
-
- 19 Nov 2003; Greg Fitzgerald <gregf@gentoo.org> irssi-recode-1.36.ebuild:
- Initial Version. Closes bug #32904 submitted by Niklas Bertell
- <niklas.bertell@abo.fi>
-
diff --git a/net-irc/irssi-recode/Manifest b/net-irc/irssi-recode/Manifest
deleted file mode 100644
index 09e3b4539ec9..000000000000
--- a/net-irc/irssi-recode/Manifest
+++ /dev/null
@@ -1,17 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 23f35fc0bec5fac19a4df5321a164af1 ChangeLog 1166
-MD5 26cbd40d424478a2beba7a15f60de124 irssi-recode-1.36.ebuild 1333
-MD5 d5c1fb87461378afc69ff9949ce474df irssi-recode-1.5.ebuild 1281
-MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
-MD5 cb17857da5af4446fef7e94d553277de files/digest-irssi-recode-1.36 64
-MD5 cb17857da5af4446fef7e94d553277de files/digest-irssi-recode-1.5 64
-MD5 e51356f9be170a9d9ab92dcb51983fe7 files/recode.c 5027
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBQ7rnI1lqEGTUzyQRAvEbAJ9/9HvFcRnO/hetGBhxAtfWpH8XgACgpvd0
-Ufqz/A1e7w5NWZK25e5STog=
-=pB9s
------END PGP SIGNATURE-----
diff --git a/net-irc/irssi-recode/files/digest-irssi-recode-1.36 b/net-irc/irssi-recode/files/digest-irssi-recode-1.36
deleted file mode 100644
index 0ecb65f16bf8..000000000000
--- a/net-irc/irssi-recode/files/digest-irssi-recode-1.36
+++ /dev/null
@@ -1 +0,0 @@
-MD5 6d66982723e2eb8780ae3b8b3a7ba08d irssi-0.8.6.tar.bz2 746551
diff --git a/net-irc/irssi-recode/files/digest-irssi-recode-1.5 b/net-irc/irssi-recode/files/digest-irssi-recode-1.5
deleted file mode 100644
index 0ecb65f16bf8..000000000000
--- a/net-irc/irssi-recode/files/digest-irssi-recode-1.5
+++ /dev/null
@@ -1 +0,0 @@
-MD5 6d66982723e2eb8780ae3b8b3a7ba08d irssi-0.8.6.tar.bz2 746551
diff --git a/net-irc/irssi-recode/files/recode.c b/net-irc/irssi-recode/files/recode.c
deleted file mode 100644
index 0005fbe247c9..000000000000
--- a/net-irc/irssi-recode/files/recode.c
+++ /dev/null
@@ -1,183 +0,0 @@
-/*
- * recode.c - a character set converter
- * $Id: recode.c,v 1.1 2003/11/22 01:27:02 zul Exp $
- *
- * Copyright (c) 2003 Jean-Yves Lefort
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Jean-Yves Lefort nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
- * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- *
- * requirements:
- *
- * irssi 0.8.6 (built using --with-glib2)
- * irssi 0.8.6 sources
- * GLib 2.0 or superior
- *
- * compile:
- *
- * export IRSSI=~/src/irssi-0.8.6
- * gcc -g -shared -DHAVE_CONFIG_H -I$IRSSI -I$IRSSI/src -I$IRSSI/src/core -I$IRSSI/src/fe-common/core `pkg-config --cflags glib-2.0` -o ~/.irssi/modules/librecode.so recode.c
- *
- * usage:
- *
- * /load recode
- *
- * Load the converter into irssi.
- *
- * If the terminal type is UTF-8, text which isn't
- * encoded in UTF-8 will be converted from
- * recode_fallback.
- *
- * If the terminal type isn't UTF-8, valid UTF-8 text
- * will be converted to the terminal encoding.
- *
- * settings:
- *
- * recode_fallback
- *
- * If the terminal type is UTF-8 and a message is not
- * valid UTF-8, recode will attempt to convert it from
- * this character set.
- */
-
-#include <glib.h>
-#include <string.h>
-
-/* irssi includes */
-#include "common.h"
-#include "signals.h"
-#include "modules.h"
-#include "formats.h"
-#include "levels.h"
-#include "printtext.h"
-#include "settings.h"
-
-/*** cpp *********************************************************************/
-
-#define MODULE_NAME "recode/core"
-
-/*** module formats **********************************************************/
-
-enum {
- RECODE_TXT_MODULE_NAME,
-
- RECODE_TXT_CONVERSION_ERROR
-};
-
-static FORMAT_REC recode_formats[] = {
- { MODULE_NAME, "Character set converter", 0 },
-
- { "recode_conversion_error", "$0 {error (unable to convert from $1 to $2: $3)}", 4, { FORMAT_STRING, FORMAT_STRING, FORMAT_STRING, FORMAT_STRING } },
-
- { NULL, NULL, 0 }
-};
-
-/*** functions ***************************************************************/
-
-static void recode_print_text_cb (TEXT_DEST_REC *dest,
- char *text,
- char *stripped);
-
-/*** implementation **********************************************************/
-
-void
-recode_init (void)
-{
- theme_register(recode_formats);
-
- settings_add_str("misc", "recode_fallback", "ISO8859-15");
-
- signal_add("print text", (SIGNAL_FUNC) recode_print_text_cb);
-
- module_register("recode", "core");
-}
-
-void
-recode_deinit (void)
-{
- signal_remove("print text", (SIGNAL_FUNC) recode_print_text_cb);
-
- settings_remove("recode_fallback");
-
- theme_unregister();
-}
-
-static void
-recode_print_text_cb (TEXT_DEST_REC *dest, char *text, char *stripped)
-{
- const char *charset;
- const char *from = NULL;
- gboolean utf8;
-
- charset = settings_get_str("term_type");
- if (*charset)
- /* we use the same test as irssi, so we use the deprecated g_strcasecmp() */
- utf8 = ! g_strcasecmp(charset, "utf-8");
- else
- utf8 = g_get_charset(&charset);
-
- if (utf8)
- {
- if (! g_utf8_validate(text, -1, NULL))
- from = settings_get_str("recode_fallback");
- }
- else
- {
- if (g_utf8_validate(text, -1, NULL))
- from = "UTF-8";
- }
-
- if (from)
- {
- GError *err = NULL;
- char *converted;
-
- converted = g_convert(text,
- strlen(text),
- charset,
- from,
- NULL,
- NULL,
- &err);
- if (! converted)
- {
- converted = format_get_text(MODULE_NAME,
- dest->window,
- dest->server,
- dest->target,
- RECODE_TXT_CONVERSION_ERROR,
- text,
- from,
- charset,
- err->message);
- g_error_free(err);
- }
-
- signal_continue(3, dest, converted, stripped);
- g_free(converted);
- }
-}
diff --git a/net-irc/irssi-recode/irssi-recode-1.36.ebuild b/net-irc/irssi-recode/irssi-recode-1.36.ebuild
deleted file mode 100644
index b6b6e6dbcc86..000000000000
--- a/net-irc/irssi-recode/irssi-recode-1.36.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi-recode/irssi-recode-1.36.ebuild,v 1.6 2004/09/12 02:56:30 swegener Exp $
-
-inherit gcc flag-o-matic
-
-IRSSI="0.8.6"
-
-DESCRIPTION="A third party character set converting module for the Irssi IRC client"
-SRC_URI="http://irssi.org/files/irssi-${IRSSI}.tar.bz2"
-HOMEPAGE="http://lefort.be.eu.org/irssi/"
-
-DEPEND=">=net-irc/irssi-${IRSSI}
- >=dev-libs/glib-2.0
- !>=net-irc/irssi-0.8.10_rc5"
-#Irssi needs to be compiled with glib-2
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~amd64 ~ia64"
-IUSE=""
-
-S=${WORKDIR}
-
-src_compile() {
- append-flags -fPIC
-
- touch ${WORKDIR}/irssi-${IRSSI}/config.h &&
- $(gcc-getCC) -g -shared ${CFLAGS} -DHAVE_CONFIG_H -I${WORKDIR}/irssi-${IRSSI} -I${WORKDIR}/irssi-${IRSSI}/src \
- -I${WORKDIR}/irssi-${IRSSI}/src/core -I${WORKDIR}/irssi-${IRSSI}/src/fe-common/core -I${WORKDIR}/irssi-${IRSSI}/src/irc/core \
- -I${WORKDIR}/irssi-${IRSSI}/src/irc/dcc `pkg-config --cflags glib-2.0` -o ${T}/librecode.so ${FILESDIR}/recode.c || die "compile failed"
-}
-
-src_install() {
- exeinto /usr/lib/irssi/modules
- doexe ${T}/librecode.so
-}
-
-pkg_postinst() {
- einfo ""
- einfo ""/load recode" in Irssi and type "/help recode" for help"
- einfo ""
-}
diff --git a/net-irc/irssi-recode/irssi-recode-1.5.ebuild b/net-irc/irssi-recode/irssi-recode-1.5.ebuild
deleted file mode 100644
index 66a7b72f293c..000000000000
--- a/net-irc/irssi-recode/irssi-recode-1.5.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi-recode/irssi-recode-1.5.ebuild,v 1.5 2004/09/12 02:56:30 swegener Exp $
-
-inherit gcc flag-o-matic
-
-IRSSI="0.8.6"
-
-DESCRIPTION="A third party character set converting module for the Irssi IRC client"
-SRC_URI="http://irssi.org/files/irssi-${IRSSI}.tar.bz2"
-HOMEPAGE="http://lefort.be.eu.org/irssi/"
-
-DEPEND=">=net-irc/irssi-${IRSSI}
- >=dev-libs/glib-2.0
- !>=net-irc/irssi-0.8.10_rc5"
-#Irssi needs to be compiled with glib-2
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~amd64 ~ia64"
-IUSE=""
-
-S=${WORKDIR}
-
-src_compile() {
- append-flags -fPIC
-
- touch ${WORKDIR}/irssi-${IRSSI}/config.h &&
- $(gcc-getCC) -g -shared ${CFLAGS} -DHAVE_CONFIG_H -I${WORKDIR}/irssi-${IRSSI} -I${WORKDIR}/irssi-${IRSSI}/src \
- -I${WORKDIR}/irssi-${IRSSI}/src/core -I${WORKDIR}/irssi-${IRSSI}/src/fe-common/core \
- `pkg-config --cflags glib-2.0` -o ${T}/librecode.so ${FILESDIR}/recode.c || die
-}
-
-src_install() {
- exeinto /usr/lib/irssi/modules
- doexe ${T}/librecode.so
-}
-
-pkg_postinst() {
- einfo ""
- einfo "Type /load recode in Irssi to load this module."
- einfo "See ${FILESDIR}/recode.c for more information."
- einfo ""
-}
diff --git a/net-irc/irssi-recode/metadata.xml b/net-irc/irssi-recode/metadata.xml
deleted file mode 100644
index 6ef15e900f17..000000000000
--- a/net-irc/irssi-recode/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>net-irc</herd>
-</pkgmetadata>