--- qrfcview-0.62.orig/debian/README.Debian +++ qrfcview-0.62/debian/README.Debian @@ -0,0 +1,10 @@ +qrfcview for Debian +------------------- + +If you have installed the doc-rfc (non-free) package you might want to take +advantage of the locally installed RFCs. You can add the +/usr/share/doc/RFC/links/ directory to the directories used by qRFCView (menu +Edit -> Set Directories). Unfortunately most of the files there are gzipped +which is something qRFCView does not deal with yet (it expects only .txt files). + + -- Frederic Daniel Luc Lehobey Tue, 25 Jul 2006 12:34:41 +0200 --- qrfcview-0.62.orig/debian/changelog +++ qrfcview-0.62/debian/changelog @@ -0,0 +1,79 @@ +qrfcview (0.62-5.2build1) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:40:46 +0000 + +qrfcview (0.62-5.2) unstable; urgency=low + + * Non-maintainer upload. + * d/p/03-max_rfc_to_99999.patch: allow RFC numbers larger than 5000 + (Closes: #512734) + + -- Laurent Bigonville Tue, 19 Feb 2013 15:45:19 +0100 + +qrfcview (0.62-5.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix build with gcc-4.4 using patch from Martin Michlmayr (Closes: + #505341) + + -- Christoph Egger Fri, 25 Dec 2009 22:20:17 +0100 + +qrfcview (0.62-5) unstable; urgency=low + + * debian/control + * Updated Standards-Version to 3.7.3 + * Added Homepage: field + * debian/menu: use now menu-2 format + * debian/copyright: adapted to the machine-interpretable proposal in + http://wiki.debian.org/Proposals/CopyrightFormat + * Replaced dpatch with quilt + * debian/rules: improved clean target thanks to Daniel Baumann + + -- Frederic Daniel Luc Lehobey Wed, 23 Apr 2008 18:10:48 +0200 + +qrfcview (0.62-4) unstable; urgency=low + + * Changed maintainer address + * Fixed a typo in manpage + * Added a debian/watch file + * Pushed debian/compat to 5 + * debian/control: removed redundant build-dependency on libglib2.0-dev + and pushed debhelper version + * Being lintian clean again + * Updated menu entry to fit new policy + * Updated Freedesktop menu entry to menu-spec 1.0 + * debian/rules: minor fixes + + -- Frederic Daniel Luc Lehobey Tue, 21 Aug 2007 12:51:00 +0200 + +qrfcview (0.62-3) unstable; urgency=low + + * debian/copyright: clarified icons licenses + * debian/rules, control and patches: introduced dpatch use for + 01-removal-of-spurious-debug-output.dpatch + * debian/control: added build-dependency on libglib2.0-dev (and dpatch) + + -- Frederic Daniel Luc Lehobey Sat, 14 Oct 2006 23:41:51 +0200 + +qrfcview (0.62-2) unstable; urgency=low + + * debian/rules: renamed generated icons to qrfcview instead of rfcview thanks + to Daniel Baumann + * debian/control: added Suggests: doc-rfc + + -- Frederic Daniel Luc Lehobey Fri, 28 Jul 2006 00:33:57 +0200 + +qrfcview (0.62-1) unstable; urgency=low + + * Initial release (Closes: #378587) + * debian/control: fixed duplicate dependencies thanks to Ted Percival + + * debian/control: Build-conflicts with qt3-dev-tools thanks to andeus + * debian/README.Debian: clarified doc-rfc usage thanks to Neil Williams + + * Much improved package quality thanks to Daniel Baumann + careful mentoring, patch and advice + + -- Frederic Daniel Luc Lehobey Thu, 27 Jul 2006 10:57:03 +0200 --- qrfcview-0.62.orig/debian/compat +++ qrfcview-0.62/debian/compat @@ -0,0 +1 @@ +5 --- qrfcview-0.62.orig/debian/control +++ qrfcview-0.62/debian/control @@ -0,0 +1,24 @@ +Source: qrfcview +Section: doc +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Frederic Daniel Luc Lehobey +Build-Depends: debhelper (>= 5), imagemagick, libqt4-dev, quilt +Build-Conflicts: qt3-dev-tools +Homepage: http://qrfcview.berlios.de/ +Standards-Version: 3.7.3 + +Package: qrfcview +Architecture: any +Depends: ${shlibs:Depends} +Suggests: doc-rfc +Description: viewer for IETF RFCs + qRFCView is a smart IETF RFC viewer based on the Qt4 library featuring: + . + - automatic table of content, with direct opening of section; + - handling of RFC internal cross-references; + - automatic downloading of a referenced RFC from the IETF web site + on a simple click; + - caching of RFC in a local directory; + - tab-browsing of RFC; + - searching. --- qrfcview-0.62.orig/debian/copyright +++ qrfcview-0.62/debian/copyright @@ -0,0 +1,24 @@ +This package was downloaded from http://qrfcview.berlios.de/ + +Files: debian/* +Copyright: © 2006-2008 Frederic Daniel Luc Lehobey +License: GPL-3+ + The Debian packaging is under the GPL, version 3 or later + +Files: * +Copyright: © 2005 Mitsubishi Electric ITE-TCL, + Romain Rollet +Licence: GPL-2+ + +Files: TitleModel.cpp, TitleModel.h +Copyright: © 2005 Mitsubishi Electric ITE-TCL, R. Rollet + © 2005-2005 Trolltech AS. All rights reserved. +Licence: GPL-2 + +Files: backward.png, close.png, copy.png, cut.png, find.png, forward.png, + load.png, new.png, open.png, paste.png, print.png, save.png +Copyright: © 1994-2006 Trolltech ASA +Licence: GPL-2 + +On Debian systems, the complete text of common licenses can be found in +'/usr/share/common-licenses/'. --- qrfcview-0.62.orig/debian/desktop/qrfcview +++ qrfcview-0.62/debian/desktop/qrfcview @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=qRFCView +GenericName=RFC viewer +GenericName[fr]=Visionneur de RFC +Comment=Downloads and displays RFC +Comment[fr]=Récupère et affiche les RFC +Exec=qRFCView +Icon=qrfcview.png +Terminal=false +Type=Application +Categories=Utility;TextTools;Qt; --- qrfcview-0.62.orig/debian/links +++ qrfcview-0.62/debian/links @@ -0,0 +1,2 @@ +usr/bin/qRFCView usr/bin/qrfcview +usr/share/man/man1/qRFCView.1.gz usr/share/man/man1/qrfcview.1.gz --- qrfcview-0.62.orig/debian/manpage/qRFCView.1 +++ qrfcview-0.62/debian/manpage/qRFCView.1 @@ -0,0 +1,37 @@ +.TH qRFCView 1 "2007-08-21" "0.62" "RFC viewer" +.SH NAME +qRFCView \- RFC viewer +.SH SYNOPSIS +.B qRFCView +.SH DESCRIPTION +.B qRFCView +is a GUI viewer for IETF RFC with automatic table of content, handling +of RFC internal cross-references, automatic downloading of a +referenced RFC from the IETF web site and more... +.SH OPTIONS +.B qRFCView +has no options. +.SH FILES +.I ~/.config/MELCO/qRFCView.conf +.RS +Configuration file +.RE +.PP +By default, +.B qRFCView +uses the current directory from where it is called for caching the +RFCs it downloads. You can change this setting with the menu Edit -> +Set Directories. The default directory shall be writable. You can add +other directories (even read-only) in the same way. +.B qRFCView +will look first for RFCs in these directories when you ask for a new download. +.SH SEE ALSO +.BR Website: + +.SH AUTHOR +.B qRFCView +was written by Romain Rollet . +.PP +This manual page was written by Frederic Daniel Luc Lehobey +, for the Debian project (but may be used by +others). --- qrfcview-0.62.orig/debian/menu +++ qrfcview-0.62/debian/menu @@ -0,0 +1,9 @@ +!C menu-2 +?package(qrfcview): + needs="X11" + section="Applications/Text" + title="qRFCView" + description="RFC Viewer" + command="/usr/bin/qRFCView" + icon="/usr/share/pixmaps/qrfcview.xpm" +; --- qrfcview-0.62.orig/debian/patches/01-removal-of-spurious-debug-output.patch +++ qrfcview-0.62/debian/patches/01-removal-of-spurious-debug-output.patch @@ -0,0 +1,81 @@ +diff -Nru qrfcview-0.62.orig/src/mdichild.cpp qrfcview-0.62/src/mdichild.cpp +--- qrfcview-0.62.orig/src/mdichild.cpp 2006-01-13 10:56:45.000000000 +0100 ++++ qrfcview-0.62/src/mdichild.cpp 2006-10-12 17:09:24.862423152 +0200 +@@ -132,7 +132,7 @@ + + void MdiChild::goToAnchor(const QUrl &qURL) + { +- qDebug() << qURL.toString(); ++ //qDebug() << qURL.toString(); + } + + void MdiChild::setCurrentFont(const QFont &qFont) +@@ -339,7 +339,7 @@ + + qreal iRatio= ( (qreal)p.device()->height() - 2*iMargin )/((qreal)60*fm.lineSpacing()); + //p.scale(iRatio,iRatio); +- qDebug() << "Ratio=" + QString::number(qFont.pointSize()*iRatio); ++ //qDebug() << "Ratio=" + QString::number(qFont.pointSize()*iRatio); + qFont.setPointSize((int)(qFont.pointSize()*iRatio)); + //qFont.setPointSize(10); + QFont qTitleFont=qFont; +diff -Nru qrfcview-0.62.orig/src/qrfceditor.cpp qrfcview-0.62/src/qrfceditor.cpp +--- qrfcview-0.62.orig/src/qrfceditor.cpp 2006-01-13 10:56:45.000000000 +0100 ++++ qrfcview-0.62/src/qrfceditor.cpp 2006-10-12 17:10:33.163039880 +0200 +@@ -54,7 +54,7 @@ + // Record the link + //QTextCursor qTextCursor=textCursor(); + QTextCursor qTextCursor=cursorForPosition(QPoint(0,0) ); +- qDebug() << qTextCursor.position() ; ++ //qDebug() << qTextCursor.position() ; + while (m_iCurrentPositionIdx != m_qPositionPath.size() ) + // Remove the end of the list + m_qPositionPath.removeLast(); +@@ -75,7 +75,7 @@ + + if (m_iCurrentPositionIdx>0) + { +- qDebug() << qTextCursor.position() ; ++ //qDebug() << qTextCursor.position() ; + if ( m_iCurrentPositionIdx == m_qPositionPath.size() ) + m_qPositionPath.append(qTextCursor.position() ); + m_iCurrentPositionIdx--; +diff -Nru qrfcview-0.62.orig/src/rfcloader.cpp qrfcview-0.62/src/rfcloader.cpp +--- qrfcview-0.62.orig/src/rfcloader.cpp 2006-01-13 10:56:45.000000000 +0100 ++++ qrfcview-0.62/src/rfcloader.cpp 2006-10-12 17:11:40.839751456 +0200 +@@ -60,7 +60,7 @@ + m_qDirList.append(qDirList[i]); + if (i==iDefaultDir) + m_iDefaultDir=m_qDirList.count() - 1; +- qDebug() << qDirList[i]; ++ //qDebug() << qDirList[i]; + } + + if ( m_qDirList.count()==0 ) +@@ -98,7 +98,7 @@ + // Open a file in the default dir. + RFCDesc_t sRFCDesc; + qFilename=m_qDirList.at(m_iDefaultDir) + "/rfc" + QString::number(iRFCNum) +".txt"; +- qDebug() << qFilename; ++ //qDebug() << qFilename; + sRFCDesc.pFile = new QFile(qFilename); + sRFCDesc.iRFCNum=iRFCNum; + +@@ -113,7 +113,7 @@ + QString qUrl=m_qIETFPath+QString("/rfc%1.txt").arg(iRFCNum, 4, 10, QChar('0')); + + +- qDebug() << qUrl; ++ //qDebug() << qUrl; + m_qHttp->setHost(m_qIETFSite); + iRequestID=m_qHttp->get( qUrl, sRFCDesc.pFile); + m_RequestList.insert(iRequestID, sRFCDesc); +@@ -168,7 +168,7 @@ + + if (!bError) + { +- qDebug() << "File downloaded: " << qFilename; ++ //qDebug() << "File downloaded: " << qFilename; + emit done( qFilename ); + } + else --- qrfcview-0.62.orig/debian/patches/02-fix-building-with-gcc-4.4.patch +++ qrfcview-0.62/debian/patches/02-fix-building-with-gcc-4.4.patch @@ -0,0 +1,78 @@ +--- qrfcview-0.62.orig/src/cdialogfind.h ++++ qrfcview-0.62/src/cdialogfind.h +@@ -24,6 +24,8 @@ + #include + #include + ++#include ++ + #define FIND_OPTIONSFLAG_REGEXP 0x01 + #define FIND_OPTIONSFLAG_CASE 0x02 + #define FIND_OPTIONSFLAG_WHOLE 0x04 +--- qrfcview-0.62.orig/src/rfcloader.h ++++ qrfcview-0.62/src/rfcloader.h +@@ -25,6 +25,8 @@ + #include + #include + ++#include ++ + /** + @author Romain Rollet + */ +--- qrfcview-0.62.orig/src/mdichild.h ++++ qrfcview-0.62/src/mdichild.h +@@ -25,6 +25,8 @@ + + #include + ++ #include ++ + #define PARSER_NORMALTEXT 0 + #define PARSER_BIBTEXT 1 + #define PARSER_HEADER 2 +--- qrfcview-0.62.orig/src/mainwindow.h ++++ qrfcview-0.62/src/mainwindow.h +@@ -25,6 +25,8 @@ + #include + #include + ++#include ++ + class QAction; + class QMenu; + class QWorkspace; +--- qrfcview-0.62.orig/src/qrfceditor.h ++++ qrfcview-0.62/src/qrfceditor.h +@@ -22,6 +22,9 @@ + #define QRFCEDITOR_H + + #include ++ ++#include ++ + class QStringList; + + /** +--- qrfcview-0.62.orig/src/cdialogsetdirectory.h ++++ qrfcview-0.62/src/cdialogsetdirectory.h +@@ -23,6 +23,8 @@ + #include + #include + ++#include ++ + /** + @author Romain Rollet + */ +--- qrfcview-0.62.orig/src/TitleModel.h ++++ qrfcview-0.62/src/TitleModel.h +@@ -30,6 +30,8 @@ + #include + #include + ++#include ++ + #define MAX_TITLE_LEVEL 16 + + class CTitleItem; --- qrfcview-0.62.orig/debian/patches/03-max_rfc_to_99999.patch +++ qrfcview-0.62/debian/patches/03-max_rfc_to_99999.patch @@ -0,0 +1,18 @@ +Description: Change max RFC number receivable from 5000 to 99999 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/294538 +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512734 +Bug: http://developer.berlios.de/feature/?func=detailfeature&feature_id=3626&group_id=7014 + +Index: qrfcview-0.62/src/mainwindow.cpp +=================================================================== +--- qrfcview-0.62.orig/src/mainwindow.cpp 2009-04-02 06:19:32.000000000 +0200 ++++ qrfcview-0.62/src/mainwindow.cpp 2009-04-02 06:20:14.000000000 +0200 +@@ -123,7 +123,7 @@ + // Load a RFC number + bool bOK; + int iRFCNum = QInputDialog::getInteger(this, tr("Please enter a RFC number"), +- tr("RFC#:"), 0, 1, 5000, 1, &bOK); ++ tr("RFC#:"), 0, 1, 99999, 1, &bOK); + if (bOK) + RFCLoad( iRFCNum ); + } --- qrfcview-0.62.orig/debian/patches/series +++ qrfcview-0.62/debian/patches/series @@ -0,0 +1,3 @@ +01-removal-of-spurious-debug-output.patch +02-fix-building-with-gcc-4.4.patch +03-max_rfc_to_99999.patch --- qrfcview-0.62.orig/debian/rules +++ qrfcview-0.62/debian/rules @@ -0,0 +1,69 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +build: build-stamp + +build-stamp: patch + dh_testdir + + # Compilation. + qmake -unix rfcview.pro + $(MAKE) + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + # Clean up after the build process. + [ ! -f Makefile ] || $(MAKE) clean + find -name Makefile | xargs rm -f + -rm -rf bin/qRFCView + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Installation of the binary into debian/qrfcview. + install -D bin/qRFCView debian/qrfcview/usr/bin/qRFCView + + # Installation of desktop file. + install -D -m 644 debian/desktop/qrfcview debian/qrfcview/usr/share/applications/qrfcview.desktop + + # Installation of icon and pixmap (hence imagemagick dependency). + install -d -m 755 debian/qrfcview/usr/share/icons + convert -thumbnail 32x32 images/rfcview.png debian/qrfcview/usr/share/icons/qrfcview.png + install -d -m 755 debian/qrfcview/usr/share/pixmaps + convert -thumbnail 32x32 images/rfcview.png debian/qrfcview/usr/share/pixmaps/qrfcview.xpm + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installmenu + dh_installman debian/manpage/qRFCView.1 + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- qrfcview-0.62.orig/debian/watch +++ qrfcview-0.62/debian/watch @@ -0,0 +1,5 @@ +version=3 + +opts=downloadurlmangle=s/prdownload/download/ \ +http://developer.berlios.de/project/showfiles.php?group_id=7014 \ +http://prdownload.berlios.de/qrfcview/qrfcview-(.*)\.tgz