[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [bug #33045] gnash-{gtk, qt}-launcher look in wrong place
From: |
Andrew Guertin |
Subject: |
[Gnash-commit] [bug #33045] gnash-{gtk, qt}-launcher look in wrong place for gnash-splash.swf if --datadir is passed to configure |
Date: |
Mon, 11 Apr 2011 08:18:35 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:2.2a1pre) Gecko/20110410 Firefox/4.2a1pre |
URL:
<http://savannah.gnu.org/bugs/?33045>
Summary: gnash-{gtk,qt}-launcher look in wrong place for
gnash-splash.swf if --datadir is passed to configure
Project: Gnash - The GNU Flash player
Submitted by: dolphinling
Submitted on: Mon 11 Apr 2011 04:18:34 AM EDT
Category: build
Severity: 3 - Normal
Release: trunk
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
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.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33045>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Gnash-commit] [bug #33045] gnash-{gtk, qt}-launcher look in wrong place for gnash-splash.swf if --datadir is passed to configure,
Andrew Guertin <=