Compare commits
1 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| c823ef588e |
3
pdfarranger-1.11.1.tar.gz
Normal file
3
pdfarranger-1.11.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7cda866a62b42a23dafb409985e674a595d243037f04c80fdc39d7bb24f43374
|
||||||
|
size 455095
|
||||||
BIN
pdfarranger-1.13.0.tar.gz
LFS
BIN
pdfarranger-1.13.0.tar.gz
LFS
Binary file not shown.
@@ -1,60 +1,8 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Feb 1 20:13:41 UTC 2026 - ecsos <ecsos@opensuse.org>
|
Tue Feb 3 06:53:51 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
- Update to 1.13.0 (fixes boo#1257190)
|
- Add python313.patch to fix compatibility with python313
|
||||||
* New / improved features:
|
boo#1257190, gh#pdfarranger/pdfarranger#1238
|
||||||
- Store selection state and scrollbar state in undomanager
|
|
||||||
- Support resizing of pasted overlay/underlay
|
|
||||||
- Add support for searching of text in PDF
|
|
||||||
- Scroll iconview one row up/down with Alt + mouse wheel scroll
|
|
||||||
- Support import of JPEG 2000 (.jp2) on Windows and Linux (if img2pdf is available)
|
|
||||||
- Support import of AVIF images (.avif) on Windows
|
|
||||||
- Add version info about more software in About dialog
|
|
||||||
- Add Vietnamese translation
|
|
||||||
- Add Georgian translation
|
|
||||||
* Fixes:
|
|
||||||
- Fix crop-white-borders for pages with overlay/underlay
|
|
||||||
- Some speed improvements
|
|
||||||
- Fix misaligned pages when generating booklet
|
|
||||||
- Stop adding files/pages on first exception
|
|
||||||
- Bundle poppler encoding files with Windows build
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Jul 3 06:22:39 UTC 2025 - Atri Bhattacharya <badshah400@gmai.com>
|
|
||||||
|
|
||||||
- Specfile cleanups:
|
|
||||||
* Drop 'Requires: gtk3': There is no package called 'gtk3', and
|
|
||||||
the right gtk3 shared library is already pulled in by
|
|
||||||
typelib-1_0-Gtk-3_0.
|
|
||||||
* Add pdfarranger.rpmlintrc to weed out obvious false positives.
|
|
||||||
* Use pyproject macros to build and install; add python-pip and
|
|
||||||
python-wheel as BuildRequires.
|
|
||||||
* Add BuildRequires: hicolor-icon-theme for correct ownership of
|
|
||||||
%_datadir/icon/hicolor dir.
|
|
||||||
* Drop obsolete %suse_update_desktop_file macro and associated
|
|
||||||
BuildRequires: update-desktop-files.
|
|
||||||
* Implement %check section using pytest; add required packages
|
|
||||||
to BuildRequires for tests.
|
|
||||||
* Drop info not directly relevant to application use from
|
|
||||||
package description.
|
|
||||||
- Add 'Requires: python-packaging': new version has 'imports' on
|
|
||||||
it.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Jul 3 06:13:12 UTC 2025 - Christophe Marin <christophe@krop.fr>
|
|
||||||
|
|
||||||
- Update to 1.12.1
|
|
||||||
* Fix incompatibility with Python 3.13.4 on Linux
|
|
||||||
* Update translations
|
|
||||||
* Support export to png, jpeg and rasterized pdf
|
|
||||||
* Fix import of webp images on Windows and Flatpak installations
|
|
||||||
* Fix priority of what metadata is saved when merging documents
|
|
||||||
* Fix printing of rasterized pdf
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Feb 19 13:37:26 UTC 2025 - ecsos <ecsos@opensuse.org>
|
|
||||||
|
|
||||||
- Use pythons so we can build also for Leap with python311.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 17 09:06:21 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
Thu Oct 17 09:06:21 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
# These are absolutely necessary, though not listed in setup.py dependencies
|
|
||||||
addFilter("pdfarranger.noarch: W: python-leftover-require python3-cairo")
|
|
||||||
addFilter("pdfarranger.noarch: W: python-leftover-require python3-dateutil")
|
|
||||||
addFilter("pdfarranger.noarch: W: python-leftover-require python3-gobject-Gdk")
|
|
||||||
|
|
||||||
# This is already there as %%{python_flavor}-dateutil
|
|
||||||
addFilter("pdfarranger.noarch: W: python-missing-require python-dateutil")
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package pdfarranger
|
# spec file for package pdfarranger
|
||||||
#
|
#
|
||||||
# Copyright (c) 2026 SUSE LLC and contributors
|
# Copyright (c) 2024 SUSE LLC
|
||||||
# Copyright (c) 2020 Karl Cheng <qantas94heavy@gmail.com>
|
# Copyright (c) 2020 Karl Cheng <qantas94heavy@gmail.com>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -17,46 +17,29 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1600
|
|
||||||
%define pythons python3
|
|
||||||
%else
|
|
||||||
%define pythons python311
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: pdfarranger
|
Name: pdfarranger
|
||||||
Version: 1.13.0
|
Version: 1.11.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Merge, split, rotate, crop, and rearrange pages of PDF documents
|
Summary: Merge, split, rotate, crop, and rearrange pages of PDF documents
|
||||||
License: GPL-3.0-only
|
License: GPL-3.0-only
|
||||||
URL: https://github.com/pdfarranger/pdfarranger
|
URL: https://github.com/pdfarranger/pdfarranger
|
||||||
Source0: https://github.com/pdfarranger/pdfarranger/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://github.com/pdfarranger/pdfarranger/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: %{name}.rpmlintrc
|
# PATCH-FIX-UPSTREAM python313.patch gh#pdfarranger/pdfarranger@681fa51a2a20
|
||||||
BuildRequires: %{python_module base}
|
Patch0: python313.patch
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: hicolor-icon-theme
|
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python3-devel
|
||||||
# Section Tests
|
BuildRequires: python3-rpm-macros
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: %{python_module cairo}
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: %{python_module dateutil >= 2.4.0}
|
Requires: gtk3
|
||||||
BuildRequires: %{python_module gobject-Gdk}
|
Requires: python3-cairo
|
||||||
BuildRequires: %{python_module packaging}
|
Requires: python3-dateutil >= 2.4.0
|
||||||
BuildRequires: %{python_module pikepdf >= 6}
|
Requires: python3-gobject-Gdk
|
||||||
BuildRequires: typelib-1_0-Gtk-3_0
|
Requires: python3-pikepdf >= 6
|
||||||
BuildRequires: typelib-1_0-Poppler-0_18
|
|
||||||
# /Section
|
|
||||||
Requires: %{python_flavor}-cairo
|
|
||||||
Requires: %{python_flavor}-dateutil >= 2.4.0
|
|
||||||
Requires: %{python_flavor}-gobject-Gdk
|
|
||||||
Requires: %{python_flavor}-packaging
|
|
||||||
Requires: %{python_flavor}-pikepdf >= 6
|
|
||||||
Requires: typelib-1_0-Gtk-3_0
|
Requires: typelib-1_0-Gtk-3_0
|
||||||
Requires: typelib-1_0-Poppler-0_18
|
Requires: typelib-1_0-Poppler-0_18
|
||||||
Recommends: %{python_flavor}-img2pdf >= 0.3.4
|
Recommends: python3-img2pdf >= 0.3.4
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -64,32 +47,33 @@ pdfarranger is a small python-gtk application, which helps the user
|
|||||||
to merge or split pdf documents and rotate, crop and rearrange their
|
to merge or split pdf documents and rotate, crop and rearrange their
|
||||||
pages using a graphical interface. It is a frontend for pikepdf.
|
pages using a graphical interface. It is a frontend for pikepdf.
|
||||||
|
|
||||||
|
pdfarranger is a fork of Konstantinos Poulios’s pdfshuffler. It is
|
||||||
|
a humble attempt to make the project a bit more active.
|
||||||
|
|
||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
python3 setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
%suse_update_desktop_file -r com.github.jeromerobert.pdfarranger Graphics VectorGraphics
|
||||||
%find_lang %{name} %{?no_lang_C}
|
%find_lang %{name} %{?no_lang_C}
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
%check
|
|
||||||
%pytest
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{python_sitelib}/%{name}
|
%{python3_sitelib}/%{name}
|
||||||
%{python_sitelib}/%{name}-%{version}*.*-info
|
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
|
||||||
%{_datadir}/applications/com.github.jeromerobert.pdfarranger.desktop
|
%{_datadir}/applications/com.github.jeromerobert.pdfarranger.desktop
|
||||||
%{_mandir}/man1/%{name}.1%{?ext_man}
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||||
%{_datadir}/%{name}/
|
%{_datadir}/%{name}
|
||||||
%{_datadir}/icons/hicolor/*/apps/*
|
%{_datadir}/icons/hicolor
|
||||||
%{_datadir}/metainfo/com.github.jeromerobert.pdfarranger.metainfo.xml
|
%{_datadir}/metainfo/com.github.jeromerobert.pdfarranger.metainfo.xml
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
|
|||||||
26
python313.patch
Normal file
26
python313.patch
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
From 681fa51a2a20b13b4c77cc11a6007f99bf8da1e0 Mon Sep 17 00:00:00 2001
|
||||||
|
From: David Auer <dreua@posteo.de>
|
||||||
|
Date: Tue, 10 Jun 2025 01:14:30 +0200
|
||||||
|
Subject: [PATCH] Fix incompatibility with Python 3.13.4
|
||||||
|
|
||||||
|
---
|
||||||
|
pdfarranger/pdfarranger.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/pdfarranger/pdfarranger.py b/pdfarranger/pdfarranger.py
|
||||||
|
index 631e19d94..07d90ab4c 100644
|
||||||
|
--- a/pdfarranger/pdfarranger.py
|
||||||
|
+++ b/pdfarranger/pdfarranger.py
|
||||||
|
@@ -41,11 +41,11 @@
|
||||||
|
from functools import lru_cache
|
||||||
|
from math import log
|
||||||
|
|
||||||
|
-multiprocessing.freeze_support() # Does nothing in Linux
|
||||||
|
|
||||||
|
sharedir = os.path.join(sys.prefix, 'share')
|
||||||
|
basedir = '.'
|
||||||
|
if getattr(sys, 'frozen', False):
|
||||||
|
+ multiprocessing.freeze_support()
|
||||||
|
basedir = os.path.dirname(sys.executable)
|
||||||
|
sharedir = os.path.join(basedir, 'share')
|
||||||
|
elif sys.argv[0]:
|
||||||
Reference in New Issue
Block a user