bugGnash - The GNU Flash player - Bugs: bug #33045, gnash-{gtk,qt}-launcher look in...


bug #33045: gnash-{gtk,qt}-launcher look in wrong place for gnash-splash.swf if --datadir is passed to configure

Submitted by:  Andrew Guertin <dolphinling>
Submitted on:  Mon 11 Apr 2011 08:18:34 AM UTC  
Category:  build Severity:  3 - Normal
Release:  trunk Status:  None
Privacy:  Public Assigned to:  Hicham HAOUARI <hichamhaouari>
Open/Closed:  Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 11 Apr 2011 08:18:34 AM UTC, original submission:

If the --datadir or --datarootdir configure options are set to non-default values, gnash-gtk-launcher and gnash-qt-launcher will look for gnash-splash.swf in the wrong place.

The solution is not quite as simple as it might seem: you cannot simply change "@prefix@/share" to "@datadir@" in gnash-*-launcher.in because "@datadir@" expands to "${prefix}/share", and "${prefix}" isn't defined in the output file.

The autoconf manual (http://www.gnu.org/software/autoconf/manual/autoconf.html#Installation-Directory-Variables) explains that this is necessary to allow the prefix to be set at make time to a different value than was set at configure time.

The manual also provides a few make rules to properly deal with this. It also points out the existence of @pkgdatadir@ from automake, which should be used as well.

Andrew Guertin <dolphinling>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bjacques (Updated the item)
  • -email is unavailable- added by dolphinling (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-04-24 bjacques Assigned toNone => hichamhaouari

    Back to the top

    Powered by Savane 3.4