Installation dirs do not correspond to paths in included script examples

Bug #1343048 reported by Phil Wright
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
povray (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Xubuntu 14.04

POV-Ray installs shell scripts to render example scenes.

The shell scripts are installed into /usr/share/povray-3.7/scripts in Xubuntu 14.04.

The scripts refer to paths that do not exist in the Ubuntu installation, and do not check the Ubuntu installation paths, and consequently the scripts fail.

For example, the script 'allscene.sh' includes the following:

 VERSION=3.7
 VER_DIR=povray-$VERSION
 DEFAULT_DIR=/usr/local
 SYSCONFDIR=$DEFAULT_DIR/etc

which causes the script to look for 'povray.ini' in the directory 'usr/local/etc/povray/3.7' but in Ubuntu it is in '/etc/povray/3.7'.

Simlarly, the example scripts look for the installation directory and example scene directory in locations that do not correlate to Ubuntu installation directories.

When the paths in the shell scripts are corrected to point to the Ubuntu installation directories, they work perfectly.

I contacted the POV-Ray forum about this issue at http://news.povray.org/povray.unix/thread/%3Cweb.53c7093be1a48282776619370%40news.povray.org%3E/, and this is the interaction that occurred:

>> Ok, I think I've figured it out for myself.
>> It looks like the POV-Ray installation is fine, but the example scripts are
>> faulty in assuming incorrect values for installation directories. I manually
>> edited the 'allscene.sh' script to insert the correct paths and it worked.

>Well, one could also say that the Ubuntu package is faulty in using an
>incorrect installation directory.
>So please contact the Ubuntu people nonetheless, as it's their install
>package that is inconsistent. (Might turn out that it's our fault after
>all, but in that case the Ubuntu guys can probably supply us with
>helpful information to fix this.)

Accordingly, I am contacting you about the issue.

Please let me know if you require any more information.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package povray - 1:3.7.0.0-8

---------------
povray (1:3.7.0.0-8) unstable; urgency=medium

  * no-usr-local.patch: Fix references to /usr/local/etc in example scripts.
    (LP: #1343048)
  * report-missing-povray-examples.patch: Let scripts report that
    povray-examples may be needed if scene data cannot be found.
  * povray-examples: Add symlink at upstream's location for the scenes:
      /usr/share/povray-3.7/scenes -> ../doc/povray/examples
  * scene-directory-symlink.patch: Let scripts cope with SCENE_DIR being a
    symlink.

 -- Andreas Beckmann <email address hidden> Mon, 26 Jan 2015 00:03:59 +0100

Changed in povray (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.