From 5e862dd1f6841b0714505b129a514a1a2cff926b Mon Sep 17 00:00:00 2001 From: su_v Date: Thu, 21 Aug 2014 15:44:13 +0200 Subject: add custom ports for Inkscape.app (Python 2.6.1 to be used on Leopard and SL, UniConvertor 1.1.5) (bzr r13506.1.39) --- .../py-sk1libs/files/patch-src-utils-fs.py.diff | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 packaging/macosx/ports/python/py-sk1libs/files/patch-src-utils-fs.py.diff (limited to 'packaging/macosx/ports/python/py-sk1libs/files/patch-src-utils-fs.py.diff') diff --git a/packaging/macosx/ports/python/py-sk1libs/files/patch-src-utils-fs.py.diff b/packaging/macosx/ports/python/py-sk1libs/files/patch-src-utils-fs.py.diff new file mode 100644 index 000000000..541935e71 --- /dev/null +++ b/packaging/macosx/ports/python/py-sk1libs/files/patch-src-utils-fs.py.diff @@ -0,0 +1,26 @@ +--- src/utils/fs.py.orig 2010-05-23 12:46:21.000000000 +0200 ++++ src/utils/fs.py 2013-01-18 15:40:02.000000000 +0100 +@@ -220,8 +220,14 @@ + finally: + _winreg.CloseKey( k ) + if system.get_os_family()==system.MACOSX: +- #FIXME: It's a stub. The paths should be more exact. +- return ['/',] ++ return ['__PREFIX__/share/fonts', ++ '/usr/share/fonts', ++ '/opt/X11/lib/X11/fonts', ++ '/System/Library/Fonts', ++ '/Network/Library/Fonts', ++ '/Library/Fonts', ++ os.path.expanduser("~/Library/Fonts"), ++ os.path.expanduser("~/.fonts")] + + + DIRECTORY_OBJECT=0 +@@ -311,4 +317,4 @@ + if __name__ == '__main__': + _test() + +- +\ No newline at end of file ++ -- cgit v1.2.3