Package Details: openxcom 1.0-6

Git Clone URL: https://aur.archlinux.org/openxcom.git (read-only)
Package Base: openxcom
Description: An open-source reimplementation of the famous X-COM game
Upstream URL: http://openxcom.org/
Licenses: GPL3
Submitter: None
Maintainer: WorMzy
Last Packager: WorMzy
Votes: 32
Popularity: 1.127694
First Submitted: 2012-01-30 07:27
Last Updated: 2016-05-09 14:07

Dependencies (11)

Required by (1)

Sources (4)

Latest Comments

WorMzy commented on 2016-05-09 13:54

I've pushed an update that fixes the errors, but I can't guarantee that my fixes won't cause problems in-game. If you could give it a go and let me know if you run into crashes or anything strange, that'd be great.

hollunder commented on 2016-05-09 12:22

Fails to build with this error:

src/Geoscape/Globe.cpp:1398:29: error: call of overloaded ‘abs(double)’ is ambiguous
seg = abs( sx/(2*M_PI)*96 );

WorMzy commented on 2014-09-05 21:18

You should already have that installed, as it's a member of base-devel:

https://wiki.archlinux.org/index.php/AUR#Prerequisites

slick commented on 2014-09-05 21:16

Hi,

Today I tried to build the package and got the following error:
./configure: line 4319: syntax error near unexpected token `0.24'
./configure: line 4319: `PKG_PROG_PKG_CONFIG(0.24)'

I googled it [1], and it seems that `pkg-config' package is required for the build. So, you should probably add it to makedepends.

[1] http://stackoverflow.com/questions/16147491/configure-make-install-failed

Boskote commented on 2014-06-21 00:52

For those who are unable to upgrade openxcom because of the error "yaml-cpp and yaml-cpp0.3 are in conflict" you can uninstall yaml-cpp0.3 using:
pacman -Rdd yaml-cpp0.3
And then the upgrade should run without a problem. The -Rdd allows for removing a package even though it is a dependency of another package (which is this case is the old version of openxcom).

As Dalrik stated below, it is also possible to manually uninstall and then reinstall openxcom. I didn't want to do this because I made a bunch of changes to the openxcom files that I didn't want risk messing up. So I found the -Rdd way, and thought I would share because it seems like a cleaner solution.

WorMzy commented on 2014-06-14 18:06

That was a superfast update! :D

A couple of points:

* You can drop the timidity++ dependency as it's no longer needed by default. (though I believe people can still use it if they want to)

* The manpage generation is a lot better nowadays too, so you may want to consider re-enabling it (just remove the --without-man and add xmlto, docbook-xml, and docbook-xsl to the makedepends).

Good luck with your alien hunting!

Dalrik commented on 2014-06-14 05:20

Due to Openxcom switching to a new version of yaml-cpp, you will need to manually uninstall openxcom before upgrading to v1.0.

gojun077 commented on 2014-05-06 23:17

Please add timidity++ to the dependencies

Dalrik commented on 2014-02-20 07:01

Thanks for the feedback SNCPlay42. I've updated the package to include the .desktop and its associated files.

SNCPlay42 commented on 2014-02-16 19:34

Two small nitpicks:

- The install script says to copy the XCOM files to /usr/share/openxcom, but the correct destination is /usr/share/openxcom/data.
- The package still doesn't include a .desktop file - there is one with the necessary icons in the source repository's res/linux.

Dalrik commented on 2014-01-13 22:03

This is an AUR package, which means it is supported by the community, not pacman or the Arch developers. To install AUR packages, you either need to build manually (look up 'AUR' on the wiki), or use an AUR helper such as yaourt to build/install it automatically.

Dalrik commented on 2014-01-13 22:03

This is an AUR package, which means it is not supported by the community, not pacman or the Arch developers. To install AUR packages, you either need to build manually (look up 'AUR' on the wiki), or use an AUR helper such as yaourt to build/install it automatically.

athanas commented on 2014-01-13 20:52

Sorry, I am new with Arch... How to install it? I can not see it with pacman (pacman -Ss openxcom). Thanks!

Dalrik commented on 2013-08-19 22:51

The current release (v0.9) is still dependent on yaml-cpp 0.3. openxcom-git, on the other hand, does need to change the dependency to 0.5

Dalrik commented on 2013-08-19 22:39

The current release (v0.9) is still dependent on yaml-cpp 0.3. openxcom-git, on the other hand, does need to change the dependency to 0.5

Samsagax commented on 2013-08-19 22:35

They updated the game to use yaml-cpp 0.5

http://openxcom.org/index.php/2013/08/upgrade-to-yaml-cpp-0-5/

giniu commented on 2013-05-19 11:25

Just a note: someone deleted yaml-cpp0.3 package. I've reuloaded it, because there are still packages that require it and do not work with yaml-cpp 0.5.x, including this one. If someone had troubles installing it for some time, now all dependencies are again available.

breed808 commented on 2013-05-16 01:37

I've added the changes from Wesley's PKGBUILD, barring the .desktop file. I'll add those shortly when I have time.

Wesley commented on 2013-05-15 18:51

it works if i use this PKGBUILD: http://pastebin.com/QsmQsjDt
and put all files to /usr/share/openxcom/data/

the data files that came with the binary need to be in the same directory like the xcom files

Wesley commented on 2013-05-15 04:24

i have a rather big problem with this package.
installing openxcom and copying the files like mentioned in the install file results in the same files not beeing found by openxcom.
i had to create a new folder in my $HOME, copying all contents of /usr/share/openxcom to it and making a data folder where i copied the whole xcom folder into it.
furthermore, i had to download the Shader and Ruleset folders from the openxcom git (didnt found them anywhere else) and put them into the data folder together with the original xcom files. even the folders "Language" and "SoldierName" hat to be copied to data/, otherwise the game refused to launch

breed808 commented on 2013-05-09 03:12

My apologies. I had not thought to build AUR packages in a chroot before, and will be doing so from now on. Thanks for the tip.

miffe commented on 2013-05-08 15:52

g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -Wextra -O2 -rdynamic -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -c -o ../obj/AllocatePsiTrainingState.o Geoscape/AllocatePsiTrainingState.cpp
In file included from pch.h:37:0,
from pch.cpp:1:
/usr/include/SDL/SDL_opengl.h:46:60: fatal error: GL/gl.h: No such file or directory
#include <GL/gl.h> /* Header File For The OpenGL Library */
^
compilation terminated.

Please add mesa and glu to makedepends. And do build your packages in chroot to catch such simple errors.

xF0E commented on 2013-02-14 14:10

Thanks, but now the game keeps failing to start with error: Failed to load index, after i copied the steam directory to /usr/share/xcom/data.

breed808 commented on 2013-02-14 03:32

Changed dependecy 'yaml-cpp' to 'yaml-cpp0.3'. Compilation should run successfully now.

breed808 commented on 2013-02-13 09:52

Strange, I'm getting the same error but with Savegame/Region.cpp
I'll check with upstream to see what's going on.

xF0E commented on 2013-02-12 23:20

Hello guys!

I get this error at compiling:

Savegame/CraftWeapon.cpp:48:18: error: no match for ‘operator>>’ in ‘YAML::Node::operator[](const Key&) const [with Key = char [5]]((*"ammo")) >> ((OpenXcom::CraftWeapon*)this)->OpenXcom::CraftWeapon::_ammo’
Savegame/CraftWeapon.cpp:49:22: error: no match for ‘operator>>’ in ‘YAML::Node::operator[](const Key&) const [with Key = char [9]]((*"rearming")) >> ((OpenXcom::CraftWeapon*)this)->OpenXcom::CraftWeapon::_rearming’
make: *** [../obj/CraftWeapon.o] Error 1


How i can bypass it?

Anonymous comment on 2012-04-15 17:50

Hi, eix6leiz.

'pkg-config' is included in the 'base-devel' group, therefore this package isn't required to be listed in the dependencies.
See this wiki page: https://wiki.archlinux.org/index.php/Makepkg#Usage

Anonymous comment on 2012-04-14 13:34

Version 0.3 requires pkg-config to build.

pkg-config should be added to makedepends:
makedepends=('pkg-config')

Anonymous comment on 2012-01-30 07:33

OpenXcom requires the original X-COM resources.
You can find the installation manual on this page:
http://ufopaedia.org/index.php?title=Installing_%28OpenXcom%29