Message: previous - next
Month: February 2012

Perl expert needed

From: Darrell Anderson <humanreadable@...>
Date: Fri, 24 Feb 2012 11:30:27 -0800 (PST)
Skilled with perl? Here are some nuisance bug reports that need resolving:

719 Koffice: unknown icon types (
804 gwenview: unknown icon type (
805 tdeutils: unknown icon type (
806 kipi-plugins: unknown icon type (
807 tdeaddons: unknown icon type (

All we need to know is how to rename the problematic files and I'll create the patches.

My troubleshooting reveals the build warnings are caused by the way the perl scripts parse the names of the file names. The perl scripts are looking for specific prefixes in the file names. The trick is to figure out the correct file name. That's where the perl skills are needed.

For example, the problematic files in gwenview are imageops.svg and imageops.svgz. I can resolve the problem by renaming those two files to hisc-action-imageops.svg and hisc-action-imageops.svgz. I lack perls skills to resolve the other bug reports.

The specific perl script that parses the file names is named am_edit and is located in the admin directory of each package. Search each am_edit script for the error message reported in the bug report. That will bring you to the section of code that causes the error messages. For example, for gwenview, search for "unknown icon type" in am_edit and the previous lines of code will be how the script parses the file names.

Please let me know whether you need further information.

Thank you!