commit gtk-sharp3 for openSUSE:Factory

2020-10-22 Thread root
Hello community,

here is the log from the commit of package gtk-sharp3 for openSUSE:Factory 
checked in at 2020-10-22 14:25:20

Comparing /work/SRC/openSUSE:Factory/gtk-sharp3 (Old)
 and  /work/SRC/openSUSE:Factory/.gtk-sharp3.new.3463 (New)


Package is "gtk-sharp3"

Thu Oct 22 14:25:20 2020 rev:7 rq:843266 version:2.99.4

Changes:

--- /work/SRC/openSUSE:Factory/gtk-sharp3/gtk-sharp3.changes2020-09-29 
19:03:34.785902960 +0200
+++ /work/SRC/openSUSE:Factory/.gtk-sharp3.new.3463/gtk-sharp3.changes  
2020-10-22 14:26:46.454992233 +0200
@@ -1,0 +2,5 @@
+Tue Oct 20 18:34:17 UTC 2020 - Bernhard Wiedemann 
+
+- Fix URL in .spec file
+
+---



Other differences:
--
++ gtk-sharp3.spec ++
--- /var/tmp/diff_new_pack.Xwcu2u/_old  2020-10-22 14:26:46.906992638 +0200
+++ /var/tmp/diff_new_pack.Xwcu2u/_new  2020-10-22 14:26:46.906992638 +0200
@@ -24,7 +24,7 @@
 Summary:C-Sharp Language Bindings for GTK+
 License:GPL-2.0-only
 Group:  System/GUI/GNOME
-URL:https:/github.com/mono/gtk-sharp
+URL:https://github.com/mono/gtk-sharp
 Source: gtk-sharp3-%{vsuffix}.tar.xz
 Source99:   create-source-archive.sh
 Patch1: profiler-update.patch




commit gtk-sharp3 for openSUSE:Factory

2020-09-29 Thread root
Hello community,

here is the log from the commit of package gtk-sharp3 for openSUSE:Factory 
checked in at 2020-09-29 19:03:25

Comparing /work/SRC/openSUSE:Factory/gtk-sharp3 (Old)
 and  /work/SRC/openSUSE:Factory/.gtk-sharp3.new.4249 (New)


Package is "gtk-sharp3"

Tue Sep 29 19:03:25 2020 rev:6 rq:838401 version:2.99.4

Changes:

--- /work/SRC/openSUSE:Factory/gtk-sharp3/gtk-sharp3.changes2020-04-16 
23:02:57.363659419 +0200
+++ /work/SRC/openSUSE:Factory/.gtk-sharp3.new.4249/gtk-sharp3.changes  
2020-09-29 19:03:34.785902960 +0200
@@ -1,0 +2,7 @@
+Tue Sep 29 01:23:22 UTC 2020 - Marguerite Su 
+
+- drop cs8-build-fix.patch, upstreamed
+- fix libexecdir. mono can't use libexecdir because /usr/lib
+  is fixed in pkgconfig
+
+---

Old:

  cs8-build-fix.patch
  gtk-sharp3-git.2017.01.16.9ef7d3f39.tar.xz

New:

  gtk-sharp3-git.2020.01.10.9dc89137b.tar.xz



Other differences:
--
++ gtk-sharp3.spec ++
--- /var/tmp/diff_new_pack.13EN5A/_old  2020-09-29 19:03:36.697905282 +0200
+++ /var/tmp/diff_new_pack.13EN5A/_new  2020-09-29 19:03:36.701905287 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define vsuffix git.2017.01.16.9ef7d3f39
+%define vsuffix git.2020.01.10.9dc89137b
 Name:   gtk-sharp3
 # package "libmono-profiler-gui-thread-check0-devel" does not allow us to add 
even a single symbol to version string without invoking rpmlint warning "W: 
filename-too-long-for-joliet"
 Version:2.99.4
@@ -24,11 +24,10 @@
 Summary:C-Sharp Language Bindings for GTK+
 License:GPL-2.0-only
 Group:  System/GUI/GNOME
-URL:https://github.com/mono/gtk-sharp
+URL:https:/github.com/mono/gtk-sharp
 Source: gtk-sharp3-%{vsuffix}.tar.xz
 Source99:   create-source-archive.sh
 Patch1: profiler-update.patch
-Patch2: cs8-build-fix.patch
 BuildRequires:  gtkhtml2-devel
 BuildRequires:  libmono-2_0-devel
 BuildRequires:  librsvg-devel
@@ -148,12 +147,11 @@
 %prep
 %setup -q -n gtk-sharp3-%{vsuffix}
 %patch1 -p1
-%patch2 -p1
 NOCONFIGURE=1 ./autogen.sh
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
-%configure --libexecdir=%{_libexecdir} --enable-debug
+%configure --libexecdir=%{_prefix}/lib/ --enable-debug
 make %{?_smp_mflags}
 
 %install
@@ -168,18 +166,18 @@
 %{_libdir}/libgtksharpglue-3.so
 %{_libdir}/libgiosharpglue-3.so
 %{_libdir}/libpangosharpglue-3.so
-%{_libexecdir}/mono/gtk-sharp-3.0/atk-sharp.dll
-%{_libexecdir}/mono/gtk-sharp-3.0/cairo-sharp.dll
-%{_libexecdir}/mono/gtk-sharp-3.0/gdk-sharp.dll
-%{_libexecdir}/mono/gtk-sharp-3.0/gtk-dotnet.dll
-%{_libexecdir}/mono/gtk-sharp-3.0/gtk-sharp.dll
-%{_libexecdir}/mono/gtk-sharp-3.0/pango-sharp.dll
-%{_libexecdir}/mono/gac/atk-sharp/
-%{_libexecdir}/mono/gac/cairo-sharp/
-%{_libexecdir}/mono/gac/gdk-sharp/
-%{_libexecdir}/mono/gac/gtk-dotnet/
-%{_libexecdir}/mono/gac/gtk-sharp/
-%{_libexecdir}/mono/gac/pango-sharp/
+%{_prefix}/lib/mono/gtk-sharp-3.0/atk-sharp.dll
+%{_prefix}/lib/mono/gtk-sharp-3.0/cairo-sharp.dll
+%{_prefix}/lib/mono/gtk-sharp-3.0/gdk-sharp.dll
+%{_prefix}/lib/mono/gtk-sharp-3.0/gtk-dotnet.dll
+%{_prefix}/lib/mono/gtk-sharp-3.0/gtk-sharp.dll
+%{_prefix}/lib/mono/gtk-sharp-3.0/pango-sharp.dll
+%{_prefix}/lib/mono/gac/atk-sharp/
+%{_prefix}/lib/mono/gac/cairo-sharp/
+%{_prefix}/lib/mono/gac/gdk-sharp/
+%{_prefix}/lib/mono/gac/gtk-dotnet/
+%{_prefix}/lib/mono/gac/gtk-sharp/
+%{_prefix}/lib/mono/gac/pango-sharp/
 
 %files devel
 %{_libdir}/pkgconfig/gtk-sharp-3.0.pc
@@ -188,16 +186,16 @@
 %{_libdir}/pkgconfig/glib-sharp-3.0.pc
 
 %files gapi
-%dir %{_libexecdir}/gapi-3.0
+%dir %{_prefix}/lib/gapi-3.0
 %{_bindir}/gapi3-codegen
 %{_bindir}/gapi3-fixup
 %{_bindir}/gapi3-parser
 %{_datadir}/gapi-3.0
-%{_libexecdir}/gapi-3.0/gapi_codegen.exe
-%{_libexecdir}/gapi-3.0/gapi-fixup.exe
-%{_libexecdir}/gapi-3.0/gapi-parser.exe
-%{_libexecdir}/gapi-3.0/gapi_pp.pl
-%{_libexecdir}/gapi-3.0/gapi2xml.pl
+%{_prefix}/lib/gapi-3.0/gapi_codegen.exe
+%{_prefix}/lib/gapi-3.0/gapi-fixup.exe
+%{_prefix}/lib/gapi-3.0/gapi-parser.exe
+%{_prefix}/lib/gapi-3.0/gapi_pp.pl
+%{_prefix}/lib/gapi-3.0/gapi2xml.pl
 
 %files -n gtk-sharp3-gapi-devel
 %{_libdir}/pkgconfig/gapi-3.0.pc
@@ -205,15 +203,15 @@
 %files -n gtk-sharp3-doc
 %license COPYING
 %doc README
-%{_libexecdir}/monodoc
+%{_prefix}/lib/monodoc
 
 %files -n glib-sharp3
-%{_libexecdir}/mono/gac/glib-sharp/
-%{_libexecdir}/mono/gtk-sharp-3.0/glib-sharp.dll
+%{_prefix}/lib/mono/gac/glib-sharp/
+%{_prefix}/lib/mono/gtk-sharp-3.0/glib-sharp.dll
 
 %files -n gio-sharp3
-%{_libexecdir}/mono/gac/gio-sharp/
-%{_libexecdir}/mono/gtk-sharp-3.0/gio-sharp.dll
+%{_prefix}/lib/mono/gac/gio-sharp/
+%{_prefix}/lib/mono/gtk-sharp-3.0/gio-sharp.dll

commit gtk-sharp3 for openSUSE:Factory

2020-04-16 Thread root
Hello community,

here is the log from the commit of package gtk-sharp3 for openSUSE:Factory 
checked in at 2020-04-16 23:02:56

Comparing /work/SRC/openSUSE:Factory/gtk-sharp3 (Old)
 and  /work/SRC/openSUSE:Factory/.gtk-sharp3.new.2738 (New)


Package is "gtk-sharp3"

Thu Apr 16 23:02:56 2020 rev:5 rq:794413 version:2.99.4

Changes:

--- /work/SRC/openSUSE:Factory/gtk-sharp3/gtk-sharp3.changes2018-06-22 
13:34:41.736175688 +0200
+++ /work/SRC/openSUSE:Factory/.gtk-sharp3.new.2738/gtk-sharp3.changes  
2020-04-16 23:02:57.363659419 +0200
@@ -1,0 +2,6 @@
+Fri Apr 10 22:21:38 UTC 2020 - Michael Gorse 
+
+- Add cs8-build-fix.patch: fix build failure caused by C# 8
+  changes in mcs.
+
+---

New:

  cs8-build-fix.patch



Other differences:
--
++ gtk-sharp3.spec ++
--- /var/tmp/diff_new_pack.ies4hL/_old  2020-04-16 23:02:58.383660187 +0200
+++ /var/tmp/diff_new_pack.ies4hL/_new  2020-04-16 23:02:58.383660187 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gtk-sharp3
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -28,6 +28,7 @@
 Source: gtk-sharp3-%{vsuffix}.tar.xz
 Source99:   create-source-archive.sh
 Patch1: profiler-update.patch
+Patch2: cs8-build-fix.patch
 BuildRequires:  gtkhtml2-devel
 BuildRequires:  libmono-2_0-devel
 BuildRequires:  librsvg-devel
@@ -147,6 +148,7 @@
 %prep
 %setup -q -n gtk-sharp3-%{vsuffix}
 %patch1 -p1
+%patch2 -p1
 NOCONFIGURE=1 ./autogen.sh
 
 %build

++ cs8-build-fix.patch ++
>From a00552ad68ae349e89e440dca21b86dbd6bccd30 Mon Sep 17 00:00:00 2001
From: Ankit Jain 
Date: Tue, 19 Feb 2019 23:53:27 -0500
Subject: [PATCH] Fix build failure with mcs caused by C#8 changes in mcs
 (#263)

Recent addition of C#8 features to mcs possibly broke this:

```
mcs -out:WidgetViewer.exe -r:../../glib/glib-sharp.dll 
-r:../../pango/pango-sharp.dll -r:../../atk/atk-sharp.dll 
-r:../../gdk/gdk-sharp.dll -r:../../gtk/gtk-sharp.dll ./TestCheckButton.cs 
./TestColorSelection.cs ./TestRadioButton.cs ./TestRange.cs ./TestStatusbar.cs 
./TestDialog.cs ./TestFlipping.cs ./TestSizeGroup.cs ./TestCombo.cs 
./TestComboBox.cs ./WidgetViewer.cs
./TestCombo.cs(17,14): warning CS0612: `Gtk.Combo' is obsolete
./TestRange.cs(35,6): error CS0104: `Range' is an ambiguous reference between 
`System.Range' and `Gtk.Range'
@/external/bockbuild/stage/lib/mono/4.5/mscorlib.dll (Location of the symbol 
related to previous error)
@/external/bockbuild/builds/gtk-sharp-None/sample/test/../../gtk/gtk-sharp.dll 
(Location of the symbol related to previous error)
./TestRange.cs(35,13): error CS0030: Cannot convert type `Gtk.HScale' to 
`System.Range'
./TestRange.cs(42,6): error CS0104: `Range' is an ambiguous reference between 
`System.Range' and `Gtk.Range'
@/external/bockbuild/stage/lib/mono/4.5/mscorlib.dll (Location of the symbol 
related to previous error)
@/external/bockbuild/builds/gtk-sharp-None/sample/test/../../gtk/gtk-sharp.dll 
(Location of the symbol related to previous error)
./TestRange.cs(42,13): error CS0030: Cannot convert type `Gtk.HScrollbar' to 
`System.Range'
./TestRange.cs(62,6): error CS0104: `Range' is an ambiguous reference between 
`System.Range' and `Gtk.Range'
@/external/bockbuild/stage/lib/mono/4.5/mscorlib.dll (Location of the symbol 
related to previous error)
@/external/bockbuild/builds/gtk-sharp-None/sample/test/../../gtk/gtk-sharp.dll 
(Location of the symbol related to previous error)
./TestRange.cs(62,13): error CS0030: Cannot convert type `Gtk.VScale' to 
`System.Range'
```

This is because the compiler is resolving `Range` in the test as `System.Range`
instead of `Gtk.Range`, so we disambiguate it.

/cc @marek-safar
---
 sample/test/TestRange.cs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sample/test/TestRange.cs b/sample/test/TestRange.cs
index 35fc8a6dd..d44a77d85 100644
--- a/sample/test/TestRange.cs
+++ b/sample/test/TestRange.cs
@@ -9,6 +9,8 @@
 using System;
 
 using Gtk;
+// disambiguate, Gtk.Range vs System.Range
+using Range=Gtk.Range;
 
 namespace WidgetViewer {
 
-- 
2.26.0




commit gtk-sharp3 for openSUSE:Factory

2018-06-22 Thread root
Hello community,

here is the log from the commit of package gtk-sharp3 for openSUSE:Factory 
checked in at 2018-06-22 13:34:38

Comparing /work/SRC/openSUSE:Factory/gtk-sharp3 (Old)
 and  /work/SRC/openSUSE:Factory/.gtk-sharp3.new (New)


Package is "gtk-sharp3"

Fri Jun 22 13:34:38 2018 rev:4 rq:618067 version:2.99.4

Changes:

--- /work/SRC/openSUSE:Factory/gtk-sharp3/gtk-sharp3.changes2018-02-12 
10:15:13.189494771 +0100
+++ /work/SRC/openSUSE:Factory/.gtk-sharp3.new/gtk-sharp3.changes   
2018-06-22 13:34:41.736175688 +0200
@@ -1,0 +2,6 @@
+Mon Jun 11 19:05:39 UTC 2018 - bjorn@gmail.com
+
+- Drop pkgconfig(vte) BuildRequires: No longer needed, nor used.
+- Run spec-cleaner, modernize spec file.
+
+---



Other differences:
--
++ gtk-sharp3.spec ++
--- /var/tmp/diff_new_pack.SwqEbD/_old  2018-06-22 13:34:42.616143159 +0200
+++ /var/tmp/diff_new_pack.SwqEbD/_new  2018-06-22 13:34:42.620143011 +0200
@@ -17,15 +17,14 @@
 
 
 %define vsuffix git.2017.01.16.9ef7d3f39
-
 Name:   gtk-sharp3
 # package "libmono-profiler-gui-thread-check0-devel" does not allow us to add 
even a single symbol to version string without invoking rpmlint warning "W: 
filename-too-long-for-joliet"
 Version:2.99.4
 Release:0
 Summary:C-Sharp Language Bindings for GTK+
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  System/GUI/GNOME
-Url:https://github.com/mono/gtk-sharp
+URL:https://github.com/mono/gtk-sharp
 Source: gtk-sharp3-%{vsuffix}.tar.xz
 Source99:   create-source-archive.sh
 Patch1: profiler-update.patch
@@ -35,11 +34,9 @@
 BuildRequires:  libtool
 BuildRequires:  mono-devel
 BuildRequires:  monodoc-core
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
-BuildRequires:  pkgconfig(vte)
 Requires:   mono-core
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 This package contains C-Sharp bindings for Gtk+, Gdk, Atk, and Pango.
@@ -47,7 +44,7 @@
 
 %package devel
 Summary:.NET/C-Sharp Bindings for GIO
-License:LGPL-2.1
+License:LGPL-2.1-only
 Group:  Development/Languages/Mono
 Requires:   gtk-sharp3 = %{version}
 
@@ -56,7 +53,7 @@
 
 %package gapi
 Summary:C Source Parser and C Generator
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  System/GUI/GNOME
 Requires:   perl-XML-LibXML
 Requires:   perl-XML-LibXML-Common
@@ -69,7 +66,7 @@
 
 %package -n gtk-sharp3-gapi-devel
 Summary:.NET/C-Sharp Bindings for GIO
-License:LGPL-2.1
+License:LGPL-2.1-only
 Group:  Development/Languages/Mono
 Requires:   gtk-sharp3-gapi = %{version}
 
@@ -78,7 +75,7 @@
 
 %package -n gtk-sharp3-doc
 Summary:Monodoc documentation for gtk-sharp2
-License:LGPL-2.1
+License:LGPL-2.1-only
 Group:  System/GUI/GNOME
 
 %description -n gtk-sharp3-doc
@@ -86,7 +83,7 @@
 
 %package -n glib-sharp3
 Summary:Mono bindings for glib
-License:LGPL-2.1
+License:LGPL-2.1-only
 Group:  System/GUI/GNOME
 
 %description -n glib-sharp3
@@ -94,7 +91,7 @@
 
 %package -n gio-sharp3
 Summary:Mono bindings for gio
-License:LGPL-2.1
+License:LGPL-2.1-only
 Group:  System/GUI/GNOME
 
 %description -n gio-sharp3
@@ -102,7 +99,7 @@
 
 %package -n gio-sharp3-devel
 Summary:.NET/C-Sharp Bindings for GIO
-License:LGPL-2.1
+License:LGPL-2.1-only
 Group:  Development/Languages/Mono
 Requires:   gio-sharp3 = %{version}
 
@@ -111,7 +108,7 @@
 
 %package -n libmono-profiler-gui-thread-check0
 Summary:Profiler for gtk-sharp3
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Development/Languages/Mono
 
 %description -n libmono-profiler-gui-thread-check0
@@ -119,12 +116,11 @@
 part of the install for debugging purposes.
 
 %post -n libmono-profiler-gui-thread-check0 -p /sbin/ldconfig
-
 %postun -n libmono-profiler-gui-thread-check0 -p /sbin/ldconfig
 
 %package -n libmono-profiler-gui-thread-check0-devel
 Summary:Profiler for gtk-sharp3
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Development/Languages/Mono
 Requires:   libmono-profiler-gui-thread-check0 = %{version}
 
@@ -134,7 +130,7 @@
 
 %package -n gtk-sharp3-complete
 Summary:GTK+ and GNOME bindings for Mono (virtual package)
-License:LGPL-2.1
+License:LGPL-2.1-only
 Group:  System/GUI/GNOME
 Requires:   glib-sharp3 = %{version}
 Requires:   gtk-sharp3 = %{version}
@@ -163,11 +159,9 @@
 rm 

commit gtk-sharp3 for openSUSE:Factory

2018-02-12 Thread root
Hello community,

here is the log from the commit of package gtk-sharp3 for openSUSE:Factory 
checked in at 2018-02-12 10:15:11

Comparing /work/SRC/openSUSE:Factory/gtk-sharp3 (Old)
 and  /work/SRC/openSUSE:Factory/.gtk-sharp3.new (New)


Package is "gtk-sharp3"

Mon Feb 12 10:15:11 2018 rev:3 rq:575226 version:2.99.4

Changes:

--- /work/SRC/openSUSE:Factory/gtk-sharp3/gtk-sharp3.changes2015-12-29 
12:59:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.gtk-sharp3.new/gtk-sharp3.changes   
2018-02-12 10:15:13.189494771 +0100
@@ -1,0 +2,9 @@
+Sat Feb 03 00:00:00 UTC 2018 - fwdsbs.to.1...@xoxy.net
+
+- Update to version 2.99.4:
+  * No release tarball was created by developers, so, use manually created 
tarball instead
+(using git commit 9ef7d3f394b9d485674c59e92db24ac66fd9f16b).
+- Add profiler-update.patch:
+  * Fix profiler module with mono 5.8.0, (more info at: 
https://github.com/mono/mono/pull/5091)
+
+---
@@ -94 +102,0 @@
-

Old:

  gtk-sharp-2.99.3.tar.gz

New:

  create-source-archive.sh
  gtk-sharp3-git.2017.01.16.9ef7d3f39.tar.xz
  profiler-update.patch



Other differences:
--
++ gtk-sharp3.spec ++
--- /var/tmp/diff_new_pack.FXjVtf/_old  2018-02-12 10:15:14.305454556 +0100
+++ /var/tmp/diff_new_pack.FXjVtf/_new  2018-02-12 10:15:14.305454556 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gtk-sharp3
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,19 @@
 #
 
 
+%define vsuffix git.2017.01.16.9ef7d3f39
+
 Name:   gtk-sharp3
-Version:2.99.3
+# package "libmono-profiler-gui-thread-check0-devel" does not allow us to add 
even a single symbol to version string without invoking rpmlint warning "W: 
filename-too-long-for-joliet"
+Version:2.99.4
 Release:0
 Summary:C-Sharp Language Bindings for GTK+
 License:GPL-2.0
 Group:  System/GUI/GNOME
 Url:https://github.com/mono/gtk-sharp
-Source: 
https://github.com/mono/gtk-sharp/archive/%{version}/gtk-sharp-%{version}.tar.gz
+Source: gtk-sharp3-%{vsuffix}.tar.xz
+Source99:   create-source-archive.sh
+Patch1: profiler-update.patch
 BuildRequires:  gtkhtml2-devel
 BuildRequires:  libmono-2_0-devel
 BuildRequires:  librsvg-devel
@@ -144,7 +149,8 @@
 package which depends on all gtk-sharp3 subpackages)
 
 %prep
-%setup -q -n gtk-sharp-%{version}
+%setup -q -n gtk-sharp3-%{vsuffix}
+%patch1 -p1
 NOCONFIGURE=1 ./autogen.sh
 
 %build

++ create-source-archive.sh ++
#!/bin/bash
#

git_commit_fallback="master"
git_commit="$1"
name="gtk-sharp3"
git_remote="https://github.com/mono/gtk-sharp.git;

script_dir="$( cd "$( dirname "$0" )" && pwd )"
repo_dir="$name-tmp"
[[ -z $git_commit ]] && git_commit="$git_commit_fallback"

set -e

cd "$script_dir"
mkdir -p "$repo_dir"
cd "$repo_dir"
git init
git remote add ext "$git_remote"

echo "fetching"
git fetch -f --all
git checkout -f "$git_commit" || git_commit_failed="true"

if [[ $git_commit_failed = true ]]; then
  echo "failed to checkout requested commit, trying to use branch $git_commit 
instead"
  git branch -f "temp" "ext/$git_commit"
  git checkout -f "temp"
  git_commit=`git rev-parse HEAD`
fi

cdate=`git show -s --format=%ci $git_commit | cut -d' ' -f 1 | sed 's|-|.|g'`
hash=`git show -s --format=%h $git_commit`
repo_dir_r="$name-git.$cdate.$hash"

git submodule update --init
rm -rf .git
rm -f .gitattributes
rm -f .gitignore
rm -f .gitmodules
cd "$script_dir"
mv "$repo_dir" "$repo_dir_r"
tar cf "$repo_dir_r.tar" "$repo_dir_r" --owner=0 --group=0
rm -fv "$repo_dir_r.tar.xz"
xz -9e "$repo_dir_r.tar"
rm -rf "$repo_dir_r"
++ profiler-update.patch ++
diff -uprN 
gtk-sharp-2.99.4.git.1484570724.9ef7d3f39.old/gtk/gui-thread-check/profiler/gui-thread-check.c
 
gtk-sharp-2.99.4.git.1484570724.9ef7d3f39/gtk/gui-thread-check/profiler/gui-thread-check.c
--- 
gtk-sharp-2.99.4.git.1484570724.9ef7d3f39.old/gtk/gui-thread-check/profiler/gui-thread-check.c
  2017-01-16 15:45:24.0 +0300
+++ 
gtk-sharp-2.99.4.git.1484570724.9ef7d3f39/gtk/gui-thread-check/profiler/gui-thread-check.c
  2018-02-03 04:58:39.469026072 +0300
@@ -93,6 +93,5 @@ mono_profiler_startup (const char *desc)

mono_profiler_install (NULL, NULL);
mono_profiler_install_enter_leave (simple_method_enter, NULL);
-   mono_profiler_set_events (MONO_PROFILE_ENTER_LEAVE);
 }
 



commit gtk-sharp3 for openSUSE:Factory

2015-12-29 Thread h_root
Hello community,

here is the log from the commit of package gtk-sharp3 for openSUSE:Factory 
checked in at 2015-12-29 12:59:14

Comparing /work/SRC/openSUSE:Factory/gtk-sharp3 (Old)
 and  /work/SRC/openSUSE:Factory/.gtk-sharp3.new (New)


Package is "gtk-sharp3"

Changes:

--- /work/SRC/openSUSE:Factory/gtk-sharp3/gtk-sharp3.changes2015-02-25 
02:18:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.gtk-sharp3.new/gtk-sharp3.changes   
2015-12-29 12:59:20.0 +0100
@@ -1,0 +2,7 @@
+Fri Dec 25 01:37:11 UTC 2015 - i...@marguerite.su
+
+- new upstream url: https://github.com/mono/gtk-sharp
+- use uptream source
+- add misssing post/postun
+
+---

Old:

  gtk-sharp-2.99.3.tar.xz

New:

  gtk-sharp-2.99.3.tar.gz



Other differences:
--
++ gtk-sharp3.spec ++
--- /var/tmp/diff_new_pack.tb22bF/_old  2015-12-29 12:59:21.0 +0100
+++ /var/tmp/diff_new_pack.tb22bF/_new  2015-12-29 12:59:21.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gtk-sharp3
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,19 +15,19 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define _name gtk-sharp
 
 Name:   gtk-sharp3
-License:GPL-2.0
-Summary:C-Sharp Language Bindings for GTK+
-Url:http://www.mono-project.com/GtkSharp
-Group:  System/GUI/GNOME
 Version:2.99.3
 Release:0
-Source: %{_name}-%{version}.tar.xz
+Summary:C-Sharp Language Bindings for GTK+
+License:GPL-2.0
+Group:  System/GUI/GNOME
+Url:https://github.com/mono/gtk-sharp
+Source: 
https://github.com/mono/gtk-sharp/archive/%{version}/gtk-sharp-%{version}.tar.gz
 BuildRequires:  gtkhtml2-devel
-BuildRequires:  librsvg-devel
 BuildRequires:  libmono-2_0-devel
+BuildRequires:  librsvg-devel
+BuildRequires:  libtool
 BuildRequires:  mono-devel
 BuildRequires:  monodoc-core
 BuildRequires:  pkg-config
@@ -41,8 +41,8 @@
 for use with Mono.
 
 %package devel
-License:LGPL-2.1
 Summary:.NET/C-Sharp Bindings for GIO
+License:LGPL-2.1
 Group:  Development/Languages/Mono
 Requires:   gtk-sharp3 = %{version}
 
@@ -50,8 +50,8 @@
 Files for developing programs using the C-Sharp bindings for Gtk+, Gdk, Atk, 
and Pango.
 
 %package gapi
-License:GPL-2.0
 Summary:C Source Parser and C Generator
+License:GPL-2.0
 Group:  System/GUI/GNOME
 Requires:   perl-XML-LibXML
 Requires:   perl-XML-LibXML-Common
@@ -63,8 +63,8 @@
 compile a project that uses it to bind such a library.
 
 %package -n gtk-sharp3-gapi-devel
-License:LGPL-2.1
 Summary:.NET/C-Sharp Bindings for GIO
+License:LGPL-2.1
 Group:  Development/Languages/Mono
 Requires:   gtk-sharp3-gapi = %{version}
 
@@ -72,32 +72,32 @@
 Files for developing programs that use gapi-sharp3.
 
 %package -n gtk-sharp3-doc
-License:LGPL-2.1
 Summary:Monodoc documentation for gtk-sharp2
+License:LGPL-2.1
 Group:  System/GUI/GNOME
 
 %description -n gtk-sharp3-doc
 This package contains the gtk-sharp2 documentation for monodoc.
 
 %package -n glib-sharp3
-License:LGPL-2.1
 Summary:Mono bindings for glib
+License:LGPL-2.1
 Group:  System/GUI/GNOME
 
 %description -n glib-sharp3
 This package contains Mono bindings for glib.
 
 %package -n gio-sharp3
-License:LGPL-2.1
 Summary:Mono bindings for gio
+License:LGPL-2.1
 Group:  System/GUI/GNOME
 
 %description -n gio-sharp3
 This package contains Mono bindings for gio-sharp.
 
 %package -n gio-sharp3-devel
-License:LGPL-2.1
 Summary:.NET/C-Sharp Bindings for GIO
+License:LGPL-2.1
 Group:  Development/Languages/Mono
 Requires:   gio-sharp3 = %{version}
 
@@ -105,8 +105,8 @@
 Files for developing programs that use gio-sharp
 
 %package -n libmono-profiler-gui-thread-check0
-License:   GPL-2.0
 Summary:   Profiler for gtk-sharp3
+License:GPL-2.0
 Group: Development/Languages/Mono
 
 %description -n libmono-profiler-gui-thread-check0
@@ -114,11 +114,12 @@
 part of the install for debugging purposes.
 
 %post -n libmono-profiler-gui-thread-check0 -p /sbin/ldconfig
+
 %postun -n libmono-profiler-gui-thread-check0 -p /sbin/ldconfig
 
 %package -n libmono-profiler-gui-thread-check0-devel
-License:   GPL-2.0
 Summary: