From: Lars Lindner <lars.lindner@gm...> - 2011-08-29 20:16:58
2011/6/19 Diogo F. S. Ramos <diogofsr@...>:
> I noticed that currently it is not possible to run liferea from the
> build directory. I could have missed some switch, though.
The usual way is to use configure with --prefix to switch
the package directory paths to a temporary build location
where you can test the program.
> I don't know if an alternative is wanted or not but I took a shoot and
> hacked something together.
> I'm attaching a patch against current master (0bea9e8) so you can see
> the initial direction of the work.
> I only did the sufficient to boot liferea and much more work is expected
> until it's actually possible to fully run it.
> Notice that with the attached patch it's possible to run liferea even if
> one build it outside the `srcdir'.
> The idea is to look for the files at their locations in the
> `srcdir'. The files are searched using a relative path by design.
> If the files are not found, them the algorithm tries to find them inside
> their installation directories. After that, if no file is found, it
> gives up and returns NULL.
Thanks for taking the time to create a patch. Still given the --prefix
default way I do not think we should add another solution.
Please correct me if I'm wrong about this!
Get latest updates about Open Source Projects, Conferences and News.