[Bug 871092] Review Request: updf - Application to write to PDF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=871092

--- Comment #31 from Michael Schwendt <mschwendt@xxxxxxxxx> ---
> How can I know all the right dependencies ?

Only by becoming intimately familiar with the software you want to package, by
examining its Python source code, and by using Yum or repoquery to locate
needed packages.

For example, you can use your favourite search tool to locate "import"
statements. Then find out what packages include the needed Python modules.

The primary task would be to get the BuildRequires right, so the build doesn't
fail and no features, which could be enabled, get disabled. The secondary (and
somewhat less important) task would be to complete the run-time dependencies.
To mark your package as depending on other packages.

> gir1.2-gdkpixbuf-2.0: GDK Pixbuf libraries - introspection GObject -->
> gdk-pixbuf2 on Fedora ? 

Reviewing Debian packages is outside the scope of this package review request.
You would need to be familiar with the contents of those packages to tell
whether they include Python stuff. What does "gdk-pixbuf2" include that would
be needed?

$ rpm -qf /usr/lib64/girepository-1.0/GdkPixbuf-2.0.typelib 
gdk-pixbuf2-2.26.5-1.fc18.x86_64

Ah!

> gir1.2-poppler-0.18: rendering library for PDF based on Xpdf -->
> pypoppler on Fedora ?

pypoppler on Fedora only provides a Python module "poppler" (lower-case first
letter!), but nothing to satisfy:

  updf.py:from gi.repository import Poppler, Gtk, Gdk, GObject, GdkPixbuf

$ rpm -qf /usr/lib64/girepository-1.0/Poppler-0.18.typelib 
poppler-glib-0.20.2-9.fc18.x86_64

Ah!

> BuildRequires: pycairo-devel
> BuildRequires: pygobject3-devel
> BuildRequires: gdk-pixbuf2-devel

Have you added these BuildRequires because building updf failed without them?
Do these packages contain Python stuff needed to build updf? If in doubt,
examine what's included in those packages.

If you follow
https://fedoraproject.org/wiki/Join_the_package_collection_maintainers
to step 2.1.8 you could submit a scratch build in the Fedora Build System.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=4A93eWtZyi&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]