unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Package request: OpenRA
@ 2020-01-11 18:10 Pierre Neidhardt
  2020-01-13 23:12 ` pkill9
  0 siblings, 1 reply; 5+ messages in thread
From: Pierre Neidhardt @ 2020-01-11 18:10 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 186 bytes --]

Hi,

We don't have OpenRA (https://www.openra.net/).
Has anyone worked on it?
Otherwise I'll go ahead.

Any tip, any special wish?

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Package request: OpenRA
  2020-01-11 18:10 Package request: OpenRA Pierre Neidhardt
@ 2020-01-13 23:12 ` pkill9
  2020-01-14  8:24   ` ng0
  0 siblings, 1 reply; 5+ messages in thread
From: pkill9 @ 2020-01-13 23:12 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: guix-devel

Hi Pierre,

> We don't have OpenRA (https://www.openra.net/).
> Has anyone worked on it?
> Otherwise I'll go ahead.
> 
> Any tip, any special wish?

I have a working package (last tested a while ago, some third party hashes would need updaring, and there may be new build failures, but i played it in the past) in my repository at https://gitlab.com/pkill-9/guix-packages-free/tree/master/pkill9/packages/openra, however the third party .Net libraries aren't built from source because I couldn't get mono to build them from source. I believe Mono is too old on Guix to build them.

Another issue to note is that i had to wrap xdg data dirs to point to generated mono certificates.

Another issue is that maxmind geoip database is used during build, but the url constantly updates and they dont provide previous versions. best solution would be patch openra upstream to provide option not to use geoip database, or to grab it at runtime.
I don't believe there are any licensing issues with using maxmind's geoip database in guix, can't remember though.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Package request: OpenRA
  2020-01-13 23:12 ` pkill9
@ 2020-01-14  8:24   ` ng0
  2020-01-14  8:52     ` Pierre Neidhardt
  0 siblings, 1 reply; 5+ messages in thread
From: ng0 @ 2020-01-14  8:24 UTC (permalink / raw)
  To: pkill9; +Cc: guix-devel

There aren't issuess with the DB (unless it changed), we discussed creating
a package in context of tor some time in 2016 - 2018 I think.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Package request: OpenRA
  2020-01-14  8:24   ` ng0
@ 2020-01-14  8:52     ` Pierre Neidhardt
  2020-01-26 16:03       ` Pierre Neidhardt
  0 siblings, 1 reply; 5+ messages in thread
From: Pierre Neidhardt @ 2020-01-14  8:52 UTC (permalink / raw)
  To: ng0, pkill9; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 154 bytes --]

Thanks for sharing!

Besides Nix seems to have a working package:

https://github.com/NixOS/nixpkgs/

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Package request: OpenRA
  2020-01-14  8:52     ` Pierre Neidhardt
@ 2020-01-26 16:03       ` Pierre Neidhardt
  0 siblings, 0 replies; 5+ messages in thread
From: Pierre Neidhardt @ 2020-01-26 16:03 UTC (permalink / raw)
  To: ng0, pkill9; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 3037 bytes --]

I gave it a shot.

The main obstacle for inclusion in Guix is to build the C# libraries.

I tried with our Mono 4.4 on SharpZipLib (https://github.com/icsharpcode/SharpZipLib/):

--8<---------------cut here---------------start------------->8---
> /gnu/store/fi2i5850527jpw4zbqyw0kaa7yhmrz5w-mono-4.4.1.0/bin/xbuild ICSharpCode.SharpZipLib.csproj 
XBuild Engine Version 14.0
Mono, Version 4.4.1.0
Copyright (C) 2005-2013 Various Mono authors

Build started 1/26/2020 4:53:08 PM.
__________________________________________________
ICSharpCode.SharpZipLib.csproj: error : /home/ambrevar/projects/SharpZipLib/src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
Build FAILED.
Errors:

ICSharpCode.SharpZipLib.csproj: error : /home/ambrevar/projects/SharpZipLib/src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  

	 0 Warning(s)
	 1 Error(s)

Time Elapsed 00:00:00.0194670
--8<---------------cut here---------------end--------------->8---

I tried to do what the message says, and then I get:

--8<---------------cut here---------------start------------->8---
> /gnu/store/fi2i5850527jpw4zbqyw0kaa7yhmrz5w-mono-4.4.1.0/bin/xbuild ICSharpCode.SharpZipLib.csproj
XBuild Engine Version 14.0
Mono, Version 4.4.1.0
Copyright (C) 2005-2013 Various Mono authors

Build started 1/26/2020 5:00:19 PM.
__________________________________________________
/home/ambrevar/projects/SharpZipLib/src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj: error : /home/ambrevar/projects/SharpZipLib/src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj: The attribute "Version" in element <PackageReference> is unrecognized.
Build FAILED.
Errors:

/home/ambrevar/projects/SharpZipLib/src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj: error : /home/ambrevar/projects/SharpZipLib/src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj: The attribute "Version" in element <PackageReference> is unrecognized.

	 0 Warning(s)
	 1 Error(s)

Time Elapsed 00:00:00.0222830
--8<---------------cut here---------------end--------------->8---

I guess pkill-9 is right, we need to update Mono first.

But maybe we can work around the build system by compiling it manually.
I know that the 'mcs' program can compile single-file C# libraries like sdl2-cs.

Cheers!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-01-26 16:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-11 18:10 Package request: OpenRA Pierre Neidhardt
2020-01-13 23:12 ` pkill9
2020-01-14  8:24   ` ng0
2020-01-14  8:52     ` Pierre Neidhardt
2020-01-26 16:03       ` Pierre Neidhardt

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).