[Bug 203780] multimedia/pitivi: needs runtime depend on librsvg2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 14 20:43:05 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203780

            Bug ID: 203780
           Summary: multimedia/pitivi: needs runtime depend on librsvg2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kwm at FreeBSD.org
          Reporter: felixphew0 at gmail.com
             Flags: maintainer-feedback?(kwm at FreeBSD.org)
          Assignee: kwm at FreeBSD.org

Created attachment 162053
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162053&action=edit
patch to fix the issue

When building PiTiVi from ports, it compiles fine, all normal. When I attempt
to run it, I get this traceback:

Traceback (most recent call last):
  File "/usr/local/bin/pitivi", line 138, in <module>
    _run_pitivi()
  File "/usr/local/bin/pitivi", line 133, in _run_pitivi
    sys.exit(ptv.main(sys.argv))
  File "/usr/local/lib/pitivi/python/pitivi/application.py", line 358, in main
    ptv.run(sys.argv[1:])
  File "/usr/local/lib/pitivi/python/pitivi/application.py", line 257, in run
    self.gui = PitiviMainWindow(self)
  File "/usr/local/lib/pitivi/python/pitivi/ui/mainwindow.py", line 179, in
__init__
    create_stock_icons()
  File "/usr/local/lib/pitivi/python/pitivi/ui/mainwindow.py", line 150, in
create_stock_icons
    pixbuf = gtk.gdk.pixbuf_new_from_file(os.path.join(pmdir, path))
glib.GError: Couldn't recognize the image file format for file
'/usr/local/share/pitivi/pixmaps/pitivi-split-24.svg'

To replicate: install and run multimedia/pitivi without librsvg2 installed.

Some quick googling reveals that PiTiVi needs librsvg2 at runtime due to some
of its icons being in SVG format.

I have successfully fixed this issue by adding librsvg2 to USES_GNOME (patch is
attached).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list