public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-editors/ghostwriter/, app-editors/ghostwriter/files/
@ 2020-03-11 22:05 Andreas Sturmlechner
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2020-03-11 22:05 UTC (permalink / raw
  To: gentoo-commits

commit:     faf76fb9991c7dcc516b3c10292063a0af843898
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Thu Mar  5 20:56:06 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 22:03:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf76fb9

app-editors/ghostwriter: verbump to 1.8.1

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14859
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-editors/ghostwriter/Manifest                   |  1 +
 .../files/ghostwriter-1.8.1-appdata-path.patch     | 27 ++++++++++
 app-editors/ghostwriter/ghostwriter-1.8.1.ebuild   | 60 ++++++++++++++++++++++
 3 files changed, 88 insertions(+)

diff --git a/app-editors/ghostwriter/Manifest b/app-editors/ghostwriter/Manifest
index 39d80b85ecf..6e6955ec820 100644
--- a/app-editors/ghostwriter/Manifest
+++ b/app-editors/ghostwriter/Manifest
@@ -1 +1,2 @@
 DIST ghostwriter-1.8.0.tar.gz 1195999 BLAKE2B d751e570aed94bcf0806ca20d82b0ac2b465649caf31f01b761f0370a4f1b04ac8f948213b15c05a71541b8068ef21dfb2105b5fc91d5637e498e2d4c8f6bf9a SHA512 aff500d9221f28f6a06a93bf0b5ddb590792b22bc551749b790f52751cd7f2e27ea59778927c2f117320cb1791b45d51d8efdf479f0894319755afb1a509f7bd
+DIST ghostwriter-1.8.1.tar.gz 1220000 BLAKE2B 3fa3d95ed819bc8f7b76b396e6634658a8bda23e9100cbb298d301fc382db451430a4a31fbd092326af198825c83d2c998172c90a7e318aeb57ef7799751995a SHA512 9f60f81a594cf161edfeac8c75830e186ab4ec2c22859b2bad40768e1ecf64e6842b52a69024a1f014d24a2f1cbb38e15a7799101d7fd54ef7709e245f6ac521

diff --git a/app-editors/ghostwriter/files/ghostwriter-1.8.1-appdata-path.patch b/app-editors/ghostwriter/files/ghostwriter-1.8.1-appdata-path.patch
new file mode 100644
index 00000000000..514ab6262e5
--- /dev/null
+++ b/app-editors/ghostwriter/files/ghostwriter-1.8.1-appdata-path.patch
@@ -0,0 +1,27 @@
+From 5e63fa9cb6d4020413db071ed68aa85f3e79fd9e Mon Sep 17 00:00:00 2001
+From: David Roman <davidroman96@gmail.com>
+Date: Mon, 9 Mar 2020 21:42:58 +0100
+Subject: [PATCH] update appdata path
+
+The previous location is deprecated
+see https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
+---
+ ghostwriter.pro | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ghostwriter.pro b/ghostwriter.pro
+index d399fb5..7f5f22c 100644
+--- a/ghostwriter.pro
++++ b/ghostwriter.pro
+@@ -264,7 +264,7 @@ macx {
+     desktop.path = $$DATADIR/applications/
+ 
+     appdata.files = resources/linux/ghostwriter.appdata.xml
+-    appdata.path = $$DATADIR/appdata/
++    appdata.path = $$DATADIR/metainfo/
+ 
+     man.files = resources/linux/ghostwriter.1
+     man.path = $$PREFIX/share/man/man1
+-- 
+2.25.1
+

diff --git a/app-editors/ghostwriter/ghostwriter-1.8.1.ebuild b/app-editors/ghostwriter/ghostwriter-1.8.1.ebuild
new file mode 100644
index 00000000000..0cad3683483
--- /dev/null
+++ b/app-editors/ghostwriter/ghostwriter-1.8.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils xdg-utils
+
+DESCRIPTION="Cross-platform, aesthetic, distraction-free markdown editor"
+HOMEPAGE="https://wereturtle.github.io/ghostwriter/"
+SRC_URI="https://github.com/wereturtle/ghostwriter/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+BDEPEND="dev-qt/linguist-tools:5"
+
+RDEPEND="
+	app-text/hunspell
+	dev-qt/qtconcurrent:5
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwebchannel:5
+	dev-qt/qtwebengine:5[widgets]
+	dev-qt/qtwidgets:5
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( CREDITS.md README.md )
+
+PATCHES=( "${FILESDIR}/${P}-appdata-path.patch" )
+
+src_prepare() {
+	default
+
+	sed -i -e "/^VERSION =/s/\$.*/${PV}/" ghostwriter.pro || die "failed to override version"
+}
+
+src_configure() {
+	eqmake5 \
+		CONFIG+=$(usex debug debug release) \
+		PREFIX="${EPREFIX}"/usr
+}
+
+src_install() {
+	emake INSTALL_ROOT="${D}" install
+	einstalldocs
+}
+
+pkg_postinst() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-editors/ghostwriter/, app-editors/ghostwriter/files/
@ 2023-12-19 20:45 Andreas Sturmlechner
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2023-12-19 20:45 UTC (permalink / raw
  To: gentoo-commits

commit:     d6ef43ba170372f4122b89fa078a9d7d3464ef2d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 19 19:55:11 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Dec 19 20:44:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6ef43ba

app-editors/ghostwriter: drop 23.04.3

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-editors/ghostwriter/Manifest                   |  1 -
 .../files/ghostwriter-23.0.4-stdint.patch          | 27 -------------
 app-editors/ghostwriter/ghostwriter-23.04.3.ebuild | 45 ----------------------
 3 files changed, 73 deletions(-)

diff --git a/app-editors/ghostwriter/Manifest b/app-editors/ghostwriter/Manifest
index e9eb39392ce6..603978c49e6b 100644
--- a/app-editors/ghostwriter/Manifest
+++ b/app-editors/ghostwriter/Manifest
@@ -1,3 +1,2 @@
-DIST ghostwriter-23.04.3.tar.xz 3074336 BLAKE2B 89314147c3222d0e83d26cedb81e6bf917e4f4e3d95650ba1d3096f06491343046dd5684d13014002a5249ec26af43cb050457c6f5d7c241b352a605b529b5af SHA512 d14e8c9928ec0638b98ca152d35ae88a7a4a582d4268e8f251252f080e4490b5c9433a814e6306acf7856c6a253f6e7aa9ed326328f90e0da8ef1214ef5a432c
 DIST ghostwriter-23.08.3.tar.xz 3626304 BLAKE2B 558b63152817d90443fcc78c9a5ac609643cd7a5b9c595ddbcccdb05bcb38af4c300974b852a9bf7b002aaf67ee84df0dddc357bc3b4cf558b0dc5a55876ae66 SHA512 b8281bc286132997ae6aeba95a6382546d556d6b5c6385d08c4660b385264cc60040efd3a71865166aee55ab5c979b2b80e72423b523400141dd74c4ba256ae3
 DIST ghostwriter-23.08.4.tar.xz 3626652 BLAKE2B 7c02c04cee3a499135e96add0bb128c2b7b368a73e39a9b55225b2f252240e0e0c1c052ac6bf8539d85dee7552e092af6886297a7ead8f6c671dbb80c9eafb9e SHA512 217d512d338a4beb8c56c6c7c6e7d48fe1d06da8d6845700e92373c37450082ffe310281aeaeff78050e2cc89a59d46cf439e1e54e83a82c0b510f9e2c8533e8

diff --git a/app-editors/ghostwriter/files/ghostwriter-23.0.4-stdint.patch b/app-editors/ghostwriter/files/ghostwriter-23.0.4-stdint.patch
deleted file mode 100644
index 5fa58933843c..000000000000
--- a/app-editors/ghostwriter/files/ghostwriter-23.0.4-stdint.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-https://github.com/KDE/ghostwriter/commit/b76b14a00069a2d544b615ad6dc8f9cbdc678982
-
-From b76b14a00069a2d544b615ad6dc8f9cbdc678982 Mon Sep 17 00:00:00 2001
-From: Pino Toscano <pino@kde.org>
-Date: Wed, 26 Jul 2023 04:19:19 +0200
-Subject: [PATCH] Include <cstdint> where needed
-
-Include it where std::uint32_t is explicitly used.
-
-(cherry picked from commit 9e1a2ba2e01c7172a04e41b5d487461aa73c87d6)
----
- src/markdownnode.cpp | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/markdownnode.cpp b/src/markdownnode.cpp
-index dce179d4a..f7a4eab49 100644
---- a/src/markdownnode.cpp
-+++ b/src/markdownnode.cpp
-@@ -4,6 +4,8 @@
-  * 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"
- 

diff --git a/app-editors/ghostwriter/ghostwriter-23.04.3.ebuild b/app-editors/ghostwriter/ghostwriter-23.04.3.ebuild
deleted file mode 100644
index 1df0d10ec5eb..000000000000
--- a/app-editors/ghostwriter/ghostwriter-23.04.3.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KDE_ORG_CATEGORY="office"
-ECM_HANDBOOK="optional"
-KFMIN=5.106.0
-QTMIN=5.15.9
-inherit ecm gear.kde.org
-
-DESCRIPTION="Cross-platform, aesthetic, distraction-free markdown editor"
-HOMEPAGE="https://ghostwriter.kde.org/"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 arm64 ~ppc64 ~x86"
-IUSE=""
-
-RDEPEND="
-	app-text/hunspell:=
-	>=dev-qt/qtgui-${QTMIN}:5
-	>=dev-qt/qtsvg-${QTMIN}:5
-	>=dev-qt/qtwebchannel-${QTMIN}:5
-	>=dev-qt/qtwebengine-${QTMIN}:5[widgets]
-	>=dev-qt/qtwidgets-${QTMIN}:5
-	>=kde-frameworks/kcoreaddons-${KFMIN}:5
-	>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
-	>=kde-frameworks/kxmlgui-${KFMIN}:5
-	>=kde-frameworks/sonnet-${KFMIN}:5
-	virtual/opengl
-"
-DEPEND="${RDEPEND}
-	>=dev-qt/qtconcurrent-${QTMIN}:5
-"
-BDEPEND="
-	>=dev-qt/linguist-tools-${QTMIN}:5
-	virtual/pkgconfig
-"
-
-DOCS=( CHANGELOG.md README.md )
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-23.0.4-stdint.patch
-)


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-editors/ghostwriter/, app-editors/ghostwriter/files/
@ 2024-08-10 10:53 Andreas Sturmlechner
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2024-08-10 10:53 UTC (permalink / raw
  To: gentoo-commits

commit:     787399009fbf9165ddf0963d35dca75731dac5e1
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 10 10:51:16 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 10 10:53:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78739900

app-editors/ghostwriter: Drop bogus dependency

Closes: https://bugs.gentoo.org/936578
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/ghostwriter-24.05.2-bogusdep.patch       | 41 ++++++++++++++++++++++
 app-editors/ghostwriter/ghostwriter-24.05.2.ebuild |  2 ++
 2 files changed, 43 insertions(+)

diff --git a/app-editors/ghostwriter/files/ghostwriter-24.05.2-bogusdep.patch b/app-editors/ghostwriter/files/ghostwriter-24.05.2-bogusdep.patch
new file mode 100644
index 000000000000..2076ccb24d87
--- /dev/null
+++ b/app-editors/ghostwriter/files/ghostwriter-24.05.2-bogusdep.patch
@@ -0,0 +1,41 @@
+From 6d680805c08d131ea3a98c4d3fe87d51a92f2ffa Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Sat, 10 Aug 2024 12:41:33 +0200
+Subject: [PATCH] Drop unused Qt5Compat dependency
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ src/CMakeLists.txt | 10 ----------
+ 1 file changed, 10 deletions(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 33ce58f..da55382 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -90,10 +90,6 @@ find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED COMPONENTS
+     WebEngineWidgets
+ )
+ 
+-if (QT_MAJOR_VERSION STREQUAL "6")
+-    find_package(Qt6 REQUIRED COMPONENTS Core5Compat)
+-endif()
+-
+ find_package(
+     KF${KF_MAJOR_VERSION} ${KF_MIN_VERSION}
+     REQUIRED
+@@ -135,12 +131,6 @@ target_link_libraries(ghostwriter PRIVATE
+     ${CMARK_LIBS}
+ )
+ 
+-if (QT_MAJOR_VERSION STREQUAL "6")
+-    target_link_libraries(ghostwriter PRIVATE
+-        Qt::Core5Compat
+-    )
+-endif()
+-
+ set_target_properties(ghostwriter PROPERTIES
+     WIN32_EXECUTABLE ON
+     MACOSX_BUNDLE ON
+-- 
+2.45.2
+

diff --git a/app-editors/ghostwriter/ghostwriter-24.05.2.ebuild b/app-editors/ghostwriter/ghostwriter-24.05.2.ebuild
index fa7b4c9c4634..91ae6c82c01c 100644
--- a/app-editors/ghostwriter/ghostwriter-24.05.2.ebuild
+++ b/app-editors/ghostwriter/ghostwriter-24.05.2.ebuild
@@ -38,3 +38,5 @@ BDEPEND="
 "
 
 DOCS=( CHANGELOG.md README.md )
+
+PATCHES=( "${FILESDIR}/${P}-bogusdep.patch" ) # in 24.08, bug 936578


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-08-10 10:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-10 10:53 [gentoo-commits] repo/gentoo:master commit in: app-editors/ghostwriter/, app-editors/ghostwriter/files/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2023-12-19 20:45 Andreas Sturmlechner
2020-03-11 22:05 Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox