Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Documents
    • Music
    • Sound Effects
    • Textures
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
FLARE

Gentoo Linux ebuild

Myckel
Sunday, February 12, 2012 - 14:46
Myckel's picture

I've spend this evening writing an ebuild for our Gentoo Linux users.

They can find it here: https://bugs.gentoo.org/show_bug.cgi?id=403319

  • Add new comment
dscharrer
Tuesday, April 10, 2012 - 16:10

Since the ebuild hasn't made it in the main portage tree or the games overlay yet, i've fixed a few issues and added it to the arx-libertatis overlay.

One thing i've noticed is that flare's CMakeLists.txt explicitly prepents ${CMAKE_INSTALL_PREFIX} to the path in install command. This is not necessary for relative paths but prevents using absolute paths for BINDIR (or DATADIR) like GAMES_BINDIR provided by the games eclass in gentoo or %{_bindir} in rpm spec files.

You would then also need to adjust the FLARE_EXECUTABLE_PATH:

if(NOT IS_ABSOLUTE ${BINDIR})
  set(FLARE_EXECUTABLE_PATH ${CMAKE_INSTALL_PREFIX}/${BINDIR}/flare)
else()
  set(FLARE_EXECUTABLE_PATH ${BINDIR}/flare)
endif()

or just assume that flare is in the $PATH and use that in flare.desktop

 

  • reply

Add new comment

The content of this field is kept private and will not be shown publicly.
Right Column

More information about text formats

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br> <img> <del> <strike> <h1> <h2> <h3> <h4> <h5>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Attachments
You may attach one or more images to your post.
Files must be less than 200 MB.
Allowed file types: png gif jpg jpeg.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Fill in the blank.