Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
5ada0f0b92
!18 [sync] PR-16: rebuild for glib2 without sysprof
From: @openeuler-sync-bot 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2024-02-19 12:39:17 +00:00
hanhuihui
3f512f928b rebuild for glib2 without sysprof
(cherry picked from commit a0bc8f6bc068e3d0940a14c5d156f66054aae215)
2024-02-19 20:26:06 +08:00
openeuler-ci-bot
26388bc8bf
!10 修复glib2-static安装时找不到sysprof-capture-static安装依赖
From: @zppzhangpan 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2023-01-30 01:30:58 +00:00
zhangpan
3520927cae fix glib2-static install dependency 2023-01-29 08:10:15 +00:00
openeuler-ci-bot
d8450c74d0 !6 delete rely on low version of the file
From: @shirely16
Reviewed-by: @zzm_567,@yanan-rock
Signed-off-by: @dwl301,@yanan-rock
2021-07-21 03:04:02 +00:00
shirely16
b676c11ce7 delete rely on low version of the file 2021-07-20 14:10:15 +08:00
openeuler-ci-bot
af3436e100 !3 sysprof: upgrade to 3.38.1
From: @chengguipeng_xian
Reviewed-by: @orange-snn
Signed-off-by: @orange-snn
2020-11-13 09:23:28 +08:00
chengguipeng
3d7f8a3d01 sysprof: upgrade to 3.38.1
Signed-off-by: chengguipeng <chengguipeng1@huawei.com>
2020-11-10 14:50:50 +08:00
openeuler-ci-bot
77a3932fe5 !2 sysprof: importing for gjs updating.
From: @chengguipeng_xian
Reviewed-by: @orange-snn
Signed-off-by: @orange-snn
2020-09-19 17:56:47 +08:00
chengguipeng_xian
71767bebeb update use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT-for-gsize.patch. 2020-09-19 17:40:38 +08:00
6 changed files with 26 additions and 117 deletions

View File

@ -1,36 +0,0 @@
# sysprof
#### Description
Sysprof is a sampling CPU profiler for Linux that collects accurate
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@ -1,37 +0,0 @@
# sysprof
#### 介绍
Sysprof is a sampling CPU profiler for Linux that collects accurate
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

Binary file not shown.

BIN
sysprof-3.38.1.tar.xz Normal file

Binary file not shown.

View File

@ -1,15 +1,12 @@
Name: sysprof
Version: 3.36.0
Release: 1
Version: 3.38.1
Release: 4
Summary: A system-wide Linux profiler
License: GPLv3+
URL: http://www.sysprof.com
Source0: https://download.gnome.org/sources/sysprof/3.36/sysprof-%{version}.tar.xz
# Fix the build on 32 bit hosts
# https://gitlab.gnome.org/GNOME/sysprof/-/merge_requests/24
Patch0: use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT-for-gsize.patch
Source0: https://download.gnome.org/sources/sysprof/3.38/sysprof-%{version}.tar.xz
BuildRequires: gcc gcc-c++ gettext itstool meson glib2-devel >= 2.61.3
BuildRequires: gcc gcc-c++ gettext itstool meson glib2-devel >= 2.61.3 pkgconfig(gtk+-3.0) >= 3.22.0
BuildRequires: libdazzle-devel systemd-devel polkit-devel libappstream-glib desktop-file-utils
Requires: glib2 >= 2.61.3 hicolor-icon-theme %{name}-cli = %{version}-%{release}
@ -36,6 +33,7 @@ The libsysprof-ui package contains the Sysprof UI library.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Provides: sysprof-capture-static = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
@ -71,8 +69,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%files cli -f %{name}.lang
%license COPYING
%{_bindir}/sysprof-cli
%{_libdir}/libsysprof-3.so
%{_libdir}/libsysprof-memory-3.so
%{_libdir}/libsysprof-4.so
%{_libdir}/libsysprof-memory-4.so
%{_libdir}/libsysprof-speedtrack-4.so
%{_libexecdir}/sysprofd
%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof2.xml
%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof3.Profiler.xml
@ -87,18 +86,30 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%files -n libsysprof-ui
%license COPYING
%{_libdir}/libsysprof-ui-3.so
%{_libdir}/libsysprof-ui-4.so
%files devel
%{_includedir}/sysprof-3/
%{_libdir}/pkgconfig/sysprof-3.pc
%{_libdir}/pkgconfig/sysprof-capture-3.pc
%{_libdir}/pkgconfig/sysprof-ui-3.pc
%{_libdir}/libsysprof-capture-3.a
%{_includedir}/sysprof-4/
%{_libdir}/pkgconfig/sysprof-4.pc
%{_libdir}/pkgconfig/sysprof-capture-4.pc
%{_libdir}/pkgconfig/sysprof-ui-4.pc
%{_libdir}/libsysprof-capture-4.a
%files help
%doc README.md
%changelog
* Mon Feb 19 2024 hanhuihui <hanhuihui5@huawei.com> - 3.38.1-4
- rebuild for glib2 without sysprof
* Sun Jan 29 2023 zhangpan<zhangpan103@h-partners.com> - 3.38.1-3
- Fix glib2-static install dependency
* Tue Jul 20 2021 hanhui<hanhui15@huawei.com> - 3.38.1-2
- delete rely on low version of the file
* Mon Nov 09 2020 chengguipeng<chengguipeng1@huawei.com> - 3.38.1-1
- upgrade to 3.38.1
* Sat Sep 19 2020 chengguipeng<chengguipeng1@huawei.com> - 3.36.0-1
- Package init

View File

@ -1,29 +0,0 @@
From 5dea152c7728f5a37370ad8a229115833e36b4f6 Mon Sep 17 00:00:00 2001
From: Rasmus Thomsen <oss@cogitri.dev>
Date: Sat, 7 Mar 2020 10:44:16 +0100
Subject: [PATCH] tests: use G_GSIZE_FORMAT instead of G_GUINT64_FORMAT for
gsize
This fixes the build on 32-bit platforms with -Werror-format
fixes #32
---
src/tests/allocs-by-size.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tests/allocs-by-size.c b/src/tests/allocs-by-size.c
index 666113a..6260d4b 100644
--- a/src/tests/allocs-by-size.c
+++ b/src/tests/allocs-by-size.c
@@ -109,7 +109,7 @@ allocs_by_size (SysprofCaptureReader *reader)
{
const Item *item = &g_array_index (ar, Item, i);
- g_print ("%"G_GUINT64_FORMAT",%"G_GUINT64_FORMAT",%"G_GUINT64_FORMAT"\n",
+ g_print ("%"G_GSIZE_FORMAT",%"G_GSIZE_FORMAT",%"G_GSIZE_FORMAT"\n",
item->size, item->cmp, item->count);
}
}
--
2.24.1