[Python-modules-commits] [fabulous] 03/15: Look for the default xterm256.so instead of building one's own
Ondřej Nový
onovy at moszumanska.debian.org
Sun Aug 14 10:40:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
onovy pushed a commit to branch master
in repository fabulous.
commit 617afccea4564f7dd8a606f9841a9910dfb066ec
Author: Simon Chopin <chopin.simon at gmail.com>
Date: Thu Oct 8 09:02:47 2015 -0700
Look for the default xterm256.so instead of building one's own
Forwarded: not-needed
Last-Update: 2013-04-24
Patch-Name: build_xterm256_ext
---
fabulous/xterm256.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fabulous/xterm256.py b/fabulous/xterm256.py
index 8561043..cc2d188 100644
--- a/fabulous/xterm256.py
+++ b/fabulous/xterm256.py
@@ -97,14 +97,13 @@ def compile_speedup():
You need:
- Python >= 2.5 for ctypes library
- - gcc (``sudo apt-get install gcc``)
"""
import os
import ctypes
from os.path import join, dirname, getmtime, exists, expanduser
# library = join(dirname(__file__), '_xterm256.so')
- library = expanduser('~/.xterm256.so')
+ library = '/usr/lib/fabulous/xtermspeedup.so'
sauce = join(dirname(__file__), '_xterm256.c')
if not exists(library) or getmtime(sauce) > getmtime(library):
build = "gcc -fPIC -shared -o %s %s" % (library, sauce)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/fabulous.git
More information about the Python-modules-commits
mailing list