[MacPorts] #44616: Glom will not build with +quartz option

MacPorts noreply at macports.org
Sun Sep 21 08:30:24 PDT 2014


#44616: Glom will not build with +quartz option
-----------------------+-----------------------
  Reporter:  m.rick@…  |      Owner:  landonf@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.1
Resolution:            |   Keywords:
      Port:  glom      |
-----------------------+-----------------------

Comment (by m.rick@…):

 This is just a simple shell script I wrote and called Yelp I put in the
 Bin folder.
 It also tests the language settings.
 But I had to extract the help from the website because it is in HTML, the
 provided one is in an XML format and Mac OS X help is unable to read this
 format.
 Once done, it is is necessary to index the help folder with a little
 software called Help Indexer.app provided by Apple.

 It can be used for any GTK apps as well, excepting GIMP which something
 specific, but maybe it can be done with some tricks, but does work well
 with Gnumeric too.

 {{{
 #!/bin/sh
 #
 #Use native Mac OS X Help in GTK softwares

 name=$(basename "$0")
 echo $name

 dirn=$(dirname "$0")
 echo $dirn

 bundle=$(cd "$dirn/../../" && pwd)
 bundle_res="$bundle/Resources"
 HelpViewer="/System/Library/CoreServices/HelpViewer.app/Contents/MacOS/HelpViewer"

 help="$bundle_res/share/help"
 locale=$LANG
 short=${locale:0:2}
 locale=$short

 if [ -d /$help/$locale ]
 then
     $HelpViewer $help/$locale/index.html
 else
     $HelpViewer $help/en/index.html
 fi

 #$HelpViewer $help/$locale/index.html else $HelpViewer $help/en/index.html

 }}}

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


More information about the macports-tickets mailing list