Bug 185262

Summary: Review Request: kchmviewer - CHM viewer
Product: [Fedora] Fedora Reporter: Patrice Dumas <pertusus>
Component: Package ReviewAssignee: John Mahowald <jpmahowald>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Package Reviews List <fedora-package-review>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jose.p.oliveira.oss, rdieter
Target Milestone: ---Keywords: Reopened
Target Release: ---Flags: jwboyer: fedora-cvs+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-16 23:29:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 163779    
Attachments:
Description Flags
Minor patch none

Description Patrice Dumas 2006-03-12 22:14:39 UTC
SRPM Name or Url: 
http://www.environnement.ens.fr/perso/dumas/fc-srpms/kchmviewer-2.0-1.src.rpm
Description: 

KchmViewer is a chm (MS HTML help file format) viewer, written in C++. 
The main advantage of KchmViewer is extended support for non-English 
languages. Unlike others, KchmViewer in most cases correctly detects chm 
file encoding, correctly shows tables of context of Russian, Korean, 
Chinese and Japanese help files, and correctly searches in non-English 
help files (search for MBCS languages - ja/ko/ch is still in progress). 

- Completely safe and harmless. Does not support JavaScript in any way, 
  optionally warns you before opening an external web page, or switching 
  to another help file. 
- Shows an appropriate image for every TOC entry. 
- Has complete chm index support, including multiple index entries, 
  cross-links and parent/child entries in index. 
- Persistent bookmarks support. Allows to store bookmarks even if 
  "Favorites" window was not enabled for this chm file. Also stores the 
  screen position for every bookmark. You can also edit/delete bookmarks. 
- For any opened chm file, stores the last opened window, search history, 
  bookmark history, font size and so on, so when you open this file again, 
  everything is always on the place. 
- Has easy and powerful search-in-page support. 
- Allows to increase or decrease the font size, so physically handicapped 
  people can read texts easily. 
- Has standard Back/Forward/Home navigation. 
- Can print the opened pages on a standard printer (usually via CUPS). 
- Has complex search query support. You can use search queries like "lazy 
  people" + learn -not.

Comment 1 Patrice Dumas 2006-03-13 22:49:54 UTC
Thanks to Rex Dieter I have understood why it failed with kde support. Here is
an updated srpm with kde support:

http://www.environnement.ens.fr/perso/dumas/fc-srpms/kchmviewer-2.0-2.src.rpm

Comment 2 Patrice Dumas 2006-03-14 19:30:33 UTC
Here is an updated version with use of update-desktop-database:

http://www.environnement.ens.fr/perso/dumas/fc-srpms/kchmviewer-2.0-3.src.rpm

Comment 3 John Mahowald 2006-05-01 02:09:18 UTC
 rpmlint checks return:
E: kchmviewer old-menu-entry /usr/share/applnk/kchmviewer.desktop

Not necessary with it already in /usr/share/applications 

- package meets naming guidelines
- package meets packaging guidelines
- license (GPL) OK, text in %doc, matches source
- spec file legible, in am. english
- source matches upstream
- package compiles on devel (x86_64)
- no missing BR
- no unnecessary BR
- no locales
- not relocatable
- owns all directories that it creates
- no duplicate files
- permissions ok
- %clean ok
- macro use consistent
- code, not content
- no need for -docs
- nothing in %doc affects runtime
- .desktop file ok

%description's a bit long, but oh well.

APPROVED


Comment 4 Patrice Dumas 2006-05-01 08:27:51 UTC
I am importing the package now. Should I remove the
/usr/share/applnk/kchmviewer.desktop
file?

Comment 5 Rex Dieter 2006-05-01 11:42:53 UTC
Patrice, just use
desktop-file-install --delete-original ...

Comment 6 Rex Dieter 2006-05-01 11:44:24 UTC
Oops, better yet, change:

desktop-file-install --vendor fedora                            \
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications         \
        --add-category X-Fedora                                 \
        kio-msits/kchmviewer.desktop

to

desktop-file-install --vendor fedora                            \
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications         \
        --add-category X-Fedora                                 \
        --delete-original \
        $RPM_BUILD_ROOT%{_datadir}/applnk/*/kchmviewer.desktop

Comment 7 Michael J Knox 2006-05-08 04:18:55 UTC
package is in extras. Please remember to close package reviews once approved and
imported into cvs etc etc

Comment 8 Jose Pedro Oliveira 2006-05-12 18:56:04 UTC
Re-opening this until Patrice can:
 * look at comment #6
 * build the package for FC-4 and FC-5 (branches already created)

Comment 9 Patrice Dumas 2006-05-16 23:29:09 UTC
I was on vacations, I hope everything is sorted out now.

The issue raised in the comment #6 should be fixed, I updated
owners.list, and it is built for FC-4 FC-5.

Comment 10 Jose Pedro Oliveira 2006-05-18 00:16:31 UTC
Created attachment 129378 [details]
Minor patch

Thanks.  Now you can update the package to version 2.5 :)

You need to apply the attached patch (at least for FC-5) and add the following
line to the specfile (%files section):
   %{_datadir}/icons/crystalsvg/*/apps/kchmviewer.png

jpo

Comment 11 Patrice Dumas 2007-04-07 20:29:29 UTC
Package Change Request
======================
Package Name: kchmviewer
Updated Fedora Owners: pertusus[ AT ]free.fr, jpo[ AT ]di.uminho.pt