1. 06 Sep, 2017 3 commits
  2. 02 Sep, 2017 2 commits
  3. 19 Aug, 2017 3 commits
  4. 18 Aug, 2017 2 commits
  5. 20 May, 2017 3 commits
    • Remove some unneeded libs & headers · 6f9609ce
      Based on some hints by the automatic dependency checking in Debian
      packaging[0], it appears that, at least on Debian GNU/Linux, quite a few
      of the libs that lugaru links against are not needed.
      
      Remove linking to those libs, and use of related unneeded headers.
      
      * For ogg/vorbis, it seems like libogg is not needed unless handling
        container metadata?
      
      * For opengl, there seems to be only a subset of the libs that are
        required. Notably the glext.h header seems to only be needed on
        windows for GL_GENERATE_MIPMAP, but not otherwise.
      
      * For zlib it seems to be unused, but removing zlib.h exposed a
        dependency on unistd.h which is now included directly on non-windows.
      
      [0]
      dpkg-shlibdeps: warning: package could avoid a useless dependency if
      debian/lugaru/usr/games/lugaru was not linked against libz.so.1 (it uses
      none of the library's symbols)
      dpkg-shlibdeps: warning: package could avoid a useless dependency if
      debian/lugaru/usr/games/lugaru was not linked against libSM.so.6 (it
      uses none of the library's symbols)
      dpkg-shlibdeps: warning: package could avoid a useless dependency if
      debian/lugaru/usr/games/lugaru was not linked against libX11.so.6 (it
      uses none of the library's symbols)
      dpkg-shlibdeps: warning: package could avoid a useless dependency if
      debian/lugaru/usr/games/lugaru was not linked against libogg.so.0 (it
      uses none of the library's symbols)
      dpkg-shlibdeps: warning: package could avoid a useless dependency if
      debian/lugaru/usr/games/lugaru was not linked against libXext.so.6 (it
      uses none of the library's symbols)
      dpkg-shlibdeps: warning: package could avoid a useless dependency if
      debian/lugaru/usr/games/lugaru was not linked against libICE.so.6 (it
      uses none of the library's symbols)
      Martin Erik Werner committed
    • Add FindOggVorbis.cmake module license · 068650d4
      The copyright notice in FindOggVorbis.cmake refers to the BSD license in
      a file which is currently not included in Lugaru.
      
      Since the BSD license requires reproduction of the license notice, add
      the referenced file with the included license notice.
      
      The COPYING-CMAKE-SCRIPTS file is copied from
      svn://anonsvn.kde.org/home/kde/trunk/KDE/kdemultimedia@582599
      
      The origin of the FindOggVorbis.cmake file can be traced to
      svn://anonsvn.kde.org/home/kde/trunk/KDE/kdemultimedia@529535 and the
      copyright notice and license was added in
      svn://anonsvn.kde.org/home/kde/trunk/KDE/kdemultimedia@582599
      Martin Erik Werner committed
  6. 21 Apr, 2017 1 commit
  7. 13 Apr, 2017 1 commit
    • CI: Rework .gitlab-ci.yml to support a CentOS 7 build · 438c1f04
      Quite a bit of the .gitlab-ci.yml file needed to be reworked so
      that the commonalities between Fedora and CentOS could be leveraged
      while allowing us to swap out the differences dynamically.
      
      Thus, we can now test commits against the GCC version we use for
      release builds while continuing to use latest GCC for development
      builds.
      
      As a nice side effect, there are now much fewer invocations of DNF
      to install all the needed things, so CI builds should be faster!
      Neal Gompa (ニール・ゴンパ) committed
  8. 23 Mar, 2017 1 commit
  9. 20 Mar, 2017 1 commit
  10. 09 Mar, 2017 1 commit
  11. 08 Mar, 2017 1 commit
    • Fix mismatched usage length, build fail on g++ · dd685fe9
      The length of const option::Descriptor usage[] is intended to be
      inferred based on the initialisation in Source/main.cpp, however, the
      extern declaration in Source/Game.hpp hard-codes it to 13.
      
      Remove the hard-coded 13 in the extern declaration, in favour of the
      inferred length.
      
      This also fixes the follwoing build failure with g++ (Debian 4.9.2-10)
      4.9.2:
      (...)/Source/main.cpp:602:5: error: uninitialized const member ‘option::Descriptor::index’
           };
           ^
      (...)/Source/main.cpp:602:5: warning: missing initializer for member ‘option::Descriptor::index’ [-Wmissing-field-initializers]
      (...)/Source/main.cpp:602:5: error: uninitialized const member ‘option::Descriptor::type’
      (...)/Source/main.cpp:602:5: warning: missing initializer for member ‘option::Descriptor::type’ [-Wmissing-field-initializers]
      (...)/Source/main.cpp:602:5: error: uninitialized const member ‘option::Descriptor::shortopt’
      (...)/Source/main.cpp:602:5: warning: missing initializer for member ‘option::Descriptor::shortopt’ [-Wmissing-field-initializers]
      (...)/Source/main.cpp:602:5: error: uninitialized const member ‘option::Descriptor::longopt’
      (...)/Source/main.cpp:602:5: warning: missing initializer for member ‘option::Descriptor::longopt’ [-Wmissing-field-initializers]
      (...)/Source/main.cpp:602:5: error: uninitialized const member ‘option::Descriptor::check_arg’
      (...)/Source/main.cpp:602:5: warning: missing initializer for member ‘option::Descriptor::check_arg’ [-Wmissing-field-initializers]
      (...)/Source/main.cpp:602:5: warning: missing initializer for member ‘option::Descriptor::help’ [-Wmissing-field-initializers]
      CMakeFiles/lugaru.dir/build.make:54: recipe for target 'CMakeFiles/lugaru.dir/Source/main.cpp.o' failed
      
      Signed-off-by: Martin Erik Werner <martinerikwerner@gmail.com>
      Martin Erik Werner committed
  12. 03 Mar, 2017 1 commit
  13. 25 Feb, 2017 2 commits
  14. 12 Feb, 2017 2 commits
  15. 11 Feb, 2017 14 commits
  16. 05 Feb, 2017 2 commits