Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2015 20:43:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 203780] multimedia/pitivi: needs runtime depend on librsvg2
Message-ID:  <bug-203780-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: felixphew0@gmail.com
             Flags: maintainer-feedback?(kwm@FreeBSD.org)
          Assignee: kwm@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203780-13>