Package Details: advanced-strategic-command 2.6.1-1

Git Clone URL: https://aur.archlinux.org/advanced-strategic-command.git (read-only)
Package Base: advanced-strategic-command
Description: A free, turn-based strategy game, designed in the tradition of the Battle Isle series from Bluebyte
Upstream URL: http://asc-hq.org/
Licenses: GPL2
Submitter: zorun
Maintainer: None
Last Packager: zorun
Votes: 1
Popularity: 0.000000
First Submitted: 2016-03-22 20:11
Last Updated: 2016-12-01 22:25

Latest Comments

zorun commented on 2019-03-10 21:29

It looks like the build system does not include /usr/include/freetype2 in the CFLAGS :

checking ft2build.h presence
g++ -E -D_FORTIFY_SOURCE=2 -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ conftest.cpp
conftest.cpp:29:10: fatal error: ft2build.h: No such file or directory
 #include <ft2build.h>
          ^~~~~~~~~~~~
compilation terminated.

If it was using pkg-config everything would be fine:

$ pkg-config --cflags freetype2
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 

Options include patching ASC's build system to use pkg-config to find freetype2, or patching all includes to use <freetype2/ft2build.h>.

I have no more interest in this package and cannot spend more time on it, so feel free to adopt it!

friday commented on 2019-03-10 11:09

Thanks for adding this! However, it doesn't seem to find ft2build.h, even though it's provided by the freetype package it depends on (/usr/include/freetype2/ft2build.h). "checking for freetype-config... no checking for FT_Init_FreeType in -lfreetype... yes checking ft2build.h usability... no checking ft2build.h presence... no checking for ft2build.h... no configure: error: ASC requires the FreeType2 library. If you have a distribution supplied FreeType2 package installed, perhaps the FreeType2-devel package is missing. If your distribution does not include the FreeType2 library, you can get it from http://www.freetype.org/"