Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 113224
Alias:
Product:
Component:
Status: NEW
Resolution:
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kiyoshi Aman <kiyoshi.aman@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
nethack-3.4.3-r2.ebuild nethack-3.4.3-r2.ebuild text/plain Kiyoshi Aman 2005-11-21 19:51 0000 4.98 KB Details
3.4.3-gentoo.patch 3.4.3-gentoo.patch patch Kiyoshi Aman 2005-11-21 19:52 0000 140.53 KB Details | Diff
nethack-3.4.3-r2.ebuild nethack-3.4.3-r2.ebuild try 2 text/plain Kiyoshi Aman 2005-11-22 14:05 0000 4.98 KB Details
nethack-3.4.3-r2.ebuild nethack-3.4.3-r2.ebuild text/plain Kiyoshi Aman 2005-11-23 10:03 0000 4.99 KB Details
nethack-3.4.3-r2.ebuild yet another ebuild text/plain Kiyoshi Aman 2005-11-23 10:11 0000 5.00 KB Details
dot.nethackrc updated .nethackrc text/plain Kiyoshi Aman 2005-11-23 10:30 0000 3.82 KB Details
nethack-3.4.3-r2.ebuild Because Nethack checks HACKDIR for tiles text/plain Kiyoshi Aman 2005-11-23 11:46 0000 4.81 KB Details
3.4.3-gentoo.patch Updated patch; fixes savepath issue once and for all, hopefully. patch Kiyoshi Aman 2005-11-30 00:52 0000 145.13 KB Details | Diff
nethack-3.4.3-r3.ebuild ebuild with Russian translation text/plain Sergey Kailimov 2009-08-25 21:50 0000 5.52 KB Details
3.4.3-russian-unVC2008.patch patch for russian translation patch Sergey Kailimov 2009-08-25 21:51 0000 10.64 KB Details | Diff
nethack-3.4.3-r3.ebuild english/russian ebuild with unicode use text/plain Sergey Kailimov 2009-08-26 10:41 0000 5.71 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 113224 depends on: Show dependency tree
Bug 113224 blocks: 104707 109013 109191
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.








View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-11-21 19:47 0000
Here's an ebuild for Nethack 3.4.3.

------- Comment #1 From Kiyoshi Aman 2005-11-21 19:50:20 0000 -------
Blocking appropriate bugs.

------- Comment #2 From Kiyoshi Aman 2005-11-21 19:51:25 0000 -------
Created an attachment (id=73344) [details]
nethack-3.4.3-r2.ebuild

------- Comment #3 From Kiyoshi Aman 2005-11-21 19:52:23 0000 -------
Created an attachment (id=73345) [details]
3.4.3-gentoo.patch

------- Comment #4 From Kiyoshi Aman 2005-11-22 14:05:45 0000 -------
Created an attachment (id=73398) [details]
nethack-3.4.3-r2.ebuild try 2

Oops, missed some gnomes in the move to USE="gtk" respect.

------- Comment #5 From Kiyoshi Aman 2005-11-23 10:03:47 0000 -------
Created an attachment (id=73441) [details]
nethack-3.4.3-r2.ebuild

Tiles don't go in /usr/share/pixmaps

This also fixes the issue where tiles got put in / because PIXMAPDIR isn't set.
Oops.

------- Comment #6 From Kiyoshi Aman 2005-11-23 10:11:25 0000 -------
Created an attachment (id=73443) [details]
yet another ebuild

This one puts tiles in ${GAMES_DATADIR}/${PN}, unlike the old one.

------- Comment #7 From Kiyoshi Aman 2005-11-23 10:30:00 0000 -------
Created an attachment (id=73444) [details]
updated .nethackrc

This will set some sensible defaults in Nethack, some of which use the new
features.

------- Comment #8 From Kiyoshi Aman 2005-11-23 11:46:48 0000 -------
Created an attachment (id=73451) [details]
Because Nethack checks HACKDIR for tiles

Intermediate ebuild until I write a patch to apply for gtk so it can find the
tiles properly.

------- Comment #9 From Thomas Weidner 2005-11-23 16:45:35 0000 -------
what about changing the right ressources in /etc/X11/app-defaults/NetHack? IIRC
there is one for the tile file location.

------- Comment #10 From Kiyoshi Aman 2005-11-27 18:59:04 0000 -------
There's one to tell Nethack what the filename is, but I don't know if it will
honour an absolute path.

------- Comment #11 From Jeroen Roovers 2005-11-29 15:13:17 0000 -------
With the latest version of the ebuild:

i686-pc-linux-gnu-gcc -O3 -march=c3-2 -I../include   -c -o files.o files.c
files.c: In function `get_saved_games':
files.c:1002: error: `SAVE_PREFIX' undeclared (first use in this function)
files.c:1002: error: (Each undeclared identifier is reported only once
files.c:1002: error: for each function it appears in.)
i686-pc-linux-gnu-gcc -O3 -march=c3-2 -I../include   -c -o fountain.o fountain.c
make: *** [files.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: games-roguelike/nethack-3.4.3-r2 failed.

------- Comment #12 From Jeroen Roovers 2005-11-29 19:14:39 0000 -------
This should fix it...

--- files/3.4.3-gentoo.patch-old        2005-11-22 06:28:53.000000000 +0100
+++ files/3.4.3-gentoo.patch    2005-11-30 04:12:43.000000000 +0100
@@ -2784,7 +2784,7 @@
      int myuid=getuid();
      struct dirent **namelist;
 -    int n = scandir("save", &namelist, 0, alphasort);;
-+    int n = scandir(fqname("save",SAVE_PREFIX,0), &namelist, 0, alphasort);;
++    int n = scandir(fqname("save",SAVEPREFIX,0), &namelist, 0, alphasort);;
      if ( n > 0 ) {
        int i,j=0;
        char** result = (char**)alloc((n+1)*sizeof(char*)); /* at most */

------- Comment #13 From Jeroen Roovers 2005-11-29 20:08:01 0000 -------
It works with all use flags but OPTIONS=windowtype:gnome does not work properly 
yet. I get this error (after nethack has crashed and dissappeared from the 
screen:

jeroen@epia ~ $ nethack
Gdk-ERROR **: BadMatch (invalid parameter attributes)
  serial 28085 error_code 8 request_code 62 minor_code 0
Gdk-ERROR **: BadMatch (invalid parameter attributes)
  serial 28089 error_code 8 request_code 62 minor_code 0
jeroen@epia ~ $ 

The other modes (tty, qt, x11) work fine.

------- Comment #14 From Kiyoshi Aman 2005-11-30 00:52:14 0000 -------
Created an attachment (id=73835) [details]
Updated patch; fixes savepath issue once and for all, hopefully.

Updated ebuild to address the gnome -> gtk breakage up shortly.

------- Comment #15 From Kiyoshi Aman 2005-11-30 00:56:37 0000 -------
Argh. I just checked the ebuild, and it doesn't seem to have an issue.

Additionally, it works for me; I don't know why windowtype:gnome isn't working
for you.

------- Comment #16 From Kiyoshi Aman 2005-11-30 00:59:41 0000 -------
Ack, forgot this doesn't have an edit button...

I only tried it without specifying windowtype:gnome specifically, and it *seems*
to work just fine in that instance. [I have -qt in my use flags, so I don't know
if Qt is interfering in some way.]

------- Comment #17 From James Earl Spahlinger 2009-07-25 20:06:28 0000 -------
Hello all, doing some bug triage through our old bugs and noticed this one. The
situation is this: we have version 3.4.3-r1 in portage already, currently
hardmasked due to security issues. This bug here is a proposed ebuild for
3.4.3.

I would close it if not for the proposed patches which I cannot evaluate are
needed in the portage version. Advice on what needs doing is appreciated as
conversation on this one and dependencies died out a long time ago.

------- Comment #18 From Kiyoshi Aman 2009-07-26 13:10:59 0000 -------
The patches applied herein are enhancements above and beyond those present in
the Debian packages. It's been years, however, and I am no longer interested in
working with Nethack in Gentoo; Sporkhack has since arisen, and needs
packaging.

------- Comment #19 From Sergey Kailimov 2009-08-25 21:50:50 0000 -------
Created an attachment (id=202284) [details]
ebuild with Russian translation

please, integrate into it gtk
this is actual gtk2 interface: http://gtk2hack.sourceforge.net

------- Comment #20 From Sergey Kailimov 2009-08-25 21:51:15 0000 -------
Created an attachment (id=202285) [details]
patch for russian translation

------- Comment #21 From Sergey Kailimov 2009-08-26 10:41:50 0000 -------
Created an attachment (id=202312) [details]
english/russian ebuild with unicode use

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug