Package Details: dunelegacy 0.97.02-1

Git Clone URL: https://aur.archlinux.org/dunelegacy.git (read-only, click to copy)
Package Base: dunelegacy
Description: Updated clone of Westood Studios' Dune2
Upstream URL: http://dunelegacy.sourceforge.net
Licenses: GPL
Submitter: encelo
Maintainer: encelo
Last Packager: encelo
Votes: 29
Popularity: 0.000000
First Submitted: 2006-10-12 21:33 (UTC)
Last Updated: 2023-06-14 16:04 (UTC)

Latest Comments

1 2 Next › Last »

encelo commented on 2023-06-15 09:47 (UTC) (edited on 2023-06-15 09:48 (UTC) by encelo)

I have updated Dune Legacy to the latest available version.

The latest 0.97.0 source is not distributed as an archive, nor is it tagged on git. I am using the latest commit on the master branch. By looking at the config.h file we can see that this commit bumped the version string to 0.97.02.

The code does not need the SDL2_mixer patch anymore, but it needs another small patch to allow the TextManager class to compile. There were also some issues with autoconf and with make install and I had to switch to a manual installation process.

Apart from that, it should be working fine.

encelo commented on 2021-04-14 08:10 (UTC)

I have added a patch file to rename MIX_INIT_FLUIDSYNTH to MIX_INIT_MID and fix compilation with latest version of SDL2_mixer.

damonh commented on 2021-04-12 04:14 (UTC)

I get this error installing:

FileClasses/music/DirectoryPlayer.cpp: In constructor ‘DirectoryPlayer::DirectoryPlayer()’:
FileClasses/music/DirectoryPlayer.cpp:64:14: error: ‘MIX_INIT_FLUIDSYNTH’ was not declared in this scope
   64 |     Mix_Init(MIX_INIT_FLUIDSYNTH | MIX_INIT_FLAC | MIX_INIT_MP3 | MIX_INIT_OGG);
      |              ^~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:1423: FileClasses/music/DirectoryPlayer.o] Error 1
make[1]: *** Waiting for unfinished jobs....
FileClasses/music/XMIPlayer.cpp: In constructor ‘XMIPlayer::XMIPlayer()’:
FileClasses/music/XMIPlayer.cpp:35:18: error: ‘MIX_INIT_FLUIDSYNTH’ was not declared in this scope
   35 |     if((Mix_Init(MIX_INIT_FLUIDSYNTH) & MIX_INIT_FLUIDSYNTH) == 0) {
      |                  ^~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:1423: FileClasses/music/XMIPlayer.o] Error 1
MapEditor/MapEditorOperation.cpp: In member function ‘virtual std::shared_ptr<MapEditorOperation> MapEditorChangeChoam::perform(MapEditor*)’:
MapEditor/MapEditorOperation.cpp:265:46: warning: ‘?:’ using integer constants in boolean context [-Wint-in-bool-context]
  265 |     bool oldAmount = choam.count(itemID) > 0 ? choam[itemID] : -1;
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/mlopez/.cache/yay/dunelegacy/src/dunelegacy-0.96.4/src'
make: *** [Makefile:450: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error making: dunelegacy

jmazon commented on 2018-07-09 11:31 (UTC) (edited on 2018-07-09 11:32 (UTC) by jmazon)

I've had to patch the source a bit to make it compile with whatever sdl2_mixer my system had.

prepare() {
  cd $srcdir/$pkgname-$pkgver
  sed -e 's/MIX_INIT_FLUIDSYNTH/MIX_INIT_MID/g'  \
    -i src/FileClasses/music/DirectoryPlayer.cpp \
    -i src/FileClasses/music/XMIPlayer.cpp
}

Seems to date back to this: http://hg.libsdl.org/SDL_mixer/diff/92882ef2ab81/SDL_mixer.h

(17 Oct 2017, http://hg.libsdl.org/SDL_mixer/rev/92882ef2ab81)

koponomarenko commented on 2017-06-24 21:14 (UTC)

Here is where *.PAK files can be obtained http://nyerguds.arsaneus-design.com/dune/dune2versions/ dune2_eu_1.07.zip worked for me.

encelo commented on 2017-01-02 22:37 (UTC)

Updated to 0.96.4

encelo commented on 2013-04-12 22:44 (UTC)

- Using $srcdir and $pkgdir variables - Installing icon and .desktop file - Updated dependencies array - Added a .install file Thanks cars10t for the useful notes.

shaman commented on 2013-04-12 10:50 (UTC)

Fixed PKGBUILD: http://pastebin.com/axdUakuT

carstene1ns commented on 2013-04-11 15:34 (UTC)

Package is not compatible with new makepkg, due to a folder change. Please use $pkgdir instead of $startdir to fix it. Also gcc-libs is in base group and so not needed in depends. And I think it is a good idea to include the .desktop file in package. See also my dunelegacy-git package for reference.