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

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

Add a New Comment Rich Markup
   

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:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-758e.
    Corresponding source code