Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218822 - an ebuild and some patch for qRFCView
Summary: an ebuild and some patch for qRFCView
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Default Assignee for New Packages
URL: http://qrfcview.berlios.de/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-22 03:28 UTC by scwang
Modified: 2018-06-20 09:28 UTC (History)
1 user (show)

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


Attachments
ebuild file for qRFCView (qrfcview-0.62-r2.ebuild,696 bytes, text/plain)
2008-04-22 03:31 UTC, scwang
Details
make it load RFC the number of which exceeds 5000 (5000-limit.patch,495 bytes, patch)
2008-04-22 03:32 UTC, scwang
Details | Diff
activate Find button even on a single RFC (updateMenus_after_Open.patch,310 bytes, patch)
2008-04-22 03:33 UTC, scwang
Details | Diff
a revised ebuild inspired by Jeroen Roovers's advise (qrfcview-0.62-r2.ebuild,698 bytes, text/plain)
2008-04-23 00:44 UTC, scwang
Details
new ebuild for qrfcview (qrfcview-0.62-r3.ebuild,802 bytes, text/plain)
2008-06-23 10:13 UTC, scwang
Details
enable the "find" menu after loading a RFC by number (updateMenus_after_Load.patch,772 bytes, patch)
2008-06-23 10:18 UTC, scwang
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description scwang 2008-04-22 03:28:58 UTC
qRFCView is an RFC viewer

Reproducible: Always
Comment 1 scwang 2008-04-22 03:31:11 UTC
Created attachment 150555 [details]
ebuild file for qRFCView
Comment 2 scwang 2008-04-22 03:32:24 UTC
Created attachment 150556 [details, diff]
make it load RFC the number of which exceeds 5000
Comment 3 scwang 2008-04-22 03:33:00 UTC
Created attachment 150558 [details, diff]
activate Find button even on a single RFC
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-22 15:40:53 UTC
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="rfc viewer based on qt4"
HOMEPAGE="http://qrfcview.berlios.de"
SRC_URI="http://download.berlios.de/qrfcview/qrfcview-0.62.tgz"

LICENSE="GNU GPL"

That's not a valid license. Check out $PORTDIR/licenses/

SLOT="0"

< KEYWORDS="amd64 x86"
> KEYWORDS="~amd64 ~x86"

DEPEND="x11-libs/qt"

It is based on Qt 4, isn't it?

# epatch function comes from eclass: eutils
inherit eutils

You may want to inherit some KDE eclass here to help with src_compile().

src_unpack() {
	unpack ${A}
	cd "${S}"

	# update menus after openning file
	epatch "${FILESDIR}/updateMenus_after_Open.patch"

	# load RFC the number of which exceeds 5000
	epatch "${FILESDIR}/5000-limit.patch"
}

src_compile() {
	qmake -unix rfcview.pro
	make
}

src_install() {
	dobin bin/qRFCView
}
Comment 5 scwang 2008-04-23 00:41:34 UTC
(In reply to comment #4)

> LICENSE="GNU GPL"
> 
> That's not a valid license. Check out $PORTDIR/licenses/

LICENSE="GPL-2"
 
> < KEYWORDS="amd64 x86"
> > KEYWORDS="~amd64 ~x86"
The keyword needs to be unstable one. I use stable one just for my personal
convenience! Changed in the new ebuild file.
 
> DEPEND="x11-libs/qt"
> 
> It is based on Qt 4, isn't it?
DEPEND="x11-libs/qt:4"
Is this right?

> You may want to inherit some KDE eclass here to help with src_compile().
I don't know much about KDE eclass, maybe you can change it. 
Comment 6 scwang 2008-04-23 00:44:15 UTC
Created attachment 150667 [details]
a revised ebuild inspired by Jeroen Roovers's advise
Comment 7 scwang 2008-06-23 10:13:56 UTC
Created attachment 158095 [details]
new ebuild for qrfcview
Comment 8 scwang 2008-06-23 10:18:10 UTC
Created attachment 158097 [details, diff]
enable the "find" menu after loading a RFC by number

When you load just one RFC by number, the Find menu won't be activated. So you can't search anything in the opened RFC text. 

I make this patch to enable the Find menu after you load a RFC by number.
Comment 9 Marek Szuba archtester gentoo-dev 2018-05-15 12:48:14 UTC
Upstream was on Berlios i.e. is now gone. There is a mirror on SourceForge but the last version published there is from 2006. Finally, depends on now-dead Qt4. This is almost certainly safe to close as WONTFIX right now but just in case there is an updated version somewhere out there that someone is willing to maintain, let us wait for the usual 30 days.