Bump to 2.6.7 release candidate Remove xbuild patch Change BR to use
libgdiplus-2.6.7 Add patch from Novell to get the .NET 4 preview to work Alter spec to package all the tasty new bits
This commit is contained in:
parent
7f6171b2c9
commit
6bb2ef153b
@ -1 +1 @@
|
|||||||
mono-2.6.4.tar.bz2
|
mono-2.6.7.tar.bz2
|
||||||
|
@ -5,3 +5,4 @@ mono-2_6_3-1_fc14:HEAD:mono-2.6.3-1.fc14.src.rpm:1269037048
|
|||||||
mono-2_6_4-1_fc14:HEAD:mono-2.6.4-1.fc14.src.rpm:1272392899
|
mono-2_6_4-1_fc14:HEAD:mono-2.6.4-1.fc14.src.rpm:1272392899
|
||||||
mono-2_6_4-2_fc14:HEAD:mono-2.6.4-2.fc14.src.rpm:1275299763
|
mono-2_6_4-2_fc14:HEAD:mono-2.6.4-2.fc14.src.rpm:1275299763
|
||||||
mono-2_6_4-3_fc14:HEAD:mono-2.6.4-3.fc14.src.rpm:1275856661
|
mono-2_6_4-3_fc14:HEAD:mono-2.6.4-3.fc14.src.rpm:1275856661
|
||||||
|
mono-2_6_7-1_fc14:HEAD:mono-2.6.7-1.fc14.src.rpm:1279143830
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
Index: mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/DirectoryScanner.cs
|
|
||||||
===================================================================
|
|
||||||
--- mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/DirectoryScanner.cs (revision 158080)
|
|
||||||
+++ mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/DirectoryScanner.cs (revision 158081)
|
|
||||||
@@ -114,10 +114,12 @@
|
|
||||||
if (!excludedItems.ContainsKey (fi.FullName)) {
|
|
||||||
TaskItem item = new TaskItem (include_item);
|
|
||||||
item.ItemSpec = fi.FullName;
|
|
||||||
- string rec_dir = Path.GetDirectoryName (fi.FullName.Substring (wildcard_offset));
|
|
||||||
- if (rec_dir.Length > 0)
|
|
||||||
- rec_dir += Path.DirectorySeparatorChar;
|
|
||||||
- item.SetMetadata ("RecursiveDir", rec_dir);
|
|
||||||
+ if (wildcard_offset >= 0) {
|
|
||||||
+ string rec_dir = Path.GetDirectoryName (fi.FullName.Substring (wildcard_offset));
|
|
||||||
+ if (rec_dir.Length > 0)
|
|
||||||
+ rec_dir += Path.DirectorySeparatorChar;
|
|
||||||
+ item.SetMetadata ("RecursiveDir", rec_dir);
|
|
||||||
+ }
|
|
||||||
includedItems.Add (item);
|
|
||||||
}
|
|
||||||
}
|
|
53
mono-267-c4.patch
Normal file
53
mono-267-c4.patch
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
Index: mcs/class/System.Core/System/TimeZoneInfo.cs
|
||||||
|
===================================================================
|
||||||
|
--- mono-2.6.7/mcs/class/System.Core/System/TimeZoneInfo.cs (revision 160268)
|
||||||
|
+++ mono-2.6.7/mcs/class/System.Core/System/TimeZoneInfo.cs (working copy)
|
||||||
|
@@ -380,9 +380,22 @@
|
||||||
|
else
|
||||||
|
ParseRegTzi(adjustmentRules, 1, 9999, reg_tzi);
|
||||||
|
|
||||||
|
- return CreateCustomTimeZone (id, baseUtcOffset, display_name, standard_name, daylight_name, ValidateRules (adjustmentRules).ToArray ());
|
||||||
|
+ return CreateCustomTimeZone (id, baseUtcOffset, display_name, standard_name, daylight_name,
|
||||||
|
+ (AdjustmentRule []) ValidateRules (adjustmentRules).ToArray ());
|
||||||
|
}
|
||||||
|
|
||||||
|
+ static List<AdjustmentRule> ValidateRules (List<AdjustmentRule> adjustmentRules)
|
||||||
|
+ {
|
||||||
|
+ AdjustmentRule prev = null;
|
||||||
|
+ foreach (AdjustmentRule current in adjustmentRules.ToArray ()) {
|
||||||
|
+ if (prev != null && prev.DateEnd > current.DateStart) {
|
||||||
|
+ adjustmentRules.Remove (current);
|
||||||
|
+ }
|
||||||
|
+ prev = current;
|
||||||
|
+ }
|
||||||
|
+ return adjustmentRules;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
private static void ParseRegTzi (List<AdjustmentRule> adjustmentRules, int start_year, int end_year, byte [] buffer)
|
||||||
|
{
|
||||||
|
//int standard_bias = BitConverter.ToInt32 (buffer, 4); /* not sure how to handle this */
|
||||||
|
@@ -895,22 +908,11 @@
|
||||||
|
}
|
||||||
|
return CreateCustomTimeZone (id, baseUtcOffset, id, standardDisplayName);
|
||||||
|
} else {
|
||||||
|
- return CreateCustomTimeZone (id, baseUtcOffset, id, standardDisplayName, daylightDisplayName, ValidateRules (adjustmentRules).ToArray ());
|
||||||
|
+ return CreateCustomTimeZone (id, baseUtcOffset, id, standardDisplayName, daylightDisplayName,
|
||||||
|
+ (AdjustmentRule []) ValidateRules (adjustmentRules).ToArray ());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- static List<AdjustmentRule> ValidateRules (List<AdjustmentRule> adjustmentRules)
|
||||||
|
- {
|
||||||
|
- AdjustmentRule prev = null;
|
||||||
|
- foreach (AdjustmentRule current in adjustmentRules.ToArray ()) {
|
||||||
|
- if (prev != null && prev.DateEnd > current.DateStart) {
|
||||||
|
- adjustmentRules.Remove (current);
|
||||||
|
- }
|
||||||
|
- prev = current;
|
||||||
|
- }
|
||||||
|
- return adjustmentRules;
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
static Dictionary<int, string> ParseAbbreviations (byte [] buffer, int index, int count)
|
||||||
|
{
|
||||||
|
var abbrevs = new Dictionary<int, string> ();
|
32
mono.spec
32
mono.spec
@ -1,8 +1,8 @@
|
|||||||
#%%define svnver 138447
|
#%%define svnver 138447
|
||||||
|
|
||||||
Name: mono
|
Name: mono
|
||||||
Version: 2.6.4
|
Version: 2.6.7
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A .NET runtime environment
|
Summary: A .NET runtime environment
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -23,7 +23,7 @@ BuildRequires: bison
|
|||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: libgdiplus-devel >= 2.6.4
|
BuildRequires: libgdiplus-devel >= 2.6.7
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%ifarch ia64
|
%ifarch ia64
|
||||||
BuildRequires: libunwind
|
BuildRequires: libunwind
|
||||||
@ -50,9 +50,7 @@ Patch4: mono-2.0-monoservice.patch
|
|||||||
Patch5: mono-2.6-metadata-makefile.patch
|
Patch5: mono-2.6-metadata-makefile.patch
|
||||||
Patch6: mono-242-libgdiplusconfig.patch
|
Patch6: mono-242-libgdiplusconfig.patch
|
||||||
Patch7: mono-264-libdir.patch
|
Patch7: mono-264-libdir.patch
|
||||||
# svn diff -c 158081 svn://anonsvn.mono-project.com/source/trunk
|
Patch8: mono-267-c4.patch
|
||||||
# to fix https://bugzilla.novell.com/show_bug.cgi?id=485841
|
|
||||||
Patch8: mono-2.6.4-xbuild-fix.patch
|
|
||||||
|
|
||||||
Obsoletes: mono-mono-4-preview < 2.6.4
|
Obsoletes: mono-mono-4-preview < 2.6.4
|
||||||
Provides: mono-4-preview = %{version}-%{release}
|
Provides: mono-4-preview = %{version}-%{release}
|
||||||
@ -321,8 +319,8 @@ Preview for the new C# 4.0 code
|
|||||||
%patch6 -p1 -b .libgdiplus
|
%patch6 -p1 -b .libgdiplus
|
||||||
sed -i -e 's!@libdir@!%{_libdir}!' %{PATCH7}
|
sed -i -e 's!@libdir@!%{_libdir}!' %{PATCH7}
|
||||||
%patch7 -p1 -b .libdir-22
|
%patch7 -p1 -b .libdir-22
|
||||||
|
%patch8 -p1 -b .c4
|
||||||
sed -i -e 's!%{_libdir}!@libdir@!' %{PATCH7}
|
sed -i -e 's!%{_libdir}!@libdir@!' %{PATCH7}
|
||||||
%patch8 -p0 -b .xbuild
|
|
||||||
sed -i -e 's!$(prefix)/lib/!%{_libdir}/!' docs/Makefile.{am,in}
|
sed -i -e 's!$(prefix)/lib/!%{_libdir}/!' docs/Makefile.{am,in}
|
||||||
sed -i -e 's!${prefix}/lib/!%{_libdir}/!' data/monodoc.pc.in
|
sed -i -e 's!${prefix}/lib/!%{_libdir}/!' data/monodoc.pc.in
|
||||||
sed -i -e 's!${prefix}/lib/!%{_libdir}/!' data/mono-cairo.pc.in
|
sed -i -e 's!${prefix}/lib/!%{_libdir}/!' data/mono-cairo.pc.in
|
||||||
@ -413,6 +411,7 @@ install -p -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pki/mono/
|
|||||||
%{_bindir}/gacutil2
|
%{_bindir}/gacutil2
|
||||||
%mono_bin gmcs
|
%mono_bin gmcs
|
||||||
%mono_bin mcs
|
%mono_bin mcs
|
||||||
|
%mono_bin xbuild
|
||||||
%{_bindir}/mcs1
|
%{_bindir}/mcs1
|
||||||
%mono_bin mozroots
|
%mono_bin mozroots
|
||||||
%mono_bin setreg
|
%mono_bin setreg
|
||||||
@ -471,6 +470,8 @@ install -p -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pki/mono/
|
|||||||
%gac_dll System.Xml
|
%gac_dll System.Xml
|
||||||
%gac_dll Mono.Tasklets
|
%gac_dll Mono.Tasklets
|
||||||
%gac_dll WindowsBase
|
%gac_dll WindowsBase
|
||||||
|
%{_libdir}/mono/gac/Microsoft.Build.Tasks.v4.0/4.0*
|
||||||
|
%{_libdir}/mono/gac/Microsoft.Build.Utilities.v4.0/4.0*
|
||||||
%{monodir}/gac/System.Xml.Linq
|
%{monodir}/gac/System.Xml.Linq
|
||||||
%{monodir}/?.0/mscorlib.dll
|
%{monodir}/?.0/mscorlib.dll
|
||||||
%{monodir}/?.0/mscorlib.dll.mdb
|
%{monodir}/?.0/mscorlib.dll.mdb
|
||||||
@ -563,8 +564,14 @@ install -p -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pki/mono/
|
|||||||
%{monodir}/2.0/Microsoft.*.targets
|
%{monodir}/2.0/Microsoft.*.targets
|
||||||
%{monodir}/2.0/Microsoft.Common.tasks
|
%{monodir}/2.0/Microsoft.Common.tasks
|
||||||
%{monodir}/2.0/xbuild.rsp
|
%{monodir}/2.0/xbuild.rsp
|
||||||
|
%{monodir}/3.5/xbuild.*
|
||||||
%{monodir}/3.5/Microsoft.Build.Engine.dll
|
%{monodir}/3.5/Microsoft.Build.Engine.dll
|
||||||
%{monodir}/3.5/Microsoft.Build.Framework.dll
|
%{monodir}/3.5/Microsoft.Build.Framework.dll
|
||||||
|
%{monodir}/3.5/MSBuild/Microsoft.Build*
|
||||||
|
%{monodir}/3.5/Microsoft.Build.xsd
|
||||||
|
%{monodir}/3.5/Microsoft.CSharp.targets
|
||||||
|
%{monodir}/3.5/Microsoft.Common.ta*
|
||||||
|
%{monodir}/3.5/Microsoft.VisualBasic.targets
|
||||||
%{_bindir}/monograph
|
%{_bindir}/monograph
|
||||||
%{_libdir}/libmono-profiler-aot.*
|
%{_libdir}/libmono-profiler-aot.*
|
||||||
%{_libdir}/libmono-profiler-cov.*
|
%{_libdir}/libmono-profiler-cov.*
|
||||||
@ -772,11 +779,22 @@ install -p -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pki/mono/
|
|||||||
%{monodir}/4.0/*.exe.*
|
%{monodir}/4.0/*.exe.*
|
||||||
%{monodir}/4.0/Mono.Security.Win32.dll
|
%{monodir}/4.0/Mono.Security.Win32.dll
|
||||||
%{monodir}/4.0/System.Xml.Linq.dll
|
%{monodir}/4.0/System.Xml.Linq.dll
|
||||||
|
%{monodir}/4.0/MSBuild/Microsoft*
|
||||||
|
%{monodir}/4.0/Microsoft*
|
||||||
|
%{monodir}/compat-2.0/System.Web.Mvc.dll
|
||||||
%gac_dll Microsoft.CSharp
|
%gac_dll Microsoft.CSharp
|
||||||
%{_libdir}/mono/gac/System.Data.Services/4.0*
|
%{_libdir}/mono/gac/System.Data.Services/4.0*
|
||||||
%gac_dll System.Dynamic
|
%gac_dll System.Dynamic
|
||||||
|
%{monodir}/4.0/xbuild*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 13 2010 Paul F. Johnson <paul@all-the-johnsons.co.uk> 2.6.7-1
|
||||||
|
- Update to 2.6.7 release candidate 1
|
||||||
|
- Change libgdiplus BR version to 2.6.7
|
||||||
|
- Drop xbuild patch (fixed in source)
|
||||||
|
- Add patch from novell to get the preview-4 to build
|
||||||
|
- Add additional dlls etc normally found with a bump...
|
||||||
|
|
||||||
* Thu Jul 08 2010 Christian Krause <chkr@fedoraproject.org> - 2.6.4-4
|
* Thu Jul 08 2010 Christian Krause <chkr@fedoraproject.org> - 2.6.4-4
|
||||||
- Add upstream patch to fix xbuild (BZ 612233,
|
- Add upstream patch to fix xbuild (BZ 612233,
|
||||||
https://bugzilla.novell.com/show_bug.cgi?id=485841)
|
https://bugzilla.novell.com/show_bug.cgi?id=485841)
|
||||||
|
Loading…
Reference in New Issue
Block a user