Skip to content

Commit 428b50b

Browse files
authored
Update runtime to 49 and more (#351)
- Update runtime to 49 - Update pdfarranger version to 1.13.0 - Update img2pdf version to 0.6.3 - Update poppler version to 26.03.0 - Compile pyc files to improve performance
1 parent 921d261 commit 428b50b

File tree

5 files changed

+50
-22
lines changed

5 files changed

+50
-22
lines changed

com.github.jeromerobert.pdfarranger.yaml

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,43 @@
11
id: com.github.jeromerobert.pdfarranger
22
runtime: org.gnome.Platform
3-
4-
runtime-version: '48'
5-
3+
runtime-version: '49'
64
sdk: org.gnome.Sdk
75
command: pdfarranger
8-
96
# We offer a language selection in the settings, therefore install all languages
107
separate-locales: false
11-
128
finish-args:
139
- --socket=wayland
1410
- --socket=fallback-x11
1511
- --share=ipc
1612
- --filesystem=host
13+
cleanup:
14+
- /include
15+
- /lib/cmake
16+
- /lib/pkgconfig
17+
- /share/doc
18+
- /share/gir-1.0
19+
- /share/man
20+
cleanup-commands:
21+
- python3 -m compileall --invalidation-mode=unchecked-hash /app
1722

1823
modules:
24+
1925
- flatpak-module-qpdf-pikepdf/pikepdf.yaml
26+
# dependeny of python-dateutil
27+
- python3-six.yaml
2028
- python3-python-dateutil.yaml
29+
# dependeny of img2pdf
30+
- python3-flit-core.yaml
2131

2232
- name: image2pdf
2333
buildsystem: simple
2434
build-commands:
25-
- pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST}
26-
img2pdf-*.tar.gz
35+
- pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
36+
img2pdf --no-build-isolation
2737
sources:
2838
# Depenedencies are satisfied through pikepdf installed earlier
29-
- url: https://files.pythonhosted.org/packages/82/c3/023387e00682dc1b46bd719ec19c4c9206dc8eb182dfd02bc62c5b9320a2/img2pdf-0.6.1.tar.gz
30-
sha256: 306e279eb832bc159d7d6294b697a9fbd11b4be1f799b14b3b2174fb506af289
39+
- url: https://files.pythonhosted.org/packages/8e/97/ca44c467131b93fda82d2a2f21b738c8bcf63b5259e3b8250e928b8dd52a/img2pdf-0.6.3.tar.gz
40+
sha256: 219518020f5bd242bdc46493941ea3f756f664c2e86f2454721e74353f58cd95
3141
type: file
3242
x-checker-data:
3343
type: pypi
@@ -44,8 +54,8 @@ modules:
4454
- -DENABLE_QT8=OFF
4555
- -DENABLE_BOOST=OFF
4656
sources:
47-
- url: https://poppler.freedesktop.org/poppler-25.11.0.tar.xz
48-
sha256: 63f155142b77349e2bccaef148e754e7506ab1641e713b83af4f54a8f8b15369
57+
- url: https://poppler.freedesktop.org/poppler-26.03.0.tar.xz
58+
sha256: 8b3c5e2a9f2ab4c3ec5029f28af1b433c6b71f0d1e7b3997aa561cf1c0ca4ebe
4959
type: archive
5060
x-checker-data:
5161
type: anitya
@@ -56,18 +66,13 @@ modules:
5666
- name: pdfarranger
5767
buildsystem: simple
5868
build-commands:
59-
- pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST}
60-
.
69+
- pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
70+
. --no-build-isolation
6171
sources:
6272
- url: https://github.com/pdfarranger/pdfarranger
63-
commit: 41f26a09482ccf8ce39b01e5b5784b59e00d3727
64-
tag: 1.12.1
73+
commit: 1194541b3a2ce07d1936471045106bff329bc5e3
74+
tag: 1.13.0
6575
type: git
6676
x-checker-data:
6777
type: git
6878
tag-pattern: ^([\d.]+)$
69-
70-
cleanup:
71-
- /include
72-
- /lib/pkgconfig
73-
- /app/bin/opj_*

python3-flit-core.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Generated with flatpak-pip-generator --yaml --checker-data --runtime=org.gnome.Sdk//49 flit-core --output python3-flit-core
2+
name: python3-flit-core
3+
buildsystem: simple
4+
build-commands:
5+
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
6+
--prefix=${FLATPAK_DEST} "flit-core" --no-build-isolation
7+
sources:
8+
- type: file
9+
url: https://files.pythonhosted.org/packages/f2/65/b6ba90634c984a4fcc02c7e3afe523fef500c4980fec67cc27536ee50acf/flit_core-3.12.0-py3-none-any.whl
10+
sha256: e7a0304069ea895172e3c7bb703292e992c5d1555dd1233ab7b5621b5b69e62c
11+
x-checker-data:
12+
name: flit_core
13+
packagetype: bdist_wheel
14+
type: pypi

python3-python-dateutil.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Generated with flatpak-pip-generator --checker-data --yaml --runtime=org.gnome.Sdk//44 python-dateutil
1+
# Generated with flatpak-pip-generator --yaml --checker-data --runtime=org.gnome.Sdk//49 python-dateutil --output python3-python-dateutil
22
name: python3-python-dateutil
33
buildsystem: simple
44
build-commands:

python3-six.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: python3-six
2+
buildsystem: simple
3+
build-commands:
4+
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
5+
--prefix=${FLATPAK_DEST} six --no-build-isolation
6+
sources:
7+
- type: file
8+
url: https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl
9+
sha256: 4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274

0 commit comments

Comments
 (0)