OBS User unknown 2007-06-10 09:58:47 +00:00 committed by Git OBS Bridge
parent d5f3506c33
commit cc03e01087
11 changed files with 375 additions and 193 deletions

View File

@ -1,74 +0,0 @@
--- mono/io-layer/atomic.h.mm 2007-03-05 12:06:25.000000000 +0000
+++ mono/io-layer/atomic.h 2007-03-05 14:40:32.794868433 +0000
@@ -301,7 +301,7 @@ InterlockedCompareExchange(volatile gint
__asm__ __volatile__ ("\tLA\t1,%0\n"
"\tLR\t%1,%3\n"
"\tCS\t%1,%2,0(1)\n"
- : "+m" (*dest), "=r" (old)
+ : "+m" (*dest), "=&r" (old)
: "r" (exch), "r" (comp)
: "1", "cc");
return(old);
@@ -317,7 +317,7 @@ InterlockedCompareExchangePointer(volati
__asm__ __volatile__ ("\tLA\t1,%0\n"
"\tLR\t%1,%3\n"
"\tCS\t%1,%2,0(1)\n"
- : "+m" (*dest), "=r" (old)
+ : "+m" (*dest), "=&r" (old)
: "r" (exch), "r" (comp)
: "1", "cc");
return(old);
@@ -333,7 +333,7 @@ InterlockedCompareExchangePointer(volati
__asm__ __volatile__ ("\tLA\t1,%0\n"
"\tLGR\t%1,%3\n"
"\tCSG\t%1,%2,0(1)\n"
- : "+m" (*dest), "=r" (old)
+ : "+m" (*dest), "=&r" (old)
: "r" (exch), "r" (comp)
: "1", "cc");
@@ -426,7 +426,7 @@ InterlockedExchange(volatile gint32 *val
"0:\tL\t%1,%0\n"
"\tCS\t%1,%2,0(1)\n"
"\tJNZ\t0b"
- : "+m" (*val), "=r" (ret)
+ : "+m" (*val), "=&r" (ret)
: "r" (new_val)
: "1", "cc");
@@ -443,7 +443,7 @@ InterlockedExchangePointer(volatile gpoi
"0:\tL\t%1,%0\n"
"\tCS\t%1,%2,0(1)\n"
"\tJNZ\t0b"
- : "+m" (*val), "=r" (ret)
+ : "+m" (*val), "=&r" (ret)
: "r" (new_val)
: "1", "cc");
@@ -459,7 +459,7 @@ InterlockedExchangePointer(volatile gpoi
"0:\tLG\t%1,%0\n"
"\tCSG\t%1,%2,0(1)\n"
"\tJNZ\t0b"
- : "+m" (*val), "=r" (ret)
+ : "+m" (*val), "=&r" (ret)
: "r" (new_val)
: "1", "cc");
@@ -479,7 +479,7 @@ InterlockedExchangeAdd(volatile gint32 *
"\tAR\t1,%2\n"
"\tCS\t%0,1,0(2)\n"
"\tJNZ\t0b"
- : "=r" (ret), "+m" (*val)
+ : "=&r" (ret), "+m" (*val)
: "r" (add)
: "1", "2", "cc");
@@ -497,7 +497,7 @@ InterlockedExchangeAdd(volatile gint32 *
"\tAGR\t1,%2\n"
"\tCS\t%0,1,0(2)\n"
"\tJNZ\t0b"
- : "=r" (ret), "+m" (*val)
+ : "=&r" (ret), "+m" (*val)
: "r" (add)
: "1", "2", "cc");

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b177ced4e3ec0c2efc6a4e17f1f87f6e852f319332d4f138d25d4a68ffba2c78
size 20694945

3
mono-1.2.4.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:780987a48256e6aff4206364a59f131a9aafbd5e3aa36694380d27b1d955176c
size 17146737

View File

@ -0,0 +1,114 @@
Index: scripts/mono-find-provides.in
===================================================================
--- scripts/mono-find-provides.in (revision 76729)
+++ scripts/mono-find-provides.in (working copy)
@@ -17,19 +17,15 @@
#monolist=($(printf "%s\n" "${monolist[@]}" | egrep "/gac/"))
# Disabled... see ChangeLog
-a=`which "$0"`
-d=`dirname "$a"`
-
# Set the prefix, unless it is overriden (used when building mono rpms)
-: ${prefix=$d/..}
+: ${prefix=@prefix@}
-exec_prefix=$d/..
libdir=$prefix/@reloc_libdir@
-bindir=$d
+bindir=$prefix/bin
# Bail out if monodis or libmono is missing
if [ ! -x $bindir/monodis ] || [ ! -f $libdir/libmono.so ] ; then
- echo "monodis missing or unusable, exiting..."
+ echo "monodis missing or unusable, exiting..." 1>&2
exit 1
fi
Index: scripts/mono-find-requires.in
===================================================================
--- scripts/mono-find-requires.in (revision 76729)
+++ scripts/mono-find-requires.in (working copy)
@@ -12,22 +12,29 @@
filelist=($(grep -Ev '/usr/doc/|/usr/share/doc/'))
monolist=($(printf "%s\n" "${filelist[@]}" | egrep "\\.(exe|dll)\$"))
-a=`which "$0"`
-d=`dirname "$a"`
+# parse .config files to find which native libraries to depend on
+# (target attribute must have double quotes for this to work, ie: target="file" )
+# Add /etc/mono/config ?
+configlist=($(printf "%s\n" "${filelist[@]}" | egrep "\\.config\$"))
# Set the prefix, unless it is overriden (used when building mono rpms)
-: ${prefix=$d/..}
+: ${prefix=@prefix@}
-exec_prefix=$d/..
libdir=$prefix/@reloc_libdir@
-bindir=$d
+bindir=$prefix/bin
# Bail out if monodis or libmono is missing
if [ ! -x $bindir/monodis ] || [ ! -f $libdir/libmono.so ] ; then
- echo "monodis missing or unusable, exiting..."
+ echo "monodis missing or unusable, exiting..." 1>&2
exit 1
fi
+# special case for 64bit archs
+if test "x@reloc_libdir@" = "xlib64" ; then
+ libext="()(64bit)"
+else
+ libext=""
+fi
# set LD_LIBRARY_PATH to ensure that libmono.so is found
export LD_LIBRARY_PATH=$libdir${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
@@ -55,6 +62,46 @@
}
') 2> /dev/null
done
+ # Parse the xml .config files to see what native binaries we call into
+ for i in "${configlist[@]}"; do
+ awk 'match($_, /<dllmap .*target=.*/) {
+ ignore=0
+ req=""
+ split($_, toks, "\"")
+ for(i=1; i <= length(toks); i++) {
+ if(toks[i] ~ /target=/) {
+ req=toks[i+1]
+ }
+ if(toks[i] ~ /os=/) {
+ negate=0
+ found=0
+
+ attr=toks[i+1]
+ if(attr ~ /^!/) {
+ attr=substr(attr, 2, length(attr)-1)
+ negate=1
+ }
+
+ split(attr, os_targets, ",")
+ for(j=1; j <= length(os_targets); j++) {
+ if(os_targets[j] == "linux") {
+ found=1
+ }
+ }
+
+ if(negate) {
+ found=!found
+ }
+ if (!found) {
+ ignore=1
+ }
+ }
+ }
+ if(!ignore) {
+ print req"'$libext'"
+ }
+ } ' $i 2>/dev/null
+ done
)
PROVIDES=$(

View File

@ -1,12 +1,56 @@
-------------------------------------------------------------------
Thu Apr 5 11:08:38 CEST 2007 - aj@suse.de
Tue Jun 5 15:18:53 MST 2007 - wberrier@novell.com
- Add zlib-devel to BuildRequires.
- Fix relevant rpmlint errors/warnings:
-also 'provides' for each 'obsoletes'
-run ldconfig in post/un for mono-core and mono-devel
- Update filelists
- Update to 1.2.4
-680 new methods implemented.
-290 stubs that used to throw NotImplemented exceptions have been
implemented.
-43 methods flagged with "to-do" have been implemented.
-Fixed HandleRef support
-Ability to disable shared mem support
-Mostly complete ASP 2.0 support (webparts is missing)
-asp.net 2.0 performance tripled
-C# 3.0 compiler support
-Mono.DataConvert: fixed implementation of the broken
System.BitConverter
-System.Windows.Forms
-150 bugfixes
-performance fixes
-2.0 profile additions: ToolStrip, Baloon tips, and hundreds of
new methods in various controls
-System.Drawing
-Initial support for metafiles (wmf & emf)
-performance improvements and fixes
-Many printing fixes
-2.0 ADO.Net updates
-Support for amd64 on Solaris
-Security and Crypto:
-Path.GetTempFileName now returns a file with 600 perms
-Fixed HMACSHA384 and HMACSHA512 to use a 128 bits block size
-Signcode tool now support password-protected PVK files
-CryptoStream.Write is now closer to MS behaviour and requires
less memory
-Fixed endian issue in RIPEMD160
-installvst: new tool to install VisualStudio source packages
-New additional sqlite binding: Mono.Data.Sqlite
-better maintained (http://sqlite-dotnet2.sourceforge.net/)
-sqlite3 only (no sqlite2, would need to dump/reload db)
-COM Interop now supports COM Callable Wrappers
-Many of the new 2.0 socket methods are now available
-------------------------------------------------------------------
Thu Mar 29 13:39:36 CEST 2007 - aj@suse.de
Fri Apr 13 19:18:53 CET 2007 - wberrier@novell.com
- Add bison to BuildRequires.
- add %debug_package so debug packages get created
-------------------------------------------------------------------
Wed Apr 4 23:38:57 CET 2007 - wberrier@novell.com
- Adapt for build service
-------------------------------------------------------------------
Tue Mar 6 02:38:57 CET 2007 - wberrier@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package mono-core (Version 1.2.3.1)
# spec file for package mono-core (Version 1.2.4)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@ -11,22 +11,17 @@
# norootforbuild
Name: mono-core
BuildRequires: bc bison glib2-devel zlib-devel
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Group: Development/Languages/Other
Summary: A .NET Runtime Environment
URL: http://go-mono.org/
Version: 1.2.3.1
Release: 7
Version: 1.2.4
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: mono-%{version}.tar.gz
# kdepatch patch won't work with the new relocatable Mono (Miguel)
#Patch1: mono-0.29-kdepath.patch
Patch16: mono-warnings.patch
Patch21: mono-monodis_cast.patch
Patch25: mono-supportw.patch
Patch26: mono-ppc.patch
Patch27: bug-237611_nov237611-fix-s390.diff
Source0: mono-%{version}.tar.bz2
Patch26: mono-r78768_ppc_pointer_cast.patch
Patch28: mono-config_rpm_requires.patch
Patch29: mono-provides_fix_r76875.patch
ExclusiveArch: %ix86 x86_64 ppc hppa armv4l sparc s390 ia64 s390x
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: mono = %{version}-%{release}
@ -38,12 +33,49 @@ Obsoletes: mono-xml-relaxng
Obsoletes: mono-posix
Obsoletes: mono-ziplib
Obsoletes: mono-ikvm
Provides: mono
Provides: mono-drawing
Provides: mono-cairo
Provides: mono-xml-relaxng
Provides: mono-posix
Provides: mono-ziplib
Provides: mono-ikvm
# Require when in the buildserivce
%if 0%{?opensuse_bs}
Requires: libgdiplus
%else
# suse would rather have recommends so that all sorts of graphic libs aren't
# pulled in when organizing
Recommends: libgdiplus
%endif
BuildRequires: bc glib2-devel
#### suse options ####
%if 0%{?suse_version}
# For some reason these weren't required in 10.2 and before... ?
%if %{suse_version} > 1020
BuildRequires: bison
%endif
%if %{sles_version} == 9
%define configure_options export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome/%_lib/pkgconfig
BuildRequires: pkgconfig
%endif
%endif
# Why was this needed?
%ifarch s390 s390x
PreReq: grep
%endif
%define __find_provides env MONO_PREFIX=%{buildroot}/usr /usr/lib/rpm/find-provides
%define __find_requires env MONO_PREFIX=%{buildroot}/usr /usr/lib/rpm/find-requires
# This won't work until the rpm package passes .config files to mono-find-requires
#%define __find_provides env MONO_PREFIX=%{buildroot}/usr /usr/lib/rpm/find-provides
#%define __find_requires env MONO_PREFIX=%{buildroot}/usr /usr/lib/rpm/find-requires
# auto dep/req generation for older distros (it will take a while for the .config scanning to get upstream)
%if 0%{?suse_version} <= 1040 || 0%{?fedora_version} <= 7
%if 0%{?fedora_version}
# Allows overrides of __find_provides in fedora distros... (already set to zero on newer suse distros)
%define _use_internal_dependency_generator 0
%endif
%define __find_provides env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-provides && printf "%s\\n" "${filelist[@]}" | prefix=%{buildroot}/usr %{buildroot}/usr/bin/mono-find-provides ; } | sort | uniq'
%define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-requires && printf "%s\\n" "${filelist[@]}" | prefix=%{buildroot}/usr %{buildroot}/usr/bin/mono-find-requires ; } | sort | uniq'
%endif
%description
The Mono Project is an open development initiative that is working to
@ -94,13 +126,6 @@ Authors:
%_prefix/lib/mono/1.0/mozroots.exe*
%_prefix/lib/mono/1.0/setreg.exe*
%_prefix/lib/mono/1.0/sn.exe*
# Directories
%dir %_prefix/lib/mono
%dir %_prefix/lib/mono/1.0
%dir %_prefix/lib/mono/2.0
%dir %_prefix/lib/mono/gac
%dir %_prefix/lib/mono/compat-1.0
%dir %_prefix/lib/mono/compat-2.0
%_prefix/lib/mono/gac/cscompmgd
%_prefix/lib/mono/1.0/cscompmgd.dll
%_prefix/lib/mono/2.0/cscompmgd.dll
@ -135,6 +160,10 @@ Authors:
%dir /etc/mono
%dir /etc/mono/1.0
%dir /etc/mono/2.0
%dir %_prefix/lib/mono
%dir %_prefix/lib/mono/1.0
%dir %_prefix/lib/mono/2.0
%dir %_prefix/lib/mono/gac
%config /etc/mono/config
%config /etc/mono/1.0/machine.config
%config /etc/mono/2.0/machine.config
@ -169,14 +198,20 @@ Authors:
%_prefix/lib/mono/gac/OpenSystem.C
%_prefix/lib/mono/1.0/OpenSystem.C.dll
%_prefix/lib/mono/2.0/OpenSystem.C.dll
%_prefix/lib/mono/gac/System.Core
%_prefix/lib/mono/2.0/System.Core.dll
%post
/sbin/ldconfig
%ifarch s390 s390x
if grep -q "machine = 9672" /proc/cpuinfo 2>/dev/null ; then
# anchor for rebuild on failure
echo "mono may not work correctly on G5"
fi
%endif
%postun
/sbin/ldconfig
%package -n mono-jscript
Summary: JScript .NET support for Mono
Group: Development/Languages/Other
@ -247,6 +282,9 @@ Requires: mono-core == %version-%release
Obsoletes: mono-ms-enterprise
Obsoletes: mono-novell-directory
Obsoletes: mono-directory
Provides: mono-ms-enterprise
Provides: mono-novell-directory
Provides: mono-directory
%description -n mono-data
The Mono Project is an open development initiative that is working to
@ -365,6 +403,7 @@ Summary: Extra packages
Group: Development/Languages/Other
Requires: mono-core == %version-%release
Obsoletes: mono-ms-extras
Provides: mono-ms-extras
%description -n mono-extras
The Mono Project is an open development initiative that is working to
@ -437,6 +476,9 @@ Authors:
%_prefix/lib/mono/gac/Mono.Data.SqliteClient
%_prefix/lib/mono/1.0/Mono.Data.SqliteClient.dll
%_prefix/lib/mono/2.0/Mono.Data.SqliteClient.dll
%_prefix/lib/mono/gac/Mono.Data.Sqlite
%_prefix/lib/mono/1.0/Mono.Data.Sqlite.dll
%_prefix/lib/mono/2.0/Mono.Data.Sqlite.dll
%package -n mono-data-sybase
Summary: Database connectivity for Mono
Group: Development/Languages/Other
@ -473,6 +515,9 @@ Requires: mono-core == %version-%release
Obsoletes: mono-web-forms
Obsoletes: mono-web-services
Obsoletes: mono-remoting
Provides: mono-web-forms
Provides: mono-web-services
Provides: mono-remoting
%description -n mono-web
The Mono Project is an open development initiative that is working to
@ -704,6 +749,12 @@ Authors:
Dietmar Maurer <dietmar@ximian.com>
%post -n mono-devel
/sbin/ldconfig
%postun -n mono-devel
/sbin/ldconfig
%files -n mono-devel
%defattr(-, root, root)
# libs
@ -711,15 +762,20 @@ Authors:
%_libdir/libmono.la
# exes
%_prefix/lib/mono/1.0/makecert.exe*
%_prefix/lib/mono/1.0/mono-api-info.exe*
%_prefix/lib/mono/2.0/mono-api-info.exe*
%_prefix/lib/mono/1.0/mono-api-diff.exe*
%_prefix/lib/mono/1.0/al.exe*
%_prefix/lib/mono/2.0/al.exe*
%_prefix/lib/mono/1.0/caspol.exe*
%_prefix/lib/mono/1.0/cert2spc.exe*
%_prefix/lib/mono/1.0/dtd2xsd.exe*
%_prefix/lib/mono/1.0/genxs.exe*
%_prefix/lib/mono/2.0/httpcfg.exe*
%_prefix/lib/mono/1.0/ictool.exe*
%_prefix/lib/mono/1.0/ilasm.exe*
%_prefix/lib/mono/2.0/ilasm.exe*
%_prefix/lib/mono/1.0/installvst.exe*
%_prefix/lib/mono/1.0/mkbundle.exe*
%_prefix/lib/mono/2.0/mkbundle.exe*
%_prefix/lib/mono/1.0/monop.exe*
@ -747,6 +803,7 @@ Authors:
%_mandir/man1/cert2spc.1.gz
%_mandir/man1/dtd2xsd.1.gz
%_mandir/man1/genxs.1.gz
%_mandir/man1/httpcfg.1.gz
%_mandir/man1/ilasm.1.gz
%_mandir/man1/macpack.1.gz
%_mandir/man1/makecert.1.gz
@ -761,6 +818,7 @@ Authors:
%_mandir/man1/signcode.1.gz
%_mandir/man1/al.1.gz
%_mandir/man1/mono-xmltool.1.gz
%_mandir/man1/vbnc.1.gz
# Shell wrappers
%_bindir/al
%_bindir/al2
@ -769,8 +827,10 @@ Authors:
%_bindir/dtd2xsd
%_bindir/dtd2rng
%_bindir/genxs
%_bindir/httpcfg
%_bindir/ilasm
%_bindir/ilasm2
%_bindir/installvst
%_bindir/macpack
%_bindir/makecert
%_bindir/mkbundle
@ -779,6 +839,9 @@ Authors:
%_bindir/monodis
%_bindir/monop
%_bindir/monop2
%_bindir/mono-api-diff
%_bindir/mono-api-info
%_bindir/mono-api-info2
%_bindir/mono-find-provides
%_bindir/mono-find-requires
%_bindir/mono-shlib-cop
@ -816,62 +879,74 @@ Authors:
%dir %_prefix/share/mono-1.0
%dir %_prefix/share/mono-1.0/mono
%dir %_prefix/share/mono-1.0/mono/cil
#%package -n mono-complete
#Summary: This package contains all runtime Mono packages
#Group: Development/Tools
#Requires: bytefx-data-mysql = %version-%release
#Requires: ibm-data-db2 = %version-%release
#Requires: mono-basic = %version-%release
#Requires: mono-core = %version-%release
#Requires: mono-data = %version-%release
#Requires: mono-data-oracle = %version-%release
#Requires: mono-data-postgresql = %version-%release
#Requires: mono-data-sqlite = %version-%release
#Requires: mono-data-sybase = %version-%release
#Requires: mono-extras = %version-%release
#Requires: mono-ikvm = %version-%release
#Requires: mono-locale-extras = %version-%release
#Requires: mono-web = %version-%release
#Requires: mono-winforms = %version-%release
#
#%description -n mono-complete
#This package contains all runtime Mono packages
#
#%files -n mono-complete
#%defattr(-, root, root)
# Reminder: when removing man pages in this list, they are not
# yet gzipped
%package -n mono-complete
Summary: A .NET Runtime Environment
Group: Development/Languages/Other
Requires: bytefx-data-mysql = %version-%release
Requires: ibm-data-db2 = %version-%release
Requires: mono-basic = %version-%release
Requires: mono-core = %version-%release
Requires: mono-data = %version-%release
Requires: mono-data-oracle = %version-%release
Requires: mono-data-postgresql = %version-%release
Requires: mono-data-sqlite = %version-%release
Requires: mono-data-sybase = %version-%release
Requires: mono-extras = %version-%release
Requires: mono-ikvm = %version-%release
Requires: mono-locale-extras = %version-%release
Requires: mono-web = %version-%release
Requires: mono-winforms = %version-%release
%description -n mono-complete
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.
Authors:
--------
Miguel de Icaza <miguel@ximian.com>
Paolo Molaro <lupus@ximian.com>
Dietmar Maurer <dietmar@ximian.com>
%files -n mono-complete
%defattr(-, root, root)
# Directories
# Put dir files here so we don't have an empty package
%dir %_prefix/lib/mono/compat-1.0
%dir %_prefix/lib/mono/compat-2.0
%prep
%setup -q -n mono-%{version}
%patch16
%patch21
%patch25
%patch26
%patch27
%patch28
%patch29
%build
# What's this for?
rm -f libgc/libtool.m4
autoreconf --force --install
autoreconf --force --install libgc
export CFLAGS="$RPM_OPT_FLAGS -DKDE_ASSEMBLIES='\"/opt/kde3/%{_lib}\"' -fno-strict-aliasing"
./configure \
--host=%{_host} \
--build=%{_build} \
--target=%{_target_platform} \
--program-prefix= \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--prefix=/usr \
--libdir=%{_libdir} \
--libexecdir=%{_prefix}/lib \
--mandir=%{_mandir} \
--sysconfdir=/etc \
export CFLAGS=" $RPM_OPT_FLAGS -DKDE_ASSEMBLIES='\"/opt/kde3/%{_lib}\"' -fno-strict-aliasing"
# From the buildbuddy config
# This is set by default by autoconf, don't need it
#export CFLAGS="$CFLAGS -O2"
# distro specific configure options
%{?configure_options}
%configure \
--with-jit=yes \
--with-ikvm=yes \
--with-sigaltstack=no
make
%install
#
make DESTDIR="$RPM_BUILD_ROOT" install
# Remove unused files
rm $RPM_BUILD_ROOT/usr/%_lib/libMonoPosixHelper.a
rm $RPM_BUILD_ROOT/usr/%_lib/libMonoPosixHelper.la
rm -f $RPM_BUILD_ROOT/usr/%_lib/libikvm-native.a
@ -925,9 +1000,6 @@ rm -R $RPM_BUILD_ROOT/usr/share/jay
rm $RPM_BUILD_ROOT/usr/share/man/man1/jay.1
rm $RPM_BUILD_ROOT/usr/lib/mono/1.0/CorCompare.exe
rm $RPM_BUILD_ROOT/usr/lib/mono/1.0/browsercaps-updater.exe*
rm $RPM_BUILD_ROOT/usr/lib/mono/1.0/mono-api-diff.exe
rm $RPM_BUILD_ROOT/usr/lib/mono/1.0/mono-api-info.exe
rm $RPM_BUILD_ROOT/usr/lib/mono/2.0/mono-api-info.exe
# New files to delete in 1.1.9.2
rm -f $RPM_BUILD_ROOT/usr/%_lib/libMonoSupportW.a
rm -f $RPM_BUILD_ROOT/usr/%_lib/libMonoSupportW.la
@ -938,19 +1010,58 @@ rm -f $RPM_BUILD_ROOT/usr/bin/mbas
# From 1.2.3.1 update
cd $RPM_BUILD_ROOT
rm -f ./usr/lib/mono/2.0/Microsoft.VisualBasic.targets
# Can add these later once httpcfg.exe is installed correctly
rm -f ./usr/bin/httpcfg
# Ugh, forgot that you can't specify man pages as .1.gz ...
rm -f ./usr/share/man/man1/httpcfg.1
# 1.2.4 changes
rm -f ./usr/lib/mono/1.0/culevel.exe*
%clean
rm -rf ${RPM_BUILD_ROOT}
%changelog
* Thu Apr 05 2007 - aj@suse.de
- Add zlib-devel to BuildRequires.
* Thu Mar 29 2007 - aj@suse.de
- Add bison to BuildRequires.
* Tue Jun 05 2007 - wberrier@novell.com
- Fix relevant rpmlint errors/warnings:
-also 'provides' for each 'obsoletes'
-run ldconfig in post/un for mono-core and mono-devel
- Update filelists
- Update to 1.2.4
-680 new methods implemented.
-290 stubs that used to throw NotImplemented exceptions have been
implemented.
-43 methods flagged with "to-do" have been implemented.
-Fixed HandleRef support
-Ability to disable shared mem support
-Mostly complete ASP 2.0 support (webparts is missing)
-asp.net 2.0 performance tripled
-C# 3.0 compiler support
-Mono.DataConvert: fixed implementation of the broken
System.BitConverter
-System.Windows.Forms
-150 bugfixes
-performance fixes
-2.0 profile additions: ToolStrip, Baloon tips, and hundreds of
new methods in various controls
-System.Drawing
-Initial support for metafiles (wmf & emf)
-performance improvements and fixes
-Many printing fixes
-2.0 ADO.Net updates
-Support for amd64 on Solaris
-Security and Crypto:
-Path.GetTempFileName now returns a file with 600 perms
-Fixed HMACSHA384 and HMACSHA512 to use a 128 bits block size
-Signcode tool now support password-protected PVK files
-CryptoStream.Write is now closer to MS behaviour and requires
less memory
-Fixed endian issue in RIPEMD160
-installvst: new tool to install VisualStudio source packages
-New additional sqlite binding: Mono.Data.Sqlite
-better maintained (http://sqlite-dotnet2.sourceforge.net/)
-sqlite3 only (no sqlite2, would need to dump/reload db)
-COM Interop now supports COM Callable Wrappers
-Many of the new 2.0 socket methods are now available
* Fri Apr 13 2007 - wberrier@novell.com
- add %%debug_package so debug packages get created
* Wed Apr 04 2007 - wberrier@novell.com
- Adapt for build service
* Tue Mar 06 2007 - wberrier@suse.de
- atomic fixes from Michael Matz for for s390 and s390x
( bnc #237611 and bxc #80892 )

View File

@ -1,11 +0,0 @@
--- mono/dis/main.c.bak 2005-10-12 02:02:46.000000000 +0200
+++ mono/dis/main.c 2005-10-12 02:03:02.000000000 +0200
@@ -438,7 +438,7 @@
tp = mono_metadata_get_marshal_info (m, i, TRUE);
spec = mono_metadata_parse_marshal_spec (m, tp);
- marshal_str = dis_stringify_marshal_spec (spec);
+ marshal_str = (char *) dis_stringify_marshal_spec (spec);
}
if (cols [MONO_FIELD_FLAGS] & FIELD_ATTRIBUTE_HAS_FIELD_RVA) {

View File

@ -0,0 +1,26 @@
Index: scripts/mono-find-requires.in
===================================================================
--- scripts/mono-find-requires.in (revision 76874)
+++ scripts/mono-find-requires.in (working copy)
@@ -69,7 +69,9 @@
ignore=0
req=""
split($_, toks, "\"")
- for(i=1; i <= length(toks); i++) {
+ toks_size=0
+ for(tok in toks) { toks_size++ }
+ for(i=1; i <= toks_size; i++) {
if(toks[i] ~ /target=/) {
req=toks[i+1]
}
@@ -84,7 +86,9 @@
}
split(attr, os_targets, ",")
- for(j=1; j <= length(os_targets); j++) {
+ os_targets_size=0
+ for(os_target in os_targets) { os_targets_size++ }
+ for(j=1; j <= os_targets_size; j++) {
if(os_targets[j] == "linux") {
found=1
}

View File

@ -1,16 +0,0 @@
Index: supportw.c
===================================================================
--- support/supportw.c (revision 52914)
+++ support/supportw.c (working copy)
@@ -169,9 +169,11 @@
SendMessageA (gpointer hwnd, uint msg, gpointer wparam, gpointer lparam)
{
fprintf (stderr, "SendMessage (%d, 0x%x, 0x%x, 0x%x)\n", hwnd, msg, wparam, lparam);
+ return 0;
}
int
GetWindowLongA (gpointer hwnd, int a)
{
+ return 0;
}

View File

@ -1,12 +0,0 @@
--- mono/metadata/loader.c
+++ mono/metadata/loader.c
@@ -185,6 +185,9 @@
return TRUE;
}
+char* mono_class_get_name_full (MonoClass *klass, gboolean include_ns, gboolean include_arity,
+ gboolean nested_plus);
+
static MonoMethod *
find_method (MonoClass *klass, MonoClass *ic, const char* name, MonoMethodSignature *sig)
{