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.changes 2015-12-29 12:59:20.000000000 +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 - [email protected] + +- 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.000000000 +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); }
