[virtaal] Add new patches to eliminate dependency checking and profiling
dwayne
dwayne at fedoraproject.org
Wed Apr 20 15:13:31 UTC 2011
commit bc9d251d1e6c1005fa31094550f1cb4f323a2152
Author: Dwayne Bailey <dwayne at translate.org.za>
Date: Sat Apr 16 21:47:39 2011 +0200
Add new patches to eliminate dependency checking and profiling
virtaal-0.7.0b4-no_depcheck.patch | 12 ++++++++++++
virtaal-0.7.0b5-no_profiling.patch | 12 ++++++++++++
2 files changed, 24 insertions(+), 0 deletions(-)
---
diff --git a/virtaal-0.7.0b4-no_depcheck.patch b/virtaal-0.7.0b4-no_depcheck.patch
new file mode 100644
index 0000000..b336452
--- /dev/null
+++ b/virtaal-0.7.0b4-no_depcheck.patch
@@ -0,0 +1,12 @@
+diff -up virtaal-0.7.0-beta4/bin/virtaal.no_depcheck virtaal-0.7.0-beta4/bin/virtaal
+--- virtaal-0.7.0-beta4/bin/virtaal.no_depcheck 2011-01-21 05:58:24.386273149 +0200
++++ virtaal-0.7.0-beta4/bin/virtaal 2011-01-21 06:01:34.848651579 +0200
+@@ -28,7 +28,7 @@ if os_name == 'nt':
+ sys.stderr = open(filename_template % ('stderr'), 'w')
+
+ # Let's check for dependencies before we do anything else
+-if not getattr(sys, 'frozen', False):
++if False and not getattr(sys, 'frozen', False):
+ # We can't meaningfully report on these, and we build our own windows
+ # version, so let's leave this out for the benefit of startup time.
+ from virtaal.support import depcheck
diff --git a/virtaal-0.7.0b5-no_profiling.patch b/virtaal-0.7.0b5-no_profiling.patch
new file mode 100644
index 0000000..b8290a9
--- /dev/null
+++ b/virtaal-0.7.0b5-no_profiling.patch
@@ -0,0 +1,12 @@
+diff -up virtaal-0.7.0-beta5/bin/virtaal.no_profiling virtaal-0.7.0-beta5/bin/virtaal
+--- virtaal-0.7.0-beta5/bin/virtaal.no_profiling 2011-04-16 16:35:18.339113496 +0200
++++ virtaal-0.7.0-beta5/bin/virtaal 2011-04-16 16:35:30.304556713 +0200
+@@ -97,7 +97,7 @@ def main(argv):
+ help=_("enable debugging features")),
+ ]
+ # Profiling does not make sense in packaged versions. Set to True to disable profiling.
+- packaged = False
++ packaged = True
+ if not packaged:
+ option_list.insert(0, make_option("-P", "--profile", action="store",
+ type="string", dest="profile",
More information about the scm-commits
mailing list