Package: xsddiagram
Version: 0.7-1
Severity: wishlist
User: debian-...@lists.debian.org
Usertags: mono-2.10-transition mono-2.10-transition-gmcs
Tags: patch

The package xsddiagram requires gmcs to build.
In mono 2.10, currently in experimental, the default csharp compiler
will change from gmcs to dmcs.
mono-gmcs will not be installed by mono-devel anymore.

Relevant part of the buildlog:
        /usr/lib/mono/3.5/Microsoft.CSharp.targets: error : Error executing
tool '/usr/bin/gmcs': ApplicationName='/usr/bin/gmcs',
CommandLine='/noconfig @/tmp/tmp6393acf.tmp',
CurrentDirectory='/tmp/buildd/xsddiagram-0.7'


Attached patch makes xsddiagram use the default framework installed.
If it requires gmcs it would need to build depend on mono-gmcs.

For more information see [0,1] or visit #debian-cli

[0] http://wiki.debian.org/Teams/DebianMonoGroup/Mono210Transition
[1] http://www.mono-project.com/CSharp_Compiler
Index: xsddiagram-0.7/XSDDiagram.csproj
===================================================================
--- xsddiagram-0.7.orig/XSDDiagram.csproj	2011-05-21 14:40:09.610599828 +0200
+++ xsddiagram-0.7/XSDDiagram.csproj	2011-05-21 14:40:20.620599825 +0200
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"; ToolsVersion="3.5">
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -14,7 +14,6 @@
     <FileUpgradeFlags>
     </FileUpgradeFlags>
     <OldToolsVersion>2.0</OldToolsVersion>
-    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
     <UpgradeBackupLocation>
     </UpgradeBackupLocation>
     <PublishUrl>http://localhost/XSDDiagram/</PublishUrl>
@@ -225,4 +224,4 @@
     <PreBuildEvent>
     </PreBuildEvent>
   </PropertyGroup>
-</Project>
\ No newline at end of file
+</Project>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to