diff --git a/5.10.3.tar.gz b/5.10.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..9bd4a113abc8e1476b97b5950778c0b190491327 Binary files /dev/null and b/5.10.3.tar.gz differ diff --git a/enhance-to-reduce-waiting-time-in-some-scenario.patch b/enhance-to-reduce-waiting-time-in-some-scenario.patch new file mode 100644 index 0000000000000000000000000000000000000000..0317564a3a2a8e16db33b703068f778ff5c830a2 --- /dev/null +++ b/enhance-to-reduce-waiting-time-in-some-scenario.patch @@ -0,0 +1,25 @@ +From e6b6908669ab2cde18e70ea21f1a56f005e68aa9 Mon Sep 17 00:00:00 2001 +From: kkz +Date: Mon, 6 Jan 2025 16:04:48 +0800 +Subject: [PATCH] enhance to reduce waiting time in some scenario + +--- + pulse/pulse.go | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pulse/pulse.go b/pulse/pulse.go +index bef82d2..1a0ebfb 100644 +--- a/pulse/pulse.go ++++ b/pulse/pulse.go +@@ -357,7 +357,7 @@ func GetContextForced() *Context { + return GetContext() + } + +-var PulseInitTimeout = 15 ++var PulseInitTimeout = 5 + + func GetContext() *Context { + __ctxLocker.Lock() +-- +2.43.0 + diff --git a/go-lib-5.9.1.tar.gz b/go-lib-5.9.1.tar.gz deleted file mode 100644 index 4e8903aa30f43a7e6b05301731cc64227129e263..0000000000000000000000000000000000000000 Binary files a/go-lib-5.9.1.tar.gz and /dev/null differ diff --git a/golang-deepin-go-lib.spec b/golang-deepin-go-lib.spec index 724c325d5afd595cc03154c62871638b6979d196..a1ad8821a807fe0cff49fe336894cde3ae4cd9b6 100644 --- a/golang-deepin-go-lib.spec +++ b/golang-deepin-go-lib.spec @@ -1,4 +1,3 @@ -%define anolis_release 3 # Run tests in check section # disable for bootstrapping %bcond_with check @@ -16,12 +15,13 @@ Name: go-lib -Version: 5.9.1 -Release: 1.%{anolis_release}%{?dist} +Version: 5.10.3 +Release: 1%{?dist}.01 Summary: Go bindings for Deepin Desktop Environment development License: GPLv3 URL: https://github.com/linuxdeepin/go-lib -Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz +Source0: %{version}.tar.gz +Patch9000: enhance-to-reduce-waiting-time-in-some-scenario.patch BuildRequires: compiler(go-compiler) @@ -34,7 +34,7 @@ Summary: %{summary} BuildArch: noarch %if %{with check} # Required for tests -BuildRequires: deepin-gir-generator +BuildRequires: go-gir-generator BuildRequires: dbus-x11 BuildRequires: iso-codes BuildRequires: mobile-broadband-provider-info @@ -83,14 +83,14 @@ echo "%%{gopath}/src/%%{goipath}/CHANGELOG.md" >> devel.file-list %license LICENSE %changelog -* Tue Nov 07 2023 yangxianzhao - 5.9.1-1.3 -- rebuild for qt +* Mon Jan 06 2025 zhaoshuang - 5.10.3-1.01 +- fix: enhance-to-reduce-waiting-time-in-some-scenario(bugid:287937) -* Tue Sep 19 2023 yangxianzhao - 5.9.1-1.01.2 -- fix build error on a23 +* Mon Oct 14 2024 liweigang - 5.10.3-1 +- update: update to version 5.10.3 -* Mon Aug 28 2023 yangxianzhao - 5.9.1-1.01.1 -- Specification spec file +* Fri Aug 18 2023 liuzhilin - 5.9.3-1 +- update: update to 5.9.3 * Sun Feb 26 2023 mahailiang - 5.9.1-1.01 - rebuild: rebuild for uniontech