- Group Reviewers
- Maniphest Tasks
- T9402: Update paperwork to 2.0.1
- R2297:92fecb4d12c0: Update 'paperwork-gui' -> 'paperwork' to 2.0.3
Build with all dependencies and started.
▶ paperwork-gtk chkdeps Detected system: solus 4.3 fortitude [WARNING] [openpaperwork_core.cmd.chkdeps] WARNING: Unknown distribution. Can't suggest packages to install
- Check locales
- Open "Contributions"
- Open "Help" Help is downloaded from paperwork's ci, according to make release.
- Open PDF-file and test paperwork
I think I found a way to build icons.
builddeps : - paperwork-backend - pyxdg - xdg-utils - xorg-server-xvfb rundeps : - paperwork-backend - python-dateutil - pyxdg build : | make version make l10n_compile %make install : | pushd paperwork-gtk %python3_install popd # install icons and desktop file export PYTHONPATH=%installroot%/usr/lib/python%python3_version%/site-packages:$PWD xvfb-run -a python3 -m paperwork_gtk.main install \ --icon_base_dir=$installdir/usr/share/icons \ --data_base_dir=$installdir/usr/share
Now the .desktop file is included with means you have to delete our paperwork.dekstop.
Still don't know why the version is still reported 0.0.0 /usr/lib/python3.9/site-packages/paperwork-0.0.0-py3.9.egg-info/PKG-INFO
You can see that from pip too. pip3 show paperwork.
But this isn't a big issue. The most important thing here is to test this package and maintain it. :D
The version is created from make version in the root directory. And there the version is read from git. But we download the source tarball without git. So there is unfortunately no version available. But we can set it manually be creating the file (uggh :/) or clone the tag with git directly.
In my opinion, it is better using simply the name paperwork.
You have to use the stack option to link this diff with other diffs.
For example: paperwork-gtk depends on paperwork-backend which is D11824.
Building paperwork-gtk will fail if paperwork-backend is not built first.
In this case, you have to edit the summary and add a new line:
Depends on D11824
The same with paperwork-backend dependencies, openpaperwork-core and openpaperwork-gtk