[MacPorts] #27794: New port: ige-mac-bundler 0.6.0
#27794: New port: ige-mac-bundler 0.6.0 ---------------------------+------------------------------------------------ Reporter: mike@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ---------------------------+------------------------------------------------ New port: ige-mac-bundler 0.6.0 -- Ticket URL: <https://trac.macports.org/ticket/27794> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27794: New port: ige-mac-bundler 0.6.0 ---------------------------+------------------------------------------------ Reporter: mike@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: ---------------------------+------------------------------------------------ Changes (by jmr@…): * version: 1.9.2 => * type: enhancement => submission -- Ticket URL: <https://trac.macports.org/ticket/27794#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27794: New port: ige-mac-bundler 0.6.0 ---------------------------+------------------------------------------------ Reporter: mike@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: ige-mac-bundler ---------------------------+------------------------------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * status: new => assigned * port: => ige-mac-bundler Comment: Thanks. -- Ticket URL: <https://trac.macports.org/ticket/27794#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27794: New port: ige-mac-bundler 0.6.0 ---------------------------+------------------------------------------------ Reporter: mike@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: ige-mac-bundler ---------------------------+------------------------------------------------ Comment(by ryandesign@…): Committed in r74669 with these changes: * reformatted whitespace * removed commented-out dependencies * removed md5 checksum which I consider to be obsolete * changed "configure {}" to "use_configure no" (see "port lint") * replaced "exec cp -R" with "copy" * tweaked livecheck settings I also meant to indicate that this software does not install any architecture-specific files, but I forgot; I committed that change in r74670. However, I don't think the software works, because: 1. The script ${prefix}/bin/ige-mac-bundler begins with: {{{ #!/usr/bin/env python }}} That means it will run using whatever python the user happens to have selected, or Mac OS X's python if the user hasn't selected one. Instead, the port should declare a dependency on a specific version of python (2.7, I guess, since that's the python into whose directory you've copied the files) and use that specific version of python in the shebang line. 2. Next, the script reads: {{{ sys.path.insert(0, '/i386-10.6-mp/var/macports/build /_Users_rschmidt_macports_dports_devel_ige-mac-bundler/work/ige-mac- bundler-0.6.0') }}} That path does not exist after the port has been installed; that's the work directory that MacPorts (by default) cleans up after a successful installation. Trying to run the script gives me: {{{ Traceback (most recent call last): File "/i386-10.6-mp/bin/ige-mac-bundler", line 5, in <module> import bundler.main ImportError: No module named bundler.main }}} So this path needs to be changed to something else before installation. Can you attach a patch to address these issues? -- Ticket URL: <https://trac.macports.org/ticket/27794#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27794: New port: ige-mac-bundler 0.6.0 ---------------------------+------------------------------------------------ Reporter: mike@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: ige-mac-bundler ---------------------------+------------------------------------------------ Comment(by gellule.xg@…): ryandesign, I just attached the patch you were looking for. Hope it works for you. Regards, -Julien/Gellule -- Ticket URL: <https://trac.macports.org/ticket/27794#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27794: New port: ige-mac-bundler 0.6.0 ---------------------------+------------------------------------------------ Reporter: mike@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: ige-mac-bundler ---------------------------+------------------------------------------------ Comment(by gellule.xg@…): ryandesign, I attached a new Portfile.2 as well as the patches referenced. Some explanations: {{{ In patch-bundler-bundler.py.diff + fout.write("\n") }}} This is from upstream, not in version 0.6.0 of ige-mac-integration {{{ In patch-bundler-bundler.py.diff - self.copy_path(Path("${prefix}/lib/charset.alias")) + self.copy_path(Path("/usr/lib/charset.alias", dest="${bundle}/Contents/Resources")) }}} This is because MacPorts does not have charset.alias in /opt/local/lib. I do hope that it is always found in /usr/lib. {{{ In patch-bundler-bundler.py.diff - f.write("ModuleFiles=./pango.modules\n") + f.write("ModuleFiles=./Contents/Resources/etc/pango/pango.modules\n") In patch-bundler-launsher.sh.diff +cd $bundle }}} The version of pango produced by MacPorts does not like "./pango.modules". I have no idea why I needed that, but it works. Comments from John Ralls (ige-mac-bundler's maintainer): {{{ That must be something MacPorts is doing differently from Gtk-OSX. When I copy pango-querymodules into a bundle and edit the launcher script to run it, I get the expected list of modules printed to Console, with no changing directories or editing pangorc. }}} -- Ticket URL: <https://trac.macports.org/ticket/27794#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27794: New port: ige-mac-bundler 0.6.0 ---------------------------+------------------------------------------------ Reporter: mike@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: ige-mac-bundler ---------------------------+------------------------------------------------ Comment(by suv-sf@…): Could the example files as well as the available docs (Changelog, INSTALL, README, …) be installed as well? (Portfile.2 only installs the bundler scripts). -- Ticket URL: <https://trac.macports.org/ticket/27794#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27794: New port: ige-mac-bundler 0.6.0 ---------------------------+------------------------------------------------ Reporter: mike@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: ige-mac-bundler ---------------------------+------------------------------------------------ Comment(by gellule.xg@…): Is there a recommended location/layout to install these additional files? Would /opt/local/share/ige-mac-bundler work? -- Ticket URL: <https://trac.macports.org/ticket/27794#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27794: New port: ige-mac-bundler 0.6.0 ---------------------------+------------------------------------------------ Reporter: mike@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch | Port: ige-mac-bundler ---------------------------+------------------------------------------------ Changes (by jmr@…): * keywords: => haspatch -- Ticket URL: <https://trac.macports.org/ticket/27794#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27794: New port: ige-mac-bundler 0.6.0 ------------------------------+-------------------------- Reporter: mike@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: ige-mac-bundler | ------------------------------+-------------------------- Comment (by egall@…): Isn't this already an existing port? -- Ticket URL: <https://trac.macports.org/ticket/27794#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27794: New port: ige-mac-bundler 0.6.0 ------------------------------+-------------------------- Reporter: mike@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: ige-mac-bundler | ------------------------------+-------------------------- Comment (by larryv@…): Replying to [comment:11 egall@…]:
Isn't this already an existing port?
See comment:3. -- Ticket URL: <https://trac.macports.org/ticket/27794#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27794: New port: ige-mac-bundler 0.6.0 ------------------------------+-------------------------- Reporter: mike@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: ige-mac-bundler | ------------------------------+-------------------------- Comment (by t.tensi@…): Dear all, John Ralls renamed the "ige-mac-bundler" to "gtk-mac-bundler" some time ago, so I recommend to use that name for the port. Also the 0.6.0 version is outdated, the current version is 0.7.3. I have enclosed a new portfile and adapted the patch files of Julien. Best regards, Thomas -- Ticket URL: <https://trac.macports.org/ticket/27794#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#27794: New port: ige-mac-bundler 0.6.0 ------------------------------+-------------------------- Reporter: mike@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: ige-mac-bundler | ------------------------------+-------------------------- Comment (by Peter.Danecek@…): The port requested by this port already exists. So this ticket should be closed. If there should be some need to upgrade to `gtk-mac-bundler @0.7.3` or some other versions, this probably is better handled by some other ticket. {{{ ige-mac-bundler @0.6.0 (devel) Description: A utility that aids in the creation of Mac OS X application bundles Homepage: http://sourceforge.net/projects/gtk-osx Platforms: darwin License: unknown Maintainers: mike@flyn.org }}} -- Ticket URL: <https://trac.macports.org/ticket/27794#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#27794: New port: ige-mac-bundler 0.6.0 ------------------------------+-------------------------- Reporter: mike@… | Owner: ryandesign@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: ige-mac-bundler | ------------------------------+-------------------------- Changes (by cal@…): * status: assigned => closed * resolution: => fixed Comment: Obsoleted by #41905. -- Ticket URL: <https://trac.macports.org/ticket/27794#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts