[MacPorts] #17749: py26-game - freesansbold.ttf access permission
#17749: py26-game - freesansbold.ttf access permission ------------------------------------+--------------------------------------- Reporter: nilo.menezes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: pygame, default font | Port: py26-game ------------------------------------+--------------------------------------- I installed MacPorts 1.7.0 and then py26-game. Games loading the default font "freesansbold.ttf" fail to run: self.font = pygame.font.Font(None, size) RuntimeError: default font not found 'freesansbold.ttf' This error does not happen if run by root. To fix it, I just: sudo chmod a+r /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/pygame/freesansbold.ttf -- Ticket URL: <http://trac.macports.org/ticket/17749> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17749: py26-game - freesansbold.ttf access permission ------------------------------------+--------------------------------------- Reporter: nilo.menezes@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: pygame, default font | Port: py26-game ------------------------------------+--------------------------------------- Changes (by devans@…): * owner: macports-tickets@… => jmr@… Comment: Assign to maintainer -- Ticket URL: <http://trac.macports.org/ticket/17749#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17749: py26-game - freesansbold.ttf access permission ------------------------------------+--------------------------------------- Reporter: nilo.menezes@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: pygame, default font | Port: py26-game, py25-game, py-game ------------------------------------+--------------------------------------- Changes (by jmr@…): * port: py26-game => py26-game, py25-game, py-game Comment: The permissions in the source tarball are overly restrictive to begin with. I can't find any way of telling setup.py to adjust the permissions of the installed files, so might just have to fs-traverse and chmod in post-destroot. -- Ticket URL: <http://trac.macports.org/ticket/17749#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17749: py26-game - freesansbold.ttf access permission ------------------------------------+--------------------------------------- Reporter: nilo.menezes@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: pygame, default font | Port: py26-game, py25-game, py-game ------------------------------------+--------------------------------------- Comment(by jmr@…): Upstream bug: http://pygame.motherhamster.org/bugzilla/show_bug.cgi?id=27 -- Ticket URL: <http://trac.macports.org/ticket/17749#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17749: py26-game - freesansbold.ttf access permission --------------------------------------------+------------------------------- Reporter: nilo.menezes@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: pygame, default font Port: py26-game, py25-game, py-game | --------------------------------------------+------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: Fixed in r44380. Hopefully upstream will release a fixed tarball soon. -- Ticket URL: <http://trac.macports.org/ticket/17749#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts