Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225567 - [Propose] Updated config for kio_info (from kde-base/kdebase-kioslaves-3.5.9)
Summary: [Propose] Updated config for kio_info (from kde-base/kdebase-kioslaves-3.5.9)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: kde-3.5.10
  Show dependency tree
 
Reported: 2008-06-09 12:59 UTC by Alex Turbov
Modified: 2009-05-29 17:54 UTC (History)
1 user (show)

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


Attachments
Use INFOPATH enviroment for kde-info2html's config instead of hardcoded directories list (kde-info2html.conf,853 bytes, text/plain)
2008-06-09 13:02 UTC, Alex Turbov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Turbov 2008-06-09 12:59:48 UTC
Default config for kio_info contains hardcoded list of info directories to search for info files. In gentoo we have INFOPATH environment variable with _actual_ directories with info files. I have start to solve this problem when found that URL `info:/gcc` doesn't work for me (just because gcc info files located not in a 'standard' place).
In addition info input field I will paste contents of my fixed config for kio_info. It takes contents of INFOPATH from environment instead of hardcoded list of directories.

Reproducible: Always

Steps to Reproduce:
1. try to type in konqueror's location bar: info:/gcc
2.
3.

Actual Results:  
Info page says that no info pahes found for gcc...

Expected Results:  
HTMLized gcc info page

# -*- perl -*-
package info2html::config;
#-----------------------------------------------------------------
#                           info2html.conf
#-----------------------------------------------------------------
# PURPOSE
#   configuration settings for the 'info2html' script.
#
# AUTHOR
#   Karl Guggisberg  <guggis@iam.unibe.ch>
#
# HISTORY
#   15.10.93 V 1.0b
#   16.10.93 V 1.0c  multple info files possible
#   28.6.94  V 1.0d  some minor changes
#   8.4.95   V 1.1   some changements
#----------------------------------------------------------------
use strict;
#use vars qw(@ISA @EXPORT);
#
#@ISA = qw(Exporter);
#@EXPORT = qw(@INFODIR $DOC_URL);

#-- get location of info files from environment
our @INFODIR = split(/:/,$ENV{'INFOPATH'});

#-- URL for documentation of info2html
our $DOC_URL = 'http://info2html.sourceforge.net/';

1;
Comment 1 Alex Turbov 2008-06-09 13:02:42 UTC
Created attachment 156075 [details]
Use INFOPATH enviroment for kde-info2html's config instead of hardcoded directories list

Get INFODIRS config var for `kde-info2html` script from INFOPATH environment instead of hardcoded directories list.
Comment 2 Maciej Mrozowski gentoo-dev 2009-05-29 17:54:26 UTC
Try the one from KDE 3.5.10 - it seems to be fixed there.