[MacPorts] #53425: gedit-app

MacPorts noreply at macports.org
Sun Sep 24 02:34:35 UTC 2017


#53425: gedit-app
-------------------------+-----------------
  Reporter:  e-t-h-a-n   |      Owner:
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  gedit-app   |
-------------------------+-----------------

Comment (by kencu):

 I fixed this Portfile up a bit, using Ryan's comments. I ran into a little
 hicccup - `libenchant_applespell.so` doesn't seem to exist any more, and
 appears to be installed currently as `libenchant_aspell.so`. I just made a
 quick symlink to keep going:
 {{{
 sudo ln -s /opt/local/lib/enchant/libenchant_aspell.so
 /opt/local/lib/enchant/libenchant_applespell.so
 }}}

 but in the end, it still died at:
 {{{
 --->  Computing dependencies for gedit-app.
 --->  Building gedit-app
 Cannot find source to copy: /opt/local/share/themes/Mac
 Command failed: MACPORTS_PREFIX=/opt/local /opt/local/bin/gtk-mac-bundler
 osx/bundle/data/gedit.bundle
 }}}
 I went in and edited that theme reference out in this file:
 {{{
 /opt/local/var/macports/build/_Users_Shared_Downloads_gnome_gedit-app
 /gedit-app/work/gedit-app-3.22.0/osx/bundle/data/gedit.bundle
 }}}
 and then it built through and installed a full bundled copy of gedit as an
 application. I had to change the plist to allow it to run on 10.6 (it
 defaults to 10.7), but then it worked as expected.

 It's huge -- > 500 MB. But I see it copies in the entire gtk
 infrastructure, so I guess that makes sense.

 So - this is still not fully finished - the enchant aspell name and the
 `/themes/Mac` thing need to get properly fixed up -- but it does work.

 Where does that /themes/Mac theme come from, anyway? I wonder if we're
 missing that on MacPorts; or maybe it's already there as a port and I just
 don't know which one it is.

 Modified Portfile attached.

--
Ticket URL: <https://trac.macports.org/ticket/53425#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list