New Debian/Ubuntu d2x-xl binary installation packages.

All other topics around Descent and D2X-XL

Moderators: Frustikus, simX, Aus-RED-5

User avatar
lloyd
Posts: 91
Joined: Sun Jul 26, 2009 5:13 pm
Contact:

New Debian/Ubuntu d2x-xl binary installation packages.

Postby lloyd » Fri Feb 03, 2012 5:55 am

These are Debian/Ubuntu installation packages for d2x-xl. The idea is to make the game easy to install and upgrade on Debian-based Linux distros.

These packages install d2x-xl on amd64 and i386. The d2x-xl-base package includes 3 playable demo levels. It also includes music support. If all you want to do is update your executable, install d2x-xl-executable.

Edit: The d2x-xl version number is 1.15.336.
Tested on:
    Debian Squeeze
    Debian Lenny
    Ubuntu (version?)
    Linux Mint 12

There are 2 d2x-xl installation packages:

d2x-xl-base: includes game data, SDL and sdl-mixer libraries (with bugfixes by Karx to allow optimum d2x-xl performance), GUS patches needed for midi music playback.demo levels, skeleton files for automatic new player installation, icons and menu files, and my d2x-xl wrapper script. (see explanation below)
d2x-xl-executable: contains only the d2x-xl executable program

d2x-xl-base installs a wrapper script that does many checks before executing d2x-xl. If anything is wrong, it will tell the user with a nice GUI dialog box rather than a message to STDOUT or STDERR (which many users might never see). For example, if necessary it will install a workaround for the missing libmotif4 package on Ubuntu (libmotif3 is available on Ubuntu and can be substituted).

There may still be glitches to fix to allow this to install d2x-xl properly on all the popular Debian-based Linux distros. Let me know of any troubles by posting here or by PM.

These packages can be downloaded individually, but the easiest way to install these packages, and later upgrade them, is to add my Debian repository to your repository list. This lets the package management system automatically fulfill dependencies. Add this line to your /etc/apt/sources.list file:

deb http://files.crnatural.net lloyd main contrib

To avoid seeing warnings about use of an unauthenticated repository, add (as root or via sudo) my repository's public key to the package management system's keyring:
wget -O - http://files.crnatural.net/lloyd_repository_key.asc | apt-key add -

Enjoy!
Last edited by lloyd on Fri Mar 30, 2012 2:44 pm, edited 6 times in total.
D2X-XL Debian/Ubuntu package repository:
http://standish.home3.org/d2x-xl
User avatar
karx11erx
D2X-XL Master
D2X-XL Master
Posts: 8112
Joined: Mon Sep 24, 2007 8:48 pm
Location: Wilferdingen, Germany
Contact:

Re: New Debian/Ubuntu d2x-xl binary installation packages.

Postby karx11erx » Fri Feb 03, 2012 7:38 am

Very nice. :thumb:
User avatar
lloyd
Posts: 91
Joined: Sun Jul 26, 2009 5:13 pm
Contact:

Re: New Debian/Ubuntu d2x-xl binary installation packages.

Postby lloyd » Fri Feb 03, 2012 2:33 pm

I'm glad to help the d2x-xl project in a small way. (By the way, my son is extremely impressed by the improvement in effects since v1.14.x.)

I'll add a comment to this thread whenever the package is updated. I'll also announce the demo version when it is ready (pending a fix to d2x-xl to allow use of the demo levels).

I just edited my previous post to tell how to add my repository's public key to the user's package management keyring.

Note that part of the reason for not updating this package for so long was that support for gtkdialog was dropped from Debian Squeeze. I had used gtkdialog for the wrapper script, to display the GUI message boxes about any errors that prevented startup. This version replaces gtkdialog with zenity.
D2X-XL Debian/Ubuntu package repository:
http://standish.home3.org/d2x-xl
User avatar
lloyd
Posts: 91
Joined: Sun Jul 26, 2009 5:13 pm
Contact:

Re: New Debian/Ubuntu d2x-xl binary installation packages.

Postby lloyd » Fri Feb 03, 2012 8:24 pm

There is a problem with the creation of symbolic links to work around some missing dependencies... I did that in the wrapper script, but that script executes with only the user's permissions, so it can't create the links. I'll have to do that at package installation time. Also, the d2x-xl menu entry is not getting created in Ubuntu. I'll fix this and post again when ready.
D2X-XL Debian/Ubuntu package repository:
http://standish.home3.org/d2x-xl
User avatar
lloyd
Posts: 91
Joined: Sun Jul 26, 2009 5:13 pm
Contact:

Re: New Debian/Ubuntu d2x-xl binary installation packages.

Postby lloyd » Sat Feb 04, 2012 2:05 am

OK, I have updated d2x-xl-base to fix the menu entry creation problem as well as the symbolic link creation problem. Now, on some systems you might get TWO identical menu entries. This appears to be necessary in order to guarantee a menu entry on the less-popular window managers.
D2X-XL Debian/Ubuntu package repository:
http://standish.home3.org/d2x-xl
User avatar
lloyd
Posts: 91
Joined: Sun Jul 26, 2009 5:13 pm
Contact:

UPATE to v1.15.322

Postby lloyd » Thu Mar 15, 2012 6:16 am

The Debian/Ubuntu binary installation packages have been updated to version 1.15.322, for both amd53 and i386 architectures. For information on how to install these packages, visit the link in my signature.
D2X-XL Debian/Ubuntu package repository:
http://standish.home3.org/d2x-xl
User avatar
lloyd
Posts: 91
Joined: Sun Jul 26, 2009 5:13 pm
Contact:

Re: New Debian/Ubuntu d2x-xl binary installation packages.

Postby lloyd » Sun Mar 18, 2012 3:54 pm

Update:
Fixed generation of extra menu entry.
Fixed package numbering policy to comply with convention.
(No update to executable.)
D2X-XL Debian/Ubuntu package repository:
http://standish.home3.org/d2x-xl
User avatar
lloyd
Posts: 91
Joined: Sun Jul 26, 2009 5:13 pm
Contact:

Re: New Debian/Ubuntu d2x-xl binary installation packages.

Postby lloyd » Mon Mar 26, 2012 10:45 pm

* Corrected typo in d2x-xl-sdl package version number, which prevented installation.
* Updated d2x-xl executable to v1.15.333
D2X-XL Debian/Ubuntu package repository:
http://standish.home3.org/d2x-xl
User avatar
lloyd
Posts: 91
Joined: Sun Jul 26, 2009 5:13 pm
Contact:

Re: New Debian/Ubuntu d2x-xl binary installation packages.

Postby lloyd » Tue Mar 27, 2012 10:17 pm

Removed check for openGL libraries from wrapper script (fixes problem on Linux Mint 12)
D2X-XL Debian/Ubuntu package repository:
http://standish.home3.org/d2x-xl
User avatar
lloyd
Posts: 91
Joined: Sun Jul 26, 2009 5:13 pm
Contact:

Re: New Debian/Ubuntu d2x-xl binary installation packages.

Postby lloyd » Fri Mar 30, 2012 2:49 pm

Update to d2x-xl version 1.15.336.
Merged SDL, midi, and demo levels packages into d2x-xl-base. Filesize is now 66.5 MB (who would play this game without music?)
Is there any interest here in RPM installation packages?
D2X-XL Debian/Ubuntu package repository:
http://standish.home3.org/d2x-xl
User avatar
lloyd
Posts: 91
Joined: Sun Jul 26, 2009 5:13 pm
Contact:

Re: New Debian/Ubuntu d2x-xl binary installation packages.

Postby lloyd » Fri Mar 30, 2012 10:06 pm

Important: If you have installed any of the following d2x-xl Debian/Ubuntu packages, they must be removed before updating any packages. (Their contents have been merged into d2x-xl-base):

d2x-xl-demo
d2x-xl-midi
d2x-xl-sdl
D2X-XL Debian/Ubuntu package repository:
http://standish.home3.org/d2x-xl
User avatar
lloyd
Posts: 91
Joined: Sun Jul 26, 2009 5:13 pm
Contact:

Re: New Debian/Ubuntu d2x-xl binary installation packages.

Postby lloyd » Sat Mar 31, 2012 4:51 pm

Update to d2x-xl-base v5:
d2x-xl-base should now automatically remove the unneeded packages d2x-xl-demo, d2x-xl-midi, and d2x-xl-sdl (these have been merged into d2x-xl-base). This should correct d2x-xl-base refusing to install because it contains files provided by the demo, midi, and sdl packages.
D2X-XL Debian/Ubuntu package repository:
http://standish.home3.org/d2x-xl
User avatar
lloyd
Posts: 91
Joined: Sun Jul 26, 2009 5:13 pm
Contact:

Re: New Debian/Ubuntu d2x-xl binary installation packages.

Postby lloyd » Sun Apr 01, 2012 2:09 am

I have a segmentation fault on an amd64 machine, so I am temporarily removing the d2x-xl installation packages pending a fix.
D2X-XL Debian/Ubuntu package repository:
http://standish.home3.org/d2x-xl

Return to “General Discussions”

Who is online

Users browsing this forum: No registered users and 1 guest