[MacPorts] #30540: ipe @7.0.14: Please add an application bundle to Applications/MacPorts/

MacPorts noreply at macports.org
Mon Oct 24 08:16:51 PDT 2011


#30540: ipe @7.0.14: Please add an application bundle to Applications/MacPorts/
------------------------------------+---------------------------------------
  Reporter:  Torsten.Maehne@…       |       Owner:  m.thon@…                   
      Type:  enhancement            |      Status:  reopened                   
  Priority:  Normal                 |   Milestone:                             
 Component:  ports                  |     Version:  2.0.0                      
Resolution:                         |    Keywords:  haspatch                   
      Port:  ipe                    |  
------------------------------------+---------------------------------------

Comment(by m.thon@…):

 Replying to [comment:20 Torsten.Maehne@…]:
 > Thanks for your quick reaction. I agree, the individual icons for the
 different file formats are nice. In the second app bundle that I proposed,
 even an adapted *.icns file for the *.ipe format is included. Indeed, it
 would be nice if the icons would be updated in a future release to use
 some higher resolution. So, feel free to use them. :-)

 I think I was actually using the same icons, and based the Portfile update
 on your app bundle. I just provided them in a different format to save
 space. Anyhow, this is cosmetics, and nice icons should really be provided
 by ipe and not by MacPorts. So let's stick to the default ipe.png for now.

 > I agree, the LSEnvironment key is the preferred method to set the PATH
 in an app bundle. However, I didn't want to hardcode into it the whole
 path. $prefix/bin should be most probably always added in front of the
 default patch. If MacTeX is installed, additionally /usr/texbin should be
 prepended to the PATH. For me, it was easier to do this with the wrapper
 script, as I'm not very familiar with Tcl. Maybe, you want to take a try
 to substitute the PATH in Info.plist after installation of the app bundle?
 It is important that the LaTeX binaries are found by Ipe. Otherwise, all
 text labels will fail to render correctly.

 I am not sure if this is really correct, but I think for apps on OSX no
 default PATH is set (I tried your wrapper script, but the "open" command
 is not found when accessing the help). Therefore, the full PATH has to be
 set anyway. I now added the standard PATH to the entry in the Info.plist,
 which now sets PATH to
 @PREFIX@/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin:/usr/local/texbin:/usr/local/bin.
 @PREFIX@ is then substituted by the correct MacPorts prefix. It doesn't
 hurt to add directories that don't exist to the PATH.

 > Ipe is a very useful tool for me.

 Yeah! I've also been using it for all my LaTeX diagrams for several years
 :-)

 P.S.: I hope someone closes this ticket sometime soon...

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


More information about the macports-tickets mailing list