Package Details: rogue 1:5.4.4-1

Git Clone URL: https://aur.archlinux.org/rogue.git (read-only, click to copy)
Package Base: rogue
Description: The original dungeon crawl game.
Upstream URL: http://rogue.rogueforge.net/rogue-5-4/
Keywords: bsd crawl crawler dungeon dungeoncrawl dungeoncrawler game rogue roguelike
Licenses: custom
Submitter: arojas
Maintainer: sethkush
Last Packager: sethkush
Votes: 6
Popularity: 0.34
First Submitted: 2023-04-01 17:25 (UTC)
Last Updated: 2024-08-24 14:41 (UTC)

Latest Comments

sethkush commented on 2024-08-24 14:42 (UTC)

Thanks, tblFlip. The build should now work on x86_64 and aarch64.

tblFlip commented on 2024-06-30 23:07 (UTC)

i had a bit of time and found a fix for that opaque WINDOW issue. compiles and run on x86_64 just fine now

diff --git a/PKGBUILD b/PKGBUILD
index b172e31..476354b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,6 +18,10 @@ prepare() {
   # ncurses fix, FS#57731
   sed -i '262i TERMTYPE *tp = (TERMTYPE *) (cur_term);' mdport.c
   sed -i 's/cur_term->type.Strings/tp->Strings/' mdport.c
+
+  # Use wmove instead of trying to accesses fields of an opaque struct
+  sed -i '/curscr->_curx = ox;/d' main.c
+  sed -i 's/curscr->_cury = oy;/wmove(curscr, oy, ox);/' main.c
 }

 build() {

tcreature commented on 2024-06-30 04:18 (UTC)

@0BAD-C0DE @Gaspi I'm getting the same error.

Gaspi commented on 2024-06-11 17:12 (UTC)

hi @0BAD-C0DE i am getting that exact error you posted last

0BAD-C0DE commented on 2024-06-10 10:02 (UTC) (edited on 2024-06-10 10:27 (UTC) by 0BAD-C0DE)

IS your error this one?

gcc -g -O2  -DHAVE_CONFIG_H  -c main.c
main.c: In function ‘tstp’:
main.c:241:11: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct _win_st’}
  241 |     curscr->_cury = oy;
      |           ^~
main.c:242:11: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct _win_st’}
  242 |     curscr->_curx = ox;
      |           ^~
make: *** [Makefile:130: main.o] Error 1

It seems it is related to NCURSES_OPAQUE but I have not enough time now to deep dive into it.

0BAD-C0DE commented on 2024-06-10 08:05 (UTC)

@Tiagofer would you please detail your compilation error?

Tiagofer commented on 2024-06-10 04:01 (UTC)

I'm getting a compilation error and setkush's fix doesn't fix it.

sethkush commented on 2024-02-29 21:24 (UTC) (edited on 2024-02-29 21:26 (UTC) by sethkush)

The following is needed to fix the build on aarch64 for me:

diff --git a/PKGBUILD b/PKGBUILD
index b172e31..567d252 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,6 +22,8 @@ prepare() {

 build() {
   cd $pkgname$pkgver
+  wget "http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess"
+  mv config.guess.1 config.guess
   ./configure
   make
 }

0BAD-C0DE commented on 2023-04-02 11:08 (UTC) (edited on 2023-04-02 11:09 (UTC) by 0BAD-C0DE)

AUR doesn't work.

From GitHub page:

Mirror of rogue.rogueforge.net's Rogue 5.4.4 MOVED TO GITLAB gitlab.com/philhsmith/rogue