public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/retext] f45: Fix appdata file screenshot URL
@ 2026-10-23 17:04 Mike DePaulo
  0 siblings, 0 replies; only message in thread
From: Mike DePaulo @ 2026-10-23 17:04 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/retext
Branch : f45
Commit : 43ddab8d0ffbbce19a558438e36ad47c7bf3bd16
Author : Mike DePaulo <mikedep333@gmail.com>
Date   : 2018-06-04T23:26:46-04:00
Stats  : +45/-3 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/retext/c/43ddab8d0ffbbce19a558438e36ad47c7bf3bd16?branch=f45

Log:
Fix appdata file screenshot URL

---
diff --git a/0001-Update-references-to-the-screenshot.patch b/0001-Update-references-to-the-screenshot.patch
new file mode 100644
index 0000000..a13a655
--- /dev/null
+++ b/0001-Update-references-to-the-screenshot.patch
@@ -0,0 +1,39 @@
+From 66fa5604b499a4892eaff68294bc5280263bbaf8 Mon Sep 17 00:00:00 2001
+From: Dmitry Shachnev <mitya57@gmail.com>
+Date: Thu, 5 Oct 2017 11:58:34 +0700
+Subject: [PATCH] Update references to the screenshot
+
+---
+ README.md                          | 2 +-
+ data/me.mitya57.ReText.appdata.xml | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/README.md b/README.md
+index 4a8be3d..b6e4e21 100644
+--- a/README.md
++++ b/README.md
+@@ -8,7 +8,7 @@ ReText is a simple but powerful editor for Markdown and reStructuredText markup
+ languages. ReText is written in Python language and works on Linux and other
+ POSIX-compatible platforms. To install ReText, use `setup.py install` command.
+ 
+-![ReText under KDE 5](https://a.fsdn.com/con/app/proj/retext/screenshots/retext-kde5.png)
++![ReText on Plasma 5 desktop](data/retext-kde5.png)
+ 
+ You can read more about ReText in the [wiki].
+ 
+diff --git a/data/me.mitya57.ReText.appdata.xml b/data/me.mitya57.ReText.appdata.xml
+index 8d37fdf..2a7d189 100644
+--- a/data/me.mitya57.ReText.appdata.xml
++++ b/data/me.mitya57.ReText.appdata.xml
+@@ -37,7 +37,7 @@
+   </provides>
+   <screenshots>
+     <screenshot type="default">
+-      <image width="1116" height="650">https://a.fsdn.com/con/app/proj/retext/screenshots/retext-kde5.png</image>
++      <image width="1116" height="650">https://raw.githubusercontent.com/retext-project/retext/master/data/retext-kde5.png</image>
+     </screenshot>
+   </screenshots>
+   <developer_name>Dmitry Shachnev</developer_name>
+-- 
+2.17.0
+

diff --git a/retext.spec b/retext.spec
index cb8a877..8d261e7 100644
--- a/retext.spec
+++ b/retext.spec
@@ -8,12 +8,15 @@ Summary:        Text editor for Markdown and reStructuredText
 Summary(de):    Texteditor für Markdown und reStructuredText
 URL:            https://github.com/retext-project/retext
 Source0:        https://github.com/retext-project/retext/archive/%{version}.tar.gz
+# Fix appdata file path to the screenshot (SF -> GitHub)
+# https://github.com/retext-project/retext/commit/66fa5604b499a4892eaff68294bc5280263bbaf8
+Patch1:		0001-Update-references-to-the-screenshot.patch
 
 # The template for man page translations can be created with this command:
 # po4a-updatepo -v -M utf-8 -f man -m retext.1 -p retext-man.pot
 # English man pages are taken from the Debian package.
-Source1:        https://mariobl.fedorapeople.org/Retext/%{name}-man-de.po
-Source2:        https://mariobl.fedorapeople.org/Retext/%{name}.1
+Source1:        %{name}-man-de.po
+Source2:        %{name}.1
 
 BuildArch:      noarch
 
@@ -51,7 +54,7 @@ ReText ist ein einfacher, aber leistungsfähiger Texteditor
 für Markdown und reStructuredText.
 
 %prep
-%setup -q -n %{name}-%{version}
+%autosetup -S git
 
 %build
 %{__python3} setup.py build

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-23 17:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-23 17:04 [rpms/retext] f45: Fix appdata file screenshot URL Mike DePaulo

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