From 66a9cb364c1586e08285602e635a767d4cd68cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=B6=9B?= Date: Thu, 19 Oct 2023 16:32:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=87=E4=BB=B6=E5=90=8D=E8=BF=87?= =?UTF-8?q?=E9=95=BF=E6=97=B6=EF=BC=8C=E6=A1=8C=E9=9D=A2=E5=A4=A7=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E8=A7=86=E5=9B=BE=E4=B8=8B=E5=9B=BE=E6=A0=87=E5=AF=B9?= =?UTF-8?q?=E4=B8=8D=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 001-fix-icon-text-width-largest.patch | 31 +++++++++++++++++++++++++++ nemo.spec | 9 ++++++-- 2 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 001-fix-icon-text-width-largest.patch diff --git a/001-fix-icon-text-width-largest.patch b/001-fix-icon-text-width-largest.patch new file mode 100644 index 0000000..cea6dcb --- /dev/null +++ b/001-fix-icon-text-width-largest.patch @@ -0,0 +1,31 @@ +From a9d77a77a85b58f995341c8b86afe704e6980996 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=E5=BC=A0=E6=B6=9B?= +Date: Thu, 19 Oct 2023 13:07:26 +0800 +Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=87=E4=BB=B6=E5=90=8D=E8=BF=87?= + =?UTF-8?q?=E9=95=BF=E6=97=B6=EF=BC=8C=E6=A1=8C=E9=9D=A2=E5=A4=A7=E5=9B=BE?= + =?UTF-8?q?=E6=A0=87=E8=A7=86=E5=9B=BE=E4=B8=8B=E5=9B=BE=E6=A0=87=E5=AF=B9?= + =?UTF-8?q?=E4=B8=8D=E9=BD=90?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +--- + libnemo-private/nemo-icon-info.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libnemo-private/nemo-icon-info.h b/libnemo-private/nemo-icon-info.h +index 3bf46d9..da4d28e 100644 +--- a/libnemo-private/nemo-icon-info.h ++++ b/libnemo-private/nemo-icon-info.h +@@ -68,7 +68,7 @@ typedef enum { + #define NEMO_ICON_TEXT_WIDTH_STANDARD 110 + #define NEMO_ICON_TEXT_WIDTH_LARGE 96 + #define NEMO_ICON_TEXT_WIDTH_LARGER 128 +-#define NEMO_ICON_TEXT_WIDTH_LARGEST 256 ++#define NEMO_ICON_TEXT_WIDTH_LARGEST 200 + + /* Maximum size of an icon that the icon factory will ever produce */ + #define NEMO_ICON_MAXIMUM_SIZE 320 +-- +2.30.2 + diff --git a/nemo.spec b/nemo.spec index f9f92d0..676eea3 100644 --- a/nemo.spec +++ b/nemo.spec @@ -1,12 +1,14 @@ Name: nemo Summary: File manager and graphical shell for Cinnamon. Version: 4.8.6 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ and LGPLv2+ URL: https://github.com/linuxmint/%{name} Source0: %{name}-%{version}.tar.gz Source1: nemo.lintian-overrides +Patch0: 001-fix-icon-text-width-largest.patch + BuildRequires: meson BuildRequires: intltool BuildRequires: gobject-introspection-devel @@ -151,6 +153,9 @@ install -m 644 data/nemo.conf %{buildroot}%{_sysconfdir}/rsyslog.d/nemo.conf #/usr/share/python3/runtime.d/nemo-data.rtupdate %changelog +* Thu Oct 19 2023 张涛 - 4.8.6-2 +- fix: 文件名过长时,桌面大图标视图下图标对不齐 +- add patch: 001-fix-icon-text-width-largest.patch + * Wed Aug 09 2023 qiangy - 4.8.6-1 - Init package. - -- Gitee