[109882] users/mojca/wxports/x11/xchm/Portfile

mojca at macports.org mojca at macports.org
Tue Aug 20 23:43:46 PDT 2013


Revision: 109882
          https://trac.macports.org/changeset/109882
Author:   mojca at macports.org
Date:     2013-08-20 23:43:46 -0700 (Tue, 20 Aug 2013)
Log Message:
-----------
mojca/xchm: add some comments, the app seems to work with wxWidgets 2.8

Modified Paths:
--------------
    users/mojca/wxports/x11/xchm/Portfile

Modified: users/mojca/wxports/x11/xchm/Portfile
===================================================================
--- users/mojca/wxports/x11/xchm/Portfile	2013-08-21 05:44:58 UTC (rev 109881)
+++ users/mojca/wxports/x11/xchm/Portfile	2013-08-21 06:43:46 UTC (rev 109882)
@@ -42,13 +42,20 @@
     configure.args-append   --with-wxdir=${wxWidgets.wxdir}
 }
 
-# untested
+# - this seems to work nice with wxWidgets 2.8
+# - wxWidgets 2.9 throw weird errors at startup (also without the app)
+# - the reason for excluding wxGTK is the following mystery when trying to launch the app:
+#   LSOpenURLsWithRole() failed with error -10810 for the file /Applications/MacPorts/xCHM.app
 if {![variant_isset wxgtk28]} {
     PortGroup               app 1.0
     set icon_name           xchm-128
     app.name                xCHM
     app.executable          xchm
     app.icon                ${worksrcpath}/art/${icon_name}.png
+    # TODO: ImageMagick doesn't need to be universal
+    # it's only needed to convert the image to png
+    # if there is a more lightweight program to do the same, that one should be used
+    # or the icon as png should be fetched from elsewhere
     depends_build-append    port:ImageMagick
     post-build {
         system -W ${worksrcpath}/art "${prefix}/bin/convert ${icon_name}.xpm ${icon_name}.png"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130820/459aa53c/attachment.html>


More information about the macports-changes mailing list