update to 3.8

This commit is contained in:
zhang__3125 2022-06-23 16:50:14 +08:00
parent 50fe2aab50
commit 5a97f4bbca
5 changed files with 12 additions and 24 deletions

View File

@ -1,12 +0,0 @@
diff -urN Xfce-Theme-Manager-xfce-theme-manager-0.3.8-orig/Xfce-Theme-Manager/src/database.cpp Xfce-Theme-Manager-xfce-theme-manager-0.3.8/Xfce-Theme-Manager/src/database.cpp
--- Xfce-Theme-Manager-xfce-theme-manager-0.3.8-orig/Xfce-Theme-Manager/src/database.cpp 2018-08-06 16:23:49.000000000 -0300
+++ Xfce-Theme-Manager-xfce-theme-manager-0.3.8/Xfce-Theme-Manager/src/database.cpp 2019-07-16 17:40:06.046723248 -0300
@@ -527,7 +527,7 @@
if(g_key_file_load_from_file(keyfile,indexfile,G_KEY_FILE_NONE,NULL))
displayname=g_key_file_get_string(keyfile,"Icon Theme","Name",NULL);
else
- asprintf(&displayname,entry);
+ asprintf(&displayname,"%s",entry);
asprintf(&thumbfile,"%s/%s.png",cursorsFolder,entry);
makecursor((char*)entry,thumbfile);

BIN
v3.8.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -2,17 +2,14 @@
%global pkgname Xfce-Theme-Manager
Name: xfce-theme-manager
Version: 0.3.8
Release: 2
Version: 3.8
Release: 1
Summary: A theme manager for Xfce
License: GPLv3
#Group: Development/Libraries
URL: https://github.com/KeithDHedger/Xfce-Theme-Manager
Source0: https://github.com/KeithDHedger/Xfce-Theme-Manager/archive/%{name}-%{version}.tar.gz
# https://github.com/KeithDHedger/Xfce-Theme-Manager/pull/4
Patch0: Wformat-security.patch
Source0: https://github.com/KeithDHedger/Xfce-Theme-Manager/archive/refs/tags/v%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
BuildRequires: gcc-c++
BuildRequires: autoconf
BuildRequires: cairo-devel
@ -27,7 +24,7 @@ A theme manager allowing easy configuration of themes,
window borders, controls, icons and cursors for Xfce
%prep
%autosetup -n %{pkgname}-%{name}-%{version} -p1
%autosetup -n %{pkgname}-%{version} -p1
%build
%configure
@ -58,6 +55,9 @@ desktop-file-install \
%{_mandir}/*/man1/%{name}.1.*
%changelog
* Mon Jun 20 2022 lin.zhang <lin.zhang@turbolinux.com.cn> - 3.8-1
- update to 3.8
* Thu Aug 05 2021 lin.zhang <lin.zhang@turbolinux.com.cn> - 0.3.8-2
- Fix BuildRequires: pkgconfig(libxfce4ui-1)

View File

@ -1,4 +1,4 @@
version_control: git
src_repo: https://github.com/KeithDHedger/Xfce-Theme-Manager.git
tag_prefix: "xfce-theme-manager-"
seperator: "."
version_control: github
src_repo: Xfce-Theme-Manager
tag_prefix: ^v
seperator: .