Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547548 - sci-mathematics/wxmaxima-15.04.0: icons are missing in configuration menu
Summary: sci-mathematics/wxmaxima-15.04.0: icons are missing in configuration menu
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-24 07:16 UTC by Viktor Yu. Kovalskii
Modified: 2015-04-28 15:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor Yu. Kovalskii 2015-04-24 07:16:43 UTC
When I try to open Configure (Edit->Configure) I show message about missing icons:
/usr/share/wxMaxima/editing.png.

I found old bugreport (358321) for similar problem. But right now sed script doesn't work ro 15.04.0 version.

At sources of wxmaxima I found harcoded paths:
grep "share/wxMaxima" * -r
src/wxMaximaFrame.cpp:  icon += wxT("/share/wxMaxima/wxmaxima.png");
src/wxMaxima.cpp:             wxT("/share/wxMaxima/wxmathml\")"));
src/wxMaxima.cpp:  prefix += wxT("/share/wxMaxima/");
src/wxMaxima.cpp:    iconName += wxT("/share/wxMaxima/wxmaxima.png");
src/Dirstructure.h: - PREFIX+"/share/wxMaxima/" on Linux
src/Dirstructure.cpp:  return Prefix()+wxT("/share/wxMaxima/");

So I modify sed script in ebuild:

        sed -e 's:share/wxMaxima:share/wxmaxima:g' \
                -i src/wxMaxima.cpp src/wxMaximaFrame.cpp src/Dirstructure.h src/Dirstructure.cpp \
                || die "sed failed"

This modification fixes this error message.

Reproducible: Always
Comment 1 Andrey Grozin gentoo-dev 2015-04-28 15:23:13 UTC
Thanks, applied