Remove patch:Replace gunixconnection.h file in gio-unix include dir check

This commit is contained in:
tanyulong2021 2023-02-07 16:14:31 +08:00
parent ddf7684f1e
commit edada8e92b
2 changed files with 4 additions and 29 deletions

View File

@ -1,27 +0,0 @@
From 44b7d6baed8f85cc516fedd6f2f5628efdef5707 Mon Sep 17 00:00:00 2001
From: peijiankang <peijiankang@kylinos.cn>
Date: Wed, 13 Jul 2022 10:29:39 +0800
Subject: [PATCH] Replace gunixconnection.h file in gio-unix include dir check
---
cmake/find-modules/FindGLIB.cmake | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmake/find-modules/FindGLIB.cmake b/cmake/find-modules/FindGLIB.cmake
index 0564b8d..014ef1c 100644
--- a/cmake/find-modules/FindGLIB.cmake
+++ b/cmake/find-modules/FindGLIB.cmake
@@ -101,8 +101,8 @@ foreach (_component ${GLIB_FIND_COMPONENTS})
elseif (${_component} STREQUAL "gio-unix")
pkg_check_modules(GIO_UNIX gio-unix-2.0)
find_path(GLIB_GIO_UNIX_INCLUDE_DIR
- NAMES gio/gdesktopappinfo.h
- HINTS ${GIO_UNIX_INCLUDEDIR}
+ NAMES gio/gunixfdlist.h
+ HINTS ${GIO_UNIX_INCLUDEDIR}
PATH_SUFFIXES gio-unix-2.0)
set(ADDITIONAL_REQUIRED_VARS ${ADDITIONAL_REQUIRED_VARS} GLIB_GIO_UNIX_INCLUDE_DIR)
--
2.33.0

View File

@ -1,12 +1,11 @@
Name: lxqt-build-tools
Version: 0.12.0
Release: 1
Release: 2
Summary: Packaging tools for LXQt
License: BSD
URL: http://lxqt.org/
Source0: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
Patch01: 0001-Replace-gunixconnection.h-file-in-gio-unix.patch
BuildArch: noarch
BuildRequires: %{?fedora:cmake}%{!?fedora:cmake3} >= 3.0
@ -44,6 +43,9 @@ popd
%changelog
* Tue Feb 07 2023 tanyulong<tanyulong@kylinos.cn> - 0.12.0-2
- Remove patch:Replace gunixconnection.h file in gio-unix include dir check
* Wed Dec 14 2022 lijian <lijian2@kylinos.cn> - 0.12.0-1
- update to upstream version 0.12.0