Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140789 - [ebuild] net-news/snownews with unicode support
Summary: [ebuild] net-news/snownews with unicode support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 140791 142221 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-17 08:14 UTC by Artur Czepiel
Modified: 2006-12-03 07:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artur Czepiel 2006-07-17 08:14:11 UTC
Here is a corrected ebuild for net-news/snownews, which depends on USE="unicode" adding a UTF-8 support for this newsreader


# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-news/snownews/snownews-1.5.7.ebuild,v 1.1 2005/07/17 15:05:47 citizen428 Exp $

DESCRIPTION="Snownews, a text-mode RSS/RDF newsreader"
HOMEPAGE="http://snownews.kcore.de/"
SRC_URI="http://home.kcore.de/~kiza/software/snownews/download/${P}.tar.gz"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~amd64"
IUSE="unicode"

DEPEND=">=dev-libs/libxml2-2.5.6
	>=sys-libs/ncurses-5.3
	unicode? ( virtual/libiconv )"

RDEPEND="dev-perl/XML-LibXML
	dev-perl/XML-LibXSLT
	dev-perl/libwww-perl"

src_compile() {
	local myconf="--prefix=/usr"
	use unicode && myconf="${myconf} --charset=UTF-8"
	./configure ${myconf} || die "configure failed"

	emake || die "make failed"
}

src_install() {
	make PREFIX=${D}/usr install || die "make install failed"

	dodoc AUTHOR CREDITS README README.colors README.de README.patching
}
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-17 08:17:29 UTC
*** Bug 140791 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-30 14:22:08 UTC
*** Bug 142221 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-30 14:39:02 UTC
Re-assign, maintainer retired.
Comment 4 Cédric Krier gentoo-dev 2006-12-03 07:28:49 UTC
Fix in cvs in version 1.5.7-r1