Ticket #66 (closed Defect: fixed)

Opened 9 months ago

Last modified 2 months ago

Allow autopackage to detect mono runtime + assemblies

Reported by: isak Assigned to: isak
Priority: Medium Milestone: 1.3
Component: main Version: 1.2.4
Severity: Normal Keywords: mono .net csharp
Cc:

Description

Autopackage should support the detection of mono (the runtime) and assemblies (which are equvalent to standard unix libs, but for .NET)

This requires two parts to be done:

1) A small cmd line tool that can find this version information 2) Skeleton files utilizing this new tool

Doing (1) is fairly simple, and I've attached a patch to this ticket. Will do (2) later.

See also PackagingMonoApps on the wiki.

Attachments

monotester.patch (7.3 kB) - added by isak on 01/18/08 13:59:03.
Tool that can detect mono runtime version aswell as assemblies in the mono GAC
skeleton.1 (0.8 kB) - added by isak on 01/19/08 08:10:52.
Main mono skeleton
makefile.diff (1.2 kB) - added by Jan-Nik on 08/17/08 12:02:26.

Change History

01/18/08 13:59:03 changed by isak

  • attachment monotester.patch added.

Tool that can detect mono runtime version aswell as assemblies in the mono GAC

01/18/08 14:03:07 changed by isak

  • status changed from new to assigned.

01/18/08 14:06:06 changed by isak

The only downside I can see is that we start depending on mono (for building apkg from source), since the monotester program is written in C#.

Autopackage would not depend on mono during runtime - the tool is only to be used in the mono skeletons and if mono isn't there, well, the skeleton will correctly tell the installer "not found".

01/19/08 08:10:52 changed by isak

  • attachment skeleton.1 added.

Main mono skeleton

08/17/08 12:01:43 changed by Jan-Nik

I think it shouldn't force you to have mono installed when compiling autopackage. Here's a little patch. I added a check and now it displays a warning if mcs is missing.

The check could be better, I hate makefiles. Would be cool if you can look over it.

08/17/08 12:02:26 changed by Jan-Nik

  • attachment makefile.diff added.

08/17/08 14:05:48 changed by isak

Ok, the conditional might be a good idea. It's important though, that the person doing an official autopackage release doesn't skip building monotester.exe. We can add checks for that some other place though (like in the release script).

08/17/08 17:11:16 changed by Jan-Nik

  • status changed from assigned to closed.
  • resolution set to fixed.

I added the condition, the new makefile and your monotester.cs in r2496. I hope it's okay if close this as fixed.