Compare commits

...
Sign in to create a new pull request.

12 commits

Author SHA1 Message Date
Python Maint
aea67e484f Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:23:00 +02:00
Python Maint
a8970956fb Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 12:52:50 +02:00
Fedora Release Engineering
deeeccbd75 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 17:38:33 +00:00
Python Maint
604d989a02 Rebuilt for Python 3.14 2025-06-02 19:56:41 +02:00
Fedora Release Engineering
2da10c495a Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 07:06:58 +00:00
Fedora Release Engineering
24b11e698e Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 10:20:12 +00:00
Python Maint
844cc2a9ee Rebuilt for Python 3.13 2024-06-07 08:32:08 +02:00
Fedora Release Engineering
7d0aa967ed Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 22:41:50 +00:00
Fedora Release Engineering
53f7ed33c0 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-20 23:03:33 +00:00
Michael J Gruber
02ac2e6ad6 rebase to 0.13.2 (rhbz#2247922)
- adjust to pillow 10
- fix escape sequence escaping
2023-11-04 20:47:23 +01:00
Fedora Release Engineering
2924ac4886 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 07:23:28 +00:00
Python Maint
77ba07d47f Rebuilt for Python 3.12 2023-06-13 20:21:36 +02:00
4 changed files with 31 additions and 3 deletions

1
.gitignore vendored
View file

@ -9,3 +9,4 @@ Impressive-0.10.2.tar.gz
/Impressive-0.13.0-WIP-20210107svn310.tar.gz
/Impressive-0.13.0-WIP-20210612svn311.tar.gz
/Impressive-0.13.1.tar.gz
/Impressive-0.13.2.tar.gz

View file

@ -0,0 +1,26 @@
diff --git 1/impressive.py-orig 2/impressive.py
index edde236..86d83e3 100644
--- 1/impressive.py-orig
+++ 2/impressive.py
@@ -1008,10 +1008,10 @@ def mutoolParse(f, page_offset=0):
pages = 0
for line in f:
line = line.decode()
- m = re.match("pages:\s*(\d+)", line, re.I)
+ m = re.match(r'pages:\s*(\d+)', line, re.I)
if m and not(pages):
pages = int(m.group(1))
- m = re.search("/title\s*\(", line, re.I)
+ m = re.search(r'/title\s*\(', line, re.I)
if m and not(title):
title = line[m.end():].replace(')', '\0').replace('\\(', '(').replace('\\\0', ')').split('\0', 1)[0].strip()
return (title, pages)
@@ -3938,7 +3938,7 @@ def SaveInfoScript(filename):
# replace the PageProps of the old info script with the current ones
try:
- m = re.search("^.*(PageProps)\s*=\s*(\{).*$", script,re.MULTILINE)
+ m = re.search(r'^.*(PageProps)\s*=\s*(\{).*$', script,re.MULTILINE)
if m:
script = script[:m.start(1)] + PagePropRepr() + \
script[CountDictChars(script, m.end(2)) + 1 :]

View file

@ -1,5 +1,5 @@
Name: impressive
Version: 0.13.1
Version: 0.13.2
Release: %autorelease
Summary: A program that displays presentation slides
@ -8,6 +8,7 @@ URL: http://impressive.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/Impressive-%{version}.tar.gz
# Wrapper script for making sure hardware acceleration is available
Source1: %{name}.sh
Patch: impressive-0.13-escape-escape-sequence.patch
BuildArch: noarch
BuildRequires: python3-devel
@ -36,7 +37,7 @@ that are really useful for presentations.
%prep
%autosetup -n Impressive-%{version} -p1
sed -ie '1s#/usr/bin/env python#/usr/bin/python3#' impressive.py
sed -i -e '1s#/usr/bin/env python#/usr/bin/python3#' impressive.py
%build
sed -e "s|@PYTHON_SITELIB@|%{python3_sitelib}|" %{SOURCE1} > impressive.sh

View file

@ -1 +1 @@
SHA512 (Impressive-0.13.1.tar.gz) = f6221337f9dd79f552fb083e1ea7484aeadec1f8d8e05b4e1b7f6a94037b5026022819b346968dea67dbdb1b646d0571a7aeef26f15c25bee88c5b9c2791cf2b
SHA512 (Impressive-0.13.2.tar.gz) = 0b24ef39cba25d8813fd3f95f220c466defa50c3ba4a63d2f37b284de2826c2110225fe2016f58c401d1ca239d672ba28ba65069523ab57b1b5711a4222cff92