[packages/ka5-ghostwriter] - updated to 23.08.0

witekfl witekfl at pld-linux.org
Thu Aug 24 17:55:13 CEST 2023


commit 5ba9d02a00f3413524268385f1baac2721c914e8
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Aug 24 17:23:05 2023 +0200

    - updated to 23.08.0

 ka5-ghostwriter.spec | 21 +++++++++------------
 uint.patch           | 11 -----------
 2 files changed, 9 insertions(+), 23 deletions(-)
---
diff --git a/ka5-ghostwriter.spec b/ka5-ghostwriter.spec
index 6044fb8..fd5a684 100644
--- a/ka5-ghostwriter.spec
+++ b/ka5-ghostwriter.spec
@@ -1,16 +1,15 @@
-%define		kdeappsver	23.04.3
+%define		kdeappsver	23.08.0
 %define		qtver		5.15.2
 %define		kaname		ghostwriter
 
 Summary:	Text editor for Markdown
 Name:		ka5-%{kaname}
-Version:	23.04.3
+Version:	23.08.0
 Release:	1
 License:	GPL v3+
 Group:		X11/Applications/Editors
 Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5:	3e236150f908493bed954dcab32f4311
-Patch0:		uint.patch
+# Source0-md5:	df8bf59b9c8d9da58767e2331f5ec445
 URL:		https://www.kde.org/
 BuildRequires:	Qt5Concurrent-devel
 BuildRequires:	Qt5Core-devel >= 5.15.2
@@ -49,19 +48,16 @@ site](https://ghostwriter.kde.org).
 
 %prep
 %setup -q -n %{kaname}-%{version}
-%patch0 -p1
 
 %build
-install -d build
-cd build
-%cmake -G Ninja \
+%cmake -B build \
+	-G Ninja \
 	%{!?with_tests:-DBUILD_TESTING=OFF} \
 	-DHTML_INSTALL_DIR=%{_kdedocdir} \
-	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-	..
-%ninja_build
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
 
-%{?with_tests:%ninja_build test}
+%{?with_tests:%ninja_build -C build test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -89,5 +85,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/ghostwriter.1*
 %lang(nl) %{_mandir}/nl/man1/ghostwriter.1*
 %lang(ru) %{_mandir}/ru/man1/ghostwriter.1*
+%lang(sv) %{_mandir}/sv/man1/ghostwriter.1.*
 %lang(uk) %{_mandir}/uk/man1/ghostwriter.1*
 %{_datadir}/metainfo/org.kde.ghostwriter.metainfo.xml
diff --git a/uint.patch b/uint.patch
deleted file mode 100644
index 9a460b8..0000000
--- a/uint.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -up ghostwriter-23.04.2/src/markdownnode.cpp.dd ghostwriter-23.04.2/src/markdownnode.cpp
---- ghostwriter-23.04.2/src/markdownnode.cpp.dd	2023-06-06 05:26:47.000000000 +0200
-+++ ghostwriter-23.04.2/src/markdownnode.cpp	2023-06-10 12:01:11.845542522 +0200
-@@ -3,6 +3,7 @@
-  *
-  * SPDX-License-Identifier: GPL-3.0-or-later
-  */
-+#include <cstdint>
- 
- #include "../3rdparty/cmark-gfm/src/cmark-gfm.h"
- #include "../3rdparty/cmark-gfm/extensions/cmark-gfm-core-extensions.h"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka5-ghostwriter.git/commitdiff/5ba9d02a00f3413524268385f1baac2721c914e8



More information about the pld-cvs-commit mailing list