Hi, here is an ebuild for d2x-rebirth, an enhanced version of d2x (Descent 2 client) which supports midi music. The d1x-rebirth ebuild will appear shortly.
Created attachment 89581 [details] d2x-rebirth-0.42.ebuild
Created attachment 89654 [details] d2x-rebirth-0.42.ebuild Switched the (R)DEPEND order, to remove COMMON.
Created attachment 90951 [details] d2x-rebirth-0.42.ebuild Improved dependencies.
Created attachment 91947 [details] Fixed source path The src_stem entry for the code tarball was incorrect. It now reflects the appropriate path. This compiles fine on AMD64, but throws SDL errors. I haven't been able to get the most recent versions straight off the website to compile - they don't pick up physfs properly for some reason. I don't know enough about libtool to get that working either. For some reason, D1X compiles and runs just fine on AMD64 though, and I'm not sure what the difference is. If you post a D1X-rebirth ebuild, keyword it ~amd64.
Created attachment 91965 [details] d2x-rebirth-0.42.ebuild (In reply to comment #4) > This compiles fine on AMD64, but throws SDL errors. Try libsdl-1.2.9, I've specified this in the ebuild since it's listed at http://www.dxx-rebirth.de/index.php?page=download
I've tried it with several different versions of SDL, no dice. Any other suggestions? # emerge --info Portage 2.1-r1 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17 x86_64) ================================================================= System uname: 2.6.17 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.6.15 ccache version 2.3 [disabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa avi bash-completion berkdb bitmap-fonts cli crypt cups dlloader dri dvd dvdr eds emboss encode fam foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde lzw lzw-tiff mozsvg mp3 mpeg ncurses nls nsplugin nvidia opengl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd theora tiff truetype-fonts type1-fonts usb v4l v4l2 xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
I suggest to compile with the "debug" USE flag, and post an actual error message to the forum: http://dxx-rebirth.de/smf/
Created attachment 94496 [details] d2x-rebirth-0.42.ebuild Added "d2x-rebirth-common" wrapper with common command-line options.
Created attachment 101553 [details] d2x-rebirth-0.50.ebuild Version bump.
Can this use the demo data?
> Can this use the demo data? No, d2x-rebirth needs the CD data. d2x-xl (bug #144274) can use the demo data, though.
OK Added to CVS...