[MacPorts] #29434: gtk-quartz-engine port

MacPorts noreply at macports.org
Wed May 11 14:48:00 PDT 2011


#29434: gtk-quartz-engine port
------------------------------+---------------------------------------------
 Reporter:  tael67@…          |       Owner:  ryandesign@…           
     Type:  submission        |      Status:  assigned               
 Priority:  Normal            |   Milestone:                         
Component:  ports             |     Version:  1.9.2                  
 Keywords:                    |        Port:  gtk-quartz-engine      
------------------------------+---------------------------------------------

Comment(by ryandesign@…):

 I thought I was going to commit it, but I cannot get it to build; I get
 this error:

 {{{
 Undefined symbols:
   "_gdk_quartz_drawable_get_context", referenced from:
       _get_context in quartz-style.o
       _quartz_draw_button in quartz-draw.o
   "_gdk_quartz_drawable_release_context", referenced from:
       _release_context in quartz-style.o
       _quartz_draw_button in quartz-draw.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[2]: *** [libquartz.la] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 }}}

 I thought this might've been because I was building x86_64 (I'm on Snow
 Leopard) and the port description mentioned Carbon and 32-bit, but adding
 the line "supported_archs i386 ppc" to force a 32-bit build did not change
 the build error.

 I'm attaching a revised portfile with these changes:

  * fixed whitespace (tabs to spaces, removed trailing whitespace -- see
 "port lint --nitpick")
  * added blank lines to increase readability
  * tweaked descriptions
  * removed md5 checksums (we're gradually removing md5 from macports)
  * used a local patchfile instead of downloading it from some web site,
 thus no longer need to list its checksums or patchsites
  * removed post-install block which copied a template gtkrc file into the
 user's home directory (ports should not touch the home directory or
 usually anything outside of ${workpath} or ${destroot}). Instead the
 portfile should copy the template gtkrc file somewhere into destroot where
 the user can get to it later (if the makefile doesn't already do that),
 then use the notes feature to inform the user they should copy this file
 (I've included an example of this in the new portfile, though I haven't
 put the path to the template gtkrc file since I don't know where if
 anywhere it gets installed)

-- 
Ticket URL: <https://trac.macports.org/ticket/29434#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list