Building X11 or SDL2 frontend on Bazzite

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ekolis
    Knight
    • Apr 2007
    • 828

    Building X11 or SDL2 frontend on Bazzite

    I've been using Bazzite Linux lately, and I'm trying to compile Angband because I want to play the windowed version of the game and only the console version appears to be available from the software repositories. However when I try to build either the X11 or the SDL2 frontend, I get an error saying that X is not installed, even though I do have libx11 installed. I tried installing libx11-dev and libx11-devel, but those don't seem to exist in Homebrew where I normally get development packages from, so I'm guessing libx11 is what I need. Could this have anything to do with Bazzite using Wayland and requiring an emulation layer for X11 apps? Also, which frontend is recommended, X11 or SDL2? What's the difference between the two? On Windows I didn't have this option! Thanks!
    You read the scroll labeled NOBIMUS UPSCOTI...
    You are surrounded by a stasis field!
    The tengu tries to teleport, but fails!
  • Nick
    Vanilla maintainer
    • Apr 2007
    • 9387

    #2
    I suspect it's to do with Wayland, but I'm pretty ignorant about how Wayland vs X works. Personally, I would recommend the SDL2 frontend over x11.
    One for the Dark Lord on his dark throne
    In the Land of Mordor where the Shadows lie.

    Comment

    • ekolis
      Knight
      • Apr 2007
      • 828

      #3
      Thanks! Looks like I had to reinstall SDL2 (brew reinstall sdl2); somehow in the process of trying to get the game to build I broke my installation.

      And now I can't find where "sudo make install" put the game; the game doesn't seem to be in my path... been so long since I worked with make!

      Oh, I just had to specify the installation path with "./configure --prefix=/some/path" - now the game is crashing because it can't find libSDL2_ttf-2.0.so.0 even though I have sdl2_ttf installed, hmm...
      Last edited by ekolis; Yesterday, 17:10.
      You read the scroll labeled NOBIMUS UPSCOTI...
      You are surrounded by a stasis field!
      The tengu tries to teleport, but fails!

      Comment

      • Nick
        Vanilla maintainer
        • Apr 2007
        • 9387

        #4
        /usr/local/games is the standard place the game is put.
        One for the Dark Lord on his dark throne
        In the Land of Mordor where the Shadows lie.

        Comment

        • ekolis
          Knight
          • Apr 2007
          • 828

          #5
          Thanks! Turns out it won't go there on Bazzite because the OS is immutable, so I had to change the installation path when running the configure script to put it somewhere I can actually write to. I also had to add /home/linuxbrew/.linuxbrew/lib to my LD_LIBRARY_PATH environment variable so that I can use the SDL2_ttf library I downloaded via Homebrew. And now the game is running!
          You read the scroll labeled NOBIMUS UPSCOTI...
          You are surrounded by a stasis field!
          The tengu tries to teleport, but fails!

          Comment

          Working...
          😀
          😂
          🥰
          😘
          🤢
          😎
          😞
          😡
          👍
          👎