Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87685 - request for New Duke3DPort: jfduke3d
Summary: request for New Duke3DPort: jfduke3d
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://jonof.edgenetwork.org/
Whiteboard:
Keywords: EBUILD
: 95076 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-02 09:35 UTC by Alexander Nicolaysen Sørnes
Modified: 2020-11-17 10:11 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The ebuild and accompanying files (jfduke3d_20041013.tar.bz2,30.18 KB, application/x-bzip)
2005-04-07 11:46 UTC, Alexander Nicolaysen Sørnes
Details
metadata.xml (metadata.xml,871 bytes, text/xml)
2005-04-29 19:25 UTC, Alexander Nicolaysen Sørnes
Details
Manifest (Manifest,275 bytes, application/octet-stream)
2005-04-29 19:25 UTC, Alexander Nicolaysen Sørnes
Details
Patch to enable sound (jfduke3d_src_20041013-linux.diff,232.87 KB, patch)
2005-04-29 19:26 UTC, Alexander Nicolaysen Sørnes
Details | Diff
jfduke3d-20041013.ebuild (jfduke3d-20041013.ebuild,1.41 KB, application/octet-stream)
2005-04-29 19:27 UTC, Alexander Nicolaysen Sørnes
Details
The Build engine (buildport_src_20041013.zip,491.48 KB, application/zip)
2005-04-29 19:27 UTC, Alexander Nicolaysen Sørnes
Details
JFDuke3D (jfduke3d_src_20041013.zip,517.30 KB, application/zip)
2005-04-29 19:28 UTC, Alexander Nicolaysen Sørnes
Details
jfduke3d-20050531.ebuild (jfduke3d-20050531.ebuild,1.42 KB, text/plain)
2005-06-05 05:00 UTC, Alexander Nicolaysen Sørnes
Details
metadata.xml (metadata.xml,824 bytes, text/plain)
2005-06-05 05:00 UTC, Alexander Nicolaysen Sørnes
Details
Patch for sound support (jfduke3d_src_20050531-sound.patch,113.49 KB, patch)
2005-06-05 05:01 UTC, Alexander Nicolaysen Sørnes
Details | Diff
JFBuild (jfbuild_src_20050531.zip,529.47 KB, application/zip)
2005-06-05 05:01 UTC, Alexander Nicolaysen Sørnes
Details
JFDuke3D (jfduke3d_src_20050531.zip,598.40 KB, application/zip)
2005-06-05 05:02 UTC, Alexander Nicolaysen Sørnes
Details
jfduke3d-20050531.ebuild (jfduke3d-20050531.ebuild,1.68 KB, text/plain)
2005-06-05 15:58 UTC, Alexander Nicolaysen Sørnes
Details
Multiplayer frontend - Norwegian (Bokmål) (jfdukemp_nb,356 bytes, text/plain)
2005-06-05 18:21 UTC, Alexander Nicolaysen Sørnes
Details
Multiplayer frontend - English (jfdukemp_en,356 bytes, text/plain)
2005-06-05 18:21 UTC, Alexander Nicolaysen Sørnes
Details
jfduke3d-20050531.ebuild (jfduke3d-20050531.ebuild,2.23 KB, text/plain)
2005-06-05 18:24 UTC, Alexander Nicolaysen Sørnes
Details
improved ebuild (jfduke3d-20050531.ebuild,1.56 KB, patch)
2005-08-20 15:05 UTC, Jordan
Details | Diff
improved soundpatch (jfduke3d-20050531-sound.patch,113.48 KB, text/plain)
2005-08-20 15:06 UTC, Jordan
Details
improved wrapper (jfduke3d,194 bytes, text/plain)
2005-08-20 15:09 UTC, Jordan
Details
bump to latest version (jfduke3d-20051009.ebuild,1.62 KB, text/plain)
2005-11-12 18:05 UTC, Jordan
Details
bump to latest version (jfduke3d-20051009-sound.patch,114.81 KB, patch)
2005-11-12 18:07 UTC, Jordan
Details | Diff
bump to latest version (jfbuild-20051009-sound.patch,3.70 KB, patch)
2005-11-12 18:09 UTC, Jordan
Details | Diff
jfduke3d wrapper script, added HRP detection support (jfduke3d,294 bytes, text/plain)
2006-02-16 05:50 UTC, Jan Pieczkowski
Details
latest ebuild with amd64 support (jfduke3d-20051009.ebuild,2.02 KB, text/plain)
2007-03-11 21:46 UTC, Federico Cerisola
Details
Corrected version of latest ebuild (jfduke3d-20051009.ebuild,2.03 KB, text/plain)
2008-09-19 18:39 UTC, Ivan Anishchuk
Details
virtual-x11 -> x11-base/xorg-x11 (jfduke3d-20051009.ebuild,2.04 KB, text/plain)
2008-09-20 12:26 UTC, Ivan Anishchuk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Nicolaysen Sørnes 2005-04-02 09:35:05 UTC
There is a port of Duke Nukem 3D that is far better than the Icculus one.  Among other things, it supports 3D objects and TrueColour textures.

Reproducible: Always
Steps to Reproduce:
Comment 1 Alexander Nicolaysen Sørnes 2005-04-05 09:22:47 UTC
I am sorry for wasting your time; I suppose I can create an ebuild myself.  It will be uploaded here once I'm done with it (probably tomorrow).
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2005-04-05 10:14:44 UTC
Wasting who's time?  Just because we haven't gotten to this yet doesn't mean that we won't... the games team is pretty small, and we tend to give bugs priority to enhancement requests.  Have some patience, we'll get to it.
Comment 3 Alexander Nicolaysen Sørnes 2005-04-05 10:47:57 UTC
Sorry, I did not mean to criticize.  What I meant is that I will make the ebuild, and that I should have told that from the beginning of this post.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-04-05 11:15:11 UTC
You're making an ebuild? Sweet!

It is always good to see someone take an active interest in their requests.  It also speeds up the process measurably.
Comment 5 Alexander Nicolaysen Sørnes 2005-04-07 11:46:57 UTC
Created attachment 55576 [details]
The ebuild and accompanying files
Comment 6 Alexander Nicolaysen Sørnes 2005-04-07 11:47:43 UTC
This is my first ebuild, but it seems to work fine.
Comment 7 Alexander Nicolaysen Sørnes 2005-04-18 14:11:21 UTC
I am not quite familiar with these procedures; should I submit the ebuild as a new bug?
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2005-04-18 14:22:56 UTC
no but you should attach files separately as text/plain.
Comment 9 Alexander Nicolaysen Sørnes 2005-04-29 19:25:06 UTC
Created attachment 57638 [details]
metadata.xml
Comment 10 Alexander Nicolaysen Sørnes 2005-04-29 19:25:30 UTC
Created attachment 57639 [details]
Manifest
Comment 11 Alexander Nicolaysen Sørnes 2005-04-29 19:26:28 UTC
Created attachment 57640 [details, diff]
Patch to enable sound
Comment 12 Alexander Nicolaysen Sørnes 2005-04-29 19:27:00 UTC
Created attachment 57641 [details]
jfduke3d-20041013.ebuild
Comment 13 Alexander Nicolaysen Sørnes 2005-04-29 19:27:42 UTC
Created attachment 57642 [details]
The Build engine
Comment 14 Alexander Nicolaysen Sørnes 2005-04-29 19:28:18 UTC
Created attachment 57643 [details]
JFDuke3D
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2005-06-05 00:25:30 UTC
*** Bug 95076 has been marked as a duplicate of this bug. ***
Comment 16 Alexander Nicolaysen Sørnes 2005-06-05 05:00:38 UTC
Created attachment 60635 [details]
jfduke3d-20050531.ebuild
Comment 17 Alexander Nicolaysen Sørnes 2005-06-05 05:00:54 UTC
Created attachment 60636 [details]
metadata.xml
Comment 18 Alexander Nicolaysen Sørnes 2005-06-05 05:01:13 UTC
Created attachment 60637 [details, diff]
Patch for sound support
Comment 19 Alexander Nicolaysen Sørnes 2005-06-05 05:01:52 UTC
Created attachment 60638 [details]
JFBuild
Comment 20 Alexander Nicolaysen Sørnes 2005-06-05 05:02:37 UTC
Created attachment 60639 [details]
JFDuke3D
Comment 21 Alexander Nicolaysen Sørnes 2005-06-05 05:03:28 UTC
I updated the ebuild to jfduke3d-20050531.
Comment 22 Alexander Nicolaysen Sørnes 2005-06-05 15:58:36 UTC
Created attachment 60686 [details]
jfduke3d-20050531.ebuild

Fixed permission problems with '/tmp/tmpsong.mid'.
Comment 23 Mr. Bones. (RETIRED) gentoo-dev 2005-06-05 16:11:04 UTC
missing IUSE
missing dep on unzip
don't use /tmp, use "${T}" (actually, the whole thing with tmpsong.mid needs to
be fixed, that's real ugly there)
needs more error checking on file io (... || die ...)
put the SRC_URI on two lines
Comment 24 Alexander Nicolaysen Sørnes 2005-06-05 18:21:07 UTC
Created attachment 60692 [details]
Multiplayer frontend - Norwegian (Bokmål)
Comment 25 Alexander Nicolaysen Sørnes 2005-06-05 18:21:07 UTC
Created attachment 60692 [details]
Multiplayer frontend - Norwegian (Bokmål)
Comment 26 Alexander Nicolaysen Sørnes 2005-06-05 18:21:25 UTC
Created attachment 60693 [details]
Multiplayer frontend - English
Comment 27 Alexander Nicolaysen Sørnes 2005-06-05 18:24:59 UTC
Created attachment 60697 [details]
jfduke3d-20050531.ebuild

Added a multiplayer frontend using KDialog
Added IUSE="kde"
Added "app-arch/unzip" to "DEPEND"
Added more error handling
Added more information (einfo)

It was not I that made the sound patch, I do not know how to make such things. 
The '/tmp' is hardcodec in it, thus no '${T}'.
Comment 28 Jordan 2005-08-20 15:05:16 UTC
Created attachment 66434 [details, diff]
improved ebuild

I improved the ebuild a whole lot.

It doesn't use cd a whole bunch because I set ${S} properly.

I use ${PN} and so forth instead of "jfduke3d" all over the place.

I depend on kdebase OR kdialog (since all it needs is kdialog and this solves
the case of people using split kde packages, etc.) This multiplayer script
could also be done in zenity for gnome users...and of course a command line
interface...its very very simple, it's not even really necessary...

I don't know why it was setting OPTFLAGS="" as it works fine for me with my
default CFLAGS. I removed this for now, if a problem occurs layer I'd rather be
using filter-flags if possible...

I cleaned up the redundant use of "use kde" all throughout the ebuild and
removed if's where simple [[blah]] && test cases would be fine.

I'm not using the games_make_wrapper anymore because I don't think it's very
appropriate to be sticking DUKE3D.CFG, duke3d.log, and some other files into
$HOME. I've taken the wrapper games_make_wrapper made and improved it so uses
$HOME/.jfduke3d instead. This of course it means it needs to check/create a
directory and thus games_make_wrapper is not suitable. This ends up killing 2
birds with one stone because...

I edited the sound patch so it creates the tmpsong.mid in the current directory
(which will be $HOME/.jfduke3d/ thanks to my wrapper.) I also renamed the patch
  so I can just use ${P}-sound.patch which shortens the ebuild and provides
clear separation between my modified patch and the original.

I don't know why the einfo comment at the bottom said the built-in display
options configurator doesn't work, it works just fine for me, so I've removed
it. Perhaps they forgot to select "apply changes."
Comment 29 Jordan 2005-08-20 15:06:38 UTC
Created attachment 66435 [details]
improved soundpatch

the sound patch that puts tmpsong.mid in the current directory instead of in
/tmp (see above)
Comment 30 Jordan 2005-08-20 15:09:23 UTC
Created attachment 66436 [details]
improved wrapper

the wrapper that creates/uses "$HOME/.jfduke3d" This makes things work a LOT
better (and gives you a nice place to store your custom .con files or what not
as well!)

BTW...
I meant to submit my improved ebuild as plain text but submitted as patch
instead..oh well, it still shows up fine...
Comment 31 Jordan 2005-11-12 18:05:52 UTC
Created attachment 72784 [details]
bump to latest version

this is the latest version
Comment 32 Jordan 2005-11-12 18:07:35 UTC
Created attachment 72785 [details, diff]
bump to latest version

this is the sound patch for the latest version, it comes in 2 parts...one
against jfduke3d and one against jfbuild...this one is against jfduke3d
Comment 33 Jordan 2005-11-12 18:09:25 UTC
Created attachment 72786 [details, diff]
bump to latest version

and here is the second part of the sound patch against jfbuild.

I should note that my initial testing of this latest version of jfduke3d shows
much improvement and seems to run quite nicely...
Comment 34 Jan Pieczkowski 2006-02-16 05:50:19 UTC
Created attachment 79928 [details]
jfduke3d wrapper script, added HRP detection support

I created a somewhat improved wrapper script, due to problems caused by my LC_NUMERIC locale. If you're experiencing 'expected float, got ".593"' messages on startup, this is what you're searching for. It also has a rudimentary detection for an installed HRP package (see http://hrp.planetduke.gamespy.com/ )

Notes:
 - you have to put the HRP files to your $HOME/.jfduke3d directory
 - the package must be named duke3d_hrp.zip
 - the maphacks file must be named maphacks.zip; be sure to choose the correct one for your version

Also see: http://forums.gentoo.org/viewtopic-p-3115995.html#3115995
Comment 35 Jordan 2006-02-16 18:07:59 UTC
I don't think it's such a good idea to by default use the HRP files, as they are optional, not neccessary, and I don't always want to use them, even though I have them installed. Seeing as it's something that can be specified on the command line, it'd make more sense to just create an alias for it if you wanted to always use them.
Comment 36 Federico Cerisola 2007-03-11 21:46:58 UTC
Created attachment 113014 [details]
latest ebuild with amd64 support

I have slightly modified the ebuild to add amd64 support.
Comment 37 Ivan Anishchuk 2008-09-19 18:39:21 UTC
Created attachment 165863 [details]
Corrected version of latest ebuild 

I've corrected mising spaces in latest ebuild
Comment 38 Ivan Anishchuk 2008-09-20 12:26:49 UTC
Created attachment 165895 [details]
virtual-x11 -> x11-base/xorg-x11

Changed virtual-x11 to x11-base/xorg-x11
Comment 39 Conrad Kostecki gentoo-dev 2020-11-17 10:11:47 UTC
Since we have currently games-fps/eduke32 in tree, which is nowadays a much more modern port than jfduke3d (which isn't anymore actively developed) is, I don't think, it's still worth to add it to the tree as of today.