forked from pool/pdfarranger
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 01614c0e69 | |||
|
|
8fc06acc0c | ||
|
|
3cba172d62 | ||
| 8e101b30f0 | |||
|
|
c7df4a381e | ||
|
|
009cbcafce | ||
| 1b699f4591 | |||
|
|
440362ecaa |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7cda866a62b42a23dafb409985e674a595d243037f04c80fdc39d7bb24f43374
|
|
||||||
size 455095
|
|
||||||
BIN
pdfarranger-1.13.0.tar.gz
LFS
Normal file
BIN
pdfarranger-1.13.0.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,8 +1,60 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 3 06:53:51 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>
|
Sun Feb 1 20:13:41 UTC 2026 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
- Add python313.patch to fix compatibility with python313
|
- Update to 1.13.0 (fixes boo#1257190)
|
||||||
boo#1257190, gh#pdfarranger/pdfarranger#1238
|
* New / improved features:
|
||||||
|
- 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>
|
||||||
|
|||||||
7
pdfarranger.rpmlintrc
Normal file
7
pdfarranger.rpmlintrc
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# 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) 2024 SUSE LLC
|
# Copyright (c) 2026 SUSE LLC and contributors
|
||||||
# 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,29 +17,46 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} >= 1600
|
||||||
|
%define pythons python3
|
||||||
|
%else
|
||||||
|
%define pythons python311
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: pdfarranger
|
Name: pdfarranger
|
||||||
Version: 1.11.1
|
Version: 1.13.0
|
||||||
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
|
||||||
Source: https://github.com/pdfarranger/pdfarranger/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/pdfarranger/pdfarranger/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM python313.patch gh#pdfarranger/pdfarranger@681fa51a2a20
|
Source1: %{name}.rpmlintrc
|
||||||
Patch0: python313.patch
|
BuildRequires: %{python_module base}
|
||||||
|
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: python3-devel
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-rpm-macros
|
# Section Tests
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: %{python_module cairo}
|
||||||
Requires: gtk3
|
BuildRequires: %{python_module dateutil >= 2.4.0}
|
||||||
Requires: python3-cairo
|
BuildRequires: %{python_module gobject-Gdk}
|
||||||
Requires: python3-dateutil >= 2.4.0
|
BuildRequires: %{python_module packaging}
|
||||||
Requires: python3-gobject-Gdk
|
BuildRequires: %{python_module pikepdf >= 6}
|
||||||
Requires: python3-pikepdf >= 6
|
BuildRequires: typelib-1_0-Gtk-3_0
|
||||||
|
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: python3-img2pdf >= 0.3.4
|
Recommends: %{python_flavor}-img2pdf >= 0.3.4
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -47,33 +64,32 @@ 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
|
||||||
python3 setup.py build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%pyproject_install
|
||||||
%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}
|
||||||
%{python3_sitelib}/%{name}
|
%{python_sitelib}/%{name}
|
||||||
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
|
%{python_sitelib}/%{name}-%{version}*.*-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
|
%{_datadir}/icons/hicolor/*/apps/*
|
||||||
%{_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
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
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