Any chance for (compiled) Angband 3.0.9 debian file?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ivanj
    Rookie
    • Aug 2007
    • 3

    Any chance for (compiled) Angband 3.0.9 debian file?

    I shiver and shake every time I have to compile something from the source. I just hate it. Developers rarely include the list of "dev" files you need, so something is always "missing". Usually you need a bunch of useless stuff (for compiling just one program) that you need to figure out yourself or by the forum. Angband was no different.

    What's more, I'm on the dialup so I cannot download all dev files required for X, GTK, etc. I could, but it would take ages...

    .......so, did anyone compile Angband 3.0.9 from the source with gtk and X enabled? If so, please make and post your .deb file!

    I'm using Ubuntu Feisty.

    Thanks!
  • ekolis
    Knight
    • Apr 2007
    • 921

    #2
    Hmm, I'm using Ubuntu Feisty too... I don't mind building stuff from source, but the whole package creation process has always been a bit of a mystery to me! I guess now would be a good time to give it a shot - I'll let you know how things turn out and post a .deb if I can get it working!
    You read the scroll labeled NOBIMUS UPSCOTI...
    You are surrounded by a stasis field!
    The tengu tries to teleport, but fails!

    Comment

    • ekolis
      Knight
      • Apr 2007
      • 921

      #3
      Here you go - let me know if this works!

      I compiled it with the setgid option set to "games" so you'll need to be a member of the "games" group on your machine to play - it won't install to your home directory, it will install globally. I also turned on all the ports (command-line, X11, GTK, and SDL), so I made the GTK and SDL packages recommended but not required - I hope I got those package names right!
      You read the scroll labeled NOBIMUS UPSCOTI...
      You are surrounded by a stasis field!
      The tengu tries to teleport, but fails!

      Comment

      • Magnate
        Angband Devteam member
        • May 2007
        • 5110

        #4
        According to http://packages.debian.org/unstable/games/angband, the maintainer of the Debian package Angband is srivasta@debian.org - perhaps Ed would like to forward his new .deb to Manoj and see if he will accept it as an update (or create his own for 3.0.9). Just a thought - then it will get into the mainstream Debian archives and be available to all of us.

        That reminds me - are we officially "free" yet, as in GPLd? Angband is still listed in Debian's "non-free" section because of the dual licence. It would be nice to get it out of there.

        CC
        "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

        Comment

        • takkaria
          Veteran
          • Apr 2007
          • 1951

          #5
          Originally posted by Magnate
          According to http://packages.debian.org/unstable/games/angband, the maintainer of the Debian package Angband is srivasta@debian.org - perhaps Ed would like to forward his new .deb to Manoj and see if he will accept it as an update (or create his own for 3.0.9). Just a thought - then it will get into the mainstream Debian archives and be available to all of us.

          That reminds me - are we officially "free" yet, as in GPLd? Angband is still listed in Debian's "non-free" section because of the dual licence. It would be nice to get it out of there.

          CC
          3.0.9 isn't, no. 3.1.0 will be.
          takkaria whispers something about options. -more-

          Comment

          • ivanj
            Rookie
            • Aug 2007
            • 3

            #6
            Hey Ekolis, thank you very much for making a debian file!
            Unfortunately, I cannot start the game, it says:

            ivan@ivan-desktop:~$ angband
            angband: Monospace 12
            angband: Width & Height: 10, 19
            angband: Cleaned up.
            angband: ANGBAND_XTRA path = /home/ed/src/angband-3.0.9/debian/usr/local/share/angband/xtra/angband.glade

            (angband:5822): libglade-WARNING **: could not find glade file '/home/ed/src/angband-3.0.9/debian/usr/local/share/angband/xtra/angband.glade'

            (angband:5822): libglade-CRITICAL **: glade_xml_get_widget: assertion `self != NULL' failed

            (angband:5822): libglade-CRITICAL **: glade_xml_get_widget: assertion `self != NULL' failed

            (angband:5822): libglade-CRITICAL **: glade_xml_get_widget: assertion `self != NULL' failed

            (angband:5822): GLib-GObject-WARNING **: invalid (NULL) pointer instance

            (angband:5822): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

            (angband:5822): GLib-GObject-WARNING **: invalid (NULL) pointer instance

            (angband:5822): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

            ** ERROR **: file main-gtk.c: line 1147 (init_gtk_window): assertion failed: (td->window != NULL)
            aborting...
            Aborted
            ivan@ivan-desktop:~$

            What do you think?

            Comment

            • ekolis
              Knight
              • Apr 2007
              • 921

              #7
              Oh yeah, I remember having that problem with 3.0.9 as well when I first installed it... I think what you have to do is either copy over the "angband.glade" file from the source archive to the location it's looking in, or run one of the other ports, as follows:

              angband -msdl # for the SDL port
              angband -mx11 # for the X port
              angband -mgcu # for the console port

              edit: wait a sec, it it looking in the /home/ed/src directory for the files? THAT is strange... that's where *I* put them... I wonder how to override that.. Well for now try one of the other ports and see if it complains, I guess...
              You read the scroll labeled NOBIMUS UPSCOTI...
              You are surrounded by a stasis field!
              The tengu tries to teleport, but fails!

              Comment

              • Velvet Elvis
                Rookie
                • Aug 2007
                • 5

                #8
                I filed a wishlist bug regarding this before I went and compiled it myself.

                After posting to the savefile location thread I noticed that the *raw files are in the wrong place in the debian package. They are under /usr/ but get written to by the game so they should be in /var. Filing a bug on this might prompt an update faster than just waiting.

                Comment

                • ivanj
                  Rookie
                  • Aug 2007
                  • 3

                  #9
                  Now I get this...

                  ivan@ivan-desktop:~$ angband -mx11
                  angband: Failed to open sound config (/home/ed/src/angband-3.0.9/debian/usr/local/share/angband/xtra/sound/sound.cfg):
                  No such file or directory
                  angband: Failed to load sound config
                  angband: Cannot access the '/home/ed/src/angband-3.0.9/debian/usr/local/share/angband/file/news.txt' file!

                  The 'lib' directory is probably missing or broken.
                  Perhaps the archive was not extracted correctly.
                  See the 'readme.txt' file for more information.
                  ivan@ivan-desktop:~$

                  Too much hassle for this game I think... but thanks anyway!

                  Comment

                  • Kiyoshi Aman
                    Scout
                    • Apr 2007
                    • 27

                    #10
                    It generally means the person who made the package didn't do it correctly.

                    ./configure --prefix=/usr --bindir=/usr/games --with-setegid=games; make; DESTDIR=~/binaries/angband-3.0.9 install

                    would've worked, however. Not that I have a right to say anything, since I don't do packaging.
                    "The Earth...is for the living. The dead have neither rights nor powers on it." -- Thomas Jefferson
                    "Aim above morality. Be not simply good, be good for something." -- Mark Twain

                    Comment

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