Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705060 - app-text/pdfarranger-1.3.1 missing run-time dependencies
Summary: app-text/pdfarranger-1.3.1 missing run-time dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-09 19:36 UTC by Chris Mayo
Modified: 2020-01-13 16:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2020-01-09 19:36:34 UTC
I think:

	app-text/poppler[introspection]
	dev-python/pycairo[${PYTHON_USEDEP}]
	dev-python/pygobject[${PYTHON_USEDEP}]
	x11-libs/gtk+:3[introspection]
	x11-libs/pango[introspection]

README.md has for Debian/Ubuntu:
sudo apt-get install python3-distutils-extra python3-wheel python3-gi python3-gi-cairo gir1.2-gtk-3.0 gir1.2-poppler-0.18 python3-setuptools

which also suggests dev-python/pygobject[cairo] although there is no gi.require_foreign("cairo"), not sure if that is true or if there is another way it could be being used.

pdfarranger-1.3.1/pdfarranger $ grep gi.repository *
iconview.py:from gi.repository import Gtk
iconview.py:from gi.repository import GObject
...
pdfarranger.py:from gi.repository import Gdk
pdfarranger.py:from gi.repository import Gio  # for inquiring mime types information
pdfarranger.py:from gi.repository import GLib
pdfarranger.py:from gi.repository import Pango
pdfarranger.py:from gi.repository import Poppler  # for the rendering of pdf pages

pdfarranger-1.3.1/pdfarranger $ grep cairo *
pdfarranger.py:import cairo
pdfarranger.py:                thumbnail = cairo.ImageSurface(cairo.FORMAT_ARGB32,
pdfarranger.py:                cr = cairo.Context(thumbnail)
Comment 1 Andrey Grozin gentoo-dev 2020-01-11 09:04:09 UTC
(In reply to Chris Mayo from comment #0)
> I think:
> 
> 	app-text/poppler[introspection]
> 	dev-python/pycairo[${PYTHON_USEDEP}]
> 	dev-python/pygobject[${PYTHON_USEDEP}]
> 	x11-libs/gtk+:3[introspection]
> 	x11-libs/pango[introspection]
> 
> README.md has for Debian/Ubuntu:
> sudo apt-get install python3-distutils-extra python3-wheel python3-gi
> python3-gi-cairo gir1.2-gtk-3.0 gir1.2-poppler-0.18 python3-setuptools
> 
> which also suggests dev-python/pygobject[cairo] although there is no
> gi.require_foreign("cairo"), not sure if that is true or if there is another
> way it could be being used.
Thank you.

It seems that there is only
import cairo
from pycairo, not anything related to pygobject[cairo]. But to be on the safe side, I've added pygobject[${PYTHON_USEDEP},cairo] (by the way, it depends on pycairo, and pycairo may be removed from the list; but it's better to keep it). The USE flag cairo in pygobject is on by default, so, it seems, the dependency on pygobject[cairo] makes no difference for the majority of users.
Comment 2 Larry the Git Cow gentoo-dev 2020-01-13 16:17:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d0c810c5b8ca6922570ea99ef9ea518564aeb21

commit 8d0c810c5b8ca6922570ea99ef9ea518564aeb21
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2020-01-13 16:16:48 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2020-01-13 16:16:48 +0000

    app-text/pdfarranger: add missing dependencies
    
    Closes: https://bugs.gentoo.org/705060
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Andrey Grozin <grozin@gentoo.org>

 app-text/pdfarranger/pdfarranger-1.3.1.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)