Opened 8 years ago

Last modified 8 years ago

#51449 closed update

Update gtk-mac-bundler from 0.7.3 to 0.7.4 - make gtk3-demo work — at Version 2

Reported by: fredowski Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: gellule.xg@…
Port: gtk-mac-bundler

Description (last modified by mf2k (Frank Schima))

There is a new version 0.7.4 of gtk-mac-bundler in upstream. I updated the portfile to use the new upstream version.

I tried to create an app bundle for the gtk3-demo that is part of the examples. I tried to create the example directly from the macports installation without the jhbuild environment. For this purpose I added

  • a patch to add the changes between 0.7.4 to the git version from February 2016
  • a patch for bundler.py for the charset.alias as in the previous macports version
  • a patch for examples/gtk3-demo.bundle to produce the bundle from macports
  • a patch for examples/gtk3-launcher.sh to start the application.
  • a change in the portfile to copy the examples to /opt/local/share/gtk-mac-bundler/examples
  • a change in the portfile to modify the prefix in examples/gtk3-demo.bundle

With these changes I can produce the gtk3-demo application directly from the macports environment via

gtk-mac-bundler /opt/local/share/gtk-mac-bundler/examples/gtk3-demo.bundle

Change History (6)

Changed 8 years ago by fredowski

Changed 8 years ago by fredowski

Attachment: patch-bundler_py.diff added

Changed 8 years ago by fredowski

Attachment: patch-gtk3-demo-bundle.diff added

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Thank you for the patch.

Some comments:

  • Based on the keywords, you are claiming to be a maintainer for this port, but your email does match the maintainer email. Are you the same person?
  • The revision line should be deleted because it starts at 0 when increasing the version and that is the default value.

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Description: modified (diff)
Version: 2.3.4

Changed 8 years ago by fredowski

Attachment: portfile.diff added
Note: See TracTickets for help on using tickets.