Hello community, here is the log from the commit of package monodevelop for openSUSE:Factory checked in at 2015-12-25 13:06:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/monodevelop (Old) and /work/SRC/openSUSE:Factory/.monodevelop.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "monodevelop" Changes: -------- --- /work/SRC/openSUSE:Factory/monodevelop/monodevelop.changes 2015-10-30 13:43:24.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.monodevelop.new/monodevelop.changes 2015-12-25 13:06:08.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Dec 7 21:00:00 UTC 2015 - [email protected] + +- Update to 5.10.0.871 + * Dropped nuget-2.8.7-support.patch + * Added fake nuget for use in build process - no external nuget dependencies will be deployed + +------------------------------------------------------------------- Old: ---- monodevelop-5.9.6.23.tar.bz2 nuget-2.8.7-support.patch New: ---- FakeNuget.cs monodevelop-5.10.0.871.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ monodevelop.spec ++++++ --- /var/tmp/diff_new_pack.swyBVv/_old 2015-12-25 13:06:10.000000000 +0100 +++ /var/tmp/diff_new_pack.swyBVv/_new 2015-12-25 13:06:10.000000000 +0100 @@ -23,6 +23,7 @@ BuildRequires: pkgconfig(gnome-sharp-2.0) BuildRequires: pkgconfig(gtk-sharp-2.0) BuildRequires: pkgconfig(libgnomeui-2.0) +BuildRequires: pkgconfig(libssh2) %if 0%{?suse_version} > 1100 BuildRequires: pkgconfig(gconf-sharp-2.0) BuildRequires: pkgconfig(gnome-vfs-sharp-2.0) @@ -30,6 +31,7 @@ %endif BuildRequires: autoconf BuildRequires: automake +BuildRequires: cmake BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: git @@ -38,6 +40,7 @@ BuildRequires: libtool BuildRequires: shared-mime-info BuildRequires: update-desktop-files +BuildRequires: mono(Newtonsoft.Json) >= 7.0.0 BuildRequires: pkgconfig(mono) # mono-find-requires searches for libmono-2.0.so.1: BuildRequires: pkgconfig(mono-2) @@ -50,27 +53,31 @@ # Mono.Cecil.dll requires rsync after it's build BuildRequires: rsync Url: http://www.monodevelop.com/ -Version: 5.9.6 +Version: 5.10.0 Release: 0 Summary: Full-Featured IDE for Mono and Gtk-Sharp License: LGPL-2.1 and MIT Group: Development/Tools/IDE -Source: http://download.mono-project.com/sources/%{name}/%{name}-%{version}.23.tar.bz2 +Source: http://download.mono-project.com/sources/%{name}/%{name}-%{version}.871.tar.bz2 Source2: monodevelop-rpmlintrc +Source3: FakeNuget.cs Patch0: downgrade_to_mvc3.patch -Patch1: nuget-2.8.7-support.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch Requires: mono-basic Requires: mono-web Requires: nunit Requires: pkgconfig Requires: xsp +Provides: mono(libstetic) = 0.0.0.0 +Provides: mono(libsteticui) = 0.0.0.0 Recommends: mono-devel Recommends: mono-tools Recommends: git -Recommends: libgnomeui Suggests: monodevelop-database +# Maybe we should make following 3 requirements mandatory, because of error or silent crash at startup when some of them are missing: +Recommends: libgnomeui +Recommends: mono(gnome-sharp) +Recommends: mono(gconf-sharp) %define _use_internal_dependency_generator 0 %define __find_provides env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-provides && printf "%s\\n" "${filelist[@]}" | /usr/bin/mono-find-provides ; } | sort | uniq' @@ -96,15 +103,31 @@ This package contains development files for the IDE and plugins. %prep -# https://bugzilla.xamarin.com/show_bug.cgi?id=33309 -%setup -q -n monodevelop-%{version} +%setup -q -n monodevelop-5.10 %patch0 -p 1 -%patch1 -p 1 %build %{?env_options} -%configure --libdir=%{_prefix}/lib --disable-update-mimedb +# deploy with nuget will not work in obs, so compile fake NuGet.exe mono executable that only logs command line options +mcs %{S:3} -out:NuGet.exe +mv NuGet.exe external/nuget-binary + +#create fake nuget binary, needed at early build stage +nuget_dir=`mktemp -d` +echo "#!/bin/sh" > $nuget_dir/nuget +echo "mono \"$PWD/external/nuget-binary/NuGet.exe\" \"\$@\"" >> $nuget_dir/nuget +chmod 755 $nuget_dir/nuget +export PATH="$nuget_dir:$PATH" + +# manually build external/libgit2sharp/Lib/CustomBuildTasks library, fixes external/libgit2sharp/LibGit2Sharp build failure +pushd external/libgit2sharp/Lib/CustomBuildTasks +xbuild /property:Configuration=Release +cp bin/Release/*.dll . +popd + +# perform configuration and build +%configure --enable-tests=no --enable-gnomeplatform=yes --enable-subversion=yes --enable-git=yes --libdir=%{_prefix}/lib --disable-update-mimedb make %install @@ -122,9 +145,11 @@ ln -s %{_prefix}/lib/mono/nunit/nunit.core.interfaces.dll %{buildroot}%{_prefix}/lib/monodevelop/AddIns/NUnit/ ln -s %{_prefix}/lib/mono/nunit/nunit.framework.dll %{buildroot}%{_prefix}/lib/monodevelop/AddIns/NUnit/ ln -s %{_prefix}/lib/mono/nunit/nunit.util.dll %{buildroot}%{_prefix}/lib/monodevelop/AddIns/NUnit/ - %find_lang %{name} +# show fake nuget logfile +cat /tmp/fake-nuget.log + %if 0%{?suse_version} > 1220 %fdupes %{buildroot}%{_prefix} %endif ++++++ FakeNuget.cs ++++++ using System; using System.IO; using System.Collections.Generic; namespace FakeNuget { class MainClass { public static void Main(string[] args) { var output = new List<string>(); foreach(var arg in args) output.Add(arg); output.Add("================================================================================"); File.AppendAllLines("/tmp/fake-nuget.log", output); } } } ++++++ monodevelop-5.9.6.23.tar.bz2 -> monodevelop-5.10.0.871.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/monodevelop/monodevelop-5.9.6.23.tar.bz2 /work/SRC/openSUSE:Factory/.monodevelop.new/monodevelop-5.10.0.871.tar.bz2 differ: char 11, line 1
