[MacPorts] #42035: gnome-utils: port outdated, replaced by new individual GNOME packages, maintainers wanted.

MacPorts noreply at macports.org
Thu May 1 12:06:06 PDT 2014


#42035: gnome-utils: port outdated, replaced by new individual GNOME packages,
maintainers wanted.
--------------------------+--------------------------------
  Reporter:  devans@…     |      Owner:  macports-tickets@…
      Type:  request      |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.2.1
Resolution:               |   Keywords:
      Port:  gnome-utils  |
--------------------------+--------------------------------

Comment (by devans@…):

 Replying to [comment:22 juanrgar@…]:
 > I've added gnome3-core and gnome-utils patches for gnome-screenshot just
 for completeness sake.
 >
 > I've come up with a small test that loads screenshot-dialog.ui, and it
 works fine. However, if I do
 > {{{
 > g_type_class_ref (GTK_TYPE_FILE_CHOOSER);
 > }}}
 > which I think is in the crash back trace, I get this
 > {{{
 > (process:33203): GLib-GObject-WARNING **: cannot retrieve class for
 invalid (unclassed) type 'GtkFileChooser'
 > }}}
 >
 > This is weird I think. Anyways, I guess that if there's a bug, it
 doesn't seem to be in gnome-screenshot. Maybe after taking the screenshot,
 i.e. after performing some calls to X11, Gtk+ comes to a bad state or
 something; I think this is important to note, the crash happens after
 taking the screenshot.

 Just moved this port from my personal test branch to GNOME-3/stable
 (r119586) and rebuilt it using the latest gtk3 (3.12.1). Running gnome-
 screenshot
 from the command line (in a OS X terminal window) causes the screen to
 blink and a png the size of the screen is created but the content is all
 black.  Error message but no crash observed.
 {{{
 $ gnome-screenshot -f test.png
 ** Message: Unable to use GNOME Shell's builtin screenshot interface,
 resorting to fallback X11.
 $ file test.png
 test.png: PNG image data, 1680 x 1028, 8-bit/color RGB, non-interlaced
 }}}

 Attempting a screenshot of a window with -w option gives the same result,
 png is still the size of the screen not the window.  Content is black.

 {{{
 $ gnome-screenshot -w -f test-window.png
 ** Message: Unable to use GNOME Shell's builtin screenshot interface,
 resorting to fallback X11.
 $ file test-window.png
 test-window.png: PNG image data, 1680 x 1028, 8-bit/color RGB, non-
 interlaced
 }}}

 Finally if I open an xterm and run the window test from there, I at least
 get a file that is the size of the window but still black content.

 {{{
 $ gnome-screenshot -w -f test-xterm-screenshot.png
 ** Message: Unable to use GNOME Shell's builtin screenshot interface,
 resorting to fallback X11.
 $ file test-xterm-screenshot.png
 test-xterm-screenshot.png: PNG image data, 484 x 338, 8-bit/color RGBA,
 non-interlaced
 }}}

 Screen shot png's attached


 Submitted port version is 3.10.1 but latest available is 3.12.0 so it
 probably should be updated before any further testing.

-- 
Ticket URL: <https://trac.macports.org/ticket/42035#comment:25>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list