You are not logged in.

#1 2010-06-07 18:49:48

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

(Civilization:) Call To Power II Apolyton Edition

Activision (Civilization:) Call To Power II was open(or shared)-sourced in 2003. Up to today there is large community maintaining this version in SVN repository. Unfortunately there arent any PKGBUILDS for neither official builds nor svn version of this game.
I think that this very good remake of Queen Of All Games, should have PKGBUILD for Archlinux, unfortnatelly im unable to do it (im completly newbie in SVN). Could somebody help ?

Offline

#2 2010-06-08 07:46:16

dcc24
Member
Registered: 2009-10-31
Posts: 732

Re: (Civilization:) Call To Power II Apolyton Edition

I'm interested in packaging this, but their website seems to be down: http://apolyton.net/ctp2


It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)

My AUR packages

Offline

#3 2010-06-08 10:10:24

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

Re: (Civilization:) Call To Power II Apolyton Edition

I cannot enter their site too:( Somebody has link to SVN ?

[edit]
OK, i found thread about compiling on linux : http://apolyton.net/forums/showthread.php?t=100677
SVN Server (but dont know if it is Apolyton Edition or raw CTP2): http://ctp2.darkdust.net/

Last edited by Dinth (2010-06-08 10:17:04)

Offline

#4 2010-06-19 11:25:01

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

Re: (Civilization:) Call To Power II Apolyton Edition

Website is working

Offline

#5 2010-07-06 16:05:06

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

Re: (Civilization:) Call To Power II Apolyton Edition

ive tried to make pkgbuild myself, but cannot compile...

make[3]: Wejście do katalogu [entering directory - eng] `/home/dinth/Dropbox/Coding/ctp2-apolyton-svn/src/svnwc.ctp2/ctp2_code/gs/slic'
/bin/sh ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../ctp2_code/os/include  -I../../../ctp2_code/os/nowin32   -I../../../ctp2_code -I../../.. -I../../../ctp2_code/os/include -I../../../ctp2_code/ctp -I../../../ctp2_code/ctp/ctp2_utils -I../../../ctp2_code/ctp/ctp2_rsrc  -I../../../ctp2_code/ctp/debugtools    -I../../../ctp2_code/ui/interface -I../../../ctp2_code/ui/netshell -I../../../ctp2_code/robot/utility -I../../../ctp2_code/robot/pathing -I../../../ctp2_code/robot/aibackdoor  -I../../../ctp2_code/gfx/spritesys -I../../../ctp2_code/gfx/tilesys -I../../../ctp2_code/gfx/gfx_utils -I../../../ctp2_code/gs/database -I../../../ctp2_code/gs/fileio -I../../../ctp2_code/gs/gameobj -I../../../ctp2_code/gs/utility -I../../../ctp2_code/gs/world -I../../../ctp2_code/net/io -I../../../ctp2_code/net/general -I../../../ctp2_code/ui/aui_utils -I../../../ctp2_code/ui/aui_sdl -I../../../ctp2_code/ui/aui_directx -I../../../ctp2_code/ui/aui_ctp2 -I../../../ctp2_code/ui/aui_common  -I../../../ctp2_code/libs/anet/h -I../../../ctp2_code/mm -I../../../ctp2_code/robotcom/backdoor -I../../../ctp2_code/gs/slic -I../../../ctp2_code/gs/slic -I../../../ctp2_code/gfx/layers -I../../../ctp2_code/mapgen -I../../../ctp2_code/ui/freetype -I../../../ctp2_code/sound -I../../../ctp2_code/GameWatch/gamewatch -I../../../ctp2_code/GameWatch/gwciv  -I../../../ctp2_code/ctp/fingerprint  -I../../../ctp2_code/ui/slic_debug -I../../../ctp2_code/gs/outcom -I../../../ctp2_code/ctp -I../../../ctp2_code/ui/aui_common -I../../../ctp2_code/ui/ldl -I../../../ctp2_code/ui/ldl    -I../../../ctp2_code/gs/events -I../../../ctp2_code/gs/newdb -I../../../ctp2_code/gs/newdb -I../../../ctp2_code/ai/diplomacy -I../../../ctp2_code/ai/mapanalysis -I../../../ctp2_code/ai/strategy/scheduler -I../../../ctp2_code/ai/strategy/agents -I../../../ctp2_code/ai/strategy/goals -I../../../ctp2_code/ai/strategy/squads -I../../../ctp2_code/ai -I../../../ctp2_code/ai/CityManagement  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wno-unused-variable -fms-extensions -fmessage-length=0 -frtti -fexceptions -march=native  -pipe -MT QuickSlic.lo -MD -MP -MF .deps/QuickSlic.Tpo -c -o QuickSlic.lo QuickSlic.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../ctp2_code/os/include -I../../../ctp2_code/os/nowin32 -I../../../ctp2_code -I../../.. -I../../../ctp2_code/os/include -I../../../ctp2_code/ctp -I../../../ctp2_code/ctp/ctp2_utils -I../../../ctp2_code/ctp/ctp2_rsrc -I../../../ctp2_code/ctp/debugtools -I../../../ctp2_code/ui/interface -I../../../ctp2_code/ui/netshell -I../../../ctp2_code/robot/utility -I../../../ctp2_code/robot/pathing -I../../../ctp2_code/robot/aibackdoor -I../../../ctp2_code/gfx/spritesys -I../../../ctp2_code/gfx/tilesys -I../../../ctp2_code/gfx/gfx_utils -I../../../ctp2_code/gs/database -I../../../ctp2_code/gs/fileio -I../../../ctp2_code/gs/gameobj -I../../../ctp2_code/gs/utility -I../../../ctp2_code/gs/world -I../../../ctp2_code/net/io -I../../../ctp2_code/net/general -I../../../ctp2_code/ui/aui_utils -I../../../ctp2_code/ui/aui_sdl -I../../../ctp2_code/ui/aui_directx -I../../../ctp2_code/ui/aui_ctp2 -I../../../ctp2_code/ui/aui_common -I../../../ctp2_code/libs/anet/h -I../../../ctp2_code/mm -I../../../ctp2_code/robotcom/backdoor -I../../../ctp2_code/gs/slic -I../../../ctp2_code/gs/slic -I../../../ctp2_code/gfx/layers -I../../../ctp2_code/mapgen -I../../../ctp2_code/ui/freetype -I../../../ctp2_code/sound -I../../../ctp2_code/GameWatch/gamewatch -I../../../ctp2_code/GameWatch/gwciv -I../../../ctp2_code/ctp/fingerprint -I../../../ctp2_code/ui/slic_debug -I../../../ctp2_code/gs/outcom -I../../../ctp2_code/ctp -I../../../ctp2_code/ui/aui_common -I../../../ctp2_code/ui/ldl -I../../../ctp2_code/ui/ldl -I../../../ctp2_code/gs/events -I../../../ctp2_code/gs/newdb -I../../../ctp2_code/gs/newdb -I../../../ctp2_code/ai/diplomacy -I../../../ctp2_code/ai/mapanalysis -I../../../ctp2_code/ai/strategy/scheduler -I../../../ctp2_code/ai/strategy/agents -I../../../ctp2_code/ai/strategy/goals -I../../../ctp2_code/ai/strategy/squads -I../../../ctp2_code/ai -I../../../ctp2_code/ai/CityManagement -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wno-unused-variable -fms-extensions -fmessage-length=0 -frtti -fexceptions -march=native -pipe -MT QuickSlic.lo -MD -MP -MF .deps/QuickSlic.Tpo -c QuickSlic.cpp  -fPIC -DPIC -o .libs/QuickSlic.o
In file included from ../../../ctp2_code/gs/utility/UnitDynArr.h:7:0,
                 from ../../../ctp2_code/gs/gameobj/citydata.h:72,
                 from ../../../ctp2_code/gs/gameobj/UnitData.h:45,
                 from ../../../ctp2_code/gs/gameobj/player.h:126,
                 from ../../../ctp2_code/gs/gameobj/Advances.h:61,
                 from SlicEngine.h:104,
                 from QuickSlic.cpp:5:
../../../ctp2_code/robot/aibackdoor/dynarr.h:156:29: error: 'm_index' does not name a type
../../../ctp2_code/robot/aibackdoor/dynarr.h:471:61: error: 'index' does not name a type
../../../ctp2_code/robot/aibackdoor/dynarr.h: In member function 'void DynamicArray<t>::DelUpToIndex(int)':
../../../ctp2_code/robot/aibackdoor/dynarr.h:479:37: error: invalid operands of types 'sint32' and '<unresolved overloaded function type>' to binary 'operator-'
../../../ctp2_code/robot/aibackdoor/dynarr.h:486:34: error: invalid operands of types '<unresolved overloaded function type>' and 'sint32' to binary 'operator+'
In file included from SlicSegment.h:37:0,
                 from QuickSlic.cpp:6:
SlicFunc.h: In constructor 'Slic_PrintInt::Slic_PrintInt()':
SlicFunc.h:199:1: warning: deprecated conversion from string constant to 'char*'
SlicFunc.h: In constructor 'Slic_PrintText::Slic_PrintText()':
SlicFunc.h:200:1: warning: deprecated conversion from string constant to 'char*'
SlicFunc.h: In constructor 'Slic_Return1::Slic_Return1()':
SlicFunc.h:201:1: warning: deprecated conversion from string constant to 'char*'
SlicFunc.h: In constructor 'Slic_Return0::Slic_Return0()':
SlicFunc.h:202:1: warning: deprecated conversion from string constant to 'char*'
SlicFunc.h: In constructor 'Slic_Text::Slic_Text()':

Offline

#6 2010-07-06 16:10:56

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: (Civilization:) Call To Power II Apolyton Edition

Can you post your PKGBUILD? I am interested in this.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#7 2010-07-06 22:45:24

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

Re: (Civilization:) Call To Power II Apolyton Edition

# Maintainer: Michal Gawronski <dinth1906@gmail.com>

pkgname=ctp2-apolyton-svn
pkgver=1087
pkgrel=1
pkgdesc="Activisions Civilization: Call To Power II source port - Apolyton Edition - SVN version"
arch=('i686' 'x86_64')
url="http://apolyton.net/ctp2/"
license=('shared-source')
depends=('byacc-noconflict')
makedepends=()
provides=()
conflicts=()
source=()
md5sums=()

_svntrunk="http://ctp2.darkdust.net/anonsvn/branches/linux"
_svnmod="svnwc.ctp2"


build() {
  cd $srcdir

  if [[ -d ${_svnmod}/.svn ]]; then
     (cd ${_svnmod} && svn up -r $pkgver)
  else
     svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
  fi

  msg "SVN checkout done or server timeout"
  msg "Compiling..."

  cd ${_svnmod}

  ./autogen.sh
  ./configure --prefix=/usr
  make
}

Offline

Board footer

Powered by FluxBB