Package Details: openra-git 20210821.gd509d3f5f9-1

Git Clone URL: https://aur.archlinux.org/openra-git.git (read-only, click to copy)
Package Base: openra-git
Description: An open-source implementation of the Red Alert engine using .NET/Mono and OpenGL. -GIT VERSION
Upstream URL: http://www.openra.net
Licenses: GPL3
Conflicts: openra
Provides: openra
Submitter: EndlessEden
Maintainer: EndlessEden
Last Packager: EndlessEden
Votes: 5
Popularity: 0.000000
First Submitted: 2015-12-24 06:08 (UTC)
Last Updated: 2021-08-21 03:50 (UTC)

Pinned Comments

EndlessEden commented on 2021-08-21 04:03 (UTC)

Major Update: PKGBUILD mostly rewritten, earlier references to D2/R2 mods removed. Dependencies updated/fixed alongside optional dependancies including all known Openra mods.

NOTE: PKGBUILD now packages a copy of the source code at the time of building into /usr/lib/openra/src/; This is for building mods against and it is /not/ a mistake. Mods are built against a client version and /only/ work with that version. So without it, you would need to rebuild openra-git and all mods built against it every time you want to install a new mod. - However, this means a increase in install/package size by about 40%.

EndlessEden commented on 2017-08-16 00:13 (UTC) (edited on 2020-07-30 06:05 (UTC) by EndlessEden)

Updated: Fixed the removal of "make dependencies" upstream;

will be removing old entries for RA2/D2 soon, as building against upstream is not possible as RA2/D2 are lagging behind too much in updating their engine compatibility.

Latest Comments

MarsSeed commented on 2022-05-15 12:26 (UTC)

Also please adjust pkgver() to guarantee monotonic increase.

d6EJVpOE commented on 2022-05-15 11:44 (UTC)

apparently, make build and make install need RUNTIME=mono now when using mono:

diff --git a/PKGBUILD b/PKGBUILD
index 4ceeedb..4aa32a8 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,17 +3,17 @@
 # Contributor: Matthew Bowra-Dean <matthew@ijw.co.nz>
 #
 pkgname=openra-git
-pkgver=20210821.gd509d3f5f9
+pkgver=20220515.g581b5cfacf
 pkgrel=1
 pkgdesc="An open-source implementation of the Red Alert engine using .NET/Mono and OpenGL. -GIT VERSION"
 arch=('x86_64' 'i386' 'i686' 'pentium4' 'core2' 'armv6h' 'armv7h' 'armv8h' 'armv9h' 'arm64')
 url="http://www.openra.net"
 license=('GPL3')
 install=openra.install
-depends=('mono' 'msbuild' 'ttf-dejavu' 'openal' 'libgl' 'freetype2' 'sdl2' 'lua51' 'hicolor-icon-theme' 'gtk-update-icon-cache'
+depends=('mono' 'ttf-dejavu' 'openal' 'libgl' 'freetype2' 'sdl2' 'lua51' 'hicolor-icon-theme' 'gtk-update-icon-cache'
          'desktop-file-utils' 'xdg-utils' 'zenity')
 optionaldepends=('openra-ra2-git: An OpenRA mod inspired by Command and Conquer: Red Alert 2' 'openra-d2-git: A Dune II-inspired mod of OpenRA' 'openra-yr-git:A Command and Conquer: Yuri's Revenge-inspired mod of OpenRA' 'openra-ca-git: A mod of OpenRA that combines units from the official Red Alert and Tiberian Dawn mods' 'openra-dr-git: A Dark Reign-inspired mod of OpenRA' 'openra-gen-git: A mod of OpenRA based on Command and Conquer: Generals' 'openra-kknd-git: A Krush, Kill n' Destroy-inspired mod of OpenRA' 'openra-mw-git: An mod of OpenRA depicting medieval warfare' 'openra-raclassic-git: A mod of OpenRA that more faithfully recreates the Command and Conquer: Red Alert game' 'openra-radot5-git: OpenRA mod that tell the storyline between 1936 to Red Alert 1' 'openra-raplus-git: A Command and Conquer: Red Alert-inspired mod of OpenRA' 'openra-rv-git: A Command and Conquer: Red Alert 2-inspired mod of OpenRA' 'openra-sp-git: A Tiberian Sun-inspired mod of OpenRA' 'openra-ss-git: A Sole Survivor-inspired mod of OpenRA, warning you will need the original game assets to play this game' 'openra-ura-git: A Command and Conquer: Red Alert-inspired mod of OpenRA' 'dotnet-sdk: Proprietary Microsoft dot.net(mono) SDK. Used in place of mono-msbuild' 'dotnet-runtime: Proprietary Microsoft dot.net(mono) Runtime. Replaces Mono Runtime')
-makedepends=('git' 'unzip' 'mono-msbuild')
+makedepends=('git' 'unzip' 'mono-msbuild' 'msbuild' )
 provides=('openra')
 conflicts=('openra')
 options=(!strip)
@@ -33,14 +33,14 @@ pkgver() {

 build() {
   cd "$srcdir"/"$pkgname"
-    make all DEBUG=false TARGETPLATFORM=unix-generic  
+    make all RUNTIME=mono DEBUG=false TARGETPLATFORM=unix-generic
 }

 package() {
   cd "$srcdir"/"$pkgname"
   mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/share "$pkgdir"/usr/lib/openra # Those pesky directories... That install cant create? why...

-  make prefix=/usr DESTDIR="$pkgdir" install DEBUG=false
+  make prefix=/usr DESTDIR="$pkgdir" install DEBUG=false RUNTIME=mono
   make prefix=/usr DESTDIR="$pkgdir" install-linux-shortcuts DEBUG=false
   make prefix=/usr DESTDIR="$pkgdir" install-linux-appdata DEBUG=false

DocMAX commented on 2022-04-23 19:45 (UTC)

Cannot open assembly 'OpenRA.dll': No such file or directory.

When is this going to be fixed finally?

EndlessEden commented on 2021-11-21 20:26 (UTC)

A few people have been pointing out there is some problems with this package.

I'll add it to my queue, but I'm a little backed up with irl/work. So it may be a 1-3 weeks till I get to this.

cgarz commented on 2021-11-09 06:47 (UTC)

Wont run since OpenRA.dll is missing. It's nowhere in the whole package tree for some reason.

Also build deps need updated, had to install dotnet sdk in order to build.

EndlessEden commented on 2021-08-21 04:03 (UTC)

Major Update: PKGBUILD mostly rewritten, earlier references to D2/R2 mods removed. Dependencies updated/fixed alongside optional dependancies including all known Openra mods.

NOTE: PKGBUILD now packages a copy of the source code at the time of building into /usr/lib/openra/src/; This is for building mods against and it is /not/ a mistake. Mods are built against a client version and /only/ work with that version. So without it, you would need to rebuild openra-git and all mods built against it every time you want to install a new mod. - However, this means a increase in install/package size by about 40%.

orlfman commented on 2021-04-02 04:25 (UTC)

can't build at all. fails needing dotnet... install dotnet. fails because it needs dotnet sdk. install that from the arch repos too. then fails and i don't know why its failing now.

this is the log from the last fail: https://pastebin.com/keFaALnm

EndlessEden commented on 2020-09-21 09:09 (UTC)

Updated: Fixed Description, updated pkgver, added optional depends.

@fusion809: Upon much consideration, i added your packages openra-ra2-git and openra-d2-git to optional depends. I will cleanup trailing ra2/d2 references from PKGBUILD in the future. Thank you for your contributions.

EndlessEden commented on 2019-07-14 01:22 (UTC) (edited on 2019-07-14 01:58 (UTC) by EndlessEden)

@fusion809: Sorry, ive been exceptionally busy IRL. Havent had time to work on anything. Currently my only working workstation Arch installation is on a experimental WSL. I will attempt to update this, but i cant get Roslyn to compile yet, to test what changes need to be made (Why couldn't they just test the environment and choose mono-roslyn or just mono if roslyn is not present...) - !Ive managed to get msbuild from a debian repo to work, not ideal but given the state of things, it was better than not fixing this...!

I was considering adding TBSun, but i havent had the time to contribute to this yet and test that R2 is still working. Again, i only included them as they will be included in the future anyways. - !NOTE: Ive had to temporarily disable R2, as im currently having difficulty getting it to build alongside upstream code. Due to a incompatibility with the version of .net it chooses (4.5 vs 4.6), i will review further, but any help would drastically speed up the process.

@Arthur2e5: I removed D2, as its already has a package here thats working (openra-d2-git). i didnt want to tread on others feet, more so when im barely maintaining this. Again, i will accept co-maintainers. i just cant dedicate much time to my packages at this time.

I will look into the patch suggestion you made, after i get a working build environment. (Note: there suggestion of using the modsdk, locks the version at the current "Stable" branch. which defeats the purpose of including it in this package. Libraries built against stable do not work with BLEED branch binaries. Ive experimented with this in the past, and its why i included D2/RA2 in the first place.) - !NOTE: as with above, i cant get it to build with current changes to the build system. I really dont have time to debug it, but its related to calling a different version of .net(4.6) than the version used to build the engine (4.5). i dont know how to specify this or restrict it. Any help would be greatly appreciated, as it will take me weeks to dig up how.

fusion809 commented on 2019-05-12 19:58 (UTC)

You may wish to update this PKGBUILD, as their build system has been updated, they now use the Roslyn compiler.

Arthur2e5 commented on 2019-04-23 06:48 (UTC)

@fusion809: ts is always built (i think), you just need to pass Game.Mod=ts to the main program. There is a ./launch-game.sh script in the game that gives you a zenity UI for that.


@EndlessEden: They changed the structure for D2 a bit. Every config and resource to be put in mods/d2 is now in the mods/d2 folder under the D2 tree, so a simple cp -rf will do. It's similar to how they arrange the ra2 tree now. (Oh lcronos mentioned it already)

Also, you may want to pop in 3 lines of patches for d2 and ra2 into the zenity launcher script. I opened https://github.com/OpenRA/OpenRA/issues/16439 to maybe make the shortcuts/mimefiles/etc more friendly for mod addition, but don't count on me to finish the TODO.

fusion809 commented on 2019-03-26 16:54 (UTC)

OK, if you want a mod that's experimental and will become a mainstream mod distributed with the others when ready what about Tiberian Sun? It is provided by the OpenRA repo too so it'll be especially easy to provide in this package.

EndlessEden commented on 2019-03-23 23:29 (UTC)

@fusion809: I wouldnt recommend splitting the packages (1: Build Req's, 2: it will be merged into openra when finished anyways)

I do have a updated and working pkgbuild, but no free-time to push it upstream. ill attempt later today.

fusion809 commented on 2019-03-23 11:11 (UTC) (edited on 2019-03-23 11:29 (UTC) by fusion809)

Might I propose that d2 and ra2 be separated into separate packages? I'd be willing to maintain this package and I've created openra-d2-git and openra-ra2-git packages https://aur.archlinux.org/packages/openra-d2-git, https://aur.archlinux.org/packages/openra-ra2-git. After all, splitting it up gives users more freedom, to decide what they install and what they don't.

lcronos commented on 2018-11-18 17:38 (UTC) (edited on 2018-11-18 17:49 (UTC) by lcronos)

@Enverex That can be fixed by changing the PKGBUILD. At the very bottom, where it copies the D2 mod files over, comment all but the first copy command, then add one that looks like the 2nd one from the ra2 section above.

 ### adding DuneII to OpenRA
  if [ ! -d $pkgdir/usr/lib/openra/mods/d2 ]; then
  mkdir $pkgdir/usr/lib/openra/mods/d2
  fi
  cp -rf $srcdir/D2/OpenRA.Mods*  $pkgdir/usr/lib/openra/mods/d2 
  cp -rf $srcdir/D2/mods/d2 $pkgdir/usr/lib/openra/mods/d2

That said, I have not been able to actually run the mods from the installed launcher. I can get both games to launch from src/D2/launch-game.sh and src/RA2/launch-game.sh.

For Dune2 you will need to download a copy of Dune2 from somewhere (it's freeware, so not hard to find) and copy over the .PAK files mentioned here into ~/.openra/Content/d2

Enverex commented on 2018-05-22 22:54 (UTC)

Looks like something may have changed with the Dune 2 content as it now fails to package:

cp: cannot stat '/var/tmp/makepkg/openra-git/src/D2/*.yaml': No such file or directory

fusion809 commented on 2018-04-16 19:19 (UTC)

I get this error:

Updating GeoIP country database from MaxMind. <br> Detected Lua 5.1 library at /lib/liblua.so.5.1.5 <br> Eluant.dll.config has been created successfully. <br> CSC fixheader.exe

Unhandled Exception: <br> System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationE xception: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542 <br> at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x00028] in <0cc37f4786fa491387f4cb0ad6d68b 47>:0 <br> at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> at System.TermInfoDriver..ctor (System.String term) [0x00055] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> at System.ConsoleDriver..cctor () [0x0004d] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> --- End of inner exception stack trace --- <br> at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <0cc37f47 86fa491387f4cb0ad6d68b47>:0 <br> at System.Console..cctor () [0x0008e] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> --- End of inner exception stack trace --- <br> at Mono.CSharp.Driver.Main (System.String[] args) [0x00019] in <d2122ab568134220b5e8e0ee403c7d6d>:0 <br> [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an excepti on. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exce ption: Magic number is wrong: 542 <br> at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x00028] in <0cc37f4786fa491387f4cb0ad6d68b 47>:0 <br> at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> at System.TermInfoDriver..ctor (System.String term) [0x00055] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> at System.ConsoleDriver..cctor () [0x0004d] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> --- End of inner exception stack trace --- <br> at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <0cc37f47 86fa491387f4cb0ad6d68b47>:0 <br> at System.Console..cctor () [0x0008e] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> --- End of inner exception stack trace --- <br> at Mono.CSharp.Driver.Main (System.String[] args) [0x00019] in <d2122ab568134220b5e8e0ee403c7d6d>:0 <br> make: *** [Makefile:259: fixheader.exe] Error 1 </d2122ab568134220b5e8e0ee403c7d6d></d2122ab568134220b5e8e0ee403c7d6d>

EndlessEden commented on 2018-04-12 06:11 (UTC)

@Enverex - I did plan to remove them, i just haven't had time. Anyone can feel free to send me patches and suggestions. I will try to incorporate them were they feel right.

@mailme45 - From the openra client - openra -mod ra2 (or -mod RA2 [im not sure, as its been 6+months])

@promoke - Sorry, its not easy to balance logging and work. Alot of my updates dont get proper notes, as i forget what ive done in my haste. - As far as RA2, i Did test it, it does launch, etc. but i was unable to test it very thoroughly. It can be launched via -mod RA2

<hr>

I will do what i can to add a launcher, etc for RA2/etc asap.

Enverex commented on 2018-04-10 14:34 (UTC)

Is it worth disabling the tests at build time? It causes it to take a very long time to build and isn't really anything users need, it's more for the devs.

dkoch84 commented on 2018-04-08 19:03 (UTC)

@EndlessEden how do I launch ra2?

promike commented on 2017-12-13 14:43 (UTC)

@EndlessEden No, you're missing the point. I didn't put you down because you hadn't maintained the package around the clock, but I did expect some response when I struggled to start RA2. No-one told me it's full of bugs and won't work. All I could see was the package description: ...DuneII and Red Alert 2, mods Included, and your commit message: 2017-09-09 Fixed RA2 so that its functioning. Had I known these, I wouldn't have pestered you. I'm actually grateful to you trying maintaining this package, however, you could be more verbose next time!

EndlessEden commented on 2017-12-12 13:41 (UTC)

@promike: I have a life outside package Maintenance. I didnt get a notification of a issue. ill look into it. (Also, her ^_^)

@Enverex: Ive been working on a launch-script. I just havent pushed it to Aur as its mono3-dependant.

@promike(22-10-2017): Ive been looking into the issue, and while it will launch, keep in mind. IT IS UNDER DEVELOPMENT. the most i could get was a buggy menu, and i havent debugged the issue. Please be Patient. OpenRA is not my only project.

promike commented on 2017-12-11 14:04 (UTC)

@Enverex

It's no use writing him... he won't reply or do anything. I've been struggling with openra-git for several months now. I don't feel like playing it anymore. We'd be better off installing the original RA2...

Enverex commented on 2017-12-07 09:26 (UTC) (edited on 2017-12-07 09:28 (UTC) by Enverex)

You've added Dune 2 and RA2, but not scripts to launch them (e.g. openra-ra2). Any chance of adding those in? (Edit: Just realised these are created by the build process and not something you've added yourself. Any chance of creating them manually during the package process as a crutch until the build process makes these automatically?)

Also, was there any reason why you left out Tiberian Sun? As far as I'm aware it's further along than Red Alert 2 so including it seems like a good idea unless there's some big reason not to?

promike commented on 2017-10-22 19:06 (UTC)

Thank you for updating it. It finally installs. :) Could you give me a hand installing Red Alert 2? I followed the instructions there: https://github.com/OpenRA/ra2/wiki I placed ra2.mix 09e1ef0582fa2dad39c0ae92d9ffda15 (md5sum) language.mix 00dc102e9afe53cbad5ac1d4c5960b30 (md5sum) theme.mix bc1faedbce43c393e9df0b784d6f2fba (md5sum) into ~/.openra/Content/ra2/ but it keeps telling me 'Game Content Not Found' p.s. I didn't alter you PKGBUILD, I installed it as it is

promike commented on 2017-09-20 11:39 (UTC)

Unfortunately, it cannot be installed: Checking for code style violations in OpenRA.Server... No violations encountered in OpenRA.Server. patching file mod.config Hunk #1 FAILED at 4. 1 out of 1 hunk FAILED -- saving rejects to file mod.config.rej ==> ERROR: A failure occurred in build(). Aborting...

EndlessEden commented on 2017-08-16 00:13 (UTC) (edited on 2020-07-30 06:05 (UTC) by EndlessEden)

Updated: Fixed the removal of "make dependencies" upstream;

will be removing old entries for RA2/D2 soon, as building against upstream is not possible as RA2/D2 are lagging behind too much in updating their engine compatibility.

fusion809 commented on 2017-08-14 21:21 (UTC) (edited on 2017-08-14 21:56 (UTC) by fusion809)

package() function fails to run with the error: cp: cannot stat '/home/fusion809/AUR/openra-git/src/RA2/*.yaml': No such file or directory There are a few other errors that occur when this issue is fixed, so here is the fixed PKGBUILD https://gist.github.com/6777e0f84433e756be3615cf640ac6af.

EndlessEden commented on 2017-05-25 16:55 (UTC) (edited on 2017-06-14 17:48 (UTC) by EndlessEden)

//I have a updated PKGBUILD coming, will update ASAP. //**having spotty internet** Updated

EndlessEden commented on 2016-10-01 16:46 (UTC)

Stop trying to hijack my aur package. The package version will automatically update on your system. This is _NOT_ a bug on aur. Please stop disowning my pkgbuilds.

ptkato commented on 2016-09-25 18:54 (UTC)

Can't update: ==> Starting build()... Fetching StyleCopPlus from NuGet unzip: cannot find or open StyleCopPlus.MSBuild.zip, StyleCopPlus.MSBuild.zip.zip or StyleCopPlus.MSBuild.zip.ZIP. make: *** [Makefile:339: cli-dependencies] Error 9 ==> ERROR: A failure occurred in build(). Aborting...

EndlessEden commented on 2016-04-25 19:37 (UTC)

Last update should of fixed some of the issues with package version and binary identification. But i cant reproduce the problem your experiencing, on my end. i have no idea why you are crashing, is segfault called or is the application exiting like normal?

greenmanalishi commented on 2016-02-29 15:28 (UTC)

Game crashes on load. Branch bleed. Can you reproduce? https://github.com/OpenRA/OpenRA/issues/10849

EndlessEden commented on 2015-12-24 08:07 (UTC)

Cant figure out why its using that pkgver, the script should set it to the ACTUAL most recent commit date... instead, its picking the most recent release version from somewhere...