Opened 8 years ago

Closed 8 years ago

#52246 closed submission (fixed)

Portfile for l3afpad (GTK+ 3 fork of leafpad)

Reported by: Russell-Jones-OxPhys (Russell Jones) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: l3afpad

Description

Attached

Attachments (1)

Portfile-l3afpad (1.3 KB) - added by Russell-Jones-OxPhys (Russell Jones) 8 years ago.
Portfile for l3afpad 0.8.18.1.11

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by Russell-Jones-OxPhys (Russell Jones)

Attachment: Portfile-l3afpad added

Portfile for l3afpad 0.8.18.1.11

comment:1 Changed 8 years ago by larryv (Lawrence Velázquez)

Cc: devans@… added

Cc-ing Dave because something something GTK something.

comment:2 Changed 8 years ago by dbevans (David B. Evans)

Cc: devans@… removed
Owner: changed from macports-tickets@… to devans@…
Status: newassigned

comment:3 Changed 8 years ago by dbevans (David B. Evans)

Russell may I add you as maintainer?

comment:4 Changed 8 years ago by dbevans (David B. Evans)

I was able to build the port but the menus don't function properly. When clicking on say File, instead of a pulldown menu there, only a bold horizontal line is drawn. Terminal output as follows.

Davids-Mac-mini:l3afpad devans$ !!
l3afpad

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate toplevel GtkWindow 0x7fa1f3820520. Allocation is 1x1, but minimum required size is 216x66.

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkWindow's child GtkMenu 0x7fa1f38602c0. Allocation is 1x1, but minimum required size is 216x66.

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
*** BUG ***
In void pixman_region32_init_rect(region_type_t *, int, int, unsigned int, unsigned int): Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In void pixman_region32_init_rect(region_type_t *, int, int, unsigned int, unsigned int): Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


(l3afpad:6558): Gtk-WARNING **: Negative content width -7 (allocation 1, extents 4x4) while allocating gadget (node arrow, owner GtkMenu)

(l3afpad:6558): Gtk-WARNING **: Negative content width -7 (allocation 1, extents 4x4) while allocating gadget (node arrow, owner GtkMenu)
*** BUG ***
In void pixman_region32_init_rect(region_type_t *, int, int, unsigned int, unsigned int): Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869470. Allocation is 1x138551296, but minimum required size is 52x24.

(l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkImageMenuItem)

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f38665b0. Allocation is 1x138551288, but minimum required size is 27x14.

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869640. Allocation is 1x138551296, but minimum required size is 56x24.

(l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkImageMenuItem)

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f38667a0. Allocation is 1x138551288, but minimum required size is 44x14.

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869810. Allocation is 1x138551296, but minimum required size is 52x24.

(l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkImageMenuItem)

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f3866990. Allocation is 1x138551288, but minimum required size is 31x14.

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f38699e0. Allocation is 1x138551296, but minimum required size is 73x24.

(l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkImageMenuItem)

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f3866b80. Allocation is 1x138551288, but minimum required size is 61x14.

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869bb0. Allocation is 1x138551296, but minimum required size is 77x24.

(l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkImageMenuItem)

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f3866d70. Allocation is 1x138551288, but minimum required size is 65x14.

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869d80. Allocation is 1x138551296, but minimum required size is 91x24.

(l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkImageMenuItem)

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f3866f60. Allocation is 1x138551288, but minimum required size is 79x14.

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869f50. Allocation is 1x138551296, but minimum required size is 52x24.

(l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkImageMenuItem)

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f38711f0. Allocation is 1x138551288, but minimum required size is 39x14.

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3873200. Allocation is 1x138551296, but minimum required size is 52x24.

(l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkImageMenuItem)

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f38713e0. Allocation is 1x138551288, but minimum required size is 25x14.

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate toplevel GtkWindow 0x7fa1f3820520. Allocation is 1x1, but minimum required size is 216x66.

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkWindow's child GtkMenu 0x7fa1f38602c0. Allocation is 1x1, but minimum required size is 216x66.

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(l3afpad:6558): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
*** BUG ***
In void pixman_region32_init_rect(region_type_t *, int, int, unsigned int, unsigned int): Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In void pixman_region32_init_rect(region_type_t *, int, int, unsigned int, unsigned int): Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


(l3afpad:6558): Gtk-WARNING **: Negative content width -7 (allocation 1, extents 4x4) while allocating gadget (node arrow, owner GtkMenu)

(l3afpad:6558): Gtk-WARNING **: Negative content width -7 (allocation 1, extents 4x4) while allocating gadget (node arrow, owner GtkMenu)
*** BUG ***
In void pixman_region32_init_rect(region_type_t *, int, int, unsigned int, unsigned int): Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869470. Allocation is 1x138551296, but minimum required size is 52x24.

(l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkImageMenuItem)

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f38665b0. Allocation is 1x138551288, but minimum required size is 27x14.

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869640. Allocation is 1x138551296, but minimum required size is 56x24.

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869810. Allocation is 1x138551296, but minimum required size is 52x24.

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f38699e0. Allocation is 1x138551296, but minimum required size is 73x24.

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869bb0. Allocation is 1x138551296, but minimum required size is 77x24.

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869d80. Allocation is 1x138551296, but minimum required size is 91x24.

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869f50. Allocation is 1x138551296, but minimum required size is 52x24.

(l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3873200. Allocation is 1x138551296, but minimum required size is 52x24. 

Apparently the menu heights and widths are not being correctly allocated.

comment:5 in reply to:  3 Changed 8 years ago by Russell-Jones-OxPhys (Russell Jones)

Replying to devans@…:

Russell may I add you as maintainer?

Sure, but also set openmaintainer, please.

comment:6 Changed 8 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

Ok, I resolved the problems that I was having on this end. Apparently, with the 3.22.0 update of gtk3, the default gtk3 settings have changed. Removing the old settings under ~/.config/gtk3 fixed the problem.

Committed in r153502 with modifications

  • added maintainer openmaintainer as requested
  • removed broken explicit livecheck, this is handled automatically by the github portgroup

Thanks for your submission.

Note: See TracTickets for help on using tickets.