upgrade to version 5.0.19

(cherry picked from commit 5a4f0b0afbaae3a9e63162189534c983dc1c88d9)
This commit is contained in:
leeffo 2023-07-28 16:12:57 +08:00 committed by openeuler-sync-bot
parent 8a02dd18da
commit b4c28a99e8
4 changed files with 17 additions and 10 deletions

View File

@ -1,6 +1,6 @@
From 6ca8ed226186256b5e016a0fbcdacc5abe79ece4 Mon Sep 17 00:00:00 2001
From: leeffo <leeffo@yeah.net>
Date: Mon, 13 Mar 2023 17:50:03 +0800
From b85d3426641d53d14e47ca353aaf8ee0b212fa1b Mon Sep 17 00:00:00 2001
From: leeffo <liweiganga@uniontech.com>
Date: Fri, 28 Jul 2023 16:25:32 +0800
Subject: [PATCH] change compile option
---
@ -32,14 +32,16 @@ index ae4fd62..dc39a01 100644
kdir := /lib/modules/$(shell uname -r)/build
diff --git a/library/Makefile b/library/Makefile
index b9308ee..50b99b5 100644
index 78b63fd..5c2adf3 100644
--- a/library/Makefile
+++ b/library/Makefile
@@ -1,5 +1,5 @@
@@ -1,7 +1,7 @@
CC := gcc
-CFLAGS := -std=gnu99 -Wall -Wl,--no-undefined -Iinc -Iinc/index -shared -fPIC -fvisibility=hidden
+CFLAGS := -g -std=gnu99 -Wall -Wl,--no-undefined -Iinc -Iinc/index -shared -fPIC -fvisibility=hidden
LDFLAG := -lpthread
GLIB_INCL := $(shell pkg-config --cflags glib-2.0)
GLIB_LIB := $(shell pkg-config --libs glib-2.0)
-CFLAGS := -std=gnu99 -Wall -Wl,--no-undefined -D_GNU_SOURCE -Iinc -Iinc/index ${GLIB_INCL} -shared -fPIC -fvisibility=hidden
+CFLAGS := -g -std=gnu99 -Wall -Wl,--no-undefined -D_GNU_SOURCE -Iinc -Iinc/index ${GLIB_INCL} -shared -fPIC -fvisibility=hidden
LDFLAG := -lpthread -lpcre ${GLIB_LIB}
all: release debug
--

Binary file not shown.

Binary file not shown.

View File

@ -6,13 +6,13 @@
%global sname server
Name: deepin-anything
Version: 5.0.15
Version: 5.0.19
Release: 1
Summary: Something like everything, but nothing is really like anything...
License: GPLv3
URL: https://uos-packages.deepin.com/uos/pool/main/d/deepin-anything/
Source0: %{name}-%{version}.tar.gz
Patch0: 0001-change-compile-option.patch
Patch0: 0001-change-compile-option.patch
BuildRequires: qt5-qtbase-devel
@ -21,6 +21,8 @@ BuildRequires: udisks2-qt5
BuildRequires: udisks2-qt5-devel
BuildRequires: libmount
BuildRequires: libmount-devel
BuildRequires: pcre-devel
BuildRequires: glib2-devel
%description
@ -95,6 +97,9 @@ install -Dm644 server/monitor/deepin-anything-monitor.service %{buildroot}/usr/l
%{_libdir}/pkgconfig/deepin-anything-server-lib.pc
%changelog
* Fri Jul 28 2023 leeffo <liweiganga@uniontech.com> - 5.0.19-1
- upgrade to version 5.0.19
* Thu Mar 30 2023 liweiganga <liweiganga@uniontech.com> - 5.0.15-1
- update: update to 5.0.15