[Debian-astro-commits] [stellarium] 04/04: and just to make it easier

Tomasz Buchert tomasz at moszumanska.debian.org
Wed Jun 3 11:34:31 UTC 2015


This is an automated email from the git hooks/post-receive script.

tomasz pushed a commit to branch bug-786715/sandbox
in repository stellarium.

commit 4263098c44dd181a7fb8609662b8cc28465f18e4
Author: Tomasz Buchert <tomasz at debian.org>
Date:   Wed Jun 3 13:34:08 2015 +0200

    and just to make it easier
---
 filter.py    | 8 ++++++--
 show-symbols | 4 ++++
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/filter.py b/filter.py
index b1c00e2..83c6bed 100644
--- a/filter.py
+++ b/filter.py
@@ -6,7 +6,10 @@ stdin = sys.stdin.read()
 ms = re.findall(r'Q[A-Z]\w+', stdin)
 ms = list(set(ms))
 
-print ms
+print "Used classes:"
+
+for m in ms:
+    print "    " + m
 
 qtcore = 'libQt5Core.so.5 => '
 
@@ -31,5 +34,6 @@ def funnysplit(s):
                 last = i + 1
     return ps
 
+print "Used symbols:"
 for p in funnysplit(line):
-    print p
+    print "    " + p
diff --git a/show-symbols b/show-symbols
new file mode 100755
index 0000000..f8401ab
--- /dev/null
+++ b/show-symbols
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+make
+symtree proj | c++filt | python filter.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/stellarium.git



More information about the Debian-astro-commits mailing list