gscan2pdf specific icons missings when install prefix is not /usr
Brought to you by:
ra28145
Configure gscan2pdf to install for example in "/opt/local" or "/usr/local" (and not in /usr)
Once installed, when launching the programme, the icons for scanner, rotate... are not displayed.
Workaround/Fix is to change these lines in gscan2pdf script (around 262)
if ( -d '/usr/share/gscan2pdf' ) {
$iconpath = '/usr/share/gscan2pdf';
}
to
if ( -d '/opt/local/share/gscan2pdf' ) {
$iconpath = '/opt/local/share/gscan2pdf';
}
Could this be changed so that is uses the install prefix instead of a fixed "/usr" ?
configure with: