unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: ng0 <ng0@n0.is>, pkill9@runbox.com
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Package request: OpenRA
Date: Sun, 26 Jan 2020 17:03:08 +0100	[thread overview]
Message-ID: <87a76afbnn.fsf@ambrevar.xyz> (raw)
In-Reply-To: <87imlezagd.fsf@ambrevar.xyz>

[-- 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 --]

      reply	other threads:[~2020-01-26 16:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a76afbnn.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=guix-devel@gnu.org \
    --cc=ng0@n0.is \
    --cc=pkill9@runbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).