trinity-devel@lists.pearsoncomputing.net

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 (http://bugs.pearsoncomputing.net/show_bug.cgi?id=719)
804 gwenview: unknown icon type (http://bugs.pearsoncomputing.net/show_bug.cgi?id=804)
805 tdeutils: unknown icon type (http://bugs.pearsoncomputing.net/show_bug.cgi?id=805)
806 kipi-plugins: unknown icon type (http://bugs.pearsoncomputing.net/show_bug.cgi?id=806)
807 tdeaddons: unknown icon type (http://bugs.pearsoncomputing.net/show_bug.cgi?id=807)

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!

Darrell