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: buildSeverity: 3 - Normal
Release: trunkStatus: None
Privacy: PublicAssigned 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 24 Apr 2011 02:07:05 PM UTCbjacquesAssigned toNone=>hichamhaouari

    Back to the top

    Powered by Savane 3.1-cleanup1